/* T18 Carte — "the yellow menu card".
   One object: a heavy paper menu card lying on a table. Butter card, a slightly deeper butter table
   around it, deep green-black ink. Paper-white only for slips, the bill and the dish sheet. Rust only
   as an accent: thin rules, the active tab, links, the one primary button. Young Serif (one weight,
   sentence case) for display and for the owner's letter; Libre Franklin for text. Radius 6.
   Motion is still: a panel cross-fades in 150 ms, the sheet fades, a "+" is inked for a moment.
   Nothing enters, nothing drifts. Every colour is solid. */

:root {
  --bg: #F3E8BE;            /* butter: the card */
  --bg-2: #E7D9A6;          /* a deeper butter: the table, resting tabs, pressed states */
  --bg-card: #FBF6E2;       /* paper-white: slips, the bill, the sheet */
  --ink: #1E2A1C;           /* 12.6:1 on butter */
  --ink-soft: #37432F;
  --ink-muted: #4B5540;     /* 6.4:1 on butter, 5.6:1 on the table, 7.3:1 on paper */
  --line: #D8C98F;          /* hairlines */
  --line-bright: #8A7F4E;   /* rings on controls (3.3:1 on butter) */
  --brand: #B8461B;         /* rust */
  --brand-ink: #FFFFFF;     /* what is written ON rust (5.3:1) */
  --brand-readable: #9B3B17;/* rust as small text: 5.6:1 on butter, 4.9:1 on the table, 6.4:1 on paper */
  --brand-on-dark: #E2764A; /* rust as small text on ink */
  --wa: #25D366;            /* the WhatsApp glyph, on ink only */
  --error: #8E1B1B;
  --r: 6px;
  --font-display: "Young Serif", "Noto Naskh Arabic", Georgia, "Times New Roman", serif;
  --font-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 18px;              /* the card's inner margin */
  --tabs-h: 54px;
  --dock-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg-2); color: var(--ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
body.wsf-locked { overflow: hidden; }
img, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, figure, blockquote, table, dl { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; overflow-wrap: anywhere; text-wrap: balance; font-synthesis: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px 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; clip-path: inset(50%); }
.skip:focus { clip-path: none; inset-inline-start: 12px; top: 12px; z-index: 99; background: var(--ink); color: #FFFFFF; padding: 12px 18px; border-radius: var(--r); }

/* Urdu and Punjabi: text runs right to left inside a layout that stays as designed. */
body.rtl-text :is(h1, h2, h3, h4, p, li, span, b, td, blockquote, small, label, figcaption, dt, dd, input, .nm) { unicode-bidi: plaintext; }
/* A line built from several spans has no strong character of its own, so it is told its direction. */
body.rtl-text :is(.closing-line, .maya-lede, .week h3, .rituals .day, .tags, .asked, .stats li) { direction: rtl; unicode-bidi: isolate; }
/* The hours table and the bill read from the right: day names and dish names sit at the reading edge. */
body.rtl-text :is(.hours, .lines li, .per) { direction: rtl; }
body.rtl-text .lines .q { direction: ltr; }
body.rtl-text .per { unicode-bidi: isolate; }
body.rtl-text { line-height: 1.85; }
body.rtl-text :is(h1, h2, h3, h4, .closing-line, blockquote, .nm, .cover-name) { line-height: 1.5; letter-spacing: 0; }
body.rtl-text :is(.tags, .out, .when) { font-style: normal; }
body.rtl-text .letter { line-height: 2; }
body.rtl-text .tabs button { font-size: .9rem; }
body.no-wa [data-wa] { display: none !important; }
body.no-wa:not(.has-order) .dock { display: none; }
/* The menu could not be read: the one line on the cover says so, and nothing half-built shows. */
body.failed :is(.tabs, .cover-side, .cover-name, .bill-dock, .dock, .quick) { display: none; }

/* ── Buttons and links ────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 22px;
  border: 1px solid transparent; border-radius: var(--r); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--brand); color: var(--brand-ink); }
.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink svg { color: var(--wa); }
.btn-line { background: var(--bg); border-color: var(--ink); color: var(--ink); }
.btn.wide { display: flex; width: 100%; }
.btn:active { transform: translateY(1px); }
.quiet { display: inline-flex; align-items: center; min-height: 40px; min-width: 40px; padding: 0 2px; color: var(--brand-readable); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link { min-height: 44px; padding: 4px 2px; border: 0; background: none; color: var(--ink-muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pr { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.lede { color: var(--ink-soft); }
.hint { color: var(--ink-muted); font-size: .92rem; }

/* ── The card on its table ────────────────────────────────────────────────── */
.card { position: relative; min-height: 100vh; background: var(--bg); }

/* The top edge: who this is, the two things a guest books, the language. It scrolls away; the tabs stay. */
.mast { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 68px; padding: 12px var(--pad) 10px; }
.who { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.who img { width: 44px; height: 44px; flex: none; object-fit: contain; border-radius: var(--r); background: var(--bg-card); }
.who span { display: grid; min-width: 0; }
.who b { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.2; }
.who small { font-size: .84rem; color: var(--ink-muted); }
.who small:empty { display: none; }
.quick { display: flex; gap: 18px; order: 3; width: 100%; }
.quick:not(:has(a:not([hidden]))) { display: none; }
.quick a { display: inline-flex; align-items: center; min-height: 40px; min-width: 40px; font-weight: 600; font-size: .95rem; color: var(--brand-readable);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lang { display: flex; gap: 2px; flex: none; }
.lang button { min-width: 40px; min-height: 40px; padding: 0 9px; border: 1px solid transparent; border-radius: var(--r); background: none; font-size: .9rem; font-weight: 600; color: var(--ink-muted); }
.lang button[aria-pressed="true"] { border-color: var(--line-bright); background: var(--bg-card); color: var(--ink); }

/* The panels' names along the top edge, like index tabs. The row is pinned; the page under it changes. */
.tabs { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; align-items: end;
  height: var(--tabs-h); padding: 6px 10px 0; background: var(--bg); border-bottom: 1px solid var(--ink); }
.tabs button { min-width: 0; height: 46px; padding: 0 6px; border: 1px solid var(--line-bright); border-bottom: 0; border-radius: var(--r) var(--r) 0 0;
  background: var(--bg-2); color: var(--ink); font-family: var(--font-display); font-size: .98rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs button[aria-selected="true"] { height: 48px; margin-bottom: -1px; border-color: var(--ink); background: var(--bg); box-shadow: inset 0 3px 0 var(--brand); }

.panels { scroll-margin-top: var(--tabs-h); }
/* Each panel is as tall as its content, and never shorter than the card between the tabs and the band. */
.panel { min-height: calc(100vh - var(--tabs-h) - var(--dock-h)); padding: 26px var(--pad) 40px; }
.panel.enter { animation: t18-in .15s ease-out both; }
@keyframes t18-in { from { opacity: 0; } to { opacity: 1; } }
.panel :is(section, aside)[id] { scroll-margin-top: calc(var(--tabs-h) + 14px); }
/* A course lands under the tab row AND the course line. */
.panel .course[id] { scroll-margin-top: calc(var(--tabs-h) + 58px); }
.panel-head { display: grid; gap: 8px; margin-bottom: 20px; max-width: 62ch; }
.panel-head h1 { font-size: 2.2rem; }
.panel-head h1::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 12px; background: var(--brand); }
body.rtl-text .panel-head h1::after { margin-inline-start: auto; }
.panel h2 { font-size: 1.45rem; }
.panel h3 { font-size: 1.1rem; }

/* A slip of paper on the card: Today, the house list, the bill, find-your-dish, bookings, the code. */
.slip { background: var(--bg-card); border: 1px solid var(--line-bright); border-radius: var(--r); padding: 18px; }

/* ── COVER ────────────────────────────────────────────────────────────────── */
.cover-grid { display: grid; gap: 30px; }
.cover-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.cover-name::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 10px; background: var(--brand); }
.cover h1 { margin: 20px 0 22px; font-size: clamp(2.35rem, 1.6rem + 3.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.01em; }
/* The owner's letter: a block of serif text and a signature. Her words, exactly as on file. */
.letter { max-width: 58ch; font-family: var(--font-display); font-size: 1.06rem; line-height: 1.7; color: var(--ink); }
.letter p { white-space: pre-line; }
.letter p + p { margin-top: .95em; }
.letter .sign { margin-top: 1.5em; font-size: 1.35rem; line-height: 1.2; }
.letter .sign::before { content: ""; display: block; width: 72px; height: 1px; margin-bottom: 12px; background: var(--ink); }
/* A portrait, when there is one, is tipped in beside the letter like a small plate. */
.portrait { float: right; width: 132px; margin: 4px 0 12px 18px; padding: 6px; background: var(--bg-card); border: 1px solid var(--line-bright); border-radius: 2px; transform: rotate(1.5deg); }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.cover-side { display: grid; gap: 28px; align-content: start; }
.cover-order { display: grid; gap: 14px; }
.cover-order .lede { font-size: 1.04rem; }
.cta { display: grid; gap: 10px; }
.fine { font-size: .88rem; color: var(--ink-muted); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.facts .halal-li { flex-basis: 100%; }

/* "Today": clipped to the card. */
.today { position: relative; display: grid; gap: 12px; padding-top: 24px; }
.today::before { content: ""; position: absolute; top: -11px; left: 26px; width: 14px; height: 32px; border: 2px solid var(--ink-muted); border-radius: 8px; }
.today > h2 { font-size: 1.3rem; }
.stats li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.stats li:first-child { border-top: 1px solid var(--line); }
.stats b { font-family: var(--font-display); font-weight: 400; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.stats span { font-size: .9rem; color: var(--ink-muted); }
.soldline { font-size: .92rem; color: var(--ink-soft); }
.t-today { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding-top: 4px; }
.t-today:not(:has(.tip)) { grid-template-columns: minmax(0, 1fr); }
.tip { display: block; width: 84px; padding: 4px; background: #FFFFFF; border: 1px solid var(--line-bright); border-radius: 2px; transform: rotate(-2deg); }
.tip img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.t-today-body { display: grid; gap: 4px; }
.when { font-size: .85rem; font-style: italic; color: var(--brand-readable); }
.t-today .d, .rituals .what p { font-size: .92rem; color: var(--ink-muted); }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.was { font-size: .9rem; color: var(--ink-muted); }
.week { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line-bright); }
.week h3 { font-size: 1.1rem; }
.week-note { font-size: .9rem; color: var(--ink-muted); }
.rituals li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rituals li:last-child { border-bottom: 0; padding-bottom: 0; }
.rituals .day { font-size: .85rem; color: var(--ink-muted); }
.rituals .day b { margin-inline-start: 6px; padding: 1px 8px; border-radius: 3px; background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: .78rem; }
.rituals h4 { font-size: 1.05rem; }

/* ── CARTE ────────────────────────────────────────────────────────────────── */
.search { display: block; margin-bottom: 18px; }
.search input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-bright); border-radius: var(--r); background: var(--bg-card); color: var(--ink); }
.search input::placeholder { color: var(--ink-muted); opacity: 1; }
/* The house recommends: a short list in a ruled box. */
.house { margin: 4px 4px 22px; padding: 16px 16px 8px; background: var(--bg-card); border: 1px solid var(--ink); border-radius: var(--r);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--ink); }
.house h2 { font-size: 1.25rem; padding-bottom: 8px; border-bottom: 1px solid var(--brand); }
.house-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 12px; align-items: start; padding: 6px 0; border-bottom: 1px solid var(--line); }
.house-list li:last-child { border-bottom: 0; }
.house-list .pr, .house-list .out, .house-list .quiet { line-height: 40px; min-height: 40px; }
/* The story line runs the full width of the box, under the name, the price and the link. */
.house-main { display: contents; }
.house-list .d { grid-column: 1 / -1; grid-row: 2; margin-bottom: 4px; }
/* The courses, by name. The line follows the reader down the carte. */
.jumps { position: sticky; top: var(--tabs-h); z-index: 20; display: flex; gap: 2px; margin: 0 calc(-1 * var(--pad)) 6px; padding: 0 10px; overflow-x: auto; scrollbar-width: none;
  background: var(--bg); border-bottom: 1px solid var(--line-bright); }
.jumps::-webkit-scrollbar { display: none; }
.jumps a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; font-size: .92rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.jumps a[aria-current] { font-weight: 600; box-shadow: inset 0 -3px 0 var(--brand); }
.noresult { padding: 18px 0; color: var(--ink-soft); }
/* The carte itself: course headings in Young Serif over a thin rust rule; one printed line per dish. */
.course { padding-top: 18px; }
.course h2 { padding-bottom: 8px; border-bottom: 1px solid var(--brand); break-after: avoid; }
.dish { display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; column-gap: 12px; align-items: start; padding: 6px 0 8px; border-bottom: 1px solid var(--line); break-inside: avoid; }
.dish.soldout { grid-template-columns: minmax(0, 1fr) auto auto; }
.dishes li:last-child { border-bottom: 0; }
.nm { display: inline-flex; align-items: center; min-height: 40px; min-width: 44px; padding: 0; border: 0; background: none; text-align: start;
  font-family: var(--font-display); font-size: 1.06rem; line-height: 1.25; color: var(--ink); }
.nm:hover, .nm:focus-visible { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dish .d, .house-list .d, .pick-card .d { margin-top: -3px; font-size: .9rem; line-height: 1.45; color: var(--ink-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 3px; font-size: .84rem; font-style: italic; color: var(--ink-muted); }
.dish .pr { line-height: 40px; }
.plus { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-bright); border-radius: var(--r); background: var(--bg); font-size: 1.25rem; line-height: 1; color: var(--ink); }
.plus.added { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.out { line-height: 40px; font-size: .86rem; font-style: italic; color: var(--ink-muted); white-space: nowrap; }
.soldout .nm { color: var(--ink-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.soldout .pr { color: var(--ink-muted); }

/* Under the courses: find your dish, and the bill. */
.after { display: grid; gap: 22px; margin-top: 34px; }
.decide { display: grid; gap: 10px; align-content: start; }
.asks { display: grid; gap: 12px; }
.ask { display: grid; gap: 6px; }
.lbl { font-size: .86rem; font-weight: 600; color: var(--ink-muted); }
.opts, .party { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button, .party button { min-width: 44px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line-bright); border-radius: var(--r); background: var(--bg); color: var(--ink); font-weight: 500; }
.opts button[aria-pressed="true"], .party button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pick:empty { display: none; }
.pick-card { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--brand); }
.why { font-size: .9rem; color: var(--ink-muted); }
.why:empty { display: none; }
.asked { display: flex; flex-wrap: wrap; gap: 0 12px; font-size: .84rem; font-style: italic; color: var(--ink-muted); }
.pick-card .buy { justify-content: space-between; }

.bill { display: grid; gap: 12px; align-content: start; }
.bill-intro { font-size: .92rem; color: var(--ink-muted); }
.plan { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.range { display: flex; align-items: center; gap: 12px; }
.range input { flex: 1; min-width: 0; min-height: 40px; accent-color: var(--brand); }
.range b { min-width: 3.2ch; font-variant-numeric: tabular-nums; text-align: end; }
.empty { font-size: .92rem; color: var(--ink-muted); }
.lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line-bright); }
.lines .n { font-family: var(--font-display); font-size: 1rem; line-height: 1.3; }
.lines .q { display: inline-flex; align-items: center; gap: 2px; }
.lines .q button { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-bright); border-radius: var(--r); background: var(--bg); font-size: 1.15rem; line-height: 1; color: var(--ink); }
.lines .q b { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.lines .p { min-width: 62px; text-align: end; font-variant-numeric: tabular-nums; }
.sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 3px double var(--ink); font-family: var(--font-display); font-size: 1.3rem; }
.sum b { font-weight: 400; font-variant-numeric: tabular-nums; }
.per, .paynote { font-size: .9rem; color: var(--ink-muted); }
.bill .link { justify-self: start; }
/* Clipped to the foot of another panel, the bill is only its lines, its total and its two actions. */
.bill.docked { margin: 0 var(--pad) 28px; }
.bill.docked :is(.plan, .bill-intro, .per, .paynote) { display: none; }

/* ── KITCHEN ──────────────────────────────────────────────────────────────── */
.kitchen > section { margin-top: 34px; }
.kitchen > section:first-of-type { margin-top: 0; }
.story-body { max-width: 60ch; font-family: var(--font-display); font-size: 1.04rem; line-height: 1.7; }
.story-body h2 { margin: 1.2em 0 .5em; }
.story-body h2:first-child { margin-top: 0; }
.story-body p { white-space: pre-line; }
.story-body p + p { margin-top: .9em; }
.reel { margin-top: 18px; max-width: 640px; }
.reel video { width: 100%; border: 1px solid var(--line-bright); border-radius: var(--r); }
.maya { display: grid; gap: 14px; justify-items: start; }
.maya-grid { display: grid; gap: 22px; width: 100%; }
.promises li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.promises li:first-child { border-top: 1px solid var(--line); }
.promises b { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; }
.promises span { font-size: .94rem; color: var(--ink-muted); }
/* The chat, printed: speaker, then line. */
.chat { display: grid; gap: 12px; align-content: start; padding: 4px 0 4px 16px; border-inline-start: 2px solid var(--brand); }
.chat p { display: grid; gap: 1px; }
.chat small { font-size: .82rem; font-weight: 600; color: var(--ink-muted); }
.chat span { font-family: var(--font-display); font-size: 1.03rem; line-height: 1.45; }
/* Photographs set small, like stamps tipped onto the card. */
.plates { display: grid; gap: 16px; }
.stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; }
.stamps button { display: block; padding: 4px; background: #FFFFFF; border: 1px solid var(--line-bright); border-radius: 2px; }
.stamps button:nth-child(odd) { transform: rotate(-1.4deg); }
.stamps button:nth-child(even) { transform: rotate(1.1deg); }
.stamps img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.guests { display: grid; gap: 12px; }
.score { font-size: .94rem; color: var(--ink-muted); }
.quotes { display: grid; gap: 0; }
.quote { display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line-bright); }
.quote blockquote { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.5; }
.quote figcaption { font-size: .9rem; color: var(--ink-muted); }
.stars { margin-inline-start: 6px; color: var(--brand-readable); letter-spacing: .08em; }
.catering { display: grid; gap: 12px; justify-items: start; }
.points { display: grid; gap: 4px; }
.points li { position: relative; padding-inline-start: 18px; font-size: .95rem; color: var(--ink-soft); }
.points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--brand); }
body.rtl-text .points li { padding-inline: 0 18px; }
body.rtl-text .points li::before { left: auto; right: 0; }
.packs { display: grid; gap: 12px; width: 100%; }
.pack { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.pack p { font-size: .94rem; color: var(--ink-muted); }

/* ── VISIT ────────────────────────────────────────────────────────────────── */
.visit-grid { display: grid; gap: 28px; }
.visit-grid > section { display: grid; gap: 12px; align-content: start; min-width: 0; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: end; }
.hours tr.is-today td { font-weight: 700; }
.hours tr.is-today td:first-child { border-inline-start: 3px solid var(--brand); padding-inline-start: 10px; }
.addr { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.45; }
.where-act { display: flex; flex-wrap: wrap; gap: 10px; }
.map iframe { width: 100%; height: 240px; border: 1px solid var(--line-bright); border-radius: var(--r); }
.visit-grid > .qr { grid-template-columns: auto minmax(0, 1fr); align-items: center; align-self: start; gap: 16px; }
.qr img { width: 124px; height: 124px; background: #FFFFFF; border-radius: 2px; }
.qr div { display: grid; gap: 4px; }
.qr p { font-size: .92rem; color: var(--ink-muted); }
.closing { display: grid; gap: 12px; justify-items: start; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--ink); }
.closing-line { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.15; }
.closing-note { max-width: 46ch; color: var(--ink-soft); }

/* Booking widget (shared/reserve.js ships class hooks only) */
.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) { width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line-bright); border-radius: var(--r); background: var(--bg); color: var(--ink); font-weight: 500; font-size: 1rem; }
.wsr-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.wsr-slot { min-width: 44px; min-height: 46px; padding: 6px 14px; border: 1px solid var(--line-bright); border-radius: var(--r); background: var(--bg); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.wsr-slot small { display: block; font-size: .74rem; font-weight: 500; color: var(--ink-muted); }
.wsr-slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.wsr-slot[aria-pressed="true"] small { color: #FFFFFF; }
.wsr-slot.is-out { background: var(--bg-card); border-style: dashed; color: var(--ink-muted); text-decoration: line-through; cursor: default; }
.wsr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; border-top: 1px solid var(--ink); }
.wsr-form > :not(.wsr-field), .wsr-wide { grid-column: 1 / -1; }
.wsr-chosen { font-family: var(--font-display); font-size: 1.12rem; }
.wsr-check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: .92rem; color: var(--ink-soft); }
.wsr-check input { width: 20px; height: 20px; flex: none; accent-color: var(--brand); }
.wsr-submit, .wsr-wa, .wsr-waitlist { display: inline-flex; align-items: center; justify-content: center; justify-self: start; min-height: 50px; padding: 10px 22px;
  border: 1px solid var(--ink); border-radius: var(--r); background: var(--ink); color: #FFFFFF; font-weight: 600; font-size: 1rem; text-decoration: none; }
.wsr-submit:disabled { background: var(--ink-muted); border-color: var(--ink-muted); }
.wsr-waitlist, .wsr-wa { background: var(--bg-card); color: var(--ink); }
.wsr-error { color: var(--error); font-weight: 600; }
.wsr-policy, .wsr-bigparty, .wsr-closed, .wsr-off, .wsr-loading { margin: 0; font-size: .9rem; color: var(--ink-muted); }
.wsr-policy { display: grid; gap: 2px; padding-inline-start: 18px; list-style: disc; }
.wsr-policy:empty { display: none; }
.wsr-done { display: grid; gap: 6px; }
.wsr-done h3 { font-size: 1.3rem; }

/* ── The card's foot ──────────────────────────────────────────────────────── */
.foot { display: grid; gap: 6px; padding: 20px var(--pad) 22px; border-top: 1px solid var(--line-bright); font-size: .88rem; color: var(--ink-muted); }
.socials { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-bright); border-radius: var(--r); color: var(--ink); }
.social svg { width: 20px; height: 20px; }
.imprint a { display: inline-flex; align-items: center; min-height: 40px; min-width: 40px; font-weight: 600; color: var(--brand-readable); text-underline-offset: 3px; }

/* The band at the foot of the card. It rests on the card's bottom edge and follows the screen until then. */
.dock { position: sticky; bottom: 0; z-index: 35; display: flex; align-items: center; gap: 12px; min-height: var(--dock-h);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--bg-card); border-top: 1px solid var(--ink); }
.dock-review { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; flex: none; min-height: 46px; padding: 2px 4px; text-decoration: none; }
.dock-review span { grid-column: 1 / -1; font-size: .76rem; font-weight: 600; line-height: 1.2; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 2px; }
.dock-review .n { justify-self: start; min-width: 24px; padding: 0 6px; border-radius: 3px; background: var(--brand); color: var(--brand-ink); font-size: .86rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.dock-review .dsum { font-weight: 700; font-variant-numeric: tabular-nums; }
.dock-note { display: none; font-size: .92rem; color: var(--ink-muted); }
.dock-wa { flex: 1; min-width: 0; min-height: 48px; padding-inline: 14px; }

/* ── Dish sheet and tonight's promo (shared/floor.js ships class hooks only) ─ */
.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(30, 42, 28, .62); }
.wsf-sheet-card, .wsf-promo-card { position: relative; z-index: 1; width: min(860px, 100%); max-height: 92vh; overflow: auto; overscroll-behavior: contain;
  background: var(--bg-card); color: var(--ink); border: 1px solid var(--ink); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; animation: t18-in .15s ease-out both; }
.wsf-promo-card { width: min(460px, 100%); }
.wsf-sheet-close, .wsf-promo-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); border-radius: var(--r);
  background: var(--bg-card); color: var(--ink); font-size: 1.5rem; line-height: 1; }
.wsf-sheet-media, .wsf-promo-media { padding: 14px 14px 0; }
.wsf-sheet-media img, .wsf-promo-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line-bright); border-radius: 2px; }
.wsf-sheet-body, .wsf-promo-body { display: grid; gap: 10px; padding: 18px 18px 22px; }
.wsf-sh-cat { padding-inline-end: 52px; font-size: .88rem; font-style: italic; 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 { padding-inline-end: 44px; font-size: 1.7rem; line-height: 1.15; }
.wsf-sh-alt { color: var(--ink-muted); }
.wsf-sh-story, .wsf-promo-body p { color: var(--ink-soft); }
.wsf-facts { display: grid; margin: 0; border-top: 1px solid var(--line); }
.wsf-facts > div { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.wsf-facts dt { min-width: 84px; font-size: .88rem; font-weight: 600; color: var(--ink-muted); }
.wsf-facts dd { margin: 0; }
.wsf-heat { display: inline-flex; gap: 4px; align-items: center; }
.wsf-heat i { width: 10px; height: 10px; border: 1px solid var(--line-bright); border-radius: 2px; background: var(--bg-card); }
.wsf-heat i.on { background: var(--brand); border-color: var(--brand); }
.wsf-heat span { margin-inline-start: 6px; font-size: .92rem; }
.wsf-pairs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wsf-pairs-label, .wsf-sh-sizes-label { font-size: .88rem; font-weight: 600; color: var(--ink-muted); }
.wsf-pairs button, .wsf-sh-sizes button { min-height: 46px; padding: 6px 14px; border: 1px solid var(--line-bright); border-radius: var(--r); background: var(--bg); color: var(--ink); font-weight: 500; }
.wsf-sh-sizes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; }
.wsf-sh-sizes button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.wsf-sh-sizes small { display: block; font-size: .78rem; font-weight: 500; }
.wsf-sheet-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 3px double var(--ink); }
.wsf-sh-price, .wsf-promo-price { font-family: var(--font-display); font-size: 1.6rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.wsf-promo-price s { margin-inline-start: 6px; font-family: var(--font-body); font-size: 1rem; color: var(--ink-muted); }
.wsf-sh-add, .wsf-promo-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 24px; border: 0; border-radius: var(--r);
  background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 1rem; text-decoration: none; }
.wsf-promo-badge { justify-self: start; padding: 2px 10px; border-radius: 3px; background: var(--ink); color: #FFFFFF; font-size: .82rem; font-weight: 600; }
.wsf-promo-skip { justify-self: start; min-height: 44px; padding: 4px 2px; border: 0; background: none; color: var(--ink-muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── From a small tablet up ───────────────────────────────────────────────── */
@media (min-width: 640px) {
  :root { --pad: 28px; }
  .quick { order: 0; width: auto; }
  .cta { grid-template-columns: auto auto; justify-content: start; }
  .stamps { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .dock-note { display: block; }
  .dock-wa { flex: none; margin-inline-start: auto; padding-inline: 22px; }
  .wsf-sheet, .wsf-promo { place-items: center; padding: 24px; }
  .wsf-sheet-card, .wsf-promo-card { border-bottom: 1px solid var(--ink); border-radius: var(--r); }
  .wsf-sheet-card:has(.wsf-sheet-media:not([hidden])) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .wsf-sheet-media { padding: 14px 0 14px 14px; }
  .wsf-sheet-media img { aspect-ratio: 1; }
  .bill.docked { max-width: 560px; }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
}

/* ── The card as a sheet on the table ─────────────────────────────────────── */
@media (min-width: 900px) {
  :root { --pad: 48px; }
  body { padding: 28px 24px 44px; }
  .card { max-width: 980px; min-height: 0; margin: 0 auto; border: 1px solid var(--line-bright); border-radius: var(--r);
    box-shadow: 0 2px 0 #CFC08A, 0 26px 44px -30px #4A4220; }
  .mast { padding-top: 16px; min-height: 76px; }
  .tabs { grid-template-columns: repeat(4, minmax(120px, 168px)); justify-content: start; padding-inline: var(--pad); }
  .panel { padding-top: 40px; padding-bottom: 56px; }
  .panel-head h1 { font-size: 2.6rem; }
  .cover-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 52px; align-items: start; }
  .cover-side .today { order: -1; }
  .letter { font-size: 1.2rem; }
  .letter .sign { font-size: 1.5rem; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .house-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .house-list li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .jumps { flex-wrap: wrap; margin-inline: 0; padding: 0; overflow: visible; }
  /* Two columns, like a real carte. The rule between them is the card's fold. A dish never splits. */
  .courses { columns: 2; column-gap: 56px; column-rule: 1px solid var(--line); }
  .course:first-child { padding-top: 8px; }
  .after { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
  .after:has(.decide[hidden]) { grid-template-columns: minmax(0, 560px); }
  .maya-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; }
  .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 48px; }
  .dock { border-radius: 0 0 5px 5px; padding-inline: var(--pad); }
}

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