/* ==========================================================================
   HERBOCURE — one stylesheet for the whole site.
   Colours are set once, at the top. Change them here and every page follows.
   ========================================================================== */

:root{
  /* Brand greens — used for the header, footer, order bar and the one
     dark "Why us" band. Everything else sits on light. */
  --green-900:#12321F;   /* deepest: footer, order bar, why-us band */
  --green-800:#16402B;   /* header, primary button */
  --green-700:#1E5638;   /* hovers and links on light backgrounds */

  /* Warm brass — replaces the old metallic gold.
     --gold is for LIGHT backgrounds, --gold-lt for DARK ones. */
  --gold:#B35F26;
  --gold-lt:#E0A46A;
  --yellow:#E0A46A;      /* accent on the dark bands (kept name for compatibility) */

  /* Page surfaces */
  --cream:#FBF7EF;       /* the page background (linen) */
  --cream-2:#F3EDE0;     /* softly tinted bands */

  --ink:#1B241E;         /* body text */
  --muted:#5A665D;       /* secondary text */
  --line:#E4DCCB;        /* borders and hairlines */

  --header-h:65px;
  --radius:14px;
  --maxw:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:auto}
html{background:var(--cream)}   /* stops a white flash between page loads */
body{
  margin:0;background:var(--cream);color:var(--ink);
  animation:pageIn .2s ease-out;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:16.5px;line-height:1.65;-webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:"Playfair Display",Georgia,serif;font-weight:600;line-height:1.15;margin:0 0 .5em;letter-spacing:-.01em;text-wrap:balance}
h1{font-size:clamp(2.1rem,6vw,3.5rem)}
h2{font-size:clamp(1.6rem,4.2vw,2.5rem)}
h3{font-size:1.2rem}
p{margin:0 0 1.1em}
a{color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:22px}
.narrow{max-width:760px}
.eyebrow{font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;color:var(--gold);margin:0 0 .9em}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}
section[id],div[id],h2[id]{scroll-margin-top:var(--header-h)}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---------- header ---------- */
header{position:sticky;top:0;z-index:50;background:var(--green-900);border-bottom:1px solid rgba(224,164,106,.22)}
.hdr{display:flex;align-items:center;gap:14px;height:64px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;margin-right:auto}
.brand img{width:36px;height:36px}
.brand b{font-family:"Playfair Display",serif;color:#fff;font-size:1.18rem;letter-spacing:.11em;font-weight:600}
.brand b sup,.foot-brand b sup{font-size:.46em;letter-spacing:0;vertical-align:super;
  color:var(--gold-lt);margin-left:2px;font-weight:500}
nav{display:flex;gap:26px}
nav a{color:#D8E3D8;text-decoration:none;font-size:.9rem;font-weight:500}
nav a:hover{color:var(--yellow)}

/* hamburger — hidden on desktop, the only nav on phones */
.menu-btn{display:none;background:none;border:1.5px solid rgba(255,255,255,.28);
  border-radius:10px;width:42px;height:38px;cursor:pointer;padding:0;
  align-items:center;justify-content:center;flex-direction:column;gap:4px}
.menu-btn span{display:block;width:17px;height:1.8px;background:#E8EFE8;border-radius:2px;
  transition:transform .2s,opacity .2s}
.menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(5.8px) rotate(45deg)}
.menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-5.8px) rotate(-45deg)}

@media(max-width:760px){
  .menu-btn{display:flex}
  nav{position:absolute;top:64px;left:0;right:0;flex-direction:column;gap:0;
    background:var(--green-900);border-bottom:1px solid rgba(224,164,106,.28);
    box-shadow:0 14px 26px rgba(0,0,0,.34);padding:6px 0 10px;display:none}
  nav.open{display:flex}
  nav a{padding:13px 22px;font-size:1rem;border-bottom:1px solid rgba(255,255,255,.07)}
  nav a:last-child{border-bottom:0}
  header{position:sticky}
}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 24px;border-radius:999px;font-weight:600;font-size:.94rem;
  text-decoration:none;cursor:pointer;border:1.5px solid transparent;transition:.16s;font-family:inherit;min-height:44px}
.btn-primary{background:var(--green-800);color:#fff}
.btn-primary:hover{background:var(--green-700)}
.btn-ghost{border-color:var(--green-800);color:var(--green-800)}
.btn-ghost:hover{background:var(--green-800);border-color:var(--green-800);color:#fff}
.btn-dark{background:var(--green-800);color:#fff}
.btn-dark:hover{background:var(--green-700)}
.btn-wa{background:#25D366;color:#0A2E17}
.btn-wa:hover{background:#3ADE7A}
.btn-lg{padding:15px 30px;font-size:1rem}

/* ---------- hero (home) ---------- */
.hero{background:var(--cream);color:var(--ink);position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;inset:auto -10% -40% 40%;height:70%;
  background:radial-gradient(closest-side,rgba(179,95,38,.09),transparent 70%);pointer-events:none}
.hero-in{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center;padding-block:70px 60px;position:relative;z-index:1}
.hero h1{color:var(--ink)}
.hero h1 em{font-style:normal;color:var(--gold)}
.hero p.lead{color:var(--muted);font-size:1.07rem;max-width:46ch}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.hero-note{margin-top:22px;font-size:.83rem;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.dot{color:var(--gold)}
.hero-art{display:flex;justify-content:center;align-items:center}
.hero-art img{width:100%;max-width:530px;height:auto;
  filter:drop-shadow(0 26px 34px rgba(18,50,31,.20))}
@media(max-width:860px){
  .hero-in{grid-template-columns:1fr;padding-block:30px 46px;gap:18px}
  .hero-art{order:-1}
  .hero-art img{width:auto;max-width:100%;max-height:min(30vh,235px)}
  .hero h1{font-size:clamp(1.9rem,8vw,2.5rem)}
  .hero p.lead{font-size:1rem}
}
@media(max-width:480px){
  .hero-art img{max-height:min(26vh,200px)}
  .hero-cta{flex-direction:column;align-items:stretch;gap:10px}
  .hero-cta .btn{width:100%}
  .hero-note{font-size:.79rem;margin-top:18px}
}

/* ---------- page banner (inner pages) ---------- */
.pagetop{background:var(--cream-2);color:var(--ink);padding:46px 0 40px;border-bottom:1px solid var(--line)}
.pagetop h1{color:var(--ink);font-size:clamp(1.9rem,5vw,2.9rem);margin-bottom:.25em}
.pagetop p{color:var(--muted);max-width:60ch;margin:0}
.crumb{font-size:.82rem;color:var(--muted);margin-bottom:16px}
.crumb a{color:var(--muted);text-decoration:none}
.crumb a:hover{color:var(--gold)}

/* ---------- trust strip ---------- */
.trust{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.trust-in{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line)}
.trust-in>div{background:#fff;padding:22px 20px;text-align:center}
.trust b{display:block;color:var(--ink);font-size:.93rem;margin-bottom:3px}
.trust small{color:var(--muted);font-size:.8rem;line-height:1.5;display:block}
.trust svg{width:22px;height:22px;stroke:var(--gold);fill:none;stroke-width:1.6;margin-bottom:8px}
@media(max-width:760px){.trust-in{grid-template-columns:repeat(2,1fr)}}

section{padding:76px 0}
.sec-head{max-width:640px;margin-bottom:44px}
.sec-head p{color:var(--muted)}

/* ---------- product cards ---------- */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:900px){.grid3{grid-template-columns:1fr;max-width:430px;margin:0 auto}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  display:flex;flex-direction:column;overflow:hidden;transition:.18s}
.card:hover{border-color:var(--gold);box-shadow:0 12px 30px rgba(18,50,31,.10);transform:translateY(-2px)}
.card-img{background:linear-gradient(170deg,#F4F1E6,#E9E4D4);padding:26px 20px 0;display:flex;justify-content:center}
.card-img img{height:250px;width:auto;filter:drop-shadow(0 14px 18px rgba(0,0,0,.2))}
.card-body{padding:22px;display:flex;flex-direction:column;flex:1}
.card h3{margin-bottom:4px;font-size:1.28rem}
.card .sub{color:var(--muted);font-size:.86rem;margin:0 0 14px}
.spec{list-style:none;padding:0;margin:0 0 18px;font-size:.87rem;color:var(--muted)}
.spec li{padding:5px 0;border-bottom:1px dashed var(--line);display:flex;justify-content:space-between;gap:10px}
.spec li:last-child{border:0}
.spec b{color:var(--ink);font-weight:600;text-align:right}
.price-row{display:flex;align-items:baseline;gap:9px;margin:auto 0 16px;flex-wrap:wrap}
.price{font-family:"Playfair Display",serif;font-size:1.75rem;font-weight:600;color:var(--green-800)}
.mrp{color:#96A098;text-decoration:line-through;font-size:.9rem}
.save{background:#E4F0E4;color:#1C6B33;font-size:.72rem;font-weight:700;padding:3px 9px;border-radius:999px}
.card-actions{display:flex;gap:8px}
.qty{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:999px;overflow:hidden;background:#fff}
.qty button{width:34px;height:44px;border:0;background:none;font-size:1.15rem;cursor:pointer;color:var(--green-800);font-family:inherit}
.qty button:hover{background:var(--cream-2)}
.qty span{width:26px;text-align:center;font-weight:600;font-size:.95rem}
.card-actions .btn{flex:1}

/* ---------- philosophy ---------- */
.philo{background:var(--green-900);color:#fff}
.philo .eyebrow{color:var(--gold-lt)}
.philo h2{color:#fff}
.philo-in{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.philo p{color:#BCCBBC}
.philo .pull{font-family:"Playfair Display",serif;font-size:1.35rem;line-height:1.5;color:var(--yellow);
  border-left:2px solid var(--gold-lt);padding-left:20px;margin:0 0 26px}
.four{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.four b{display:block;color:#fff;font-size:.98rem;margin-bottom:4px}
.four p{font-size:.88rem;margin:0;color:#95A896}
.four .num{color:var(--gold-lt);font-size:.75rem;letter-spacing:.14em;font-weight:700;display:block;margin-bottom:8px}
@media(max-width:900px){.philo-in{grid-template-columns:1fr;gap:34px}}

/* ---------- steps ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;counter-reset:s}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 24px;position:relative}
.step:before{counter-increment:s;content:counter(s);position:absolute;top:-15px;left:24px;
  width:32px;height:32px;border-radius:50%;background:var(--green-800);color:var(--yellow);
  display:grid;place-items:center;font-weight:700;font-size:.9rem}
.step h3{margin:10px 0 6px;font-size:1.08rem}
.step p{margin:0;font-size:.9rem;color:var(--muted)}
@media(max-width:860px){.steps{grid-template-columns:1fr}}

/* ---------- faq ---------- */
.faq{max-width:820px}
details{border-bottom:1px solid var(--line)}
summary{padding:19px 34px 19px 0;cursor:pointer;font-weight:600;list-style:none;position:relative;font-size:1rem}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";position:absolute;right:6px;top:16px;font-size:1.45rem;color:var(--gold);font-weight:400;transition:.2s}
details[open] summary:after{transform:rotate(45deg)}
details p{margin:0 0 19px;color:var(--muted);font-size:.94rem;max-width:70ch}

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.pdp{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:start;padding-block:52px 20px}
.pdp-media{background:linear-gradient(170deg,#F4F1E6,#E7E1CE);border:1px solid var(--line);
  border-radius:var(--radius);padding:34px;display:grid;place-items:center;position:sticky;top:86px}
.pdp-media img{max-height:440px;width:auto;filter:drop-shadow(0 20px 26px rgba(0,0,0,.22))}
.pdp h1{font-size:clamp(1.9rem,4.4vw,2.7rem);margin-bottom:.15em}
.pdp .subtitle{color:var(--muted);font-size:1.03rem;margin:0 0 22px}
.pdp .price-row{margin:0 0 20px}
.pdp .price{font-size:2.2rem}
.buy{display:flex;gap:10px;align-items:center;margin:0 0 22px;flex-wrap:wrap}
.buy .btn{flex:1;min-width:180px}
.keyfacts{list-style:none;padding:0;margin:0 0 26px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.keyfacts li{display:flex;justify-content:space-between;gap:14px;padding:12px 16px;font-size:.9rem;border-bottom:1px solid var(--line)}
.keyfacts li:last-child{border:0}
.keyfacts span{color:var(--muted)}
.keyfacts b{text-align:right}
.tagrow{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.tag{background:var(--cream-2);border:1px solid var(--line);color:var(--muted);
  font-size:.78rem;padding:5px 12px;border-radius:999px;font-weight:500}
@media(max-width:900px){
  .pdp{grid-template-columns:1fr;gap:26px;padding-block:26px 10px}
  .pdp-media{position:static;padding:24px}
  .pdp-media img{max-height:330px}
}

.detail{padding:56px 0}
.detail h2{font-size:clamp(1.4rem,3.2vw,2rem)}
.prose{max-width:68ch}
.prose p{color:var(--muted)}
.prose strong{color:var(--ink)}

/* botanical ingredient grid */
.ings{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:26px}
.ing{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 17px}
.ing b{display:block;font-size:.93rem;margin-bottom:3px}
.ing span{font-size:.82rem;color:var(--muted);line-height:1.5}
@media(max-width:900px){.ings{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.ings{grid-template-columns:1fr}}

/* nutrition table */
.nutri-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:14px}
table.nutri{border-collapse:collapse;width:100%;min-width:380px;font-size:.92rem}
table.nutri caption{text-align:left;padding:15px 18px 0;font-weight:600;font-size:.95rem}
table.nutri th,table.nutri td{padding:11px 18px;border-bottom:1px solid var(--line);text-align:left}
table.nutri thead th{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}
table.nutri td:not(:first-child),table.nutri th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
table.nutri tr:last-child td{border-bottom:0}
table.nutri tr.highlight td{background:#FBF6E2;font-weight:700}
.footnote{font-size:.8rem;color:var(--muted);margin:0 0 26px;max-width:68ch}

.split{display:grid;grid-template-columns:1fr 1fr;gap:40px}
@media(max-width:800px){.split{grid-template-columns:1fr;gap:26px}}

/* ---------- disclaimer ---------- */
.disclaimer{background:var(--cream-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:32px}
.disclaimer p{max-width:900px;margin:0 auto;font-size:.84rem;color:var(--muted);text-align:center;line-height:1.7}
.disclaimer strong{color:var(--ink)}

/* ---------- long-form pages ---------- */
.doc{padding:56px 0 70px}
.doc h2{font-size:1.55rem;margin-top:2.2em;scroll-margin-top:calc(var(--header-h) + 14px)}
.doc h2:first-of-type{margin-top:0}
.doc p,.doc li{color:var(--muted)}
.doc strong{color:var(--ink)}
.doc ul{padding-left:20px}
.docnav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:38px}
.docnav a{background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 15px;
  font-size:.83rem;text-decoration:none;color:var(--muted);font-weight:500}
.docnav a:hover{border-color:var(--gold);color:var(--ink)}
.callout{background:#fff;border:1px solid var(--line);border-left:3px solid var(--gold);
  border-radius:8px;padding:20px 22px;margin:24px 0}
.callout p:last-child{margin:0}
.signature{font-family:"Playfair Display",serif;font-size:1.1rem;color:var(--ink);margin-top:26px}

/* ---------- footer ---------- */
footer{background:var(--green-900);color:#A7B8A8;padding:56px 0 30px;font-size:.88rem}
.foot{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:38px}
.foot h4{color:#fff;font-size:.79rem;letter-spacing:.14em;text-transform:uppercase;margin:0 0 16px;font-weight:600}
.foot a{color:#A7B8A8;text-decoration:none;display:block;padding:4px 0}
.foot a:hover{color:var(--yellow)}
.foot-brand{display:flex;align-items:center;gap:11px;margin-bottom:16px}
.foot-brand img{width:40px;height:40px}
.foot-brand b{font-family:"Playfair Display",serif;color:#fff;font-size:1.15rem;letter-spacing:.11em}
.fssai{display:inline-block;margin-top:14px;border:1px solid rgba(224,164,106,.4);color:var(--gold-lt);
  padding:6px 13px;border-radius:6px;font-size:.78rem}
.copyright{border-top:1px solid rgba(255,255,255,.09);margin-top:38px;padding-top:22px;
  display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:.8rem;color:#7D8F7E}
@media(max-width:820px){.foot{grid-template-columns:1fr 1fr}.foot>div:first-child{grid-column:1/-1}}

/* ---------- sticky order bar ---------- */
#bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--green-800);
  border-top:2px solid var(--gold-lt);transform:translateY(110%);transition:transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow:0 -8px 30px rgba(0,0,0,.28)}
#bar.on{transform:none}
#bar{padding-bottom:env(safe-area-inset-bottom,0px)}
.bar-in{display:flex;align-items:center;gap:16px;padding-block:13px}
.bar-txt{color:#fff;font-size:.92rem;line-height:1.35;margin-right:auto}
.bar-txt b{display:block;font-size:1.08rem;font-family:"Playfair Display",serif}
.bar-txt small{color:#9DB09E;font-size:.79rem;display:block;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46ch}
.bar-clear{background:none;border:0;color:#9DB09E;font-size:.8rem;cursor:pointer;text-decoration:underline;font-family:inherit;padding:6px}
.bar-clear:hover{color:#fff}
.wa-long{display:inline}.wa-short{display:none}
@media(max-width:620px){
  .bar-in{padding-block:12px;gap:10px}
  .bar-txt b{font-size:1rem}
  .bar-txt small{max-width:15ch}
  .bar-clear{font-size:.75rem;padding:4px}
  #bar .btn{padding:12px 18px;font-size:.9rem;white-space:nowrap}
  .wa-long{display:none}.wa-short{display:inline}
}
body.has-bar{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}

/* ==========================================================================
   CREDENTIALS — registration numbers with independent verification links
   ========================================================================== */
.creds{background:var(--cream-2);border-top:1px solid var(--line)}
.cred-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cred{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 20px 18px;
  display:flex;flex-direction:column}
.cred .k{font-size:.7rem;letter-spacing:.13em;text-transform:uppercase;color:var(--gold);
  font-weight:700;margin-bottom:9px}
.cred .v{font-size:1rem;font-weight:700;letter-spacing:.01em;line-height:1.35;
  font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.cred .n{font-size:.81rem;color:var(--muted);margin:7px 0 0;line-height:1.5}
.cred .verify{margin-top:auto;padding-top:14px;font-size:.81rem;font-weight:600;
  color:var(--green-700);text-decoration:none;display:inline-flex;align-items:center;gap:5px;
  align-self:flex-start}
.cred .verify span{border-bottom:1px solid var(--gold);padding-bottom:1px}
.cred .verify:hover span{border-bottom-color:var(--green-700)}
.entity{margin-top:26px;font-size:.87rem;color:var(--muted);max-width:74ch}
.entity strong{color:var(--ink)}
@media(max-width:920px){.cred-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.cred-grid{grid-template-columns:1fr}}

/* footer registration block */
.reglist{margin-top:16px;display:flex;flex-direction:column;gap:7px}
.reglist span{display:block;font-size:.78rem;color:#8FA391;line-height:1.45}
.reglist b{color:var(--gold-lt);font-weight:600;letter-spacing:.02em;
  font-variant-numeric:tabular-nums}


/* ==========================================================================
   MOBILE — this site is opened on a phone far more often than a desktop.
   Everything below is tuned for that.
   ========================================================================== */
@media(max-width:760px){
  /* tighter vertical rhythm: desktop whitespace reads as dead space on a phone */
  section{padding:52px 0}
  .sec-head{margin-bottom:30px}
  .detail{padding:40px 0}
  .doc{padding:38px 0 50px}
  .pagetop{padding:34px 0 30px}

  /* long centred text is hard to read on a narrow column */
  .disclaimer{padding-block:28px}
  .disclaimer p{text-align:left;font-size:.82rem}

  /* product cards */
  .card-img img{height:215px}
  .card-body{padding:20px}

  /* product page */
  .pdp-media{padding:20px}
  .pdp-media img{max-height:300px}
  .buy .btn{min-width:0}
  .keyfacts li{padding:11px 14px}

  /* footer: two columns is too tight for these link lists */
  .foot{grid-template-columns:1fr;gap:30px}
  .copyright{flex-direction:column;gap:8px}

  /* comfortable tap targets everywhere */
  nav a,.foot a,.docnav a,.cred .verify{min-height:44px;display:flex;align-items:center}
  .foot a{padding:7px 0}
  summary{padding-top:17px;padding-bottom:17px}
  .bar-clear{padding:10px 6px}
}

@media(max-width:420px){
  /* narrow phones: buy back a little width without crowding the edge */
  .wrap{padding-inline:18px}
  .card-body,.pdp-media{padding:18px}
  .cred{padding:18px}
  h1{font-size:clamp(1.85rem,7.6vw,2.4rem)}
  .price{font-size:1.6rem}
  .pdp .price{font-size:1.95rem}
  .tagrow{gap:6px}
  .tag{font-size:.74rem;padding:5px 10px}
}

/* Safety net against sideways scroll. MUST be `clip`, not `hidden`:
   overflow:hidden creates a scroll container and silently kills
   position:sticky on the header. */
html{overflow-x:clip}


/* ==========================================================================
   MOBILE ROUND 2 — grid blow-out, tap targets, hit areas
   ========================================================================== */

/* A grid/flex child refuses to shrink below its content's intrinsic width
   unless told otherwise. That is what pushed the nutrition table's column
   wider than the phone screen. */
.split>*,.grid3>*,.cred-grid>*,.ings>*,.philo-in>*,.foot>*,.hero-in>*,
.steps>*,.card-body>*,.bar-in>*{min-width:0}

table.nutri{min-width:300px}

/* Inline links inside running text: grow the tap area without moving a pixel
   of the layout (vertical padding on an inline box doesn't change line height). */
.prose a,.doc a,.faq a,.entity a,.crumb a,.doc li a,.prose li a{padding-block:10px}

@media(max-width:760px){
  /* every deliberate control clears 44px */
  .brand{min-height:44px}
  .menu-btn{width:44px;height:44px}
  .qty button{width:42px}
  .qty span{width:30px}
  .bar-clear{min-height:44px;display:inline-flex;align-items:center;padding:0 8px}
  .crumb{font-size:.86rem;margin-bottom:12px}
  .crumb a{display:inline-block;padding:13px 2px}

  /* uppercase micro-labels were under the comfortable reading floor */
  .cred .k{font-size:.74rem}
  .trust small{font-size:.82rem}

  /* nutrition table reads better with a touch more room */
  table.nutri th,table.nutri td{padding:11px 14px}
  table.nutri caption{padding:14px 14px 0}
}


/* ==========================================================================
   MOBILE ROUND 3 — layout patterns that only work on a wide screen
   ========================================================================== */

/* "in your order" is a status, not a control. It shouldn't look like a button. */
.inorder{display:flex;flex-direction:column;justify-content:center;gap:2px;
  padding:10px 4px;line-height:1.35}
.inorder b{font-size:1rem;color:var(--green-800)}
.inorder small{font-size:.82rem;color:var(--muted)}

@media(max-width:760px){
  /* trust strip: four centred cells become four cramped columns of wrapped
     text. One column with the icon beside the words reads instantly. */
  .trust-in{grid-template-columns:1fr}
  .trust-in>div{display:grid;grid-template-columns:26px 1fr;grid-template-rows:auto auto;
    column-gap:14px;text-align:left;align-items:center;padding:20px 20px}
  .trust svg{grid-column:1;grid-row:1/3;align-self:center;margin:0;width:24px;height:24px}
  .trust b{grid-column:2;grid-row:1;margin:0}
  .trust small{grid-column:2;grid-row:2;font-size:.84rem}

  /* hero trust line: separator dots dangle at the end of a wrapped row */
  .hero-note{gap:7px}
  .hero-note .dot{display:none}
  .hero-note span:not(.dot){border:1px solid var(--line);
    border-radius:999px;padding:5px 11px;font-size:.78rem}

  /* the four "why us" points: two columns is too narrow for three-line copy */
  .four{grid-template-columns:1fr;gap:20px}
  .philo-in{gap:30px}

  /* step cards: the number badge left a pocket of dead space above the title */
  .step{padding:26px 20px 22px}
  .step:before{top:-14px;left:20px;width:30px;height:30px}
  .step h3{margin:0 0 6px}

  /* FAQ: keep the +/x centred against questions that wrap to two lines */
  summary{display:flex;align-items:center;justify-content:space-between;gap:14px;
    padding-right:6px}
  summary:after{position:static;top:auto;right:auto;flex:none}

  /* product page: get the name and price above the fold */
  .pdp-media{padding:16px}
  .pdp-media img{max-height:242px}
  .pdp h1{font-size:clamp(1.75rem,7vw,2.2rem)}
  .buy{gap:12px}
  .buy .btn{width:100%}
}


/* ==========================================================================
   ORDER REVIEW PAGE
   ========================================================================== */
body[data-page="order"] #bar{display:none}
body[data-page="order"].has-bar{padding-bottom:0}

.ord-empty{text-align:center;padding:40px 0 10px}
.ord-empty p{color:var(--muted);max-width:40ch;margin:0 auto 22px}

.ord-list{border-top:1px solid var(--line);margin-bottom:26px}
.ord-item{display:grid;grid-template-columns:76px 1fr;gap:16px;
  padding:18px 0;border-bottom:1px solid var(--line);align-items:start}
.ord-item .thumb{background:linear-gradient(170deg,#F4F1E6,#E9E4D4);
  border:1px solid var(--line);border-radius:10px;padding:8px;display:grid;place-items:center}
.ord-item .thumb img{height:72px;width:auto}
.ord-name{font-weight:600;font-size:1.02rem;line-height:1.3;display:block;
  text-decoration:none}
.ord-name:hover{color:var(--green-700)}
.ord-each{color:var(--muted);font-size:.85rem;margin:3px 0 0}
.ord-row{display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin-top:12px;flex-wrap:wrap}
.ord-line{font-family:"Playfair Display",serif;font-size:1.22rem;font-weight:600;
  color:var(--green-800);font-variant-numeric:tabular-nums}
.ord-remove{background:none;border:0;padding:10px 0;color:var(--muted);
  font-size:.82rem;cursor:pointer;font-family:inherit;text-decoration:underline}
.ord-remove:hover{color:var(--ink)}

.ord-sum{background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:6px 20px;margin-bottom:24px}
.ord-sum>div{display:flex;justify-content:space-between;gap:14px;
  padding:12px 0;border-bottom:1px solid var(--line);font-size:.95rem}
.ord-sum>div:last-child{border-bottom:0}
.ord-sum .save-row{color:#1C6B33;font-weight:600}
.ord-sum .total-row b{font-family:"Playfair Display",serif;font-size:1.5rem;
  color:var(--green-800);font-variant-numeric:tabular-nums}
.ord-sum .total-row span{align-self:center}

.msg-prev{background:var(--green-900);border-radius:12px;padding:18px 20px;
  color:#CBD9CB;font-size:.87rem;line-height:1.7;white-space:pre-wrap;
  overflow-wrap:anywhere;margin:0 0 22px}
.msg-label{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;
  font-weight:700;color:var(--gold);margin:0 0 10px}

.ord-send{width:100%;font-size:1.05rem;padding:17px 24px}
.ord-next{background:var(--cream-2);border:1px solid var(--line);border-radius:12px;
  padding:20px 22px;margin-top:26px}
.ord-next h3{font-size:1rem;margin:0 0 10px}
.ord-next ol{margin:0;padding-left:20px;color:var(--muted);font-size:.9rem}
.ord-next li{margin-bottom:7px}
.ord-back{display:inline-block;margin-top:22px;font-size:.92rem;color:var(--green-700);font-weight:600}

@media(max-width:520px){
  .ord-item{grid-template-columns:62px 1fr;gap:13px}
  .ord-item .thumb{padding:6px}
  .ord-item .thumb img{height:58px}
  .ord-name{font-size:.97rem}
  .ord-sum{padding:4px 16px}
}


/* A new page settles in rather than snapping. No fill-mode, so if animations
   are switched off the page is simply visible - never stuck transparent. */
@keyframes pageIn{from{opacity:0}to{opacity:1}}

nav a[aria-current="page"]{color:var(--yellow)}
@media(max-width:760px){
  nav a[aria-current="page"]{background:rgba(253,204,0,.08);
    box-shadow:inset 3px 0 0 var(--yellow)}
}

/* order page: the three controls that were under the 44px tap floor */
.ord-name{min-height:44px;display:flex;align-items:center}
.ord-remove{min-height:44px;display:inline-flex;align-items:center;padding:0 2px}
.ord-back{min-height:44px;display:inline-flex;align-items:center}


/* ==========================================================================
   PRODUCT BENEFITS + HABITS
   ========================================================================== */
.bens{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:6px}
.ben{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 18px}
.ben-i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;
  background:var(--cream-2);color:var(--gold);margin-bottom:12px}
.ben-i svg{width:20px;height:20px}
.ben b{display:block;font-size:.97rem;margin-bottom:5px;line-height:1.3}
.ben p{margin:0;font-size:.85rem;color:var(--muted);line-height:1.55}

.habs{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 30px}
.hab{display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start;
  padding:13px 0;border-bottom:1px solid var(--line)}
.hab-i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;
  background:var(--green-800);color:var(--gold-lt)}
.hab-i svg{width:18px;height:18px}
.hab b{display:block;font-size:.93rem;margin-bottom:2px}
.hab p{margin:0;font-size:.85rem;color:var(--muted);line-height:1.55}

.bens>*,.habs>*{min-width:0}

@media(max-width:1000px){.bens{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.bens{grid-template-columns:repeat(2,1fr)}.habs{grid-template-columns:1fr;gap:0}}
@media(max-width:480px){
  .bens{grid-template-columns:1fr;gap:10px}
  .ben{display:grid;grid-template-columns:38px 1fr;gap:14px;padding:16px 16px}
  .ben-i{margin-bottom:0;grid-row:1/3;align-self:start}
  .ben b{grid-column:2}
  .ben p{grid-column:2}
}


/* Horizontal safe-area inset for notched phones in landscape.
   padding-left/right only - never the `padding` shorthand, which would
   wipe padding-block on .hero-in, .bar-in and .pdp. */
@supports (padding: max(0px)) {
  .wrap{
    padding-left:max(22px, env(safe-area-inset-left, 0px));
    padding-right:max(22px, env(safe-area-inset-right, 0px));
  }
  @media(max-width:420px){
    .wrap{
      padding-left:max(18px, env(safe-area-inset-left, 0px));
      padding-right:max(18px, env(safe-area-inset-right, 0px));
    }
  }
}
