/* ===== The Momo Club — animated ordering menu ===== */
:root {
  --night: #1c0f0c; --maroon: #5b1a17; --maroon-2: #7a2520; --wine: #3a100e;
  --gold: #d9a441; --gold-2: #f3d38b;
  --paper: #fbf4e4; --paper-2: #f3e7cd; --card: #fffdf8;
  --ink: #2e1c15; --muted: #7d6656; --line: #eadcc1;
  --veg: #1f8a3b; --nonveg: #b3261e; --accent: #c2410c;
  --spring: cubic-bezier(.2, .9, .25, 1.2);
  --ease: cubic-bezier(.65, 0, .35, 1);
  --safe-b: env(safe-area-inset-bottom);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
img { user-select: none; -webkit-user-drag: none; }

/* ---------- shared bits ---------- */
.dot { display: inline-block; flex: none; width: 13px; height: 13px; border: 1.6px solid; border-radius: 3px; position: relative; vertical-align: -1px; }
.dot::after { content: ""; position: absolute; inset: 2.2px; border-radius: 50%; background: currentColor; }
.dot.veg { color: var(--veg); } .dot.nonveg { color: var(--nonveg); }
.x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0,0,0,.06); font-size: 24px; line-height: 1; display: grid; place-items: center; }
.kicker { margin: 0; text-transform: uppercase; letter-spacing: .24em; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.badge { display: inline-block; margin: 4px 6px 0 0; font-size: 10.5px; font-weight: 700; color: #8a5a00; background: #fbe8bf; padding: 2px 8px; border-radius: 999px; }
.badge.out { color: #fff; background: var(--nonveg); }
.badge.new { color: var(--night); background: var(--gold); }

.steam { position: absolute; left: 50%; top: 0; width: 60px; height: 50px; transform: translateX(-50%); pointer-events: none; z-index: 2; }
.steam i { position: absolute; bottom: 0; width: 10px; height: 36px; border-radius: 50%; opacity: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.95), rgba(255,255,255,0) 70%); filter: blur(3px); animation: rise 3.2s ease-out infinite; }
.steam i:nth-child(1) { left: 12px; } .steam i:nth-child(2) { left: 26px; animation-delay: 1.1s; height: 42px; } .steam i:nth-child(3) { left: 40px; animation-delay: 2.1s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(10px) scaleX(1); } 25% { opacity: .8; } 100% { opacity: 0; transform: translateY(-40px) scaleX(1.7); } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }

/* ================= INTRO ================= */
.intro { position: fixed; inset: 0; z-index: 100; overflow: hidden; display: grid; place-items: center; perspective: 1400px;
  background: radial-gradient(900px 600px at 50% 45%, #5b1d16 0%, #2a110d 60%, #160806 100%); }
.intro.gone { display: none; }
.floaters img { position: absolute; width: calc(70px + var(--i) * 6px); opacity: .55; filter: blur(calc(var(--i) * .25px)) drop-shadow(0 10px 14px rgba(0,0,0,.4));
  animation: drift calc(14s + var(--i) * 1.3s) ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.7s); }
.floaters img:nth-child(1) { left: 4%; top: 8%; } .floaters img:nth-child(2) { right: 6%; top: 12%; }
.floaters img:nth-child(3) { left: 8%; bottom: 14%; } .floaters img:nth-child(4) { right: 4%; bottom: 10%; }
.floaters img:nth-child(5) { left: 40%; top: 2%; } .floaters img:nth-child(6) { left: -3%; top: 44%; }
.floaters img:nth-child(7) { right: -2%; top: 46%; } .floaters img:nth-child(8) { left: 30%; bottom: 2%; }
.floaters img:nth-child(9) { right: 28%; top: 26%; opacity: .3; } .floaters img:nth-child(10) { left: 22%; top: 24%; opacity: .3; }
@keyframes drift { 0% { transform: translate(0,0) rotate(-12deg); } 50% { transform: translate(14px,-22px) rotate(8deg); } 100% { transform: translate(-10px,18px) rotate(-4deg); } }

.card-stage { perspective: 1400px; }
.card3d { position: relative; width: min(82vw, 340px); aspect-ratio: 3 / 4.4; transform-style: preserve-3d;
  animation: cardEnter 1.4s var(--spring) both; }
@keyframes cardEnter { 0% { opacity: 0; transform: translateY(80px) rotateX(70deg) rotateZ(-8deg) scale(.6); } 60% { opacity: 1; } 100% { transform: none; } }
.card3d::before { content: ""; position: absolute; inset: -30px; border-radius: 40px; background: radial-gradient(closest-side, rgba(217,164,65,.45), transparent); filter: blur(20px); animation: glow 3s ease-in-out infinite; z-index: -1; }
@keyframes glow { 50% { opacity: .5; transform: scale(.95); } }
.card-inside, .card-cover { position: absolute; inset: 0; border-radius: 10px 22px 22px 10px; }
.card-inside { background: radial-gradient(circle at 70% 20%, #fff, transparent 60%), var(--paper); display: grid; place-content: center; text-align: center;
  box-shadow: inset 18px 0 30px -18px rgba(90,55,20,.4), 0 30px 60px rgba(0,0,0,.5); }
.ci-kicker { margin: 0; letter-spacing: .3em; text-transform: uppercase; font-size: 11px; color: var(--muted); }
.ci-big { margin: 8px 0 14px; font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: 40px; color: var(--maroon); }
.ci-dots { display: flex; gap: 8px; justify-content: center; }
.ci-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: bounce .9s ease-in-out infinite; }
.ci-dots i:nth-child(2) { animation-delay: .15s; } .ci-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-8px); } }
.card-cover { transform-origin: left center; transition: transform 1.1s var(--ease), box-shadow 1.1s; backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px; color: var(--gold-2);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.1), transparent 45%), repeating-linear-gradient(115deg, rgba(0,0,0,.05) 0 3px, transparent 3px 7px), linear-gradient(160deg, var(--maroon-2), var(--maroon) 55%, #3e100e);
  box-shadow: inset 0 0 0 9px rgba(0,0,0,.12), inset 0 0 0 10px rgba(217,164,65,.6), inset 0 0 0 15px transparent, inset 0 0 0 16px rgba(217,164,65,.3), inset 8px 0 18px rgba(0,0,0,.45), 0 30px 60px rgba(0,0,0,.55); }
.intro.opening .card-cover { transform: rotateY(-160deg); box-shadow: 0 0 0 rgba(0,0,0,0); }
.intro.opening .card3d { animation: none; transform: translateX(14%); transition: transform 1.1s var(--ease); }
.intro.zoom .card3d { transform: translateX(14%) scale(4); opacity: 0; transition: transform .8s cubic-bezier(.7,0,.84,0), opacity .6s .2s; }
.intro.zoom { opacity: 0; transition: opacity .5s .45s; }
.intro.zoom .floaters img { opacity: 0; transition: opacity .3s; }
.flags { position: absolute; top: 24px; left: 30px; right: 30px; height: 14px; border-top: 1.5px solid rgba(217,164,65,.7);
  background: repeating-linear-gradient(90deg, #2f6fb5 0 16px, transparent 16px 21px, #f4efe4 21px 37px, transparent 37px 42px, #c62f27 42px 58px, transparent 58px 63px, #2e9152 63px 79px, transparent 79px 84px, #e9b730 84px 100px, transparent 100px 105px);
  animation: flutter 3s ease-in-out infinite; transform-origin: top; }
@keyframes flutter { 50% { transform: skewX(4deg) scaleY(.85); } }
.medallion { position: relative; width: 132px; height: 132px; border-radius: 50%; margin-bottom: 14px; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #fff6e0, #f3d9a6 70%);
  box-shadow: 0 0 0 4px #5b1a17, 0 0 0 6px var(--gold), 0 0 0 12px rgba(217,164,65,.18), 0 16px 28px rgba(0,0,0,.45); }
.medallion img { width: 128px; animation: floaty 4s ease-in-out infinite; margin-top: -10px; filter: drop-shadow(0 8px 8px rgba(60,20,5,.35)); }
.medallion .steam { top: -8px; }
.cover-kicker { margin: 0; text-transform: uppercase; letter-spacing: .35em; font-size: 10.5px; opacity: .8; }
.shimmer { margin: 8px 0 4px; font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: clamp(34px, 10vw, 44px); line-height: .98;
  background: linear-gradient(100deg, #a87420 0%, #f6dc9c 30%, #fffbe8 45%, #f6dc9c 55%, #d9a441 75%, #a87420 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 3.5s linear infinite; filter: drop-shadow(0 2px 0 rgba(0,0,0,.45)); }
@keyframes shine { from { background-position: 120% 0; } to { background-position: -130% 0; } }
.cover-tag { margin: 6px 0 0; font-size: 13px; color: #f0dcb5; }
.cover-table { margin: 10px 0 0; font-size: 12.5px; border: 1px solid rgba(217,164,65,.6); padding: 3px 12px; border-radius: 999px; }
.open-btn { margin-top: 20px; border: 0; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--night);
  background: linear-gradient(180deg, #f6dc9c, #d9a441); box-shadow: 0 6px 0 #8f611b, 0 12px 24px rgba(0,0,0,.4); transition: transform .15s, box-shadow .15s;
  position: relative; overflow: hidden; }
.open-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.7) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 2.6s 1.4s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(120%); } }
.open-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #8f611b, 0 6px 12px rgba(0,0,0,.4); }
.open-btn.wide { width: 100%; margin-top: 18px; }
.intro-hint { position: absolute; bottom: calc(22px + var(--safe-b)); margin: 0; color: #e8cf9e; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; animation: bounce 2s ease-in-out infinite; }

/* ================= APP ================= */
.app { max-width: 1040px; margin: 0 auto; padding-bottom: calc(110px + var(--safe-b)); min-height: 100vh; }
body:not(.app-on) .app { visibility: hidden; }
.app-on .app > * { animation: appIn .7s var(--spring) backwards; }
.app-on .app > *:nth-child(2) { animation-delay: .08s; } .app-on .app > *:nth-child(3) { animation-delay: .16s; } .app-on .app > *:nth-child(4) { animation-delay: .24s; }
@keyframes appIn { from { opacity: 0; transform: translateY(30px); } }

.hero { position: relative; color: #fff; padding: calc(12px + env(safe-area-inset-top)) 18px 22px; border-radius: 0 0 28px 28px; overflow: hidden;
  background: radial-gradient(circle at 85% 30%, rgba(217,164,65,.35), transparent 40%), linear-gradient(160deg, var(--maroon-2), var(--wine)); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .08; background: repeating-radial-gradient(circle at 0 0, transparent 0 18px, #f3d38b 18px 19px); }
.appbar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: Fraunces, serif; font-weight: 700; font-size: 17px; color: var(--gold-2); }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217,164,65,.25); }
.bar-right { display: flex; align-items: center; gap: 8px; }
.table-chip { background: var(--gold); color: var(--night); font-weight: 700; font-size: 12.5px; padding: 5px 11px; border-radius: 999px; }
.track-pill { display: flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero-row { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.greet { margin: 0; font-size: 14px; color: #f0dcb5; }
.crave { margin: 4px 0 0; font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: clamp(27px, 7.6vw, 38px); line-height: 1.05; }
.crave span { display: block; animation: wordUp .8s var(--spring) backwards; }
.crave span:nth-child(2) { animation-delay: .12s; color: var(--gold-2); }
@keyframes wordUp { from { opacity: 0; transform: translateY(24px) rotateX(-60deg); } }
.hero-dish { position: relative; flex: none; width: 118px; height: 118px; margin: -10px -6px -10px 0; }
.hero-dish img { width: 100%; animation: floaty 4.5s ease-in-out infinite; filter: drop-shadow(0 14px 14px rgba(0,0,0,.45)); }
.tools { position: relative; display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 0 12px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 0; font: inherit; font-size: 15px; background: transparent; color: var(--ink); }
.veg-switch { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #fff; user-select: none; cursor: pointer; }
.veg-switch input { position: absolute; opacity: 0; pointer-events: none; }
.track { width: 40px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.22); position: relative; transition: background .25s; }
.knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--spring); box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.veg-switch input:checked + .track { background: var(--veg); }
.veg-switch input:checked + .track .knob { transform: translateX(16px); }
.veg-switch input:focus-visible + .track { outline: 2px solid var(--gold); outline-offset: 2px; }

/* featured coverflow */
.featured { margin-top: 18px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 18px; }
.sec-head h3 { margin: 0; font-family: Fraunces, serif; font-size: 20px; }
.swipe-note { font-size: 12px; color: var(--muted); animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.flow { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 18px 26px; perspective: 900px; scrollbar-width: none; }
.flow::-webkit-scrollbar { display: none; }
.fcard { flex: none; width: 168px; scroll-snap-align: center; border: 0; text-align: left; padding: 0; background: var(--card); border-radius: 22px;
  box-shadow: 0 14px 28px -10px rgba(91,26,23,.35), 0 0 0 1px var(--line); transform-style: preserve-3d; will-change: transform; transition: box-shadow .3s; }
.fcard .fc-art { position: relative; height: 132px; border-radius: 22px 22px 0 0; background: radial-gradient(circle at 50% 65%, rgba(255,255,255,.6), transparent 60%), var(--tone); display: grid; place-items: center; overflow: hidden; }
.fcard .fc-art img { width: 150px; margin-top: -12px; filter: drop-shadow(0 10px 10px rgba(80,40,10,.3)); transition: transform .4s var(--spring); }
.fcard:hover .fc-art img { transform: scale(1.08) rotate(-4deg); }
.fcard .fc-art img.is-photo { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.fcard .fc-body { padding: 10px 12px 12px; }
.fcard h4 { margin: 0; font-size: 14.5px; line-height: 1.25; }
.fcard .from { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13px; color: var(--muted); }
.fcard .from b { color: var(--maroon); font-size: 15px; }
.fcard .plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: #fff; font-size: 18px; font-weight: 700; }

/* category tabs */
.tabs { position: sticky; top: 0; z-index: 30; background: rgba(251,244,228,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tabs-inner { position: relative; display: flex; gap: 4px; overflow-x: auto; padding: 10px 14px; scrollbar-width: none; scroll-behavior: smooth; }
.tabs-inner::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 13px 6px 6px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--muted); transition: color .3s; }
.tab img { width: 28px; height: 28px; border-radius: 50%; background: var(--tone); padding: 1px; }
.tab.on { color: #fff; }
.tab-ink { position: absolute; z-index: 0; top: 10px; left: 0; height: calc(100% - 20px); border-radius: 999px; background: var(--maroon);
  box-shadow: 0 6px 14px -4px rgba(91,26,23,.5); transition: transform .45s var(--spring), width .45s var(--spring); }

/* sections & dish cards */
.sections { padding: 4px 14px 0; }
.cat { scroll-margin-top: 64px; padding-top: 18px; }
.cat-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 12px; flex-wrap: wrap; }
.cat-head h3 { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: 25px; color: var(--maroon); }
.cat-head .count { font-size: 12px; color: var(--muted); }
.chip-note { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); background: rgba(217,164,65,.18); padding: 3px 10px; border-radius: 999px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
@media (max-width: 400px) { .grid { grid-template-columns: 1fr; } }

.dish { position: relative; display: flex; gap: 14px; padding: 12px; border-radius: 22px; background: var(--card);
  box-shadow: 0 10px 24px -14px rgba(91,26,23,.35), 0 0 0 1px var(--line); transform-style: preserve-3d;
  opacity: 0; transform: translateY(36px) rotateX(18deg); transform-origin: top; transition: opacity .6s ease, transform .7s var(--spring), box-shadow .3s; }
.dish.in { opacity: 1; transform: none; }
.dish.soldout { filter: grayscale(.8); }
.dish.soldout .add { pointer-events: none; }
.d-art { position: relative; flex: none; width: 104px; height: 104px; border: 0; padding: 0; border-radius: 20px; display: grid; place-items: center; overflow: visible;
  background: radial-gradient(circle at 50% 70%, rgba(255,255,255,.6), transparent 60%), var(--tone); }
.d-art img { width: 122px; margin-top: -16px; filter: drop-shadow(0 8px 8px rgba(80,40,10,.3)); transition: transform .45s var(--spring); }
.d-art img.is-photo { width: 104px; height: 104px; margin: 0; border-radius: 20px; object-fit: cover; filter: none; }
.dish:hover .d-art img:not(.is-photo) { transform: scale(1.08) rotate(-5deg) translateY(-3px); }
.d-art .steam { top: -10px; }
.d-art .zoom { position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.85); display: grid; place-items: center; font-size: 12px; color: var(--maroon); }
.d-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.d-body h4 { margin: 2px 0 0; display: flex; gap: 7px; align-items: flex-start; font-size: 15.5px; line-height: 1.3; }
.d-body h4 .dot { margin-top: 3px; }
.d-desc { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vchips { position: relative; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.vchip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 9px 4px 6px; font-size: 11.5px; font-weight: 600; color: var(--muted);
  transition: background .25s, color .25s, border-color .25s, transform .2s var(--spring); }
.vchip .dot { width: 10px; height: 10px; } .vchip .dot::after { inset: 1.6px; }
.vchip.on { background: var(--maroon); border-color: var(--maroon); color: #fff; transform: scale(1.04); }
.vchip.on .dot { background: #fff; }
.vchip .q { display: none; min-width: 16px; height: 16px; border-radius: 8px; background: var(--gold); color: var(--night); font-size: 10px; place-items: center; padding: 0 4px; }
.vchip.has .q { display: inline-grid; }
.d-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 800; font-size: 17px; color: var(--maroon); display: inline-block; }
.price.tick { animation: tick .4s var(--spring); }
@keyframes tick { 0% { transform: translateY(-8px); opacity: 0; } }

.add { position: relative; height: 38px; min-width: 92px; border-radius: 12px; border: 1.5px solid var(--maroon); background: #fff; color: var(--maroon); font-weight: 800; font-size: 14px; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 4px 10px -4px rgba(91,26,23,.4); transition: transform .15s; }
.add:active { transform: scale(.94); }
.add .plus-s { position: absolute; top: 1px; right: 6px; font-size: 13px; }
.stepper { height: 38px; min-width: 92px; border-radius: 12px; background: var(--maroon); color: #fff; display: flex; align-items: center; justify-content: space-between; overflow: hidden;
  box-shadow: 0 6px 14px -6px rgba(91,26,23,.7); animation: popIn .35s var(--spring); }
.stepper button { width: 32px; height: 100%; border: 0; background: none; color: #fff; font-size: 20px; font-weight: 700; }
.stepper button:active { background: rgba(255,255,255,.15); }
.stepper b { min-width: 22px; text-align: center; font-size: 15px; }
.stepper b.bump { animation: tick .3s var(--spring); }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } }
.closed-note { font-size: 12px; color: var(--muted); }

.empty { text-align: center; color: var(--muted); padding: 40px 20px; }
.foot { text-align: center; color: var(--muted); font-size: 12.5px; padding: 30px 20px 0; }
.foot p { margin: 4px 0; }

/* veg-only filter */
.veg-only [data-veg="0"] { display: none !important; }

/* ---------- cart bar ---------- */
.cartbar { position: fixed; z-index: 60; left: 50%; bottom: calc(14px + var(--safe-b)); width: min(calc(100% - 24px), 560px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; border: 0; padding: 10px 12px 10px 10px; border-radius: 20px; color: #fff; text-align: left;
  background: linear-gradient(135deg, var(--maroon-2), var(--wine)); box-shadow: 0 18px 40px -10px rgba(58,16,14,.7), 0 0 0 1px rgba(217,164,65,.35);
  animation: barIn .6s var(--spring) backwards; }
@keyframes barIn { from { transform: translate(-50%, 140%); } }
.cartbar.bump { animation: barBump .5s var(--spring); }
@keyframes barBump { 30% { transform: translateX(-50%) scale(1.05); } }
.cb-icon { position: relative; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.cb-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linejoin: round; }
.cb-icon b { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--gold); color: var(--night); font-size: 12px; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--wine); }
.cb-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.cb-text span { font-size: 12px; color: #f0dcb5; }
.cb-text strong { font-size: 17px; }
.cb-cta { font-weight: 700; font-size: 14px; background: var(--gold); color: var(--night); padding: 10px 14px; border-radius: 13px; white-space: nowrap; }

.flyer { position: fixed; z-index: 90; pointer-events: none; border-radius: 50%; filter: drop-shadow(0 10px 12px rgba(0,0,0,.35)); }

/* ---------- bottom sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 80; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20,8,5,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: absolute; left: 50%; bottom: 0; width: min(100%, 600px); max-height: 92dvh; transform: translateX(-50%); display: flex; flex-direction: column;
  background: var(--paper); border-radius: 26px 26px 0 0; box-shadow: 0 -20px 50px rgba(0,0,0,.35); animation: sheetUp .5s var(--spring) backwards; }
@keyframes sheetUp { from { transform: translate(-50%, 100%); } }
.sheet-wrap.closing .sheet { animation: sheetDown .3s ease-in both; }
.sheet-wrap.closing .sheet-backdrop { animation: fade .3s reverse both; }
@keyframes sheetDown { to { transform: translate(-50%, 100%); } }
.grab { padding: 10px 0 2px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.grab span { width: 42px; height: 5px; border-radius: 3px; background: #d8c6a4; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 18px 8px; }
.sheet-head h3 { margin: 0; font-family: Fraunces, serif; font-size: 24px; color: var(--maroon); }
.sheet-body { overflow-y: auto; padding: 0 18px 10px; overscroll-behavior: contain; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); animation: lineIn .4s var(--spring) both; }
@keyframes lineIn { from { opacity: 0; transform: translateX(30px); } }
.line.out { animation: lineOut .3s ease-in both; }
@keyframes lineOut { to { opacity: 0; transform: translateX(-40px); height: 0; padding: 0; } }
.line .l-art { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--tone); display: grid; place-items: center; overflow: hidden; }
.line .l-art img { width: 60px; margin-top: -6px; }
.line .l-art img.is-photo { width: 50px; height: 50px; object-fit: cover; margin: 0; }
.line .l-txt { flex: 1; min-width: 0; }
.line .l-txt b { display: flex; gap: 6px; align-items: center; font-size: 14.5px; }
.line .l-txt small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.line .l-amt { font-weight: 700; min-width: 56px; text-align: right; }
.line .stepper { min-width: 86px; height: 34px; animation: none; }
.add-more { border: 0; background: none; color: var(--maroon); font-weight: 700; padding: 12px 0 4px; }
.fields { display: grid; gap: 12px; margin-top: 12px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217,164,65,.2); }
.field.bad input { border-color: var(--nonveg); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.bill { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.bill div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--muted); }
.bill .grand { color: var(--ink); font-weight: 800; font-size: 17px; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.pay-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.sheet-foot { padding: 10px 18px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--paper); }
.form-error { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #fdecea; color: #8c1d16; font-size: 13.5px; }
.place { position: relative; width: 100%; height: 56px; border: 0; border-radius: 16px; color: var(--night); font-weight: 800; font-size: 16px; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
  background: linear-gradient(180deg, #f6dc9c, #d9a441); box-shadow: 0 6px 0 #8f611b, 0 12px 24px rgba(0,0,0,.2); transition: transform .15s, box-shadow .15s; }
.place:active { transform: translateY(4px); box-shadow: 0 2px 0 #8f611b; }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 3s 1s ease-in-out infinite; }
.place .spinner { display: none; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px; border-radius: 50%; border: 3px solid rgba(28,15,12,.25); border-top-color: var(--night); animation: spin .7s linear infinite; }
.place.busy .pl-text, .place.busy .pl-amt { visibility: hidden; }
.place.busy .spinner { display: block; }
.place:disabled { filter: grayscale(.6); opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- dish modal ---------- */
.dish-modal { position: fixed; inset: 0; z-index: 85; display: grid; place-items: end center; perspective: 1200px; }
@media (min-width: 640px) { .dish-modal { place-items: center; } }
.dm-backdrop { position: absolute; inset: 0; background: rgba(20,8,5,.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: fade .3s both; }
.dm-card { position: relative; width: min(100%, 440px); max-height: 92dvh; overflow: auto; border-radius: 28px 28px 0 0; background: var(--paper);
  box-shadow: 0 -10px 60px rgba(0,0,0,.5); animation: cardIn .6s var(--spring) backwards; transform-style: preserve-3d; padding-bottom: var(--safe-b); }
@media (min-width: 640px) { .dm-card { border-radius: 28px; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(80px) rotateX(50deg) scale(.85); } }
.dish-modal.closing .dm-card { animation: cardOut .28s ease-in both; }
.dish-modal.closing .dm-backdrop { animation: fade .28s reverse both; }
@keyframes cardOut { to { opacity: 0; transform: translateY(60px) rotateX(-30deg) scale(.9); } }
.dm-x { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(255,255,255,.85); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.dm-art { position: relative; height: 250px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 60%, rgba(255,255,255,.55), transparent 60%), var(--tone, #fbdcc0); }
.dm-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(transparent, var(--paper)); }
.rays { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: repeating-conic-gradient(rgba(255,255,255,.25) 0 10deg, transparent 10deg 20deg); animation: spin 40s linear infinite; }
.dm-art img { position: relative; width: 240px; margin-top: -16px; filter: drop-shadow(0 16px 14px rgba(80,40,10,.35)); animation: pop .7s .1s var(--spring) backwards; }
.dm-art img.is-photo { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; margin: 0; }
@keyframes pop { from { transform: translateY(40px) scale(.5) rotate(-20deg); opacity: 0; } }
.dm-art .steam { top: 22px; width: 90px; } .dm-art .steam i { width: 14px; height: 52px; }
.dm-body { padding: 4px 22px 22px; }
.dm-body h3 { margin: 6px 0 2px; font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: 29px; line-height: 1.1; color: var(--maroon); }
.dm-desc { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.dm-variants { display: grid; gap: 8px; margin-top: 16px; }
.dm-v { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; text-align: left; transition: border-color .2s, box-shadow .2s, transform .2s var(--spring); }
.dm-v .lbl { flex: 1; } .dm-v b { color: var(--maroon); font-size: 16px; }
.dm-v .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: border-color .2s; }
.dm-v.on { border-color: var(--maroon); box-shadow: 0 6px 16px -8px rgba(91,26,23,.5); transform: scale(1.015); }
.dm-v.on .radio { border-color: var(--maroon); }
.dm-v.on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--maroon); animation: popIn .3s var(--spring); }
.dm-foot { display: flex; gap: 10px; margin-top: 16px; align-items: center; }
.dm-foot .stepper { height: 52px; min-width: 120px; border-radius: 16px; animation: none; }
.dm-foot .stepper button { width: 42px; }
.dm-foot .place { flex: 1; height: 52px; }

/* ---------- order done + tracker ---------- */
.done { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: radial-gradient(circle at 50% 30%, #6b2219, #2a0d0a 70%); animation: fade .4s both; overflow-y: auto; }
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.done-card { position: relative; width: min(100%, 420px); background: var(--paper); border-radius: 28px; padding: 26px 22px 22px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: cardIn .7s .1s var(--spring) backwards; }
.done-x { position: absolute; top: 12px; right: 12px; }
.check { width: 84px; height: 84px; margin: -64px auto 8px; display: block; background: var(--veg); border-radius: 50%; box-shadow: 0 0 0 8px var(--paper), 0 12px 30px rgba(31,138,59,.5); animation: popIn .6s .3s var(--spring) backwards; }
.check circle { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2; }
.check path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .8s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { margin: 4px 0 0; font-family: Fraunces, serif; font-weight: 900; font-size: 30px; color: var(--maroon); }
.done-sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.done-sub b { color: var(--ink); font-size: 16px; letter-spacing: .08em; }
.tracker { list-style: none; margin: 22px 0 0; padding: 0; text-align: left; position: relative; }
.tracker::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; background: var(--line); border-radius: 2px; }
.tracker::after { content: ""; position: absolute; left: 21px; top: 22px; width: 3px; height: calc(var(--p, 0) * (100% - 44px)); background: linear-gradient(var(--veg), #4ade80); border-radius: 2px; transition: height .9s var(--ease); }
.tracker li { position: relative; display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 8px 0; opacity: .45; transition: opacity .5s; }
.tracker .ti { grid-row: span 2; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: #fff; border: 3px solid var(--line); transition: border-color .4s, transform .4s var(--spring), box-shadow .4s; }
.tracker b { align-self: end; font-size: 15px; } .tracker small { color: var(--muted); font-size: 12.5px; }
.tracker li.ok { opacity: 1; } .tracker li.ok .ti { border-color: var(--veg); }
.tracker li.now { opacity: 1; } .tracker li.now .ti { border-color: var(--gold); transform: scale(1.12); box-shadow: 0 0 0 6px rgba(217,164,65,.25); animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 12px rgba(217,164,65,0); } }
.cancelled { margin: 16px 0 0; padding: 10px; border-radius: 12px; background: #fdecea; color: #8c1d16; font-weight: 600; }
.done-items { margin-top: 16px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.done-items summary { cursor: pointer; font-weight: 600; }
.done-items ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13.5px; }
.done-items li { display: flex; justify-content: space-between; padding: 4px 0; border-top: 1px dashed var(--line); }
.done-items li.tot { font-weight: 800; }

.toast { position: fixed; z-index: 99; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -150%); max-width: calc(100% - 30px);
  background: var(--night); color: #fff; padding: 11px 18px; border-radius: 14px; font-weight: 600; font-size: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .45s var(--spring); }
.toast.show { transform: translate(-50%, 0); }

/* desktop niceties */
@media (min-width: 900px) {
  .hero { border-radius: 0 0 36px 36px; padding: 18px 40px 30px; }
  .hero-dish { width: 170px; height: 170px; }
  .sections { padding: 4px 30px 0; }
  .sec-head { padding: 0 30px; } .flow { padding: 14px 30px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
  .dish { opacity: 1; transform: none; }
}
.search { min-width: 0; }
.veg-switch { flex: none; }
