:root {
  --color-background: #F5EFE6;
  --color-card: #DFCCB5;
  --color-secondary: #A58B75;
  --color-text: #39271F;
  --color-accent: #C5A477;

  --font-logo: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-caps: "Jost", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: max(16px, calc((100vw - 1200px) / 2));
  --shadow-card: 0 6px 18px -8px rgba(57, 39, 31, .28), 0 2px 5px -2px rgba(57, 39, 31, .12);
  --line: rgba(165, 139, 117, .45);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-text);
  background: var(--color-background);
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: start; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.icon { flex: none; display: block; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }

/* ---------- logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; }
.logo__name { font-family: var(--font-logo); font-weight: 500; font-size: 30px; letter-spacing: .14em; padding-left: .14em; }
.logo__tag { margin-top: 6px; font-family: var(--font-caps); font-size: 8.5px; letter-spacing: .34em; padding-left: .34em; text-transform: uppercase; color: var(--color-secondary); }

/* =====================================================
   LANDING PAGE
   ===================================================== */
body.is-home { background: #1d120d; color: var(--color-background); }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: #1d120d center / cover no-repeat;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 32% at 50% 40%, rgba(197, 164, 119, .26), transparent 72%),
    radial-gradient(38% 46% at 4% 38%, rgba(255, 184, 105, .24), transparent 70%),
    radial-gradient(38% 46% at 96% 38%, rgba(255, 184, 105, .24), transparent 70%),
    linear-gradient(180deg, #2c1b13 0%, #39271f 42%, #1a0f0a 100%);
}
.hero[style] .hero__bg { display: none; }
.hero__arch {
  position: absolute; top: 14%; width: min(26vw, 150px); height: 46%;
  border: 1px solid rgba(197, 164, 119, .35);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255, 196, 130, .22), rgba(255, 196, 130, .02) 80%);
}
.hero__arch--l { left: -4%; }
.hero__arch--r { right: -4%; }

.hero__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 0 24px; }
.hero__mini { font-family: var(--font-logo); font-size: 24px; letter-spacing: .14em; font-weight: 500; }
.hero .iconbtn { color: var(--color-background); }

.hero__center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; text-align: center; }
.hero__logo {
  margin: 0; font-family: var(--font-logo); font-weight: 500;
  font-size: clamp(56px, 19vw, 132px); line-height: 1; letter-spacing: .05em; padding-left: .05em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
}
.hero__tag {
  display: flex; align-items: center; gap: 14px; margin: 14px 0 0;
  font-family: var(--font-caps); font-size: 13px; letter-spacing: .38em; text-transform: uppercase;
}
.hero__tag i { display: block; width: clamp(24px, 9vw, 64px); height: 1px; background: var(--color-accent); }

.hero__actions { width: 100%; max-width: 440px; margin: 0 auto; padding: 0 24px calc(40px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
.btn {
  display: flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-caps); font-weight: 500; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  transition: transform .15s, box-shadow .2s;
}
.btn span { flex: 1; text-align: center; }
.btn:active { transform: translateY(2px); }
.btn--gold { background: linear-gradient(90deg, #b48f5a, #d8bd92); color: var(--color-text); box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .6); }
.btn--ghost { border: 1px solid rgba(197, 164, 119, .85); color: var(--color-background); background: rgba(57, 39, 31, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(197, 164, 119, .18); }

/* =====================================================
   DRAWER
   ===================================================== */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s .3s; color: var(--color-text); }
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(29, 18, 13, .6); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: relative; height: 100%; width: 100%; max-width: 420px; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 18px 28px 32px;
  background: linear-gradient(160deg, #e8d9c6, #dfccb5 55%, #d2bca1);
  transform: translateX(-100%); transition: transform .3s ease;
  box-shadow: 8px 0 40px rgba(0, 0, 0, .35);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: flex-start; justify-content: space-between; }
.logo--drawer { align-items: flex-start; margin-top: 18px; }
.logo--drawer .logo__name { font-size: 44px; padding-left: 0; }
.logo--drawer .logo__tag { padding-left: 0; }

.drawer__list { list-style: none; margin: 44px 0 0; padding: 0; }
.drawer__list li { border-bottom: 1px solid var(--line); }
.drawer__list a {
  display: block; padding: 18px 0;
  font-family: var(--font-caps); font-size: 18px; letter-spacing: .22em; text-decoration: none;
}
.drawer__list a:hover, .drawer__list a.is-current { color: var(--color-secondary); }
.drawer__list a.is-current { font-weight: 500; color: var(--color-text); }

.drawer__social { display: flex; gap: 18px; margin-top: 36px; position: relative; z-index: 1; }
.drawer__social a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--color-text); border-radius: 50%; transition: background .2s; }
.drawer__social a:hover { background: rgba(57, 39, 31, .08); }
.drawer__leaf { position: absolute; right: -14px; bottom: -6px; width: 200px; color: var(--color-secondary); opacity: .6; pointer-events: none; }

/* =====================================================
   MENU PAGE
   ===================================================== */
.topbar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 14px 16px 0; }
.topbar__logo { justify-self: center; text-decoration: none; }
.topbar .logo__name { font-size: 28px; }

.menu-head { text-align: center; padding: 14px 16px 0; }
.menu-head h1 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 31px; line-height: 1.2; }
.menu-head p { margin: 4px 0 0; font-size: 15px; letter-spacing: .04em; }
.menu-head__rule { display: block; width: 28px; height: 2px; margin: 12px auto 0; background: var(--color-text); }

.menu-tabs { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.menu-tab {
  padding: 4px 0 7px;
  font-family: var(--font-caps); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-secondary); border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.menu-tab[aria-selected="true"] { color: var(--color-text); border-color: var(--color-accent); }

/* sticky search + categories */
.sticky {
  position: sticky; top: 0; z-index: 20; margin-top: 12px;
  background: var(--color-background);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 14px -12px rgba(57, 39, 31, .4);
}
.searchrow { display: flex; gap: 10px; align-items: center; padding: 12px var(--gutter) 0; }
.search { position: relative; flex: 1; display: block; }
.search .icon { position: absolute; left: 16px; top: 13px; color: var(--color-text); pointer-events: none; }
.search input {
  width: 100%; height: 46px; padding: 0 16px 0 46px;
  border: 1px solid var(--color-secondary); border-radius: 26px;
  background: rgba(255, 255, 255, .35); color: var(--color-text);
  font: inherit; font-size: 16px; /* 16px stops iOS zoom on focus */
}
.search input::placeholder { color: var(--color-secondary); }
.search input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(197, 164, 119, .4); }
.filterbtn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--color-card); border: 1px solid var(--line); transition: background .2s; }
.filterbtn[aria-expanded="true"] { background: var(--color-accent); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px var(--gutter) 0; }
.pill {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--color-secondary);
  font-family: var(--font-caps); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s;
}
.pill[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); }
.pill--clear { border-style: dashed; color: var(--color-secondary); }

.cats { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 14px var(--gutter) 14px; scroll-snap-type: x proximity; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: 0 0 auto; min-width: 92px; padding: 6px 6px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border-radius: 14px; background: rgba(223, 204, 181, .5);
  text-decoration: none; scroll-snap-align: start;
  transition: background .2s;
}
.cat__img { width: 80px; height: 60px; object-fit: cover; border-radius: 10px; font-size: 26px; }
.cat__name { font-family: var(--font-serif); font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.cat.is-active { background: var(--color-secondary); box-shadow: 0 6px 14px -6px rgba(57, 39, 31, .5); }
.cat.is-active .cat__img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.cat.is-active .cat__name { color: #fff; }

.ph {
  display: flex; align-items: center; justify-content: center; line-height: 1;
  background: linear-gradient(135deg, #ead9c3, var(--color-accent));
  font-size: 38px;
}

/* sections and cards */
.content { padding: 0 var(--gutter) 80px; }
.section { padding: 26px 0 4px; scroll-margin-top: var(--stick, 220px); }
.section__banner { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 16px; margin-bottom: 18px; }
.section__title {
  margin: 0; display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--font-serif); font-weight: 600; font-size: 26px; line-height: 1.2;
}
.section__title::before, .section__title::after { content: ""; width: 52px; height: 1px; background: var(--color-secondary); }
.section__desc { margin: 8px 0 0; text-align: center; font-size: 15px; color: var(--color-secondary); }

.grid { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }

.card {
  display: flex; gap: 12px; align-items: stretch; width: 100%;
  padding: 12px 12px 12px 18px;
  background: var(--color-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  cursor: pointer; transition: transform .15s, box-shadow .2s;
}
.card:active { transform: translateY(2px); }
.card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.card__name { font-family: var(--font-serif); font-size: 19px; font-weight: 600; line-height: 1.25; word-break: break-word; }
.card__desc { font-size: 14px; line-height: 1.5; opacity: .9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.card__price { font-family: var(--font-serif); font-size: 18px; font-weight: 600; letter-spacing: .01em; font-variant-numeric: lining-nums; }
.card__marks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: auto; padding-top: 4px; }

.card__media { position: relative; flex: 0 0 auto; align-self: flex-start; }
.card__img { width: 128px; height: 128px; object-fit: cover; border-radius: 14px; }
.heart {
  position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(245, 239, 230, .94); color: var(--color-text);
  box-shadow: 0 2px 6px rgba(57, 39, 31, .3); transition: transform .15s;
}
.heart:active { transform: scale(.88); }
.heart[aria-pressed="true"] .icon { fill: var(--color-accent); }

.vegmark { width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid var(--color-text); border-radius: 50%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .04em; padding: 5px 9px; border-radius: 999px;
  border: 1px solid var(--color-secondary); background: transparent;
}
.chip--tag { background: var(--color-accent); border-color: var(--color-accent); text-transform: capitalize; }

.empty { text-align: center; padding: 40px 16px; color: var(--color-secondary); font-family: var(--font-serif); font-size: 20px; }
.note { text-align: center; font-size: 13px; color: var(--color-secondary); padding: 16px 8px 0; margin: 0; }

/* ---------- item popup ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(57, 39, 31, .6); animation: fade .2s ease; }
.modal__sheet {
  position: relative; width: 100%; max-height: 90vh; overflow-y: auto;
  background: var(--color-background); border-radius: 24px 24px 0 0;
  box-shadow: 0 20px 40px -8px rgba(57, 39, 31, .45);
  padding-bottom: env(safe-area-inset-bottom); animation: rise .25s ease;
}
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: var(--color-accent); color: var(--color-text); box-shadow: 0 2px 6px rgba(57, 39, 31, .35);
}
.modal__media img, .modal__media .ph { width: 100%; height: 250px; object-fit: cover; font-size: 64px; }
.modal__body { padding: 20px 20px 26px; display: flex; flex-direction: column; gap: 10px; }
.modal__body h3 { margin: 0; font-family: var(--font-serif); font-size: 27px; font-weight: 600; line-height: 1.2; }
.modal__price { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--color-accent); font-family: var(--font-serif); font-weight: 600; font-size: 22px; font-variant-numeric: lining-nums; }
.modal__desc { margin: 0; white-space: pre-line; }
.modal__allergy { margin: 4px 0 0; font-size: 13px; color: var(--color-secondary); }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }

@media (max-width: 359px) {
  .card__img { width: 104px; height: 104px; }
  .card__name { font-size: 20px; }
}

/* ---------- tablet ---------- */
@media (min-width: 768px) {
  .grid { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .card { width: calc(50% - 10px); }
  .cat { min-width: 108px; }
  .cat__img { width: 96px; height: 72px; }
  .menu-head h1 { font-size: 38px; }
  .section__title { font-size: 30px; }
}

/* ---------- desktop ---------- */
@media (min-width: 1024px) {
  .topbar { padding-top: 22px; }
  .topbar .logo__name { font-size: 36px; }
  .section__banner { display: none; }
  .section { padding-top: 36px; }
  .card { transition: transform .15s, box-shadow .2s; }
  .card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -10px rgba(57, 39, 31, .35); }
  .card__img { width: 150px; height: 150px; }
  .modal { align-items: center; }
  .modal__sheet { width: 480px; border-radius: 24px; }
}

@media (min-width: 1280px) {
  .card { width: calc(33.333% - 14px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .modal__backdrop, .modal__sheet, .drawer__panel, .drawer__backdrop { animation: none; transition: none; }
}

/* =====================================================
   FEEDBACK + CREDITS PAGES
   ===================================================== */
.foot { display: flex; justify-content: center; gap: 12px; margin: 12px 0 0; font-size: 13px; color: var(--color-secondary); }
.foot a { color: var(--color-text); text-underline-offset: 3px; padding: 12px 10px; }

.fb { max-width: 640px; margin: 0 auto; padding: 20px 16px 80px; }
.fb h1 { margin: 12px 0 0; text-align: center; font-family: var(--font-serif); font-weight: 600; font-size: 30px; line-height: 1.2; }
.fb__lead { text-align: center; color: var(--color-secondary); margin: 8px 0 24px; }
.fb__form { background: var(--color-card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-card); padding: 22px 18px; display: flex; flex-direction: column; gap: 20px; }
.fb__field { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fb__field legend, .fb__field > label { font-family: var(--font-caps); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 0; }
.opt { text-transform: none; letter-spacing: 0; color: var(--color-secondary); font-family: var(--font-sans); }
.fb__row { display: grid; gap: 20px; }
.fb input[type="text"], .fb textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-secondary); border-radius: 14px;
  background: #fbf8f3; color: var(--color-text); font: inherit; font-size: 16px;
}
.fb textarea { resize: vertical; min-height: 120px; }
.fb input[type="text"]:focus, .fb textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(197, 164, 119, .4); }
.count { align-self: flex-end; color: var(--color-secondary); font-size: 12px; }

/* star rating: radios in reverse order so ":checked ~ label" fills every star up to the chosen one */
.stars { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { cursor: pointer; color: var(--color-secondary); padding: 4px; }
.stars label svg { fill: transparent; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; transition: transform .15s, fill .15s; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--color-text); }
.stars input:checked ~ label svg, .stars label:hover svg, .stars label:hover ~ label svg { fill: var(--color-accent); }
.stars input:focus-visible + label { outline: 2px solid var(--color-accent); border-radius: 8px; }
.stars label:active svg { transform: scale(.88); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fb__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.fb__cats .pill { cursor: pointer; display: inline-block; padding: 0; }
.fb__cats .pill input { position: absolute; opacity: 0; pointer-events: none; }
.fb__cats .pill span { display: block; padding: 8px 16px; border-radius: 999px; }
.fb__cats .pill:has(input:checked) { background: var(--color-accent); border-color: var(--color-accent); }
.fb__cats .pill:has(input:focus-visible) { outline: 2px solid var(--color-text); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb__error { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(57, 39, 31, .1); border: 1px solid var(--color-text); font-weight: 600; }
.fb__submit { justify-content: center; border: 0; cursor: pointer; }
.fb__submit[disabled] { opacity: .6; cursor: progress; }
.fb__done { text-align: center; background: var(--color-card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-card); padding: 36px 20px; }
.fb__done h2 { margin: 0 0 6px; font-family: var(--font-serif); font-size: 27px; }
.fb__done p { margin: 0 0 22px; }
.fb__done .btn { max-width: 320px; margin: 0 auto; }

.credits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.credits li { background: var(--color-card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; overflow-wrap: anywhere; }
.credits a { text-underline-offset: 3px; }

@media (min-width: 640px) {
  .fb__row { grid-template-columns: 1fr 1fr; }
  .fb__form { padding: 28px 26px; }
}

/* ---------- feedback about one dish, inside the popup ---------- */
.mfb { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.mfb__toggle {
  width: 100%; padding: 12px 18px; border: 1px solid var(--color-text); border-radius: 999px; text-align: center;
  font-family: var(--font-caps); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s;
}
.mfb__toggle:hover { background: rgba(197, 164, 119, .25); }
.mfb form { display: flex; flex-direction: column; gap: 14px; }
.mfb__field { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mfb__field legend, .mfb__field > label { padding: 0; font-family: var(--font-caps); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.mfb textarea, .mfb input[type="text"] {
  width: 100%; padding: 10px 12px; border: 1px solid var(--color-secondary); border-radius: 12px;
  background: #fbf8f3; color: var(--color-text); font: inherit; font-size: 16px;
}
.mfb textarea { resize: vertical; min-height: 76px; }
.mfb textarea:focus, .mfb input[type="text"]:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(197, 164, 119, .4); }
.mfb .stars { justify-content: flex-start; }
.mfb__send { justify-content: center; border: 0; cursor: pointer; }
.mfb__send[disabled] { opacity: .6; cursor: progress; }
.mfb__done { margin: 0; padding: 14px; border-radius: 14px; background: var(--color-card); font-weight: 600; text-align: center; }

/* ---------- zoom buttons + full-screen photo ---------- */
.zoom {
  position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(245, 239, 230, .94); color: var(--color-text);
  box-shadow: 0 2px 6px rgba(57, 39, 31, .3); transition: transform .15s;
}
.zoom:hover { background: #fff; }
.zoom:active { transform: scale(.88); }

.modal__zoom {
  position: absolute; top: 12px; left: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(245, 239, 230, .94); color: var(--color-text);
  box-shadow: 0 2px 6px rgba(57, 39, 31, .35);
}
.modal__zoom:hover { background: #fff; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; background: rgba(20, 12, 8, .94); color: #fff; animation: fade .2s ease; }
.lightbox__bar { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 14px; padding-top: calc(12px + env(safe-area-inset-top)); }
.lightbox__btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; }
.lightbox__btn:hover, .lightbox__btn[aria-pressed="true"] { background: var(--color-accent); color: var(--color-text); }
.lightbox__stage { flex: 1; min-height: 0; display: flex; overflow: auto; padding: 0 12px; -webkit-overflow-scrolling: touch; }
.lightbox__stage img {
  margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 12px; cursor: zoom-in; touch-action: pinch-zoom pan-x pan-y;
}
.lightbox.is-zoomed .lightbox__stage img { max-width: none; max-height: none; width: 190%; cursor: zoom-out; border-radius: 0; }
.lightbox__cap { margin: 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; text-align: center; }
.lightbox__cap strong { font-family: var(--font-serif); font-size: 20px; font-weight: 600; }
.lightbox__cap span { font-family: var(--font-serif); font-size: 18px; color: var(--color-accent); font-variant-numeric: lining-nums; }
@media (min-width: 768px) { .lightbox.is-zoomed .lightbox__stage img { width: 150%; } }

/* ---------- reserve a table ---------- */
.rs input[type="tel"], .rs input[type="email"], .rs input[type="date"] {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--color-secondary); border-radius: 14px;
  background: #fbf8f3; color: var(--color-text); font: inherit; font-size: 16px;
}
.rs input[type="date"] { appearance: none; -webkit-appearance: none; text-align: start; }
.rs input[type="tel"]:focus, .rs input[type="email"]:focus, .rs input[type="date"]:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(197, 164, 119, .4); }
.rs__row { display: grid; gap: 20px; }
.rs__notice { margin: 0 0 16px; padding: 12px 16px; border-radius: 14px; background: rgba(197, 164, 119, .28); border: 1px solid var(--color-accent); font-size: 14px; }
.rs__step { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; background: #fbf8f3; border: 1px solid var(--color-secondary); border-radius: 999px; padding: 4px; }
.rs__stepbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; line-height: 1; text-align: center; background: var(--color-card); }
.rs__stepbtn:hover:not([disabled]) { background: var(--color-accent); }
.rs__stepbtn[disabled] { opacity: .35; cursor: default; }
.rs__step output { min-width: 52px; text-align: center; font-family: var(--font-serif); font-size: 24px; font-weight: 600; }
.rs__quick { display: flex; gap: 8px; }
.rs__quick .pill { min-height: 36px; padding: 6px 14px; cursor: pointer; }
.rs__slots { display: flex; flex-direction: column; gap: 14px; }
.rs__glabel { display: block; margin-bottom: 8px; font-family: var(--font-caps); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-secondary); }
.rs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.rs__slot { min-height: 44px; padding: 8px 6px; border: 1px solid var(--color-secondary); border-radius: 12px; background: #fbf8f3; text-align: center; font-size: 15px; font-weight: 500; transition: background .12s, transform .1s; }
.rs__slot:hover:not([disabled]) { background: rgba(197, 164, 119, .35); }
.rs__slot:active:not([disabled]) { transform: scale(.97); }
.rs__slot.on { background: var(--color-text); border-color: var(--color-text); color: var(--color-background); }
.rs__slot.full { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.rs__msg { margin: 0; color: var(--color-secondary); font-size: 14px; }
.rs__msg:empty { display: none; }
.rs__fine { margin: 0; text-align: center; color: var(--color-secondary); font-size: 13px; }

.rs__card { text-align: center; background: var(--color-card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-card); padding: 30px 18px 24px; }
.rs__card h2 { margin: 6px 0 4px; font-family: var(--font-serif); font-size: 26px; line-height: 1.2; }
.rs__card h2:focus { outline: none; }
.rs__sub { margin: 0 0 18px; }
.rs__tick { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: var(--color-text); color: var(--color-background); }
.rs__tick--pending { background: var(--color-accent); color: var(--color-text); }
.rs__tick--cancelled, .rs__tick--no_show { background: var(--color-secondary); }
.rs__ref { margin: 0 auto 16px; display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 22px; border: 1px dashed var(--color-text); border-radius: 14px; background: rgba(245, 239, 230, .6); }
.rs__ref span { font-family: var(--font-caps); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.rs__ref strong { font-family: var(--font-serif); font-size: 26px; letter-spacing: .08em; user-select: all; }
.rs__sum { margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: start; }
.rs__sum div { background: rgba(245, 239, 230, .7); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.rs__sum dt { font-family: var(--font-caps); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-secondary); }
.rs__sum dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.rs__actions { display: flex; flex-direction: column; gap: 10px; max-width: 340px; margin: 0 auto; }
.rs__actions .btn { justify-content: center; border: 1px solid var(--color-text); cursor: pointer; }
.rs__actions .btn--gold { border-color: var(--color-accent); }
.rs__cancel { background: transparent; }

.rs__find { margin-top: 18px; background: var(--color-card); border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; }
.rs__find summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; }
.rs__find summary::-webkit-details-marker { display: none; }
.rs__find summary::after { content: "+"; float: right; font-size: 22px; line-height: 1; }
.rs__find[open] summary::after { content: "\2212"; }
.rs__find form { display: flex; flex-direction: column; gap: 16px; padding-bottom: 18px; }
.rs__findbtn { align-self: flex-start; background: var(--color-text); color: var(--color-background); border-radius: 999px; padding: 0 26px; }
.rs__hours { margin-top: 22px; }
.rs__hours h2 { margin: 0 0 8px; font-family: var(--font-caps); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.rs__hours ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.rs__hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) {
  .rs__row { grid-template-columns: auto 1fr; align-items: start; gap: 28px; }
  .rs__sum { grid-template-columns: repeat(4, 1fr); }
  .rs__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; }
}
.rs__slots.is-loading { opacity: .45; pointer-events: none; transition: opacity .15s; }
