/* T05 App — a delivery app, not a website.
   Lilac-grey ground, white cards, magenta action colour, Red Hat Display. Round everything:
   circular photographs, 24px cards, pill controls. Motion is the thumb's: press, pop, tick. */
:root {
  --bg: #F1EEF6;
  --bg-2: #E6E1EF;
  --bg-card: #FFFFFF;
  --ink: #17132B;
  --ink-soft: #3B3654;
  --ink-muted: #5B5670;
  --line: #DCD6E8;
  --line-bright: #C4BCD6;
  --night: #17132B;              /* the one dark card: kitchen tonight */
  --on-night: #F4F1FA;
  --on-night-soft: #C9C3DC;

  --brand: #C8246A;              /* tenant colour overrides this via brand-tokens.js */
  --brand-ink: #FFFFFF;
  --brand-readable: var(--brand);
  --brand-on-dark: #FF8FBE;
  --wa: #25D366;
  --wa-deep: #0F7A40;            /* white text needs 4.5:1; #128C4A gives 4.31 */

  --font-display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Red Hat Text", "Segoe UI", system-ui, sans-serif;
  --r: 24px; --r-sm: 16px; --r-pill: 99px;
  --tabs-h: 68px;
  --pad: clamp(16px, 4vw, 28px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--tabs-h) + 28px + env(safe-area-inset-bottom)); }
body.wsf-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 3.4vw, 1.7rem); font-weight: 800; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; clip-path: inset(50%); }
.skip:focus { clip-path: none; inset-inline-start: 12px; top: 12px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); }
body.rtl-text :is(h1, h2, h3, h4, p, li, span, b, td, blockquote) { unicode-bidi: plaintext; }
body.no-wa :is(.btn-wa, .mini-wa, .tab-wa) { display: none; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px;
  border-radius: var(--r-pill); border: 0; font-family: var(--font-display); font-weight: 700; text-decoration: none;
  transition: transform .12s ease; }
.btn:active { transform: scale(.96); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa-deep); color: #fff; }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { background: var(--bg-card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-bright); }
.btn.wide { width: 100%; }
.link { background: none; border: 0; min-height: 44px; padding: 8px 12px; color: var(--ink-muted); text-decoration: underline; }

/* ── App bar ── */
.bar { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1240px; margin: 0 auto; padding: 10px var(--pad); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.who { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; margin-inline-end: auto; }
.who img, .who .generated-mark { width: 40px; height: 40px; border-radius: 12px; object-fit: contain; background: var(--bg-card); }
.who b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; line-height: 1.1; }
.who small { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ink-muted); }
.who small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wa-deep); }
.quick { display: flex; gap: 8px; }
.quick a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--bg-card); box-shadow: inset 0 0 0 1.5px var(--line-bright); font-weight: 600; font-size: .92rem; text-decoration: none; }
.lang { display: flex; gap: 4px; background: var(--bg-2); border-radius: var(--r-pill); padding: 3px; }
.lang button { min-height: 40px; min-width: 44px; padding: 4px 12px; border: 0; border-radius: var(--r-pill); background: none; font-weight: 600; font-size: .88rem; }
.lang button[aria-pressed="true"] { background: var(--bg-card); box-shadow: 0 1px 4px rgba(23,19,43,.16); }
@media (max-width: 560px) {
  .quick { order: 3; width: 100%; }
  .quick a { flex: 1; justify-content: center; }
  .quick:not(:has(a:not([hidden]))) { display: none; }
}

/* ── Shell: screens beside the cart ── */
.shell { max-width: 1240px; margin: 0 auto; padding: 16px var(--pad) 0; display: grid; gap: 28px; }
.stack { min-width: 0; display: grid; gap: 22px; align-content: start; }
.view { display: grid; gap: 22px; min-width: 0; }
.block { display: grid; gap: 12px; min-width: 0; }
.lede { color: var(--ink-soft); max-width: 62ch; }
@media (min-width: 1040px) {
  .shell { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .cart { position: sticky; top: 84px; max-height: calc(100vh - 84px - var(--tabs-h) - 40px); overflow: auto; }
}
@media (max-width: 1039px) {
  /* On a phone the cart IS the Table screen. */
  body:not([data-view="table"]) .cart { display: none; }
  body[data-view="table"] .cart { order: -1; }
  body[data-view="table"] .closing { display: none; }
}

/* ── Banner ── */
.banner { position: relative; background: var(--brand); color: var(--brand-ink); border-radius: var(--r); padding: clamp(20px, 4vw, 34px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; overflow: hidden; }
.banner-copy { display: grid; gap: 12px; justify-items: start; }
.banner .from { font-weight: 600; font-size: .92rem; }
.banner h1 { font-size: clamp(1.9rem, 5.6vw, 3.1rem); font-weight: 900; letter-spacing: -.025em; text-wrap: balance; }
.banner .lede { color: inherit; max-width: 46ch; }
.banner .cta { display: flex; flex-wrap: wrap; gap: 10px; }
.banner .btn-wa { background: #fff; color: #0B5C30; }
.banner .btn-wa svg { color: var(--wa-deep); }
.banner .btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.chips-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; font-weight: 600; }
.chips-facts li + li::before { content: ""; }
.banner-dish { position: relative; border: 0; background: none; padding: 0; width: clamp(150px, 26vw, 260px); display: grid; gap: 8px; justify-items: center; color: inherit; }
.banner-dish img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 8px rgba(255,255,255,.18), 0 18px 40px rgba(23,19,43,.35);
  transition: transform .25s ease; }
.banner-dish:hover img { transform: scale(1.04) rotate(3deg); }
.banner-dish span { font-size: .88rem; font-weight: 700; background: #fff; color: #17132B; padding: 4px 12px; border-radius: var(--r-pill); }
@media (max-width: 620px) {
  .banner { grid-template-columns: 1fr; }
  .banner-dish { position: absolute; inset-inline-end: -34px; top: -30px; width: 132px; }
  .banner-dish span { display: none; }
  .banner .from { max-width: calc(100% - 92px); }
  .banner h1 { max-width: calc(100% - 70px); }
}
.how { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2.6vw, 1.15rem); color: var(--ink-soft); padding: 0 4px; }

/* ── Stories row ── */
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.stories::-webkit-scrollbar { display: none; }
.stories button { flex: none; width: 76px; border: 0; background: none; padding: 0; display: grid; gap: 6px; justify-items: center; scroll-snap-align: start; }
.stories :is(img, .noimg) { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); box-shadow: 0 0 0 2.5px var(--brand); transition: transform .15s ease; }
.stories button:active :is(img, .noimg) { transform: scale(.92); }
.stories span:not(.noimg) { font-size: .74rem; font-weight: 600; line-height: 1.15; text-align: center; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.noimg { display: grid; place-items: center; background: var(--bg-2); color: var(--brand-readable); font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; aspect-ratio: 1; border-radius: 50%; }

/* ── Most ordered rail ── */
.rail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sig { flex: none; width: min(74vw, 280px); scroll-snap-align: start; background: var(--bg-card); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; align-content: start; }
.sig .ph { border: 0; background: none; padding: 0; justify-self: center; width: 78%; }
.sig .ph :is(img, .noimg) { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; transition: transform .2s ease; }
.sig .ph:hover img { transform: scale(1.05); }
.sig h3 { font-size: 1.12rem; font-weight: 800; }
.d { color: var(--ink-muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.pr { font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; color: var(--ink); }
.mini-wa { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--wa-deep); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; transition: transform .12s ease; }
.mini-wa:active { transform: scale(.94); }
.mini-wa svg { width: 18px; height: 18px; }

/* ── Kitchen tonight: the one dark card ── */
.tonight { background: var(--night); color: var(--on-night); border-radius: var(--r); padding: clamp(18px, 4vw, 28px); display: grid; gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.stats div { background: #29233F; border-radius: var(--r-sm); padding: 14px; display: grid; gap: 2px; }
.stats b { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.15; }
.stats span { font-size: .84rem; color: var(--on-night-soft); }
.stats .live b::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--wa); margin-inline-end: 8px; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.soldout-line { color: var(--on-night-soft); font-size: .92rem; }
.deals { display: flex; gap: 12px; overflow-x: auto; }
.deals:empty { display: none; }
.deal { flex: none; width: min(70vw, 260px); background: #29233F; border-radius: var(--r-sm); padding: 16px; display: grid; gap: 6px; align-content: start; }
.deal.today { box-shadow: inset 0 0 0 2px var(--brand-on-dark); }
.deal .when { font-size: .82rem; font-weight: 700; color: var(--brand-on-dark); }
.deal h3 { font-size: 1.1rem; }
.deal p { font-size: .9rem; color: var(--on-night-soft); }
.deal .pr { color: var(--on-night); }

/* ── Can't decide? ── */
.decide { background: var(--bg-card); border-radius: var(--r); padding: clamp(18px, 4vw, 26px); }
.asks { display: grid; gap: 10px; }
.ask { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ask > span { width: 92px; font-weight: 700; font-size: .9rem; color: var(--ink-muted); }
.ask button, .cats button, .party button { min-height: 42px; padding: 6px 16px; border-radius: var(--r-pill); border: 0; background: var(--bg); font-weight: 600; font-size: .92rem;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .12s ease, background .12s ease; white-space: nowrap; }
.ask button:active, .cats button:active, .party button:active { transform: scale(.94); }
:is(.ask, .cats, .party) button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.pick { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.pick:empty { display: none; }
.pick .ph { border: 0; background: none; padding: 0; }
.pick .ph :is(img, .noimg) { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; animation: pop .3s cubic-bezier(.2,.9,.3,1.2); }
.pick h3 { font-size: 1.2rem; font-weight: 800; margin: 2px 0 8px; }
.why { font-size: .88rem; color: var(--ink-muted); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ── The menu ── */
.menu { display: grid; gap: 18px; min-width: 0; scroll-margin-top: 76px; }
.menubar { position: sticky; top: 61px; z-index: 20; background: var(--bg); padding: 10px 0 8px; display: grid; gap: 10px; margin: 0 calc(var(--pad) * -1); padding-inline: var(--pad); }
.search input { width: 100%; min-height: 48px; border-radius: var(--r-pill); border: 0; background: var(--bg-card); box-shadow: inset 0 0 0 1.5px var(--line-bright);
  padding: 10px 20px; font: inherit; color: var(--ink); }
.search input::placeholder { color: var(--ink-muted); }
.cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cats::-webkit-scrollbar { display: none; }
.cats button { background: var(--bg-card); flex: none; }
.cats small { font-weight: 600; opacity: .7; margin-inline-start: 2px; }
#grid { display: grid; gap: 26px; }
.cat { display: grid; gap: 12px; }
.cat > h3 { font-size: 1.25rem; font-weight: 800; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.card { background: var(--bg-card); border-radius: var(--r); padding: 14px; display: grid; gap: 6px; align-content: start; grid-template-rows: auto auto 1fr auto auto;
  transition: transform .15s ease, box-shadow .15s ease; min-width: 0; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(23,19,43,.1); }
.card .ph { border: 0; background: none; padding: 0; justify-self: center; width: 82%; max-width: 170px; }
.card .ph :is(img, .noimg) { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; transition: transform .2s ease; }
.card .ph:active img { transform: scale(.94); }
.card h4 { font-size: 1.02rem; font-weight: 800; overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; min-height: 0; }
.tags:empty { display: none; }
.tags span { font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: var(--r-pill); background: var(--bg); color: var(--ink-soft); }
.plus { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--brand); color: var(--brand-ink); font-size: 1.5rem; font-weight: 700; line-height: 1;
  display: grid; place-items: center; transition: transform .15s cubic-bezier(.2,.9,.3,1.4), background .15s ease; }
.plus:active { transform: scale(.82); }
.plus.added { background: var(--wa-deep); color: #fff; font-size: 0; transform: scale(1.12); }
.plus.added::after { content: "✓"; font-size: 1.2rem; }
.soldout .ph { filter: grayscale(1); opacity: .6; }
.out { font-size: .84rem; font-weight: 700; color: var(--ink-muted); }
.noresult { text-align: center; color: var(--ink-muted); padding: 24px 0; }

/* ── Cart ── */
.cart { background: var(--bg-card); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; align-content: start; }
.party { display: flex; gap: 6px; flex-wrap: wrap; }
.party button { min-width: 44px; padding: 6px 10px; }
.budget { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: .9rem; color: var(--ink-muted); }
.budget input { grid-column: 1; width: 100%; accent-color: var(--brand); min-height: 32px; }
.budget b { color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; grid-row: 1 / span 2; grid-column: 2; }
.empty { color: var(--ink-muted); font-size: .92rem; background: var(--bg); border-radius: var(--r-sm); padding: 14px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lines:empty { display: none; }
.lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
.lines .n { font-weight: 600; overflow-wrap: anywhere; }
.lines .q { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border-radius: var(--r-pill); grid-row: span 2; }
.lines .q button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; font-size: 1.2rem; font-weight: 700; }
.lines .q b { min-width: 20px; text-align: center; }
.lines .p { color: var(--ink-muted); font-size: .9rem; }
.sum { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px dashed var(--line-bright); padding-top: 12px; font-weight: 600; }
.sum b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; }
.paynote { font-size: .84rem; color: var(--ink-muted); }
.cart .link { justify-self: center; }

/* ── Maya ── */
.maya { background: var(--bg-card); border-radius: var(--r); padding: clamp(18px, 4vw, 28px); display: grid; gap: 22px; }
@media (min-width: 760px) { .maya { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.maya-copy { display: grid; gap: 14px; justify-items: start; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.promises li { display: grid; gap: 1px; padding-inline-start: 14px; border-inline-start: 3px solid var(--brand); }
.promises span { color: var(--ink-muted); font-size: .92rem; }
.chat { background: #E9E3DA; border-radius: var(--r); padding: 16px; display: grid; gap: 8px; }
.chat p { max-width: 82%; padding: 9px 13px; border-radius: 16px; font-size: .92rem; color: #17132B; }
.chat .me { justify-self: end; background: #D9FDD3; border-end-end-radius: 4px; }
.chat .maya { justify-self: start; background: #fff; border-end-start-radius: 4px; display: block; padding: 9px 13px; }

/* ── Story ── */
.story-wrap { background: var(--bg-card); border-radius: var(--r); padding: clamp(18px, 4vw, 30px); display: grid; gap: 20px; }
@media (min-width: 700px) { .story-wrap:has(.portrait:not([hidden])) { grid-template-columns: 200px 1fr; align-items: start; } }
.portrait { margin: 0; }
.portrait img { width: 100%; max-width: 200px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.story-body { display: grid; gap: 12px; font-size: 1.08rem; color: var(--ink-soft); max-width: 62ch; }
.story-body h3 { font-size: 1.05rem; color: var(--ink); margin-top: 6px; }
.sign { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mosaic:empty { display: none; }
.mosaic button { border: 0; padding: 0; background: var(--bg-2); border-radius: 50%; overflow: hidden; aspect-ratio: 1; transition: transform .15s ease; }
.mosaic button:nth-child(3n+2) { border-radius: var(--r); }
.mosaic button:active { transform: scale(.95); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.quotes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.quote { margin: 0; background: var(--bg-card); border-radius: var(--r); padding: 18px; display: grid; gap: 10px; }
.quote blockquote { margin: 0; }
.quote figcaption { font-weight: 700; font-size: .9rem; }
.stars { color: var(--brand-readable); }
.score { background: var(--night); color: var(--on-night); border-radius: var(--r); padding: 22px; display: grid; justify-items: center; gap: 2px; text-align: center; }
.score b { font-family: var(--font-display); font-size: 3rem; font-weight: 900; line-height: 1; }
.score span { color: #FFC83D; letter-spacing: .12em; }
.score p { color: var(--on-night-soft); font-size: .92rem; }

/* ── Visit ── */
#v-visit .block { background: var(--bg-card); border-radius: var(--r); padding: clamp(18px, 4vw, 26px); justify-items: start; }
#v-visit .block > * { max-width: 100%; }
.addr { font-size: 1.1rem; font-weight: 600; }
.map { width: 100%; justify-self: stretch; }
.map:empty { display: none; }
.map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--r-sm); display: block; }
.two { grid-template-columns: 1fr; gap: 24px !important; }
@media (min-width: 700px) { .two { grid-template-columns: 1.2fr .8fr; } }
.two > div { display: grid; gap: 10px; width: 100%; align-content: start; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: end; font-variant-numeric: tabular-nums; }
.hours .today td { font-weight: 800; }
.qr img { width: 148px; height: 148px; border-radius: var(--r-sm); background: #fff; padding: 8px; box-shadow: inset 0 0 0 1.5px var(--line); }
.qr p { color: var(--ink-muted); font-size: .9rem; }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.points li { background: var(--bg); border-radius: var(--r-pill); padding: 6px 14px; font-size: .88rem; font-weight: 600; }
.packs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); width: 100%; }
.pack { background: var(--bg); border-radius: var(--r-sm); padding: 16px; display: grid; gap: 6px; }
.pack h3 { font-size: 1.05rem; }
.pack p { color: var(--ink-soft); font-size: .92rem; }

/* Reservations widget (shared/reserve.js ships hooks only) */
.reserve-card { width: 100%; }
.wsr { display: grid; gap: 14px; }
.wsr-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wsr-field { display: grid; gap: 4px; font-size: .86rem; font-weight: 600; color: var(--ink-muted); }
.wsr-field :is(select, input) { min-height: 48px; border-radius: var(--r-sm); border: 1.5px solid var(--line-bright); background: var(--bg); padding: 8px 14px; font: inherit; color: var(--ink); width: 100%; }
.wsr-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.wsr-slot { min-height: 44px; padding: 6px 16px; border-radius: var(--r-pill); border: 0; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-bright); font-weight: 600; }
.wsr-slot small { display: block; font-size: .7rem; font-weight: 500; color: var(--ink-muted); }
.wsr-slot[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.wsr-slot[aria-pressed="true"] small { color: #fff; }
.wsr-slot.is-out { opacity: .45; text-decoration: line-through; }
.wsr-form { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.wsr-form > :not(.wsr-field) , .wsr-wide { grid-column: 1 / -1; }
.wsr-chosen { font-family: var(--font-display); font-weight: 800; }
.wsr-check { display: flex; gap: 8px; align-items: center; font-size: .9rem; min-height: 44px; }
.wsr-submit, .wsr-wa, .wsr-waitlist { min-height: 48px; padding: 10px 22px; border-radius: var(--r-pill); border: 0; background: var(--brand); color: var(--brand-ink); font-family: var(--font-display); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.wsr-error { color: #A3122B; font-weight: 600; }
.wsr-policy, .wsr-bigparty, .wsr-closed, .wsr-off, .wsr-loading { color: var(--ink-muted); font-size: .88rem; margin: 0; }
.wsr-policy { padding-inline-start: 18px; display: grid; gap: 2px; }
.wsr-done h3 { font-size: 1.3rem; }

/* ── Closing, footer ── */
.closing { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 26px 0 6px; }
.closing-line { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 4.6vw, 2.2rem); letter-spacing: -.02em; }
.closing p:not(.closing-line) { color: var(--ink-muted); }
.foot { display: grid; gap: 6px; justify-items: center; text-align: center; color: var(--ink-muted); font-size: .9rem; padding: 14px 0 10px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.socials .social { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--bg-card); color: var(--ink); }
.socials .social svg { width: 20px; height: 20px; }
.fine a { color: var(--ink); font-weight: 700; display: inline-block; padding: 10px 2px; }

/* ── The thumb bar ── */
.tabs { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(440px, calc(100% - 24px)); height: var(--tabs-h); background: var(--ink); border-radius: var(--r-pill);
  display: grid; grid-template-columns: 1fr 1fr 72px 1fr 1fr; align-items: center; padding: 0 8px; box-shadow: 0 14px 34px rgba(23,19,43,.34); }
.tabs button { position: relative; border: 0; background: none; color: #B9B3CE; display: grid; justify-items: center; gap: 2px; min-height: 52px; padding: 4px 2px;
  font-size: .72rem; font-weight: 700; border-radius: var(--r-pill); transition: transform .12s ease, color .12s ease; }
.tabs button svg { width: 22px; height: 22px; }
.tabs button:active { transform: scale(.9); }
.tabs button[aria-current="page"] { color: #fff; }
.tabs button[aria-current="page"]::after { content: ""; position: absolute; bottom: 0; width: 18px; height: 3px; border-radius: 3px; background: var(--brand-on-dark); }
.tabs button:focus-visible, .tab-wa:focus-visible { outline-color: #fff; }
.tab-wa { justify-self: center; width: 64px; height: 64px; margin-top: -22px; border-radius: 50%; background: var(--wa-deep); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 5px var(--bg), 0 8px 20px rgba(15,122,64,.45); transition: transform .15s cubic-bezier(.2,.9,.3,1.4); }
.tab-wa:active { transform: scale(.9); }
.tab-wa svg { width: 30px; height: 30px; }
.badge { position: absolute; top: 2px; inset-inline-end: calc(50% - 24px); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--brand); color: var(--brand-ink);
  font-style: normal; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.badge.bump { animation: bump .35s cubic-bezier(.2,.9,.3,1.6); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* ── Dish sheet and promo (shared/floor.js ships hooks only): a bottom sheet, like an app ── */
.wsf-sheet, .wsf-promo { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; }
.wsf-sheet-back, .wsf-promo-back { position: absolute; inset: 0; background: rgba(23,19,43,.55); }
.wsf-sheet-card, .wsf-promo-card { position: relative; z-index: 1; background: var(--bg-card); color: var(--ink); width: min(560px, 100%); max-height: 92vh; overflow: auto;
  border-radius: 32px 32px 0 0; animation: rise .28s cubic-bezier(.2,.8,.2,1); }
.wsf-sheet-card::before, .wsf-promo-card::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 5px; background: var(--line-bright); margin: 10px auto 0; }
@keyframes rise { from { transform: translateY(40%); opacity: 0; } }
@media (min-width: 700px) { .wsf-sheet, .wsf-promo { place-items: center; padding: 20px; } .wsf-sheet-card, .wsf-promo-card { border-radius: 32px; } }
.wsf-sheet-close, .wsf-promo-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg); font-size: 1.5rem; line-height: 1; }
.wsf-sheet-media { display: grid; place-items: center; padding: 18px 0 0; }
.wsf-sheet-media img { width: min(62%, 280px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 16px 36px rgba(23,19,43,.2); }
.wsf-promo-media img { width: 100%; max-height: 260px; object-fit: cover; }
.wsf-sheet-body, .wsf-promo-body { padding: 20px 24px 26px; display: grid; gap: 10px; }
.wsf-sh-cat { font-size: .86rem; font-weight: 700; color: var(--brand-readable); }
.wsf-sh-cat:empty, .wsf-sh-alt:empty, .wsf-sh-story:empty, .wsf-pairs:empty { display: none; }
.wsf-sheet-body h3, .wsf-promo-body h3 { font-size: 1.6rem; font-weight: 900; }
.wsf-sh-alt { color: var(--ink-muted); }
.wsf-sh-story, .wsf-promo-body p { color: var(--ink-soft); }
.wsf-facts { display: grid; gap: 8px; margin: 0; }
.wsf-facts > div { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: var(--r-sm); padding: 8px 14px; }
.wsf-facts dt { font-size: .86rem; font-weight: 700; color: var(--ink-muted); min-width: 76px; }
.wsf-facts dd { margin: 0; }
.wsf-heat { display: inline-flex; gap: 4px; align-items: center; }
.wsf-heat i { width: 12px; height: 12px; border-radius: 50%; background: var(--line-bright); }
.wsf-heat i.on { background: var(--brand); }
.wsf-heat span { margin-inline-start: 6px; font-size: .9rem; }
.wsf-pairs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wsf-pairs-label { font-size: .86rem; font-weight: 700; color: var(--ink-muted); }
.wsf-pairs button, .wsf-sh-sizes button { min-height: 44px; padding: 6px 14px; border-radius: var(--r-pill); border: 0; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-bright); font-weight: 600; }
.wsf-sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 6px; }
.wsf-sh-sizes { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; align-items: center; }
.wsf-sh-sizes button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.wsf-sh-sizes small { display: block; font-size: .76rem; font-weight: 500; }
.wsf-sh-price, .wsf-promo-price { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; }
.wsf-sh-add, .wsf-promo-cta { min-height: 52px; padding: 12px 26px; border-radius: var(--r-pill); border: 0; background: var(--brand); color: var(--brand-ink);
  font-family: var(--font-display); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; flex: 1; }
.wsf-promo-badge { justify-self: start; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: .8rem; padding: 3px 12px; border-radius: var(--r-pill); }
.wsf-promo-skip { background: none; border: 0; min-height: 44px; color: var(--ink-muted); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
