/* Hotel Sai Balaa – customer menu. Mobile-first; a centred column on larger screens.
   One system, four moods: neutrals and brass never change, each section swaps its header colour (Dinner also goes dark). */
:root {
  /* neutrals (light) */
  --ground: #f5f7f4;
  --surface: #ffffff;
  --ink: #13211c;
  --muted: #55655d;
  --hair: #dde3dd;
  --nav-bg: rgba(245, 247, 244, 0.96);
  --brass: #b8893b;
  --brass-light: #e3c27a;
  --price: #7a5614;
  --dot: #c9d3cc;
  --sold-bg: #e6e9e6;
  --sold-ink: #4a4f4c;
  --live: #34b36a;
  --live-ink: #16763f;
  --chip-on: #13211c;
  --chip-on-ink: #f5f1e6;
  --photo: #dce8e0;
  --photo-ink: #55776a;

  /* section mood (default = Lunch green) */
  --header: #12382b;
  --header-ink: #f5f1e6;
  --header-muted: #b9ccc1;
  --pill-line: rgba(245, 241, 230, 0.35);
  --track: rgba(245, 241, 230, 0.2);
  --leaf: #8fd3a5;
  --hero: #2c5444;
  --hero-line: rgba(245, 241, 230, 0.28);
  --hero-shadow: rgba(18, 56, 43, 0.65);
  --soft: #e3f0e8;
  --accent-ink: #1f5f46;

  --sticky-h: 112px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
body[data-meal='breakfast'] { --header: #8a3b0b; --header-muted: #f3dcc4; --hero: #a45a24; --hero-shadow: rgba(138, 59, 11, 0.6); --soft: #fbe9d6; --accent-ink: #8a3b0b; }
body[data-meal='snacks'] { --header: #7a2e1b; --header-muted: #f6d5c9; --hero: #9a4a36; --hero-shadow: rgba(122, 46, 27, 0.6); --soft: #f8e1d4; --accent-ink: #7a2e1b; }
body[data-meal='dinner'] {
  --ground: #0f0e22; --surface: #1a1938; --ink: #f1ece0; --muted: #a9a6bf; --hair: rgba(241, 236, 224, 0.12);
  --nav-bg: rgba(15, 14, 34, 0.96); --brass: #d9b26a; --price: #e3c27a; --dot: #38366a; --sold-bg: #2a2950; --sold-ink: #c9c6e0;
  --live: #4ade80; --live-ink: #4ade80; --chip-on: #e3c27a; --chip-on-ink: #13211c; --photo: #24234a; --photo-ink: #8f8cc0;
  --header: #14132b; --header-ink: #f1ece0; --header-muted: #b4b1cb; --pill-line: rgba(241, 236, 224, 0.3); --track: rgba(241, 236, 224, 0.16);
  --hero: #2b2a5c; --hero-line: rgba(241, 236, 224, 0.26); --hero-shadow: rgba(0, 0, 0, 0.7); --soft: #1f1e42; --accent-ink: #e3c27a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ground); }
body {
  margin: 0 auto;
  max-width: 640px;
  min-height: 100vh;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.45 var(--sans);
  transition: background-color 0.3s, color 0.3s;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.ico { display: inline-flex; width: 1.25em; height: 1.25em; flex: none; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.fill svg { fill: currentColor; stroke: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.banner { position: relative; overflow: hidden; background: var(--header); color: var(--header-ink); padding: calc(30px + env(safe-area-inset-top)) 20px 84px; transition: background-color 0.3s; }
.banner-art { position: absolute; right: -26px; top: 20px; width: 190px; height: 190px; color: var(--brass-light); opacity: 0.16; pointer-events: none; }
.banner-art svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round; }
.banner-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: var(--brass-light); }
.eyebrow i { width: 22px; height: 1px; background: var(--brass-light); }
h1 { margin: 12px 0 0; font: 600 46px/1 var(--serif); letter-spacing: -0.015em; }
.tagline { margin: 12px 0 0; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; border: 1px solid var(--pill-line); border-radius: 999px; padding: 5px 12px 5px 9px; }
.tagline .leaf { color: var(--leaf); width: 15px; height: 15px; }
.tagline .leaf svg { stroke-width: 2; }

.status { align-self: stretch; margin-top: 26px; display: flex; flex-direction: column; gap: 6px; min-height: 100px; }
.live { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-light); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 1.8s ease-in-out infinite; }
.status-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.meal-name { font: 600 34px/1.05 var(--serif); }
.meal-hours { font-size: 13.5px; color: var(--header-muted); font-variant-numeric: tabular-nums; text-align: right; }
.time-bar { margin-top: 8px; height: 6px; border-radius: 6px; background: var(--track); overflow: hidden; }
.time-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--brass-light); transition: width 0.7s ease-out; }
.status-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--header-muted); }
.status-foot b { font-weight: 600; color: var(--header-ink); }

/* ---------- Chef's Special (overlaps the header) ---------- */
.specials { position: relative; z-index: 2; margin: -56px 20px 0; animation: rise 0.45s ease both; }
.section-title { display: none; }
.track { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px -16px; padding: 0 20px 36px; scroll-padding-inline: 20px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.track { transition: opacity 0.22s ease; }
.track.fade { opacity: 0; }
.track::-webkit-scrollbar { display: none; }
.special { position: relative; flex: 0 0 100%; scroll-snap-align: center; height: 244px; border-radius: 24px; overflow: hidden; background: var(--hero); color: #f5f1e6; box-shadow: 0 26px 40px -26px var(--hero-shadow); display: flex; align-items: flex-end; }
.special img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.special .noimg { position: absolute; right: 26px; top: 26px; width: 132px; height: 132px; border-radius: 50%; border: 1.5px solid var(--hero-line); display: grid; place-items: center; color: var(--hero-line); }
.special .noimg .ico { width: 54px; height: 54px; }
.special .noimg svg { stroke-width: 1.2; }
.special .scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(to top, rgba(8, 16, 12, 0.94) 0%, rgba(8, 16, 12, 0.82) 38%, rgba(8, 16, 12, 0) 100%); }
.special .badge { position: absolute; left: 16px; top: 16px; background: var(--brass-light); color: #13211c; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; padding: 5px 11px; border-radius: 999px; text-transform: uppercase; }
.special .body { position: relative; padding: 0 18px 18px; width: 100%; display: flex; flex-direction: column; gap: 5px; }
.special .kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--brass-light); }
.special h3 { margin: 0; font: 600 25px/1.12 var(--serif); }
.special p { margin: 0; font-size: 13px; line-height: 1.4; color: #d8e0da; max-width: 250px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.special .sp-price { position: absolute; right: 16px; bottom: 18px; background: var(--brass-light); color: #13211c; font-weight: 700; font-size: 18px; padding: 7px 14px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.special.has-price .body { padding-right: 96px; }
.dots-row { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 28px; }
.dots { display: flex; justify-content: center; gap: 6px; padding-top: 0; }
.banner-toggle { width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border: 1px solid var(--hair); border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer; }
.banner-toggle svg { width: 12px; height: 12px; fill: currentColor; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.banner-toggle:hover { color: var(--ink); border-color: var(--brass); }
.dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: var(--dot); transition: width 0.2s, background 0.2s; cursor: pointer; }
.dots button[aria-current='true'] { width: 20px; background: var(--brass); }

/* ---------- Sticky tabs + chips ---------- */
.sticky { position: sticky; top: 0; z-index: 20; margin-top: 10px; background: var(--nav-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding-top: env(safe-area-inset-top); }
.tabs { position: relative; display: flex; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 58px; padding: 12px 9px 13px; border: 0; background: none; color: var(--muted); font: 500 14px/1.2 var(--sans); cursor: pointer; }
.tab .t-label { font-weight: inherit; }
.tab .t-sub { font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tab[aria-selected='true'] { color: var(--ink); font-weight: 700; }
.tab .now { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--live-ink); }
.tab .now::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--live); animation: pulse 1.8s ease-in-out infinite; }
.tab-ink { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; border-radius: 3px; background: var(--brass); transition: transform 0.22s ease, width 0.22s ease; }
.chips { display: flex; gap: 8px; padding: 12px 20px 14px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--hair); border-radius: 999px; background: var(--surface); color: var(--ink); font: 500 14px/1.2 var(--sans); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.chip .n { font-size: 12px; opacity: 0.7; font-variant-numeric: tabular-nums; }
.chip[aria-current='true'] { background: var(--chip-on); border-color: var(--chip-on); color: var(--chip-on-ink); font-weight: 600; }

/* ---------- Search, Chef's Picks ---------- */
main { padding: 0 20px 28px; outline: none; }
.search { position: relative; margin: 18px 0 0; }
.search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 19px; height: 19px; pointer-events: none; }
.search input { width: 100%; height: 50px; padding: 0 16px 0 44px; border: 1px solid var(--hair); border-radius: 16px; background: var(--surface); font: 400 16px var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px var(--soft); }
.picks { padding-top: 30px; }
.picks-head { display: flex; align-items: baseline; justify-content: space-between; }
.picks-head h2 { margin: 0; font: 600 24px/1.1 var(--serif); }
.picks-head span { font-size: 13px; color: var(--muted); }
.picks-track { display: flex; gap: 14px; margin: 16px -20px 0; padding: 0 20px 4px; overflow-x: auto; scroll-padding-inline: 20px; scroll-snap-type: x proximity; scrollbar-width: none; }
.picks-track::-webkit-scrollbar { display: none; }
.pick-card { flex: none; width: 156px; display: flex; flex-direction: column; gap: 9px; scroll-snap-align: start; }
.pick-photo { position: relative; height: 116px; border-radius: 16px; overflow: hidden; background: var(--photo); }
.pick-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; background: var(--brass-light); color: #13211c; border-radius: 999px; padding: 3px 8px 3px 6px; font-size: 11px; font-weight: 700; }
.pick-badge .ico { width: 11px; height: 11px; }
.pick-name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.pick-price { font-size: 14px; font-weight: 600; color: var(--price); font-variant-numeric: tabular-nums; }

/* ---------- Dish list ---------- */
.results-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.group { padding-top: 30px; scroll-margin-top: calc(var(--sticky-h) + 6px); animation: rise 0.35s ease both; }
.group h2 { position: relative; display: flex; align-items: baseline; justify-content: space-between; margin: 0; padding-bottom: 14px; font: 600 28px/1.1 var(--serif); letter-spacing: -0.01em; }
.group h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--brass); }
.group h2 small { font: 400 13px var(--sans); color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.group ul { list-style: none; margin: 4px 0 0; padding: 0; }
.item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--hair); }
.item:first-child { border-top: 0; }
.item-main { flex: 1; min-width: 0; }
.item .name { font-size: 16px; font-weight: 500; line-height: 1.3; }
.item .desc { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); max-width: 270px; }
.item .meta { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.item-end { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.item .price { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--price); padding-top: 1px; white-space: nowrap; }
.item .price small { font-weight: 500; font-size: 12px; color: var(--muted); }
.pick-star { display: inline-flex; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; color: var(--brass); }
.pick-star svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.item.sold .name { color: var(--muted); }
.item.sold .price { color: var(--muted); text-decoration: line-through; font-weight: 500; }
.tag-sold { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sold-ink); background: var(--sold-bg); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

.empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.empty button { margin-top: 12px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--chip-on); color: var(--chip-on-ink); font: 600 15px var(--sans); cursor: pointer; }
.skeleton { display: grid; gap: 14px; padding-top: 24px; }
.skeleton i { display: block; height: 20px; border-radius: 8px; background: linear-gradient(90deg, var(--hair) 25%, var(--soft) 50%, var(--hair) 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.skeleton i:nth-child(odd) { width: 86%; }

/* Highlighted categories (the owner's Chef's Special / Tandoori sections) */
:root { --feat-bg: #fbf4e4; --feat-line: rgba(184, 137, 59, 0.45); }
body[data-meal='dinner'] { --feat-bg: #1b1a3a; --feat-line: rgba(217, 178, 106, 0.4); }
.group.featured { margin: 30px -12px 0; padding: 22px 12px 6px; background: var(--feat-bg); border: 1px solid var(--feat-line); border-radius: 22px; }
.group.featured h2 { gap: 12px; }
.group.featured .item { border-top-color: var(--feat-line); }
.group.featured .pick-star { display: none; }
.chip.featured::before { content: '\2605'; font-size: 11px; color: var(--brass); }
.chip.featured[aria-current='true']::before { color: var(--chip-on-ink); }

/* ---------- Footer ---------- */
.foot { background: var(--header); color: var(--header-ink); padding: 30px 20px calc(38px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; transition: background-color 0.3s; }
.foot p { margin: 0; }
.foot-name { font: 600 26px/1 var(--serif); }
.foot .note { max-width: 290px; font-size: 13px; line-height: 1.5; color: var(--header-muted); }
.foot-call { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border: 1px solid var(--pill-line); border-radius: 999px; color: var(--header-ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.foot-call .ico { color: var(--brass-light); width: 18px; height: 18px; }
.foot-tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-light); font-weight: 600; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: 0.35; } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (min-width: 641px) { body { box-shadow: 0 0 40px rgba(0, 0, 0, 0.12); } h1 { font-size: 52px; } }
@media (max-width: 340px) { h1 { font-size: 38px; } .meal-name { font-size: 28px; } .tab { padding-inline: 5px; } }

/* ---------- click-to-edit mode (only after the owner signs in at /?edit) ---------- */
body.editing { padding-bottom: 96px; }
body.editing .specials { margin-top: 22px; }
body.editing .section-title { display: flex; align-items: center; gap: 10px; padding: 0 0 12px; }
.section-title h2 { margin: 0; font: 600 22px/1.1 var(--serif); }
.editable { cursor: pointer; }
.editable:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.item.editable { border-radius: 10px; margin-inline: -6px; padding-inline: 6px; transition: background-color 0.15s; }
.item.editable:hover, .item.editable:active { background: var(--soft); }
.edit-pen { flex: none; width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--accent-ink); align-self: center; }
.edit-pen .ico { width: 16px; height: 16px; }
.special .edit-pen { position: absolute; right: 12px; top: 10px; background: rgba(255, 247, 230, 0.94); color: #13211c; }
button.edit-pen { border: 0; cursor: pointer; padding: 0; }
.add-row { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 11px 14px; border: 2px dashed var(--accent-ink); border-radius: 12px; background: transparent; color: var(--accent-ink); font: 600 15px var(--sans); cursor: pointer; }
.add-row .ico { width: 18px; height: 18px; }
.add-btn, .banner-edit { border: 1.5px solid var(--pill-line); background: transparent; color: var(--header-ink); font: 600 13.5px var(--sans); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.add-btn { margin-left: auto; border-color: var(--accent-ink); background: var(--soft); color: var(--accent-ink); }
.banner-edit { margin-top: 14px; }
.special-empty { flex: 1; border: 2px dashed var(--hair); border-radius: 16px; padding: 28px 16px; text-align: center; color: var(--muted); }
.edit-actions { display: flex; gap: 8px; margin-top: 14px; }
.sections-edit { display: flex; width: 100%; align-items: center; justify-content: center; margin: 0; padding: 10px 14px; border: 2px dashed var(--accent-ink); border-radius: 12px; background: transparent; color: var(--accent-ink); font: 600 14.5px var(--sans); cursor: pointer; }
.edit-actions .sections-edit { flex: 1; }
.sections-edit[aria-pressed='true'] { background: var(--accent-ink); color: var(--ground); border-style: solid; }
.reorder-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--soft); color: var(--ink); font-size: 13.5px; }
.item.reordering { padding-block: 6px; }
.mv-btns { flex: none; display: inline-flex; gap: 6px; align-self: center; }
.mv { width: 40px; height: 40px; border: 1.5px solid var(--hair); border-radius: 50%; background: var(--surface); color: var(--accent-ink); font: 700 20px/1 var(--sans); cursor: pointer; }
.mv:hover:not(:disabled) { background: var(--soft); border-color: var(--accent-ink); }
.mv:disabled { opacity: 0.3; cursor: not-allowed; }
.group h2 .group-meta { display: inline-flex; align-items: center; gap: 8px; }
.group h2 .group-meta .edit-pen { margin-bottom: -4px; }
body.no-hero .banner, body.editing .banner { padding-bottom: 30px; }
.pick-star .ico { width: 12px; height: 12px; }

/* Sub-headings inside a category (e.g. Dosa, Uthappam in Tiffin) */
.subhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 0 4px; border-top: 1px solid var(--hair); }
.group ul > .subhead:first-child { border-top: 0; padding-top: 14px; }
.subhead h3 { margin: 0; font: 600 13px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--price); }
.subhead + .item { border-top: 0; }

/* Opening hours of a category (shown under its heading; greyed when closed) */
.group-hours { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.group-hours .timings { font-variant-numeric: tabular-nums; }
.group-hours .opens { padding: 2px 10px; border-radius: 999px; background: var(--sold-bg); color: var(--sold-ink); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.group.closed ul { opacity: 0.55; }
.chip.closed:not([aria-current='true']) { opacity: 0.65; }

/* Shown only when the address overrides the time (?at= / ?on=), so nobody mistakes a test time for the real one */
.test-clock { position: fixed; z-index: 95; top: 8px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 16px); padding: 7px 14px; border-radius: 999px; background: #8f2a18; color: #fff7e6; font-size: 12.5px; text-decoration: none; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5); white-space: nowrap; }
.test-clock b { font-weight: 700; }

/* Dish photo on its row, and the enlarged view */
.thumb { flex: none; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--photo); display: block; align-self: center; cursor: zoom-in; }
span.thumb { cursor: inherit; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item.sold .thumb { opacity: 0.6; }
dialog.photo-view { width: min(520px, calc(100% - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); }
dialog.photo-view::backdrop { background: rgba(10, 8, 6, 0.65); }
.photo-view img { display: block; width: 100%; max-height: 62vh; object-fit: cover; }
.pv-body { padding: 16px 20px 20px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.pv-body h3 { margin: 0; font: 600 22px/1.15 var(--serif); }
.pv-body p { margin: 0; flex-basis: 100%; font-size: 14px; color: var(--muted); }
.pv-price { font-weight: 700; font-size: 18px; color: var(--price); font-variant-numeric: tabular-nums; }
.pv-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(20, 14, 8, 0.7); color: #fff; font: 400 26px/1 var(--sans); cursor: pointer; }
