/* =====================================================================
   Menu page (/menu) — loaded after site.css
   Layout: night photo band, sticky bar (Food / Drinks / Bar / Car wash + section chips),
   one menu column; items go two-up from 760px; a section list on the left from 1080px.
   ===================================================================== */
.menu-page { --bar-h: 108px; }
.menu-page.has-order { padding-bottom: 92px; }

/* ---------- Hero ---------- */
.m-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(310px, 66vw, 450px);
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--night-ink);
  overflow: hidden;
}
.m-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 42%;
  z-index: -2;
}
.m-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 13, 11, .55) 0%, rgba(8, 13, 11, .12) 28%, rgba(8, 13, 11, .72) 66%, #0a120f 100%);
}
.m-top { display: flex; align-items: center; gap: 4px; padding-block: 10px; }
.m-top a {
  padding: 8px 10px;
  color: rgba(243, 237, 220, .82);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.m-top a:first-child { padding-left: 0; }
.m-top a:hover { color: var(--night-ink); text-decoration: underline; text-underline-offset: 4px; }
.m-top .icon-btn {
  margin-left: auto;
  color: var(--night-ink);
  border-color: rgba(243, 237, 220, .25);
  background: rgba(10, 15, 12, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.m-hero-inner { margin-top: auto; display: grid; justify-items: start; gap: 10px; padding-block: 28px 22px; }
.m-logo { width: clamp(200px, 50vw, 300px); height: auto; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .55)); }
.m-tagline { margin: 2px 0 0; max-width: 30ch; font-family: var(--font-display); font-size: clamp(18px, 2.6vw, 22px); line-height: 1.3; text-wrap: balance; }
.m-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.m-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(235, 199, 94, .55);
  background: rgba(10, 15, 12, .5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--night-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.m-hero-btn svg { width: 17px; height: 17px; color: var(--night-gold); }
.m-hero-btn:hover { border-color: var(--night-gold); }

/* ---------- Sticky bar ---------- */
.m-bar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--ground);
  background: color-mix(in srgb, var(--ground) 94%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.menu-page::before { background: var(--ground); }
.row1 { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.tabs { display: flex; flex: 1; min-width: 0; }
.tab {
  flex: 1 1 0;
  min-width: 0;
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 17px 2px 15px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.tab:hover { color: var(--ink); }
.search { display: none; flex: 1; align-items: center; gap: 8px; min-width: 0; }
.search-field { position: relative; flex: 1; min-width: 0; }
.search-field svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
#q {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 39px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--raised);
  font-size: 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
#q::placeholder { color: var(--muted); }
#q:focus { border-color: var(--gold); }
#q::-webkit-search-cancel-button { display: none; }
.m-bar.searching .tabs, .m-bar.searching .search-open { display: none; }
.m-bar.searching .search { display: flex; }

.chips {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 2px 12px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent);
}
.chips::-webkit-scrollbar { display: none; }
.m-bar.searching .chips { display: none; }
.chip {
  flex: none;
  appearance: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.chip:hover { color: var(--ink); }
.chip[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

/* ---------- Layout ---------- */
.m-layout { display: grid; gap: 40px; padding-block: 4px 64px; }
.content { min-width: 0; }
.side { display: none; }

.intro { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 20px; color: var(--muted); font-size: 14px; }
.intro p { margin: 0; }
.link-btn { appearance: none; background: none; border: 0; padding: 0; color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.toggle svg { width: 16px; height: 16px; color: var(--jade); }
.toggle[aria-pressed="true"] { border-color: var(--jade); background: color-mix(in srgb, var(--jade) 14%, transparent); }

/* Order again (regulars) */
.again {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background: var(--gold-wash);
}
.again-text { flex: 1 1 240px; min-width: 0; }
.again-text strong { display: block; font-size: 15px; }
.again-text p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.again-actions { display: flex; align-items: center; gap: 10px; }
.again .text-btn { color: var(--muted); font-weight: 500; }

/* ---------- Sections & items ---------- */
.sec { padding-top: 34px; scroll-margin-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 4px); }
.sec-head { display: flex; align-items: center; gap: 14px; }
.sec-img {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 4px var(--ground), 0 0 0 5px rgba(230, 190, 87, .45);
  background: var(--sunk);
}
.sec-head h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(25px, 3.6vw, 31px); line-height: 1.15; letter-spacing: .005em; text-wrap: balance; }
.sec-head::after { content: ""; flex: 1; height: 1px; min-width: 24px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .5; }
.where { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.note { margin: 8px 0 0; max-width: 62ch; color: var(--muted); font-size: 14.5px; font-style: italic; line-height: 1.45; }
.items { list-style: none; margin: 8px 0 0; padding: 0; display: grid; column-gap: 52px; }
.item { min-width: 0; padding-block: 14px; border-bottom: 1px solid var(--line); }
.line { display: flex; align-items: baseline; align-items: last baseline; gap: 10px; }
.name { margin: 0; min-width: 0; font-size: 16.5px; font-weight: 500; line-height: 1.35; }
.mark { display: inline-flex; vertical-align: -2px; margin-left: 7px; }
.mark.veg svg { width: 15px; height: 15px; color: var(--jade); }
.mark.hot { vertical-align: 1px; color: var(--chili); font-size: 12.5px; font-weight: 600; font-style: italic; }
.lead { flex: 1 1 18px; min-width: 14px; border-bottom: 2px dotted var(--line-strong); position: relative; top: -5px; }
.price { flex: none; color: var(--gold); font-weight: 600; font-size: 16.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.add {
  position: relative;
  flex: none;
  align-self: center;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.add::before { content: ""; position: absolute; inset: -7px; }
.add svg { width: 15px; height: 15px; }
.add:hover { color: var(--ink); border-color: var(--gold); }
.add.on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.add.pop, .size.pop { animation: pop .28s ease-out; }
@keyframes pop { 40% { transform: scale(1.18); } }
.desc { margin: 4px 0 0; max-width: 54ch; color: var(--muted); font-size: 14px; line-height: 1.45; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 11px 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}
.size .sp { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.size .ct { display: inline-grid; place-items: center; min-width: 16px; color: var(--muted); font-weight: 700; font-size: 13px; }
.size .ct svg { width: 13px; height: 13px; }
.size:hover { border-color: var(--gold); }
.size.on { border-color: var(--gold); background: var(--gold-wash); }
.size.on .ct { color: var(--gold); }
.size.static { cursor: default; padding-right: 13px; }
.size.static:hover { border-color: var(--line-strong); }
.veg-only .item:not(.is-veg), .veg-only .sec[data-veg="0"] { display: none; }

.promo { margin-top: 44px; display: grid; gap: 10px; justify-items: start; }
.promo h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3.2vw, 30px); line-height: 1.15; }
.promo p { margin: 0; max-width: 46ch; color: var(--night-muted); }
.promo .btn { margin-top: 6px; }

.results-head { margin: 0; padding-top: 22px; color: var(--muted); font-size: 15px; }
.results-head b { color: var(--ink); font-weight: 600; }
.empty { padding-block: 28px 8px; max-width: 46ch; }
.empty h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.empty p { margin: 0; color: var(--muted); }

/* ---------- Order bar & sheet ---------- */
.orderbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  pointer-events: none;
}
.orderbar button {
  pointer-events: auto;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 20px 10px 12px;
  border: 0;
  border-radius: 18px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  cursor: pointer;
}
.ob-count { min-width: 32px; height: 32px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; border: 1.5px solid currentColor; font-variant-numeric: tabular-nums; font-size: 14px; }
.ob-total { margin-left: auto; font-variant-numeric: tabular-nums; }

.sheet-wrap { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; background: var(--scrim); }
.sheet {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--raised);
  color: var(--ink);
  border-radius: 22px 22px 0 0;
  padding: 18px max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .4);
  animation: rise .22s ease-out;
}
@keyframes rise { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: center; gap: 12px; }
.sheet-head h2 { margin: 0; flex: 1; font-family: var(--font-display); font-weight: 400; font-size: 28px; }
.o-list { list-style: none; margin: 8px 0 0; padding: 0; }
.o-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.o-name { font-weight: 500; line-height: 1.3; }
.o-name small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.o-side { display: flex; align-items: center; gap: 12px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.stepper button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); border-radius: 50%; cursor: pointer; }
.stepper button svg { width: 14px; height: 14px; }
.stepper output { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.o-line { min-width: 64px; text-align: right; color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.sheet .fields { display: grid; gap: 12px; margin-top: 16px; }
.sheet .field > label { font-size: 14px; font-weight: 500; color: var(--muted); }
.sheet .input { min-height: 46px; padding: 10px 12px; background: var(--ground); }
.sheet textarea.input { min-height: 72px; }
.total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; }
.total span { color: var(--muted); }
.total b { font-size: 25px; color: var(--ink); font-variant-numeric: tabular-nums; }
.actions { display: grid; gap: 8px; margin-top: 14px; }
.actions .btn { width: 100%; }
.actions .text-btn { justify-self: center; color: var(--muted); font-weight: 500; }
.actions .text-btn.armed { color: var(--chili); font-weight: 600; }
.fine { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; text-align: center; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 85;
  max-width: calc(100% - 32px);
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ground);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Wider screens ---------- */
@media (min-width: 760px) {
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { display: flex; flex: 0 1 340px; }
  .search-open { display: none; }
  .search .text-btn { display: none; }
  .m-bar.searching .tabs { display: flex; }
  .m-bar.searching .search .text-btn { display: inline-block; }
  .tab { flex: none; padding-inline: 16px; }
  .sheet-wrap { align-items: center; padding: 24px; }
  .sheet { border-radius: 22px; padding-bottom: 22px; }
  .sec-img { width: 62px; height: 62px; }
}
@media (min-width: 1080px) {
  .m-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 56px; }
  .chips { display: none; }
  .side {
    display: block;
    position: sticky;
    top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 8px);
    align-self: start;
    max-height: calc(100vh - var(--bar-h) - 24px);
    overflow-y: auto;
    padding-block: 26px 20px;
    scrollbar-width: thin;
  }
  .side.off { visibility: hidden; }
  .side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .side-link { display: block; width: 100%; appearance: none; background: none; border: 0; text-align: left; padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 15px; line-height: 1.3; cursor: pointer; }
  .side-link:hover { color: var(--ink); }
  .side-link[aria-current="true"] { color: var(--gold); background: var(--gold-wash); font-weight: 600; }
}
@media (max-width: 380px) {
  .tab { font-size: 14.5px; }
}
