/* GRABENGO v3 — "Every colour on the board", now a blend machine and a shop.
   The hero is a drawn blender that makes the drink you pick, from its real recipe;
   below it, an ordering flow (pick-up or delivery) that lives on this page.
   Tokens stay from v1: counter-white ground, ink, the logo's lime and orange,
   and every drink carrying its own colour in --c. */

:root {
  --paper: #FAFAF6;
  --white: #FFFFFF;
  --ink: #15180F;
  --ink-2: #4B5245;
  --line: #E3E5DB;
  --lime: #7ED957;
  --lime-deep: #2C6E14;
  --orange: #FD6A03;
  --orange-deep: #A94300;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: 16px;
  --head-h: 64px;
  --bar-h: 0px;
  --arch: 999px 999px 28px 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --z-sticky: 20;
  --z-header: 40;
  --z-bar: 50;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.sheet-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--bar-h);
}

[hidden] { display: none !important; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p, figure, blockquote, address, ul, ol, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -0.025em; }
h2, h3 { text-wrap: balance; }
button { font: inherit; color: inherit; }

.wrap { width: min(1200px, 100% - 2 * var(--gut)); margin-inline: auto; }
.nw { white-space: nowrap; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ---------- shared ---------- */

.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 0.95rem/1.3 var(--body); color: var(--lime-deep); margin-bottom: 14px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.dots i:nth-child(2) { background: var(--orange); }
.dots i:nth-child(3) { background: #93638A; }
.lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--ink-2); }
h2 { font-size: clamp(1.85rem, 1.1rem + 2.9vw, 3.2rem); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 1.45em;
  border-radius: 999px; border: 2px solid transparent;
  font: 650 1rem/1.1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  touch-action: manipulation;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #6FCB47; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: #FF7F26; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A2F22; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 1.1em; font-size: 0.94rem; }
.btn.added { background: var(--lime); color: var(--ink); }

[data-status]::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: #9AA093; display: inline-block;
}
[data-state="open"]::before { background: #1F9D3A; box-shadow: 0 0 0 3px rgba(31, 157, 58, 0.18); }
[data-state="closed"]::before { background: #C2410C; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(250, 250, 246, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 18px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 22px; height: 36px; }
.brand-word { font: 700 1.05rem/1 var(--display); letter-spacing: 0.03em; }
.nav ul { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 6px 0; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 0.85rem; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
}
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: none;
  min-height: 44px; padding: 0 8px 0 14px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--white); cursor: pointer;
  font-weight: 650; font-size: 0.92rem;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--ink); color: #fff; font: 700 0.85rem/1 var(--body); font-variant-numeric: tabular-nums;
}
.cart-btn.has-items .cart-count { background: var(--lime); color: var(--ink); }
.cart-btn.bump .cart-count { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }

/* ---------- hero: the blend machine ---------- */

.hero { padding: clamp(12px, 2.4vw, 36px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "panel" "picks"; gap: 6px; }
.hero-copy { grid-area: copy; padding-top: 8px; }
.hero h1 { font-size: clamp(2.05rem, 0.95rem + 3.6vw, 3.7rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 15ch; }
.hero h1 .s { display: block; }
.hero .lede { margin-top: clamp(10px, 1.6vh, 18px); max-width: 44ch; }
.hero-proof { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 0.93rem; }
.hero-proof a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.hero-proof a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--orange); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }

/* the drawing: flat shapes, one ink line, the drink's own colour behind it */
.bm-stage { grid-area: stage; position: relative; width: 100%; max-width: 600px; justify-self: center; }
.bm-svg { width: 100%; height: auto; overflow: hidden; }
.bm-arch { fill: #F6F0DC; fill: color-mix(in srgb, var(--c) 34%, #fff); transition: fill 0.7s var(--ease); }
.bm-counter { stroke: var(--ink); stroke-width: 4; }
.bm-shade { fill: rgba(21, 24, 15, 0.13); }
.bm-whirr path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.bm-base { fill: var(--ink); }
.bm-plate { fill: #2C3223; }
.bm-dial { fill: var(--lime); stroke: #0B0D08; stroke-width: 3; }
.bm-dial-tick { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.bm-led { fill: #3A4131; }
.bm-led.is-on { fill: var(--lime); }
.bm-glow { fill: var(--lime); }
.bm-knob { fill: #3A4131; stroke: #0B0D08; stroke-width: 2; }
.bm-glass { fill: rgba(255, 255, 255, 0.56); }
.bm-blade { fill: none; stroke: #8A9180; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.bm-line { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.bm-shine { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; opacity: 0.85; }
.bm-shine-2 { stroke-width: 3; opacity: 0.65; }
.bm-marks { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; opacity: 0.3; }
.bm-rim, .bm-spout { fill: rgba(255, 255, 255, 0.75); stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.bm-collar { fill: #2C3223; stroke: var(--ink); stroke-width: 3; }
.bm-handle-o { fill: none; stroke: var(--ink); stroke-width: 20; stroke-linecap: round; }
.bm-handle-i { fill: none; stroke: #3A4131; stroke-width: 10; stroke-linecap: round; }
.bm-lid rect { fill: var(--ink); }
.bm-lid .bm-cap { fill: #2C3223; stroke: var(--ink); stroke-width: 3; }
.bm-liq-top { fill: none; stroke-width: 4; stroke-linecap: round; opacity: 0.6; }
.bm-st-o { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.bm-st-f { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bm-st-h { fill: none; stroke: #fff; stroke-linecap: round; opacity: 0.5; }
.bm-dust { stroke: rgba(21, 24, 15, 0.35); stroke-width: 1.2; }
.bm-straw { fill: url(#bm-stripe); stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.bm-ridge { fill: none; stroke: var(--ink); stroke-width: 2; opacity: 0.28; }
.bm-lip { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.bm-sticker { fill: var(--ink); }
.bm-sticker-word { font: 700 11px var(--display); fill: var(--lime); }
.bm-sticker-sub { stroke: var(--orange); stroke-width: 2.6; stroke-linecap: round; }
.bm-dome { fill: rgba(255, 255, 255, 0.32); stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.bm-dome-top { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.bm-lidrim { fill: rgba(255, 255, 255, 0.7); stroke: var(--ink); stroke-width: 3.5; }
.bm-spark path { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }

.bm-play {
  position: absolute; top: 2px; right: 2px; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink); background: var(--white); color: var(--ink);
  transition: transform 0.2s var(--ease), background-color 0.2s;
  touch-action: manipulation;
}
.bm-play:hover { background: #F0F2E8; transform: scale(1.06); }
.bm-play svg { width: 18px; height: 18px; }

/* the order ticket beside it: what goes in, what it is, add it */
.bm-panel { grid-area: panel; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; min-width: 0; }
.bm-picks { grid-area: picks; min-width: 0; margin-top: 18px; }
.bm-ticket {
  padding: 12px 14px 14px; border-radius: 18px;
  background: var(--white); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.bm-ticket-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font: 700 0.78rem/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.bm-state { display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.04em; color: var(--ink); }
.bm-state:empty { display: none; }
.bm-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.bm-ticket[data-state="blending"] .bm-state::before { animation: blink 0.4s steps(2) infinite; }
.bm-ticket[data-state="ready"] .bm-state::before { background: #1F9D3A; }
@keyframes blink { 50% { opacity: 0.2; } }
.bm-recipe { margin-top: 8px; font-weight: 600; }
.bm-pills { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bm-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px 0 5px;
  border-radius: 999px; border: 1.5px dashed #B3B8A8; background: transparent;
  font: 650 0.88rem/1.1 var(--body); color: var(--ink-2);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.bm-pill i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ic); box-shadow: inset 0 0 0 1.5px rgba(21, 24, 15, 0.35); opacity: 0.4; transition: opacity 0.25s; }
.bm-pill svg { flex: none; width: 14px; height: 14px; display: none; }
.bm-pill.is-in { border-style: solid; border-color: var(--ink); color: var(--ink); background: #F3FAEE; }
.bm-pill.is-in i { opacity: 1; }
.bm-pill.is-in svg { display: block; }

.bm-result { display: grid; gap: 3px; }
.bm-kind { font-size: 0.85rem; font-weight: 650; color: var(--ink-2); }
.bm-name { font: 700 clamp(1.45rem, 1.05rem + 1.4vw, 2.1rem)/1.08 var(--display); letter-spacing: -0.02em; }
.bm-meta { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bm-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 12px; }
.bm-ticket[data-state="ready"] ~ .bm-result [data-bm-add] { animation: ready 1.1s var(--ease) 1; }
@keyframes ready { 0% { box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.75); } 100% { box-shadow: 0 0 0 18px rgba(126, 217, 87, 0); } }
.bm-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650; text-decoration: none; }
.bm-all svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.bm-all:hover { text-decoration: underline; text-underline-offset: 4px; }
.bm-all:hover svg { transform: translateX(3px); }

.bm-picks-label { font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }
.bm-chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; scroll-padding-inline: var(--gut);
}
.bm-chips::-webkit-scrollbar { display: none; }
.bm-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px 0 7px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--ink); background: var(--white); color: var(--ink);
  font: 650 0.9rem/1 var(--body); white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
  touch-action: manipulation;
}
.bm-chip i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(21, 24, 15, 0.3); }
.bm-chip:hover { background: #F0F2E8; }
.bm-chip:active { transform: scale(0.97); }
.bm-chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.bm-chip[aria-pressed="true"] i { box-shadow: inset 0 0 0 2px #fff; }
.bm-shuffle { padding-left: 13px; }
.bm-shuffle svg { width: 18px; height: 18px; }

/* ---------- ordering ---------- */

.order { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 96px); background: var(--paper); }
.order-head { display: grid; gap: 22px; align-items: end; }
.order-head .kicker { margin-bottom: 6px; }
.order-head .lede { margin-top: 12px; }

.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode-opt { position: relative; cursor: pointer; }
.mode-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode-opt > span {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  min-height: 60px; padding: 10px 14px; border-radius: 18px;
  border: 1.5px solid var(--line); background: var(--white);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.mode-opt svg { grid-row: span 2; width: 24px; height: 24px; }
.mode-opt b { font: 700 1rem/1.2 var(--display); letter-spacing: -0.01em; }
.mode-opt small { font-size: 0.8rem; color: var(--ink-2); }
.mode-opt input:checked + span { border-color: var(--ink); background: #EFF9E8; box-shadow: inset 0 0 0 1px var(--ink); }
.mode-opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.mode-sm .mode-opt > span { min-height: 48px; grid-template-rows: auto; }
.mode-sm .mode-opt svg { grid-row: auto; width: 20px; height: 20px; }
.mode-note { margin-top: 12px; font-size: 0.95rem; color: var(--ink-2); }

.order-layout { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.menu-col { min-width: 0; }

.controls {
  position: sticky; top: calc(var(--head-h) + 8px); z-index: var(--z-sticky);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px; padding: 6px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 6px 24px rgba(21, 24, 15, 0.06);
}
.controls[hidden] { display: none; }
.chips {
  display: flex; gap: 8px; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none; padding: 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 38px; padding: 0 15px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--white); cursor: pointer;
  font: 650 0.9rem/1 var(--body); transition: background-color 0.2s, color 0.2s;
}
.chip:hover { background: #F0F2E8; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sort { display: flex; align-items: center; gap: 8px; flex: none; }
.sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sort select {
  -webkit-appearance: none; appearance: none;
  width: 150px; min-height: 38px; padding: 0 30px 0 12px;
  border-radius: 999px; border: 1.5px solid var(--ink);
  font: 650 0.86rem/1 var(--body); color: var(--ink); cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2315180F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
}
.count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the menu: rows on phones, cards from 640px */
.menu { scroll-margin-top: calc(var(--head-h) + 80px); list-style: none; padding: 0; display: grid; gap: 10px; }
.item {
  position: relative;
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; grid-template-areas: "media text act";
  align-items: center; gap: 12px;
  padding: 10px; border-radius: 20px;
  background: var(--white); border: 1px solid var(--line);
  scroll-margin-top: calc(var(--head-h) + 90px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.item[hidden] { display: none; }
.item:hover { border-color: #CFD3C4; box-shadow: 0 8px 26px rgba(21, 24, 15, 0.07); }
.item:has(.item-open:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.item.is-flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 4px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }

.item-media {
  grid-area: media; position: relative; isolation: isolate; overflow: hidden;
  height: 104px; border-radius: 14px;
  display: flex; align-items: flex-end; justify-content: center;
  background: #F4F4EF; background: color-mix(in srgb, var(--c) 18%, #fff);
}
.item-media::before {
  content: ""; position: absolute; z-index: -1; left: 16%; right: 16%; top: 22%; bottom: 0;
  border-radius: 999px 999px 0 0; background: color-mix(in srgb, var(--c) 42%, #fff);
}
.item-media img { width: 44%; margin-bottom: 6%; filter: drop-shadow(0 8px 8px rgba(21, 24, 15, 0.16)); transition: transform 0.45s var(--ease); transform-origin: 50% 100%; }
.item:hover .item-media img { transform: translateY(-4px) rotate(-2deg); }
.tag {
  position: absolute; z-index: 2; top: 6px; left: 6px;
  font: 700 0.7rem/1 var(--body); padding: 5px 7px; border-radius: 999px;
  background: var(--white); box-shadow: 0 1px 2px rgba(21, 24, 15, 0.1);
}

.item-text { grid-area: text; min-width: 0; display: grid; gap: 3px; }
.item-kind { font-size: 0.76rem; font-weight: 650; color: var(--ink-2); }
.item-name { font-size: 1rem; line-height: 1.2; letter-spacing: -0.012em; font-weight: 650; }
.item-open { all: unset; cursor: pointer; }
.item-open::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
.item-ing { font-size: 0.84rem; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 2px; }
.price { font: 700 1rem/1 var(--display); }
.stat { display: inline-flex; align-items: center; gap: 5px; font-size: 0.84rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stat strong { color: var(--ink); font-weight: 750; }
.gauge { width: 14px; height: 20px; color: var(--ink); flex: none; }
.g-fill {
  fill: var(--c); fill: color-mix(in srgb, var(--c) 76%, var(--ink));
  transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0);
  transition: transform 1.1s var(--ease) 0.15s;
}
.item.is-in .g-fill, .no-io .g-fill, .sheet .g-fill { transform: scaleY(var(--p)); }

.item-act { grid-area: act; position: relative; z-index: 2; align-self: end; }
.add {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--lime); color: var(--ink);
  transition: transform 0.2s var(--ease), background-color 0.2s;
  touch-action: manipulation;
}
.add svg { width: 22px; height: 22px; }
.add:hover { background: #6FCB47; transform: scale(1.06); }
.add:active { transform: scale(0.94); }
.step {
  display: inline-flex; align-items: center; height: 44px; border-radius: 999px;
  background: var(--ink); color: #fff; padding: 0 4px;
}
.step button {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer;
  display: grid; place-items: center; touch-action: manipulation;
}
.step button:hover { background: #2E3428; }
.step button svg { width: 18px; height: 18px; }
.step output { min-width: 22px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.step :focus-visible { outline-color: var(--lime); }

.notes { margin-top: 24px; display: grid; gap: 6px; font-size: 0.9rem; color: var(--ink-2); max-width: 70ch; }
.notes strong { color: var(--ink); }
.swatch-line { margin-top: 14px; font-weight: 700; color: var(--ink); }
.swatches { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.swatches a { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(21, 24, 15, 0.12); transition: transform 0.2s var(--ease); }
.swatches a:hover { transform: scale(1.18); }

.side-cart { display: none; }

/* ---------- about ---------- */

.about { background: var(--white); padding: clamp(56px, 8vw, 112px) 0; }
.about-grid { display: grid; gap: 36px; align-items: center; }
.about h2 { max-width: 14ch; }
.about .lede { margin-top: 14px; max-width: 48ch; }
.facts-list { list-style: none; padding: 0; margin-top: 22px; display: grid; }
.facts-list li { padding: 14px 0 14px 30px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); }
.facts-list li:last-child { border-bottom: 1px solid var(--line); }
.facts-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
.facts-list li:nth-child(2)::before { background: #F3CB4C; }
.facts-list li:nth-child(3)::before { background: var(--orange); }
.facts-list li:nth-child(4)::before { background: #93638A; }
.facts-list b { color: var(--ink); }
.supps { margin-top: 22px; display: grid; gap: 10px; }
.supps > p { font-weight: 700; font-size: 0.95rem; }
.supps ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.supps li { font-size: 0.9rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: #F1F4EA; border: 1px solid #DDE3D2; }
.mission { margin-top: 26px; padding-left: 18px; border-left: 4px solid var(--lime); }
.mission p { font: 500 clamp(1.1rem, 0.95rem + 0.6vw, 1.35rem)/1.4 var(--display); letter-spacing: -0.015em; }
.mission footer { margin-top: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.about-photo { position: relative; border-radius: 28px; overflow: hidden; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 40%; }
.about-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--white); border-radius: 999px; padding: 8px 14px; font-size: 0.88rem; font-weight: 600; }

/* ---------- reviews ---------- */

.reviews { padding: clamp(56px, 8vw, 112px) 0; }
.reviews-grid { display: grid; gap: 32px; }
.score h2 { display: grid; gap: 6px; }
.score .big { font: 800 clamp(5rem, 3rem + 8vw, 9.5rem)/0.86 var(--display); letter-spacing: -0.06em; }
.score .on { font: 650 1.15rem/1.3 var(--body); letter-spacing: 0; }
.stars { display: flex; gap: 4px; color: var(--orange); margin: 14px 0 8px; }
.stars svg { width: 26px; height: 26px; }
.every { color: var(--ink-2); margin-bottom: 20px; }
.quotes { list-style: none; padding: 0; display: grid; gap: 12px; }
.quotes li { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px 16px; position: relative; overflow: hidden; }
.quotes li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.quotes blockquote p { font-size: 1.02rem; line-height: 1.55; }
.who { margin-top: 10px; font-size: 0.88rem; font-weight: 650; color: var(--ink-2); }
.toast { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; background: #3A2B24; }
.toast img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* ---------- visit ---------- */

.visit { padding: clamp(56px, 8vw, 112px) 0; background: var(--white); }
.visit-grid { display: grid; gap: 32px; }
.visit h2 { font-size: clamp(1.85rem, 1.1rem + 2.1vw, 2.75rem); }
.visit address { margin-top: 18px; font: 650 clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem)/1.3 var(--display); letter-spacing: -0.02em; font-style: normal; }
.status-line { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.visit-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hours { margin-top: 26px; width: 100%; max-width: 440px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-weight: 750; padding-bottom: 8px; }
.hours th, .hours td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { background: #E2F4D6; background: color-mix(in srgb, var(--lime) 30%, #fff); font-weight: 750; }
.hours tr.is-today th { border-radius: 12px 0 0 12px; }
.hours tr.is-today td { border-radius: 0 12px 12px 0; }
.today-tag { font-size: 0.78rem; font-weight: 700; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; }
.more-links { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 12px; }
.more-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-weight: 650; text-underline-offset: 3px; }
.more-links svg { width: 20px; height: 20px; }
.neon { border-radius: 28px; overflow: hidden; background: #0C0F0C; }
.neon img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 40%; }

/* ---------- franchise + footer ---------- */

.franchise { background: var(--lime); padding: clamp(40px, 6vw, 72px) 0; }
.fr-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.franchise h2 { font-size: clamp(1.6rem, 1rem + 2.4vw, 2.8rem); max-width: 20ch; }
.franchise p { margin-top: 10px; font-size: 1.1rem; font-weight: 500; }

.site-footer { background: var(--ink); color: #E6E9DD; padding: 60px 0 32px; }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--lime); }
.foot-grid { display: grid; gap: 30px; }
.foot-mark { width: 34px; height: 56px; }
.foot-word { margin-top: 12px; font: 700 1.5rem/1 var(--display); letter-spacing: 0.03em; color: var(--lime); }
.foot-tag { margin-top: 8px; color: #F6A36A; font-weight: 600; font-size: 0.95rem; }
.foot-h { font: 700 0.95rem/1.2 var(--body); color: #AEB5A4; margin-bottom: 10px; letter-spacing: 0; }
.site-footer address { font-style: normal; }
.site-footer address + p { margin-top: 8px; }
.social { list-style: none; padding: 0; display: flex; gap: 10px; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #3A4033; }
.social a:hover { background: #262B1F; }
.social svg { width: 22px; height: 22px; }
.foot-base { margin-top: 40px; display: grid; gap: 16px; }
.palette { display: flex; height: 10px; border-radius: 999px; overflow: hidden; }
.palette span { flex: 1; background: var(--c); }
.allergen { font-size: 0.85rem; color: #AEB5A4; max-width: 80ch; }
.copy { font-size: 0.85rem; color: #8B9281; }

/* ---------- phone bar ---------- */

.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: flex; gap: 8px; align-items: center;
  padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom));
  background: var(--ink);
  box-shadow: 0 -6px 24px rgba(21, 24, 15, 0.18);
}
.bar-main {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--lime); color: var(--ink); font: 700 1rem/1 var(--body); text-decoration: none;
}
.bar-main[hidden] { display: none; }
.bar-main svg { width: 20px; height: 20px; }
.bar-cart { justify-content: space-between; }
.bar-n { min-width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.bar-total { font-variant-numeric: tabular-nums; }
.bar-call { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1.5px solid #3A4033; }
.bar-call svg { width: 22px; height: 22px; }
.bar :focus-visible { outline-color: var(--lime); }

/* ---------- sheets: a drink, and your order ---------- */

dialog.sheet {
  padding: 0; border: 0; margin: 0; max-width: none; max-height: none;
  width: 100%; height: 100%; background: transparent; color: var(--ink);
  overflow: hidden;
}
dialog.sheet::backdrop { background: rgba(21, 24, 15, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 92vh; max-height: 92svh;
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: 26px 26px 0 0;
  box-shadow: 0 -12px 40px rgba(21, 24, 15, 0.25);
  overflow: auto; overscroll-behavior: contain;
}
dialog[open] .sheet-panel { animation: sheet-up 0.32s var(--ease); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.x {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; flex: none;
  display: grid; place-items: center; background: var(--white); color: var(--ink);
  box-shadow: 0 1px 3px rgba(21, 24, 15, 0.15);
}
.x svg { width: 20px; height: 20px; }

.item-sheet .x { position: absolute; top: 12px; right: 12px; z-index: 3; }
.is-media {
  position: relative; isolation: isolate; flex: none;
  height: 42vh; height: 42svh; min-height: 250px;
  display: flex; align-items: flex-end; justify-content: center;
  background: color-mix(in srgb, var(--c, #ddd) 20%, #fff);
}
.is-media::before { content: ""; position: absolute; z-index: -1; left: 22%; right: 22%; top: 16%; bottom: 0; border-radius: 999px 999px 0 0; background: color-mix(in srgb, var(--c, #ddd) 44%, #fff); }
.is-media img { height: 86%; width: auto; filter: drop-shadow(0 16px 16px rgba(21, 24, 15, 0.2)); }
.is-media .tag { top: 16px; left: 16px; font-size: 0.8rem; padding: 7px 10px; }
.is-body { padding: 20px var(--gut) 0; display: grid; gap: 10px; }
.is-kind { font-size: 0.85rem; font-weight: 650; color: var(--ink-2); }
.is-body h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.is-meta { display: flex; align-items: center; gap: 14px; }
.is-meta .price { font-size: 1.2rem; }
.is-ing { color: var(--ink-2); }
.nlabel { margin-top: 4px; padding: 6px 10px 2px; border: 2px solid var(--ink); background: var(--white); font-variant-numeric: tabular-nums; }
.nlabel[hidden] { display: none; }
.nlabel-title { font: 800 0.95rem/1 var(--display); letter-spacing: -0.01em; padding-bottom: 5px; border-bottom: 7px solid var(--ink); margin: 0; }
.nlabel dl { margin: 0; }
.nlabel dl div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--ink); font-size: 0.88rem; }
.nlabel dl div:first-child { border-bottom-width: 4px; font-size: 0.95rem; }
.nlabel dl div:last-child { border-bottom: 0; }
.nlabel dt { font-weight: 750; }
.nlabel dd { margin: 0; }
.nlabel-note { font-size: 0.88rem; color: var(--ink-2); padding: 6px 0; }
.extra {
  display: flex; align-items: center; gap: 12px; margin-top: 4px;
  min-height: 52px; padding: 0 14px; border-radius: 16px; cursor: pointer;
  background: var(--white); border: 1.5px solid var(--line);
}
.extra[hidden] { display: none; }
.extra input { width: 22px; height: 22px; accent-color: var(--lime-deep); }
.extra span { flex: 1; font-weight: 650; }
.extra:has(input:checked) { border-color: var(--ink); background: #EFF9E8; }
.is-buy {
  display: flex; gap: 10px; align-items: center;
  position: sticky; bottom: 0; margin: 8px calc(-1 * var(--gut)) 0;
  padding: 12px var(--gut) calc(14px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
}
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--white); padding: 0 4px; flex: none; }
.qty button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: #F0F2E8; }
.qty button svg { width: 18px; height: 18px; }
.qty output { min-width: 26px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.is-add { flex: 1; min-width: 0; }

.cart-sheet .sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px var(--gut) 8px; position: sticky; top: 0; background: var(--paper); z-index: 2; }
.cart-sheet h2 { font-size: 1.6rem; }
.sheet-scroll { padding: 4px var(--gut) calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 16px; }
.cart-empty { color: var(--ink-2); }
.cart-empty[hidden] { display: none; }
.lines { list-style: none; padding: 0; display: grid; gap: 8px; }
.lines:empty { display: none; }
.line {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 8px; border-radius: 16px; background: var(--white); border: 1px solid var(--line);
}
.line-img { width: 52px; height: 60px; border-radius: 12px; display: flex; align-items: flex-end; justify-content: center; background: color-mix(in srgb, var(--c) 22%, #fff); overflow: hidden; }
.line-img img { width: 50%; }
.line-name { font-weight: 700; line-height: 1.25; }
.line-opt { font-size: 0.82rem; color: var(--ink-2); }
.line-price { font-size: 0.9rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.line .step { height: 40px; }
.line .step button { width: 32px; height: 32px; }

.checkout { display: grid; gap: 14px; }
.checkout[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.opt { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border-radius: 14px; border: 1.5px solid #CDD1C3; background: var(--white);
  font: 500 1rem/1.3 var(--body); color: var(--ink);
}
.field textarea { min-height: 72px; resize: vertical; }
.field select { -webkit-appearance: none; appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2315180F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #B42318; background: #FFF6F5; }
.err { color: #B42318; font-size: 0.88rem; font-weight: 600; }
.err:empty { display: none; }
.hint { font-size: 0.86rem; color: var(--ink-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.summary { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.summary p:first-child { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; }
.summary strong { font-variant-numeric: tabular-nums; }
.fine { font-size: 0.85rem; color: var(--ink-2); }
.place { width: 100%; }

.done { display: grid; gap: 14px; outline: none; }
.done[hidden] { display: none; }
.done-head { display: flex; align-items: center; gap: 12px; }
.done-check { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); flex: none; }
.done-check svg { width: 24px; height: 24px; }
.done h3 { font-size: 1.3rem; }
.ticket { padding: 16px; border-radius: 18px; background: var(--white); border: 1.5px dashed #BFC4B5; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.ticket ul { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 4px; }
.ticket li { display: flex; justify-content: space-between; gap: 12px; }
.t-mode { font: 700 1rem/1.3 var(--display); letter-spacing: -0.01em; }
.t-who { color: var(--ink-2); font-size: 0.92rem; }
.t-total { display: flex; justify-content: space-between; font-weight: 750; padding-top: 6px; border-top: 1px solid var(--line); }
.done-note { color: var(--ink-2); }
.done-act { display: grid; gap: 10px; }
.done-act .btn { width: 100%; }
.linkish { background: none; border: 0; padding: 8px 0; min-height: 44px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; }

/* ---------- breakpoints ---------- */

@media (max-width: 1099px) {
  :root { --bar-h: calc(64px + env(safe-area-inset-bottom)); }
  .pill { display: none; }
}
@media (max-width: 759px) {
  :root { --head-h: 58px; }
  .pill, .nav-more, .cart-btn-label { display: none; }
  .nav ul { gap: 16px; }
  .cart-btn { padding: 0 6px 0 10px; }
}
@media (max-width: 374px) {
  .nav { display: none; }
  .head-in { gap: 10px; }
  .brand-word { font-size: 0.95rem; }
  .row2 { grid-template-columns: 1fr; }
}
@media (min-width: 640px) {
  .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .item {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "media media" "text act";
    align-items: end; padding: 0 0 14px; gap: 12px 10px; overflow: hidden;
  }
  .item-media { height: auto; aspect-ratio: 1 / 0.92; border-radius: 0; }
  .item-text { padding-left: 14px; }
  .item-act { padding-right: 14px; }
  .item-name { font-size: 1.05rem; }
}
@media (min-width: 760px) {
  .order-head { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .controls { border-radius: 22px; align-items: flex-start; }
  .chips { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .about-photo img { aspect-ratio: 16 / 11; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; }
  .item-sheet .sheet-panel {
    left: 50%; top: 50%; bottom: auto; right: auto; transform: translate(-50%, -50%);
    width: min(860px, 100% - 48px); max-height: min(640px, 92vh);
    border-radius: 28px; flex-direction: row; overflow: hidden;
  }
  .item-sheet[open] .sheet-panel { animation: pop 0.3s var(--ease); }
  @keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(0.98); } to { opacity: 1; transform: translate(-50%, -50%); } }
  .item-sheet .is-media { width: 42%; height: auto; min-height: 0; }
  .item-sheet .is-body { flex: 1; overflow: auto; padding: 28px 28px 0; align-content: start; }
  .item-sheet .is-buy { margin: 8px -28px 0; padding: 14px 28px 20px; }
  .item-sheet .is-media img { height: 80%; }
  .cart-sheet .sheet-panel {
    left: auto; top: 0; right: 0; bottom: 0; width: min(460px, 100%); max-height: none; height: 100%;
    border-radius: 26px 0 0 26px;
  }
  .cart-sheet[open] .sheet-panel { animation: slide-in 0.32s var(--ease); }
  @keyframes slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); grid-template-areas: "copy stage" "panel stage" "panel picks"; column-gap: clamp(28px, 4vw, 64px); row-gap: 24px; align-items: start; }
  .bm-stage { max-width: none; align-self: start; margin-top: -12px; }
  /* the chips sit under the machine, like its buttons */
  .bm-picks { margin-top: -8px; text-align: center; }
  .bm-chips { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0; padding: 0; }
  .about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
  .reviews-grid { grid-template-columns: 0.95fr 1.35fr 0.8fr; align-items: start; gap: 40px; }
  .visit-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 64px; }
  .neon img { aspect-ratio: 5 / 4; }
}
@media (min-width: 1100px) {
  .bar { display: none; }
  .order-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .side-cart {
    display: grid; gap: 12px; position: sticky; top: calc(var(--head-h) + 16px);
    padding: 20px; border-radius: 24px; background: var(--white); border: 1px solid var(--line);
    box-shadow: 0 10px 32px rgba(21, 24, 15, 0.06);
  }
  .side-cart h3 { font-size: 1.3rem; }
  .side-mode { font-size: 0.9rem; font-weight: 650; color: var(--lime-deep); }
  .side-empty { color: var(--ink-2); font-size: 0.95rem; }
  .side-empty[hidden] { display: none; }
  .plus-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; line-height: 1; }
  .side-lines { list-style: none; padding: 0; display: grid; gap: 8px; max-height: 42vh; overflow: auto; }
  .side-lines:empty { display: none; }
  .side-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.92rem; }
  .side-lines b { font-variant-numeric: tabular-nums; }
  .side-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 750; }
  .side-total[hidden] { display: none; }
  .side-go { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .g-fill { transform: scaleY(var(--p)); }
}

/* without the script: a readable menu, no controls that cannot work */
html:not(.js) .item-act, html:not(.js) .side-cart, html:not(.js) .bar,
html:not(.js) .cart-btn, html:not(.js) .mode, html:not(.js) .mode-note { display: none; }
