/* Breads & Beans. Tokens match the brand book. */
:root {
  --forest: #173827; --forest-soft: #2e4a39; --cream: #f6f0e3; --kraft: #ebdcc8; --cocoa: #2a1c14;
  --saffron: #a34b12; --sage: #9fae86; --brass: #b08d57;
  --surface: #f5efe4; --surface-raised: #fffbf3; --surface-sunk: #ebdcc8;
  --ink: #1f2a22; --ink-muted: #5f5a4e; --brand: #173827; --on-brand: #f6f0e3;
  --accent: #a34b12; --line: #ddd3c2; --focus: #173827; --danger: #9c2d17;
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-bold: "Anton", "Impact", "Arial Narrow Bold", sans-serif; /* big headlines only */
  --paper: #ede6d8; /* the menu's paper background, like a swatch board */
  --r-sm: 10px; --r-md: 18px; --r-lg: 28px; --r-pill: 999px;
  --shadow: 0 1px 2px rgba(31,42,34,.06), 0 10px 30px rgba(31,42,34,.10);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --gutter-l: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.55 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: var(--r-pill); z-index: 60; }
.skip:focus { left: 8px; }
.eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); }
.eyebrow--light { color: var(--kraft); }
.h2 { font: 400 clamp(40px, 6vw, 72px)/.95 var(--font-bold); text-transform: uppercase; letter-spacing: -.005em; color: var(--forest); margin: 14px 0 16px; text-wrap: balance; }
.h2 em { font: italic 400 1.02em/1 var(--font-display); text-transform: none; letter-spacing: -.02em; }
.lede { margin: 0 0 24px; max-width: 62ch; color: var(--ink-muted); font-size: 17px; }
.small { font-size: 13px; } .muted { color: var(--ink-muted); }
.setup { background: var(--saffron); color: #fff; padding: 10px 16px; font-size: 14px; text-align: center; }
.setup code { background: rgba(255,255,255,.2); padding: 1px 6px; border-radius: 4px; }

.topbar { background: var(--forest); color: var(--cream); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; }
@media (max-width: 560px) { .topbar__right { display: none; } .topbar__in { justify-content: center; } }

.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--surface); }
.top__in { display: flex; align-items: center; gap: 28px; padding-block: 12px; }
.top__logo img { height: 52px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.bag { height: 46px; padding: 0 8px 0 22px; border-radius: var(--r-pill); border: 0; background: var(--brand); color: var(--on-brand); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.bag__n { min-width: 30px; height: 30px; border-radius: var(--r-pill); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.bag.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.06); } }
@media (max-width: 760px) { .nav { display: none; } .bag { margin-left: auto; } .top__logo img { height: 44px; } }

.hero { padding-block: 72px 64px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__kicker { margin: 0 0 28px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); padding-bottom: 4px; border-bottom: 1.5px solid var(--forest); }
.hero__stage { position: relative; width: 100%; max-width: 1080px; padding: 10px 0 0; }
.hero__title { margin: 0; color: var(--forest); font: 400 clamp(64px, 13.5vw, 196px)/.92 var(--font-bold); text-transform: uppercase; letter-spacing: -.01em; }
.hero__title span { display: block; }
.hero__title em { display: block; margin-top: -.08em; font: italic 400 clamp(56px, 11vw, 168px)/1 var(--font-display); text-transform: none; letter-spacing: -.03em; transform: rotate(-3deg); }
.hero__sub { margin: 30px auto 26px; max-width: 44ch; color: var(--ink-muted); font-size: 17px; }
.hero__fig { margin: 0; }
.hero__fig figcaption, .space figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.badge { position: absolute; width: clamp(84px, 11vw, 132px); left: clamp(-4px, 3vw, 40px); top: clamp(40px, 9vw, 120px); transform: rotate(-12deg); }
.badge text { font: 700 10.5px var(--font-sans); letter-spacing: .14em; fill: var(--forest); }
.badge__ring { transform-origin: 70px 70px; animation: spin-slow 22s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.bubble { position: absolute; width: clamp(150px, 18vw, 220px); right: clamp(-8px, 2vw, 30px); top: clamp(-6px, 1vw, 10px); transform: rotate(8deg); animation: bob 4s ease-in-out infinite; }
.bubble text { font: 700 16px var(--font-sans); fill: var(--forest); }
@keyframes bob { 50% { transform: rotate(5deg) translateY(-6px); } }
.doodle { position: absolute; width: clamp(54px, 7vw, 90px); }
.doodle--mug { right: clamp(0px, 5vw, 70px); bottom: clamp(-10px, 2vw, 30px); transform: rotate(6deg); }
.doodle--whisk { left: clamp(0px, 7vw, 100px); bottom: clamp(-30px, -1vw, 0px); transform: rotate(-8deg); }
@media (max-width: 640px) {
  .hero { padding-block: 44px 48px; }
  .badge { top: auto; bottom: 34%; left: -6px; }
  .bubble { top: -34px; right: -4px; }
  .doodle--whisk { display: none; }
  .doodle--mug { bottom: -18px; right: 4px; }
}

.marquee { background: var(--forest); color: var(--cream); overflow: hidden; border-block: 1px solid var(--forest); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; padding-block: 16px; font: 400 clamp(22px, 3vw, 34px)/1 var(--font-bold); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; animation: marquee 34s linear infinite; }
.marquee i { width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M2 12h20M5 5l14 14M19 5 5 19' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M2 12h20M5 5l14 14M19 5 5 19' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

.strip { border-block: 1px solid var(--line); }
.strip__in { display: flex; align-items: center; justify-content: space-around; gap: 24px; padding-block: 22px; font: 400 21px/1.2 var(--font-display); color: var(--forest); flex-wrap: wrap; text-align: center; }
.strip i { width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M2 12h20M5 5l14 14M19 5 5 19' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2v20M2 12h20M5 5l14 14M19 5 5 19' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 640px) { .strip__in { flex-direction: column; gap: 10px; font-size: 19px; } }

.block { padding-block: 88px 8px; }
#menu { background: var(--paper); max-width: none; padding-bottom: 72px; }
#menu > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.spread { display: flex; align-items: center; gap: 28px; }
.spread__title { margin: 0; flex: none; font: 400 clamp(52px, 8vw, 104px)/.9 var(--font-bold); text-transform: uppercase; color: var(--forest); }
.spread__title em { font: italic 400 .9em/1 var(--font-display); text-transform: none; margin-right: .08em; }
.spread__rule { flex: 1; height: 1.5px; background: var(--forest); opacity: .5; }
#menu .lede { margin-top: 14px; }
@media (max-width: 640px) { .block { padding-block: 56px 8px; } }

.event { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--brand); color: var(--on-brand); border-radius: var(--r-lg); padding: 24px 28px; margin-top: 48px; }
.event h2 { margin: 6px 0 4px; font: 400 28px/1.1 var(--font-display); }
.event p { margin: 0; font-size: 15px; opacity: .9; max-width: 560px; }
.event .btn { background: var(--cream); color: var(--forest); }

.tabs { position: sticky; top: calc(77px + env(safe-area-inset-top, 0px)); z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l)); padding-left: var(--gutter-l); padding-right: var(--gutter-r); background: var(--surface); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { .tabs { top: calc(69px + env(safe-area-inset-top, 0px)); } }
.tab { flex: none; height: 40px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--forest); background: transparent; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); text-decoration: none; display: inline-flex; align-items: center; }
.tab[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
#menu .tabs { background: var(--paper); }

.cat { padding-top: 28px; }
.cat { padding-top: 40px; }
.cat h3 { font: 700 12px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 22px; color: var(--forest); display: flex; align-items: center; gap: 14px; }
.cat h3::after { content: ""; flex: 1; height: 1px; background: var(--forest); opacity: .25; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Swatch cards: the bake sits on top of a small white card with its label underneath. */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card::before { content: ""; position: absolute; inset: 30% 6% 0; background: #fffdf8; border-radius: 4px; box-shadow: 0 1px 1px rgba(31,42,34,.06), 0 8px 22px rgba(31,42,34,.10); transition: transform .35s ease, box-shadow .35s ease; }
.card > * { position: relative; }
.card__well { aspect-ratio: 1 / .86; display: grid; place-items: end center; padding: 0 4% 0; }
.card__well img { width: 92%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 12px rgba(42,28,20,.18)); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) { .card:hover .card__well img { transform: translateY(-8px) rotate(-2deg) scale(1.03); } .card:hover::before { transform: translateY(-2px); box-shadow: 0 1px 1px rgba(31,42,34,.06), 0 14px 30px rgba(31,42,34,.14); } }
.card.is-soldout .card__well img { opacity: .45; filter: grayscale(.4); }
.card__tag { position: absolute; z-index: 2; top: 6%; right: 6%; width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--cream); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; display: grid; place-items: center; text-align: center; line-height: 1.15; padding: 8px; transform: rotate(12deg); }
.card.is-soldout .card__tag { background: var(--cocoa); }
.card__label { display: flex; flex-direction: column; gap: 6px; padding: 14px 12% 18px; flex: 1; }
.card__name { margin: 0; font: 800 14px/1.2 var(--font-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.card__code { margin: 0; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.card__code > span:not(.card__sweet) { font-weight: 500; color: var(--ink-muted); }
.card__sweet { height: 20px; padding: 0 8px; border-radius: var(--r-pill); background: var(--paper); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); display: inline-flex; align-items: center; }
.card__desc { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__row { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 8px; min-height: 42px; }
.card__meta { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 640px) { .card__label { padding: 12px 10% 14px; } .card__name { font-size: 12.5px; } .card__tag { width: 52px; height: 52px; font-size: 9px; } }
.price { font-weight: 600; font-variant-numeric: tabular-nums; }
.price small { font-weight: 400; color: var(--ink-muted); font-size: 12px; }
.linkish { background: none; border: 0; padding: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--forest); align-self: flex-start; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 1px solid transparent; background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform .1s, opacity .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--arrow { padding-right: 22px; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--text { background: none; color: var(--ink); height: auto; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }

.stepper { display: inline-flex; align-items: center; height: 40px; border-radius: var(--r-pill); background: var(--brand); color: var(--on-brand); }
.stepper button { width: 40px; height: 40px; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; border-radius: var(--r-pill); }
.stepper button[disabled] { opacity: .4; }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper--light { background: var(--surface-sunk); color: var(--ink); }

.mug { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; background: var(--surface-raised); border: 1.5px solid var(--forest); border-radius: 6px; padding: 44px; box-shadow: 8px 8px 0 var(--forest); }
.mug__intro { display: flex; flex-direction: column; align-items: flex-start; }
.mug__intro .small { margin: 0 0 22px; max-width: 46ch; }
@media (max-width: 900px) { .mug { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; box-shadow: 5px 5px 0 var(--forest); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.4; }
.steps li::before { content: "Step " counter(s); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); order: 1; }
.steps img { order: 0; width: 100%; }
.steps span { order: 2; }
@media (max-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.space { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.space figure { margin: 0; }
.space img { width: 100%; object-fit: cover; border-radius: var(--r-md); }
.space__a img, .space__b img { aspect-ratio: 5 / 4; }
.space__c { grid-column: 1 / -1; }
.space__c img { aspect-ratio: 16 / 8; border-radius: var(--r-md) var(--r-md) 120px var(--r-md); }
.space figcaption { justify-content: flex-start; }
@media (max-width: 640px) { .space { grid-template-columns: 1fr; } .space__c img { aspect-ratio: 4 / 3; border-radius: var(--r-md); } }

.foot { background: var(--forest); color: var(--cream); margin-top: 96px; }
.foot__in { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-block: 56px calc(120px + var(--safe-b)); }
.foot__cols { display: flex; gap: 48px; flex-wrap: wrap; }
.foot__cols > div { max-width: 340px; display: flex; flex-direction: column; gap: 10px; }
.foot p { margin: 0; font-size: 14px; }
.foot__cols p:not(.eyebrow) { color: var(--cream); opacity: .88; }

.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 12px var(--gutter-r) calc(12px + var(--safe-b)) var(--gutter-l); pointer-events: none; animation: rise .25s ease; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.cartbar__btn { pointer-events: auto; max-width: 560px; margin: 0 auto; width: 100%; height: 58px; border: 0; border-radius: var(--r-pill); background: var(--brand); color: var(--on-brand); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); cursor: pointer; }

.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 90vh; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow); }
.sheet[open] { display: flex; flex-direction: column; animation: sheet .28s cubic-bezier(.2,.8,.2,1); }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
.sheet::backdrop { background: rgba(23,56,39,.35); }
@media (min-width: 720px) { .sheet { margin: auto; border-radius: var(--r-lg); } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 6px; }
.sheet__head h2 { margin: 0; font: 400 28px/1.1 var(--font-display); color: var(--forest); }
.sheet__body { overflow-y: auto; padding: 4px 22px calc(22px + var(--safe-b)); }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: var(--r-pill); background: transparent; display: grid; place-items: center; cursor: pointer; }

.line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 56px; height: 56px; object-fit: contain; background: var(--surface-sunk); border-radius: 12px; padding: 4px; }
.line__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.line__price { font-size: 13px; color: var(--ink-muted); }
.sum { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 15px; }
.empty { text-align: center; padding: 28px 0 12px; }
.empty p { color: var(--ink-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); cursor: pointer; font-size: 14px; font-weight: 600; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.optsec { border: 0; margin: 0 0 20px; padding: 0; }
.optsec legend { font-weight: 700; font-size: 14px; margin-bottom: 10px; padding: 0; }
.howto { background: var(--surface); border-radius: var(--r-md); padding: 16px; margin: 4px 0 18px; }
.howto .steps { gap: 10px; }
.howto .steps li { font-size: 13px; }
.optfoot { display: flex; gap: 12px; align-items: center; }
.optfoot .btn { flex: 1; }

/* Checkout */
.co { max-width: 640px; margin: 0 auto; padding-block: 24px 40px; }
.back { display: inline-flex; align-items: center; gap: 6px; height: 44px; border: 0; background: none; cursor: pointer; font-weight: 600; padding: 0; }
.co h1 { font: 400 clamp(48px, 9vw, 72px)/.95 var(--font-bold); text-transform: uppercase; color: var(--forest); margin: 8px 0 28px; }
.fs { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.fs legend, .fs__title { font: 400 24px/1.2 var(--font-display); color: var(--forest); padding: 0; margin: 0 0 12px; }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-raised); cursor: pointer; min-height: 72px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt strong { font-weight: 600; }
.opt span, .opt small { font-size: 13px; color: var(--ink-muted); }
.opt:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.opt:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; }
.date { flex: none; min-width: 100px; padding: 10px 12px; }
.slots { display: grid; gap: 8px; margin-top: 10px; }
.slot { flex-direction: row; align-items: center; justify-content: space-between; min-height: 54px; }
.slot::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-muted); }
.slot:has(input:checked)::after { border: 6px solid var(--brand); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-raised); font-size: 16px; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13px; font-weight: 500; }
.hint { color: var(--ink-muted); font-size: 13px; margin: 10px 0 0; }
.note { background: var(--surface-sunk); border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; }
.summary { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px 16px 12px; }
.summary .detail { display: block; font-size: 12px; color: var(--ink-muted); }
.sticky-cta { position: sticky; bottom: 0; padding: 14px 0 calc(14px + var(--safe-b)); background: linear-gradient(to top, var(--surface) 72%, transparent); }
.formerr { background: #fbeae4; color: var(--danger); border-radius: var(--r-sm); padding: 10px 14px; font-size: 14px; margin-bottom: 10px; }

.done { max-width: 560px; margin: 0 auto; padding-block: 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.done__mark { width: 68px; height: 68px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; animation: pop .4s cubic-bezier(.2,.8,.2,1.4); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.done h1 { font: 400 clamp(38px, 7vw, 56px)/.98 var(--font-bold); text-transform: uppercase; color: var(--forest); margin: 6px 0 0; text-wrap: balance; }
.done .id { font-variant-numeric: tabular-nums; }
.done__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 360px; margin-top: 8px; }

.loading { padding: 40px 0; color: var(--ink-muted); }
.toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translate(-50%, 16px); background: var(--cocoa); color: var(--cream); padding: 10px 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; max-width: calc(100vw - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 16px; text-align: center; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Accounts, payments, orders */
.acct { height: 46px; padding: 0 16px 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 760px) { .acct { margin-left: auto; width: 46px; padding: 0; justify-content: center; } .acct__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .acct:not([hidden]) + .bag { margin-left: 0; } .top__in { gap: 10px; } .bag { white-space: nowrap; padding-left: 18px; } }
.otp { letter-spacing: .5em; font-size: 22px !important; text-align: center; font-variant-numeric: tabular-nums; }
.demo-note { background: var(--surface-sunk); border-radius: var(--r-sm); padding: 10px 14px; font-size: 13px; margin: 0 0 14px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acctcard { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 14px; }
.acctcard strong { display: block; }
.login-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.login-cta p { margin: 0; color: var(--ink-muted); }
.pays { display: grid; gap: 10px; }
.pays .opt { flex-direction: row; align-items: center; gap: 14px; }
.pays .opt::after { content: ""; margin-left: auto; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink-muted); }
.pays .opt:has(input:checked)::after { border: 6px solid var(--brand); }
.pays .opt div { display: flex; flex-direction: column; gap: 2px; }
.sum--total { font-weight: 700; font-size: 17px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.orders { max-width: 720px; margin: 0 auto; padding-block: 24px 64px; display: flex; flex-direction: column; gap: 16px; }
.orders h1 { font: 400 clamp(44px, 8vw, 64px)/.95 var(--font-bold); text-transform: uppercase; color: var(--forest); margin: 8px 0 8px; }
.ocard { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.ocard__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.ocard__id { font-weight: 700; font-variant-numeric: tabular-nums; }
.ocard ul { margin: 0; padding-left: 18px; color: var(--ink-muted); font-size: 14px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: .02em; border: 1px solid var(--line); background: var(--surface); }
.pill--ok { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.pill--wait { background: #fbeee0; color: #7a3c0c; border-color: #efd3b5; }
.pill--off { color: var(--ink-muted); }
.track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.track span { height: 4px; border-radius: 2px; background: var(--line); }
.track span.on { background: var(--brand); }
.track-labels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font-size: 11px; color: var(--ink-muted); }
.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Guest or login choice, phone with +91, pincode */
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.seg2 .opt { min-height: 64px; }
.field .hint { margin: 0; }
.hint--ok { color: var(--brand); font-weight: 600; }
.tel { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-raised); }
.tel span { display: grid; place-items: center; padding: 0 4px 0 14px; color: var(--ink-muted); font-size: 16px; }
.field .tel input { border: 0; background: transparent; padding-left: 6px; }
.tel:focus-within { outline: 2px solid var(--focus); }
.field .tel input:focus { outline: 0; }
.tel:has([aria-invalid="true"]) { border-color: var(--danger); }
.field--pin input { max-width: 200px; letter-spacing: .08em; }
.cta-note { margin: 8px 0 0; text-align: center; }
@media (max-width: 420px) { .seg2 { grid-template-columns: 1fr; } }
.accept-note { margin-bottom: 8px; }

/* Out of delivery range */
.outarea { margin-top: 12px; padding: 16px; border-radius: var(--r-md); background: var(--surface-raised); border: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.outarea p { margin: 0 0 8px; }
.outarea__joke { font-family: var(--font-display, Georgia, serif); font-style: italic; font-size: 17px; color: var(--brand); }
.outarea ul { margin: 0 0 14px; padding-left: 18px; }
.outarea li { margin-bottom: 4px; }
