:root {
  --bg: #ffffff;
  --paper: #e7e7e7;      /* the logo's background */
  --panel: #f4f4f3;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --ink-3: #6e6e6e;
  --line: #dcdcdc;
  --line-strong: #b9b9b9;
  --ember: #a8201a;      /* Crow red: sale badges + savings only */
  --ember-soft: #f6e3e2;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--font); font-size: 15px; line-height: 1.55; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- chrome ---------- */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 9px var(--gutter); }
.announce a { text-decoration: none; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-head { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px var(--gutter); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head > .icon-btn { justify-self: start; }
.logo { justify-self: center; }
.head-actions { justify-self: end; display: flex; gap: 2px; }
.icon-btn.signed-in::after { content: ""; position: absolute; right: 9px; bottom: 9px; width: 8px; height: 8px; border-radius: 50%; background: #1f8a4c; box-shadow: 0 0 0 2px #fff; }
.logo img { width: 116px; height: auto; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 10px; cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--panel); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }

main { display: block; }

/* ---------- buttons ---------- */
.btn-buy, .btn-cta, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 10px;
  transition: background 150ms ease, transform 150ms ease, border-color 150ms ease;
}
.btn-buy { width: 100%; padding: 17px 20px; background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-buy:hover { background: #2b2b2b; }
.btn-buy:active { transform: translateY(1px); }
.btn-buy[disabled] { background: #cfcfcf; border-color: #cfcfcf; color: #f7f7f7; cursor: not-allowed; }
.btn-buy[disabled]:hover { background: #cfcfcf; }
.btn-waitlist { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 10px; padding: 17px 20px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 10px; text-decoration: none; font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.btn-waitlist:hover { background: #2b2b2b; }
.btn-waitlist.small { width: auto; margin-top: 0; padding: 12px 18px; font-size: 12px; }
.p-actions { display: grid; gap: 8px; justify-items: stretch; }
.p-body .p-actions .btn-buy, .p-body .p-actions .btn-waitlist { width: 100%; justify-self: stretch; }
.sticky-buy .btn-waitlist.small { white-space: nowrap; }
.btn-buy.small { width: auto; padding: 12px 18px; font-size: 12px; }
.btn-cta { padding: 15px 28px; background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-cta:hover { background: #2b2b2b; }
.btn-cta.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-cta.light:hover { background: var(--paper); }
.btn-ghost { padding: 12px 18px; font-size: 12px; background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- product page: buy section ---------- */
.pdp { max-width: 1180px; margin: 0 auto; padding: clamp(16px, 3vw, 36px) var(--gutter) clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.gallery { position: sticky; top: 84px; display: grid; gap: 10px; min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #f3f3f3; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 250ms ease; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide-facts { background: var(--paper); display: grid; place-items: center; }
.mini-facts { width: min(78%, 360px); background: #fff; border: 2px solid var(--ink); padding: 18px 20px; }
.mini-title { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: var(--ink); border-bottom: 6px solid var(--ink); padding-bottom: 6px; margin-bottom: 4px; }
.mini-facts dl { margin: 0; }
.mini-facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.mini-facts dt { color: var(--ink-2); }
.mini-facts dd { margin: 0; font-weight: 700; color: var(--ink); }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; cursor: pointer; }
.gallery-arrow svg { width: 18px; height: 18px; }
.gallery-arrow.prev { left: 10px; }
.gallery-arrow.next { right: 10px; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.thumbs button { position: relative; aspect-ratio: 1; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); cursor: pointer; }
.thumbs button[aria-selected="true"] { border: 2px solid var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; }
.thumbs .play::before { content: ""; width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)); margin-left: 3px; }
.thumb-facts { display: grid; place-items: center; height: 100%; font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.label-btn { width: 100%; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 13px; cursor: pointer; }
.label-btn:hover { border-color: var(--ink); }

.buybox { min-width: 0; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px; }
.buybox h1 { font-size: clamp(38px, 5vw, 52px); font-weight: 800; line-height: 1; letter-spacing: 0.02em; margin-bottom: 12px; }
.pills { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pills li { border: 1.5px solid var(--ink); border-radius: 6px; padding: 3px 10px; font-size: 12px; font-weight: 700; color: var(--ink); }
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.price { font-size: 24px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.compare { font-size: 17px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.save-badge { background: var(--ember-soft); color: var(--ember); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.tagline { font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.benefits { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.benefits li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.benefits svg { width: 20px; height: 20px; }

.bundles { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; min-width: 0; }
.bundle { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color 150ms ease, background 150ms ease; }
.bundle:hover { border-color: var(--line-strong); }
.bundle:has(input:checked) { border-color: var(--ink); background: var(--panel); }
.bundle input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.bundle-body { display: grid; gap: 2px; }
.bundle-name { font-weight: 700; color: var(--ink); }
.bundle-sub { font-size: 12px; color: var(--ink-3); }
.bundle-price { text-align: right; display: grid; font-variant-numeric: tabular-nums; }
.bundle-price b { color: var(--ink); font-size: 16px; }
.bundle-price s { color: var(--ink-3); font-size: 13px; }
.bundle-tag { position: absolute; top: -10px; right: 14px; background: var(--ember); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 9px; border-radius: 5px; }
.bundle-tag.dark { background: var(--ink); }
.bundle.unavailable { opacity: 0.5; }

.buy-note { font-size: 13px; color: var(--ink-3); margin: 10px 0 0; text-align: center; }
.buy-note a { color: var(--ink); font-weight: 600; }
.trust { list-style: none; margin: 14px 0 22px; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; font-weight: 600; color: var(--ink); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; }

.tabs { border-top: 1px solid var(--line); }
.tab-list { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tab-list button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); cursor: pointer; margin-bottom: -1px; }
.tab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel { padding: 14px 2px 0; font-size: 14px; }

/* ---------- flavor + purchase type ---------- */
.flavor { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; }
.flavor span { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-size: 11px; }
.flavor b { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 12px 5px 8px; color: var(--ink); }
.flavor b::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e0524a, #8f1410); }
.purchase { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; min-width: 0; }
.ptype { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.ptype:has(input:checked) { border-color: var(--ink); background: var(--panel); }
.ptype input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.ptype-body { display: grid; gap: 2px; }
.ptype-body b { color: var(--ink); }
.ptype-body small { font-size: 12px; color: var(--ember); font-weight: 600; }
.ptype-price { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.sub-options { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; padding: 4px 4px 0; }
.sub-options label { font-size: 13px; font-weight: 700; color: var(--ink); }
.sub-options select { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; }
.sub-note { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; margin: 0; font-size: 12px; color: var(--ink-3); }
.sub-note svg { width: 16px; height: 16px; }

/* ---------- sign-in buttons (account page + cart) ---------- */
.auth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px 16px; background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.auth-btn:hover { background: var(--panel); }
.auth-btn[disabled] { opacity: 0.6; cursor: wait; }
.auth-btn svg { width: 20px; height: 20px; }
.sub-gate { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.sub-gate b { color: var(--ink); }
.sub-gate p { margin: 0 0 4px; font-size: 13px; }
.line-sub { color: var(--ember) !important; font-weight: 600; font-size: 12px !important; }

.account-page { max-width: 1000px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) var(--gutter); }
.auth-card { max-width: 440px; margin: 0 auto; text-align: center; }
.auth-card h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; margin-bottom: 10px; }
.auth-lead { color: var(--ink-3); }
.auth-buttons { display: grid; gap: 10px; margin: 22px 0 12px; }
.auth-err { color: var(--ember); font-size: 13px; margin: 0 0 8px; }
.auth-err:empty { display: none; }
.auth-fine { font-size: 12px; color: var(--ink-3); margin: 0 0 8px; }
.auth-fine.preview { color: var(--ink-2); font-weight: 600; }
.acct h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin-bottom: 4px; }
.acct-email { color: var(--ink-3); }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.acct-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-content: start; }
.acct-card h2 { font-size: 18px; font-weight: 800; }
.acct-card p { margin: 0; font-size: 14px; }
.acct-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.sub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sub-list li { display: grid; gap: 2px; padding: 10px 12px; background: var(--panel); border-radius: 10px; font-size: 14px; }
.sub-list b { color: var(--ink); }
.sub-list span { font-size: 12px; color: var(--ink-3); }

/* ---------- subscribe page ---------- */
.sub-banner { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; padding: 9px 16px; border-radius: 999px; background: var(--ember-soft); color: var(--ember); font-size: 13px; text-decoration: none; }
.sub-banner b { font-weight: 800; }
.sub-banner:hover { text-decoration: underline; text-underline-offset: 3px; }
.p-sub { margin: 2px 0 0; font-size: 12px; font-weight: 700; color: var(--ember); }
.sub-hero { max-width: 760px; margin: 0 auto; padding: clamp(32px, 7vw, 80px) var(--gutter) 8px; text-align: center; }
.sub-hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 800; line-height: 1.05; margin-bottom: 14px; }
.sub-hero p { color: var(--ink-3); max-width: 34em; margin: 0 auto 22px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.sub-steps h2 { text-align: center; }
.sub-manage { text-align: center; margin-top: 18px; font-size: 14px; }
.sub-manage a { color: var(--ink); font-weight: 700; }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-size: clamp(18px, 2.4vw, 26px); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 18px; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- content blocks ---------- */
.block { max-width: 1180px; margin: clamp(36px, 6vw, 72px) auto; padding: 0 var(--gutter); }
.block, .pdp { scroll-margin-top: 72px; }
.block h2 { scroll-margin-top: 80px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; line-height: 1.1; margin-bottom: 8px; }

.formula { text-align: center; }
.formula-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); margin-bottom: 14px; }
.formula-head p { margin: 0; }
.formula-head img { width: 140px; height: auto; border-radius: 10px; }
.ingredients { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.ingredients li { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ingredients b { color: var(--ink); font-size: 16px; }
.ingredients span { font-size: 13px; color: var(--ink-3); }
.ingredients .dose { font-size: 12px; font-weight: 800; color: var(--ember); letter-spacing: 0.04em; }

.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.how .sub { color: var(--ink-3); }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 14px 16px; background: var(--panel); border-radius: 12px; }
.steps li::before { content: counter(step); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.steps b { color: var(--ink); }
.steps span { font-size: 14px; }
.how-media { position: sticky; top: 84px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #0b0c0e; }
.how-media img { width: 100%; height: 100%; object-fit: cover; }

.nojunk { background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 5vw, 56px) var(--gutter); text-align: center; max-width: calc(1180px - 2 * var(--gutter)); }
.nojunk h2 { color: #fff; margin-bottom: 20px; }
.nojunk ul { list-style: none; padding: 0; margin: 0 auto 24px; max-width: 640px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.nojunk li { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 12px 16px; border-radius: 10px; text-align: left; }
.nojunk li::before { content: ""; width: 16px; height: 16px; flex: none; background: linear-gradient(45deg, transparent 44%, var(--ember) 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, var(--ember) 44% 56%, transparent 56%); }
.nojunk li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-content: center; }

.faq h2 { text-align: center; margin-bottom: 20px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; max-width: 960px; margin: 0 auto; }
.faq details { border: 1.5px solid var(--ink); border-radius: 10px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; font-weight: 600; color: var(--ink); font-size: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 16px 14px; margin: 0; font-size: 14px; }

/* ---------- shop page ---------- */
.shop-hero { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) var(--gutter) 24px; text-align: center; }
.shop-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin-bottom: 10px; }
.shop-hero p { max-width: 34em; margin: 0 auto; color: var(--ink-3); }
.shop-grid { max-width: 1180px; margin: 0 auto clamp(40px, 6vw, 72px); padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.p-media { display: block; aspect-ratio: 1; background: #0b0c0e; overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.p-card:hover .p-media img { transform: scale(1.03); }
.p-media.placeholder { background: var(--paper); display: grid; place-items: center; }
.p-media.placeholder span { width: 64%; aspect-ratio: 96 / 60; display: grid; place-items: center; border: 1.5px solid var(--line-strong); border-radius: 16px; background: linear-gradient(160deg, #fdfdfc, #dcdcda); font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); box-shadow: inset 0 1px 0 #fff, 0 12px 26px rgba(0, 0, 0, 0.08); }
.p-body { padding: 18px; display: grid; gap: 6px; align-content: start; }
.p-body h2 { font-size: 22px; font-weight: 800; }
.p-body h2 a { text-decoration: none; }
.p-body h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.p-copy { font-size: 14px; margin: 0; }
.p-price { font-weight: 700; color: var(--ink); margin: 4px 0 8px; }
.p-card.soon .p-price { color: var(--ink-3); font-weight: 600; }
.p-body .btn-buy, .p-body .btn-ghost { justify-self: start; }

/* ---------- footer ---------- */
.site-foot { background: var(--paper); margin-top: clamp(40px, 6vw, 72px); padding: 32px var(--gutter) 40px; font-size: 12px; color: var(--ink-3); }
.site-foot > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.foot-cols { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.foot-cols img { width: 110px; height: auto; }
.foot-cols nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-cols a { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.site-foot p { margin: 0 auto 8px; }

/* ---------- sticky add to cart ---------- */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px var(--gutter); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06); }
.sticky-buy img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.sticky-buy div { display: grid; line-height: 1.25; min-width: 0; }
.sticky-buy b { color: var(--ink); }
.sticky-buy span { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- drawers (cart + nav) ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.35); opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 41; width: min(420px, 100%); background: #fff; display: grid; grid-template-rows: auto 1fr auto; transition: transform 240ms ease; visibility: hidden; }
.drawer.right { right: 0; transform: translateX(100%); }
.drawer.left { left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.drawer-body { overflow-y: auto; padding: 16px 18px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 18px 20px; display: grid; gap: 10px; }
.nav-links { list-style: none; margin: 0; padding: 0; display: grid; }
.nav-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); font-size: 16px; }
.nav-links small { font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

.cart-empty { text-align: center; padding: 40px 0; display: grid; gap: 14px; justify-items: center; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.cart-line .meta { display: grid; gap: 2px; min-width: 0; }
.cart-line .meta b { color: var(--ink); }
.cart-line .meta span { font-size: 13px; color: var(--ink-3); }
.cart-line .line-price { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; display: grid; }
.cart-line .line-price s { font-weight: 500; font-size: 12px; color: var(--ink-3); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; margin-top: 8px; width: max-content; }
.qty button { width: 32px; height: 32px; background: none; border: 0; cursor: pointer; font-size: 16px; }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.remove { background: none; border: 0; padding: 0; margin-top: 6px; font-size: 12px; color: var(--ink-3); text-decoration: underline; cursor: pointer; justify-self: start; }
.subtotal { display: flex; justify-content: space-between; font-weight: 800; color: var(--ink); font-size: 16px; }
.cart-fine { font-size: 12px; color: var(--ink-3); margin: 0; text-align: center; }
.cart-error { font-size: 13px; color: var(--ember); margin: 0; text-align: center; }
.cart-error:empty { display: none; }

/* ---------- supplement facts dialog ---------- */
.facts-dialog { border: 0; padding: 0; border-radius: var(--radius); max-width: min(440px, calc(100% - 32px)); width: 100%; }
.facts-dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
.facts { padding: 18px 20px 20px; color: var(--ink); }
.facts-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 8px solid var(--ink); padding-bottom: 6px; }
.facts-head h2 { font-size: 26px; font-weight: 800; }
.facts .serving { font-size: 13px; border-bottom: 4px solid var(--ink); padding: 6px 0; margin: 0; }
.facts table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.facts th { text-align: left; font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--ink); }
.facts td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.facts td:last-child { text-align: right; font-weight: 700; }
.facts tbody tr:last-child td { border-bottom: 4px solid var(--ink); }
.facts .other { font-size: 13px; margin: 10px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .acct-grid, .steps.three { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .gallery, .how-media { position: static; }
  .ingredients { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; }
  .how-media { aspect-ratio: 4 / 3; order: -1; }
  .shop-grid { grid-template-columns: 1fr; max-width: 520px; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ingredients { grid-template-columns: 1fr; }
  .nojunk ul { grid-template-columns: 1fr; }
  .formula-head img { display: none; }
  .bundle { padding: 14px 12px; gap: 10px; }
  .thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .slide, .drawer, .scrim, .p-media img { transition: none; }
}
