/* Lumarind · One-Product Store example ($150). Funnel Display + Funnel Sans, yuzu peel on daylight white. */

@font-face { font-family: "Funnel Display"; src: url("/fonts/funnel-display-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Funnel Display"; src: url("/fonts/funnel-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("/fonts/funnel-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("/fonts/funnel-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: oklch(98.7% 0.0045 102);
  --paper-2: oklch(96.3% 0.011 104);
  --sheet: oklch(99.5% 0.002 102);
  --yuzu: oklch(86% 0.16 105);
  --yuzu-hover: oklch(82% 0.165 105);
  --yuzu-soft: oklch(95.2% 0.055 105);
  --yuzu-peel: oklch(76% 0.15 108);
  --yuzu-flesh: oklch(91.5% 0.11 104);
  --ink: oklch(23% 0.03 125);
  --ink-2: oklch(41% 0.026 120);
  --line: oklch(88.5% 0.018 105);
  --line-2: oklch(80% 0.02 110);
  --amber-1: oklch(33% 0.08 50);
  --amber-2: oklch(50% 0.12 55);
  --amber-3: oklch(66% 0.13 64);
  --label: oklch(96.8% 0.016 92);
  --label-edge: oklch(84% 0.025 90);
  --cap-dark: oklch(19% 0.012 125);
  --cap-light: oklch(36% 0.018 125);
  --alert: oklch(48% 0.16 32);
  --alert-soft: oklch(95.5% 0.025 40);

  --f-display: "Funnel Display", "Segoe UI", system-ui, sans-serif;
  --f-text: "Funnel Sans", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --d1: 160ms; --d2: 280ms; --d3: 560ms; --d4: 900ms;

  --r: 12px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --wrap: 76rem;
  --sec: clamp(4rem, 9vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (min-width: 2200px) { html { font-size: 125%; } }
@media (min-width: 3400px) { html { font-size: 175%; } }
@media (min-width: 4400px) { html { font-size: 210%; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-text);
  font-feature-settings: "tnum" 0;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.4em; height: 1.4em; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* Example label */
.example-bar { background: var(--ink); color: var(--paper); text-align: center; font-size: 0.9375rem; line-height: 1.3; padding: 8px var(--gutter); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in oklch, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2); }
.head-row { display: flex; align-items: center; gap: 1.5rem; min-height: 60px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; text-decoration: none; }
.head-nav { display: none; gap: 0.25rem; margin-left: auto; }
.head-nav a { text-decoration: none; padding: 10px 12px; border-radius: 8px; font-size: 1rem; color: var(--ink-2); transition: color var(--d1) var(--ease), background-color var(--d1) var(--ease); }
@media (hover: hover) { .head-nav a:hover { color: var(--ink); background: var(--paper-2); } }
@media (min-width: 900px) { .head-nav { display: flex; } }
.cart-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--sheet); cursor: pointer; font-weight: 600; font-size: 1rem; transition: background-color var(--d1) var(--ease), transform var(--d1) var(--ease); }
@media (min-width: 900px) { .cart-btn { margin-left: 0.5rem; } }
@media (hover: hover) { .cart-btn:hover { background: var(--yuzu-soft); } }
.cart-btn:active { transform: scale(0.97); }
.cart-btn .ico { width: 1.25rem; height: 1.25rem; }
.cart-count { min-width: 1.6rem; height: 1.6rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.875rem; font-variant-numeric: tabular-nums; padding: 0 6px; }
.cart-count.bump { animation: bump var(--d3) var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); background: var(--yuzu); color: var(--ink); } }

/* Product: the store */
.product { display: grid; gap: 1.5rem; padding-top: 1rem; padding-bottom: var(--sec); }
@media (min-width: 768px) {
  .product { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; padding-top: 2.5rem; }
  .gallery { position: sticky; top: 76px; }
}
.stage { position: relative; width: 100%; height: clamp(330px, 96vw, 520px); isolation: isolate; overflow: clip; container-type: size; }
@media (min-width: 768px) and (max-width: 959px) { .stage { height: 72vw; } }
@media (min-width: 960px) { .stage { height: clamp(30rem, calc(100vh - 13rem), 54rem); overflow: visible; } }
.slice { position: absolute; z-index: -1; height: min(86cqh, 80cqw); width: auto; aspect-ratio: 1; left: 50%; top: 47%; translate: -36% -50%; }
.slice-peel { fill: var(--yuzu-peel); }
.slice-pith { fill: var(--sheet); }
.slice-flesh { fill: var(--yuzu-flesh); }
.slice-seams line { stroke: var(--sheet); stroke-width: 7; stroke-linecap: round; }
.slice-core { fill: var(--sheet); }
.bottle { position: absolute; height: min(94cqh, 140cqw); width: auto; aspect-ratio: 300 / 540; left: 50%; top: 2%; translate: -66% 0; overflow: visible; }
.stage-note { position: absolute; left: 0; top: 0.5rem; max-width: 15rem; font-size: 0.9375rem; line-height: 1.4; color: var(--ink-2); display: none; }
@media (min-width: 1200px) { .stage-note { display: block; } }
.st-glass-edge { stop-color: var(--amber-1); }
.st-glass-mid { stop-color: var(--amber-2); }
.st-glass-light { stop-color: var(--amber-3); }
.st-cap-dark { stop-color: var(--cap-dark); }
.st-cap-light { stop-color: var(--cap-light); }
.st-label { stop-color: var(--label); }
.st-label-edge { stop-color: var(--label-edge); }
.b-shadow { fill: var(--ink); opacity: 0.22; }
.b-liquid { fill: var(--amber-2); opacity: 0.25; }
.b-band { fill: var(--yuzu); }
.b-brand { font: 700 11px var(--f-display); letter-spacing: 0.24em; fill: var(--ink); }
.b-big { font: 700 58px var(--f-display); letter-spacing: -0.03em; fill: var(--ink); }
.b-small { font: 600 10.5px var(--f-text); letter-spacing: 0.12em; fill: var(--ink); }
.b-tiny { font: 400 9px var(--f-text); letter-spacing: 0.08em; fill: var(--ink-2); }
.b-rule { stroke: var(--line-2); stroke-width: 1; }
.b-gloss { fill: oklch(100% 0 0); opacity: 0.32; }
.b-gloss2 { fill: oklch(100% 0 0); opacity: 0.18; }
.b-ribs line { stroke: oklch(100% 0 0 / 0.09); stroke-width: 2; }

.buybox { display: grid; gap: 1.25rem; align-content: start; }
.eyebrow { font-size: 0.9375rem; letter-spacing: 0.04em; color: var(--ink-2); }
.p-name { font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem); line-height: 0.98; letter-spacing: -0.03em; }
.p-lede { font-size: 1.0625rem; max-width: 34rem; color: var(--ink); }
@media (min-width: 768px) { .p-lede { font-size: 1.1875rem; } }
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; text-decoration: none; min-height: 44px; justify-self: start; }
.stars, .rv-stars { display: inline-flex; gap: 2px; }
.stars svg, .rv-stars svg { width: 18px; height: 18px; fill: var(--ink); }
.rv-stars svg.off { fill: var(--line-2); }
.rating-text { font-size: 0.9375rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.sample-tag { display: inline-block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--ink); border-radius: 6px; line-height: 1.2; background: var(--sheet); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 1rem; font-family: var(--f-display); font-weight: 700; font-size: 2.25rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-unit { font-family: var(--f-text); font-weight: 400; font-size: 0.9375rem; letter-spacing: 0; color: var(--ink-2); }

.buy-form { display: grid; gap: 1.25rem; }
.opt { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; min-width: 0; }
.opt legend { font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.5rem; padding: 0; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.plans { display: grid; gap: 0.5rem; }
.chip, .plan { position: relative; display: block; cursor: pointer; }
.chip input, .plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-body, .plan-body { display: grid; gap: 2px; min-height: 64px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--sheet); transition: border-color var(--d1) var(--ease), background-color var(--d1) var(--ease), box-shadow var(--d1) var(--ease); align-content: center; }
.plan-body { grid-template-columns: auto 1fr; column-gap: 0.75rem; min-height: 56px; }
.plan-body::before { content: ""; grid-row: span 2; align-self: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: var(--sheet); transition: box-shadow var(--d1) var(--ease), border-color var(--d1) var(--ease); }
.chip-body b, .plan-body b { font-weight: 600; font-size: 1rem; }
.chip-body span, .plan-body span { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.35; }
input:checked + .chip-body, input:checked + .plan-body { border-color: var(--ink); background: var(--yuzu-soft); box-shadow: inset 0 0 0 1px var(--ink); }
input:checked + .plan-body::before { border-color: var(--ink); box-shadow: inset 0 0 0 5px var(--ink); }
.chip:has(input:focus-visible), .plan:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--r); }
@media (hover: hover) { .chip:not(.is-out):hover .chip-body, .plan:hover .plan-body { border-color: var(--ink); } }
.chip.is-out { cursor: not-allowed; }
.chip.is-out input { cursor: not-allowed; }
.chip.is-out .chip-body { border-style: dashed; background: var(--paper); }
.chip.is-out .chip-body b { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.chip.is-out .chip-body span { color: var(--alert); }

.add-row { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; }
.qty { display: inline-grid; grid-template-columns: 44px 2.25rem 44px; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--sheet); height: 56px; }
.qty-btn { width: 44px; height: 100%; border: 0; background: none; font-size: 1.375rem; line-height: 1; cursor: pointer; border-radius: 10px; transition: background-color var(--d1) var(--ease); }
@media (hover: hover) { .qty-btn:hover { background: var(--paper-2); } }
.qty-btn:active { background: var(--yuzu-soft); }
.qty-btn:disabled { color: var(--line-2); cursor: default; background: none; }
.qty-val { text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.add-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; min-height: 56px; padding: 0 1.25rem; border: 0; border-radius: var(--r); background: var(--yuzu); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.005em; cursor: pointer; box-shadow: inset 0 -2px 0 oklch(70% 0.14 105 / 0.55); transition: background-color var(--d1) var(--ease), transform var(--d1) var(--ease); }
@media (hover: hover) { .add-btn:hover { background: var(--yuzu-hover); } }
.add-btn:active { transform: scale(0.98); }
.add-btn.is-added { background: var(--ink); color: var(--yuzu); box-shadow: none; }
.add-label { font-variant-numeric: tabular-nums; }

.facts { list-style: none; margin: 0; padding: 1rem 0 0; display: grid; gap: 0.625rem; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1rem; line-height: 1.45; }
.facts .ico { margin-top: 1px; }
.facts b { font-weight: 600; }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); }
.specs div { padding: 10px 14px; border-top: 1px solid var(--line); }
.specs div:nth-child(-n+2) { border-top: 0; }
.specs div:nth-child(odd) { border-right: 1px solid var(--line); }
.specs dt { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.specs dd { margin: 2px 0 0; font-weight: 600; font-size: 0.9375rem; line-height: 1.35; }

/* Sections */
.band { padding-block: var(--sec); }
.band-does { background: var(--paper-2); }
.band-formula { background: var(--paper-2); }
.band-reviews { background: var(--yuzu-soft); }
.sec { padding-block: var(--sec); }
.sec-head { display: grid; gap: 0.75rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 50rem; }
.sec-no { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.sec-head h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem); letter-spacing: -0.025em; }
.sec-sub { color: var(--ink-2); max-width: 42rem; }
.sec-sub .sample-tag { margin-right: 0.4rem; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }

.does-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .does-grid { grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: start; } }
.does-list { list-style: none; margin: 0; padding: 0; counter-reset: d; display: grid; gap: 0; }
.does-list li { counter-increment: d; display: grid; grid-template-columns: 3rem 1fr; gap: 0.25rem 0.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line-2); }
.does-list li:last-child { border-bottom: 1px solid var(--line-2); }
.does-list li::before { content: counter(d, decimal-leading-zero); grid-row: span 2; font-family: var(--f-display); font-weight: 500; font-size: 1.375rem; color: var(--ink-2); }
.does-list p { max-width: 36rem; color: var(--ink); }
.suits { background: var(--sheet); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(1.25rem, 3vw, 2rem); }
.suits-list { margin: 1rem 0 0; display: grid; }
.suits-list div { display: grid; gap: 2px; padding: 0.875rem 0; border-top: 1px solid var(--line); }
.suits-list dt { font-weight: 600; }
.suits-list dd { margin: 0; color: var(--ink-2); }
.suits-list .suits-no { background: var(--alert-soft); margin: 0.5rem -0.75rem 0; padding: 0.875rem 0.75rem; border-radius: 8px; border-top: 0; }
.suits-list .suits-no dd { color: var(--ink); }

/* How to use */
.routine { list-style: none; margin: 0 0 clamp(2.5rem, 5vw, 4rem); padding: 0; display: grid; gap: 0.5rem; }
@media (min-width: 820px) { .routine { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.routine li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0 0.75rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); }
@media (min-width: 820px) { .routine li { grid-template-columns: 1fr; gap: 0.5rem; border-radius: 0; border-left-width: 0; padding: 1.25rem; } .routine li:first-child { border-left-width: 1px; border-radius: var(--r) 0 0 var(--r); } .routine li:last-child { border-radius: 0 var(--r) var(--r) 0; } }
.routine .r-no { grid-row: span 2; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink); font-family: var(--f-display); font-weight: 700; }
.routine b { font-family: var(--f-display); font-weight: 700; font-size: 1.1875rem; }
.routine li > span:last-child { color: var(--ink-2); font-size: 1rem; }
.routine .r-us { background: var(--yuzu); border-color: var(--ink); }
.routine .r-us .r-no { background: var(--ink); color: var(--yuzu); }
.routine .r-us > span:last-child { color: var(--ink); }
@media (min-width: 820px) { .routine .r-us { transform: translateY(-10px); border-left-width: 1px; border-radius: var(--r); box-shadow: 0 10px 0 -4px oklch(23% 0.03 125 / 0.12); } .routine .r-us + li { border-left-width: 0; } }

.use-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .use-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.use-grid h3 { margin-bottom: 0.875rem; }
.mix-no, .mix-ok, .patch-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.mix-no li { padding: 0.625rem 0 0.625rem 2rem; position: relative; border-bottom: 1px solid var(--line); }
.mix-no li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--alert); background: linear-gradient(135deg, transparent 45%, var(--alert) 45% 55%, transparent 55%); }
.mix-ok-h { margin-top: 1.75rem; }
.mix-ok { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.mix-ok li { padding: 0.5rem 0.75rem; border: 1px solid var(--line-2); border-radius: 999px; text-align: center; font-size: 1rem; background: var(--sheet); }
.patch-steps { counter-reset: p; }
.patch-steps li { counter-increment: p; position: relative; padding-left: 2.5rem; min-height: 2rem; }
.patch-steps li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 0.875rem; font-weight: 600; }
.patch-stop { margin-top: 1.25rem; padding: 1rem 1.125rem; border: 1px solid oklch(80% 0.06 40); border-radius: var(--r); background: var(--alert-soft); }
.store p + p { margin-top: 0.75rem; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); height: 44px; border-radius: 999px; overflow: hidden; margin-top: 1.25rem; border: 1px solid var(--line-2); }
.sw-1 { background: oklch(95% 0.05 98); }
.sw-2 { background: oklch(90% 0.1 88); }
.sw-3 { background: oklch(80% 0.14 72); }
.sw-4 { background: oklch(60% 0.15 50); }
.sw-labels { display: grid; grid-template-columns: 1fr 2fr 1fr; font-size: 0.9375rem; color: var(--ink-2); margin-top: 0.375rem !important; }
.sw-labels span:nth-child(2) { text-align: center; }
.sw-labels span:last-child { text-align: right; color: var(--alert); font-weight: 600; }
.store-tip { font-size: 1rem; color: var(--ink-2); }

/* Formula */
.formula-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .formula-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; } }
.actives { width: 100%; border-collapse: collapse; background: var(--sheet); border: 1px solid var(--line-2); }
.actives caption { text-align: left; font-family: var(--f-display); font-weight: 700; font-size: 1.375rem; padding-bottom: 0.875rem; }
.actives th, .actives td { text-align: left; padding: 0.875rem 1rem; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.actives thead th { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--line-2); }
.actives tbody th { font-weight: 600; }
.actives tbody th span { display: block; font-weight: 400; font-size: 0.9375rem; color: var(--ink-2); }
.actives td { color: var(--ink-2); font-size: 1rem; }
.actives .num { text-align: right; white-space: nowrap; }
.actives td.num { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.375rem, 1rem + 1.2vw, 1.875rem); color: var(--ink); font-variant-numeric: tabular-nums; }
.actives tbody tr:first-child td.num { background: var(--yuzu); }
@media (max-width: 520px) { .actives td:nth-child(2) { display: none; } .actives thead th:nth-child(2) { display: none; } }
.inci { background: var(--sheet); border: 1px solid var(--line-2); padding: clamp(1.25rem, 3vw, 2rem); }
.inci-list { margin-top: 0.875rem; line-height: 1.75; max-width: 65ch; }
.inci-list mark { background: var(--yuzu-soft); box-shadow: inset 0 -0.35em 0 var(--yuzu); color: inherit; padding: 0 2px; font-weight: 600; }
.inci-note { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-2); }
.badges { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badges li { font-size: 0.9375rem; font-weight: 600; padding: 0.375rem 0.75rem; border: 1px solid var(--ink); border-radius: 6px; }

/* Compare */
.table-scroll { overflow-x: auto; border-radius: var(--r); }
.compare { width: 100%; border-collapse: collapse; min-width: 34rem; }
.compare th, .compare td { text-align: left; padding: 1rem 1.125rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; border-bottom: 1.5px solid var(--ink); }
.compare tbody th { font-weight: 600; width: 34%; }
.compare .us { background: var(--yuzu-soft); font-weight: 600; }
.compare thead .us { background: var(--yuzu); }
.compare td:not(.us) { color: var(--ink-2); }
.compare td.us { display: table-cell; }
.compare .ok { width: 1.25rem; height: 1.25rem; display: inline-block; vertical-align: -0.25rem; margin-right: 0.5rem; }

/* Reviews */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter { min-height: 44px; padding: 0 1.125rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--sheet); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background-color var(--d1) var(--ease), color var(--d1) var(--ease), transform var(--d1) var(--ease); }
.filter:active { transform: scale(0.97); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--yuzu); }
@media (hover: hover) { .filter[aria-pressed="false"]:hover { background: var(--yuzu); } }
.filter-status { margin: 1rem 0 1.5rem; font-size: 0.9375rem; color: var(--ink-2); }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.review { background: var(--sheet); border: 1px solid oklch(85% 0.06 105); border-radius: calc(var(--r) + 4px); padding: 1.25rem 1.375rem; display: grid; gap: 0.75rem; align-content: start; }
.review[hidden] { display: none; }
.review.is-shown { animation: rise var(--d3) var(--ease) both; }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.rv-who { font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }
.rv-text { line-height: 1.55; }
.rv-attr { margin: 0.25rem 0 0; display: grid; gap: 0.375rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.rv-attr div { display: grid; grid-template-columns: 7rem 1fr; align-items: center; gap: 0.75rem; }
.rv-attr dt { font-size: 0.9375rem; color: var(--ink-2); }
.rv-attr dd { margin: 0; }
meter { width: 100%; height: 8px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 99px; background: var(--line); display: block; }
meter::-webkit-meter-bar { background: var(--line); border: 0; border-radius: 99px; height: 8px; }
meter::-webkit-meter-optimum-value, meter::-webkit-meter-suboptimum-value, meter::-webkit-meter-even-less-good-value { background: var(--ink); border-radius: 99px; }
meter::-moz-meter-bar { background: var(--ink); border-radius: 99px; }

/* FAQ */
.faq { max-width: 52rem; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: 0.75rem 0; cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 0.75rem 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 0.75rem no-repeat; transition: transform var(--d2) var(--ease), background-color var(--d1) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yuzu); }
.faq details p { padding: 0 3rem 1.5rem 0; max-width: 65ch; color: var(--ink); }
.faq details[open] p { animation: rise var(--d2) var(--ease) both; }

/* Footer */
.site-foot { background: var(--ink); color: var(--paper); padding: clamp(3rem, 7vw, 5rem) 0 2rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; } }
.wordmark-foot { font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem); color: var(--yuzu); line-height: 1; margin-bottom: 0.75rem; }
.foot-brand p:last-child { color: oklch(86% 0.015 110); max-width: 26rem; }
.foot-facts { margin: 0; display: grid; gap: 0; }
.foot-facts div { display: grid; gap: 0.125rem; padding: 0.875rem 0; border-top: 1px solid oklch(40% 0.03 125); }
@media (min-width: 600px) { .foot-facts div { grid-template-columns: 8rem 1fr; gap: 1rem; } }
.foot-facts dt { font-weight: 600; color: var(--yuzu); }
.foot-facts dd { margin: 0; color: oklch(90% 0.012 110); }
.foot-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid oklch(40% 0.03 125); display: grid; gap: 0.375rem; font-size: 0.875rem; color: oklch(82% 0.015 110); }
@media (max-width: 959px) { .site-foot { padding-bottom: 7rem; } }

/* Sticky add to cart (phone and small tablet) */
.sticky-buy { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 0.75rem; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in oklch, var(--paper) 96%, transparent); border-top: 1px solid var(--line-2); box-shadow: 0 -8px 24px -12px oklch(23% 0.03 125 / 0.25); transform: translateY(110%); visibility: hidden; transition: transform var(--d2) var(--ease), visibility 0s linear var(--d2); }
.sticky-buy.is-on { transform: none; visibility: visible; transition: transform var(--d2) var(--ease), visibility 0s; }
.sticky-info { display: grid; line-height: 1.25; font-size: 1rem; flex: 1; min-width: 0; }
.sticky-info b { font-family: var(--f-display); }
.sticky-info span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.add-btn-sm { width: auto; min-height: 50px; font-size: 1.0625rem; padding: 0 1.25rem; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* Drawer */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(28rem, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; padding: 0; background: var(--paper); color: var(--ink); box-shadow: -24px 0 48px -24px oklch(23% 0.03 125 / 0.35); transform: translateX(0); transition: transform var(--d2) var(--ease), overlay var(--d2) allow-discrete, display var(--d2) allow-discrete; }
.drawer:not([open]) { transform: translateX(100%); }
@starting-style { .drawer[open] { transform: translateX(100%); } }
.drawer::backdrop { background: oklch(23% 0.03 125 / 0.42); opacity: 1; transition: opacity var(--d2) var(--ease), overlay var(--d2) allow-discrete, display var(--d2) allow-discrete; }
.drawer:not([open])::backdrop { opacity: 0; }
@starting-style { .drawer[open]::backdrop { opacity: 0; } }
.drawer-in { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--sheet); cursor: pointer; }
@media (hover: hover) { .icon-btn:hover { background: var(--yuzu-soft); } }
.view { flex: 1; display: flex; flex-direction: column; overflow-y: auto; padding: 1.25rem; gap: 1.25rem; }
.view[hidden] { display: none; }
.ship-meter { display: grid; gap: 0.5rem; font-size: 1rem; }
.ship-meter b { font-weight: 600; }
.ship-track { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ship-fill { display: block; height: 100%; width: 100%; background: var(--yuzu-peel); border-radius: 99px; transform-origin: left center; transform: scaleX(0); transition: transform var(--d3) var(--ease), background-color var(--d2) var(--ease); }
.ship-meter.is-free .ship-fill { background: var(--ink); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.line { display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 0.875rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-pic { width: 3.5rem; height: auto; background: var(--yuzu-soft); border-radius: 8px; padding: 4px; }
.lp-cap { fill: var(--cap-dark); }
.lp-glass { fill: var(--amber-2); }
.lp-label { fill: var(--label); }
.lp-band { fill: var(--yuzu); }
.line-name { font-weight: 600; }
.line-meta { font-size: 0.9375rem; color: var(--ink-2); }
.line-ctrl { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.qty-sm { height: 44px; grid-template-columns: 44px 2rem 44px; }
.link-btn { min-height: 44px; border: 0; background: none; padding: 0 0.25rem; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); cursor: pointer; font-size: 0.9375rem; }
.line-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.line.is-new { animation: rise var(--d3) var(--ease) both; }
.empty { text-align: center; padding: 2.5rem 0; display: grid; gap: 0.5rem; justify-items: center; }
.empty[hidden] { display: none; }
.empty-h { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; }
.ghost-btn { min-height: 48px; padding: 0 1.25rem; border: 1.5px solid var(--ink); border-radius: var(--r); background: transparent; font-weight: 600; cursor: pointer; margin-top: 0.5rem; transition: background-color var(--d1) var(--ease); }
@media (hover: hover) { .ghost-btn:hover { background: var(--paper-2); } }
.totals { margin-top: auto; display: grid; gap: 0.875rem; padding-top: 0.5rem; }
.totals[hidden] { display: none; }
.totals dl, .co-sum { margin: 0; display: grid; gap: 0.25rem; }
.totals dl div, .co-sum div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.totals dd, .co-sum dd { margin: 0; }
.total { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; padding-top: 0.5rem; border-top: 1px solid var(--line); margin-top: 0.25rem; }
.drawer-note { text-align: center; font-size: 0.9375rem; color: var(--ink-2); }
.example-note { padding: 0.75rem 1rem; border: 1px solid var(--ink); border-radius: var(--r); background: var(--yuzu-soft); font-weight: 600; font-size: 1rem; }
.co-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.375rem; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.75rem; }
.field label { font-weight: 600; font-size: 1rem; }
.field input { min-height: 50px; padding: 0 0.875rem; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--sheet); font: inherit; font-size: 1.0625rem; color: var(--ink); width: 100%; }
.field input:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--alert); background: var(--alert-soft); }
.err { color: var(--alert); font-size: 0.9375rem; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.pay-note { font-size: 0.9375rem; color: var(--ink-2); padding: 0.75rem 0; border-block: 1px dashed var(--line-2); }
.done { display: grid; gap: 1rem; justify-items: start; padding-top: 1rem; }
.done-ico { width: 3.5rem; height: 3.5rem; padding: 0.75rem; border-radius: 50%; background: var(--yuzu); color: var(--ink); }
.done-h { font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.02em; }
.done-h:focus { outline: none; }
.done-sum { padding: 0.75rem 1rem; background: var(--paper-2); border-radius: var(--r); font-variant-numeric: tabular-nums; width: 100%; }
.done-sum:empty { display: none; }
.view.is-entering { animation: rise var(--d2) var(--ease) both; }

/* Motion: page load and reveals (only when scripts run) */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slice-in { from { opacity: 0; transform: scale(0.9) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes bottle-in { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html.js .slice { animation: slice-in var(--d4) var(--ease) both; }
  html.js .bottle { animation: bottle-in var(--d4) var(--ease) 120ms both; }
  html.js .buybox > * { animation: rise var(--d3) var(--ease) both; }
  html.js .buybox > :nth-child(1) { animation-delay: 200ms; }
  html.js .buybox > :nth-child(2) { animation-delay: 260ms; }
  html.js .buybox > :nth-child(3) { animation-delay: 320ms; }
  html.js .buybox > :nth-child(4) { animation-delay: 380ms; }
  html.js .buybox > :nth-child(5) { animation-delay: 420ms; }
  html.js .buybox > :nth-child(n+6) { animation-delay: 460ms; }
  html.js .reveal { transition: opacity var(--d3) var(--ease), transform var(--d3) var(--ease); }
  html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(20px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}

/* 404 */
.nf { min-height: 62vh; display: grid; gap: 1.25rem; align-content: center; justify-items: start; }
.nf-btn { width: auto; text-decoration: none; }

/* Compare: stacked on phones, no sideways scrolling */
@media (max-width: 640px) {
  .compare { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 1rem 0; border-bottom: 1px solid var(--line-2); }
  .compare tbody th { width: 100%; padding: 0 0 0.5rem; border: 0; font-family: var(--f-display); font-size: 1.125rem; }
  .compare td, .compare td.us { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.75rem; padding: 0.5rem 0.75rem; border: 0; }
  .compare td.us { border-radius: 8px; }
  .compare td::before { content: attr(data-label); font-weight: 400; color: var(--ink-2); font-size: 0.9375rem; }
  .compare td.us::before { color: var(--ink); font-weight: 600; }
  .compare .ok { display: none; }
}

/* Desktop: keep Add to cart in the first screen on short laptop screens */
@media (min-width: 960px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plan-body { min-height: 64px; }
}
@media (min-width: 960px) and (max-height: 900px) {
  .product { padding-top: 1.5rem; }
  .buybox { gap: 0.875rem; }
  .p-name { font-size: clamp(2.5rem, 1.2rem + 2.4vw, 3.25rem); }
  .p-lede { font-size: 1.0625rem; }
  .buy-form { gap: 0.875rem; }
  .opt legend { margin-bottom: 0.25rem; }
  .price { font-size: 2rem; }
  .rating { min-height: 32px; }
}
.field { align-content: start; }

/* Gallery: bottle, texture, box */
.media { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.985); transition: opacity var(--d3) var(--ease), transform var(--d3) var(--ease), visibility 0s linear var(--d3); }
.media.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity var(--d3) var(--ease), transform var(--d3) var(--ease), visibility 0s; }
.texture, .box { position: absolute; height: min(94cqh, 140cqw); width: auto; left: 50%; top: 2%; translate: -66% 0; overflow: visible; }
.texture { aspect-ratio: 300 / 540; }
.box { aspect-ratio: 340 / 540; translate: -62% 0; }
.media-cap { display: none; position: absolute; left: 0; top: 0.5rem; max-width: 15rem; font-size: 0.9375rem; line-height: 1.4; color: var(--ink-2); }
@media (min-width: 1200px) { .media-cap { display: block; } }
.stage-note { transition: opacity var(--d2) var(--ease); }
.stage:has(#m-texture.is-on) .stage-note, .stage:has(#m-box.is-on) .stage-note { opacity: 0; }
.st-pipe { stop-color: oklch(97% 0.008 100); }
.st-pipe-edge { stop-color: oklch(80% 0.02 105); }
.t-liquid { fill: oklch(91% 0.08 95); }
.st-drop-light { stop-color: oklch(98% 0.03 98); }
.st-drop { stop-color: oklch(90% 0.1 90); }
.st-drop-edge { stop-color: oklch(78% 0.13 78); }
.t-shine { fill: oklch(100% 0 0); opacity: 0.75; }
.t-pool-edge { fill: none; stroke: oklch(83% 0.11 85); stroke-width: 1.5; opacity: 0.6; }
.t-splash { fill: oklch(91% 0.09 92); }
.bx-front { fill: var(--label); }
.bx-side { fill: oklch(86% 0.022 92); }
.bx-top { fill: oklch(93% 0.018 92); }
.bx-band-side { fill: var(--yuzu-peel); }
.bx-brand { font: 700 12.5px var(--f-display); letter-spacing: 0.26em; fill: var(--ink); }
.bx-big { font: 700 68px var(--f-display); letter-spacing: -0.03em; fill: var(--ink); }
.bx-name { font: 700 18px var(--f-display); fill: var(--ink); }
.bx-small { font: 600 12px var(--f-text); letter-spacing: 0.12em; fill: var(--ink); }
.bx-tiny { font: 400 10.5px var(--f-text); letter-spacing: 0.04em; fill: var(--ink-2); }
.bx-side-t { font: 600 10px var(--f-text); letter-spacing: 0.22em; fill: var(--ink-2); }
.thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.thumb { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 52px; padding: 4px 16px 4px 6px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--sheet); cursor: pointer; font-weight: 600; font-size: 1rem; transition: border-color var(--d1) var(--ease), background-color var(--d1) var(--ease), transform var(--d1) var(--ease); }
.thumb svg { width: 32px; height: 42px; }
.thumb:active { transform: scale(0.97); }
@media (hover: hover) { .thumb:hover { border-color: var(--ink); } }
.thumb[aria-pressed="true"] { border-color: var(--ink); background: var(--yuzu-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.lp-drop { fill: oklch(90% 0.09 92); stroke: oklch(80% 0.11 85); stroke-width: 1.5; }
.lp-box-side { fill: oklch(86% 0.022 92); }
@media (max-width: 767px) { .thumbs { justify-content: center; } }

.chip, .plan { display: grid; }
.chip-body, .plan-body { height: 100%; }
.texture path[fill="url(#g-drop)"], .texture ellipse[fill="url(#g-pool)"] { stroke: oklch(74% 0.12 80); stroke-width: 1.5; }
.t-pool-shadow { fill: var(--ink); opacity: 0.16; }
.nudge { display: grid; gap: 0.5rem; padding: 1rem; border: 1.5px dashed var(--line-2); border-radius: var(--r); background: var(--sheet); }
.nudge[hidden] { display: none; }
.nudge p { font-size: 1rem; }
.nudge b { font-weight: 600; }
.nudge-btn { margin-top: 0; width: 100%; }
.ship-meter[hidden], .lines[hidden] { display: none; }
.sentinel { position: absolute; top: 0; left: 0; width: 1px; opacity: 0; pointer-events: none; }
.foot-legal:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.nf ~ .site-foot { padding-block: 2rem; }
