/* yeolim global site v2 — colors from brand/brand-guidelines.md */
:root {
  --canvas: #FFFAEE;
  --cream: #FFF4D8;
  --yellow: #FBDD7C;
  --honey: #CFB97D;
  --gray: #868A8F;
  --gray-text: #575756;
  --brown: #836349;
  --ink: #1D1D1B;
  --line: #EADFC2;
  --radius: 14px;
  --max: 1180px;
  --font: "Avenir Next", "Avenir", "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .9rem; color: var(--brown); font-weight: 600; margin: 0 0 .6em; }
.muted { color: var(--gray-text); }
.small { font-size: .82rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 99; }

/* announcement + header */
.announce { background: var(--ink); color: var(--canvas); text-align: center; font-size: .85rem; padding: 9px 16px; }
.announce a { color: var(--yellow); }
.header { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo img { height: 26px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--honey); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; padding: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--canvas); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero img { width: 100%; height: min(78vh, 640px); object-fit: cover; object-position: 70% center; }
.hero-copy { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-copy .inner { max-width: 480px; background: var(--canvas); padding: 36px; border-radius: 28px; }
.hero-terms { margin: 18px 0 0; font-size: .85rem !important; color: var(--gray-text); }
.hero-copy p { font-size: 1.08rem; }

/* sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.band { background: var(--cream); }
.trust { border-bottom: 1px solid var(--line); padding: 18px 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-size: .9rem; }
.trust li::before { content: "●"; color: var(--yellow); margin-right: 8px; font-size: .7em; vertical-align: 2px; }

/* product cards */
.grid { display: grid; gap: 24px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card a.img { display: block; aspect-ratio: 1; background: var(--cream); }
.card a.img { position: relative; overflow: hidden; }
.card a.img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease, ease), transform 1s var(--ease, ease); }
.card a.img img.alt { position: absolute; inset: 0; opacity: 0; }
.card:hover a.img img.alt { opacity: 1; transform: scale(1.03); }
@media (hover: none) { .card a.img img.alt { display: none; } }
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; }
.card h3 a { text-decoration: none; }
.card .tag { color: var(--gray-text); font-size: .92rem; flex: 1; }
.card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-weight: 700; font-size: 1.1rem; }
.price s { color: var(--gray); font-weight: 400; margin-left: 6px; font-size: .9rem; }
.stars { font-size: .86rem; color: var(--gray-text); }
.stars b { color: var(--brown); letter-spacing: 1px; }

/* routine feature */
.routine { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.routine img { border-radius: var(--radius); width: 100%; aspect-ratio: 1067 / 1264; max-height: 620px; object-fit: cover; object-position: center top; }
.steps { list-style: none; padding: 0; margin: 0 0 24px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 700; }
.steps strong { display: block; }
.save { display: inline-block; background: var(--yellow); padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; margin-left: 8px; }

/* stats */
.stats { grid-template-columns: repeat(3, 1fr); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stat .num { font-size: 2.6rem; font-weight: 700; color: var(--brown); line-height: 1; margin-bottom: 10px; }
.notes { margin-top: 24px; font-size: .78rem; color: var(--gray-text); max-width: 900px; }
.notes p { margin: 0 0 4px; }

/* nutrients */
.nutrients { grid-template-columns: repeat(4, 1fr); }
.nutrient { border-top: 3px solid var(--yellow); padding-top: 16px; }

/* founders */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* email */
.signup { background: var(--yellow); border-radius: var(--radius); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input { flex: 1 1 220px; padding: 14px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--canvas); font: inherit; }
.signup .msg { flex-basis: 100%; font-size: .88rem; min-height: 1.4em; margin: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brown); }
details[open] summary::after { content: "–"; }
details > div { padding-top: 10px; color: var(--gray-text); }
.faq { max-width: 780px; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 40px; }
.gallery .main { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.gallery .main-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--cream); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(64px, 1fr); gap: 10px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs .vthumb { position: relative; }
.vt-play { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: 11px; padding-left: 2px; pointer-events: none; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--cream); aspect-ratio: 1; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info .size { color: var(--gray-text); margin-bottom: 8px; }
.info .lead { font-size: 1.12rem; }
.info .price { font-size: 1.5rem; margin: 14px 0 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); }
.buy { display: grid; gap: 10px; margin-bottom: 14px; }
.reassure { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: .84rem; color: var(--gray-text); margin: 16px 0 24px; }
.reassure span::before { content: "✓ "; color: var(--brown); font-weight: 700; }
.pdp-sections { max-width: 860px; }
.pdp-sections h2 { font-size: 1.5rem; margin-top: 8px; }
.howto { counter-reset: h; list-style: none; padding: 0; }
.howto li { counter-increment: h; padding: 8px 0 8px 40px; position: relative; }
.howto li::before { content: counter(h); position: absolute; left: 0; top: 6px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
.pair { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-decoration: none; }
.pair img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; }
.sticky-buy { display: none; }

/* page */
.page { max-width: 820px; padding-top: 48px; }
table { border-collapse: collapse; width: 100%; margin: 12px 0 24px; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--cream); }

.legal-page h3 { margin-top: 1.4em; font-size: 1.05rem; }
.legal-page ul { padding-left: 1.2em; display: grid; gap: 8px; }

/* footer */
.footer { background: var(--ink); color: var(--canvas); padding: 56px 0 32px; margin-top: 24px; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; opacity: .9; }
.footer a:hover { text-decoration: underline; }
.footer .legal { border-top: 1px solid #3a3a37; margin-top: 40px; padding-top: 20px; font-size: .8rem; opacity: .75; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120px); background: var(--ink); color: var(--canvas); padding: 14px 20px; border-radius: 12px; max-width: 92vw; font-size: .9rem; transition: transform .25s; z-index: 50; }
.toast.show { transform: translateX(-50%) translateY(0); }


/* bag */
.bag-btn { background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; margin-left: 12px; }
.bag-count { background: var(--yellow); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .8rem; padding: 0 6px; }
.header .wrap > .nav { margin-left: auto; }
.bag-scrim { position: fixed; inset: 0; background: rgba(29, 29, 27, .35); z-index: 40; }
.bag { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--canvas); z-index: 41; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(0,0,0,.08); }
.bag.open { transform: none; }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-size: 1.3rem; margin: 0; }
.bag-x { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.bag-body { padding: 16px 20px 28px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.bag-lines { list-style: none; margin: 0; padding: 0; }
.bag-lines li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-lines img { border-radius: 10px; background: var(--cream); object-fit: cover; }
.bag-lines strong { display: block; font-size: .95rem; line-height: 1.3; }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; cursor: pointer; font-size: 1rem; line-height: 1; }
.qty .linkish, .linkish { width: auto; height: auto; border-radius: 0; background: none; border: 0; text-decoration: underline; color: var(--gray-text); cursor: pointer; font-size: .82rem; margin-left: 6px; }
.upsell { background: var(--cream); border-radius: 10px; padding: 10px 12px; font-size: .9rem; text-decoration: none; font-weight: 600; }
.bag select, .code-row input { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; }
.code-row { display: flex; gap: 8px; }
.code-row .btn { padding: 10px 16px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 4px 0; }
.totals dt, .totals dd { margin: 0; }
.totals dd { text-align: right; }
.totals .grand { font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: 8px; }
.pay { display: grid; gap: 10px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.preview-note { text-align: center; }

/* Black Friday pop-up and banner */
.bf-pop { --bf-ink: #0d0d0c; --bf-paper: #f6f2e7; border: 0; padding: 0; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; background: var(--bf-ink); color: var(--bf-paper); border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.bf-pop::backdrop { background: rgba(0, 0, 0, .7); }
.bf-x { position: absolute; top: 44px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--bf-paper); background: var(--bf-ink); color: var(--bf-paper); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.bf-x:focus-visible, .bf-cta:focus-visible, .bf-link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.bf-tape { background: var(--yellow); color: var(--bf-ink); overflow: hidden; white-space: nowrap; padding: 7px 0; font: 400 .95rem/1 "Anton", Impact, "Arial Narrow Bold", sans-serif; letter-spacing: .08em; }
.bf-tape span { display: inline-block; padding-left: 100%; }
.bf-body { padding: 26px 28px 28px; display: grid; gap: 14px; }
.bf-dates { margin: 0; font-size: .78rem; letter-spacing: .2em; color: var(--yellow); font-weight: 700; }
.bf-title { margin: 0; font: 400 clamp(3.6rem, 17vw, 5.4rem)/.86 "Anton", Impact, "Arial Narrow Bold", sans-serif; text-transform: uppercase; letter-spacing: .01em; color: var(--bf-paper); }
.bf-off { margin: 0; display: flex; align-items: baseline; gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.bf-off strong { font: 400 3rem/1 "Anton", Impact, sans-serif; color: var(--yellow); letter-spacing: 0; }
.bf-text { margin: 0; color: #cfcabd; }
.bf-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.bf-clock div { border: 1px solid #3a3833; border-radius: 4px; padding: 8px 0 6px; }
.bf-clock b { display: block; font: 400 1.7rem/1 "Anton", Impact, sans-serif; font-variant-numeric: tabular-nums; }
.bf-clock span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #a8a396; }
.bf-prices { list-style: none; margin: 0; padding: 0; border-top: 1px solid #3a3833; }
.bf-prices li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #3a3833; font-size: .9rem; }
.bf-prices s { color: #8d887c; margin-right: 6px; }
.bf-prices b { color: var(--yellow); }
.bf-cta { display: block; text-align: center; background: var(--yellow); color: var(--bf-ink); text-decoration: none; font: 400 1.35rem/1 "Anton", Impact, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 16px; border-radius: 4px; }
.bf-cta:hover { background: #ffe79c; }
.bf-link { text-align: center; color: var(--bf-paper); font-size: .9rem; }
.on-sale .announce { background: #0d0d0c; color: var(--yellow); letter-spacing: .04em; }
.on-sale .announce a { color: #f6f2e7; }
.price s, .bag-lines s { color: var(--gray); font-weight: 400; }
@media (prefers-reduced-motion: no-preference) {
  .bf-pop[open] { animation: bf-in .35s cubic-bezier(.2, .9, .3, 1.2); }
  .bf-tape span { animation: bf-tape 22s linear infinite; }
  @keyframes bf-in { from { transform: scale(.92) rotate(-1deg); opacity: 0; } }
  @keyframes bf-tape { to { transform: translateX(-100%); } }
}


/* ---------- results: one interactive row per product ---------- */
.proof-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.proof-row.flip .proof-viz { order: 2; }
.proof-name { color: var(--brown); font-weight: 600; text-decoration: none; }
.proof-name:hover { text-decoration: underline; }
.proof-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 8px 0 20px; text-wrap: balance; }
.proof-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0; }
.proof-stats div { border-top: 2px solid var(--ink); padding-top: 10px; }
.proof-stats dt { font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.proof-stats dd { margin: 6px 0 0; color: var(--gray-text); font-size: .9rem; }
.proof-viz { position: relative; border-radius: 22px; padding: 28px; min-width: 0; }
.viz-cap { font-size: .85rem; color: var(--gray-text); margin: 12px 0 0; }

/* result numbers: big, Deep Brown, with a highlighter that sweeps in (static highlight without JS) */
.proof-stats .key dt { font-size: clamp(2.2rem, 3.6vw, 2.9rem); color: var(--brown); letter-spacing: -.02em; }
.proof-stats .key .num { padding: 0 .1em; margin-left: -.1em; background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 90%, transparent 90%) no-repeat 0 0 / 100% 100%; }
.js .proof-stats .key .num { background-size: 0% 100%; transition: background-size 1.2s var(--ease) .15s; }
.js .proof-stats .key.in .num { background-size: 100% 100%; }
mark.hl { background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%); color: var(--brown); font-weight: 700; padding: 0 .08em; }
@media (prefers-reduced-motion: reduce) { .js .proof-stats .key .num { background-size: 100% 100%; transition: none; } }
.thermal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.thermal figure { margin: 0; position: relative; }
.thermal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: #0b1440; }
.thermal figcaption { font-size: .85rem; font-weight: 700; margin-top: 6px; }
.t-tag { position: absolute; top: 38%; background: rgba(255,255,255,.92); color: var(--ink); font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.t-l { left: 18%; transform: translateX(-50%); } .t-r { right: 18%; transform: translateX(50%); }
.js .thermal .after img { filter: saturate(.2) brightness(1.1); transition: filter 1.4s var(--ease) .3s; }
.js .thermal.in .after img { filter: none; }
@media (prefers-reduced-motion: reduce) { .js .thermal .after img { filter: none; transition: none; } }

/* mist: thermometer bars, 30–38 °C scale */
.viz-mist { background: linear-gradient(160deg, #fff6d6, #fbe7a6); overflow: hidden; }
.thermo { display: grid; gap: 14px; }
.thermo-row { display: grid; grid-template-columns: 78px 1fr 64px; gap: 12px; align-items: center; font-size: .9rem; }
.thermo-row b { text-align: right; font-variant-numeric: tabular-nums; }
.thermo-track { height: 14px; border-radius: 99px; background: rgba(29,29,27,.08); overflow: hidden; }
.thermo-track i { display: block; height: 100%; width: calc((var(--to) - 30) / 8 * 100%); border-radius: inherit; background: #e9a54a; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.thermo-row.is-mist .thermo-track i { background: var(--ink); }
.thermo-row.is-mist b { font-size: 1.05rem; }
.thermo-scale { display: flex; justify-content: space-between; margin-left: 90px; margin-right: 76px; font-size: .72rem; color: var(--gray-text); }
.viz-mist.cooling .thermo-row.is-mist .thermo-track i { width: calc((37.8 - 30) / 8 * 100%); transition: none; }
.spritz-btn { margin-top: 20px; }
.mist-cloud { position: absolute; inset: 0; pointer-events: none; }
.mist-cloud i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 0 10px rgba(255,255,255,.9); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .mist-cloud i { animation: drift 1.4s ease-out forwards; } }
@keyframes drift { 0% { opacity: 0; transform: translate(0,0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.6); } }

/* serum: before/after slider */
.viz-serum { background: var(--ink); }
.viz-serum .viz-cap { color: #d8d3c4; }
.viz-serum .viz-title { color: #f6f2e7; }
.ba { position: relative; aspect-ratio: 353 / 322; border-radius: 14px; overflow: hidden; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.ba-label { position: absolute; bottom: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 99px; pointer-events: none; }
.ba-l { left: 12px; } .ba-r { right: 12px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible + * , .ba:focus-within .ba-handle::after { outline: 3px solid var(--yellow); }

/* mask: skin cross-section, how much to use */
.viz-mask { background: #fbf6ea; }
.viz-title { margin: 0 0 14px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.daynight { display: inline-flex; background: rgba(29,29,27,.07); border-radius: 99px; padding: 4px; margin-bottom: 20px; }
.daynight button { border: 0; background: none; font: inherit; font-weight: 600; padding: 7px 16px; border-radius: 99px; cursor: pointer; color: inherit; }
.daynight button[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }
.xsec { display: grid; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(131,99,73,.12); }
.xrow { display: grid; grid-template-columns: 1fr; position: relative; transition: height .6s cubic-bezier(.3,.8,.3,1), opacity .5s; }
.xrow i { display: block; height: 100%; }
.xrow span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .76rem; font-weight: 600; letter-spacing: .01em; }
.x-spf { height: 24px; } .x-spf i { background: linear-gradient(180deg, #ffffff, #f4f1ea); } .x-spf span { color: var(--gray-text); }
.x-mask { height: 26px; } .x-mask i { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(226,238,234,.9)); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(160,185,178,.5); } .x-mask span { color: var(--ink); }
.x-serum { height: 20px; } .x-serum i { background: linear-gradient(180deg, rgba(251,221,124,.55), rgba(240,196,110,.6)); } .x-serum span { color: #7a5a2c; }
.x-skin { height: 120px; }
.x-skin i {
  background-color: #efc9b2;
  background-image:
    radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,.35), transparent 60%),
    repeating-linear-gradient(28deg, rgba(150,95,75,.10) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(-28deg, rgba(150,95,75,.10) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(90deg, rgba(150,95,75,.05) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, #f3d4c0, #e4b39a);
}
.x-skin span { color: #7a4a36; top: auto; bottom: 10px; transform: none; }
.viz-mask[data-time="pm"] .x-spf { height: 0; opacity: 0; }
.viz-mask[data-time="pm"] .x-mask { height: 58px; }
.viz-mask .viz-cap { margin-top: 14px; }
.mask-pm, .viz-mask[data-time="pm"] .mask-am { display: none; }
.viz-mask[data-time="pm"] .mask-pm { display: block; }
.mask-why { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.mask-why li { padding-left: 26px; position: relative; color: var(--gray-text); }
.mask-why li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 2px; background: var(--ink); }
.mask-why strong { color: var(--ink); }
.ing-note { font-size: .82rem; color: var(--gray-text); margin: -6px 0 18px; }

/* stats: test details under each number */
.proof-stats dd small { display: block; margin-top: 3px; font-size: .74rem; color: var(--gray); }
.how-tested { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 4px; font-size: .85rem; color: var(--gray-text); }
.how-tested summary { font-weight: 600; color: var(--ink); padding: 12px 0; }
.how-tested dl { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 6px 20px; margin: 4px 0 12px; }
.how-tested dt { font-weight: 600; color: var(--ink); }
.how-tested dd { margin: 0; }

/* ingredient library (Ritual-style): concern map + cards + side sheet */
:root { --tile: #F1E9DC; --ease: cubic-bezier(.2, .8, .2, 1); }
.lib { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: 40px; align-items: start; }
.lib > *, .lib-map > * { min-width: 0; }
.lib-map { position: sticky; top: 92px; background: var(--cream); border-radius: 28px; padding: 24px; }
.face-map { width: 100%; max-width: 220px; display: block; margin: 0 auto; overflow: visible; }
.face-map .lines path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.face-map .skin { fill: #FFFDF7; }
.face-map .zone { fill: #F5C542; opacity: 0; transition: opacity .5s var(--ease); }
.face-map .zone[data-z^="hydration"] { fill: #F9DF8E; }
.face-map .spots { fill: var(--brown); filter: none; }
.face-map .zone.on { opacity: 1; }
.face-map .spots.on { opacity: .8; }
.lib-caption { margin: 14px 0 12px; min-height: 3.2em; }
.lib-caption b { display: block; font-size: 1.05rem; }
.lib-caption span { color: var(--gray-text); font-size: .92rem; }
.lib-concerns, .lib-prod { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; font: inherit; font-size: .88rem; font-weight: 600; padding: 9px 14px; min-height: 40px; border-radius: 999px; background: var(--canvas); color: var(--ink); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.chip:hover { background: var(--yellow); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }
.chip:focus-visible, .lib-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.lib-prod { align-items: center; margin-bottom: 20px; }
.lib-prod span { font-size: .88rem; color: var(--gray-text); margin-right: 4px; white-space: nowrap; }
.lib-prod { scrollbar-width: none; }
.lib-prod::-webkit-scrollbar { display: none; }
.lib-prod .chip { background: var(--cream); }
.lib-prod .chip[aria-pressed="true"] { background: var(--ink); }
.lib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.lib-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: opacity .45s var(--ease), filter .45s var(--ease); }
.lib-pic { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--tile); margin-bottom: 12px; }
.lib-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.lib-card:hover .lib-pic img, .lib-card:focus-visible .lib-pic img { transform: scale(1.06); }
.lib-go { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--canvas); display: grid; place-items: center; font-size: 15px; transition: background .3s var(--ease), transform .45s var(--ease); }
.lib-card:hover .lib-go { background: var(--yellow); transform: rotate(45deg); }
.lib-name { font-weight: 700; font-size: 1.05rem; }
.lib-form { color: var(--brown); font-size: .9rem; font-weight: 600; }
.lib-origin { color: var(--gray-text); font-size: .88rem; }
.lib-card.dim { opacity: .28; filter: grayscale(.6); }
.ingredients.compact .lib { grid-template-columns: minmax(260px, 340px) 1fr; }
.ingredients.compact .lib-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }

/* side sheet */
.ing-scrim { position: fixed; inset: 0; background: rgba(29, 29, 27, .35); z-index: 60; }
.ing-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); background: var(--canvas); z-index: 61; transform: translateX(105%); transition: transform .6s var(--ease); display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(70,50,0,.05), 0 22px 44px -28px rgba(110,80,0,.42); }
.ing-drawer.open { transform: none; }
.ing-drawer-bar { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 16px; }
.ing-drawer-bar button { border: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); font-size: 18px; cursor: pointer; }
.ing-drawer-bar button:hover { background: var(--yellow); }
.ing-drawer-body { overflow-y: auto; padding: 0 28px 40px; }
.sheet-pic { border-radius: 20px; overflow: hidden; background: var(--tile); aspect-ratio: 4 / 3; margin-bottom: 20px; }
.sheet-pic img { width: 100%; height: 100%; object-fit: cover; }
.sheet-short { color: var(--brown); font-weight: 600; margin: 0; }
.ing-sheet h3 { font-size: 2rem; letter-spacing: -.02em; margin: 2px 0 10px; }
.ing-sheet h4 { font-size: .95rem; margin: 26px 0 10px; }
.sheet-where { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; background: var(--cream); border-radius: 20px; padding: 16px 20px; margin-top: 22px; }
.sheet-where h4 { margin-top: 0; }
.face-map.mini { max-width: 120px; }
.face-map.mini .lines path { stroke-width: 2.2; }
.sheet-good { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.sheet-good b { display: inline-block; min-width: 0; margin-right: 6px; }
.sheet-facts { margin: 22px 0 0; display: grid; gap: 0; }
.sheet-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; }
.sheet-facts div + div { box-shadow: 0 -1px 0 var(--line); }
.sheet-facts dt { font-weight: 600; font-size: .9rem; }
.sheet-facts dd { margin: 0; font-size: .92rem; }
.sheet-found { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sheet-found li { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--cream); border-radius: 20px; padding: 8px 10px 8px 8px; }
.sheet-found a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sheet-found img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #fff; }
.sheet-found small { display: block; color: var(--gray-text); }
.sheet-found .btn { padding: 10px 18px; }

/* supplement-style label */
.facts { background: #fffdf7; border: 3px solid var(--ink); border-radius: 14px; padding: 18px 20px 16px; position: sticky; top: 92px; }
.facts h3 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; padding-bottom: 6px; border-bottom: 10px solid var(--ink); }
.facts-serv { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 7px 0; border-bottom: 1px solid var(--ink); font-size: .92rem; }
.facts-serv b { text-align: right; }
.facts table { width: 100%; border-collapse: collapse; margin-top: 4px; border-top: 6px solid var(--ink); font-size: .92rem; }
.facts th, .facts td { background: none; text-align: left; padding: 7px 0; border-bottom: 1px solid var(--ink); vertical-align: top; }
.facts thead th { font-size: .8rem; font-weight: 700; }
.facts td { text-align: right; color: var(--gray-text); }
.facts thead th + th { text-align: right; }
.facts-notes { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 6px solid var(--ink); font-size: .86rem; display: grid; gap: 3px; }
.facts-notes li::before { content: "✓"; margin-right: 8px; color: var(--brown); font-weight: 700; }

@media (max-width: 960px) {
  .lib, .ingredients.compact .lib { grid-template-columns: 1fr; gap: 24px; }
  .lib-map { position: static; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 18px; align-items: center; padding: 18px; }
  .lib-map .face-map { max-width: 110px; }
  .lib-caption span { font-size: .88rem; }
  .lib-caption { margin: 0; min-height: 0; }
  .lib-concerns { grid-column: 1 / -1; margin-top: 10px; }
  .lib-grid, .ingredients.compact .lib-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .facts { position: static; }
}
@media (max-width: 860px) {
  .how-tested dl { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ing-drawer-body { padding: 0 18px 32px; }
  .sheet-where { grid-template-columns: 90px 1fr; }
  .sheet-facts div { grid-template-columns: 1fr; gap: 2px; }
  .lib-prod { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px 4px; }
  .lib-prod .chip { white-space: nowrap; }
}

/* motion: content is visible without JS; JS adds .rv only to things below the fold */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .ing-drawer, .lib-pic img, .face-map .zone { transition: none; } }

section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.band { background: var(--cream); }
.trust { border-bottom: 1px solid var(--line); padding: 18px 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-size: .9rem; }
.trust li::before { content: "●"; color: var(--yellow); margin-right: 8px; font-size: .7em; vertical-align: 2px; }

/* ---------- one mist, all day ---------- */
.mist-day { --sky: #fff4d8; background: var(--sky); transition: background .8s; }
.mist-day[data-i="0"] { --sky: #fde9b4; } .mist-day[data-i="1"] { --sky: #fff1c4; } .mist-day[data-i="2"] { --sky: #fff7e3; }
.mist-day[data-i="3"] { --sky: #f6eedb; } .mist-day[data-i="4"] { --sky: #f7d79a; } .mist-day[data-i="5"] { --sky: #2f2c26; color: #f6f2e7; }
.mist-day[data-i="5"] .muted, .mist-day[data-i="5"] .md-label { color: #cfc8b6; }
.mist-day[data-i="5"] .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.md-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.md-now { min-height: 170px; margin: 18px 0 22px; }
.md-time { font-size: clamp(3rem, 7vw, 5rem); font-weight: 700; line-height: 1; margin: 0 0 8px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.md-title { font-size: 1.4rem; margin: 0 0 6px; }
.md-text { margin: 0; max-width: 46ch; }
.md-visual { position: relative; width: min(380px, 100%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.35); }
.md-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.mist-day[data-i="5"] .md-visual img { mix-blend-mode: normal; opacity: .9; }
.md-sun { position: absolute; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, #fff6c8, #fbdd7c 60%, transparent 70%); top: 8%; left: calc(6% + var(--sunx, 0%)); transition: left .8s, top .8s, background .8s; }
.mist-day[data-i="5"] .md-sun { background: radial-gradient(circle, #fffaf0, #e9e2cf 55%, transparent 70%); }
.md-label { display: block; font-size: .85rem; color: var(--gray-text); margin: 28px 0 6px; }
.md-range { width: 100%; accent-color: var(--ink); }
.md-stops { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 8px; }
.md-stop { border: 0; background: none; text-align: left; font: inherit; color: inherit; padding: 6px 0; cursor: pointer; opacity: .55; border-top: 2px solid transparent; }
.md-stop b { display: block; font-variant-numeric: tabular-nums; }
.md-stop span { font-size: .78rem; }
.md-stop[aria-pressed="true"] { opacity: 1; border-top-color: currentColor; }

/* ---------- founders + story ---------- */
.founders { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); max-width: 100%; }
.founders img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; background: #f3f3f1; }
.founders.placeholder { display: grid; place-items: center; text-align: center; border: 2px dashed var(--honey); font-size: 1.4rem; font-weight: 600; color: var(--brown); }
.founders.placeholder small { font-size: .85rem; font-weight: 400; }
.story-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; padding-top: 56px; }
.story-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); text-wrap: balance; margin: 0; }
.story-photo { aspect-ratio: 4 / 5; }
.story-body { max-width: 720px; padding-top: 40px; padding-bottom: 24px; }
.story-body p { font-size: 1.1rem; line-height: 1.75; }
.story-body h2 { margin-top: 2em; font-size: 1.6rem; }
.story-lead { font-size: 1.35rem !important; line-height: 1.6 !important; }
.story-timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--yellow); }
.story-timeline li { position: relative; padding: 0 0 18px 24px; }
.story-timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--canvas); }
.story-timeline time { font-weight: 700; font-variant-numeric: tabular-nums; }
.story-timeline p { margin: 2px 0 0; font-size: 1rem !important; }
.story-close { margin-top: 2.4em; }
.signature { font-family: "Mrs Saint Delafield", "Snell Roundhand", "Brush Script MT", cursive; font-size: clamp(3rem, 8vw, 4.6rem) !important; line-height: 1.1 !important; margin: 10px 0 0; min-height: 1.2em; color: var(--ink); }
.signature .caret { display: inline-block; width: 2px; height: .8em; background: var(--brown); margin-left: 4px; vertical-align: -.05em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* trust row link, shipping estimator */
.trust a { color: inherit; text-underline-offset: 3px; }
.ship-calc { background: var(--cream); border-radius: 18px; padding: 24px; margin: 24px 0; }
.ship-calc h2 { font-size: 1.3rem; margin-top: 0; }
.ship-calc-row { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 10px 12px; align-items: center; }
.ship-calc select { padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; min-width: 0; }
.ship-calc-out { margin: 16px 0 0; font-size: 1.05rem; }
.ship-calc-out strong { font-size: 1.4rem; }
.pdp-proof { padding-top: 24px; }
.pdp-proof .proof-row { border-top: 0; padding-top: 12px; }

@media (max-width: 860px) {
  .proof-row, .md-grid, .story-head { grid-template-columns: 1fr; gap: 28px; }
  .proof-row.flip .proof-viz { order: 0; }
  .md-stops { grid-template-columns: repeat(3, 1fr); }
  .ship-calc-row { grid-template-columns: 1fr; }
  .story-photo { max-width: 420px; }
}
@media (max-width: 480px) {
  .proof-viz { padding: 20px; }
  .thermo-row { grid-template-columns: 64px 1fr 56px; gap: 8px; font-size: .82rem; }
  .thermo-scale { margin-left: 72px; margin-right: 64px; }
  .proof-stats dt { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .thermo-track i, .xrow, .mist-day, .md-sun, .viz-mask { transition: none !important; } .signature .caret { animation: none; } }

/* review mode: ?review=1 highlights items that need sign-off */
.review [data-todo] { outline: 2px dashed #d97706; outline-offset: 3px; position: relative; }
.review [data-todo]::after { content: attr(data-todo); position: absolute; left: 0; top: 100%; z-index: 30; background: #d97706; color: #fff; font-size: 11px; line-height: 1.3; padding: 3px 6px; border-radius: 4px; white-space: normal; width: max-content; max-width: 260px; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* responsive */
@media (max-width: 960px) {
  .grid.three, .stats { grid-template-columns: 1fr 1fr; }
  .nutrients { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--canvas); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; margin-left: auto; }
  .bag-btn { margin-left: 4px; }
  .hero img { height: 300px; object-position: 75% center; }
  .hero-copy { position: static; }
  .hero-copy .wrap { padding: 0; }
  .hero-copy .inner { max-width: none; border-radius: 0; background: var(--canvas); padding: 28px 16px 8px; }
  .grid.three, .stats, .routine, .split, .signup, .pdp { grid-template-columns: 1fr; }
  .routine, .split { gap: 28px; }
  .signup { padding: 28px 20px; }
  .pdp { gap: 24px; padding-top: 16px; }
  .reassure { grid-template-columns: 1fr; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--canvas); border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; transform: translateY(100%); transition: transform .2s; }
  .sticky-buy.show { transform: none; }
  .sticky-buy .btn { padding: 12px 20px; }
  .footer .cols { grid-template-columns: 1fr; }
}

/* PayPal + card buttons in the cart */
#paypal-buttons { display: grid; gap: 10px; }
.pp-btn { min-height: 48px; }
.pp-note { margin: 0; text-align: center; }

/* EU/UK cookie choice for ad measurement */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin: 0 auto; background: var(--canvas); border-radius: 20px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 1px 2px rgba(70,50,0,.05), 0 22px 44px -28px rgba(110,80,0,.42); }
.consent p { margin: 0; font-size: .92rem; flex: 1 1 240px; }
.consent div { display: flex; gap: 8px; }
.consent .btn { padding: 10px 18px; }
.ads-choice { background: var(--cream); border-radius: 20px; padding: 16px 18px; margin: 12px 0; }
.ads-choice div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

/* creator videos */
.ugc-row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.ugc-row::-webkit-scrollbar { display: none; }
.ugc { margin: 0; flex: 0 0 min(300px, 74vw); scroll-snap-align: start; }
.ugc-play, .ugc-video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #111; }
.ugc-play { position: relative; border: 0; padding: 0; cursor: pointer; }
.ugc-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ugc-play:hover img { transform: scale(1.03); }
.ugc-btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: 22px; padding-left: 4px; transition: transform .45s var(--ease); }
.ugc-play:hover .ugc-btn { transform: scale(1.08); }
.ugc-play:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.ugc-len { position: absolute; right: 12px; bottom: 12px; background: rgba(29,29,27,.6); color: #fff; font-size: .78rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.ugc-video { object-fit: cover; }
.ugc figcaption { margin-top: 12px; display: grid; gap: 2px; }
.ugc figcaption b { font-size: 1.05rem; }
.ugc figcaption a { color: var(--brown); font-weight: 600; font-size: .92rem; text-decoration: none; }
.ugc figcaption small { color: var(--gray-text); font-size: .8rem; }
.ugc-wrap.one .ugc { flex-basis: min(320px, 80vw); }

/* product gallery never wider than the screen (thumb row scrolls instead) */
.pdp > *, .gallery { min-width: 0; }

/* product page: creator videos sit under the gallery on desktop, after the buy box on mobile */
.pdp .gallery { grid-column: 1; grid-row: 1; }
.pdp .info { grid-column: 2; grid-row: 1 / span 2; }
.pdp-videos { grid-column: 1; grid-row: 2; align-self: start; }
.pdp-videos h2 { font-size: 1.3rem; margin: 0 0 14px; }
.pdp-video-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pdp-videos.one .pdp-video-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pdp-videos .ugc { flex: none; }
@media (max-width: 860px) {
  .pdp .gallery, .pdp .info, .pdp-videos { grid-column: 1; grid-row: auto; }
}
