/* ============================================================
   WokFood — visual system
   Warm, clean & modern, photo-forward, mobile-first.
   All themable values are CSS custom properties so the Tweaks
   panel can drive them live (and so it ports cleanly to PHP).
   ============================================================ */

:root {
  /* Brand + neutrals (warm) */
  --accent: #E8570A;
  --accent-press: #c8480a;
  --accent-ink: #ffffff;

  --bg: #FBF7F1;          /* warm off-white page */
  --surface: #FFFFFF;     /* cards */
  --surface-2: #F4EEE5;   /* subtle fills, placeholders */
  --ink: #1F1A16;         /* warm near-black text */
  --ink-2: #5E544B;       /* secondary text */
  --muted: #968A7D;       /* tertiary / captions */
  --line: #ECE3D7;        /* hairlines */

  --hero-bg: #17120F;     /* warm near-black hero */
  --hero-ink: #FBF7F1;

  --good: #2F7D55;        /* open */
  --good-bg: #E7F2EB;
  --bad: #B23A2E;         /* closed */
  --bad-bg: #F6E7E4;

  /* Shape / softness (tweakable) */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(31,26,22,.04), 0 8px 24px -12px rgba(31,26,22,.18);
  --shadow-lift: 0 2px 4px rgba(31,26,22,.05), 0 18px 40px -16px rgba(31,26,22,.28);

  /* Type */
  --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* Layout */
  --col: 520px;           /* mobile content column cap */
  --pad: 20px;
  --header-h: 106px;       /* mobile: top row + slim labeled nav */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: color-mix(in oklab, var(--accent) 26%, white); }

/* ---------- App shell ---------- */
.app { min-height: 100dvh; display: flex; flex-direction: column; }

.wrap {
  width: 100%;
  max-width: var(--col);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  height: 58px;
  display: flex; align-items: center; gap: 12px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px; letter-spacing: -.01em;
  color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 2px;
}
.brand b { color: var(--accent); font-weight: 700; }

.topbar__spacer { flex: 1; }

/* status pill */
.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
  padding: 6px 11px 6px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  white-space: nowrap;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.status.is-open  { color: var(--good); background: var(--good-bg); }
.status.is-open .dot  { background: var(--good); box-shadow: 0 0 0 0 color-mix(in oklab, var(--good) 60%, transparent); animation: pulse 2.4s infinite; }
.status.is-closed{ color: var(--bad);  background: var(--bad-bg); }
.status.is-closed .dot{ background: var(--bad); }
.status small { font-weight: 500; opacity: .85; }
/* On narrow phones, keep the FR/EN toggle visible: header pill shows just
   the state; the hero chip + Hours page carry the full "· Opens…" detail. */
@media (max-width: 479px) { .topbar .status small { display: none; } }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--good) 55%, transparent); }
  70%  { box-shadow: 0 0 0 7px color-mix(in oklab, var(--good) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--good) 0%, transparent); }
}

/* lang toggle */
.lang {
  display: inline-flex; border: 1px solid var(--line);
  border-radius: var(--radius-pill); overflow: hidden; background: var(--surface);
}
.lang a, .lang button {
  border: 0; background: transparent; color: var(--ink-2);
  font-size: 12px; font-weight: 700; letter-spacing: .03em;
  padding: 7px 11px; min-width: 38px; text-align: center;
}
.lang a[aria-pressed="true"], .lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* labeled top navigation row — slim, understated text links */
.subnav { border-top: 1px solid var(--line); }
.subnav__row {
  display: flex; gap: 2px; justify-content: center; flex-wrap: nowrap;
  max-width: var(--col); margin-inline: auto;
  padding: 3px var(--pad) 6px;
}
.subnav__row a, .subnav__row button {
  flex: 0 1 auto; position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent;
  color: var(--ink-2); font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  padding: 9px 16px; min-height: 42px; border-radius: var(--radius-sm);
  transition: color .12s ease;
}
.subnav__row a:hover, .subnav__row button:hover { color: var(--ink); }
.subnav__row a[aria-current="page"], .subnav__row button[aria-current="true"] { color: var(--accent); font-weight: 700; }
.subnav__row a[aria-current="page"]::after,
.subnav__row button[aria-current="true"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--accent);
}

/* ============================================================
   BOTTOM NAV (mobile primary nav)
   ============================================================ */
.tabbar {
  position: sticky; bottom: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar__inner { display: flex; max-width: var(--col); margin-inline: auto; }
.tab {
  flex: 1; border: 0; background: transparent;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 4px 11px; color: var(--muted);
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
  min-height: 56px;
}
.tab svg { width: 22px; height: 22px; }
.tab[aria-current="page"] { color: var(--accent); }
.tab.tab--call { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg);
  color: var(--hero-ink);
  border-radius: 0 0 calc(var(--radius) + 8px) calc(var(--radius) + 8px);
}
.hero__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__media image-slot { width: 100%; height: 100%; --border-radius: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13,10,8,.92) 4%, rgba(13,10,8,.35) 46%, rgba(13,10,8,.55) 100%);
}
.hero[data-hero="solid"] .hero__media { display: none; }
.hero[data-hero="solid"] .hero__scrim { background: radial-gradient(120% 80% at 70% 0%, #2a201a 0%, var(--hero-bg) 60%); }
.hero[data-hero="texture"] .hero__media { display: none; }
.hero[data-hero="texture"] .hero__scrim {
  background:
    radial-gradient(120% 80% at 80% -10%, color-mix(in oklab, var(--accent) 34%, var(--hero-bg)) 0%, transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 11px),
    var(--hero-bg);
}

.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--col); margin-inline: auto;
  padding: 30px var(--pad) 30px;
  min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: color-mix(in oklab, var(--accent) 70%, white);
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(46px, 16vw, 72px); line-height: .94;
  letter-spacing: -.02em; margin: 0 0 14px;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 700; }
.hero__tag {
  font-size: 17px; color: color-mix(in oklab, var(--hero-ink) 86%, transparent);
  max-width: 30ch; margin: 0 0 22px; text-wrap: balance;
}
.hero__status {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  padding: 9px 14px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.hero__status .dot { width: 9px; height: 9px; border-radius: 50%; }
.hero__status.is-open .dot { background: #6CCB8E; box-shadow: 0 0 12px #6CCB8E; }
.hero__status.is-closed .dot { background: #E08B7F; }
.hero__status small { font-weight: 500; opacity: .8; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 16px;
  padding: 15px 20px; min-height: 52px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--accent) 70%, transparent); }
.btn--primary:hover { background: color-mix(in oklab, var(--accent) 86%, #000); }
.btn--ghost-light { background: rgba(255,255,255,.1); color: var(--hero-ink); border-color: rgba(255,255,255,.22); }
.btn--ghost-light:hover { background: rgba(255,255,255,.18); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: color-mix(in oklab, var(--ink) 22%, var(--line)); }
.btn--block { width: 100%; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__cta .btn { flex: 1 1 auto; }

/* ============================================================
   INFO CHIPS (hours / phone / location)
   ============================================================ */
.section { padding-block: 30px; }
.section--tight { padding-block: 20px; }

.infogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.infocard {
  display: flex; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 15px;
  box-shadow: var(--shadow);
  font: inherit; color: inherit; width: 100%; text-align: left;
}
.infocard .ic {
  width: 40px; height: 40px; border-radius: var(--radius-sm); flex: none;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--accent) 12%, var(--surface));
  color: var(--accent);
}
.infocard .ic svg { width: 21px; height: 21px; }
.infocard .lbl { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.infocard .val { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.infocard.is-link:hover { border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 30px; line-height: 1.04; letter-spacing: -.015em; margin: 0;
}
.head .kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.head a.more { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }

/* ============================================================
   FEATURED DISHES (home)
   ============================================================ */
.feat { display: grid; gap: 16px; }
.dish {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.dish:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.dish__media { position: relative; aspect-ratio: 16 / 11; background: var(--surface-2); }
.dish__media image-slot { width: 100%; height: 100%; --border-radius: 0; }
.dish__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish__tag {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  background: rgba(23,18,15,.78); color: #fff; backdrop-filter: blur(3px);
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 10px; border-radius: var(--radius-pill);
}
.dish__body { padding: 14px 16px 16px; }
.dish__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; margin: 0 0 3px; }
.dish__desc { font-size: 13.5px; color: var(--ink-2); margin: 0 0 10px; line-height: 1.4; }
.dish__price { font-size: 15px; font-weight: 800; color: var(--accent); }

/* horizontal scroller on mobile */
.feat--scroll {
  grid-auto-flow: column; grid-auto-columns: 78%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
  scrollbar-width: none;
}
.feat--scroll::-webkit-scrollbar { display: none; }
.feat--scroll .dish { scroll-snap-align: start; }

/* ============================================================
   CALL BAND
   ============================================================ */
.callband {
  background: var(--hero-bg); color: var(--hero-ink);
  border-radius: var(--radius); padding: 26px 22px;
  text-align: center; position: relative; overflow: hidden;
}
.callband::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in oklab, var(--accent) 30%, transparent) 0%, transparent 55%);
}
.callband > * { position: relative; z-index: 1; }
.callband h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin: 0 0 6px; }
.callband p { font-size: 14px; opacity: .8; margin: 0 0 18px; }
.callband .num { font-size: 19px; }

/* ============================================================
   MENU PAGE
   ============================================================ */
.menuhero { padding: 26px var(--pad) 8px; }
.menuhero .kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.menuhero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 11vw, 52px); letter-spacing: -.02em; margin: 8px 0 8px; line-height: .98; }
.menuhero p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* sticky section chips */
.chips {
  position: sticky; top: var(--header-h); z-index: 30;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.chips__scroll {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  max-width: var(--col); margin-inline: auto;
  padding: 11px var(--pad);
}
.chips__scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); font-size: 13px; font-weight: 700;
  padding: 8px 13px; border-radius: var(--radius-pill); white-space: nowrap;
  transition: all .12s ease;
}
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* menu sections */
.msection { padding-top: 26px; scroll-margin-top: calc(var(--header-h) + 60px); }
.msection__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.msection__head h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  letter-spacing: -.01em; margin: 0;
}
.msection__head .star { color: var(--accent); }
.msection__note {
  font-size: 13px; color: var(--ink-2); background: var(--surface-2);
  border-radius: var(--radius-sm); padding: 10px 13px; margin: 10px 0 4px;
  line-height: 1.45;
}
.msection__note b { color: var(--ink); font-weight: 700; }

.items { display: flex; flex-direction: column; }
.item {
  display: flex; gap: 14px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.item__main { flex: 1; min-width: 0; }
.item__name { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 3px; }
.item__name .veg { color: var(--good); font-size: 12px; font-weight: 700; margin-left: 6px; }
.item__desc { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.4; }
.item__price {
  flex: none; text-align: right;
  font-size: 14.5px; font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.item__price .tiers { font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; line-height: 1.5; }

.paynote {
  margin-top: 26px; text-align: center;
  font-size: 13px; color: var(--ink-2);
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 16px;
}
.paynote b { color: var(--ink); }

/* ============================================================
   HOURS PAGE
   ============================================================ */
.hoursbanner {
  display: flex; align-items: center; gap: 16px;
  background: var(--hero-bg); color: var(--hero-ink);
  border-radius: var(--radius); padding: 20px 22px;
  position: relative; overflow: hidden; margin-bottom: 16px;
}
.hoursbanner::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in oklab, var(--accent) 26%, transparent) 0%, transparent 55%);
}
.hoursbanner > * { position: relative; z-index: 1; }
.hoursbanner__pulse { display: grid; place-items: center; width: 22px; flex: none; }
.hoursbanner__pulse .dot { width: 12px; height: 12px; border-radius: 50%; }
.hoursbanner.is-open .dot { background: #6CCB8E; box-shadow: 0 0 0 0 rgba(108,203,142,.6); animation: pulse2 2.4s infinite; }
.hoursbanner.is-closed .dot { background: #E08B7F; }
@keyframes pulse2 {
  0% { box-shadow: 0 0 0 0 rgba(108,203,142,.55); }
  70% { box-shadow: 0 0 0 10px rgba(108,203,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(108,203,142,0); }
}
.hoursbanner__state { font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.1; }
.hoursbanner__sub { font-size: 14px; opacity: .82; margin-top: 2px; }
.hoursbanner__call {
  margin-left: auto; flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff;
}
.hoursbanner__call svg { width: 21px; height: 21px; }

.week {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.wkrow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.wkrow:last-child { border-bottom: 0; }
.wkrow__day { font-size: 15.5px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 9px; }
.wkrow__time { font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wkrow.is-today { background: color-mix(in oklab, var(--accent) 8%, var(--surface)); }
.wkrow.is-today .wkrow__day { color: var(--ink); font-weight: 800; }
.wkrow.is-today .wkrow__time { color: var(--accent); }
.wkrow__badge {
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 3px 8px; border-radius: var(--radius-pill); white-space: nowrap;
}

.callouts { display: grid; gap: 12px; margin-top: 16px; }
.callout {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow);
}
.callout--accent { border-color: color-mix(in oklab, var(--accent) 35%, var(--line)); background: color-mix(in oklab, var(--accent) 6%, var(--surface)); }
.callout__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.callout__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.callout--accent .callout__title { color: var(--accent); }
.callout__val { font-size: 14.5px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.callout__sub { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 0; line-height: 1.45; }

@media (min-width: 760px) {
  .callouts { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { margin-top: auto; border-top: 1px solid var(--line); padding: 28px 0 90px; text-align: center; }
.footer .brand { font-size: 24px; }
.footer p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.footer a.staff { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 2px; }

/* ============================================================
   VIEW TRANSITION
   ============================================================ */
.view { }
@keyframes rise { from { transform: translateY(8px); } to { transform: none; } }

/* spacer so content clears the bottom tab bar */
.bottompad { height: 6px; }

/* ============================================================
   DESKTOP / TABLET niceties (still mobile-first)
   ============================================================ */
@media (min-width: 760px) {
  :root { --col: 920px; --pad: 32px; }

  .hero__inner { min-height: 540px; padding-block: 48px; }
  .hero h1 { font-size: 88px; }
  .hero__cta .btn { flex: 0 0 auto; }

  .infogrid { grid-template-columns: repeat(3, 1fr); }

  /* featured becomes a 3-up grid, not a scroller */
  .feat--scroll {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto; overflow: visible;
    margin-inline: 0; padding-inline: 0;
  }

  /* menu: two columns of sections */
  .menucols { columns: 2; column-gap: 48px; }
  .msection { break-inside: avoid; padding-top: 30px; }

  .callband { padding: 40px; }
}

@media (min-width: 760px) {
  /* hide the mobile bottom tab bar on desktop — the labeled top bar covers nav */
  .tabbar { display: none; }
}
.topnav { display: none; gap: 4px; }
.topnav button {
  border: 0; background: transparent; color: var(--ink-2);
  font-size: 15px; font-weight: 700; padding: 8px 14px; border-radius: var(--radius-pill);
}
.topnav button[aria-current="true"] { color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, transparent); }

/* ============================================================
   PHOTOS: menu thumbnails, traiteur gallery, home teaser
   ============================================================ */

/* menu item thumbnail (right of text, before price) */
.item--photo { align-items: center; }
.item__thumb {
  flex: none; width: 60px; height: 60px; border-radius: var(--radius-sm);
  overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2);
}
.item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* home: traiteur teaser card */
.teaser {
  display: flex; width: 100%; text-align: left; font: inherit; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.teaser:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.teaser__media { flex: none; width: 40%; max-width: 210px; background: var(--surface-2); }
.teaser__media img { width: 100%; height: 100%; min-height: 158px; object-fit: cover; display: block; }
.teaser__body { padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.teaser__kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.teaser__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.08; letter-spacing: -.01em; margin: 5px 0 4px; text-wrap: balance; }
.teaser__sub { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.teaser__cta { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

/* traiteur banner */
.trbanner { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.trbanner img { width: 100%; height: 230px; object-fit: cover; display: block; }
.trbanner__note {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(23,18,15,.82); color: #fff; backdrop-filter: blur(4px);
  font-size: 13px; font-weight: 600; padding: 10px 14px; border-radius: var(--radius-pill);
}
@media (min-width: 760px) { .trbanner img { height: 360px; } }

/* traiteur gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.plate {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.plate:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.plate__media { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); }
.plate__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plate__tag {
  position: absolute; top: 8px; left: 8px;
  background: rgba(23,18,15,.78); color: #fff; backdrop-filter: blur(3px);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: var(--radius-pill);
}
.plate__cap { padding: 11px 13px 13px; font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.25; }
.plate__cap .veg { color: var(--good); font-size: 11px; font-weight: 700; margin-left: 6px; }

/* tab bar: 5 items — tighten so labels fit narrow phones */
.tabbar__inner .tab { font-size: 10.5px; padding-inline: 2px; }
.tabbar__inner .tab span { white-space: nowrap; }

@media (max-width: 360px) {
  .tabbar__inner .tab { font-size: 10px; }
  .tab svg { width: 20px; height: 20px; }
}

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