/* DropBestie Deal Cards v5.5 — clean 48-shoe storefront */
:root {
  --dm-accent: #0f8f88;
  --dm-accent-dark: #0a6f6a;
  --dm-accent-soft: #f1fbfa;
  --dm-accent-pale: #d5efed;
  --dm-ink: #142327;
  --dm-ink-soft: #607074;
  --dm-line: #e2eceb;
  --dm-surface: #ffffff;
  --dm-page: #ffffff;
  --dm-footer: #123336;
  --dm-card-radius: 8px;
  --dm-button-radius: 6px;
  --dm-shadow: 0 8px 24px rgba(22, 27, 42, 0.06);
  --dm-shadow-hover: 0 14px 34px rgba(22, 27, 42, 0.12);
  --dm-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--dm-page); color: var(--dm-ink); }

/* Theme/header cleanup */
.site-header, header#masthead {
  background: #fff !important;
  border-bottom: 1px solid var(--dm-line) !important;
  box-shadow: none !important;
}
.site-title a {
  font-family: var(--dm-font) !important;
  font-weight: 800 !important;
  color: var(--dm-accent) !important;
  text-decoration: none !important;
  letter-spacing: -0.7px;
}
.main-navigation a { font-family: var(--dm-font); font-weight: 600; color: var(--dm-ink) !important; }
.main-navigation a:hover { color: var(--dm-accent) !important; }

.dm-topline {
  min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 8px 16px; background: var(--dm-footer); color: #fff;
  font: 500 12px/1.4 var(--dm-font); letter-spacing: .1px;
}
.dm-topline-live { width: 7px; height: 7px; border-radius: 50%; background: var(--dm-accent); box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.dm-topline-sep { opacity: .42; }
.dm-disclosure-line {
  background: #fff; border-bottom: 1px solid var(--dm-line); color: var(--dm-ink-soft);
  text-align: center; padding: 7px 16px; font: 500 11px/1.4 var(--dm-font);
}

.dm-storefront { width: min(1460px, calc(100% - 36px)); margin: 0 auto; padding: 28px 0 56px; font-family: var(--dm-font); }

/* Hero */
.dm-brand-hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  min-height: 330px; overflow: hidden; border: 1px solid var(--dm-line); border-radius: 10px;
  background: linear-gradient(130deg, #fff5f8 0%, #fff0f5 68%, #fff 100%);
  box-shadow: var(--dm-shadow); margin-bottom: 18px;
}
.dm-brand-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 52px; }
.dm-hero-eyebrow { color: var(--dm-accent-dark); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; margin-bottom: 14px; }
.dm-brand-hero h1 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.04; letter-spacing: -2.2px; font-weight: 800; color: var(--dm-ink); }
.dm-brand-hero h1 span { display: block; color: var(--dm-accent); }
.dm-brand-hero-copy > p { max-width: 620px; margin: 18px 0 25px; color: var(--dm-ink-soft); font-size: 15px; line-height: 1.7; }
.dm-hero-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px;
  background: #242830; color: #fff !important; border-radius: var(--dm-button-radius);
  text-decoration: none !important; font-size: 13px; font-weight: 800; box-shadow: 0 8px 18px color-mix(in srgb, var(--dm-accent) 24%, transparent);
}
.dm-hero-cta:hover { background: #12151a; transform: translateY(-1px); }
.dm-brand-hero-art { display: flex; align-items: center; justify-content: center; padding: 28px 44px 28px 18px; }
.dm-featured-product {
  width: min(430px, 100%); display: grid; grid-template-columns: 54% 46%; align-items: center;
  background: rgba(255,255,255,.92); border: 1px solid var(--dm-line); border-radius: 8px; overflow: hidden;
  box-shadow: 0 20px 46px rgba(20,35,42,.12); text-decoration: none !important; color: var(--dm-ink) !important;
  transform: rotate(-1deg);
}
.dm-featured-product:hover { transform: rotate(0) translateY(-2px); box-shadow: 0 24px 50px rgba(20,35,42,.16); }
.dm-featured-image { position: relative; min-height: 210px; display: flex; align-items: center; justify-content: center; background: #fff; padding: 18px; }
.dm-featured-image img { width: 100%; height: 210px; object-fit: contain; }
.dm-featured-discount { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--dm-accent); color: #fff; border-radius: 4px; padding: 5px 8px; font-size: 11px; font-weight: 800; }
.dm-featured-placeholder { color: var(--dm-accent); font-size: 60px; font-weight: 800; }
.dm-featured-copy { padding: 22px 20px 22px 10px; display: flex; flex-direction: column; gap: 8px; }
.dm-featured-copy > span { color: var(--dm-accent-dark); text-transform: uppercase; letter-spacing: 1px; font-size: 10px; font-weight: 800; }
.dm-featured-copy strong { font-size: 14px; line-height: 1.42; font-weight: 700; }
.dm-featured-copy b { color: var(--dm-accent-dark); font-size: 23px; letter-spacing: -.5px; }
.dm-hero-empty-art { width: 240px; height: 240px; border: 1px dashed var(--dm-accent-pale); display: grid; place-items: center; background: #fff; border-radius: 8px; }
.dm-hero-empty-art span { font-size: 72px; color: var(--dm-accent); font-weight: 800; }

/* Filter navigation */
.dm-filter-bar { margin: 0 0 28px; background: #fff; border: 1px solid var(--dm-line); border-radius: 8px; overflow-x: auto; scrollbar-width: none; }
.dm-filter-bar::-webkit-scrollbar { display: none; }
.dm-filter-inner { min-width: max-content; display: flex; align-items: stretch; padding: 8px; gap: 5px; }
.dm-filter-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; color: var(--dm-ink-soft) !important;
  background: transparent; border: 1px solid transparent; border-radius: 6px; text-decoration: none !important;
  font-size: 12px; font-weight: 700; transition: .15s ease;
}
.dm-filter-btn:hover { color: var(--dm-accent-dark) !important; background: var(--dm-accent-soft); }
.dm-filter-btn.active { color: #fff !important; background: var(--dm-accent); border-color: var(--dm-accent); }
.dm-filter-icon { opacity: .85; font-weight: 800; }

/* Deal grid */
.dm-deals-section { scroll-margin-top: 24px; }
.dm-section-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 0 0 18px; }
.dm-section-kicker { color: var(--dm-accent-dark); font-size: 10px; letter-spacing: 1.3px; font-weight: 800; margin-bottom: 5px; }
.dm-section-header h2 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.6px; color: var(--dm-ink); }
.dm-live-pill { display: inline-flex; align-items: center; gap: 7px; color: var(--dm-ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .8px; }
.dm-live-pill > span { width: 7px; height: 7px; border-radius: 50%; background: var(--dm-accent); box-shadow: 0 0 0 4px var(--dm-accent-soft); }
.dm-archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dm-grid-card {
  min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dm-line);
  border-radius: var(--dm-card-radius); overflow: hidden; box-shadow: 0 3px 12px rgba(24,28,38,.045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dm-grid-card:hover { transform: translateY(-3px); box-shadow: var(--dm-shadow-hover); border-color: var(--dm-accent-pale); }
.dm-grid-img-link { display: block; text-decoration: none !important; }
.dm-grid-img-wrap { position: relative; height: 210px; display: flex; align-items: center; justify-content: center; background: #fff; border-bottom: 1px solid var(--dm-line); overflow: hidden; }
.dm-grid-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .2s ease; }
.dm-grid-card:hover .dm-grid-img-wrap img { transform: scale(1.025); }
.dm-grid-discount { position: absolute; z-index: 2; top: 11px; left: 11px; background: var(--dm-accent); color: #fff; padding: 5px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; box-shadow: 0 3px 8px rgba(0,0,0,.09); }
.dm-grid-no-img { color: var(--dm-accent); font-size: 46px; font-weight: 800; opacity: .65; }
.dm-grid-body { display: flex; flex-direction: column; flex: 1; min-height: 205px; padding: 15px 15px 14px; }
.dm-grid-retailer { color: var(--dm-ink-soft); font-size: 10.5px; font-weight: 600; line-height: 1.3; margin-bottom: 7px; }
.dm-grid-retailer span { opacity: .45; margin: 0 3px; }
.dm-grid-title { min-height: 3.9em; font-size: 13px; line-height: 1.48; font-weight: 700; color: var(--dm-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dm-grid-title a { color: inherit !important; text-decoration: none !important; }
.dm-grid-title a:hover { color: var(--dm-accent-dark) !important; }
.dm-grid-price-row { display: flex; align-items: baseline; gap: 8px; margin: 13px 0 12px; }
.dm-grid-price { color: var(--dm-accent-dark); font-size: 20px; line-height: 1; font-weight: 800; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.dm-grid-orig-price { color: #9a9fac; font-size: 11px; text-decoration: line-through; }
.dm-grid-btn {
  margin-top: auto; width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  padding: 9px 11px; background: #242830; color: #fff !important; border: 0; border-radius: var(--dm-button-radius);
  text-decoration: none !important; font-size: 11.5px; font-weight: 800; transition: background .15s ease;
}
.dm-grid-btn:hover { background: #12151a; }
.dm-grid-btn span { transition: transform .15s ease; }
.dm-grid-btn:hover span { transform: translateX(2px); }

/* Load more replaces numeric pagination */
.dm-load-more-wrap { margin: 28px 0 0; text-align: center; }
.dm-load-more {
  width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--dm-accent); color: #fff; border: 0; border-radius: var(--dm-button-radius); cursor: pointer;
  font: 800 12.5px/1 var(--dm-font); letter-spacing: .15px; transition: .15s ease;
}
.dm-load-more:hover { background: var(--dm-accent-dark); }
.dm-load-more:disabled { opacity: .68; cursor: wait; }
.dm-load-more-arrow { font-size: 16px; line-height: 1; }
.dm-load-status { min-height: 18px; padding-top: 7px; color: var(--dm-ink-soft); font-size: 11px; }
.dm-load-more.is-done { display: none; }

/* Trust + email */
.dm-trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 18px; }
.dm-trust-item { display: flex; gap: 13px; align-items: flex-start; min-height: 102px; padding: 19px; background: var(--dm-accent-soft); border: 1px solid var(--dm-accent-pale); border-radius: 8px; }
.dm-trust-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; color: var(--dm-accent-dark); border: 1px solid var(--dm-accent-pale); background: #fff; border-radius: 6px; font-weight: 800; }
.dm-trust-item strong { display: block; margin: 1px 0 5px; font-size: 12px; }
.dm-trust-item div span { display: block; color: var(--dm-ink-soft); font-size: 11px; line-height: 1.48; }
.dm-email-band { display: grid; grid-template-columns: 1fr minmax(360px, .72fr); gap: 30px; align-items: center; padding: 30px 32px; background: var(--dm-footer); color: #fff; border-radius: 8px; }
.dm-email-copy > span { color: var(--dm-accent-pale); font-size: 9.5px; font-weight: 800; letter-spacing: 1.3px; }
.dm-email-copy h3 { margin: 6px 0 7px; color: #fff; font-size: 22px; letter-spacing: -.5px; }
.dm-email-copy p { margin: 0; max-width: 560px; color: rgba(255,255,255,.67); font-size: 12px; line-height: 1.6; }
.dm-email-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.dm-email-input { min-width: 0; height: 42px; padding: 0 12px; background: #fff; color: var(--dm-ink); border: 1px solid rgba(255,255,255,.22); border-radius: 6px; font: 500 12px var(--dm-font); }
.dm-email-input:focus { outline: 2px solid var(--dm-accent); outline-offset: 1px; }
.dm-email-btn { height: 42px; padding: 0 15px; border: 0; border-radius: 6px; background: var(--dm-accent); color: #fff; cursor: pointer; font: 800 11.5px var(--dm-font); }
.dm-email-btn:hover { background: var(--dm-accent-dark); }
.dm-instagram-link { display: inline-block; margin-top: 9px; color: rgba(255,255,255,.72) !important; font-size: 10.5px; text-decoration: none !important; }
.dm-instagram-link:hover { color: #fff !important; }
.dm-email-msg { margin: 0 0 8px; padding: 7px 9px; background: rgba(255,255,255,.09); border-radius: 5px; font-size: 10.5px; }
.dm-email-msg.success { color: #d8ffe5; } .dm-email-msg.error { color: #ffd7df; }
.dm-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.dm-empty-state { padding: 36px 20px; border: 1px dashed var(--dm-line); background: #fff; border-radius: 8px; text-align: center; color: var(--dm-ink-soft); font-size: 13px; }

/* Footer */
#colophon, footer.site-footer { background: var(--dm-footer) !important; color: rgba(255,255,255,.62) !important; }
#colophon a, footer.site-footer a { color: rgba(255,255,255,.72) !important; }
.dm-disclosure-bar { background: var(--dm-footer); padding: 16px 18px 22px; color: rgba(255,255,255,.54); text-align: center; font: 500 10.5px/1.55 var(--dm-font); }
.dm-disclosure-bar-inner { max-width: 1180px; margin: 0 auto; }
.dm-disclosure-bar a { color: rgba(255,255,255,.72) !important; }
.site-info, a[href*="wordpress.org"] { display: none !important; }

/* Single deal post */
.dm-deal-card { max-width: 760px; margin: 24px auto 38px; overflow: hidden; background: #fff; border: 1px solid var(--dm-line); border-radius: 8px; box-shadow: var(--dm-shadow); font-family: var(--dm-font); position: relative; }
.dm-img-wrap { width: 100%; max-height: 430px; display: flex; align-items: center; justify-content: center; background: #fff; overflow: hidden; border-bottom: 1px solid var(--dm-line); }
.dm-product-img { width: 100%; max-height: 430px; object-fit: contain; display: block; padding: 20px; }
.dm-discount-badge { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--dm-accent); color: #fff; padding: 6px 10px; border-radius: 4px; font-size: 11px; font-weight: 800; }
.dm-price-row { display: flex; align-items: baseline; gap: 11px; margin: 24px 26px 7px; }
.dm-price { color: var(--dm-accent-dark); font-size: 34px; line-height: 1; font-weight: 800; }
.dm-orig-price { color: #979ca8; text-decoration: line-through; font-size: 13px; }
.dm-title { margin: 10px 26px 8px; color: var(--dm-ink); font-size: 17px; line-height: 1.5; font-weight: 700; }
.dm-meta { margin: 0 26px 15px; color: var(--dm-ink-soft); font-size: 11px; }
.dm-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 26px 17px; }
.dm-badge { padding: 5px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.dm-badge-green { background: #edf7ef; color: #35704a; } .dm-badge-orange { background: #fff4e4; color: #925a18; } .dm-badge-blue { background: #edf3fb; color: #34557d; } .dm-badge-gray { background: #f2f3f5; color: #656a75; }
.dm-see-deal-btn { display: inline-flex; margin: 0 26px 22px; padding: 12px 18px; background: #242830; color: #fff !important; border-radius: 6px; text-decoration: none !important; font-size: 12px; font-weight: 800; }
.dm-see-deal-btn:hover { background: #12151a; }
.dm-divider { border: 0; border-top: 1px solid var(--dm-line); margin: 0 26px 14px; }
.dm-disclosure { margin: 0 26px 22px; color: #8b909b; font-size: 10.5px; line-height: 1.55; }

#primary, #content, .site-content, .content-area, main#main { margin-bottom: 0 !important; padding-bottom: 0 !important; }

@media (max-width: 1180px) {
  .dm-archive-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .dm-brand-hero { grid-template-columns: 1fr .85fr; }
  .dm-brand-hero-copy { padding: 42px 38px; }
}
@media (max-width: 820px) {
  .dm-storefront { width: min(100% - 24px, 1460px); padding-top: 18px; }
  .dm-brand-hero { grid-template-columns: 1fr; }
  .dm-brand-hero-copy { padding: 36px 30px 24px; }
  .dm-brand-hero-art { padding: 6px 30px 30px; }
  .dm-featured-product { max-width: 560px; }
  .dm-archive-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .dm-trust-strip { grid-template-columns: 1fr; }
  .dm-email-band { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .dm-topline { font-size: 10.5px; } .dm-topline-sep { display: none; }
  .dm-brand-hero-copy { padding: 30px 22px 18px; }
  .dm-brand-hero h1 { font-size: 36px; letter-spacing: -1.5px; }
  .dm-brand-hero-art { padding: 4px 18px 22px; }
  .dm-featured-product { grid-template-columns: 1fr; transform: none; }
  .dm-featured-image { min-height: 170px; } .dm-featured-image img { height: 170px; }
  .dm-featured-copy { padding: 15px 17px 18px; }
  .dm-archive-grid { gap: 10px; }
  .dm-grid-img-wrap { height: 155px; }
  .dm-grid-img-wrap img { padding: 10px; }
  .dm-grid-body { min-height: 190px; padding: 12px 11px 11px; }
  .dm-grid-title { font-size: 11.5px; min-height: 4.2em; }
  .dm-grid-price { font-size: 17px; }
  .dm-grid-orig-price { font-size: 9.5px; }
  .dm-grid-retailer { font-size: 9px; }
  .dm-grid-btn { font-size: 10px; padding: 8px 7px; }
  .dm-section-header h2 { font-size: 20px; }
  .dm-live-pill { display: none; }
  .dm-email-band { padding: 24px 20px; }
  .dm-email-form { grid-template-columns: 1fr; }
  .dm-email-btn { width: 100%; }
}


/* ============================================================
   v5.0 CLEAN STOREFRONT — mockup-match refinement
   48 deals on first load + compact category tiles + lighter cards
   ============================================================ */
.dm-storefront { width: min(1480px, calc(100% - 40px)); padding-top: 24px; }
.dm-brand-hero {
  margin-bottom: 22px;
  border-radius: 12px;
  border-color: var(--dm-accent-pale);
  box-shadow: 0 10px 30px rgba(20,35,42,.055);
  background: linear-gradient(115deg, var(--dm-accent-soft) 0%, #fff 62%);
}
.dm-brand-hero-copy { padding: 42px 48px; }
.dm-brand-hero h1 { font-size: clamp(38px, 4vw, 56px); line-height: 1.02; }
.dm-brand-hero-copy > p { margin: 15px 0 22px; max-width: 660px; font-size: 14px; }
.dm-hero-cta { min-height: 42px; padding: 0 18px; border-radius: 6px; box-shadow: none; }
.dm-brand-hero-art { padding: 22px 38px 22px 10px; }
.dm-featured-product { border-radius: 9px; transform: rotate(-1deg); box-shadow: 0 16px 38px rgba(20,35,42,.11); }

/* Category tiles — visually closer to the approved mockup than pill tabs. */
.dm-filter-bar { border: 0; background: transparent; overflow: visible; margin-bottom: 30px; }
.dm-filter-inner { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 10px; width: 100%; }
.dm-filter-btn {
  min-width: 0; min-height: 68px; padding: 10px 8px; border: 1px solid var(--dm-line); border-radius: 8px;
  background: #fff; color: var(--dm-ink-soft) !important; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 5px; font-size: 11px; font-weight: 700; text-align: center; box-shadow: 0 4px 12px rgba(20,35,42,.025);
}
.dm-filter-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: var(--dm-accent-soft); color: var(--dm-accent-dark); font-size: 14px; font-weight: 800; }
.dm-filter-btn:hover { border-color: var(--dm-accent-pale); background: var(--dm-accent-soft); transform: translateY(-1px); }
.dm-filter-btn.active { background: #fff; color: var(--dm-accent-dark) !important; border-color: var(--dm-accent); box-shadow: inset 0 -3px 0 var(--dm-accent); }
.dm-filter-btn.active .dm-filter-icon { color: #fff; background: var(--dm-accent); }

.dm-section-header { margin-bottom: 15px; }
.dm-section-header h2 { font-size: 24px; letter-spacing: -.6px; }
.dm-section-meta { display: flex; align-items: center; gap: 10px; }
.dm-deal-count { color: var(--dm-ink-soft); font-size: 10.5px; font-weight: 700; }

/* Cleaner compact cards: less round, less shadow, more information density. */
.dm-archive-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.dm-grid-card { border-radius: 9px; border-color: #e9ebef; box-shadow: 0 4px 14px rgba(20,35,42,.045); }
.dm-grid-card:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(20,35,42,.085); }
.dm-grid-img-wrap { height: 215px; background: #fff; }
.dm-grid-img-wrap img { padding: 14px; }
.dm-grid-discount { top: 10px; left: 10px; border-radius: 5px; padding: 5px 8px; }
.dm-grid-body { min-height: 195px; padding: 14px 14px 13px; }
.dm-grid-retailer { margin-bottom: 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .35px; }
.dm-grid-title { min-height: 3.1em; -webkit-line-clamp: 2; font-size: 13px; line-height: 1.48; }
.dm-grid-price-row { margin: 12px 0 11px; }
.dm-grid-price { font-size: 21px; }
.dm-grid-btn { min-height: 40px; border-radius: 6px; font-size: 11.5px; }

.dm-load-more-wrap { margin-top: 30px; }
.dm-load-more { min-height: 48px; border-radius: 7px; font-size: 13px; }
.dm-load-status { padding-top: 9px; }
.dm-trust-strip { margin-top: 32px; }
.dm-trust-item { min-height: 92px; border-radius: 8px; padding: 17px; }
.dm-email-band { margin-top: 20px; border-radius: 9px; }

@media (max-width: 1180px) {
  .dm-archive-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .dm-filter-inner { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .dm-storefront { width: min(100% - 22px, 1480px); }
  .dm-archive-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .dm-filter-bar { overflow-x: auto; margin-left: -11px; margin-right: -11px; padding: 0 11px 4px; }
  .dm-filter-inner { width: max-content; grid-auto-flow: column; grid-auto-columns: 104px; grid-template-columns: none; }
  .dm-filter-btn { min-height: 64px; }
  .dm-brand-hero-copy { padding: 34px 28px 22px; }
  .dm-brand-hero-art { padding: 4px 28px 28px; }
  .dm-deal-count { display: none; }
}
@media (max-width: 520px) {
  .dm-storefront { width: min(100% - 16px, 1480px); }
  .dm-brand-hero { border-radius: 9px; }
  .dm-brand-hero-copy { padding: 28px 20px 16px; }
  .dm-brand-hero h1 { font-size: 34px; }
  .dm-grid-img-wrap { height: 145px; }
  .dm-grid-body { min-height: 180px; padding: 11px 10px 10px; }
  .dm-grid-title { font-size: 11.5px; min-height: 3.05em; }
  .dm-grid-price { font-size: 17px; }
  .dm-grid-btn { min-height: 38px; font-size: 10px; }
  .dm-section-header h2 { font-size: 20px; }
}


/* ============================================================
   v5.2 MOCKUP-MATCH POLISH
   Keeps 48 initial deals, but restores the roomier premium feel.
   ============================================================ */
body { background: #fff; }
.dm-storefront { width: min(1320px, calc(100% - 40px)); padding-top: 30px; }

.dm-brand-hero {
  min-height: 360px;
  margin-bottom: 26px;
  border: 1px solid var(--dm-accent-pale);
  border-radius: 16px;
  background:
    radial-gradient(circle at 89% 18%, color-mix(in srgb, var(--dm-accent) 11%, transparent) 0 75px, transparent 76px),
    radial-gradient(circle at 73% 88%, color-mix(in srgb, var(--dm-accent) 8%, transparent) 0 105px, transparent 106px),
    linear-gradient(118deg, var(--dm-accent-soft) 0%, #fff 68%);
  box-shadow: none;
}
.dm-brand-hero-copy { padding: 52px 58px; }
.dm-hero-eyebrow { font-size: 10px; letter-spacing: 1.7px; }
.dm-brand-hero h1 { max-width: 700px; font-size: clamp(42px, 4.5vw, 64px); letter-spacing: -2.8px; }
.dm-brand-hero-copy > p { max-width: 570px; font-size: 14px; line-height: 1.65; }
.dm-hero-cta { min-height: 46px; padding: 0 20px; border-radius: 7px; }
.dm-brand-hero-art { padding: 34px 48px 34px 10px; }
.dm-featured-product {
  width: min(405px, 100%);
  grid-template-columns: 59% 41%;
  border-radius: 12px;
  border-color: color-mix(in srgb, var(--dm-accent) 18%, var(--dm-line));
  transform: rotate(-1.5deg);
  box-shadow: 0 20px 44px rgba(20,35,42,.10);
}
.dm-featured-image { min-height: 235px; padding: 20px; }
.dm-featured-copy { padding: 18px; }
.dm-featured-copy strong { font-size: 14px; }
.dm-featured-copy b { font-size: 25px; }

/* Larger, softer category tiles like the approved concept. */
.dm-filter-bar { margin-bottom: 34px; }
.dm-filter-inner { gap: 12px; }
.dm-filter-btn {
  min-height: 76px;
  border-radius: 11px;
  border-color: #e8e9ee;
  box-shadow: 0 3px 10px rgba(20,35,42,.025);
  font-size: 11.5px;
}
.dm-filter-icon { width: 30px; height: 30px; border-radius: 9px; }
.dm-filter-btn.active { box-shadow: inset 0 -3px 0 var(--dm-accent), 0 5px 14px rgba(20,35,42,.04); }

/* Four columns on full desktop: the biggest visual difference vs the cramped feed. */
.dm-archive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important; }
.dm-grid-card {
  border-radius: 12px;
  border: 1px solid #e7e9ef;
  box-shadow: 0 6px 18px rgba(20,35,42,.045);
  background: #fff;
}
.dm-grid-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(20,35,42,.09); border-color: var(--dm-accent-pale); }
.dm-grid-img-wrap { height: 235px; background: #fff; border-bottom-color: #eff0f4; }
.dm-grid-img-wrap img { padding: 18px; }
.dm-grid-discount {
  top: 12px; left: 12px;
  background: var(--dm-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 7px !important;
  padding: 6px 9px !important;
  font-size: 11px;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--dm-accent) 22%, transparent);
}
.dm-grid-body { min-height: 205px; padding: 16px 16px 15px; gap: 0; }
.dm-grid-title { order: 1; min-height: 3.2em; font-size: 13.5px; line-height: 1.48; font-weight: 700; -webkit-line-clamp: 2; }
.dm-grid-price-row { order: 2; margin: 12px 0 10px; gap: 7px; }
.dm-grid-price { font-size: 22px; color: var(--dm-accent); }
.dm-grid-orig-price { font-size: 11.5px; }
.dm-grid-retailer {
  order: 3;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  margin: 0 0 13px;
  color: var(--dm-ink-soft);
  font-size: 10.5px;
  text-transform: none;
  letter-spacing: 0;
}
.dm-retailer-mark {
  width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; background: var(--dm-accent-soft); color: var(--dm-accent-dark);
  border: 1px solid var(--dm-accent-pale); font-size: 10px; font-weight: 800;
}
.dm-retailer-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.dm-retailer-time { color: #9ca1ad; white-space: nowrap; }
.dm-grid-btn {
  order: 4;
  margin-top: auto;
  min-height: 42px;
  border-radius: 7px;
  font-size: 11.5px;
  letter-spacing: .1px;
}

.dm-deals-section { padding: 2px 0 0; }
.dm-section-header { margin-bottom: 18px; }
.dm-section-header h2 { font-size: 27px; letter-spacing: -.8px; }
.dm-section-kicker { font-size: 9.5px; letter-spacing: 1.6px; }
.dm-deal-count { font-size: 10px; }

.dm-load-more {
  width: 100%; max-width: none; min-height: 52px;
  border-radius: 9px; font-size: 13px;
  box-shadow: none;
}
.dm-trust-strip { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.dm-trust-item { background: #fff; border-color: var(--dm-line); border-radius: 10px; min-height: 98px; }
.dm-trust-icon { background: var(--dm-accent-soft); }
.dm-email-band { margin-top: 24px; border-radius: 12px; }

@media (max-width: 1120px) {
  .dm-storefront { width: min(100% - 28px, 1320px); }
  .dm-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; }
  .dm-brand-hero-copy { padding: 44px 38px; }
}
@media (max-width: 820px) {
  .dm-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 13px !important; }
  .dm-grid-img-wrap { height: 180px; }
  .dm-grid-body { min-height: 190px; padding: 13px 12px 12px; }
  .dm-grid-title { font-size: 12px; }
  .dm-grid-price { font-size: 19px; }
  .dm-brand-hero { border-radius: 12px; }
  .dm-brand-hero-copy { padding: 34px 28px 22px; }
  .dm-brand-hero-art { padding: 4px 28px 28px; }
}
@media (max-width: 520px) {
  .dm-storefront { width: min(100% - 16px, 1320px); }
  .dm-brand-hero h1 { font-size: 36px; }
  .dm-grid-img-wrap { height: 155px; }
  .dm-grid-body { min-height: 178px; padding: 11px 10px 10px; }
  .dm-grid-title { font-size: 11.5px; }
  .dm-grid-price { font-size: 18px; }
  .dm-grid-retailer { grid-template-columns: 22px minmax(0,1fr); }
  .dm-retailer-time { display: none; }
  .dm-retailer-mark { width: 22px; height: 22px; }
  .dm-section-header h2 { font-size: 21px; }
}


/* ============================================================
   v5.3 QUIET-LUXE OVERRIDES
   New asset filename intentionally busts stale v4/v5 CSS caches.
   ============================================================ */
.dm-archive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important; }
.dm-grid-card { border-radius: 10px !important; border: 1px solid #e7e9ee !important; box-shadow: 0 4px 14px rgba(23,27,35,.045) !important; }
.dm-grid-card:hover { box-shadow: 0 10px 26px rgba(23,27,35,.075) !important; border-color: #dddfe5 !important; }
.dm-grid-discount {
  background: #f7e9ee !important; color: #9d3f5b !important; border: 1px solid #e9cbd5 !important;
  border-radius: 6px !important; box-shadow: none !important; font-weight: 800 !important;
}
.dm-grid-price { color: #b74765 !important; }
.dm-grid-btn {
  background: #292c34 !important; color: #fff !important; border: 1px solid #292c34 !important;
  border-radius: 7px !important; box-shadow: none !important; font-weight: 750 !important;
}
.dm-grid-btn:hover { background: #17191e !important; border-color: #17191e !important; color:#fff !important; }
.dm-load-more {
  background: #fff !important; color: #292c34 !important; border: 1px solid #cfd2d9 !important;
  box-shadow: none !important; font-weight: 800 !important;
}
.dm-load-more:hover { background: #f1fbfa !important; border-color: #d9b9c4 !important; color: #8f3853 !important; }
.dm-filter-btn.active { border-color: #c65373 !important; box-shadow: inset 0 -3px 0 #c65373 !important; }
.dm-filter-btn.active .dm-filter-icon { background: #c65373 !important; }
@media (max-width:1120px){.dm-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media (max-width:820px){.dm-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important;}}


/* ============================================================
   v5.4 CLEAN / NON-NEON FINAL OVERRIDES
   Teal is an accent only. Conversion CTAs stay charcoal for a clean, non-neon look.
   ============================================================ */
.dm-hero-cta,.dm-grid-btn,.dm-see-deal-btn,.dm-email-btn{background:#242830!important;border-color:#242830!important;color:#fff!important;box-shadow:none!important;}
.dm-hero-cta:hover,.dm-grid-btn:hover,.dm-see-deal-btn:hover,.dm-email-btn:hover{background:#12151a!important;border-color:#12151a!important;color:#fff!important;}
.dm-grid-discount,.dm-featured-discount,.dm-discount-badge{background:#e6f5f3!important;color:#0a6f6a!important;border:1px solid #c7e6e2!important;box-shadow:none!important;}
.dm-grid-price,.dm-price,.dm-featured-copy b{color:#0f7f79!important;}
.dm-load-more{background:#fff!important;color:#242830!important;border:1px solid #cfd3d9!important;box-shadow:none!important;}
.dm-load-more:hover{background:#f7f7f8!important;color:#12151a!important;border-color:#aeb4bd!important;}
.dm-brand-hero{background:linear-gradient(120deg,#f3fbfa 0%,#fff 72%)!important;border-color:#d5eae7!important;}

/* ============================================================
   v5.5.1 WORDMARK FIX
   Larger, cleaner DropBestie wordmark without requiring a new theme logo.
   ============================================================ */
.site-header, header#masthead {
  min-height: 78px !important;
}
.site-main-header-inner-wrap,
.site-header-row-container-inner,
.site-header-row-container-inner > .site-container {
  min-height: 78px !important;
}
.site-branding {
  display: flex !important;
  align-items: center !important;
  min-width: 245px;
}
.site-branding .custom-logo,
.site-branding img.custom-logo,
.custom-logo-link img {
  width: auto !important;
  height: auto !important;
  max-height: 46px !important;
  max-width: 280px !important;
}
.site-title { margin: 0 !important; line-height: 1 !important; }
.site-title a {
  display: inline-flex !important;
  align-items: baseline !important;
  font-size: 0 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  color: transparent !important;
}
.site-title a::before,
.site-title a::after {
  font-family: var(--dm-font) !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -1.35px !important;
}
.site-title a::before { content: "DROP"; color: #242830 !important; }
.site-title a::after  { content: "BESTIE"; color: #0f8f88 !important; }
@media (max-width: 768px) {
  .site-header, header#masthead,
  .site-main-header-inner-wrap,
  .site-header-row-container-inner,
  .site-header-row-container-inner > .site-container { min-height: 66px !important; }
  .site-branding { min-width: 0; }
  .site-branding .custom-logo,
  .site-branding img.custom-logo,
  .custom-logo-link img { max-height: 38px !important; max-width: 225px !important; }
  .site-title a::before,
  .site-title a::after { font-size: 25px !important; letter-spacing: -1.05px !important; }
}


/* ============================================================
   v5.5.1 WORDMARK FIX — deterministic, not just a max-size hint.
   The previous v5.5 only raised max-width/max-height, which does NOT
   enlarge an image that already has a smaller intrinsic/theme width.
   This build replaces the visible header logo with a controlled text
   wordmark so the change is guaranteed to be visible.
   ============================================================ */
header#masthead .site-branding,
.site-header .site-branding {
  display:flex !important;
  align-items:center !important;
  min-width: 300px !important;
  overflow:visible !important;
}
header#masthead .custom-logo-link,
.site-header .custom-logo-link {
  display:inline-flex !important;
  align-items:baseline !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  overflow:visible !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
header#masthead .custom-logo-link img,
.site-header .custom-logo-link img,
header#masthead img.custom-logo,
.site-header img.custom-logo {
  display:none !important;
}
header#masthead .custom-logo-link::before,
.site-header .custom-logo-link::before {
  content:"DROP" !important;
  font-family:var(--dm-font) !important;
  font-size:36px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-1.8px !important;
  color:#242830 !important;
}
header#masthead .custom-logo-link::after,
.site-header .custom-logo-link::after {
  content:"BESTIE" !important;
  font-family:var(--dm-font) !important;
  font-size:36px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-1.8px !important;
  color:#0f8f88 !important;
}
/* If the theme is using a text site-title instead of custom-logo markup. */
header#masthead .site-title a,
.site-header .site-title a {
  display:inline-flex !important;
  align-items:baseline !important;
  font-size:0 !important;
  line-height:1 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  color:transparent !important;
}
header#masthead .site-title a::before,
.site-header .site-title a::before {
  content:"DROP" !important; font-family:var(--dm-font) !important;
  font-size:36px !important; line-height:1 !important; font-weight:900 !important;
  letter-spacing:-1.8px !important; color:#242830 !important;
}
header#masthead .site-title a::after,
.site-header .site-title a::after {
  content:"BESTIE" !important; font-family:var(--dm-font) !important;
  font-size:36px !important; line-height:1 !important; font-weight:900 !important;
  letter-spacing:-1.8px !important; color:#0f8f88 !important;
}
@media(max-width:768px) {
  header#masthead .site-branding,.site-header .site-branding{min-width:220px!important;}
  header#masthead .custom-logo-link::before,.site-header .custom-logo-link::before,
  header#masthead .custom-logo-link::after,.site-header .custom-logo-link::after,
  header#masthead .site-title a::before,.site-header .site-title a::before,
  header#masthead .site-title a::after,.site-header .site-title a::after{font-size:29px!important;letter-spacing:-1.35px!important;}
}


/* ============================================================
   v5.5.3 FINAL LAYOUT / WORDMARK / FOOTER FIX
   ============================================================ */
/* Real DOM wordmark inserted by JS — this is intentionally independent of
   whatever size/visibility Kadence gives the uploaded logo. */
.site-branding.dm-branding-forced > :not(.dm-forced-wordmark) { display:none !important; }
.site-branding.dm-branding-forced {
  display:flex !important; align-items:center !important; overflow:visible !important;
  min-width:235px !important; min-height:54px !important;
}
.dm-forced-wordmark {
  display:inline-flex !important; align-items:baseline !important; gap:0 !important;
  text-decoration:none !important; white-space:nowrap !important;
  font-family:var(--dm-font) !important; font-size:34px !important; line-height:1 !important;
  font-weight:900 !important; letter-spacing:-1.65px !important;
}
.dm-forced-wordmark .dm-wordmark-first { color:#242830 !important; }
.dm-forced-wordmark .dm-wordmark-second { color:#0f8f88 !important; }

/* The hero had grown through multiple polish layers. Collapse it back to a
   compact storefront intro so products reach the screen much sooner. */
.dm-storefront { padding-top:18px !important; }
.dm-brand-hero {
  min-height:225px !important; margin-bottom:18px !important; border-radius:12px !important;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr) !important;
}
.dm-brand-hero-copy { padding:26px 34px !important; }
.dm-hero-eyebrow { margin-bottom:7px !important; font-size:9px !important; }
.dm-brand-hero h1 { font-size:clamp(33px,3.2vw,46px) !important; letter-spacing:-2px !important; line-height:1.02 !important; }
.dm-brand-hero-copy > p { margin:10px 0 15px !important; font-size:12.5px !important; line-height:1.5 !important; max-width:570px !important; }
.dm-hero-cta { min-height:38px !important; padding:0 15px !important; font-size:11.5px !important; }
.dm-brand-hero-art { padding:15px 26px 15px 8px !important; }
.dm-featured-product { width:min(345px,100%) !important; grid-template-columns:56% 44% !important; transform:none !important; border-radius:10px !important; box-shadow:0 9px 24px rgba(20,35,42,.07) !important; }
.dm-featured-image { min-height:145px !important; padding:12px !important; }
.dm-featured-image img { height:145px !important; }
.dm-featured-copy { padding:12px 13px !important; gap:5px !important; }
.dm-featured-copy > span { font-size:8.5px !important; }
.dm-featured-copy strong { font-size:11.5px !important; line-height:1.35 !important; }
.dm-featured-copy b { font-size:20px !important; }

/* Legal/footer navigation should read as utility text, not giant primary nav. */
#colophon .footer-navigation a, #colophon .footer-menu a, #colophon .menu a,
footer.site-footer .footer-navigation a, footer.site-footer .footer-menu a, footer.site-footer .menu a,
footer.site-footer a[href*="about"], footer.site-footer a[href*="affiliate-disclosure"],
footer.site-footer a[href*="contact"], footer.site-footer a[href*="privacy"] {
  font-size:10.5px !important; line-height:1.4 !important; font-weight:500 !important;
  letter-spacing:0 !important; text-transform:none !important; padding:3px 7px !important;
}
.dm-disclosure-bar { padding:10px 14px 13px !important; font-size:9.5px !important; line-height:1.45 !important; }
.dm-disclosure-bar a { font-size:9.5px !important; font-weight:600 !important; }

/* Category tiles remain prominent enough to use, but not taller than the hero. */
.dm-filter-bar { margin-bottom:24px !important; }
.dm-filter-btn { min-height:58px !important; padding:8px 12px !important; }
.dm-filter-icon { width:27px !important; height:27px !important; }

@media (max-width:760px) {
  .site-branding.dm-branding-forced { min-width:190px !important; min-height:48px !important; }
  .dm-forced-wordmark { font-size:28px !important; letter-spacing:-1.25px !important; }
  .dm-brand-hero { grid-template-columns:1fr !important; min-height:0 !important; }
  .dm-brand-hero-copy { padding:22px 20px !important; }
  .dm-brand-hero h1 { font-size:34px !important; }
  .dm-brand-hero-art { display:none !important; }
}
