/*
Theme Name: DealMindHQ
Theme URI: https://dealmindhq.com
Author: DealMindHQ Team
Description: Curated deals and coupons theme for DealMindHQ
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: dealmindhq
*/

/* ── DESIGN TOKENS ── */
  @import url('coupon-cards.css');
:root {
  --cream:     #F2EDE4;
  --cream2:    #EDE3D0;
  --teal:      #9BBFC4;
  --teal-dark: #7AAAB0;
  --lavender:  #9B86B3;
  --lav-dark:  #7D6899;
  --steel:     #6B8FAF;
  --sky:       #9BB8CC;
  --taupe:     #C4B9A8;
  --taupe-dark:#A09080;
  --ink:       #2C2A38;
  --ink2:      #3E3C4E;
  --muted:     #8A8898;
  --white:     #FDFCFA;
  --border:    rgba(44,42,56,0.08);
  --radius:    12px;
  --radius-sm: 8px;
}

/* ── RESET ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: 'DM Sans', sans-serif; }
p { margin: 0; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-weight: normal; }

/* Kill default WordPress body/content padding */
.site, .site-content, #content, .entry-content,
#primary, #secondary, .widget-area,
.site-main, main.site-main { all: unset; display: block; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream2); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ═══════════════════════════════════════
   TOPBAR
═══════════════════════════════════════ */
.dmh-topbar {
  background: var(--lavender);
  padding: 9px 24px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.03em;
  width: 100%;
}
.dmh-topbar span { opacity: 0.55; margin: 0 10px; }

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.dmh-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.dmh-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
.dmh-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.dmh-logo span { color: var(--steel); }
.dmh-logo em {
  font-style: normal;
  font-size: 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  background: var(--teal);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.dmh-search-wrap {
  flex: 1;
  max-width: 500px;
  position: relative;
}
.dmh-search-wrap form { margin: 0; padding: 0; }
.dmh-search-wrap input[type="text"],
.dmh-search-wrap input[type="search"] {
  width: 100%;
  height: 42px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0 48px 0 20px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.dmh-search-wrap input:focus { border-color: var(--teal); }
.dmh-search-wrap input::placeholder { color: var(--taupe-dark); }
.dmh-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--steel);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}
.dmh-search-btn:hover { background: var(--teal-dark); }
.dmh-search-btn svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; }
.dmh-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-shrink: 0;
}
.dmh-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  display: block;
}
.dmh-nav a:hover { color: var(--ink); background: var(--cream); }
.dmh-nav .dmh-nav-cta {
  background: var(--steel);
  color: #fff !important;
  border-radius: 100px;
  padding: 8px 18px;
}
.dmh-nav .dmh-nav-cta:hover { background: var(--teal-dark); }

/* ═══════════════════════════════════════
   CATEGORY BAR
═══════════════════════════════════════ */
.dmh-catbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.dmh-catbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  height: 52px;
  align-items: center;
}
.dmh-catbar-inner::-webkit-scrollbar { display: none; }
.dmh-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  padding: 6px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.dmh-cat-pill:hover { color: var(--ink); border-color: var(--border); background: var(--cream); }
.dmh-cat-pill.active { background: var(--steel); border-color: var(--steel); color: #fff !important; }

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.dmh-hero {
  background: var(--cream2);
  padding: 72px 32px 80px;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.dmh-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(155,191,196,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.dmh-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.dmh-hero-kicker::before,
.dmh-hero-kicker::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}
.dmh-hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  display: block;
}
.dmh-hero-h1 em { font-style: italic; color: var(--steel); display: block; }
.dmh-hero-p {
  font-size: 16px;
  color: var(--taupe-dark);
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.dmh-hero-search {
  display: flex;
  max-width: 560px;
  margin: 0 auto 56px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 6px 6px 22px;
  align-items: center;
  box-shadow: 0 4px 24px rgba(107,143,175,0.12);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.dmh-hero-search:focus-within {
  box-shadow: 0 4px 32px rgba(107,143,175,0.22);
  border-color: var(--teal);
}
.dmh-hero-search input[type="text"],
.dmh-hero-search input[type="search"] {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  min-width: 0;
  padding: 0;
  height: auto;
  border-radius: 0;
}
.dmh-hero-search input::placeholder { color: var(--taupe); }
.dmh-hero-search button[type="submit"] {
  background: var(--steel);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.dmh-hero-search button[type="submit"]:hover { background: var(--teal-dark); }
.dmh-hero-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}
.dmh-hs {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--taupe);
}
.dmh-hs:last-child { border-right: none; }
.dmh-hs strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.dmh-hs span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════
   PAGE LAYOUT
═══════════════════════════════════════ */
.dmh-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px;
  width: 100%;
}
.dmh-two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  align-items: start;
}

/* ═══════════════════════════════════════
   SECTION HEADS
═══════════════════════════════════════ */
.dmh-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
}
.dmh-section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.dmh-section-head a {
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
}
.dmh-section-head a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   EDITORIAL BANNER
═══════════════════════════════════════ */
.dmh-editorial-banner {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.dmh-editorial-banner::before {
  content: '';
  position: absolute;
  right: -24px;
  top: -36px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.dmh-eb-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dmh-eb-text { flex: 1; min-width: 0; }
.dmh-eb-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}
.dmh-eb-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}
.dmh-eb-btn {
  margin-left: auto;
  background: var(--white);
  color: var(--steel);
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.15s;
}
.dmh-eb-btn:hover { opacity: 0.88; color: var(--steel); }

/* ═══════════════════════════════════════
   FILTER TABS
═══════════════════════════════════════ */
.dmh-filter-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.dmh-filter-tab {
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
  display: inline-block;
}
.dmh-filter-tab.active,
.dmh-filter-tab:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ═══════════════════════════════════════
   DEAL CARDS GRID
═══════════════════════════════════════ */
.dmh-deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.dmh-deal-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.dmh-deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(44,42,56,0.1);
}

/* Featured card — full width */
.dmh-deal-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 180px;
}
.dmh-deal-card.featured .dmh-deal-img {
  width: 280px;
  flex-shrink: 0;
  height: auto;
  min-height: 180px;
}
.dmh-deal-card.featured .dmh-deal-body { padding: 24px; }
.dmh-deal-card.featured .dmh-deal-title { font-size: 20px; }

.dmh-deal-img {
  position: relative;
  background: var(--cream);
  height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.dmh-deal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dmh-no-img {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: rgba(44,42,56,0.14);
  text-align: center;
  padding: 0 12px;
  line-height: 1.2;
}
.dmh-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--steel);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  padding: 4px 10px;
  border-radius: 5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 1;
}
.dmh-badge.warm { background: var(--lavender); }
.dmh-badge.fresh { background: var(--teal-dark); }
.dmh-badge.verified { background: var(--taupe-dark); }
.dmh-badge.hot { background: #c96b4a; }
.dmh-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.18s;
  z-index: 1;
  padding: 0;
}
.dmh-fav:hover { transform: scale(1.15); }
.dmh-fav svg { width: 14px; height: 14px; stroke: var(--taupe); fill: none; stroke-width: 2; }

.dmh-deal-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dmh-deal-store {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 6px;
}
.dmh-deal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}
.dmh-deal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.dmh-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.dmh-orig {
  font-size: 13px;
  color: var(--taupe);
  text-decoration: line-through;
}
.dmh-save {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-dark);
  background: rgba(155,191,196,0.18);
  padding: 3px 8px;
  border-radius: 5px;
}
.dmh-countdown {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--lavender);
  font-weight: 500;
  margin-bottom: 12px;
}
.dmh-countdown svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.dmh-deal-btn {
  width: 100%;
  padding: 11px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  line-height: 1;
}
.dmh-deal-btn:hover { background: var(--steel); }
.dmh-deal-btn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.5; flex-shrink: 0; }
.dmh-deal-uses {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}
.dmh-deal-uses strong { color: var(--ink2); }

/* ═══════════════════════════════════════
   COUPON ROWS
═══════════════════════════════════════ */
.dmh-coupon-row {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: box-shadow 0.18s, transform 0.18s;
}
.dmh-coupon-row:hover {
  box-shadow: 0 5px 18px rgba(44,42,56,0.07);
  transform: translateY(-1px);
}
.dmh-coupon-logo {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  flex-shrink: 0;
}
.dmh-coupon-info { flex: 1; min-width: 0; }
.dmh-coupon-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.dmh-coupon-desc {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dmh-coupon-code-wrap {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}
.dmh-coupon-code {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(107,143,175,0.08);
  color: var(--steel);
  border: 1.5px dashed var(--sky);
  padding: 7px 12px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  display: flex;
  align-items: center;
}
.dmh-coupon-copy {
  background: var(--steel);
  color: #fff;
  border: none;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
}
.dmh-coupon-copy:hover { background: var(--teal-dark); }

/* ═══════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════ */
.dmh-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 130px;
}
.dmh-sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
}
.dmh-sidebar-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

/* Email card */
.dmh-email-card {
  background: var(--lavender);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.dmh-email-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.dmh-email-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 18px;
  line-height: 1.6;
}
.dmh-email-card input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  margin-bottom: 10px;
  display: block;
}
.dmh-email-card input::placeholder { color: rgba(255,255,255,0.45); }
.dmh-email-card button {
  width: 100%;
  padding: 12px;
  background: var(--white);
  color: var(--lav-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: opacity 0.15s;
  display: block;
}
.dmh-email-card button:hover { opacity: 0.88; }
.dmh-email-card small {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.32);
  margin-top: 10px;
}

/* Trending */
.dmh-trending-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream);
  cursor: pointer;
  transition: opacity 0.15s;
}
.dmh-trending-item:last-child { border-bottom: none; }
.dmh-trending-item:hover { opacity: 0.72; }
.dmh-trending-rank {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--cream2);
  width: 26px;
  flex-shrink: 0;
  line-height: 1;
}
.dmh-trending-rank.top { color: var(--teal); }
.dmh-trending-info { flex: 1; }
.dmh-trending-name { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 1px; }
.dmh-trending-sub { font-size: 11px; color: var(--muted); }
.dmh-trending-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-dark);
  background: rgba(155,191,196,0.18);
  padding: 3px 8px;
  border-radius: 5px;
  flex-shrink: 0;
}

/* Store grid sidebar */
.dmh-stores-grid-sm {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}
.dmh-store-sm {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  border: 1.5px solid transparent;
}
.dmh-store-sm:hover { border-color: var(--teal); background: var(--white); }
.dmh-store-sm-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.dmh-store-sm-count { font-size: 10px; color: var(--muted); }

/* Team Pick */
.dmh-pick-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.dmh-pick-header {
  background: var(--teal);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dmh-pick-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.dmh-pick-inner {
  display: block;
  background: var(--white);
  margin: 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.dmh-pick-inner:hover { box-shadow: 0 6px 20px rgba(44,42,56,0.09); }
.dmh-pick-img {
  background: var(--cream);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dmh-pick-body { padding: 12px; }
.dmh-pick-store {
  font-size: 10px;
  font-weight: 600;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.dmh-pick-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}
.dmh-pick-price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.dmh-pick-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.dmh-pick-orig { font-size: 13px; color: var(--taupe); text-decoration: line-through; }
.dmh-pick-save {
  font-size: 10px;
  font-weight: 600;
  color: var(--teal-dark);
  background: rgba(155,191,196,0.18);
  padding: 2px 7px;
  border-radius: 4px;
}
.dmh-pick-btn {
  width: 100%;
  padding: 9px;
  background: var(--steel);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.15s;
}
.dmh-pick-btn:hover { background: var(--teal-dark); }

/* ═══════════════════════════════════════
   ALL STORES SECTION
═══════════════════════════════════════ */
.dmh-stores-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 32px;
  width: 100%;
}
.dmh-stores-section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.dmh-stores-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.dmh-store-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
}
.dmh-store-card:hover {
  background: var(--white);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(107,143,175,0.12);
}
.dmh-store-card-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.dmh-store-card-deals { font-size: 12px; color: var(--muted); }
.dmh-store-card-deals strong { color: var(--steel); }

/* ═══════════════════════════════════════
   EDITORIAL / MAGAZINE SECTION
═══════════════════════════════════════ */
.dmh-mag-section {
  background: var(--cream2);
  padding: 48px 32px;
  width: 100%;
}
.dmh-mag-inner { max-width: 1280px; margin: 0 auto; }
.dmh-mag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.dmh-mag-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.dmh-mag-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(44,42,56,0.09);
}
.dmh-mag-img {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  overflow: hidden;
}
.dmh-mag-bg1 { background: rgba(155,191,196,0.22); color: var(--teal-dark); }
.dmh-mag-bg2 { background: rgba(155,134,179,0.16); color: var(--lav-dark); }
.dmh-mag-bg3 { background: rgba(107,143,175,0.16); color: var(--steel); }
.dmh-mag-bg4 { background: rgba(196,185,168,0.3);  color: var(--taupe-dark); }
.dmh-mag-body { padding: 14px; }
.dmh-mag-cat {
  font-size: 10px;
  font-weight: 600;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}
.dmh-mag-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 6px;
}
.dmh-mag-meta { font-size: 11px; color: var(--muted); }

/* ═══════════════════════════════════════
   CATEGORY PAGE HERO
═══════════════════════════════════════ */
.dmh-page-hero {
  padding: 48px 32px 52px;
  background: var(--cream2);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.dmh-page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.dmh-breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dmh-breadcrumb a { color: var(--steel); }
.dmh-breadcrumb span { opacity: 0.5; }
.dmh-page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.dmh-page-hero h1 em { font-style: italic; color: var(--steel); }
.dmh-page-hero p { font-size: 14px; color: var(--taupe-dark); max-width: 480px; }
.dmh-hero-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.dmh-hero-stat {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 22px;
  border: 1px solid var(--border);
  min-width: 90px;
}
.dmh-hero-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
}
.dmh-hero-stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }

/* ═══════════════════════════════════════
   FILTER BAR (category/store pages)
═══════════════════════════════════════ */
.dmh-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.dmh-filter-bar label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-right: 4px; }
.dmh-filter-btn {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.dmh-filter-btn.active,
.dmh-filter-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dmh-filter-select {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  outline: none;
  cursor: pointer;
}

/* ═══════════════════════════════════════
   STORE PAGE HERO
═══════════════════════════════════════ */
.dmh-store-hero {
  background: var(--cream2);
  padding: 40px 32px 44px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.dmh-store-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.dmh-store-logo-box {
  width: 90px; height: 90px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(44,42,56,0.06);
}
.dmh-store-logo-box span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600; color: var(--ink);
  text-align: center; padding: 4px;
}
.dmh-store-meta { flex: 1; }
.dmh-store-meta h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600; color: var(--ink);
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.dmh-store-meta p { font-size: 14px; color: var(--taupe-dark); max-width: 480px; line-height: 1.6; }
.dmh-store-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.dmh-store-pill {
  font-size: 12px; font-weight: 500;
  background: var(--white); color: var(--steel);
  border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 100px;
}
.dmh-store-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.dmh-store-visit-btn {
  background: var(--steel); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 12px 28px; font-size: 14px; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: background 0.15s; white-space: nowrap;
  text-decoration: none; display: inline-block;
}
.dmh-store-visit-btn:hover { background: var(--teal-dark); color: #fff; }
.dmh-store-follow-btn {
  background: transparent; color: var(--steel);
  border: 1.5px solid var(--steel);
  border-radius: var(--radius-sm);
  padding: 10px 28px; font-size: 13px; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.15s;
}
.dmh-store-follow-btn:hover { background: var(--steel); color: #fff; }
.dmh-store-stat-row { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.dmh-store-stat {
  text-align: center;
  background: var(--white); border-radius: var(--radius);
  padding: 12px 18px; border: 1px solid var(--border);
}
.dmh-store-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600; color: var(--ink);
}
.dmh-store-stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; }

/* ═══════════════════════════════════════
   PAGINATION
═══════════════════════════════════════ */
.dmh-pagination {
  display: flex; align-items: center;
  justify-content: center; gap: 6px;
  margin: 40px 0;
}
.dmh-page-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white); color: var(--ink2);
  font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}
.dmh-page-btn.active { background: var(--steel); color: #fff; border-color: var(--steel); }
.dmh-page-btn:hover:not(.active) { border-color: var(--steel); color: var(--steel); }

/* ═══════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════ */
.dmh-toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--ink2);
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  border-left: 3px solid var(--teal);
  box-shadow: 0 8px 28px rgba(44,42,56,0.22);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 9999;
  max-width: 320px;
}
.dmh-toast.show { transform: translateY(0); opacity: 1; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.dmh-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.4);
  padding: 52px 32px 28px;
  width: 100%;
}
.dmh-footer-inner { max-width: 1280px; margin: 0 auto; }
.dmh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.dmh-footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: rgba(255,255,255,0.85);
  display: block; margin-bottom: 12px;
  text-decoration: none;
}
.dmh-footer-logo span { color: var(--sky); }
.dmh-footer-brand p { font-size: 13px; line-height: 1.75; max-width: 240px; color: rgba(255,255,255,0.32); }
.dmh-footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.dmh-footer-col a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.32);
  text-decoration: none; margin-bottom: 10px;
  transition: color 0.15s;
}
.dmh-footer-col a:hover { color: rgba(255,255,255,0.78); }
.dmh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 22px;
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.dmh-footer-bottom p { font-size: 12px; }
.dmh-footer-affiliate { font-size: 11px; color: rgba(255,255,255,0.18); max-width: 540px; line-height: 1.7; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .dmh-two-col { grid-template-columns: 1fr 280px; gap: 32px; }
}
@media (max-width: 900px) {
  .dmh-two-col { grid-template-columns: 1fr; }
  .dmh-sidebar { position: static; }
  .dmh-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .dmh-nav { display: none; }
  .dmh-hero { padding: 48px 20px 56px; }
  .dmh-hero-h1 { font-size: 40px; }
  .dmh-hs { padding: 0 16px; }
  .dmh-hs strong { font-size: 22px; }
  .dmh-editorial-banner { flex-direction: column; text-align: center; }
  .dmh-eb-btn { margin-left: 0; }
  .dmh-deals-grid { grid-template-columns: 1fr; }
  .dmh-deal-card.featured { flex-direction: column; }
  .dmh-deal-card.featured .dmh-deal-img { width: 100%; height: 180px; }
  .dmh-stores-section { padding: 36px 20px; }
  .dmh-mag-section { padding: 36px 20px; }
  .dmh-page { padding: 32px 20px; }
  .dmh-page-hero { padding: 32px 20px 36px; }
  .dmh-store-hero { padding: 28px 20px 32px; }
  .dmh-store-actions { align-items: flex-start; flex-direction: row; }
}
@media (max-width: 480px) {
  .dmh-header-inner { padding: 0 16px; gap: 12px; }
  .dmh-catbar-inner { padding: 0 16px; }
  .dmh-hero-stats-row { gap: 8px; }
  .dmh-hs { padding: 0 10px; }
  .dmh-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
/* ── BRANDED FALLBACK CARDS (for deals without product images) ─────────────
   Append this entire block to the END of your style.css file.
   Do NOT replace existing CSS — just paste at the bottom.
   ───────────────────────────────────────────────────────────────────────── */

/* Branded gradient fallback replaces the faded text placeholder */
.dmh-branded-fallback {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay for texture */
.dmh-branded-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 1px,
        transparent 1px,
        transparent 12px
    );
    pointer-events: none;
}

/* Store name — large, confident */
.dmh-bf-store {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Discount amount — the hero of the card */
.dmh-bf-discount {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Coupon code chip */
.dmh-bf-code {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 5px 14px;
    border: 1.5px dashed rgba(255,255,255,0.4);
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
    margin-top: 2px;
}

/* Featured card gets a taller fallback */
.dmh-deal-card.featured .dmh-branded-fallback {
    min-height: 220px;
}

.dmh-deal-card.featured .dmh-bf-store {
    font-size: 28px;
}

.dmh-deal-card.featured .dmh-bf-discount {
    font-size: 40px;
}

/* Hover effect — slight brightness lift */
.dmh-deal-card:hover .dmh-branded-fallback {
    filter: brightness(1.08);
    transition: filter 0.2s ease;
}

/* ── DEAL CARD VISIBILITY IMPROVEMENTS ────────────────────────────────────── */

/* Increase card border contrast */
.dmh-deal-card {
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dmh-deal-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.04);
    transform: translateY(-2px);
}

/* Make deal titles more readable */
.dmh-deal-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

/* Stronger store label */
.dmh-deal-store {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--steel);
}

/* Better CTA button contrast */
.dmh-deal-btn {
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    transition: background 0.15s ease;
}

.dmh-deal-btn:hover {
    background: var(--steel);
}

/* Save badge — more visible */
.dmh-save {
    background: rgba(155, 134, 179, 0.12);
    color: var(--lavender);
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}
/* ── MOBILE RESPONSIVENESS FIXES ───────────────────────────────────────────
   Append this AFTER the branded-fallback.css block in style.css
   Fixes: card overflow, text clipping, alignment on mobile
   ───────────────────────────────────────────────────────────────────────── */

/* Branded fallback — force center alignment on all screens */
.dmh-branded-fallback {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: hidden;
}

.dmh-bf-store,
.dmh-bf-discount,
.dmh-bf-code {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

/* ── MOBILE: 768px and below ──────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Two-column layout → single column on mobile */
    .dmh-two-col {
        display: flex;
        flex-direction: column;
    }

    .dmh-two-col main,
    .dmh-two-col .dmh-sidebar {
        width: 100%;
        max-width: 100%;
    }

    /* Deal cards grid — single column on small screens */
    .dmh-deals-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Featured card — full width, not oversized */
    .dmh-deal-card.featured {
        width: 100%;
    }

    /* Deal card image area — full width, proper height */
    .dmh-deal-img {
        width: 100%;
        min-height: 160px;
        max-height: 220px;
        overflow: hidden;
    }

    .dmh-deal-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Branded fallback — responsive sizing */
    .dmh-branded-fallback {
        min-height: 160px;
    }

    .dmh-bf-store {
        font-size: 20px;
    }

    .dmh-bf-discount {
        font-size: 26px;
    }

    .dmh-deal-card.featured .dmh-branded-fallback {
        min-height: 180px;
    }

    .dmh-deal-card.featured .dmh-bf-store {
        font-size: 22px;
    }

    .dmh-deal-card.featured .dmh-bf-discount {
        font-size: 32px;
    }

    /* Hero section — tighter padding */
    .dmh-hero {
        padding: 32px 16px 36px;
    }

    .dmh-hero-h1 {
        font-size: 32px;
    }

    .dmh-hero-p {
        font-size: 14px;
        padding: 0 8px;
    }

    /* Hero stats — 2x2 grid instead of 4-across */
    .dmh-hero-stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 100%;
        padding: 0 8px;
    }

    .dmh-hs {
        text-align: center;
    }

    /* Hero search — stack vertically */
    .dmh-hero-search {
        flex-direction: column;
        gap: 8px;
        max-width: 100%;
        padding: 0 8px;
    }

    .dmh-hero-search input,
    .dmh-hero-search button {
        width: 100%;
        border-radius: 8px;
    }

    /* Filter tabs — horizontal scroll */
    .dmh-filter-tabs {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .dmh-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .dmh-filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Coupon rows — stack on mobile */
    .dmh-coupon-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    .dmh-coupon-code-wrap {
        width: 100%;
        justify-content: center;
    }

    /* Editorial banner — stack */
    .dmh-editorial-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }

    .dmh-eb-btn {
        align-self: center;
    }

    /* Store cards strip — horizontal scroll */
    .dmh-stores-strip {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .dmh-stores-strip::-webkit-scrollbar {
        display: none;
    }

    .dmh-store-card {
        min-width: 140px;
        flex-shrink: 0;
    }

    /* Sidebar store grid — 2 columns */
    .dmh-stores-grid-sm {
        grid-template-columns: 1fr 1fr;
    }

    /* Page hero — less padding */
    .dmh-page-hero {
        padding: 20px 16px 24px;
    }

    /* Single deal page — stack image and details vertically */
    .dmh-page .dmh-two-col main > div:first-child > div:first-child {
        flex-direction: column;
    }

    /* Single deal image — full width on mobile */
    .dmh-page .dmh-two-col main > div:first-child > div:first-child > div:first-child {
        width: 100%;
        min-height: 200px;
    }

    /* Breadcrumb — smaller text, allow wrap */
    .dmh-breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }

    /* Email card — full width */
    .dmh-email-card input,
    .dmh-email-card button {
        width: 100%;
    }

    /* Category sub-nav — horizontal scroll */
    .dmh-subnav,
    nav.dmh-subnav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .dmh-subnav::-webkit-scrollbar {
        display: none;
    }

    /* Section headings — smaller */
    .dmh-section-head h2 {
        font-size: 22px;
    }

    /* Magazine/blog grid — single column */
    .dmh-mag-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Pick card image — shorter on mobile */
    .dmh-pick-img {
        height: 140px;
    }

    /* Page body — less horizontal padding */
    .dmh-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Announcement bar — smaller text */
    .dmh-topbar {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ── EXTRA SMALL: 400px and below ─────────────────────────────────────── */
@media (max-width: 400px) {

    .dmh-hero-h1 {
        font-size: 26px;
    }

    .dmh-bf-store {
        font-size: 18px;
    }

    .dmh-bf-discount {
        font-size: 22px;
    }

    .dmh-hero-stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .dmh-hs strong {
        font-size: 18px;
    }

    .dmh-stores-grid-sm {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   SINGLE DEAL — HERO CARD LAYOUT (Mobile-first)
   ============================================================ */

/* Base: stack vertically on mobile */
.dmh-deal-hero-layout {
    display: flex;
    flex-direction: column;
}

/* Details column */
.dmh-deal-details-col {
    flex: 1;
    padding: 24px;
    min-width: 0;
}

/* ── IMAGE layout (when real image exists) ── */
.dmh-deal-image-col {
    position: relative;
    background: var(--cream);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.dmh-deal-image-col img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.dmh-deal-image-col .dmh-badge {
    font-size: 13px;
    padding: 6px 14px;
}

/* Desktop: side-by-side when image exists */
@media (min-width: 640px) {
    .dmh-has-image {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .dmh-deal-image-col {
        width: 260px;
        flex-shrink: 0;
        min-height: 260px;
    }
    .dmh-deal-image-col img {
        height: 100%;
        max-height: 300px;
    }
    .dmh-deal-details-col {
        padding: 28px;
    }
}

/* ── STORE BANNER (no image fallback) ── */
.dmh-store-banner {
    position: relative;
    overflow: hidden;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;        /* compact — not the 240px dead zone */
}

.dmh-store-banner-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dmh-store-banner-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dmh-store-banner-discount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 4px 0 2px;
}

.dmh-banner-pct {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.dmh-banner-off {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.08em;
    padding-bottom: 6px;
}

.dmh-store-banner-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Decorative rings */
.dmh-banner-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.08);
    z-index: 1;
}
.dmh-ring-1 {
    width: 180px; height: 180px;
    top: -60px; right: -40px;
}
.dmh-ring-2 {
    width: 120px; height: 120px;
    bottom: -50px; left: -20px;
}

/* Desktop banner — slightly taller, horizontal accent */
@media (min-width: 640px) {
    .dmh-store-banner {
        min-height: 150px;
        padding: 32px 40px;
    }
    .dmh-store-banner-inner {
        flex-direction: row;
        gap: 24px;
        align-items: center;
    }
    .dmh-store-banner-logo {
        font-size: 26px;
        border-right: 1px solid rgba(255,255,255,0.2);
        padding-right: 24px;
    }
    .dmh-banner-pct {
        font-size: 64px;
    }
    .dmh-store-banner-tag {
        display: none; /* cleaner on desktop */
    }
}
/* BANNER HEIGHT FIX */
.dmh-store-banner {
    max-height: 140px !important;
    min-height: 120px !important;
    padding: 20px 24px !important;
    justify-content: center !important;
    align-items: center !important;
}
.dmh-store-banner-inner {
    justify-content: center !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 16px !important;
}
.dmh-store-banner-logo {
    font-size: 20px !important;
    color: rgba(255,255,255,0.95) !important;
    border-right: 1px solid rgba(255,255,255,0.3) !important;
    padding-right: 16px !important;
}
.dmh-banner-pct {
    font-size: 48px !important;
    color: #fff !important;
    line-height: 1 !important;
}
.dmh-banner-off {
    font-size: 15px !important;
    color: rgba(255,255,255,0.85) !important;
    padding-bottom: 4px !important;
}
.dmh-store-banner-tag {
    display: none !important;
}
/* ============================================================
   DealMindHQ — Digital Products CSS Additions — v1.3
   Append to: wp-content/themes/dealmindhq-theme/style.css
   ADDS: .dmh-badge.digital, .dmh-deal-btn--digital,
         .dmhq-coupon-card--digital, .dmhq-shop-deal-btn--digital,
         .dmhq-coupon-digital-tag
   ============================================================ */

/* ── Digital badge — Lavender, distinct from .hot (teal) and .verified ── */
.dmh-badge.digital {
  background: var(--lavender);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-block;
}

/* ── Digital deal button variant — arrow icon, Lavender bg ───────────── */
.dmh-deal-btn--digital {
  background: var(--lavender);
  color: #fff;
}
.dmh-deal-btn--digital:hover,
.dmh-deal-btn--digital:focus {
  background: var(--lav-dark);
  color: #fff;
}

/* ── Digital coupon card accent — subtle left-border treatment ────────── */
.dmhq-coupon-card--digital {
  border-left: 3px solid var(--lavender);
  cursor: pointer;
}
.dmhq-coupon-card--digital:hover {
  border-left-color: var(--lav-dark);
}

/* ── "Digital Product · Instant Access" tag under store name ─────────── */
.dmhq-coupon-digital-tag {
  font-size: 11px;
  color: var(--lavender);
  margin-top: 3px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
}

/* ── Digital-specific "Get Instant Access" shop button ───────────────── */
.dmhq-shop-deal-btn--digital {
  background: var(--lavender);
  color: #fff;
}
.dmhq-shop-deal-btn--digital:hover {
  background: var(--lav-dark);
  color: #fff;
}