/* ==========================================================================
   Dr Good Health — Home Page
   Load via:
   <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/assets/css/new-home.css">
   ========================================================================== */
/* Fonts — direct import as fallback guarantee */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700;800&display=swap');
:root {
  --cream: #FAF5EA;
  --forest: #0E3B2A;
  --forest-light: #14523A;
  --ink: #14281F;
  --text-body: #4A5A4F;
  --muted: #8C8570;
  --border: #E4DAC2;
  --lime: #B8E04A;
  --lime-hover: #C9EE63;
  --sand: #F0EAD8;
  --red: #9B2C2C;
  --ok-green: #1C7A4A;
  --amber: #F2A93B;
  --orange: #A0522A;
  --accent-green: #1C6B4A;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ---------- base ---------- */
.dgh-home * { box-sizing: border-box; }
.dgh-home { font-family: var(--font-body); color: var(--ink); background: var(--cream); max-width: 100vw; overflow-x: clip; } /* clip (not hidden) so position:sticky keeps working */
.dgh-home a { text-decoration: none; }
.dgh-home details > summary { list-style: none; cursor: pointer; }
.dgh-home details > summary::-webkit-details-marker { display: none; }
/* .dgh-home details[open] .dgh-plus { transform: rotate(45deg); } */
.dgh-home .dgh-faq-item[open] .dgh-plus { transform: none; }
.dgh-nav::-webkit-scrollbar { display: none; }

/* overflow-x:hidden on html/body turns them into scroll containers and breaks
   position:sticky (the product story). "clip" hides overflow without that side effect. */
html, body { overflow-x: clip; max-width: 100%; }
body, .dgh-home-body { margin: 0; background: var(--cream); -webkit-font-smoothing: antialiased; }

/* ---------- keyframes ---------- */
@keyframes dgh-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dgh-float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(-3deg); } }
@keyframes dgh-spin { to { transform: rotate(360deg); } }
@keyframes dgh-drift { 0%,100% { transform: translate3d(0,0,0) scale(1); } 33% { transform: translate3d(28px,-22px,0) scale(1.08); } 66% { transform: translate3d(-20px,18px,0) scale(0.95); } }
@keyframes dgh-pulse { 0%,100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.06); } }
@keyframes dgh-sheen { 0% { transform: translateX(-120%); } 60%,100% { transform: translateX(240%); } }
@keyframes dgh-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes dgh-ripple { 0% { transform: scale(0.85); opacity: 0.55; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes dgh-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes dgh-lift { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes dgh-zoom { from { opacity: 0; transform: scale(0.88) translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes dgh-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes dgh-ringIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes dgh-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes dgh-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dgh-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- scroll-reveal (used by the JS IntersectionObserver) ---------- */
.dgh-reveal-init { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.dgh-reveal-shown { opacity: 1; transform: none; }

/* ---------- announcement ticker ---------- */
.dgh-ticker-bar { background: var(--forest); color: #EFE6CF; overflow: hidden; padding: 11px 0; white-space: nowrap; }
.dgh-ticker-track { display: inline-flex; gap: 48px; animation: dgh-marquee 26s linear infinite; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.dgh-ticker-track .dot { color: var(--lime); }

/* ---------- header ---------- */
.dgh-header { position: sticky; top: 0; z-index: 9990; background: var(--cream); border-bottom: 1px solid var(--border); }

/* Desktop layout: logo · menu · search · icons */
.dgh-header .dgh-header-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 40px;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 0;
}

.dgh-header .dgh-logo { display: flex; align-items: center; flex: 0 0 auto; flex-shrink: 1; min-width: 0; overflow: hidden; }
.dgh-header .dgh-logo img { height: 44px; width: auto; max-width: 190px; object-fit: contain; display: block; }

.dgh-burger { display: none; flex-shrink: 0; background: transparent; border: 1px solid #D8CDB2; border-radius: 8px; padding: 9px 11px; cursor: pointer; color: var(--ink); line-height: 0; }
.dgh-burger:hover { background: var(--sand); }

/* small space between logo and menu */
.dgh-header .dgh-nav { flex: 0 0 auto; display: flex; align-items: stretch; align-self: stretch; gap: 28px; margin-left: 40px; flex-wrap: nowrap; }
.dgh-nav-item { flex-shrink: 0; display: flex; align-items: stretch; }
.dgh-nav-link { display: flex; align-items: center; gap: 6px; color: var(--ink); font-family: var(--font-body); font-size: 14.5px; font-weight: 600; padding: 0; white-space: nowrap; border-bottom: 2px solid transparent; }
.dgh-nav-link:hover { color: var(--forest); border-bottom-color: var(--lime); }
.dgh-nav-link .caret { font-size: 10px; color: var(--muted); }

.dgh-mega {
  position: absolute;
  top: 100%;
  left: 40px;
  right: 40px;
  width: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 26px 60px rgba(14,59,42,.16);
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr)) 190px;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease .15s, transform .2s ease .15s;
  max-height: 80vh;
  overflow-y: auto;
  font-family: var(--font-body);
}
.dgh-nav-item:hover .dgh-mega,
.dgh-nav-item:focus-within .dgh-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.dgh-nav-item > .dgh-nav-link { position: relative; }
.dgh-nav-item > .dgh-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px; /* covers the header padding gap */
}
.dgh-mega-col-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dgh-mega-col-links { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.dgh-mega-col-links a { font-size: 14px; color: var(--ink); }
.dgh-mega-col-links a:hover { color: #1C6B4A; }

.dgh-mega-promo { background: var(--sand); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; position: relative; }
.dgh-mega-promo .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.dgh-mega-promo .title { font-family: var(--font-heading); font-size: 19px; font-weight: 400; color: var(--forest); margin-top: 6px; line-height: 1.2; }
.dgh-mega-promo .desc { font-size: 13px; color: var(--text-body); margin-top: 6px; flex: 1; }
.dgh-mega-promo .cta { font-size: 13px; font-weight: 700; color: var(--forest); margin-top: 10px; border-bottom: 2px solid var(--lime); align-self: flex-start; }

@media (max-width: 900px) {
  .dgh-mega { left: 16px; right: 16px; grid-template-columns: 1fr; max-height: 70vh; }
  .dgh-mega-promo { order: -1; }
}

/* search grows to fill the middle; extra space sits between menu and search */
.dgh-header .dgh-search {
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 380px;
  margin: 0 32px 0 auto;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #D8CDB2;
  border-radius: 8px;
}
.dgh-search .icon { color: var(--muted); flex-shrink: 0; padding: 0 8px 0 12px; display: flex; }
.dgh-search input { flex: 1 1 auto; border: none; outline: none; box-shadow: none; background: transparent; font-family: var(--font-body); font-size: 14.5px; color: var(--ink); min-width: 40px; width: 100%; padding: 12px 0; margin: 0; height: auto; }
.dgh-search button { flex: 0 0 auto; background: var(--forest); color: var(--cream); border: none; border-radius: 0 7px 7px 0; padding: 12px 18px; font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; align-self: stretch; }
.dgh-search button:hover { background: var(--forest-light); }
.dgh-search input[type="search"] { -webkit-appearance: none; appearance: none; }
.dgh-search input[type="search"]::-webkit-search-cancel-button { display: none; }

.dgh-header .dgh-header-icons { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: 0; }
.dgh-header .dgh-icon-btn { display: flex; align-items: center; justify-content: center; color: var(--ink); width: 40px; height: 40px; border-radius: 8px; background: transparent; border: none; cursor: pointer; padding: 0; }
.dgh-icon-btn:hover { background: var(--sand); color: var(--forest); }
.dgh-icon-btn.cart { position: relative; font-family: var(--font-body); }

/* Cart badge: pinned to the corner of the cart icon */
.dgh-header .dgh-icon-btn .dgh-cart-badge {
    position: absolute !important;
    top: 3px !important;
    right: 1px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    /* background: #000000 !important; */
    color: #000000 !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}
/* ---------- mobile / tablet side menu (slides in from the right) ---------- */
.dgh-mnav-overlay {
  position: fixed; inset: 0; z-index: 9995;
  background: rgba(8, 30, 21, .55);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.dgh-mnav-overlay.is-open { opacity: 1; pointer-events: auto; }

.dgh-mnav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 9996;
  width: 340px; max-width: 86vw;
  display: flex; flex-direction: column;
  color: #fff;
  background:
    radial-gradient(120% 60% at 100% 100%, rgba(184,224,74,.18) 0%, rgba(184,224,74,0) 60%),
    linear-gradient(160deg, #0E3B2A 0%, #14523A 55%, #1C6B4A 100%);
  box-shadow: none;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility 0s linear .38s;
}
.dgh-mnav.is-open {
  transform: translateX(0);
  visibility: visible;
  box-shadow: -24px 0 60px rgba(8,30,21,.35);
  transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility 0s;
}
html.dgh-menu-lock, html.dgh-menu-lock body { overflow: hidden !important; }

.dgh-mnav-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 20px 16px 24px;
  border-bottom: 1px solid rgba(250,245,234,.14);
}
.dgh-mnav-logo img { height: 34px; width: auto; display: block; filter: brightness(0) invert(1); }
.dgh-mnav-close {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0; padding: 0;
  border-radius: 10px; border: 1px solid rgba(250,245,234,.25);
  background: transparent; color: #fff; cursor: pointer;
}
.dgh-mnav-close:hover { background: rgba(250,245,234,.1); }

.dgh-mnav-body {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 10px 24px 20px;
}

/* groups inside the Shop accordion */
.dgh-mnav-group { padding: 14px 0 6px; }
.dgh-mnav-group + .dgh-mnav-group { border-top: 1px solid rgba(250,245,234,.1); }
.dgh-mnav-title {
  font-size: 17px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 4px;
}

/* sub links */
.dgh-mnav-body a {
  display: block; padding: 8px 0 8px 12px;
  font-size: 14.5px; font-weight: 600; color: #EFE6CF;
  border-left: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease, padding-left .2s ease;
}
.dgh-mnav-body a:hover, .dgh-mnav-body a:focus-visible {
  color: #fff; border-left-color: var(--lime); padding-left: 16px; outline: none;
}

/* top-level items: Shop, About Us, Contact, Career, Blog */
.dgh-mnav-body .dgh-mnav-top {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px 4px;
  background: transparent; border: none; border-left: 0;
  border-bottom: 1px solid rgba(250,245,234,.12);
  color: #fff; font-family: var(--font-body);
  font-size: 16px; font-weight: 700; text-align: left; cursor: pointer;
}
.dgh-mnav-body .dgh-mnav-top:hover,
.dgh-mnav-body .dgh-mnav-top:focus-visible {
  color: var(--lime); padding-left: 4px; border-left: 0; outline: none;
}

.dgh-mnav-caret { font-size: 12px; transition: transform .25s ease; }
.dgh-mnav-toggle[aria-expanded="true"] .dgh-mnav-caret { transform: rotate(180deg); }

/* accordion panel */
.dgh-mnav-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.dgh-mnav-sub-inner { overflow: hidden; min-height: 0; }
.dgh-mnav-item.is-open .dgh-mnav-sub { grid-template-rows: 1fr; }
.dgh-mnav-item.is-open .dgh-mnav-sub-inner { padding: 6px 0 10px; }
.dgh-mnav-sub .dgh-mnav-group { padding-left: 4px; }

/* footer CTA */
.dgh-mnav-foot { padding: 16px 24px 24px; border-top: 1px solid rgba(250,245,234,.14); }
.dgh-mnav-cta {
  display: block; text-align: center;
  background: var(--lime); color: var(--forest);
  font-size: 15px; font-weight: 800; padding: 14px 18px; border-radius: 999px;
}
.dgh-mnav-cta:hover { background: var(--lime-hover); }

/* stagger the top-level items in when the menu opens */
.dgh-mnav .dgh-mnav-body > * { opacity: 0; transform: translateX(18px); transition: opacity .35s ease, transform .35s ease; }
.dgh-mnav.is-open .dgh-mnav-body > * { opacity: 1; transform: none; }
.dgh-mnav.is-open .dgh-mnav-body > *:nth-child(1) { transition-delay: .08s; }
.dgh-mnav.is-open .dgh-mnav-body > *:nth-child(2) { transition-delay: .13s; }
.dgh-mnav.is-open .dgh-mnav-body > *:nth-child(3) { transition-delay: .18s; }
.dgh-mnav.is-open .dgh-mnav-body > *:nth-child(4) { transition-delay: .23s; }
.dgh-mnav.is-open .dgh-mnav-body > *:nth-child(5) { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .dgh-mnav, .dgh-mnav .dgh-mnav-body > *, .dgh-mnav-sub, .dgh-mnav-caret { transition: none; }
}

/* ---------- desktop vs mobile switch ---------- */
@media (min-width: 1100px) {
  .dgh-nav { display: flex !important; }
  .dgh-burger { display: none !important; }
  .dgh-mnav, .dgh-mnav-overlay { display: none !important; }
}

/* small desktop (1100–1239px) */
@media (min-width: 1100px) and (max-width: 1239px) {
  .dgh-header .dgh-header-inner { padding: 10px 28px; }
  .dgh-header .dgh-nav { gap: 22px; margin-left: 28px; }
  .dgh-header .dgh-search { margin-right: 20px; min-width: 170px; }
  .dgh-header .dgh-mega { left: 28px; right: 28px; }
}

/* tablet + mobile: logo ........ icons · burger */
@media (max-width: 1099px) {
  .dgh-header .dgh-nav { display: none; }
  .dgh-header .dgh-search { display: none; }

  .dgh-header .dgh-header-inner {
    padding: 8px 28px;
    min-height: 64px;
    gap: 0;
    justify-content: flex-start;
  }
  .dgh-header .dgh-logo { order: 1; }
  .dgh-header .dgh-logo img { height: 38px; max-width: 170px; }

  .dgh-header .dgh-header-icons { order: 2; margin-left: auto; gap: 4px; }
  .dgh-header .dgh-burger {
    order: 3;
    margin-left: 12px;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* mobile (≤600px) */
@media (max-width: 600px) {
  .dgh-header .dgh-header-inner { padding: 6px 16px; min-height: 58px; }
  .dgh-header .dgh-logo img { height: 32px; max-width: 140px; }
  .dgh-header .dgh-header-icons { gap: 2px; }
  .dgh-header .dgh-icon-btn { width: 38px; height: 38px; }
  .dgh-header .dgh-burger { width: 40px; height: 40px; margin-left: 8px; }
}

/* small phones (≤380px) */
@media (max-width: 380px) {
  .dgh-header .dgh-header-inner { padding: 6px 12px; }
  .dgh-header .dgh-logo img { height: 28px; max-width: 110px; }
  .dgh-header .dgh-icon-btn { width: 34px; height: 36px; }
  .dgh-header .dgh-burger { margin-left: 4px; }
}
/* ---------- hero ---------- */
.dgh-simple-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.dgh-simple-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- simple banner ---------- */
.dgh-simple-banner { margin: 0; padding: 0; line-height: 0; }
.dgh-simple-banner img { display: block; width: 100%; height: auto; }

/* ---------- certificate strip (top, under hero banner — static, no animation) ---------- */
.dgh-cert-strip {
  margin: 0;
  background: #fff;
  padding: 18px 24px;
}

.dgh-cert-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1300px;
  margin: 0 auto;
  flex-wrap: nowrap;
  gap:6px;
}

.dgh-cert-item {
  display: flex;
  align-items: center;
/*   gap: 10px; */
  padding: 0 12px;
  border-right: 1px solid rgba(14, 59, 42, 0.15);
  flex-shrink: 0;
}

.dgh-cert-item:first-child {
  padding-left: 0;
}

.dgh-cert-item img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.dgh-cert-item span {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--forest, #0e3b2a);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.dgh-cert-tagline {
  margin-left: auto;
  padding-left: 30px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 17px;
  color: var(--forest, #0e3b2a);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .dgh-cert-strip-inner {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 11px;
	  gap:10px;
  }
  .dgh-cert-item {
    border-right: none;
  }
  .dgh-cert-tagline {
    display: none;
  }
}

/* Mobile: all 6 certificates in ONE row, icon above label */
@media (max-width: 640px) {
  .dgh-cert-strip { padding: 12px 6px; }
  .dgh-cert-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }
  .dgh-cert-item,
  .dgh-cert-item:first-child {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    gap: 5px;
    padding: 0;
    border-right: none;
    min-width: 0;
  }
  .dgh-cert-item img {
    height: 28px;
    width: 28px;
  }
  .dgh-cert-item span {
    font-size: 6.5px;
    line-height: 1.2;
    letter-spacing: -0.2px;
    white-space: nowrap;
  }
}
@media (max-width: 340px) {
  .dgh-cert-item img { height: 24px; width: 24px; }
  .dgh-cert-item span { font-size: 5.8px; }
}
@media (min-width: 400px) and (max-width: 640px) {
  .dgh-cert-item img { height: 32px; width: 32px; }
  .dgh-cert-item span { font-size: 7.5px; letter-spacing: 0; }
}
/* ---------- second certificate strip (inside Reviews section — logo row only) ---------- */
.dgh-cert-strip-alt { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; background: var(--sand); border-radius: 24px; padding: 28px 32px; margin-top: 40px; }
.dgh-cert-strip-alt img { height: 70px; max-width: 100%; }
@media (max-width: 640px) {
  .dgh-cert-strip-alt { gap: 2px; padding: 20px 18px; }
  .dgh-cert-strip-alt img { height: 45px; }
}

/* ---------- section heading pattern (shared defaults; per-section tweaks below) ---------- */
.dgh-section-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.dgh-section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.dgh-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.dgh-h2 { font-family: var(--font-body); font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.05; margin: 0; color: var(--forest); }
.dgh-sub { margin: 0; color: var(--text-body); font-size: 16px; }
.dgh-view-all { font-size: 15px; font-weight: 700; color: var(--forest); border-bottom: 2px solid var(--lime); padding-bottom: 2px; white-space: nowrap; }

@media (max-width: 640px) {
  .dgh-section-head { align-items: flex-start; }
}

/* section wrapper padding */
.dgh-section-concerns {
  padding: 48px 0;
  overflow: hidden; /* belt-and-braces against child overflow */
  font-family: var(--font-body);
  background-image: url('/images/concerns/section-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.dgh-section-bestsellers { padding: 45px 0; overflow: hidden; }
.dgh-section-faq { padding: 45px 0; }
.dgh-section-newsletter { padding: 45px 0; }

.dgh-concerns-grid {
  --card-ratio: 6 / 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
  width: 100%;
}

.dgh-concern-card {
  position: relative;
  display: block;
  border-radius: 18px;
  aspect-ratio: var(--card-ratio);
  background-size: cover;
  background-position: center top; /* keeps the top (icon/heading baked into the image) visible, crops from the bottom */
  background-color: #eee;  /* fallback while image loads */
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.dgh-concern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
}

/* ---------- All Products CTA card ---------- */
.dgh-concern-card--all {
  background-image: none;
  background: linear-gradient(135deg, #17301f, #2c4d33);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 16px;
}
.dgh-concern-card--all .dgh-concern-card__label {
  color: #fff;
  font-weight: 800;
  font-size: clamp(15px, 2vw, 18px);
}
.dgh-concern-card--all .dgh-concern-card__btn {
  display: inline-block;
  background: #b6e04a;
  color: #17301f;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 5px;
  border-radius: 999px;
}
.dgh-concern-card--all:hover .dgh-concern-card__btn {
  background: #a2cf3a;
}

/* ---------- responsive concerns grid ---------- */
@media (max-width: 1099px) {
  .dgh-concerns-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 640px) {
  .dgh-section-concerns { padding: 32px 0; }
  .dgh-concerns-grid {
    grid-template-columns: repeat(2, 1fr);
    --card-ratio: 5 / 5;
    gap: 8px;
  }
}

/* ---------- product cards ---------- */
.dgh-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 34px; }
.dgh-product-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease; }
.dgh-product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(14,59,42,.12); border-color: #C9D8BE; }
.dgh-product-media { position: relative; border-radius: 14px; padding: 16px; height: 224px; display: flex; align-items: center; justify-content: center; }
.dgh-product-media img { max-width: 82%; max-height: 100%; object-fit: contain; }
.dgh-product-media.bg-blue { background: #EEF2FF; }
.dgh-product-media.bg-peach { background: #FFF3E8; }
.dgh-product-media.bg-pink { background: #FFEDED; }
.dgh-tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 6px; padding: 5px 10px; }
.dgh-tag.dark { background: var(--forest); color: var(--lime); }
.dgh-tag.orange { background: var(--orange); color: #FFE7D1; }
.dgh-tag.red { background: var(--red); color: #FFDCDC; }
.dgh-wishlist { position: absolute; top: 12px; right: 12px; background: #fff; border: 1px solid var(--border); border-radius: 999px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); cursor: pointer; }
.dgh-product-cat { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.dgh-product-name { font-family: var(--font-body); font-size: 21px; font-weight: 700; color: var(--forest); margin-top: 4px; line-height: 1.15; }
.dgh-product-rating { display: flex; align-items: center; gap: 6px; margin-top: 7px; }
.dgh-product-rating .stars { color: var(--amber); font-size: 12px; letter-spacing: 1px; }
.dgh-product-rating .score { font-size: 12px; color: var(--text-body); font-weight: 700; }
.dgh-product-rating .count { font-size: 12px; color: var(--muted); }
.dgh-product-desc { font-size: 13px; color: var(--text-body); line-height: 1.5; margin-top: 8px; flex: 1; }
.dgh-variant-row { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.dgh-variant { border-radius: 6px; padding: 5px 10px; font-size: 12px; }
.dgh-variant.active { border: 1.5px solid var(--forest); font-weight: 700; color: var(--forest); }
.dgh-variant.inactive { border: 1px solid var(--border); font-weight: 500; color: var(--muted); }
.dgh-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.dgh-price-row .price { font-family: var(--font-body); font-size: 24px; font-weight: 700; color: var(--ink); }
.dgh-price-row .was { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.dgh-price-row .off { font-size: 12px; font-weight: 700; color: var(--ok-green); }
.dgh-unit-price { font-size: 12px; color: var(--muted); margin-top: 3px; }
.dgh-add-btn { margin-top: 14px; width: 100%; background: var(--forest); color: var(--cream); border: none; border-radius: 10px; padding: 13px 20px; font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s ease; }
.dgh-add-btn:hover { background: var(--forest-light); }
.dgh-stock-note { font-size: 12px; color: var(--ok-green); font-weight: 500; margin-top: 9px; text-align: center; }

.dgh-product-card.bundle { background: var(--forest); }
.dgh-product-card.bundle:hover { box-shadow: 0 18px 36px rgba(14,59,42,.24); }
.dgh-bundle-media { position: relative; background: var(--forest-light); border-radius: 14px; height: 224px; overflow: hidden; }
.dgh-bundle-media img { width: 100%; height: 100%; object-fit: cover; }
.dgh-bundle-tag { position: absolute; top: 12px; left: 12px; background: var(--lime); color: var(--forest); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 6px; padding: 5px 10px; }
.dgh-bundle-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-top: 16px; }
.dgh-bundle-title { font-family: var(--font-body); font-size: 21px; font-weight: 700; color: var(--cream); margin-top: 4px; line-height: 1.15; }
.dgh-bundle-desc { font-size: 13px; color: #DCEFB4; line-height: 1.5; margin-top: 8px; flex: 1; }
.dgh-bundle-list { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; font-size: 13px; color: #DCEFB4; }
.dgh-bundle-btn { margin-top: 16px; width: 100%; background: var(--lime); color: var(--forest); border: none; border-radius: 10px; padding: 13px 20px; font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; }
.dgh-bundle-btn:hover { background: var(--lime-hover); }
.dgh-bundle-note { font-size: 12px; color: var(--lime); margin-top: 9px; text-align: center; }

.dgh-cart-note { font-size: 14px; color: var(--ok-green); font-weight: 500; margin-top: 18px; min-height: 20px; }
.dgh-product-name a,
.dgh-product-media a {
  color: inherit;
  text-decoration: none;
}
.dgh-product-media a {
  display: block;
}
.dgh-product-name a:hover {
  text-decoration: underline;
}
.dgh-product-card .dgh-product-media img {
  transition: transform .25s ease;
}
.dgh-product-card:hover .dgh-product-media img {
  transform: scale(1.03);
}
/* ---------- ingredient ticker ---------- */
.dgh-ingredient-track-wrap { background: var(--forest); padding: 20px 0; overflow: hidden; white-space: nowrap; }
.dgh-ingredient-track { display: inline-flex; gap: 18px; animation: dgh-marquee 38s linear infinite; }
.dgh-ingredient-pill { border: 1px solid rgba(184,224,74,.5); color: #DCEFB4; border-radius: 999px; padding: 10px 20px; font-size: 15px; }

/* ---------- science cards ---------- */
.dgh-science { position: relative; padding: 39px 20px; overflow: hidden; }
.dgh-science-glow { position: absolute; top: 40px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(184,224,74,.4) 0%, rgba(184,224,74,0) 70%); animation: dgh-drift 20s ease-in-out infinite; pointer-events: none; }
.dgh-science-title { font-family: var(--font-body); font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 0; color: var(--forest); max-width: 620px; }
.dgh-science-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.dgh-science-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.dgh-science-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(14,59,42,.14); }
.dgh-science-card img { width: 100%; height: 230px; object-fit: cover; display: block; }
.dgh-science-card .body { padding: 24px; }
.dgh-science-card .title { font-family: var(--font-body); font-size: 26px; font-weight: 700; color: var(--forest); }
.dgh-science-card p { font-size: 15px; line-height: 1.6; color: var(--text-body); margin: 10px 0 0; }

/* ---------- product story (scroll canvas) ---------- */
/* FIXED: the pinned screen is filled by a bigger canvas (JS sets exact heights),
   the frame's white background is multiplied into the cream page colour,
   and the extra caption margins that added dead height are removed. */
.dgh-story { position: relative;
    /* Pinned while the 4 phases play; JS sets the exact height so it
       releases right after "Your wellness". This is just the no-JS fallback. */
    height: 220vh;
    background: var(--cream); }
.dgh-story-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden;
    background: var(--cream); /* backdrop for the canvas mix-blend-mode */ }
.dgh-story-grid { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: .75fr 1.9fr .65fr; gap: 32px; align-items: center; }
.dgh-story-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.dgh-story-title { font-family: var(--font-body); font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; margin: 14px 0 0; color: var(--forest); }
.dgh-story-desc { font-size: 16px; line-height: 1.6; color: var(--text-body); margin: 16px 0 0; max-width: 340px; }
.dgh-story-progress-track { margin-top: 28px; height: 3px; width: 180px; background: var(--border); border-radius: 999px; overflow: hidden; }
.dgh-story-progress-bar { height: 100%; width: 0%; background: var(--forest); border-radius: 999px; }

.dgh-canvas-box { position: relative; width: 100%; height: 62vh; min-height: 0; }
.dgh-canvas-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
    mix-blend-mode: multiply; /* white frame background becomes the cream page colour */ }
.dgh-story-caption-wrap { position: relative; height: 80px; margin-top: 4px; text-align: center; }
.dgh-story-caption { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.dgh-story-caption.active { opacity: 1; transform: none; }
.dgh-story-caption .title { font-family: var(--font-body); font-size: 26px; font-weight: 700; color: var(--forest); margin: 12px 0 8px; }
.dgh-story-caption p { font-size: 15px; color: var(--text-body); margin: 6px 0 0; }
.dgh-phases { display: flex; flex-direction: column; gap: 40px; }
.dgh-phase { padding-left: 16px; border-left: 2px solid var(--border); opacity: .45; transition: opacity .4s ease, border-color .4s ease, transform .4s ease; }
.dgh-phase.active { border-left-color: var(--forest); opacity: 1; transform: translateX(4px); }
.dgh-phase .num { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.dgh-phase .name { font-family: var(--font-body); font-size: 22px; font-weight: 700; color: var(--forest); margin-top: 2px; }
.dgh-phase-cta { margin-top: 6px; align-self: flex-start; background: var(--forest); color: var(--cream); border: none; border-radius: 999px; padding: 14px 26px; font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; }
.dgh-phase-cta:hover { background: var(--forest-light); }

/* Stacked story layout: phones + portrait tablets (keep in sync with `narrow` in the JS) */
@media (max-width: 939px), (max-width: 1099px) and (orientation: portrait) {
  .dgh-story-sticky {
    min-height: 0;
    align-items: center;
    padding: 16px 0;
  }

  .dgh-story-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .dgh-story-eyebrow, .dgh-story-title { text-align: center; }
  .dgh-story-desc { display: none; }

  .dgh-canvas-box {
    height: 40vh;
  }

  .dgh-story {
    height: 220vh;
  }

  .dgh-phases { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .dgh-phase-cta { display: none; }
}

/* ---------- reviews ---------- */
.dgh-section-reviews { padding: 45px 0; }
.dgh-review-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dgh-review-rating { display: flex; align-items: center; gap: 10px; }
.dgh-review-rating .stars { color: var(--amber); font-size: 18px; letter-spacing: 2px; }
.dgh-review-rating .text { font-size: 16px; color: var(--text-body); }
.dgh-review-rating .text strong { color: var(--ink); }
.dgh-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 34px; margin-bottom: 25px; }
.dgh-review-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.dgh-review-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(14,59,42,.12); }
.dgh-review-card .stars { color: var(--amber); font-size: 15px; letter-spacing: 2px; }
.dgh-review-card blockquote { font-size: 17px; line-height: 1.6; color: var(--ink); margin: 14px 0 0; }
.dgh-review-person { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.dgh-review-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.dgh-review-person .name { font-size: 15px; font-weight: 700; }
.dgh-review-person .meta { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.dgh-section-faq { padding: 50px 20px; background: #fdfbf7; }
.dgh-faq-wrap { max-width: 800px; margin: 0 auto; }

/* heading */
.dgh-faq-head { text-align: center; margin-bottom: 48px; }
.dgh-faq-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #4a7c59;
}
.dgh-faq-title {
    font-family: var(--font-body);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.05;
    margin: 0;
    color: var(--forest);
}
.dgh-faq-head p {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-body);
    margin-bottom: 8px;
}
/* list */
.dgh-faq-list { display: flex; flex-direction: column; gap: 12px; }
.dgh-faq-item {
  background: #fff; border: 1px solid #eee9df; border-radius: 16px;
  padding: 0 24px; transition: box-shadow .2s;
}
.dgh-faq-item[open] { box-shadow: 0 6px 24px rgba(0,0,0,.04); }

.dgh-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600; color: #1c1c1c;
}
.dgh-faq-item summary::-webkit-details-marker { display: none; }
.dgh-faq-item summary::marker { content: ""; }

/* circular arrow icon (drawn with CSS) */
.dgh-faq-item .dgh-plus {
  position: relative; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: #eef2ec; font-size: 0;
  transition: background .2s;
}
.dgh-faq-item .dgh-plus::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 7px solid #2f5d3f;
  transform: translate(-50%, -35%);
  transition: transform .2s, border-top-color .2s;
}
.dgh-faq-item[open] .dgh-plus { background: #4a7c59; }
.dgh-faq-item[open] .dgh-plus::before {
  border-top-color: #fff;
  transform: translate(-50%, -65%) rotate(180deg);
}

.dgh-faq-item p {
  font-size: 15px; line-height: 1.7; color: var(--text-body);
  margin: 0; padding: 0 0 24px;
}

/* button */
.dgh-faq-foot { text-align: center; margin-top: 36px; }
.dgh-faq-cta {
  display: inline-block; background: var(--forest); color: var(--cream);
  border-radius: 999px; padding: 16px 30px; font-size: 16px; font-weight: 700;font-family: var(--font-body);
}
.dgh-faq-cta:hover { background: var(--forest-light); color: var(--cream); }
/* ---------- newsletter CTA ---------- */
.dgh-newsletter-card { max-width: 1240px; margin: 0 auto; border-radius: 32px; overflow: hidden; position: relative; background: #DCEFB4; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.dgh-newsletter-copy { padding: 56px; }
.dgh-newsletter-copy h2 { font-family: var(--font-body); font-size: clamp(30px, 5vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin: 0; color: var(--forest); }
.dgh-newsletter-copy p { font-size: 17px; line-height: 1.6; color: #3F5540; margin: 16px 0 0; max-width: 420px; }
.dgh-newsletter-form { display: flex; gap: 10px; margin-top: 26px; max-width: 440px; flex-wrap: wrap; }
.dgh-newsletter-form .field { flex: 1 1 200px; background: #fff; border-radius: 999px; padding: 16px 22px; font-size: 15px; color: var(--muted); }
.dgh-newsletter-form button { background: var(--forest); color: var(--cream); border: none; border-radius: 999px; padding: 16px 28px; font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; }
.dgh-newsletter-form button:hover { background: var(--forest-light); }
.dgh-newsletter-card img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }

@media (max-width: 640px) {
  .dgh-newsletter-copy { padding: 28px 20px; }
}

/* ---------- footer ---------- */
.dgh-footer {background: var(--forest); color: #DCEFB4; padding: 64px 20px 32px; }
.dgh-footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px; }
.dgh-footer-logo { display: block; }
.dgh-footer-logo a {
  display: inline-block;
  line-height: 0;
  cursor: pointer;
  text-decoration: none;
}
.dgh-footer-logo img {
  display: block;
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
  transition: opacity .25s ease, transform .25s ease;
}
.dgh-footer-logo a:hover img { opacity: 1; transform: translateY(-1px); }
.dgh-footer-logo a:focus-visible {
  outline: 2px solid var(--lime, #B8E04A);
  outline-offset: 4px;
  border-radius: 6px;
}
.dgh-footer-about p { font-size: 15px; line-height: 1.65; margin: 18px 0 0; max-width: 320px; opacity: .9; }
.footer-socials {
  display: flex;
  gap: 14px;
}

.social-btn {
 display: inline-flex;
 align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: 50%;
overflow: hidden;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.social-btn svg {
display: block;
width: 100%;
height: 100%;
}
.dgh-footer-col-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.dgh-footer-links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; font-size: 15px; }
.dgh-footer-links a { color: #DCEFB4; }
.dgh-footer-links a:hover { color: #fff; }

.dgh-footer-meta { max-width: 1240px; margin: 40px auto 0; padding-top: 26px; border-top: 1px solid rgba(250,245,234,.16); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dgh-footer-meta .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-weight: 700; }
.dgh-payment-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.dgh-payment-row span { background: rgba(250,245,234,.1); border: 1px solid rgba(250,245,234,.2); border-radius: 6px; padding: 7px 12px; font-size: 12px; font-weight: 700; color: var(--cream); }
.dgh-cert-row { display: flex; gap: 18px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
.dgh-cert-row img { height: 38px; }

.dgh-footer-bottom { max-width: 1240px; margin: 32px auto 0; padding-top: 22px; border-top: 1px solid rgba(250,245,234,.16); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; opacity: .75; flex-wrap: wrap; }

/* ---------- cart drawer ---------- */
.dgh-cart-overlay { position: fixed; inset: 0; z-index: 9997; background: rgba(14,59,42,.45); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.dgh-cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.dgh-cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 9998; width: 380px; max-width: 92vw; background: var(--cream); border-left: 1px solid var(--border); box-shadow: -20px 0 50px rgba(14,59,42,.18); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.dgh-cart-drawer.is-open { transform: translateX(0); }
.dgh-cart-head { padding: 22px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dgh-cart-head .title { font-family: var(--font-body); font-size: 22px; font-weight: 700; color: var(--forest); }
.dgh-cart-close { background: transparent; border: none; font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; padding: 4px; }
.dgh-cart-close:hover { color: var(--ink); }
.dgh-cart-body { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.dgh-cart-empty { font-size: 15px; color: var(--muted); line-height: 1.6; padding: 20px 0; }
.dgh-cart-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.dgh-cart-line .name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.dgh-cart-line .meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.dgh-cart-line .amount { font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.dgh-cart-foot { padding: 20px 24px; border-top: 1px solid var(--border); background: #fff; }
.dgh-cart-row { display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: var(--text-body); }
.dgh-cart-row.small { font-size: 14px; margin-top: 7px; }
.dgh-cart-row strong { color: var(--ink); }
.dgh-cart-row .ship { color: var(--ok-green); font-weight: 700; }
.dgh-checkout-btn { display: block; text-align: center; text-decoration: none; margin-top: 16px; width: 100%; background: var(--forest); color: var(--cream); border: none; border-radius: 10px; padding: 15px; font-family: var(--font-body); font-size: 16px; font-weight: 700; cursor: pointer; }
.dgh-checkout-btn:hover { background: var(--forest-light); color: var(--cream); }
.dgh-cart-secure { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ---------- ROW 1 (trust / science section) ---------- */
.dgh-trust-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.dgh-trust-media { border-radius: 24px; overflow: hidden; min-height: 320px; }
.dgh-trust-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dgh-trust-copy { display: flex; flex-direction: column; justify-content: center; }
.dgh-trust-copy .dgh-eyebrow { margin-bottom: 12px; color: var(--accent-green); }
.dgh-trust-copy .dgh-h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.25; color: var(--forest); margin: 0 0 16px; }
.dgh-trust-copy .dgh-h2 .accent { color: var(--accent-green); font-style: italic; }
.dgh-trust-copy p { font-size: 15px; line-height: 1.7; color: var(--text-body); margin: 0 0 24px; max-width: 480px; }

.dgh-btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--forest); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 14px 24px; border-radius: 40px;
  width: fit-content; transition: transform .25s ease;
}
.dgh-btn-dark:hover { transform: translateY(-2px); }

.dgh-cert-panel { background: var(--sand); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; }
.dgh-cert-panel-title { font-family: var(--font-body); font-size: 18px; font-weight: 700; color: var(--forest); margin-bottom: 18px; }
.dgh-cert-panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.dgh-cert-panel-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.dgh-cert-panel-item img { width: 40px; height: 40px; object-fit: contain; }
.dgh-cert-panel-item span { font-size: 10.5px; font-weight: 600; color: var(--forest); }
.dgh-cert-panel-note { font-size: 12.5px; line-height: 1.5; color: var(--text-body); margin: 0 0 10px; }
.dgh-cert-panel-link { font-size: 13px; font-weight: 700; color: var(--forest); text-decoration: none; }
.dgh-cert-panel-link:hover { text-decoration: underline; }

/* ---------- SHARED BACKGROUND (both sections use .dgh-section-trust) ---------- */
.dgh-section-trust {
  padding: 45px 20px;
  background-image: url('https://drgoodhealth.co/wp-content/uploads/2026/09/section.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- ROW 2 (now its own section: #global-reach) ---------- */
.dgh-reach-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: center;
  /* margin-top / padding-top / border-top removed: it is a separate section now */
}

.dgh-reach-left h3.dgh-h3 { font-family: var(--font-body); font-size: 26px; font-weight: 700; color: var(--forest); margin: 0 0 14px; }
.dgh-reach-left p { font-size: 14px; line-height: 1.7; color: var(--text-body); margin: 0 0 22px; }

.dgh-reach-stats { position: relative; text-align: center; }
.dgh-stat { display: inline-block; margin: 0 14px 18px; }
.dgh-stat-num { font-family: var(--font-body); font-size: 26px; font-weight: 800; color: var(--forest); }
.dgh-stat-label { font-size: 12px; color: var(--text-body); margin-top: 2px; }
.dgh-reach-map { width: 100%; opacity: .8; display: block; }

.dgh-reach-media { position: relative; border-radius: 24px; overflow: hidden; min-height: 220px; }
.dgh-reach-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dgh-reach-media-overlay {
  position: absolute; bottom: 18px; left: 18px; color: #fff;
  font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* ---------- TABLET (641–1100px): same 3-column layout as desktop, scaled down ---------- */
@media (min-width: 641px) and (max-width: 1100px) {
  .dgh-section-trust { padding: 36px 16px; }

  /* Section 1 — image | copy | certifications */
  .dgh-trust-row { grid-template-columns: 1fr 1.25fr 0.95fr; gap: 16px; align-items: stretch; }
  .dgh-trust-media { min-height: 0; }
  .dgh-trust-copy .dgh-eyebrow { font-size: 10px; margin-bottom: 8px; }
  .dgh-trust-copy .dgh-h2 { font-size: clamp(17px, 2.3vw, 24px); margin: 0 0 10px; }
  .dgh-trust-copy p { font-size: 12px; line-height: 1.55; margin: 0 0 14px; }
  .dgh-btn-dark { padding: 10px 16px; font-size: 12px; }

  .dgh-cert-panel { padding: 14px 12px; }
  .dgh-cert-panel-title { font-size: 14px; margin-bottom: 12px; }
  .dgh-cert-panel-grid { grid-template-columns: repeat(3, 1fr); gap: 10px 6px; margin-bottom: 10px; }
  .dgh-cert-panel-item img { width: 28px; height: 28px; }
  .dgh-cert-panel-item span { font-size: 8.5px; }
  .dgh-cert-panel-note { font-size: 10.5px; }

  /* Section 2 — copy | stats + map | image */
  .dgh-reach-row { grid-template-columns: 1fr 1fr 1fr; gap: 16px; text-align: left; }
  .dgh-reach-left .dgh-eyebrow { font-size: 10px; }
  .dgh-reach-left h3.dgh-h3 { font-size: clamp(17px, 2.3vw, 22px); margin: 0 0 10px; }
  .dgh-reach-left p { font-size: 12px; line-height: 1.55; margin: 0 0 14px; }

  .dgh-reach-stats-row { display: flex; justify-content: center; gap: 10px; margin-bottom: 10px; }
  .dgh-stat { margin: 0; }
  .dgh-stat-num { font-size: clamp(16px, 2.2vw, 22px); }
  .dgh-stat-label { font-size: 9.5px; }

  .dgh-reach-media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- MOBILE base (≤640px) — refined further in the next block ---------- */
@media (max-width: 640px) {
  .dgh-trust-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .dgh-trust-media {
    grid-column: 1 / -1;
    min-height: 260px;
  }
  .dgh-trust-copy {
    grid-column: 1 / 2;
  }
  .dgh-cert-panel {
    grid-column: 2 / 3;
  }

  .dgh-reach-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .dgh-cert-panel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dgh-trust-media {
    grid-column: 1 / -1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .dgh-section-trust { padding: 32px 16px; }

  /* ===== SECTION 1 ===== */
  .dgh-trust-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
  }
  .dgh-trust-media {
    /* full width so the image lines up with the text (left) and certifications box (right) */
    aspect-ratio: 16 / 10;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .dgh-trust-media {
    grid-column: 1 / -1;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .dgh-trust-copy {
    grid-column: 1 / 2;
    padding: 4px 0 0;
    align-items: flex-start;
    text-align: left;
  }
  .dgh-trust-copy .dgh-eyebrow { text-align: left; }
  .dgh-trust-copy .dgh-h2 { text-align: left; font-size: 18px; }
  .dgh-trust-copy p {
    text-align: left;
    max-width: 100%;
    font-size: 12.5px;
    margin: 0 0 16px;
  }
  .dgh-btn-dark {
    width: auto;
    justify-content: center;
    padding: 10px 16px;
    font-size: 12px;
  }

  .dgh-cert-panel {
    grid-column: 2 / 3;
    padding: 14px 10px;
  }
  .dgh-cert-panel-title {
    text-align: center;
    font-size: 13px;
    margin-bottom: 10px;
  }
  .dgh-cert-panel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 6px;
  }
  .dgh-cert-panel-item img { width: 26px; height: 26px; }
  .dgh-cert-panel-item span { font-size: 8px; }
  .dgh-cert-panel-note {
    text-align: center;
    font-size: 9px;
  }

  /* ===== SECTION 2 ===== */
  .dgh-reach-row { grid-template-columns: 1fr; gap: 32px; }

  .dgh-reach-left { padding: 0 8px; }
  .dgh-reach-left p { text-align: center; }

  .dgh-reach-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .dgh-reach-stats-row {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .dgh-stat { margin: 0; }
  .dgh-reach-map {
    /* max-width: 260px; */
    margin: 0 auto;
  }

  .dgh-reach-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .dgh-reach-media-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 16px;
  }
}
.dgh-faq-note {
  text-align: center;
  margin: 32px auto 16px;
}
.dgh-cert-strip { overflow: hidden; }

.dgh-cert-strip-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  animation: dgh-cert-scroll 30s linear infinite;
  will-change: transform;
}
.dgh-cert-item { flex-shrink: 0; }

.dgh-cert-strip:hover .dgh-cert-strip-inner { animation-play-state: paused; }

@keyframes dgh-cert-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--dgh-cert-dist, 50%))); }
}

@media (prefers-reduced-motion: reduce) {
  .dgh-cert-strip-inner { animation: none; }
}
button.dgh-wishlist {
  border: none; background: transparent; padding: 0; cursor: pointer;
  font: inherit; line-height: 1; z-index: 2;
}
.dgh-wishlist.is-active { color: var(--red); }
.dgh-wishlist.pop { animation: dgh-pop .3s ease; }
@keyframes dgh-pop { 50% { transform: scale(1.35); } }
.dgh-h2,
.dgh-science-title,
.dgh-story-title,
.dgh-faq-title,
.dgh-newsletter-copy h2,
.dgh-trust-copy .dgh-h2,
.dgh-reach-left h3.dgh-h3,
.dgh-mega-promo .title,
.dgh-science-card .title,
.dgh-story-caption .title,
.dgh-phase .name,
.dgh-bundle-title,
.dgh-product-name,
.dgh-cert-panel-title,
.dgh-cart-head .title {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -.01em;   /* the old -.03em is too tight for a serif */
}