@font-face { font-family: Oswald; src: url('assets/fonts/oswald-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Montserrat; src: url('assets/fonts/montserrat-variable.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #faf7f2;
  --panel: #fffdfa;
  --ink: #282019;
  --muted: #6c5c51;
  --rule: #e9dacb;
  --surface-soft: #f8efe6;
  --citrus-soft: #fff1e2;
  --citrus-wash: #fae1c7;
  --citrus-action: #f9c99a;
  --citrus-hover: #f5b87e;
  --citrus-edge: #ddb48e;
  --citrus-focus: #984c25;
  --display: Oswald, sans-serif;
  --sans: Montserrat, sans-serif;
  --gutter: clamp(18px, 4vw, 64px);
  --hero-round: 18px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); }
button, a { -webkit-tap-highlight-color: transparent; }
button { appearance: none; font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--citrus-focus); outline-offset: 4px; }
img { display: block; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(100% - (2 * var(--gutter)), 1352px); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 20; top: 12px; left: 12px; border-radius: 12px; background: var(--ink); color: white; padding: 12px 16px; }
.eyebrow { font-size: .76rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .17em; font-weight: 800; color: var(--citrus-focus); }
.primary, .secondary {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 21px; border-radius: 12px; font-size: .9rem; font-weight: 800; line-height: 1.2;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.primary { border: 1px solid var(--citrus-edge); background: var(--citrus-action); color: var(--ink); }
.primary:hover:not(:disabled) { border-color: var(--citrus-focus); background: var(--citrus-hover); }
.primary:disabled { opacity: .54; }
.primary:active, .secondary:active, .dock-button:active { transform: translateY(1px); }
.secondary { border: 1px solid var(--rule); background: var(--panel); }
.secondary:hover:not(:disabled) { background: var(--citrus-soft); border-color: var(--citrus-edge); }

/* Wordmark and quiet, always-available navigation. */
.site-header { position: sticky; top: 0; z-index: 8; background: #faf7f2ee; backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 73px; gap: 18px; }
.wordmark { display: inline-flex; justify-self: start; align-items: center; gap: 10px; line-height: 1; white-space: nowrap; }
.wordmark span { font: 400 1.22rem/1 Oswald, var(--sans); letter-spacing: .14em; }
.header-portrait { position: relative; flex: none; width: 43px; height: 43px; overflow: hidden; }
.header-portrait img { position: absolute; top: 0; left: 50%; width: 61px; height: auto; transform: translateX(-50%); }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 43px); font-size: .88rem; font-weight: 750; }
.main-nav a { padding: 10px 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; width: 100%; bottom: 6px; left: 0; border-bottom: 1px solid currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-cart { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; gap: 9px; padding: 0 8px 0 12px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); font-size: .89rem; font-weight: 800; transition: background-color .2s; }
.header-cart:hover { background: var(--citrus-soft); }
.header-cart .icon { width: 18px; height: 18px; }
.header-count { min-width: 25px; height: 25px; padding-inline: 5px; display: grid; place-items: center; border-radius: 7px; background: var(--citrus-soft); font-size: .75rem; font-variant-numeric: tabular-nums; }
.has-cart .header-count { background: var(--citrus-action); }

/* An editorial entry, with the full shop immediately below it. */
.hero {
  display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); align-items: center;
  border: 1px solid var(--rule); border-radius: var(--hero-round); margin-top: clamp(16px, 2.6vw, 36px);
  background: radial-gradient(ellipse at 14% 90%, #f8dfc550, transparent 59%), linear-gradient(135deg, #fffbf6, #f9ecdf);
}
.hero-copy { padding: clamp(28px, 4.8vw, 64px) clamp(28px, 4.9vw, 71px); }
.hero-kicker { display: flex; align-items: center; gap: 10px; letter-spacing: .15em; }
.hero-kicker span { flex: 0 0 20px; height: 1px; background: #b95c2b; }
.hero h1 { margin: 22px 0 19px; font: 400 clamp(3.5rem, 6.9vw, 6.7rem)/.99 var(--display); letter-spacing: -.043em; }
.hero h1 em { display: inline-block; padding-top: .085em; color: var(--citrus-focus); font-style: normal; }
.hero-description { max-width: 310px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.hero-cta { margin-top: 26px; padding: 0 21px; min-height: 50px; border-radius: 8px; }
.hero-figure {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; position: relative; min-width: 0;
  margin: clamp(9px, 1vw, 14px); border: 1px solid var(--rule); border-radius: 13px;
  background: var(--panel); touch-action: pan-y pinch-zoom;
}
.hero-media {
  grid-column: 1 / -1; position: relative; min-width: 0; height: clamp(330px, 39vw, 521px);
  border-radius: 12px 12px 0 0; background: var(--citrus-wash); isolation: isolate; overflow: hidden;
}
.hero-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at 54% 58%, var(--tint) 5%, var(--tone) 46%, var(--deep-tone) 100%); }
.hero-fallback img { height: 82%; width: auto; max-width: 90%; object-fit: contain; filter: drop-shadow(14px 23px 24px #34201866); }
.hero-frames, .hero-frame { position: absolute; inset: 0; }
.hero-frame { overflow: hidden; visibility: hidden; z-index: 0; }
.hero-frame.is-active, .hero-frame.is-outgoing { visibility: visible; }
.hero-frame.is-active { z-index: 1; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 45%; color: transparent; }
.hero-frame.is-fallback { background: radial-gradient(ellipse at 52% 47%, var(--tint) 5%, var(--tone) 43%, var(--deep-tone) 100%); }
.hero-frame.is-fallback .hero-photo { width: 100%; height: 80%; top: 10%; object-fit: contain; filter: drop-shadow(10px 13px 15px #241b144d); }
.hero-frame.is-entering { animation: hero-reveal .82s cubic-bezier(.2,.72,.25,1) both; }
@keyframes hero-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-controls { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 7px 9px; }
.hero-picker { display: flex; gap: 2px; }
.hero-chip, .hero-playback { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
.hero-chip:hover { background: var(--citrus-soft); }
.hero-chip { background: transparent; border: 0; border-radius: 8px; transition: background-color .2s ease; }
.hero-chip[aria-pressed=true] { background: var(--citrus-soft); box-shadow: inset 0 0 0 1px var(--citrus-edge); }
.hero-playback { flex: 0 0 44px; border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); }
.hero-playback:hover { background: var(--citrus-soft); }
.hero-playback .icon { width: 19px; height: 19px; }
.hero-playback .hero-play-icon, .hero-figure.is-paused .hero-pause-icon { display: none; }
.hero-figure.is-paused .hero-play-icon { display: block; }
.hero-progress { position: absolute; z-index: 3; height: 3px; inset: auto 0 0; background: var(--citrus-action); opacity: 0; pointer-events: none; transform-origin: left; }
.hero-figure.is-rotating .hero-progress { animation: hero-progress var(--hero-interval, 6500ms) linear both; }
@keyframes hero-progress { from { opacity: .75; transform: scaleX(0); } to { opacity: .75; transform: scaleX(1); } }
.hero-caption { display: flex; align-items: center; justify-self: end; gap: 10px; padding: 7px 9px 7px 13px; border-left: 1px solid var(--rule); }
.hero-caption-mark { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: 7px; background: var(--citrus-soft); }
.hero-caption-mark img { width: 22px; height: 22px; }
.hero-caption-copy { display: grid; min-width: 102px; line-height: 1.25; }
.hero-caption-copy > span { font-size: .7rem; font-weight: 650; color: var(--muted); }
.hero-caption-copy strong { font-size: .96rem; }
.feature-link { min-height: 44px; border: 0; padding: 0 9px; border-radius: 8px; background: transparent; color: var(--citrus-focus); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--citrus-edge); font-size: .83rem; font-weight: 800; }
.feature-link:hover { background: var(--citrus-soft); }

.collection { margin-block: clamp(36px, 4.3vw, 68px) clamp(53px, 6.5vw, 96px); scroll-margin-top: 92px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 13px 24px; margin-bottom: 22px; }
.section-heading h2, .origin h2 { font: 400 clamp(2.45rem, 4.4vw, 4.4rem)/1.09 var(--display); letter-spacing: -.025em; margin-top: 7px; }
.section-heading > p { color: var(--muted); font-size: .92rem; font-weight: 650; padding-bottom: 4px; }
.section-heading > p span, .detail-spec span { margin-inline: 3px; color: var(--citrus-focus); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.flavour-feijoa { --tone: #dfe5cc; --deep-tone: #c9d4a7; --tint: #eef0df; }
.flavour-wheat { --tone: #eee4d5; --deep-tone: #ddcbb0; --tint: #f4ebe0; }
.flavour-citrus { --tone: var(--citrus-wash); --deep-tone: #f3c791; --tint: var(--citrus-soft); }
.flavour-raspberry { --tone: #efdcdb; --deep-tone: #e1bbbd; --tint: #f6e8e7; }
.product { border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); padding: 7px; min-width: 0; transition: box-shadow .2s, border-color .2s; }
.product:hover { border-color: var(--citrus-edge); box-shadow: 0 12px 28px #3623180b; }
.product-stage { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: center; width: 100%; aspect-ratio: 1 / 1.04; overflow: hidden; border-radius: 4px; border: 0; padding: 0; background: radial-gradient(ellipse at 50% 36%, var(--tone) 35%, var(--deep-tone) 100%); }
.product-stage::before { content: ''; position: absolute; z-index: -1; inset: 11% 11% auto; aspect-ratio: 1; border: 1px solid #fff9; border-radius: 50%; box-shadow: 0 0 0 15px #ffffff16; }
.product-stage::after { content: ''; position: absolute; z-index: -1; bottom: 8%; left: 27%; right: 25%; height: 10%; border-radius: 50%; background: #29241430; filter: blur(8px); }
.product-bottle { position: absolute; bottom: 9%; height: 79%; width: auto; max-width: 86%; object-fit: contain; filter: drop-shadow(4px 10px 6px #29241426); transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.product-stage:hover .product-bottle { transform: translateY(-4px) rotate(-1.6deg); }
.flavour-mark { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #fffaf0a6; }
.flavour-mark img { width: 23px; height: 23px; }
.stage-details { position: absolute; right: 10px; top: 12px; min-height: 34px; display: flex; align-items: center; padding: 0 9px; border-radius: 8px; background: #fffaf0a6; font-size: .74rem; font-weight: 800; }
.product-stage:hover .stage-details { background: #fffaf0; }
.product-body { padding: 13px 11px 8px; }
.product h3 { font: 400 clamp(1.8rem, 2.65vw, 2.65rem)/1.1 var(--display); letter-spacing: -.015em; }
.product-note { font-size: .86rem; color: var(--muted); margin-top: 5px; }
.product-actions { border-top: 1px solid var(--rule); margin-top: 13px; padding-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 54px; }
.product-price { white-space: nowrap; font-size: 1.17rem; font-weight: 800; letter-spacing: -.035em; }
.quick-add { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--citrus-soft); border-radius: 10px; border: 1px solid transparent; font-size: .88rem; font-weight: 800; white-space: nowrap; transition: background-color .18s; }
.quick-add .icon { width: 17px; height: 17px; }
.quick-add:hover { background: var(--citrus-action); }
.stepper { min-height: 44px; display: inline-grid; grid-template-columns: 36px minmax(21px, auto) 36px; align-items: center; text-align: center; border: 1px solid var(--rule); border-radius: 10px; background: var(--surface-soft); }
.stepper button, .icon-button { display: grid; place-items: center; height: 44px; padding: 0; border: 0; border-radius: 9px; background: transparent; transition: background-color .18s; }
.stepper button .icon { width: 16px; height: 16px; }
.stepper button:hover:not(:disabled), .icon-button:hover { background: var(--citrus-wash); }
.stepper button:disabled { opacity: .4; }
.stepper span { font-size: .91rem; font-weight: 800; min-width: 21px; font-variant-numeric: tabular-nums; }

.origin { background: var(--surface-soft); border: 1px solid var(--rule); display: grid; grid-template-columns: 1.2fr .8fr; border-radius: 26px; gap: 30px; padding: clamp(31px, 5.5vw, 75px); align-items: center; scroll-margin-top: 92px; }
.origin h2 em { color: var(--citrus-focus); font-style: normal; }
.origin-copy > p:last-child { margin-top: 17px; max-width: 400px; color: var(--muted); }
.origin-emblem { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; justify-self: center; width: min(100%, 225px); padding: 1px; border-radius: 28px; background: var(--rule); overflow: hidden; }
.origin-emblem div { aspect-ratio: 1; display: grid; place-items: center; background: var(--panel); }
.footer { padding-block: 32px 43px; display: flex; flex-wrap: wrap; gap: 15px 24px; justify-content: space-between; align-items: center; color: var(--muted); font-size: .84rem; }
.footer .wordmark { color: var(--ink); }
.has-cart .footer { padding-bottom: 115px; }

/* A compact live total; it never covers a product action at the end of the page. */
.cart-dock {
  position: fixed; z-index: 9; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(100% - 28px, 336px); min-height: 65px; padding: 8px 8px 8px 17px; border: 1px solid #ffffff24;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-radius: 19px; color: #fffefa; background: var(--ink); box-shadow: 0 15px 36px #30211759;
  animation: dock-enter .24s ease-out both;
}
@keyframes dock-enter { from { opacity: 0; transform: translate(-50%, 7px); } to { opacity: 1; transform: translate(-50%, 0); } }
.dock-copy { display: flex; flex-direction: column; line-height: 1.2; gap: 4px; }
.dock-copy > span { font-size: .78rem; font-weight: 650; color: #eedbd0; }
.dock-copy strong { font-size: 1.19rem; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.dock-button { padding: 0 14px; border: 0; min-height: 46px; border-radius: 12px; color: var(--ink); background: var(--citrus-action); font-size: .9rem; font-weight: 800; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; transition: background .18s, transform .18s; }
.dock-button:hover { background: var(--citrus-hover); }
.dock-button:focus-visible { outline-color: #fff; outline-offset: 2px; }
.dock-button .icon { width: 17px; height: 17px; }

/* Native modal dialogs provide focus containment and Escape handling. */
html.modal-open { overflow: hidden; }
dialog { color: var(--ink); border: 1px solid var(--rule); padding: 0; background: var(--panel); box-shadow: 0 21px 75px #36231842; }
dialog::backdrop { background: #35251b63; backdrop-filter: blur(4px); }
.cart-drawer { position: fixed; inset: 12px 12px 12px auto; margin: 0; width: min(444px, calc(100% - 24px)); max-width: none; height: auto; max-height: none; border-radius: 24px; overflow: hidden; }
.cart-drawer[open] { animation: drawer-in .26s cubic-bezier(.2,.7,.3,1) both; }
@keyframes drawer-in { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; transform: translateX(0); } }
.drawer-inner { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.drawer-header { padding: 23px 23px 16px; display: flex; justify-content: space-between; align-items: start; gap: 12px; border-bottom: 1px solid var(--rule); }
.drawer-header h2 { font: 400 2.4rem/1.08 var(--display); margin-top: 4px; }
.icon-button { width: 44px; flex: none; border: 1px solid var(--rule); background: var(--surface-soft); }
.drawer-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 5px 23px 13px; overscroll-behavior: contain; }
.cart-empty { min-height: 260px; display: grid; gap: 10px; justify-items: center; align-content: center; text-align: center; padding: 32px 0; }
.empty-icon { display: grid; place-items: center; width: 51px; height: 51px; border-radius: 14px; background: var(--citrus-soft); color: var(--citrus-focus); }
.cart-empty h3 { font: 400 2.05rem/1.1 var(--display); }
.cart-empty p { color: var(--muted); }
.cart-empty a { margin-top: 9px; }
.cart-line { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.cart-line:last-child { border-bottom: none; }
.line-thumb { width: 60px; height: 68px; border-radius: 9px; background: var(--tone); display: grid; place-items: center; }
.line-thumb img { height: 59px; width: 47px; object-fit: contain; }
.line-title { display: block; font-weight: 800; overflow-wrap: anywhere; line-height: 1.2; }
.line-meta { font-size: .81rem; color: var(--muted); }
.line-controls { justify-self: end; display: grid; justify-items: end; gap: 3px; }
.line-price { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line-controls .stepper { grid-template-columns: 33px minmax(19px, auto) 33px; min-height: 39px; }
.line-controls .stepper button { height: 39px; }
.line-qty { color: var(--muted); font-size: .83rem; }
.drawer-footer { border-top: 1px solid var(--rule); padding: 14px 23px 22px; display: grid; gap: 12px; }
.drawer-total { font-weight: 750; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.drawer-total strong { font-size: 1.46rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.review-note { margin-top: 12px; background: var(--citrus-soft); padding: 14px; border-radius: 11px; line-height: 1.4; font-size: .9rem; }
.review-note p { margin-top: 4px; color: var(--muted); }
.detail-dialog { position: fixed; inset: 0; margin: auto; border-radius: 24px; width: min(675px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); overflow: auto; }
.detail-dialog[open] { animation: detail-in .22s ease-out both; }
@keyframes detail-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.detail-inner { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; min-height: 380px; }
.detail-visual { display: grid; place-items: center; min-height: 290px; background: radial-gradient(ellipse at 50% 36%, var(--tone), var(--deep-tone)); }
.detail-visual img { height: min(300px, 43dvh); width: auto; max-width: 94%; object-fit: contain; filter: drop-shadow(5px 9px 6px #29241426); }
.detail-copy { display: flex; flex-direction: column; justify-content: center; padding: 38px 26px 22px; }
.detail-close { position: absolute; z-index: 1; top: 12px; right: 12px; }
.detail-copy h2 { font: 400 clamp(2.6rem, 5.4vw, 3.6rem)/1.08 var(--display); margin-top: 8px; }
.detail-description { color: var(--muted); margin-block: 14px 10px; }
.detail-spec { color: var(--muted); font-size: .84rem; font-weight: 700; }
.detail-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--rule); }
.detail-buy strong { font-size: 1.3rem; white-space: nowrap; }
.detail-feedback { min-height: 24px; margin-top: 8px; color: var(--citrus-focus); font-size: .81rem; font-weight: 750; }

/* The approved four-icon introduction, once per tab. */
html.is-loading { overflow: hidden; }
.is-loading .site, .is-loading .cart-dock { visibility: hidden; }
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.loader.leaving { animation: loader-exit .3s ease both; pointer-events: none; }
@keyframes loader-exit { to { opacity: 0; } }
.loader-lockup { text-align: center; transform: translateY(-12px); }
.loader-icons { position: relative; width: 120px; height: 120px; margin: 0 auto 12px; }
.loader-icons img { position: absolute; inset: 0; opacity: 0; animation: icon-loop 2s linear var(--delay, -.08s) infinite; }
.loader-icons img:nth-child(2) { --delay: .42s; }
.loader-icons img:nth-child(3) { --delay: .92s; }
.loader-icons img:nth-child(4) { --delay: 1.42s; }
@keyframes icon-loop { 0% { opacity: 0; } 4%, 20% { opacity: 1; } 25%, 100% { opacity: 0; } }
.loader-name { font: 400 55px/1.16 Oswald, sans-serif; animation: loader-text .35s .12s both; }
.loader-subtitle { margin-top: 9px; font: 400 21px/1.3 Montserrat, sans-serif; animation: loader-text .35s .23s both; }
@keyframes loader-text { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1050px) {
  .product-actions { gap: 4px; }
  .product-body { padding-inline: 7px; }
  .product-actions .stepper { grid-template-columns: 31px minmax(17px, auto) 31px; }
  .product-actions .stepper span { min-width: 17px; }
}
@media (max-width: 840px) {
  .hero h1 { font-size: clamp(3.1rem, 7.7vw, 4.65rem); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (641px <= width <= 910px), (max-width: 525px) {
  .hero-figure { grid-template-columns: minmax(0, 1fr); }
  .hero-controls { justify-content: space-between; border-bottom: 1px solid var(--rule); }
  .hero-caption { justify-self: stretch; border-left: 0; padding-inline: 9px; }
  .hero-caption-copy { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 62px; grid-template-columns: 1fr auto; gap: 8px; }
  .header-inner .wordmark { gap: 8px; }
  .header-portrait { width: 36px; height: 36px; }
  .header-portrait img { width: 51px; }
  .header-inner .wordmark span { font-size: 1.12rem; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; margin-top: 12px; }
  .hero-copy { padding: clamp(23px, 6.2vw, 38px) clamp(21px, 6vw, 38px) 15px; }
  .hero h1 { font-size: clamp(3rem, 11vw, 4.5rem); margin-block: 14px 14px; }
  .hero-description { font-size: .94rem; }
  .hero-cta { margin-top: 17px; min-height: 46px; }
  .hero-media { height: auto; aspect-ratio: 4 / 3; }
  .hero-photo { object-position: center; }
  .collection, .origin { scroll-margin-top: 81px; }
  .section-heading { margin-bottom: 16px; gap: 8px; }
  .section-heading > p { font-size: .84rem; }
  .product { padding: 5px; }
  .product-stage { aspect-ratio: .92; }
  .flavour-mark { top: 7px; left: 7px; width: 30px; height: 30px; border-radius: 7px; }
  .flavour-mark img { width: 19px; height: 19px; }
  .stage-details { top: 7px; right: 7px; min-height: 28px; border-radius: 7px; padding-inline: 6px; font-size: .67rem; }
  .product-body { padding: 10px 5px 4px; }
  .product h3 { font-size: clamp(1.55rem, 6.6vw, 2.15rem); }
  .product-note { font-size: .75rem; margin-top: 3px; }
  .product-actions { margin-top: 9px; padding-top: 6px; min-height: 48px; }
  .product-price { font-size: 1rem; }
  .quick-add { padding: 0 7px; gap: 3px; font-size: .8rem; }
  .quick-add .icon { width: 14px; height: 14px; }
  .product-actions .stepper { grid-template-columns: 30px minmax(14px, auto) 30px; }
  .product-actions .stepper span { min-width: 14px; font-size: .77rem; }
  .origin { gap: 22px; border-radius: 23px; grid-template-columns: 1fr; }
  .origin-emblem { width: 100%; grid-template-columns: repeat(4, minmax(0,1fr)); border-radius: 14px; }
  .origin-emblem img { width: min(65%, 43px); height: auto; }
  .footer { padding-block: 23px 32px; gap: 11px 18px; }
  .footer p:nth-child(2) { order: 2; flex-basis: 100%; }
  .cart-drawer { width: min(calc(100% - 16px), 475px); height: min(78dvh, 600px); inset: auto 0 max(8px, env(safe-area-inset-bottom)); margin-inline: auto; border-radius: 24px; }
  .cart-drawer[open] { animation-name: detail-in; }
  .drawer-header { padding: 17px 17px 12px; }
  .drawer-scroll { padding-inline: 17px; }
  .drawer-footer { padding: 11px 17px 15px; }
  .detail-inner { grid-template-columns: 1fr; }
  .detail-visual { min-height: 0; height: min(37dvh, 270px); }
  .detail-visual img { height: 87%; }
  .detail-copy { padding: 19px 20px 12px; }
}
@media (max-width: 359px) {
  .products { grid-template-columns: 1fr; }
  .product-stage { aspect-ratio: 1.15; }
  .product-body { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.test-payment-message { margin: 1rem 0; line-height: 1.55; }
#check-test-payment { margin-top: .75rem; }
.price-admin { max-width: 45rem; padding-block: 3rem; }
.price-admin > .eyebrow { margin-top: 3rem; }
.price-admin h1 { font-size: clamp(2.75rem, 10vw, 4.75rem); line-height: 1.1; margin: .4rem 0 1rem; }
.price-admin a:last-child { display: inline-block; margin-top: 1.5rem; }
.price-admin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .5rem 1rem; border-top: 1px solid var(--rule); padding: 1rem 0; }
.price-admin-row label { font-weight: 600; }
.price-admin-row input { display: block; width: 100%; min-height: 3rem; margin-top: .4rem; padding: .5rem .75rem; font: inherit; background: transparent; border: 1px solid #777; color: inherit; }
.price-admin-row p { grid-column: 1 / -1; margin: 0; line-height: 1.45; }
.price-admin-row p:empty, #prices-status:empty { display: none; }

/* Low-profile tasting banner. The photograph fades into the paper instead
   of sitting in a second card, and its bottle always fits vertically. */
.hero {
  --banner-paper: #fff4e6;
  --inset: clamp(22px, 3.8vw, 58px);
  display: grid; grid-template-columns: 1fr; align-items: stretch;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(238px, 31svh, 300px); margin-top: clamp(12px, 1.4vw, 22px);
  border: 0; border-radius: 8px; background: var(--banner-paper);
}
.hero-copy, .hero-figure { grid-area: 1 / 1; }
.hero-copy { z-index: 2; align-self: center; justify-self: start; max-width: 58%; padding: 22px 0 78px var(--inset); pointer-events: none; }
.hero h1 { margin: 8px 0 10px; font-size: clamp(3.25rem, 5.4vw, 5.25rem); line-height: 1.05; }
.hero h1 em { padding: 0; }
.hero-description { max-width: none; }
.hero-figure { position: relative; display: block; margin: 0; border: 0; border-radius: 0; background: transparent; }
.hero-media { position: absolute; inset: 0 0 0 auto; height: 100%; width: auto; max-width: 54%; aspect-ratio: 4 / 3; border-radius: 0; mask-image: linear-gradient(100deg, transparent 2%, rgb(0 0 0 / .08) 9%, rgb(0 0 0 / .45) 19%, rgb(0 0 0 / .89) 30%, black 39%); }
.hero-frame { background: var(--deep-tone); }
.hero-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-frame.is-entering { animation-duration: .48s; animation-timing-function: ease-in-out; }
.hero-progress { height: 2px; }
.hero-controls { position: absolute; left: var(--inset); bottom: 16px; gap: 6px; justify-content: start; padding: 0; border: 0; }
.hero-chip, .hero-playback { border-radius: 50%; }
.hero-chip[aria-pressed=true] { background: #fffcf7; }
.hero-playback { background: transparent; }
.hero-caption { position: absolute; bottom: 17px; right: 17px; border: 0; border-radius: 4px; padding: 0 6px 0 12px; background: #fffaf1f2; }
.hero-caption-copy { min-width: 0; }
.hero-caption-mark, .hero-caption-copy > span { display: none; }
.collection { margin-top: clamp(20px, 2.3vw, 36px); }
.section-heading { margin-bottom: 14px; }
.section-heading h2 { margin-top: 3px; font-size: clamp(2.15rem, 3.3vw, 3.35rem); }
@media (max-width: 690px) {
  .hero { --inset: 16px; min-height: 227px; }
  .hero-copy { max-width: 56%; padding-top: 16px; padding-bottom: 68px; }
  .hero-kicker { font-size: .72rem; letter-spacing: .08em; }
  .hero-kicker span { display: none; }
  .hero h1 { font-size: clamp(2.55rem, 8.4vw, 3.5rem); margin-block: 7px; }
  .hero-description { max-width: 19ch; font-size: .88rem; line-height: 1.4; }
  .hero-media { inset: 0 0 52px auto; height: calc(100% - 52px); max-width: 51%; mask-image: linear-gradient(100deg, transparent, rgb(0 0 0 / .5) 12%, black 25%); }
  .hero-controls { inset: auto auto 0 6px; height: 52px; gap: 0; }
  .hero-picker { gap: 0; }
  .hero-playback { border: 0; }
  .hero-caption { bottom: 4px; right: 4px; padding: 0; gap: 2px; background: none; }
  .hero-caption-copy strong { font-size: .82rem; }
  .feature-link { padding-inline: 5px; }
  .hero-figure::after { content: ''; position: absolute; inset: auto 0 52px; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 419px) {
  .hero-caption-copy { display: none; }
}
