/* Bistro'96: retro menu-board styles. The approved look is design/preview.html.
   Mobile first; the ruled "menu sheet" frame appears from 720px, peeking mascots from 1100px. */

/* ---------- tokens ---------- */
:root {
  --paper: #F2F1E8;
  --sheet: #F7F6EF;
  --rule: #C9C5B7;
  --ink: #131311;
  --muted: #656560;
  --brown: #52442D;
  --caramel: #9D6D33;
  --mustard: #F6C232;
  --wa: #25D366;
  --veg: #1E8A3B;
  --nonveg: #7A3E12;
  --stamp: #B4442E;
  --white: #FFFEF8;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Comfortaa", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .07 0 0 0 0 .06 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --specks: radial-gradient(rgba(19,19,17,.30) .7px, transparent 1.2px) 0 0 / 23px 29px,
            radial-gradient(rgba(19,19,17,.18) .6px, transparent 1.1px) 11px 7px / 37px 31px,
            radial-gradient(rgba(82,68,45,.28) .8px, transparent 1.3px) 5px 17px / 53px 47px;
  --bg-paper: var(--specks), var(--grain) 0 0 / 180px 180px, var(--paper);
  --bg-sheet: var(--specks), var(--grain) 0 0 / 180px 180px, var(--sheet);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 56px; }
body { min-height: 100vh; background: var(--bg-paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 50; left: 12px; top: -80px; padding: 10px 14px; border: 2px solid var(--ink); background: var(--mustard); font: 800 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- page frame: a ruled menu sheet on grainy paper ---------- */
.site { position: relative; max-width: 1240px; margin: 0 auto; padding-bottom: 100px; }
.decor { display: none; }
.sheet { position: relative; z-index: 1; background: var(--bg-sheet); }
.inner { border-bottom: 1.5px solid var(--ink); }
.row { display: grid; gap: 1.5px; border-bottom: 1.5px solid var(--ink); background: var(--ink); }
.row > * { min-width: 0; background: var(--bg-sheet); }

@media (min-width: 720px) {
  .site { padding: 32px 24px 130px; }
  .sheet { padding: 8px; border: 2px solid var(--ink); box-shadow: 0 34px 60px -24px rgba(19,19,17,.55); }
  .inner { border: 1.5px solid var(--ink); }
}
@media (min-width: 1100px) {
  .site { padding: 60px 96px 130px; }
  .sheet { padding: 10px; }
  .decor { display: block; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .peek { position: absolute; width: 190px; height: 196px; }
  .peek--left { left: -40px; top: 240px; transform: rotate(-14deg); }
  .peek--right { right: -30px; bottom: 32%; transform: rotate(10deg) scaleX(-1); }
}

/* ---------- masthead ---------- */
.mast { grid-template-columns: 64px 1fr 64px; }
.mast > div { display: grid; place-items: center; padding: 10px 4px; }
.mast .mascot { width: 100%; max-width: 150px; height: auto; aspect-ratio: 120 / 124; }
.mast__c { text-align: center; }
.kicker { font: 700 8.5px/1.3 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.kicker--sm { display: none; }
.logo { position: relative; display: inline-block; margin-top: 6px; font: 900 clamp(36px, 10.5vw, 104px)/.9 var(--display); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.logo span { display: block; }
/* The outline lives on the ink layer underneath: Outfit is a variable font with overlapping
   outlines, and a stroke on the yellow layer would trace those overlaps inside the letters. */
.logo__shadow { position: absolute; left: 0; top: 0; color: var(--ink); -webkit-text-stroke: 3.2px var(--ink);
  text-shadow: 1px 1px 0 var(--ink), 2px 2px 0 var(--ink), 3px 3px 0 var(--ink), 4px 4px 0 var(--ink); }
.logo__fill { position: relative; background: linear-gradient(180deg, #FFE58A 0%, #F6C232 50%, #EE9F2C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 720px) {
  .mast { grid-template-columns: clamp(110px, 16vw, 200px) 1fr clamp(110px, 16vw, 200px); }
  .mast > div { padding: 16px 10px; }
  .kicker { font-size: 12px; letter-spacing: .3em; }
  .kicker--sm { display: block; margin-top: 16px; font: 700 10px/1.4 var(--mono); letter-spacing: .2em; color: var(--muted); }
  .logo { margin-top: 12px; font-size: clamp(56px, 8.4vw, 104px); }
  .logo__shadow { -webkit-text-stroke-width: 6px;
    text-shadow: 1px 1px 0 var(--ink), 2px 2px 0 var(--ink), 3px 3px 0 var(--ink), 4px 4px 0 var(--ink), 5px 5px 0 var(--ink), 6px 6px 0 var(--ink), 7px 7px 0 var(--ink), 8px 8px 0 var(--ink); }
}

/* ---------- nav, hatch band, notice ---------- */
.nav { display: none; }
@media (min-width: 720px) {
  .nav { display: grid; grid-template-columns: repeat(4, 1fr) 1.45fr; }
  .nav a, .nav button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 8px; font: 800 12.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
  .nav a:hover { background: var(--white); }
  .nav .cart.has-items { background: var(--mustard); }
  .nav .cart:not(.has-items) :is([data-cart-count], [data-cart-total]) { display: none; }
}
.count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--ink); color: var(--mustard); font: 800 12px/1 var(--display); letter-spacing: 0; }
.hatch { height: 18px; border-bottom: 1.5px solid var(--ink); background: repeating-linear-gradient(-45deg, var(--ink) 0 1.3px, transparent 1.3px 6.5px), var(--sheet); }
.notice { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; padding: 9px 10px; border-bottom: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); font: 700 9.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.notice i { font-style: normal; color: var(--mustard); }
@media (min-width: 720px) { .notice { gap: 8px 20px; padding: 11px 16px; font-size: 11px; letter-spacing: .16em; } }

.last-order { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 14px; border-bottom: 1.5px solid var(--ink); background: var(--mustard); font: 700 12px/1.3 var(--mono); }
.last-order button { font: 800 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; }
.last-order .x { margin-left: auto; font-size: 20px; line-height: 1; text-decoration: none; }

/* ---------- hero + today's special ---------- */
.hero { grid-template-columns: 1fr; }
.hero__main { position: relative; padding: 22px 16px 24px; }
.h-xl { font: 900 clamp(34px, 6vw, 58px)/.93 var(--display); text-transform: uppercase; }
.lead { max-width: 450px; margin-top: 14px; font: 700 13.5px/1.7 var(--body); color: #2C2B27; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; list-style: none; font: 700 10px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust li::before { content: "✦ "; color: var(--caramel); }
.hero__mascot { display: none; }
@media (max-width: 719px) { .ctas .btn { flex: 1 1 100%; } }
@media (min-width: 720px) {
  .hero__main { padding: 34px 36px 36px; }
  .lead { font-size: 15px; }
  .ctas { gap: 16px; margin-top: 28px; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.75fr 1fr; }
  .hero__main { padding: 40px 42px 30px; }
  .hero__mascot { display: block; width: 150px; height: 155px; margin: 12px 0 0 auto; }
}
.hero--solo { grid-template-columns: 1fr !important; }

.special { display: flex; flex-direction: column; }
.special__body { position: relative; flex: 1; padding: 20px 16px 18px; }
.flagrow { display: flex; justify-content: space-between; align-items: center; }
.flag { padding: 6px 9px; background: var(--ink); color: var(--mustard); font: 800 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.h-md { margin-top: 14px; font: 900 clamp(24px, 3vw, 29px)/1 var(--display); text-transform: uppercase; }
.seal { position: absolute; z-index: 2; right: -12px; top: -16px; display: grid; place-items: center; width: 92px; height: 92px; border: 2px solid var(--ink); border-radius: 50%; background: var(--mustard); box-shadow: 3px 3px 0 var(--ink); text-align: center; transform: rotate(12deg); }
.seal::before { content: ""; position: absolute; inset: 5px; border: 1.5px dashed var(--ink); border-radius: 50%; }
.seal b { display: block; font: 900 16px/.95 var(--display); }
.seal small { display: block; margin-top: 4px; font: 700 6.5px/1.25 var(--mono); letter-spacing: .1em; }
@media (min-width: 720px) { .special__body { padding: 24px 24px 20px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); font: 800 12.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:disabled { opacity: .5; transform: none; box-shadow: 4px 4px 0 var(--ink); }
.btn svg { flex: none; width: 20px; height: 20px; }
.btn--wa { background: var(--wa); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; padding: 17px 14px; font-size: 14px; }
@media (min-width: 720px) { .btn { padding: 15px 20px; font-size: 13px; } }

/* ---------- menu: chips, category heads, dish grid ---------- */
.chips { position: sticky; top: 0; z-index: 10; display: flex; gap: 1.5px; overflow-x: auto; scrollbar-width: none; border-bottom: 1.5px solid var(--ink); background: var(--ink); }
.chips::-webkit-scrollbar { display: none; }
.chips > * { flex: 1 0 auto; display: grid; place-items: center; padding: 13px 16px; background: var(--bg-sheet); font: 800 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.chips .lbl { display: none; background: var(--ink); color: var(--paper); }
.chips a.on { background: var(--mustard); }
@media (min-width: 720px) {
  .chips .lbl { display: grid; }
  .chips > * { padding: 15px 12px; font-size: 12px; letter-spacing: .16em; }
}

.cathead { grid-template-columns: 1fr; }
.cathead__t { display: flex; align-items: flex-end; gap: 12px; padding: 18px 16px 14px; }
.num { font: 900 34px/.8 var(--display); color: transparent; -webkit-text-stroke: 1.4px var(--ink); }
.cathead__t h2 { font: 900 28px/.9 var(--display); text-transform: uppercase; }
.cathead__t p, .cathead__m { display: none; }
@media (min-width: 720px) {
  .cathead { grid-template-columns: 1fr 150px; }
  .cathead__t { gap: 20px; padding: 24px 28px; }
  .num { font-size: 52px; -webkit-text-stroke-width: 2px; }
  .cathead__t h2 { font-size: 40px; }
  .cathead__m { display: grid; place-items: center; padding: 8px; }
  .cathead__m svg { width: 100px; height: 104px; }
}
@media (min-width: 1100px) {
  .cathead { grid-template-columns: 1fr 180px; }
  .num { font-size: 60px; }
  .cathead__t h2 { font-size: 46px; }
  .cathead__t p { display: block; flex: 1 1 0; min-width: 180px; max-width: 290px; margin-left: auto; font: 700 12.5px/1.6 var(--body); color: var(--muted); text-align: right; }
  .cathead__m svg { width: 116px; height: 120px; }
}

.grid { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.filler { grid-column: auto / -1; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; }
.filler svg { width: 90px; height: 93px; }
.filler span { font: 700 10px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.loading { display: grid; place-items: center; gap: 14px; padding: 56px 16px; border-bottom: 1.5px solid var(--ink); text-align: center; font: 700 11px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.loading svg { width: 90px; height: 93px; animation: bob 1s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-6px) rotate(-3deg); } }

/* ---------- dish card ---------- */
.dish { display: flex; flex-direction: column; }
.dish__body { flex: 1; padding: 16px; }
.dish__name { font: 900 23px/1 var(--display); text-transform: uppercase; }
@media (min-width: 720px) {
  .dish__body { padding: 22px 22px 20px; }
  .dish__name { font-size: 24px; }
}
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; font: 700 10.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tag { padding: 3px 6px; background: var(--ink); color: var(--paper); }
.tag--pre { background: transparent; color: var(--caramel); box-shadow: inset 0 0 0 1.5px var(--caramel); }
.mark { position: relative; display: inline-block; flex: none; width: 13px; height: 13px; border: 1.5px solid currentColor; }
.mark--veg { color: var(--veg); }
.mark--veg::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: currentColor; }
.mark--non { color: var(--nonveg); }
.mark--non::after { content: ""; position: absolute; left: 1.5px; top: 2px; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-bottom: 6px solid currentColor; }
.photo { position: relative; margin-top: 16px; padding: 7px; border: 1.5px solid var(--ink); background: var(--white); box-shadow: 3px 3px 0 var(--ink); }
.photo img, .ph { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.photo img { filter: saturate(.92) contrast(1.04) sepia(.07); }
.photo--tilt { transform: rotate(-1.2deg); }
.ph { position: relative; display: grid; place-items: center; background: repeating-linear-gradient(-45deg, rgba(19,19,17,.09) 0 1px, transparent 1px 7px), var(--white); }
.ph svg { width: 38%; height: auto; aspect-ratio: 120 / 124; }
.ph span { position: absolute; bottom: 10px; font: 700 9.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 720px) {
  .photo { box-shadow: 4px 4px 0 var(--ink); }
  .photo img, .ph { aspect-ratio: 4 / 3; }
  .ph svg { width: 44%; }
}
.desc { margin-top: 14px; font: 700 13px/1.65 var(--body); color: #34332E; }
.stamp { position: absolute; left: 50%; top: 50%; padding: 8px 14px; border: 3px solid var(--stamp); outline: 1.5px solid var(--stamp); outline-offset: 3px; background: rgba(255,254,248,.93); color: var(--stamp); font: 900 20px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transform: translate(-50%, -50%) rotate(-12deg); }

/* portion cells + price bars */
.sub { display: grid; gap: 1.5px; border-top: 1.5px solid var(--ink); background: var(--ink); }
.sub > * { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; background: var(--bg-sheet); }
.sub--1 { grid-template-columns: 1fr; }
.sub--1 .pricebar { border-top: 0; }
.sub--2 { grid-template-columns: 1fr 1fr; }
.sub--3 { grid-template-columns: 1fr 1fr 1fr; }
.var__name { padding: 10px 10px 8px; font: 900 14px/1 var(--display); text-transform: uppercase; }
.var__name small { display: block; margin-top: 5px; font: 700 10.5px/1.35 var(--body); color: var(--muted); text-transform: none; }
@media (min-width: 720px) { .var__name { padding: 12px 12px 10px; font-size: 15.5px; } }
.pricebar { display: flex; height: 40px; border-top: 1.5px solid var(--ink); }
.pricebar .p { flex: 1; display: flex; align-items: center; min-width: 0; overflow: hidden; padding: 0 10px; font: 700 13.5px/1 var(--mono); white-space: nowrap; }
.plus { display: grid; place-items: center; flex: none; width: 40px; border-left: 1.5px solid var(--ink); background: var(--mustard); font: 900 22px/1 var(--display); }
button.plus:hover, .sbtn:hover { background: #FFD457; }
.plus:disabled { background: repeating-linear-gradient(-45deg, rgba(19,19,17,.18) 0 1px, transparent 1px 5px), var(--paper); color: var(--muted); }
.pricebar.in { background: var(--mustard); }
.pricebar.in .p { justify-content: center; padding: 0 2px; font-size: 12px; }
.sbtn { display: grid; place-items: center; flex: none; width: 30px; font: 900 19px/1 var(--display); }
.sbtn:first-child { border-right: 1.5px solid var(--ink); }
.sbtn:last-child { border-left: 1.5px solid var(--ink); }
.pricebar.off .p { color: var(--muted); }
.pricebar.off .plus { background: repeating-linear-gradient(-45deg, rgba(19,19,17,.18) 0 1px, transparent 1px 5px), var(--paper); color: var(--muted); }

/* ---------- how to order, about, hours, delivery, footer ---------- */
.steps { grid-template-columns: 1fr; }
.steps__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; padding: 20px 16px; }
.steps__head h2 { font: 900 30px/1 var(--display); text-transform: uppercase; }
.steps__head p { font: 700 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 16px 20px; }
.step__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--mustard); font: 900 20px/1 var(--display); }
.step h3 { font: 900 17px/1.05 var(--display); text-transform: uppercase; }
.step p { margin-top: 7px; font: 700 12.5px/1.6 var(--body); color: var(--muted); }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps__head { grid-column: 1 / -1; padding: 22px 30px; }
  .steps__head h2 { font-size: 40px; }
  .step { padding: 22px 26px 26px; }
  .step__n { width: 46px; height: 46px; font-size: 22px; }
  .step h3 { font-size: 18px; }
}

.info { grid-template-columns: 1fr; }
.info > div { position: relative; padding: 22px 16px; }
.info h2 { font: 900 22px/1 var(--display); text-transform: uppercase; }
.info p { margin-top: 10px; font: 700 13px/1.7 var(--body); color: #34332E; }
.info .sign { margin-top: 14px; font: 700 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--caramel); }
.info .chalk { background: var(--ink); color: var(--paper); }
.chalk h2 { color: var(--mustard); }
.chalk dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; margin-top: 16px; font: 800 14px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.chalk dd { text-align: right; color: #E9E6DA; }
.chalk .small { margin-top: 18px; font: 700 10px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #B9B5A6; }
.info .deliver { padding-bottom: 100px; }
.deliver ul { display: grid; gap: 8px; margin-top: 14px; list-style: none; font: 700 13px/1.3 var(--body); }
.deliver li::before { content: "✦ "; color: var(--caramel); }
.deliver svg { position: absolute; right: 16px; bottom: 10px; width: 84px; height: 87px; }
@media (min-width: 720px) {
  .info { grid-template-columns: 1.25fr 1fr 1fr; }
  .info > div { padding: 26px 28px; }
  .info h2 { font-size: 23px; }
}

.foot { grid-template-columns: 1fr 1fr; border-bottom: 0; }
.foot > div { padding: 14px 16px; font: 700 10px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot b { display: block; color: var(--ink); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .credit { grid-column: 1 / -1; padding: 12px 16px; font: 700 10px/1.7 var(--mono); letter-spacing: .14em; text-align: center; text-transform: uppercase; color: var(--muted); }
.foot .credit a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot .credit > span { white-space: nowrap; }
.foot .credit .sep { margin: 0 10px; color: var(--caramel); }
@media (max-width: 719px) {
  .foot .credit > span { display: block; }
  .foot .credit .sep { display: none; }
}
@media (min-width: 720px) { .foot { grid-template-columns: repeat(4, 1fr); } .foot > div { padding: 14px 18px; } }

/* ---------- floating "your order" bar ---------- */
.orderbar { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--ink); background: var(--mustard); box-shadow: 4px 4px 0 var(--ink); font: 800 13.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-align: left; animation: rise .25s ease-out; }
.orderbar b { margin-left: auto; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
@media (min-width: 720px) { .orderbar { left: auto; right: 28px; bottom: 28px; width: 380px; } }

/* ---------- order drawer ---------- */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(460px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg-paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.drawer[open] { animation: slide-in .28s ease-out; }
.drawer::backdrop { background: rgba(19,19,17,.55); }
@keyframes slide-in { from { transform: translateX(100%); } }
@media (min-width: 720px) { .drawer { border-left: 2px solid var(--ink); } }
.drawer__in { display: flex; flex-direction: column; min-height: 100%; padding-bottom: 24px; }
.drawer__top { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 16px; border-bottom: 1.5px solid var(--ink); background: var(--bg-paper); font: 700 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.drawer__top h2 { font: 900 17px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.drawer__close { justify-self: start; padding: 6px 0; font: 700 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.drawer__top > span { text-align: right; }

.view-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 48px 24px; text-align: center; }
.view-empty svg { width: 110px; height: 114px; }
.view-empty h3 { font: 900 24px/1 var(--display); text-transform: uppercase; }
.view-empty p { font: 700 13px/1.6 var(--body); color: var(--muted); }

/* guest-check receipt */
.check { position: relative; margin: 24px 14px 0; padding: 20px 16px 16px; border: 1.5px solid var(--ink); border-top: 0; background: var(--white); box-shadow: 4px 4px 0 var(--ink); font-family: var(--mono); }
.check::before { content: ""; position: absolute; left: -1.5px; right: -1.5px; top: -7px; height: 7px; background: radial-gradient(circle at 5px 7px, var(--white) 4.6px, var(--ink) 4.7px 5.9px, transparent 6px) 0 0 / 10px 7px repeat-x; }
.check__brand { text-align: center; font: 900 26px/1 var(--display); letter-spacing: .06em; }
.check__meta { margin-top: 8px; text-align: center; font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.check__items { margin-top: 14px; list-style: none; border-top: 1.5px dashed var(--ink); }
.check__items li { display: grid; grid-template-columns: 26px 1fr auto; column-gap: 6px; padding: 11px 0; border-bottom: 1px dashed var(--rule); font-size: 12.5px; line-height: 1.35; }
.check__items small { display: block; margin-top: 2px; font-size: 10.5px; color: var(--muted); }
.check__items .pr { font-weight: 700; }
.mini { grid-column: 2 / 4; justify-self: start; display: inline-flex; margin-top: 8px; border: 1.5px solid var(--ink); background: var(--white); }
.mini button { display: grid; place-items: center; width: 32px; height: 28px; font: 900 16px/1 var(--display); }
.mini button:hover { background: #FFF1C7; }
.mini b { display: grid; place-items: center; width: 30px; border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); background: var(--mustard); font: 800 12px/1 var(--display); }
.sum { display: grid; gap: 7px; margin-top: 10px; font-size: 12px; text-transform: uppercase; }
.sum p { display: flex; justify-content: space-between; }
.sum .hint { justify-content: center; padding: 6px; border: 1px dashed var(--caramel); background: repeating-linear-gradient(-45deg, rgba(246,194,50,.35) 0 6px, transparent 6px 12px); color: var(--brown); font-size: 10px; letter-spacing: .08em; text-align: center; }
.sum .total { margin-top: 4px; padding-top: 9px; border-top: 3px double var(--ink); font: 700 19px/1 var(--mono); }

/* checkout form */
.paused-note { margin: 16px 14px 0; padding: 12px 14px; border: 1.5px solid var(--stamp); background: #FBEAE6; color: var(--stamp); font: 700 13px/1.4 var(--body); }
.order-form { display: grid; gap: 14px; padding: 22px 14px 8px; }
.fl { display: grid; gap: 6px; min-width: 0; border: 0; }
.fl > label:not(.radio), .fl legend { font: 700 10px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.opt { color: var(--muted); letter-spacing: .08em; text-transform: none; }
.inp { width: 100%; padding: 11px 12px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink); font: 700 16px/1.35 var(--body); appearance: none; }
textarea.inp { min-height: 66px; resize: vertical; }
select.inp { padding-right: 34px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23131311' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px; }
.inp::placeholder { color: #9A978D; }
.inp[aria-invalid="true"] { border-color: var(--stamp); box-shadow: inset 0 0 0 1px var(--stamp); }
.err { font: 700 12px/1.4 var(--body); color: var(--stamp); }
.hint { font: 700 12px/1.45 var(--body); color: var(--brown); }
.two { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 480px) { .two { grid-template-columns: 1.3fr 1fr; gap: 10px; } }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); }
.seg label { position: relative; }
.seg input, .radio input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg span { display: block; padding: 13px; background: var(--white); font: 800 12.5px/1 var(--display); letter-spacing: .16em; text-align: center; text-transform: uppercase; cursor: pointer; }
.seg label + label span { border-left: 1.5px solid var(--ink); }
.seg input:checked + span { background: var(--mustard); }
.seg input:focus-visible + span, .radio input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.pay { display: block; }
.pay legend { margin-bottom: 6px; }
.radio { position: relative; display: block; }
.radio + .radio { margin-top: 8px; }
.radio span { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid var(--ink); background: var(--white); font: 700 14px/1.2 var(--body); cursor: pointer; }
.radio span::before { content: ""; flex: none; width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; }
.radio input:checked + span { background: #FFF6D6; }
.radio input:checked + span::before { background: radial-gradient(var(--ink) 0 3.5px, transparent 4px); }
.remember { display: flex; align-items: center; gap: 10px; font: 700 12px/1.3 var(--body); color: var(--muted); }
.remember input { width: 18px; height: 18px; accent-color: var(--ink); }
.fine { font: 700 11px/1.55 var(--body); color: var(--muted); text-align: center; }

/* order sent + pay */
.sent { margin: 24px 14px 0; padding: 22px 18px 18px; border: 1.5px solid var(--ink); background: var(--white); box-shadow: 4px 4px 0 var(--ink); }
.stamp--ok { position: static; display: inline-block; border-color: var(--veg); outline-color: var(--veg); background: transparent; color: var(--veg); transform: rotate(-6deg); }
.stamp--ok:focus-visible { outline: 1.5px solid var(--veg); }
.sent .no { margin-top: 16px; font: 700 10.5px/1.3 var(--mono); letter-spacing: .14em; color: var(--muted); }
.next { display: grid; gap: 12px; margin-top: 16px; list-style: none; counter-reset: step; }
.next li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font: 800 14px/1.3 var(--display); }
.next li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 50%; font: 900 13px/1 var(--display); }
.next li.done::before { content: "✓"; background: var(--ink); color: var(--mustard); }
.next small { display: block; margin-top: 3px; font: 700 11.5px/1.4 var(--body); color: var(--muted); }
.paybox { margin: 18px 14px 0; padding: 18px 16px; border: 1.5px solid var(--ink); background: var(--bg-sheet); text-align: center; }
.or { margin: 16px 0 12px; font: 700 9.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.or::before { content: "— "; }
.or::after { content: " —"; }
.qr { width: 170px; height: 170px; margin: 0 auto; padding: 10px; border: 1.5px solid var(--ink); background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.qr svg { width: 100%; height: 100%; }
.upi { display: flex; margin-top: 18px; border: 1.5px solid var(--ink); background: var(--white); }
.upi span { flex: 1; min-width: 0; overflow: hidden; padding: 11px 12px; font: 700 13px/1 var(--mono); text-align: left; text-overflow: ellipsis; }
.upi button { padding: 0 14px; border-left: 1.5px solid var(--ink); background: var(--mustard); font: 800 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.apps { margin-top: 12px; font: 700 9.5px/1.5 var(--mono); letter-spacing: .1em; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .pay-app, .or-word { display: none; } /* desktop: scan the QR with your phone instead */
  .paybox .or { margin-top: 0; }
}
.retry { margin: 16px 14px 0; text-align: center; font: 700 12px/1.4 var(--body); color: var(--muted); }
.retry a { color: var(--ink); }
.sent-actions { margin: 16px 14px 0; }
.bye { display: flex; align-items: center; gap: 12px; margin: 16px 14px 0; padding: 12px 14px; border: 1.5px dashed var(--ink); }
.bye svg { flex: none; width: 70px; height: 72px; }
.bye p { font: 900 15px/1.15 var(--display); text-transform: uppercase; }
.bye small { display: block; margin-top: 4px; font: 700 11px/1.4 var(--body); text-transform: none; color: var(--muted); }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); padding: 12px 16px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--mustard); font: 700 12.5px/1.4 var(--body); transform: translateX(-50%); }
