/* ==========================================================================
   Golden Oriental – public site
   Brand: gold sand + imperial red, Cinzel / Crimson Text / Lato (from the
   original site), modernised. The menu number is the hero of the menu page.
   ========================================================================== */

@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-normal-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("../fonts/crimson-text-normal-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("../fonts/crimson-text-normal-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("../fonts/crimson-text-normal-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("../fonts/crimson-text-italic-latin-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-normal-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-normal-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-italic-latin-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --sand: #dccb8c;          /* page */
  --sand-deep: #cfbb72;
  --paper: #f8efd4;         /* panels */
  --paper-hi: #fcf7e8;
  --red: #8f0e0e;           /* imperial red – brand accent */
  --red-hover: #741010;
  --lacquer: #5c0808;       /* footer, dark sections */
  --gold: #c9a227;
  --gold-soft: #ead790;
  --ink: #241a12;
  --muted: #6b5d4b;
  --line: rgba(36, 26, 18, .14);
  --line-strong: rgba(36, 26, 18, .28);
  --green: #2e6b30;

  --font-display: "Cinzel", Georgia, serif;
  --font-serif: "Crimson Text", Georgia, serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --toolbar-h: 68px;
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .18em; }
a:hover { color: var(--red-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 400; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; } /* never let a component's display rule override the hidden attribute */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.label-icon svg, .diet-switch__icon svg { fill: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .6em 1.3em; border: 2px solid transparent; border-radius: 999px;
  font: 700 16px/1.1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { width: 18px; height: 18px; }
.btn--call { background: var(--red); color: #fff; }
.btn--call:hover { background: var(--red-hover); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--red); }
.btn--outline { border-color: var(--red); color: var(--red); }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--red); text-decoration: underline; cursor: pointer; font-weight: 700; }

/* ---------- Header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 230, 157, .96);
  border-bottom: 1px solid rgba(143, 14, 14, .18);
  backdrop-filter: saturate(1.2) blur(8px);
}
.masthead__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { flex: none; }
.brand__logo { width: 150px; height: auto; }

.status-chip {
  display: inline-flex; align-items: center; gap: .5em; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .55); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.status-chip:hover { background: #fff; color: var(--ink); }
.status-chip__dot, .status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; display: inline-block; }
.is-open .status-chip__dot, .is-open .status-dot, .status-dot.is-open { background: #2f9e44; box-shadow: 0 0 0 3px rgba(47, 158, 68, .22); }

.main-nav { margin-left: auto; }
.main-nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav__list > li { position: relative; display: flex; align-items: center; }
.main-nav__list > li > a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink); font: 600 18px/1 var(--font-serif); text-decoration: none;
}
.main-nav__list > li > a:hover { color: var(--red); background: rgba(255, 255, 255, .45); }
.main-nav__list > li > a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.dropdown-toggle { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px; }
.dropdown-toggle svg { width: 20px; fill: var(--ink); transition: transform .2s; }
.has-dropdown.is-open .dropdown-toggle svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: -200px; width: min(760px, 90vw);
  background: var(--paper-hi); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(36, 26, 18, .2); padding: 18px 20px 14px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown:hover .mega, .has-dropdown:focus-within .mega, .has-dropdown.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; } /* hover bridge */
.mega__list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 24px; }
.mega__list a { display: block; padding: 5px 8px; border-radius: 6px; color: var(--ink); text-decoration: none; font: 600 17px/1.3 var(--font-serif); break-inside: avoid; }
.mega__list a:hover { background: var(--paper); color: var(--red); }
.mega__all { display: inline-block; margin: 10px 8px 0; font-weight: 700; font-size: 15px; }

.masthead__call { flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 24px; height: 2.5px; margin: 0 auto; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Special-hours notice ---------- */
.notice-bar { background: var(--gold-soft); color: var(--ink); font-size: 15px; border-bottom: 1px solid rgba(143, 14, 14, .2); }
.notice-bar__inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.notice-bar strong { color: var(--red); font: 700 18px var(--font-serif); }
.notice-bar__note { color: var(--muted); font-style: italic; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(460px, 72vh, 680px); display: flex; align-items: flex-end; overflow: hidden; background: var(--lacquer); color: #fff; isolation: isolate; }
.hero__slides, .hero__slide { position: absolute; inset: 0; z-index: -2; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; animation: drift 9s ease-out forwards; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(48, 6, 6, .88) 0%, rgba(48, 6, 6, .62) 38%, rgba(48, 6, 6, .1) 72%),
    linear-gradient(0deg, rgba(48, 6, 6, .7) 0%, transparent 45%);
}
.hero__content { padding-top: 80px; padding-bottom: clamp(48px, 9vh, 88px); }
.hero__title {
  max-width: 11ch; font: 400 clamp(40px, 6.4vw, 78px)/1.02 var(--font-display); letter-spacing: .01em;
  text-wrap: balance; margin-bottom: 18px;
}
.hero__tagline { max-width: 34ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: rgba(255, 255, 255, .92); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__today { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .9); }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-active { animation: none; } .hero__slide { transition: none; } }

/* ---------- Trust row ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.trust__item { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; text-decoration: none; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 20px; height: 20px; fill: var(--gold); }
.trust__strap { margin: 0; text-align: center; font: 400 clamp(19px, 2.1vw, 25px)/1.3 var(--font-display); color: var(--red); text-wrap: balance; }
.fhrs { width: 210px; }
.trust__badges { display: flex; align-items: center; gap: 22px; }
.award { width: 120px; height: auto; }

/* ---------- Sections ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-title { font: 400 clamp(28px, 3.2vw, 38px)/1.1 var(--font-display); color: var(--ink); }

/* Category rail */
.categories { padding: 64px 0 56px; }
.rail-controls { display: flex; gap: 8px; }
.rail-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--paper-hi); cursor: pointer;
}
.rail-btn svg { width: 24px; fill: var(--ink); }
.rail-btn:hover:not([disabled]) { background: #fff; border-color: var(--red); }
.rail-btn[disabled] { opacity: .35; cursor: default; }
.categories { overflow: hidden; }
/* Full-bleed: the rail spans the whole window, edge to edge. */
.rail {
  --rail-inset: var(--gutter);
  display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 18px;
  width: 100%; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px var(--rail-inset) 10px;
  scroll-padding-inline: var(--rail-inset);
  cursor: grab; touch-action: pan-x pan-y;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail.is-dragging .tile { pointer-events: none; }
.tile img { -webkit-user-drag: none; user-select: none; }
.tile { scroll-snap-align: start; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.tile__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--sand-deep); margin-bottom: 12px; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__name { font: 700 21px/1.2 var(--font-serif); }
.tile:hover .tile__name { color: var(--red); }
.tile__count { font-size: 14px; color: var(--muted); }

/* Hours / plaque / delivery */
.info { padding: 0 0 64px; }
.info__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) 150px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.panel { background: var(--paper); border: 1px solid rgba(143, 14, 14, .14); border-radius: var(--radius); padding: 30px 32px; }
.panel .section-title { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 14px; }
#hours, #find-us { scroll-margin-top: calc(var(--header-h) + 16px); }

.open-status { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; font-size: 16px; color: var(--red); }
.open-status.is-open { color: var(--green); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours-table th, .hours-table td { padding: 9px 10px; text-align: left; font-weight: 400; border-top: 1px solid var(--line); }
.hours-table tr:first-child th, .hours-table tr:first-child td { border-top: 0; }
.hours-table th { width: 46%; }
.hours-table td { font-variant-numeric: tabular-nums; }
.hours-table tr.is-closed td { color: var(--muted); }
.hours-table tr.is-today { background: var(--paper-hi); box-shadow: inset 3px 0 0 var(--red); }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 700; }
.hours-table__today { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.hours-table__special { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--ink); font-size: 12px; font-weight: 700; }

.special-hours { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--paper-hi); border: 1px solid var(--gold-soft); }
.special-hours h3 { font: 700 20px var(--font-serif); color: var(--red); margin-bottom: 6px; }
.special-hours ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.special-hours li { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 6px 0; }
.special-hours li + li { border-top: 1px dashed var(--line); }
.special-hours__label { font-weight: 700; }
.special-hours__time { color: var(--red); font-weight: 700; }
.special-hours__note { flex-basis: 100%; color: var(--muted); font-style: italic; }

.plaque {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--radius); background: radial-gradient(circle at 50% 35%, #a11616, var(--lacquer) 80%);
  box-shadow: inset 0 0 0 6px var(--lacquer), inset 0 0 0 8px var(--gold);
  padding: 28px 0;
}
.plaque span { font: 900 clamp(56px, 6vw, 76px)/1.05 "Songti TC", "Noto Serif TC", "PMingLiU", "SimSun", serif; color: var(--gold); text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }

.price-list { list-style: none; margin: 4px 0 24px; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; }
.price-list span { font: 600 21px var(--font-serif); }
.price-list i { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-5px); }
.price-list b { font: 700 21px var(--font-serif); color: var(--red); font-variant-numeric: tabular-nums; }

/* Find us */
.find-us { background: var(--paper); border-top: 1px solid var(--line); padding: 64px 0; }
.find-us__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: center; }
.find-us address { display: flex; flex-direction: column; gap: 2px; margin: 16px 0 14px; font-size: 18px; }
.find-us address strong { font: 700 22px var(--font-serif); }
.find-us__contact { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
.find-us__contact a { font-weight: 700; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--sand-deep); min-height: 380px; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ==========================================================================
   Menu
   ========================================================================== */
.menu-hero {
  position: relative; isolation: isolate; color: #fff; background: var(--lacquer);
  padding: 46px 0 40px; overflow: hidden;
}
.menu-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--banner, none) center / cover no-repeat;
}
.menu-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(48, 6, 6, .9) 0%, rgba(48, 6, 6, .7) 45%, rgba(48, 6, 6, .35) 100%);
}
.breadcrumb { margin-bottom: 8px; font-size: 15px; }
.breadcrumb a { color: var(--gold-soft); font-weight: 700; text-decoration: none; }
.breadcrumb a::before { content: "‹ "; }
.breadcrumb a:hover { color: #fff; }
.menu-hero__title { font: 400 clamp(32px, 4.6vw, 56px)/1.08 var(--font-display); max-width: 20ch; text-wrap: balance; }
.menu-hero__meta { margin: 10px 0 0; color: rgba(255, 255, 255, .8); font-size: 15px; }

.menu-toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(220, 203, 140, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.menu-toolbar__inner { display: flex; align-items: center; gap: 14px; min-height: var(--toolbar-h); padding-top: 10px; padding-bottom: 10px; }
.menu-search { position: relative; flex: 0 1 380px; }
.menu-search__icon { position: absolute; left: 15px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.menu-search input {
  width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--paper-hi); color: var(--ink); font: 16px var(--font-body);
}
.menu-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(143, 14, 14, .15); }
.menu-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.diet-switch {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 6px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--paper-hi); color: var(--ink); cursor: pointer; font: 700 15px var(--font-body);
  transition: opacity .15s, border-color .15s;
}
.diet-switch:hover { border-color: var(--label-bg); }
.diet-switch__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--label-bg); color: var(--label-fg); flex: none; }
.diet-switch__icon svg { width: 16px; height: 16px; fill: none; }
.diet-switch__track { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #c9bfa3; flex: none; transition: background-color .15s; }
.diet-switch__thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .15s; }
.diet-switch[aria-checked="true"] .diet-switch__track { background: var(--label-bg); }
.diet-switch[aria-checked="true"] .diet-switch__thumb { transform: translateX(16px); }
/* A switched-off "hide" label: its dishes are hidden, so show the label crossed out. */
.diet-switch[data-mode="hide"][aria-checked="false"] .diet-switch__name { text-decoration: line-through; color: var(--muted); }
.diet-switch[data-mode="hide"][aria-checked="false"] .diet-switch__icon { opacity: .45; }
.diet-switch[data-mode="only"][aria-checked="true"] { border-color: var(--label-bg); }
@media (prefers-reduced-motion: reduce) { .diet-switch__track, .diet-switch__thumb { transition: none; } }

.menu-filter-note { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--paper-hi); border-left: 4px solid var(--gold); font-size: 15px; }
.menu-filter-note .link-btn { margin-left: 4px; }

.menu-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.menu-nav { position: sticky; top: calc(var(--header-h) + var(--toolbar-h) + 20px); min-width: 0; }
.menu-nav ul { list-style: none; margin: 0; padding: 0; max-height: calc(100vh - var(--header-h) - var(--toolbar-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
.menu-nav a {
  display: block; padding: 6px 12px; border-left: 3px solid transparent;
  color: var(--ink); font: 600 17px/1.3 var(--font-serif); text-decoration: none;
}
.menu-nav a:hover { color: var(--red); border-left-color: var(--line-strong); }
.menu-nav a.is-active { color: var(--red); border-left-color: var(--red); font-weight: 700; }
.menu-content { min-width: 0; max-width: 820px; }

.menu-notes { margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.menu-notes p { margin: 0 0 4px; }
.menu-notes__notice { color: var(--red); font-weight: 700; }
.menu-empty-search { padding: 28px; margin: 18px 0; text-align: center; background: var(--paper); border-radius: var(--radius); }

.menu-section { scroll-margin-top: calc(var(--header-h) + var(--toolbar-h) + 12px); padding-top: 24px; }
.menu-section[hidden] { display: none; }
.menu-section__title {
  display: flex; align-items: center; gap: 16px;
  font: 400 clamp(26px, 3vw, 34px)/1.15 var(--font-display); color: var(--ink); margin-bottom: 6px;
}
.menu-section__title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.menu-section__empty { color: var(--muted); }
.menu-section__intro { margin: 0 0 6px; font: italic 400 19px/1.4 var(--font-serif); color: var(--red); max-width: 62ch; }
.menu-hero__intro { max-width: 52ch; font: italic 400 clamp(18px, 2vw, 22px)/1.4 var(--font-serif); color: var(--gold-soft); }
.menu-section + .menu-section { margin-top: 28px; }

.dishes { list-style: none; margin: 0; padding: 0; }
.dish { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); gap: 0 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dish:last-child { border-bottom: 0; }
.dish[hidden] { display: none; }
.dish__no {
  /* Solid crimson number box – every dish has one so the menu lines up; empty when the dish itself has no number */
  display: grid; place-items: center; width: 3.6rem; height: 3.6rem; padding: 2px; border-radius: 10px;
  background: var(--red); color: #fff; font: 700 24px/1 var(--font-display); letter-spacing: -.01em;
  font-variant-numeric: lining-nums; text-align: center; overflow-wrap: anywhere; align-self: start;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.dish__no--long { font-size: 18px; letter-spacing: -.03em; }
.dish__no--empty { /* same solid box, just without a number */ }
.dish__head { display: flex; align-items: center; gap: 10px; min-height: 3.6rem; } /* name lines up with the middle of the number square */
.dish__head > .dish__leader { transform: translateY(4px); }
.dish__name { font: 700 22px/1.25 var(--font-serif); color: var(--ink); }
.dish__labels { display: inline-flex; gap: 4px; flex: none; align-self: center; }
.label-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--label-bg); color: var(--label-fg); }
.label-icon svg { width: 15px; height: 15px; }
.dish__leader { flex: 1; min-width: 24px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-6px); }
.dish__price { font: 700 21px/1 var(--font-serif); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.dish__desc { margin: 4px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 62ch; }
/* Dishes with sizes: sizes sit inside the dish, joined by a gold rule, each with its own number tag */

.dish__sizes { list-style: none; margin: 10px 0 0; padding: 2px 0 2px 14px; border-left: 3px solid var(--gold); }
.dish__size { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 2px 0; }
.dish__size + .dish__size { border-top: 1px dashed var(--line); }
.dish__size-name { font: 700 19px/1.25 var(--font-serif); color: var(--ink); }
.dish__size-no {
  flex: none; display: grid; place-items: center; min-width: 2.5rem; height: 2rem; padding: 0 6px; border-radius: 7px;
  background: var(--red); color: #fff; font: 700 15px/1 var(--font-display); letter-spacing: -.01em;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
}
.dish__size .dish__leader { transform: translateY(2px); }
.dish__size .dish__price { font-size: 19px; }

.section-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 14px; margin-top: 48px; }
.section-pager__link {
  display: flex; flex-direction: column; padding: 16px 20px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 700 20px/1.25 var(--font-serif);
}
.section-pager__link span { font: 400 14px var(--font-body); color: var(--muted); margin-bottom: 2px; }
.section-pager__link--next { text-align: right; }
.section-pager__link:hover { border-color: var(--red); color: var(--red); }
.section-pager__all { align-self: center; font-weight: 700; }

/* ---------- Content pages ---------- */
.page-header { background: var(--lacquer); color: #fff; padding: 46px 0 40px; }
.page-header__title { font: 400 clamp(32px, 4.6vw, 52px)/1.1 var(--font-display); }
.prose-wrap { padding: 40px 0 80px; }
.prose { max-width: 760px; background: var(--paper); border-radius: var(--radius); padding: 36px 40px; font-size: 17px; line-height: 1.65; }
.prose h2, .prose h3 { font-family: var(--font-serif); font-weight: 700; color: var(--red); margin: 1.4em 0 .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose details { margin: 1rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .5rem 1rem; }
.prose summary { cursor: pointer; font-weight: 700; }
.not-found { text-align: center; }
.not-found .btn { margin: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--lacquer); color: rgba(255, 255, 255, .82); font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.site-footer__sign { font: 900 40px/1 "Songti TC", "Noto Serif TC", "PMingLiU", "SimSun", serif; color: var(--gold); letter-spacing: .08em; margin-bottom: 14px; }
.site-footer__name { font: 400 24px var(--font-display); color: #fff; margin-bottom: 4px; }
.site-footer__title { font: 700 19px var(--font-serif); color: var(--gold-soft); margin-bottom: 10px; }
.site-footer address { margin-bottom: 10px; }
.site-footer__hours { list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.site-footer__hours li { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.site-footer__hours li.is-today { color: #fff; font-weight: 700; }
.site-footer__badge { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.site-footer__badge img:first-child { width: 130px; }
.site-footer__badge img + img { width: 96px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }


/* ---------- Cookie consent ---------- */
.consent-banner {
  position: fixed; z-index: 80; left: 24px; bottom: 24px; width: min(440px, calc(100vw - 48px));
  background: var(--paper-hi); color: var(--ink); border: 1px solid rgba(143, 14, 14, .2); border-top: 4px solid var(--red);
  border-radius: var(--radius); box-shadow: 0 20px 50px rgba(36, 26, 18, .28); padding: 22px 22px 18px; font-size: 15px; line-height: 1.5;
}
.consent-banner[hidden] { display: none; }
.consent-banner__title { font: 700 22px/1.2 var(--font-serif); margin-bottom: 8px; }
.consent-banner p { margin-bottom: 16px; }
.consent-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-banner__actions .link-btn { grid-column: 1 / -1; justify-self: center; padding: 6px; }
.btn--consent { background: var(--red); color: #fff; min-height: 44px; }
.btn--consent:hover { background: var(--red-hover); color: #fff; }

.consent-dialog {
  width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  /* dvh = the part of the screen you can actually see (phones' browser bars excluded); vh as a fallback */
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  background: var(--paper-hi); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
/* Browsers without showModal(): show it as a fixed panel instead of at the end of the page */
.consent-dialog.is-fallback[open] { position: fixed; z-index: 1000; inset: 16px 0 auto; margin: 0 auto; }
.consent-dialog::backdrop { background: rgba(36, 10, 6, .55); }
.consent-dialog__inner {
  position: relative; padding: 26px 26px 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
}
.consent-dialog__close {
  position: sticky; top: 0; float: right; margin: -14px -14px 0 8px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--paper-hi); color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; z-index: 1;
}
.consent-dialog__close:hover { background: var(--sand); }
.consent-dialog h2 { font: 400 28px/1.15 var(--font-display); margin-bottom: 8px; }
.consent-dialog__intro { font-size: 15px; color: var(--muted); }
.consent-options { list-style: none; margin: 0 0 20px; padding: 0; }
.consent-option { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.consent-option h3 { font: 700 19px var(--font-serif); margin-bottom: 2px; }
.consent-option p { margin: 0; font-size: 14px; color: var(--muted); }
.consent-option__always { flex: none; font-size: 13px; font-weight: 700; color: var(--green); padding-top: 4px; }
.consent-switch { position: relative; flex: none; width: 48px; height: 28px; margin-top: 2px; cursor: pointer; }
.consent-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.consent-switch__track { position: absolute; inset: 0; border-radius: 14px; background: #c9bfa6; transition: background-color .2s; }
.consent-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.consent-switch input:checked + .consent-switch__track { background: var(--red); }
.consent-switch input:checked + .consent-switch__track::after { transform: translateX(20px); }
.consent-switch input:focus-visible + .consent-switch__track { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent-dialog__actions {
  /* Always visible at the bottom of the panel, however long the list is */
  position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 -26px; padding: 14px 26px calc(18px + env(safe-area-inset-bottom)); background: var(--paper-hi); border-top: 1px solid var(--line);
}
.consent-banner button, .consent-dialog button { touch-action: manipulation; }
.site-footer__cookie-btn { color: #fff; font-weight: 400; font-size: 14px; }

/* Map placeholder until "Maps" cookies are allowed */
.map { display: flex; }
.map > iframe { flex: 1; }
.map__placeholder {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 28px; text-align: center;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .18) 0 12px, transparent 12px 24px), var(--sand-deep); color: var(--ink);
}
.map__pin { width: 40px; height: 40px; fill: var(--red); margin-bottom: 6px; }
.map__placeholder p { max-width: 32ch; margin-bottom: 14px; }

.table-scroll { overflow-x: auto; margin-bottom: 1em; }
.prose code { font-size: 14px; background: rgba(36, 26, 18, .06); padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
.prose { margin: 0 auto; }
.prose > h2:first-child, .prose > p:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose__lead { font-size: 19px; line-height: 1.55; color: var(--ink); }
.prose__toc { margin: 1.4em 0 1.8em; padding: 16px 20px; background: var(--paper-hi); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.prose__toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.prose__toc li { margin: 0 0 4px; break-inside: avoid; }
.prose__toc a { text-decoration: none; font-weight: 700; }
.prose__toc a:hover { text-decoration: underline; }
.prose h2[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.prose__contact { list-style: none; padding: 0 !important; }
.prose__updated { color: var(--muted); font-size: 14px; margin-top: 2em; }

/* Mobile call bar */
.call-bar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .info__grid { grid-template-columns: minmax(0, 1fr) 130px; }
  .delivery-panel { grid-column: 1 / -1; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .masthead__call span { display: none; }
  .masthead__call { width: 46px; padding: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; --gutter: 18px; }
  .brand__logo { width: 124px; }
  .nav-toggle { display: block; }
  .masthead__inner { gap: 10px; }
  .status-chip { margin-left: auto; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--paper-hi); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(36, 26, 18, .15);
    max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s ease, visibility .3s;
  }
  .nav-open .main-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; visibility: visible; }
  .main-nav__list { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 18px; gap: 0; }
  .main-nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .main-nav__list > li > a { flex: 1; padding: 14px 4px; font-size: 20px; }
  .main-nav__list > li > a[aria-current="page"] { box-shadow: none; }
  .dropdown-toggle { width: 44px; height: 44px; margin: 0; }
  .has-dropdown::after { display: none; }
  .mega { position: static; width: 100%; padding: 0 0 12px; border: 0; box-shadow: none; background: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-dropdown:hover .mega, .has-dropdown:focus-within .mega { display: none; }
  .has-dropdown.is-open .mega { display: block; }
  .mega__list { columns: 2; }

  .trust__inner { grid-template-columns: 1fr auto; }
  .trust__strap { grid-column: 1 / -1; grid-row: 1; }

  .menu-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .menu-nav { top: calc(var(--header-h) + var(--toolbar-h)); z-index: 30; margin: 0 calc(-1 * var(--gutter)); background: var(--sand); border-bottom: 1px solid var(--line); }
  .menu-nav ul { display: flex; gap: 6px; max-height: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 10px var(--gutter); }
  .menu-nav ul::-webkit-scrollbar { display: none; }
  .menu-nav a { white-space: nowrap; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: 16px; background: var(--paper-hi); }
  .menu-nav a:hover { border-color: var(--red); }
  .menu-nav a.is-active { background: var(--red); color: #fff; border-color: var(--red); }
  .menu-content { padding-top: 18px; }
  .menu-section { scroll-margin-top: calc(var(--header-h) + var(--toolbar-h) + 62px); }

  .find-us__grid { grid-template-columns: 1fr; gap: 24px; }

  .call-bar {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 239, 212, .97);
    border-top: 1px solid var(--line); backdrop-filter: blur(8px);
  }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .call-bar__menu { border: 2px solid var(--red); color: var(--red); }
  .call-bar__call { background: var(--red); color: #fff; }
  .call-bar__call .icon { width: 18px; height: 18px; }
  body { padding-bottom: 76px; }
  .consent-banner { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 110px); overflow-y: auto; }
  .masthead__call { display: none; }
}

@media (max-width: 640px) {
  /* On phones only the section chips stay pinned; the search bar scrolls away to save space. */
  :root { --toolbar-h: 0px; }
  .menu-toolbar { position: static; backdrop-filter: none; }
  body { font-size: 16px; }
  .status-chip { font-size: 13px; padding: 4px 10px; }
  .hero { min-height: 520px; }
  .hero::before { background: linear-gradient(0deg, rgba(48, 6, 6, .92) 0%, rgba(48, 6, 6, .55) 55%, rgba(48, 6, 6, .25) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .trust__inner { grid-template-columns: 1fr; justify-items: center; gap: 12px; text-align: center; }
  .trust__strap { grid-column: auto; }
  .fhrs { width: 190px; }
  .trust__badges { gap: 16px; }
  .award { width: 104px; }
  .site-footer__badge { flex-direction: row; justify-content: flex-start; }
  .rail { grid-auto-columns: 72%; }
  .rail-controls { display: none; }
  .info__grid { grid-template-columns: minmax(0, 1fr); }
  .plaque { flex-direction: row; gap: 18px; padding: 20px 0; }
  .plaque span { font-size: 52px; }
  .panel { padding: 22px 20px; }
  .hours-table th, .hours-table td { padding: 9px 6px; }

  .menu-toolbar__inner { flex-wrap: wrap; gap: 8px; }
  .menu-search { flex: 1 1 100%; }
  .menu-filters { flex-wrap: wrap; gap: 6px; width: 100%; } /* every switch stays visible – no hidden sideways scrolling */
  .diet-switch { height: 34px; font-size: 14px; flex: none; gap: 6px; padding-right: 6px; }
  .diet-switch__icon { width: 24px; height: 24px; }
  .diet-switch__icon svg { width: 14px; height: 14px; }

  .dish { grid-template-columns: 2.9rem minmax(0, 1fr); gap: 0 12px; padding: 16px 0; }
  .dish__no { width: 2.9rem; height: 2.9rem; font-size: 19px; border-radius: 8px; }
  .dish__no--long { font-size: 14px; }
  .dish__head { min-height: 2.9rem; }
  .dish__sizes { padding-left: 10px; }
  .dish__size-name { font-size: 18px; }
  .dish__size .dish__leader { min-width: 8px; }
  .dish__head { flex-wrap: nowrap; align-items: center; }
  .dish__name { font-size: 20px; flex: 1 1 0; min-width: 0; }
  .dish__head > .dish__leader { display: none; }
  .dish__head > .dish__price { margin-left: auto; }
  .dish__price { font-size: 19px; }
  .section-pager { grid-template-columns: 1fr 1fr; }
  .section-pager__all { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .prose { padding: 24px 20px; }
  .prose__toc ol { columns: 1; }
  .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Visitor Shopping List
   ========================================================================== */
.list-ctl { flex: none; display: inline-flex; align-items: center; margin-left: 6px; align-self: center; }
.add-btn {
  /* Icon-only "add to list" button: list lines + plus badge (designed for this site) */
  --btn-bg: var(--paper-hi);
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 10px;
  border: 2px solid var(--red); background: var(--btn-bg); color: var(--red); cursor: pointer;
  transition: background-color .15s, color .15s, transform .1s;
}
.add-btn__icon { width: 24px; height: 24px; overflow: visible; }
.add-btn__lines { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.add-btn__badge { fill: currentColor; }
.add-btn__plus { fill: none; stroke: var(--btn-bg); stroke-width: 1.9; stroke-linecap: round; }
.add-btn { position: relative; }
.add-btn:hover { --btn-bg: var(--red); color: #fff; }
.add-btn:active { transform: scale(.94); }
.add-btn__tick { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* Already on the list: solid, with a tick and a count badge – same size, so nothing moves */
.add-btn.is-added { --btn-bg: var(--red); color: #fff; }
.add-btn.is-added:hover { --btn-bg: var(--red-hover); }
.add-btn__count {
  position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--gold); color: var(--ink); border: 2px solid var(--paper-hi);
  font: 700 11px/16px var(--font-body); text-align: center; font-variant-numeric: tabular-nums;
}
.add-btn.is-pop { animation: add-pop .35s ease; }
@keyframes add-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.add-btn.is-pop .add-btn__count { animation: count-pop .4s ease .1s both; }
@keyframes count-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* The bubble that flies from the button into "Your list" */
.list-fly {
  position: fixed; left: 0; top: 0; z-index: 200; width: 34px; height: 34px; border-radius: 9px; pointer-events: none;
  display: grid; place-items: center; background: var(--red); color: #fff; font: 700 13px/1 var(--font-display);
  box-shadow: 0 6px 16px rgba(48, 6, 6, .35); will-change: transform, opacity;
}
.call-bar__menu.is-pulse { animation: fab-pulse .45s ease; }
@media (prefers-reduced-motion: reduce) {
  .add-btn.is-pop, .add-btn.is-pop .add-btn__count, .call-bar__menu.is-pulse { animation: none; }
}
.stepper { display: inline-flex; align-items: center; height: 38px; border-radius: 999px; background: var(--red); color: #fff; overflow: hidden; }
.stepper__btn { width: 36px; height: 38px; border: 0; background: transparent; color: #fff; font: 700 20px/1 var(--font-body); cursor: pointer; }
.stepper__btn:hover { background: rgba(255, 255, 255, .18); }
.stepper__q { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.dish__sizes .list-ctl { margin-left: 4px; }

.list-fab {
  position: fixed; z-index: 65; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border: 0; border-radius: 999px; background: var(--lacquer); color: #fff; cursor: pointer;
  font: 700 16px var(--font-body); box-shadow: 0 12px 30px rgba(48, 6, 6, .35);
}
.list-fab[hidden] { display: none; }
.list-fab svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; }
.list-fab__count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 14px; }
.list-fab__total { font: 700 18px var(--font-serif); color: var(--gold-soft); }
.list-fab:hover { background: #4a0606; }
.list-fab.is-pulse { animation: fab-pulse .45s ease; }
@keyframes fab-pulse { 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .list-fab.is-pulse { animation: none; } }

.list-drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(460px, 100vw); max-width: 100vw; height: 100%; max-height: none;
  padding: 0; border: 0; background: var(--paper-hi); color: var(--ink); box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
}
.list-drawer[open] { animation: drawer-in .25s ease; }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .list-drawer[open] { animation: none; } }
.list-drawer::backdrop { background: rgba(36, 10, 6, .45); }
.list-drawer__inner { display: flex; flex-direction: column; height: 100%; }
.list-drawer__head { display: flex; justify-content: space-between; gap: 12px; padding: 22px 22px 14px; border-bottom: 1px solid var(--line); }
.list-drawer__head h2 { font: 400 28px/1.1 var(--font-display); }
.list-drawer__sub { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.list-drawer__close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; display: grid; place-items: center; }
.list-drawer__close svg { width: 20px; fill: var(--ink); }
.list-drawer__body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.list-drawer__foot { padding: 14px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; }
.list-drawer__foot:empty { display: none; }

.list-lines { list-style: none; margin: 0; padding: 0; }
.list-line { display: grid; grid-template-columns: 2.3rem minmax(0, 1fr) auto auto auto; align-items: center; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.list-line:last-child { border-bottom: 0; }
.list-line__no {
  display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 7px; background: var(--red); color: #fff;
  font: 700 14px/1 var(--font-display); letter-spacing: -.02em; overflow-wrap: anywhere; text-align: center;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
}
.list-line__name { font: 700 15.5px/1.25 var(--font-serif); }
.list-line__opt { display: inline-block; font: 700 11px var(--font-body); padding: 0 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); vertical-align: 1px; }
.list-line__name em { display: block; font: 400 12px var(--font-body); color: var(--red); }
.list-line__price { font: 700 15px var(--font-serif); font-variant-numeric: tabular-nums; min-width: 3.6em; text-align: right; }
.list-line__qty .stepper { height: 26px; }
.list-line__qty .stepper__btn { width: 24px; height: 26px; font-size: 15px; }
.list-line__qty .stepper__q { min-width: 16px; font-size: 13px; }
.list-line__remove { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; }
.list-line__remove svg { width: 13px; fill: var(--muted); }
.list-line__remove:hover { background: var(--paper); }
.list-line.is-unavailable .list-line__no, .list-line.is-unavailable .list-line__price { opacity: .45; text-decoration: line-through; }
.list-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font: 700 22px var(--font-serif); }
.list-total small { font: 400 14px var(--font-body); color: var(--muted); }
.list-note { margin: -4px 0 0; font-size: 14px; color: var(--muted); }
.list-actions { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.list-share { display: grid; gap: 8px; }
.list-share label { font-weight: 700; font-size: 14px; }
.list-share__row { display: flex; gap: 8px; }
.list-share__row input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font: 14px var(--font-body); color: var(--ink); }
.list-empty { padding: 24px 4px; color: var(--muted); }
.list-empty strong { color: var(--ink); }

.list-toast {
  position: fixed; z-index: 90; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-size: 15px;
  transition: opacity .2s, transform .2s;
}
.list-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Saved list page */
.page-header--list .breadcrumb a { color: var(--gold-soft); }
.page-header__meta { margin: 8px 0 0; color: rgba(255, 255, 255, .75); font-size: 15px; }
.list-page { padding-top: 32px; padding-bottom: 80px; }
.list-page__notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin-bottom: 20px; border-radius: var(--radius); background: var(--gold-soft); }
.list-page__notice p { margin: 0; }
.list-page__main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.list-page__panel { padding: 18px 26px; }
.list-page__panel .list-total { padding-top: 14px; border-top: 2px solid var(--ink); margin-top: 6px; }
.list-page__panel .list-note { margin-top: 6px; }
.list-page__side { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 20px); }
.list-page__hint { margin: 0; font-size: 14px; color: var(--muted); }

@media (max-width: 900px) {
  .list-fab { display: none; } /* the phone bar's list button takes over */
  .list-drawer { inset: auto 0 0 0; width: 100%; height: min(88vh, 100%); border-radius: 18px 18px 0 0; }
  @keyframes drawer-in { from { transform: translateY(40px); opacity: 0; } }
  .list-page__main { grid-template-columns: 1fr; }
  .list-page__side { position: static; }
  .list-toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .add-btn { width: 36px; height: 36px; }
  .list-line { grid-template-columns: 2.3rem minmax(0, 1fr) auto; }
  .list-line__qty { grid-column: 2; }
  .list-line__price { grid-column: 3; grid-row: 1; }
  .list-line__remove { grid-column: 3; grid-row: 2; justify-self: end; }
  .list-page__panel { padding: 12px 16px; }
}

@media print {
  .masthead, .site-footer, .call-bar, .list-fab, .notice-bar, .consent-banner, .list-page__side, .list-page__notice,
  .list-line__remove, .stepper__btn, .no-print, .breadcrumb { display: none !important; }
  body { background: #fff; padding: 0; }
  .page-header { background: none; color: #000; padding: 0 0 12px; }
  .page-header__meta { color: #555; }
  .list-page__main { display: block; }
  .stepper { background: none; color: #000; }
  .list-line__no { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .stepper__q::before { content: "× "; }
}

/* ---------- Admin shortcuts (only rendered for logged-in admins) ---------- */
.admin-bar { background: #2b1212; color: #e8dcc4; font-size: 14px; }
.admin-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 38px; padding-top: 4px; padding-bottom: 4px; }
.admin-bar__who { color: var(--gold-soft); font-weight: 700; }
.admin-bar a { color: #fff; text-decoration: none; font-weight: 700; }
.admin-bar a:hover { text-decoration: underline; color: #fff; }
.admin-bar__flash { padding: 2px 10px; border-radius: 999px; background: #2e7d32; color: #fff; font-weight: 700; }
.admin-bar__flash--error { background: var(--red); }
.admin-bar__flash--warning { background: #8a6a00; }
.admin-bar__logout { margin: 0 0 0 auto; }
.admin-bar__logout button { background: none; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; padding: 2px 12px; cursor: pointer; font: 700 13px var(--font-body); }
.admin-bar__logout button:hover { background: rgba(255, 255, 255, .12); }
.admin-edit {
  flex: none; align-self: center; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 7px; border-radius: 999px;
  background: #2b1212; color: #fff; font: 700 12px var(--font-body); text-decoration: none; line-height: 1.4;
}
.admin-edit svg { width: 14px; height: 14px; fill: var(--gold); }
.admin-edit:hover { background: var(--red); color: #fff; }
.admin-edit--hero { margin-top: 12px; padding: 6px 14px 6px 10px; font-size: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
.dish:target { background: linear-gradient(90deg, rgba(201, 162, 39, .18), transparent); }
@media (max-width: 640px) { .admin-edit span { display: none; } .admin-edit { padding: 5px; } .admin-edit--hero span { display: inline; } }

/* ---- Maintenance mode page ---- */
.maintenance-page { background: var(--sand); }
.maintenance { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter, 20px) 32px; text-align: center; }
.maintenance__logo { display: block; width: 220px; max-width: 70%; height: auto; margin: 0 auto 26px; }
.maintenance__card {
  background: var(--paper-hi); border-top: 6px solid var(--red); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(36, 26, 18, .18);
  padding: 34px clamp(20px, 5vw, 48px) 30px;
}
.maintenance__badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.maintenance__badge svg { width: 16px; height: 16px; fill: currentColor; }
.maintenance__title { font: 400 clamp(32px, 6vw, 52px)/1.08 var(--font-display); color: var(--red); margin: 0 0 14px; text-wrap: balance; }
.maintenance__message { font-size: 18px; line-height: 1.6; max-width: 46ch; margin: 0 auto 10px; }
.maintenance__back { font-weight: 700; margin: 0 0 18px; }
.maintenance__call { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; padding: 14px 26px; margin: 8px 0 14px; }
.maintenance__call svg { width: 22px; height: 22px; fill: currentColor; }
.maintenance__status { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-weight: 700; }
.maintenance__status span { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.maintenance__status--open span { background: var(--green); }
.maintenance__info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; text-align: left; }
.maintenance__info section { background: var(--paper-hi); border-radius: var(--radius); padding: 20px 22px; }
.maintenance__info h2 { font: 700 21px var(--font-serif); margin: 0 0 10px; }
.maintenance__info address { font-style: normal; line-height: 1.6; }
.maintenance__legal { margin-top: 26px; font-size: 14px; color: var(--muted); }
.maintenance-preview { background: var(--gold); color: var(--ink); text-align: center; padding: 10px 16px; font-weight: 700; }
.maintenance-preview a { color: var(--ink); }
@media (max-width: 640px) {
  .maintenance { padding-top: 24px; }
  .maintenance__info { grid-template-columns: 1fr; }
}
.admin-bar--maintenance { background: var(--red); color: #fff; }
.admin-bar--maintenance a { margin-left: 12px; text-decoration: underline; }

/* ---- Site search ---- */
.search-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: 8px;
  border-radius: 50%; color: var(--ink); text-decoration: none; transition: background-color .15s;
}
.search-btn:hover, .search-btn:focus-visible { background: rgba(143, 14, 14, .08); color: var(--red); }
.search-btn svg { width: 22px; height: 22px; }

.site-search {
  width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: 8vh auto auto;
  padding: 0; border: 0; border-radius: var(--radius); background: var(--paper-hi); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; display: none; flex-direction: column;
}
.site-search[open] { display: flex; }
.site-search::backdrop { background: rgba(36, 10, 6, .55); }
.site-search__form { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line); }
.site-search__icon { width: 22px; height: 22px; flex: none; color: var(--red); }
.site-search__form input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 20px var(--font-serif); color: var(--ink); padding: 6px 0; outline: none; }
.site-search__close { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.site-search__close:hover { background: var(--sand); color: var(--ink); }
.site-search__results { list-style: none; margin: 0; padding: 6px 0; overflow-y: auto; overscroll-behavior: contain; }
.site-search__results:empty { display: none; }
.site-search__results a { display: flex; align-items: center; gap: 12px; padding: 10px 18px; color: var(--ink); text-decoration: none; }
.site-search__results a:hover, .site-search__results a[aria-selected="true"] { background: var(--sand); }
.site-search__no { flex: none; min-width: 34px; height: 30px; padding: 0 5px; border-radius: 6px; background: var(--red); color: #fff; font: 700 13px/30px var(--font-display); text-align: center; }
.site-search__no--empty { background: transparent; border: 2px solid rgba(143, 14, 14, .35); }
.site-search__name { flex: 1; min-width: 0; font: 700 17px/1.25 var(--font-serif); }
.site-search__name small { display: block; font: 400 13px "Lato", sans-serif; color: var(--muted); }
.site-search__price { flex: none; font-weight: 700; }
.site-search__all a { justify-content: center; font-weight: 700; color: var(--red); border-top: 1px solid var(--line); }
.site-search__empty, .site-search__hint { padding: 14px 18px; margin: 0; color: var(--muted); }
@media (max-width: 640px) {
  .site-search { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .search-btn { margin-right: 2px; }
}

.menu-hero--search { min-height: 0; }
.search-page { padding-top: 26px; padding-bottom: 40px; }
.search-page__form { display: flex; align-items: center; gap: 10px; max-width: 720px; margin: 0 0 24px; padding: 6px 6px 6px 16px; background: var(--paper-hi); border: 1px solid var(--line); border-radius: 999px; }
.search-page__icon { width: 20px; height: 20px; flex: none; color: var(--red); }
.search-page__form input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 17px; padding: 8px 0; outline: none; }
.search-page__none { margin-bottom: 14px; }
.search-page__sections { display: flex; flex-wrap: wrap; gap: 8px; }
.search-page__sections .chip { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--paper-hi); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.search-page__sections .chip:hover { border-color: var(--red); color: var(--red); }
.search-results { max-width: 860px; }
.search-page__more { margin-top: 20px; color: var(--muted); }
.dish__cat { display: inline-block; margin: 2px 0 4px; font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; }
.dish__cat:hover { text-decoration: underline; }
.site-search__form input::-webkit-search-cancel-button { display: none; }

/* Phones: logo, open-status badge, search and menu buttons must all fit (down to 320px wide). */
@media (max-width: 640px) {
  .masthead__inner { gap: 8px; }
  .search-btn { width: 40px; height: 40px; margin-right: 0; }
  .nav-toggle { width: 40px; flex: none; }
  .status-chip { min-width: 0; }
}
@media (max-width: 430px) {
  .brand__logo { width: 108px; }
  .masthead__inner { gap: 6px; }
  .status-chip { white-space: normal; line-height: 1.2; font-size: 12px; padding: 4px 9px 4px 8px; gap: 6px; text-align: left; }
}
@media (max-width: 350px) {
  .brand__logo { width: 96px; }
  .search-btn, .nav-toggle { width: 36px; }
}
@media (max-width: 350px) {
  .hours-table { font-size: 14px; }
  .hours-panel, .delivery-panel { padding-left: 14px; padding-right: 14px; }
  .dish { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0 8px; }
  .dish__head { gap: 6px; }
  .call-bar a { gap: 6px; font-size: 15px; }
}

/* Phones: the cookie notice's buttons must always be visible. If the screen is short (or the browser
   reports less height than expected, as seen on some iPhones), only the explanation scrolls – never the buttons. */
@media (max-width: 640px) {
  .consent-banner {
    display: flex; flex-direction: column; overflow: hidden; padding: 18px 18px 12px; font-size: 14px;
    max-height: calc(100vh - 110px); max-height: max(250px, calc(100dvh - 110px - env(safe-area-inset-bottom)));
  }
  .consent-banner__title { flex: none; font-size: 20px; margin-bottom: 6px; }
  .consent-banner p { flex: 0 1 auto; min-height: 2.8em; overflow-y: auto; -webkit-overflow-scrolling: touch; margin-bottom: 12px; }
  .consent-banner__actions { flex: none; }
}

/* × on the cookie notice (= Reject all) */
.notice-x {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; touch-action: manipulation;
}
.notice-x:hover, .notice-x:focus-visible { background: rgba(143, 14, 14, .08); color: var(--ink); }
.consent-banner__title { padding-right: 32px; }

/* ---- Dish photos (optional): small on the menu, full size in a viewer ---- */
.dish__photo {
  float: left; width: 112px; aspect-ratio: 4 / 3; margin: 8px 14px 4px 0; padding: 0; border: 0; border-radius: 8px; overflow: hidden;
  background: var(--paper-hi); cursor: zoom-in; box-shadow: 0 1px 3px rgba(36, 26, 18, .2);
}
.dish__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.dish__photo:hover img, .dish__photo:focus-visible img { transform: scale(1.05); }
.dish--photo .dish__body::after { content: ""; display: block; clear: both; }
.dish--photo .dish__sizes { clear: both; }
.photo-box { width: auto; max-width: min(1100px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: #140806; color: #fff; overflow: hidden; }
.photo-box::backdrop { background: rgba(20, 8, 6, .85); }
.photo-box__img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 90px); object-fit: contain; background: #140806; cursor: zoom-out; }
.photo-box__caption { margin: 0; padding: 12px 56px 14px 16px; font: 700 18px var(--font-serif); }
.photo-box__close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) { .dish__photo { width: 88px; margin-right: 12px; } }
@media (prefers-reduced-motion: reduce) { .dish__photo img { transition: none; } }

/* ---- Allergy advice box (bottom of every menu page) ---- */
.allergy-box {
  display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr); gap: 14px 28px; align-items: start;
  margin: 40px 0 8px; padding: 22px 24px; background: var(--paper-hi); border: 2px solid var(--red); border-radius: var(--radius);
  box-shadow: inset 0 0 0 4px var(--paper-hi), inset 0 0 0 5px rgba(143, 14, 14, .45); scroll-margin-top: calc(var(--header-h) + var(--toolbar-h) + 16px);
}
.allergy-box__title { margin: 0 0 8px; font: 400 26px/1.15 var(--font-display); color: var(--red); }
.allergy-box__common, .allergy-box__intro { margin: 0 0 8px; font-size: 16px; line-height: 1.45; }
.allergy-box__common strong { text-transform: uppercase; letter-spacing: .02em; }
.allergy-box__intro { color: var(--muted); }
.allergy-box__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px 8px; counter-reset: allergen; }
.allergen { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; counter-increment: allergen; }
.allergen::before {
  content: counter(allergen); position: absolute; top: -4px; left: calc(50% - 30px); width: 20px; height: 20px; border-radius: 50%;
  background: var(--red); color: #fff; font: 700 11px/20px var(--font-body); text-align: center;
}
.allergen__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--a); background: color-mix(in srgb, var(--a) 13%, #fff); }
.allergen__icon svg { width: 30px; height: 30px; }
.allergen__name { font-size: 13px; font-weight: 700; line-height: 1.2; }
.allergen__name small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
.allergy-box__footer { grid-column: 2; margin: 2px 0 0; font-weight: 700; font-style: italic; font-size: 16px; }
.menu-notes__allergy-link { font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) {
  .allergy-box { grid-template-columns: 1fr; padding: 18px 16px; }
  .allergy-box__footer { grid-column: 1; }
  .allergy-box__list { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 12px 4px; }
  .allergen__icon { width: 46px; height: 46px; }
  .allergen::before { left: calc(50% - 28px); }
}
@media print { .allergy-box { break-inside: avoid; box-shadow: none; } }

/* Labels that apply to a whole section ("All spicy") */
.section-labels { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.section-label {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px;
  background: var(--label-bg); color: var(--label-fg); font-size: 13px; font-weight: 700;
}
.section-label svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: rgba(255, 255, 255, .2); fill: none; }
.section-labels--hero { margin-top: 12px; }
