/* Customer menu: mobile-first and photo-led. Warm cream and charcoal neutrals, the brand
   ember (settings.accent) for action, olive and brass as quiet supporting colours.
   The Levantine arch survives as the signature motif on icons, the logo and the footer. */

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[dir="rtl"] body, body[dir="rtl"] { line-height: 1.7; }

.skip {
  position: absolute; inset-inline-start: 8px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-sm);
}
.skip:focus { top: 8px; }

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 480px) { .wrap { padding-inline: 20px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }

.ic { width: 1.1em; height: 1.1em; flex: none; }
a, button, [data-item] { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* ====================================================================== Hero */
.hero { position: relative; color: var(--linen); overflow: hidden; isolation: isolate; }
.hero-top {
  position: absolute; z-index: 3;
  top: calc(env(safe-area-inset-top) + 12px); inset-inline: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  pointer-events: none;
}
.hero-top > * { pointer-events: auto; }
.hero--plain .hero-top { justify-content: flex-end; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 44px; height: 44px; padding: 0 16px 0 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 244, 225, .35);
  background: rgba(20, 17, 13, .48);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #FFF8EC;
  font-family: var(--font-ar);
  font-weight: 600; font-size: .95rem;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.lang-toggle .ic { width: 18px; height: 18px; opacity: .85; }
.lang-toggle[lang="en"] { font-family: var(--font-ui); letter-spacing: .04em; }
.lang-toggle:hover { background: rgba(20, 17, 13, .7); border-color: rgba(255, 244, 225, .6); }

/* --- photo hero --- */
.hero--photo {
  min-height: clamp(460px, 76svh, 640px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--charcoal);
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(20, 17, 13, .55) 0%,
      rgba(20, 17, 13, .08) 20%,
      rgba(20, 17, 13, .22) 36%,
      rgba(20, 17, 13, .74) 52%,
      rgba(20, 17, 13, .9) 70%,
      rgba(20, 17, 13, .96) 100%);
}
.hero-logo {
  width: 46px; height: 54px;
  border-radius: var(--arch);
  overflow: hidden;
  display: grid; place-items: center;
  border: 1.5px solid rgba(216, 189, 133, .85);
  background: rgba(20, 17, 13, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-logo .monogram { font-size: 1.15rem; transform: translateY(3px); }
.hero-copy {
  width: 100%; max-width: 1120px; margin-inline: auto;
  padding: 120px 16px calc(28px);
}
@media (min-width: 480px) { .hero-copy { padding-inline: 20px; } }
@media (min-width: 1024px) { .hero-copy { padding: 140px 32px 48px; } }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 11vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 10px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  text-wrap: balance;
  color: #FFF8EC;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
[dir="rtl"] .hero h1 { font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 4.4vw, 1.3rem);
  line-height: 1.35;
  color: #EBD3A2;
  margin: 0 0 18px;
  max-width: 34ch;
}
[dir="rtl"] .hero .tagline { font-style: normal; }
.hero-info {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hi { display: flex; min-width: 0; max-width: 100%; }
.hi > span, .hi > a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; max-width: 100%;
  padding: 6px 14px 6px 11px;
  border-radius: var(--r-pill);
  background: rgba(20, 17, 13, .55);
  border: 1px solid rgba(255, 244, 225, .2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #FFF8EC;
  font-size: .875rem; line-height: 1.3;
  text-decoration: none;
}
.hi > a { min-height: 44px; transition: background-color .2s var(--ease-out); }
.hi > a:hover { background: rgba(20, 17, 13, .78); }
.hi > a > span { text-decoration: underline; text-decoration-color: rgba(235, 211, 162, .55); text-underline-offset: 3px; }
.hi .ic { width: 17px; height: 17px; color: #EBD3A2; }
.hi bdi { unicode-bidi: isolate; }

/* --- plain hero (no photos anywhere yet) --- */
.hero--plain {
  background:
    radial-gradient(70% 55% at 50% 108%, color-mix(in srgb, var(--accent) 55%, transparent) 0%, transparent 70%),
    radial-gradient(60% 40% at 50% 0%, rgba(216, 189, 133, .10), transparent 70%),
    var(--charcoal-2);
  padding: calc(env(safe-area-inset-top) + 64px) 16px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero--plain .hero-info { justify-content: center; margin-top: 4px; }
.hero--plain .tagline { margin-inline: auto; }
.hero-arch {
  position: relative;
  width: 124px; height: 148px;
  margin: 0 auto 22px;
  border-radius: var(--arch);
  border: 1.5px solid var(--brass-light);
  padding: 7px;
  box-shadow: 0 0 0 6px var(--charcoal-2), 0 0 0 7px rgba(216, 189, 133, .35);
}
.hero-arch-inner {
  width: 100%; height: 100%;
  border-radius: var(--arch);
  background:
    radial-gradient(90% 70% at 50% 100%, color-mix(in srgb, var(--accent) 70%, #000) 0%, transparent 75%),
    linear-gradient(180deg, #3A322A, var(--charcoal));
  display: grid; place-items: center;
  overflow: hidden;
}
.hero-arch-inner img { width: 100%; height: 100%; object-fit: cover; }
.monogram {
  font-family: "Fraunces", var(--font-display);
  font-size: 3rem; font-weight: 500; font-style: italic;
  letter-spacing: -.02em;
  color: var(--brass-light);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  transform: translateY(8px);
}

/* ====================================================================== Sticky bar */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(34, 30, 25, .08);
}
.bar-inner { display: flex; align-items: center; gap: 8px; height: 64px; position: relative; }
.icon-btn {
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(34, 30, 25, .16);
  background: var(--paper-3);
  color: var(--ink);
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.icon-btn:hover { border-color: rgba(34, 30, 25, .35); }
.icon-btn .ic { width: 20px; height: 20px; }
.chips {
  flex: 1; min-width: 0;
  display: flex; gap: 6px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-block: 10px; padding-inline: 2px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 24px), transparent);
}
[dir="rtl"] .chips {
  -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 10px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(270deg, transparent 0, #000 10px, #000 calc(100% - 24px), transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 16px 0 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(34, 30, 25, .14);
  background: var(--paper-3);
  color: var(--ink-2);
  font-size: .9rem; font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.chip .ic { width: 18px; height: 18px; color: var(--brass-dark); transition: color .2s; }
.chip:hover { border-color: rgba(34, 30, 25, .32); color: var(--ink); }
.chip[aria-current="true"] { background: var(--charcoal); color: #FFF8EC; border-color: var(--charcoal); }
.chip[aria-current="true"] .ic { color: var(--brass-light); }
.search-box {
  position: absolute; inset: 10px 0;
  display: flex; align-items: center; gap: 8px;
  background: var(--paper-3);
  border: 1px solid rgba(34, 30, 25, .18);
  border-radius: var(--r-pill);
  padding-inline: 14px 0;
  animation: searchIn .25s var(--ease-out);
}
@keyframes searchIn { from { opacity: 0; transform: scaleX(.96); } }
.search-box .ic { color: var(--ink-3); width: 18px; height: 18px; }
.search-box input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; background: transparent; outline: none;
  font-size: 1rem;
}
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box .icon-btn { border: 0; background: transparent; }
.search-box:focus-within { border-color: var(--accent); box-shadow: var(--focus); }

/* ====================================================================== Section titles */
.section-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 16px;
}
.section-title h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.01em;
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
}
[dir="rtl"] .section-title h2 { font-weight: 700; letter-spacing: 0; }
.section-title .alt {
  color: var(--brass-dark);
  font-size: .95rem;
  white-space: nowrap;
}
.section-title .alt.ar { font-family: var(--font-ar); }
.section-title .alt:not(.ar) { font-family: "Fraunces", var(--font-display); font-style: italic; }
.cat-icon {
  flex: none;
  width: 40px; height: 46px;
  border-radius: var(--arch);
  display: grid; place-items: center;
  padding-top: 4px;
  background: var(--charcoal-2);
  color: var(--brass-light);
}
.cat-icon .ic { width: 22px; height: 22px; }

/* ====================================================================== Chef's picks row */
.featured { padding-top: 28px; }
.carousel {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(74%, 300px);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  padding: 2px 16px 20px;
  margin-inline: -16px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
@media (min-width: 480px) { .carousel { margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; gap: 16px; } }
@media (min-width: 1024px) { .carousel { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
.feat {
  position: relative;
  scroll-snap-align: start;
  display: block;
  aspect-ratio: 4 / 5;
  border: 0; padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--charcoal);
  color: #FFF8EC;
  text-align: start;
  box-shadow: 0 18px 34px -22px rgba(34, 30, 25, .7);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.feat:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -22px rgba(34, 30, 25, .8); }
.feat:focus-visible { outline-offset: 3px; }
.feat .ph { position: absolute; inset: 0; --ph-size: 4rem; }
.feat .ph.no-img .ph-glyph { align-items: start; padding-top: 22%; }
.feat .ph > img { transition: transform .5s var(--ease-out); }
.feat:hover .ph > img { transform: scale(1.04); }
.feat::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(20, 17, 13, .55) 62%, rgba(20, 17, 13, .92) 100%);
  pointer-events: none;
}
.feat-copy {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 16px 16px;
}
.feat-cat {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #EBD3A2;
}
[dir="rtl"] .feat-cat { letter-spacing: 0; font-size: .8rem; }
.feat-name {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 500; line-height: 1.15;
  text-wrap: balance;
}
[dir="rtl"] .feat-name { font-weight: 700; font-size: 1.2rem; line-height: 1.4; }
.feat-price { font-size: .95rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.feat .price { color: #FFF8EC; }
.feat .price .cur { color: rgba(255, 248, 236, .8); }
.feat.is-out .ph { filter: grayscale(1) brightness(.75); }
.feat.is-out .feat-price { font-weight: 600; }

/* sold-out stamp on photos: icon + words, never colour alone */
.soldout-mark {
  position: absolute; z-index: 3;
  top: 10px; inset-inline-start: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 11px 0 8px;
  border-radius: var(--r-pill);
  background: rgba(20, 17, 13, .86);
  color: #FFF8EC;
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap;
}
.soldout-mark .ic { width: 15px; height: 15px; }

/* ====================================================================== Dish rows */
main { padding-bottom: 48px; }
.cat { padding-top: 36px; }
.items {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
}
@media (min-width: 768px) { .items { grid-template-columns: 1fr 1fr; gap: 16px; } }
.item { min-width: 0; }
.item-btn {
  width: 100%; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: start;
  padding: 12px;
  border: 1px solid rgba(34, 30, 25, .07);
  border-radius: 18px;
  background: var(--paper-3);
  color: inherit;
  text-align: start;
  box-shadow: 0 1px 2px rgba(34, 30, 25, .04), 0 8px 20px -16px rgba(34, 30, 25, .35);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s var(--ease-out);
}
.item-btn:hover { border-color: rgba(34, 30, 25, .16); box-shadow: 0 1px 2px rgba(34, 30, 25, .05), 0 14px 28px -18px rgba(34, 30, 25, .5); }
.item-btn:active { transform: scale(.99); }
.item-btn:focus-visible { outline-offset: 3px; }
@media (min-width: 1024px) { .item-btn { grid-template-columns: minmax(0, 1fr) 132px; gap: 18px; padding: 14px; } }
.item-text { padding: 4px 2px 2px; padding-inline-start: 4px; min-width: 0; }
.item-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.25;
  margin: 0 0 4px;
  font-variation-settings: "opsz" 36;
  overflow-wrap: anywhere;
}
[dir="rtl"] .item-name { font-weight: 700; font-size: 1.125rem; line-height: 1.5; }
.item-desc {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: .9rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.item-photo { position: relative; }
.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  --ph-size: 2.4rem;
}
.item .soldout-mark { top: 6px; inset-inline-start: 6px; height: 24px; font-size: .7rem; padding: 0 9px 0 6px; }
.item .soldout-mark .ic { width: 13px; height: 13px; }
/* no photo: a quieter tile so the row still looks composed */
.item.no-photo .thumb { --ph-size: 2.1rem; }

.price {
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
  white-space: nowrap;
  font-size: 1rem;
}
.price .cur { font-weight: 500; font-size: .78em; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  height: 24px; padding: 0 8px 0 7px;
  border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 500;
  background: var(--tag-bg); color: var(--tag-fg);
}
.tag .ic { width: 14px; height: 14px; }
.tag--new { --tag-bg: #F1E3C4; --tag-fg: #5E4210; }
.tag--popular { --tag-bg: #F4D9D2; --tag-fg: #82291B; }
.tag--spicy { --tag-bg: #F6D2C8; --tag-fg: #8F2612; }
.tag--vegetarian { --tag-bg: #DDE7CC; --tag-fg: #34501C; }
.tag--vegan { --tag-bg: #D3E5D0; --tag-fg: #214A27; }
.tag--gluten-free { --tag-bg: #EDE3CF; --tag-fg: #5E461C; }
.tag--chef { --tag-bg: #DFDDEB; --tag-fg: #3A3462; }
.soldout-pill {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 7px;
  border-radius: var(--r-pill);
  background: var(--ink); color: var(--paper-3);
  font-size: .75rem; font-weight: 600;
}
.soldout-pill .ic { width: 13px; height: 13px; }
.item.is-out .item-btn { background: color-mix(in srgb, var(--paper-3) 55%, var(--paper)); }
.item.is-out .item-name, .item.is-out .item-desc { color: var(--ink-3); }
.item.is-out .tags { opacity: .7; }
.item.is-out .price { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.item.is-out .thumb { filter: grayscale(1); opacity: .7; }

.results-head { padding-top: 26px; color: var(--ink-3); font-size: .9rem; }
.empty { text-align: center; padding: 56px 20px 40px; }
.empty .ph-arch {
  width: 84px; height: 100px; margin: 0 auto 18px;
  border-radius: var(--arch);
  border: 1.5px dashed var(--olive-400);
  display: grid; place-items: center;
  color: var(--olive-400);
  padding-top: 8px;
}
.empty .ph-arch .ic { width: 34px; height: 34px; }
.empty h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin: 0 0 6px; }
.empty p { color: var(--ink-2); margin: 0 auto 20px; max-width: 34ch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600;
  transition: background-color .2s var(--ease-out);
}
.btn:hover { background: var(--accent-strong); }

/* ====================================================================== Footer */
.foot {
  background: var(--charcoal);
  color: rgba(255, 248, 236, .86);
  padding: 44px 0 calc(env(safe-area-inset-bottom) + 36px);
  position: relative;
}
.foot::before {
  /* arcade of arches along the top edge */
  content: "";
  position: absolute; left: 0; right: 0; top: -18px; height: 18px;
  background: radial-gradient(circle at 50% 100%, var(--charcoal) 17px, transparent 17.5px) 0 0 / 36px 18px repeat-x;
}
.foot-name {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 500;
  color: var(--linen);
  margin: 0 0 4px;
}
.foot-tag { margin: 0 0 26px; color: var(--brass-light); font-style: italic; font-family: var(--font-display); }
[dir="rtl"] .foot-tag { font-style: normal; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; }
@media (min-width: 768px) { .foot-list { grid-template-columns: 1fr 1fr; } }
.foot-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid rgba(216, 189, 133, .16); }
.foot-list .ic { width: 20px; height: 20px; color: var(--brass-light); margin-top: 2px; }
.foot-list .k { display: block; font-size: .8rem; color: rgba(255, 248, 236, .68); }
.foot-list a { color: var(--linen); text-decoration-color: rgba(216, 189, 133, .5); text-underline-offset: 3px; display: inline-block; min-height: 24px; }
.foot-list .v { color: var(--linen); overflow-wrap: anywhere; }
.foot-list .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ====================================================================== Detail sheet */
.sheet {
  border: 0; padding: 0; margin: 0;
  width: 100%; max-width: 560px;
  max-height: 94vh; max-height: 94dvh;
  inset: auto 0 0 0;
  margin-inline: auto;
  border-radius: 24px 24px 0 0;
  background: var(--paper-3);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .3);
}
.sheet[open] { display: flex; flex-direction: column; animation: sheetUp .32s var(--ease-out); }
.sheet.closing { animation: sheetDown .22s var(--ease-in-out) forwards; }
.sheet::backdrop { background: rgba(20, 17, 13, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fadeIn .25s; }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes sheetDown { to { transform: translateY(100%); } }
@keyframes fadeIn { from { opacity: 0; } }
@media (min-width: 640px) {
  .sheet { inset: 0; margin: auto; border-radius: 24px; max-height: 88vh; }
  @keyframes sheetUp { from { transform: translateY(30px); opacity: 0; } }
  @keyframes sheetDown { to { transform: translateY(30px); opacity: 0; } }
}
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; }
.sheet-media { position: relative; }
.sheet-media .ph { aspect-ratio: 4 / 3; --ph-size: 5rem; }
.sheet-media::after {
  /* keeps the grab handle and close button legible on bright photos */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 90px;
  background: linear-gradient(180deg, rgba(20, 17, 13, .45), transparent);
  pointer-events: none;
}
.sheet-media.is-out .ph { filter: grayscale(1) brightness(.8); }
.sheet-media .soldout-mark { top: auto; bottom: 14px; inset-inline-start: 16px; height: 34px; font-size: .9rem; padding: 0 14px 0 10px; }
.sheet-media .soldout-mark .ic { width: 18px; height: 18px; }
.sheet-grab {
  position: absolute; z-index: 2; top: 8px; left: 50%; translate: -50% 0;
  width: 44px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .8);
}
@media (min-width: 640px) { .sheet-grab { display: none; } }
.sheet-close {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(20, 17, 13, .6); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center;
  transition: background-color .2s var(--ease-out);
}
.sheet-close:hover { background: rgba(20, 17, 13, .85); }
.sheet-close .ic { width: 20px; height: 20px; }
.sheet-body { padding: 20px 24px calc(env(safe-area-inset-bottom) + 28px); }
.sheet-cat {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 0 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brass-dark);
}
[dir="rtl"] .sheet-cat { letter-spacing: 0; font-size: .9rem; }
.sheet-cat .ic { width: 17px; height: 17px; }
.sheet-body h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--step-4); line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 4px;
  font-variation-settings: "opsz" 144;
}
[dir="rtl"] .sheet-body h2 { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.sheet-body .alt { color: var(--brass-dark); margin: 0 0 14px; font-size: 1.05rem; }
html[dir="ltr"] .sheet-body .alt { text-align: left; }
html[dir="rtl"] .sheet-body .alt { text-align: right; }
.sheet-body .alt:not(.ar) { font-family: "Fraunces", var(--font-display); font-style: italic; }
.sheet-body .desc { color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; margin: 0 0 18px; }
.sheet-price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; margin-top: 18px;
  border-top: 1px solid rgba(34, 30, 25, .1);
}
.sheet-price-row .price { font-size: 1.5rem; font-family: var(--font-ui); }
.sheet-body.is-out .price { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.sheet .tags { gap: 6px; }
.sheet .tag { height: 30px; padding: 0 12px 0 10px; font-size: .85rem; }
.sheet .tag .ic { width: 16px; height: 16px; }
.sheet .soldout-pill { height: 30px; font-size: .85rem; padding: 0 12px 0 10px; }

/* ====================================================================== Skeleton */
.hero--skeleton {
  min-height: clamp(460px, 76svh, 640px);
  background: var(--charcoal-2);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: 0 20px 32px;
}
.sk {
  display: block;
  background: linear-gradient(90deg, rgba(127, 110, 90, .14) 0%, rgba(127, 110, 90, .28) 50%, rgba(127, 110, 90, .14) 100%) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 8px;
}
.hero--skeleton .sk { background-color: rgba(255, 255, 255, .06); }
.sk-line { height: 14px; margin: 6px 0; }
.hero .sk-line { margin: 0; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-body { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sk-chips { display: flex; gap: 8px; padding: 14px 0 24px; overflow: hidden; }
.sk-chips .sk { flex: none; width: 96px; height: 44px; border-radius: 999px; }
.sk-row { display: grid; grid-template-columns: 1fr 112px; gap: 14px; padding: 12px; margin-bottom: 12px; border-radius: 18px; background: var(--paper-3); }
.sk-thumb { width: 112px; height: 112px; border-radius: 14px; }

/* ====================================================================== Entrance */
.reveal .hero-img { animation: heroIn 1.1s var(--ease-out) both; }
.reveal .hero-arch { animation: archIn .9s var(--ease-out) both; }
.reveal .hero h1 { animation: rise .7s .1s var(--ease-out) both; }
.reveal .hero .tagline { animation: rise .7s .18s var(--ease-out) both; }
.reveal .hero .hero-info { animation: rise .7s .26s var(--ease-out) both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.06); } }
@keyframes archIn { from { opacity: 0; transform: translateY(14px) scale(.94); clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

@media (min-width: 768px) {
  .hero--plain { padding-top: 84px; padding-bottom: 60px; }
  .hero-arch { width: 150px; height: 180px; }
  .hero-top { inset-inline: 20px; top: 16px; }
}
@media (min-width: 1024px) {
  .hero--photo { min-height: min(72vh, 600px); }
  .hero-top { inset-inline: max(32px, calc((100% - 1120px) / 2 + 32px)); }
  .section-title h2 { font-size: var(--step-4); }
  .cat { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .feat:hover, .feat:hover .ph > img, .item-btn:active { transform: none; }
}

/* ====================================================================== Table QR ordering (only with ?t=)
   Everything below is scoped to g-* classes, body.g-on or .sheet[data-kind]: the view-only menu is unaffected. */
:root {
  /* line status vocabulary (design 0.1, light values only: the menu has no dark mode) */
  --ls-pending-bg: #F6E8CC; --ls-pending-fg: #7A5413; --ls-pending-edge: #B7832F;
  --ls-received-bg: #ECEDE4; --ls-received-fg: #3E4A36; --ls-received-edge: #C9CBBC;
  --ls-preparing-bg: #F7E0D2; --ls-preparing-fg: #8A3B1C;
  --ls-ready-bg: #3F6E2C; --ls-ready-fg: #FFFFFF;
  --ls-served-fg: #5E6455;
  --ls-declined-bg: #F7DEDA; --ls-declined-fg: #9A2C22;
  --g-ok-bg: #E2EDD8; --g-ok-fg: #2F5A1E;
}
[dir="rtl"] .ic-dir { transform: scaleX(-1); }

/* --- room for the dock --- */
body.g-on .foot { padding-bottom: calc(env(safe-area-inset-bottom) + 36px + 88px); }
body.g-on .item { position: relative; }

/* --- table banner (1.3) --- */
.g-banner { background: var(--charcoal); color: #FFF8EC; }
.g-banner-in { display: flex; align-items: center; gap: 14px; min-height: 72px; padding-block: 14px; }
.g-banner-ic { flex: none; width: 36px; height: 40px; display: grid; place-items: center; color: var(--brass-light); }
.g-banner-ic .ic { width: 28px; height: 28px; }
.g-banner p { margin: 0; }
.g-banner-top { line-height: 1.25; }
.g-banner-k { font-size: .875rem; color: var(--brass-light); }
.g-banner-table { font-size: 1.4375rem; font-weight: 700; color: #FFF8EC; }
.g-banner .g-banner-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; font-size: .9375rem; color: rgba(255, 248, 236, .82); margin-top: 2px; }
.g-banner-sub > .ic { width: 18px; height: 18px; color: var(--brass-light); }
.g-banner .g-link { color: #FFF8EC; }
.g-banner--warn { background: #F6E8CC; color: #5A3D08; }
.g-banner--warn .g-banner-ic { color: #7A5413; }
.g-banner-strong { font-weight: 700; font-size: 1.0625rem; }
.g-banner--warn .g-banner-sub { color: #5A3D08; }
.g-link {
  min-height: 48px; padding: 0 4px; border: 0; background: none; color: inherit;
  font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  display: inline-flex; align-items: center; gap: 6px;
}
.g-link .ic { width: 18px; height: 18px; }
.g-link--ink { color: var(--ink); font-size: .9375rem; }

/* --- add buttons on dishes (1.4) --- */
.g-add {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 112px; height: 112px; pointer-events: none;
}
@media (min-width: 1024px) { .g-add { top: 14px; inset-inline-end: 14px; width: 132px; height: 132px; } }
.g-add > * { pointer-events: auto; }
.g-add > .g-scrim { pointer-events: none; }
.g-scrim {
  position: absolute; inset: 0; border-radius: 14px;
  background: rgba(20, 17, 13, .45); display: grid; place-items: center;
}
.g-qty { color: #fff; font-size: 1.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.g-circle {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  border: 0; color: #fff; flex: none;
}
.g-circle .ic { width: 24px; height: 24px; }
.g-add .g-circle { position: absolute; bottom: -6px; box-shadow: 0 0 0 3px var(--paper-3), 0 6px 14px -6px rgba(34, 30, 25, .6); }
.g-plus { inset-inline-end: -6px; background: var(--accent); color: var(--accent-ink); }
.g-minus { inset-inline-start: -6px; background: var(--charcoal); }
.g-plus.is-full { opacity: .4; }
.g-circle--soft { background: var(--paper); color: var(--ink); border: 1.5px solid rgba(34, 30, 25, .18); }
.g-circle:disabled { opacity: .4; cursor: not-allowed; }
.g-pop { animation: gPop .18s var(--ease-out); }
@keyframes gPop { 50% { transform: scale(.9); } }
.g-qty.g-pop { animation: gPopNum .2s var(--ease-out); }
@keyframes gPopNum { from { transform: scale(1.25); } }

/* --- bottom dock (1.6) --- */
.g-dock {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid rgba(34, 30, 25, .10);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  transition: transform .2s var(--ease-out);
}
.g-dock[hidden] { display: none; }
body.g-kb .g-dock { transform: translateY(110%); }
.g-dock-in { max-width: 640px; margin-inline: auto; display: flex; gap: 8px; align-items: stretch; height: 56px; }
.g-dk {
  flex: none; width: 64px; height: 56px; border-radius: 16px;
  background: var(--paper-3); border: 1.5px solid rgba(34, 30, 25, .18); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0;
}
.g-dk-ic { position: relative; display: grid; }
.g-dk-ic .ic { width: 24px; height: 24px; }
.g-dk-label { font-size: 13px; font-weight: 600; line-height: 1.1; }
.g-dot { position: absolute; top: -3px; inset-inline-end: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff; }
.g-dot--brass { background: var(--brass); }
.g-main { flex: 1; min-width: 0; height: 56px; border-radius: 16px; margin: 0; }
.g-cartbar {
  display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 0;
  background: var(--accent); color: var(--accent-ink); text-align: start;
}
.g-cart-ic { position: relative; display: grid; }
.g-cart-ic .ic { width: 26px; height: 26px; }
.g-badge {
  position: absolute; top: -8px; inset-inline-end: -10px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.g-cart-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.g-cart-n { font-size: .875rem; opacity: .9; }
.g-cart-total { font-size: 1.1875rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-cart-go { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.g-cart-go .ic { width: 20px; height: 20px; }
@media (max-width: 359px) { .g-cart-go { font-size: 0; } }
.g-bump { animation: gBump .2s var(--ease-out); }
@keyframes gBump { 50% { transform: scale(1.04); } }
.g-ordersbar {
  display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 0;
  background: var(--charcoal); color: #FFF8EC; text-align: start;
}
.g-ob-title { position: relative; font-weight: 700; font-size: 1rem; white-space: nowrap; }
.g-ob-title .g-dot { top: -2px; inset-inline-end: -12px; }
.g-ob-status { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; font-size: .9375rem; color: var(--brass-light); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.g-ob-status .ic, .g-ordersbar > .ic { width: 20px; height: 20px; flex: none; }
.g-hint { display: flex; align-items: center; padding: 0 8px; color: var(--ink-3); font-size: .9375rem; line-height: 1.3; }

/* --- sheets shared --- */
.sheet[data-kind^="guest"] { max-height: 88vh; max-height: 88dvh; }
.sheet[data-kind^="guest"] .sheet-scroll { flex: 1 1 auto; min-height: 0; }
.g-grab { width: 44px; height: 5px; border-radius: 5px; background: rgba(34, 30, 25, .22); margin: 8px auto 0; flex: none; }
@media (min-width: 640px) { .g-grab { display: none; } }
.g-pad { padding: 12px 20px calc(env(safe-area-inset-bottom) + 20px); }
.g-sheet-head { padding: 8px 20px 10px; border-bottom: 1px solid rgba(34, 30, 25, .1); flex: none; }
.g-sheet-list { padding: 4px 20px 12px; }
.g-sheet-foot {
  flex: none; padding: 12px 20px calc(env(safe-area-inset-bottom) + 14px);
  background: var(--paper-3); box-shadow: 0 -10px 24px -18px rgba(34, 30, 25, .45);
  border-top: 1px solid rgba(34, 30, 25, .08);
}
.g-sheet-foot:empty { display: none; }
.g-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.g-title { font-family: var(--font-display); font-weight: 700; font-size: 1.4375rem; line-height: 1.2; margin: 6px 0 4px; }
[dir="rtl"] .g-title { font-family: var(--font-ar); }
.g-x {
  flex: none; width: 48px; height: 48px; border-radius: 50%; margin-inline-end: -8px;
  border: 0; background: transparent; color: var(--ink); display: grid; place-items: center;
}
.g-x .ic { width: 22px; height: 22px; }
.g-x:hover { background: var(--paper); }
.g-lead { color: var(--ink-2); margin: 0 0 16px; }
.g-sub { color: var(--ink-2); margin: 0; font-size: .9375rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }
.g-label { display: block; font-weight: 600; margin: 0 0 6px; }
.g-label--sm { display: flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--ink-2); margin: 18px 0 8px; }
.g-label--sm .ic { width: 16px; height: 16px; }
.g-input {
  width: 100%; height: 56px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid rgba(34, 30, 25, .25); background: var(--paper-3); color: var(--ink);
  font: inherit; font-size: 1.125rem;
}
.g-input:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.g-input--sm { height: 48px; font-size: 1rem; margin-top: 8px; }
.g-hint-row { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-3); font-size: .875rem; margin: 10px 0 0; }
.g-hint-row .ic { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.g-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-pill); border: 0;
  font: inherit; font-weight: 600; font-size: 1rem; text-align: center;
}
.g-btn .ic { width: 20px; height: 20px; flex: none; }
.g-btn--block { width: 100%; margin-top: 12px; }
.g-btn--primary { background: var(--accent); color: var(--accent-ink); min-height: 56px; }
.g-btn--primary:hover:not(:disabled) { background: var(--accent-strong); }
.g-btn--dark { background: var(--charcoal); color: #FFF8EC; min-height: 56px; }
.g-btn--soft { background: var(--paper); color: var(--ink); border: 1.5px solid rgba(34, 30, 25, .18); min-height: 56px; }
.g-btn--text { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.g-btn--ghost { background: transparent; color: var(--ls-declined-fg); padding: 0 10px; }
.g-btn--sm { min-height: 44px; font-size: .9375rem; }
.g-btn:disabled { opacity: .5; cursor: not-allowed; }
.g-send.is-busy:disabled { opacity: .85; cursor: progress; }
.g-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-inline-end-color: transparent; animation: gSpin .8s linear infinite; flex: none; }
@keyframes gSpin { to { transform: rotate(360deg); } }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-nchip {
  min-height: 44px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1.5px solid rgba(34, 30, 25, .18); background: var(--paper-3); color: var(--ink);
  font: inherit; font-size: .9375rem; display: inline-flex; align-items: center; gap: 6px;
}
.g-nchip .ic { width: 16px; height: 16px; }
.g-nchip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #FFF8EC; }
.g-nchip--add { border-style: dashed; }
.g-alert {
  display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px;
  background: var(--ls-declined-bg); color: var(--ls-declined-fg); font-weight: 600; font-size: .9375rem;
}
.g-alert .ic { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.g-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 1.125rem; }
.g-total-row .price { font-size: 1.4375rem; }
.g-empty { text-align: center; padding: 32px 8px; color: var(--ink-2); }
.g-empty > .ic { width: 40px; height: 40px; color: var(--olive-400); }
.g-empty p { margin: 8px 0 16px; font-weight: 600; }

/* --- detail sheet footer (1.7) --- */
.g-dfoot {
  flex: none; padding: 4px 20px calc(env(safe-area-inset-bottom) + 14px);
  background: var(--paper-3); border-top: 1px solid rgba(34, 30, 25, .1);
  box-shadow: 0 -10px 24px -18px rgba(34, 30, 25, .45);
}
.g-dfoot .g-label--sm { margin-top: 10px; }
.g-dfoot .g-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.g-dfoot .g-chips::-webkit-scrollbar { display: none; }
.g-dfoot .g-nchip { flex: none; white-space: nowrap; }
.g-dfoot-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.g-stepper { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.g-step-n { min-width: 2ch; text-align: center; font-weight: 700; font-size: 1.1875rem; font-variant-numeric: tabular-nums; }
.g-dadd { flex: 1; min-width: 0; padding-inline: 14px; }

/* --- cart lines (1.8) --- */
.g-clines, .g-olines { list-style: none; margin: 0; padding: 0; }
.g-cline, .g-oline { padding: 14px 0; border-bottom: 1px solid rgba(34, 30, 25, .1); }
.g-cline:last-child, .g-oline:last-child { border-bottom: 0; }
.g-cline-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.g-cline-name { font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; }
.g-cline-name.is-struck { text-decoration: line-through; color: var(--ink-3); }
.g-cline-note { display: flex; align-items: center; flex-wrap: wrap; gap: 0 10px; }
.g-note { color: var(--ink-2); font-size: .9375rem; margin: 2px 0 0; overflow-wrap: anywhere; }
.g-note::before { content: '\21B3\00A0'; }
[dir="rtl"] .g-note::before { content: '\21B2\00A0'; }
.g-cline-qty { margin: 4px 0 0; color: var(--ink-2); }
.g-stepper--line { margin-top: 4px; }
.g-note-edit { margin-top: 8px; display: grid; gap: 4px; }
.g-note-edit .g-btn { justify-self: start; margin-top: 6px; }
.g-cline.is-out .g-cline-name { color: var(--ink-3); }
.g-cline-out { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.g-pill-out { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: var(--ls-declined-bg); color: var(--ls-declined-fg); font-size: .8125rem; font-weight: 700; }
.g-pill-out .ic { width: 14px; height: 14px; }

/* --- send confirmation (1.9) --- */
.g-sent { text-align: center; padding-top: 24px; }
.g-sent-mark {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center;
  background: var(--ok); color: #fff; animation: gScaleIn .22s var(--ease-out);
}
.g-sent-mark.is-approve { background: var(--ls-pending-edge); }
.g-sent-mark .ic { width: 36px; height: 36px; }
@keyframes gScaleIn { from { transform: scale(.4); opacity: 0; } }
.g-sent-sum { color: var(--ink-2); margin: 0 0 8px; }

/* --- service sheet (1.10) --- */
.g-row-btn {
  width: 100%; min-height: 72px; border-radius: 18px; padding: 0 18px;
  display: flex; align-items: center; gap: 12px; font: inherit; font-weight: 600; font-size: 1.0625rem; text-align: start;
  border: 1.5px solid rgba(34, 30, 25, .18); background: var(--paper); color: var(--ink);
}
.g-row-btn .ic { width: 26px; height: 26px; flex: none; }
.g-row-btn--dark { background: var(--charcoal); border-color: var(--charcoal); color: #FFF8EC; margin-top: 8px; }
.g-row-btn--ok { background: var(--g-ok-bg); color: var(--g-ok-fg); border-color: transparent; margin-top: 8px; }
.g-row-btn:disabled { opacity: .55; cursor: not-allowed; }
.g-row-btn[aria-busy="true"] { opacity: .85; cursor: progress; }
.g-bill-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-bill-row .g-row-btn { justify-content: center; }
.g-sheet-foot .g-bill-row { margin-top: 12px; }
.g-notified {
  display: flex; gap: 12px; align-items: center; min-height: 72px; padding: 12px 18px; border-radius: 18px; margin: 8px 0;
  background: var(--g-ok-bg); color: var(--g-ok-fg);
}
.g-notified > .ic { width: 26px; height: 26px; flex: none; }
.g-notified strong { display: block; font-size: 1.0625rem; }
.g-notified span { font-size: .9375rem; }
.g-sofar { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(34, 30, 25, .1); color: var(--ink-2); }

/* --- my orders (1.11) --- */
.g-updated { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .8125rem; color: var(--ink-3); }
.g-updated .ic { width: 15px; height: 15px; }
.g-ogroup-h { font-size: .8125rem; font-weight: 600; color: var(--ink-3); margin: 14px 0 0; }
.g-oline-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; min-height: 28px; }
.g-ohint { margin: 6px 0 0; color: var(--ink-2); font-size: .875rem; }
.g-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: var(--step--1); font-weight: 600; white-space: nowrap; border: 1.5px solid transparent;
}
.g-chip .ic { width: 16px; height: 16px; }
.g-chip--pending { background: var(--ls-pending-bg); color: var(--ls-pending-fg); border: 1.5px dashed var(--ls-pending-edge); }
.g-chip--received { background: var(--ls-received-bg); color: var(--ls-received-fg); border-color: var(--ls-received-edge); }
.g-chip--preparing { background: var(--ls-preparing-bg); color: var(--ls-preparing-fg); }
.g-chip--ready { background: var(--ls-ready-bg); color: var(--ls-ready-fg); }
.g-chip--served { background: transparent; color: var(--ls-served-fg); padding-inline: 0; }
.g-chip--declined, .g-chip--removed { background: var(--ls-declined-bg); color: var(--ls-declined-fg); }
.g-track { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.g-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .75rem; color: var(--ink-3); text-align: center; }
.g-track li::before {
  content: ""; position: absolute; top: 9px; height: 3px; inset-inline-start: calc(-50% + 6px); inset-inline-end: calc(50% + 6px);
  background: rgba(34, 30, 25, .18);
}
.g-track li:first-child::before { display: none; }
.g-track li.is-done::before, .g-track li.is-current::before { background: var(--ok); }
.g-track-dot { position: relative; z-index: 1; width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--ink-3); background: var(--paper-3); }
.g-track li.is-done .g-track-dot { background: var(--ok); border-color: var(--ok); }
.g-track li.is-current .g-track-dot { width: 20px; height: 20px; margin-top: 0; border-width: 4px; background: var(--paper-3); }
.g-cur--received .g-track-dot { border-color: var(--ls-received-fg); }
.g-cur--preparing .g-track-dot { border-color: var(--ls-preparing-fg); }
.g-cur--ready .g-track-dot { border-color: var(--ls-ready-bg); }
.g-cur--served .g-track-dot { border-color: var(--ls-served-fg); }
.g-track li.is-current { color: var(--ink); font-weight: 600; }

/* --- toasts --- */
.g-toasts {
  position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 60; width: min(480px, calc(100vw - 24px)); display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
.sheet .g-toasts { top: calc(12px + env(safe-area-inset-top)); bottom: auto; }
.g-toast {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 100%;
  min-height: 48px; padding: 8px 8px 8px 14px; border-radius: 14px;
  background: var(--charcoal); color: #FFF8EC; font-weight: 500; font-size: .9375rem;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); animation: gToastIn .25s var(--ease-out);
}
.g-toast > .ic { width: 20px; height: 20px; color: var(--brass-light); flex: none; }
.g-toast > span { flex: 1; padding-inline-end: 6px; }
.g-toast-undo { min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255, 248, 236, .14); color: #FFF8EC; font: inherit; font-weight: 700; }
.g-toast.out { animation: gToastOut .22s forwards; }
@keyframes gToastIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes gToastOut { to { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  .g-pop, .g-qty.g-pop, .g-bump, .g-sent-mark, .g-toast, .g-toast.out { animation: none; }
  .g-dock { transition: none; }
  .g-spin { animation-duration: 2.4s; }
}

/* --- round 3: sound toggle, "Rate your visit" card, ready toast, feedback sheet (design/round3.md 5) --- */
.g-banner-main { flex: 1 1 auto; min-width: 0; }
.g-sound {
  flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 48px; min-height: 48px; padding: 4px 8px; border-radius: 12px; border: 0;
  background: transparent; color: inherit; font: inherit; font-size: .75rem; font-weight: 600; line-height: 1.1; cursor: pointer;
}
.g-sound .ic { width: 22px; height: 22px; }
.g-sound--banner { color: #FFF8EC; margin-inline-start: auto; }
.g-sound--banner:hover { background: rgba(255, 248, 236, .1); }
.g-sound--banner[aria-pressed="true"] { color: var(--brass-light); }
.g-sound--sheet { color: var(--ink-2); }
.g-sound--sheet:hover { background: var(--paper); }
.g-sound:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 2px; }
.g-head-tools { display: inline-flex; align-items: center; gap: 4px; flex: none; }

.g-rate {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 6px 6px 12px; padding-inline: 12px 6px;
  border-radius: 14px; background: var(--paper-3); color: var(--ink); border: 1.5px solid rgba(168, 132, 74, .45);
}
.g-rate--banner { margin: 0 0 12px; }
.g-rate--sheet { margin: 10px 0 6px; }
.g-rate-ic { display: grid; place-items: center; color: var(--brass-dark); }
.g-rate-ic .ic { width: 22px; height: 22px; fill: var(--brass); stroke: var(--brass-dark); }
.g-rate-t { flex: 1 1 auto; font-weight: 600; }
.g-rate-btn {
  min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 0;
  background: var(--charcoal); color: #FFF8EC; font: inherit; font-weight: 700; cursor: pointer;
}

.g-toasts--top { top: calc(72px + env(safe-area-inset-top)); bottom: auto; }
.sheet .g-toasts--top { top: calc(12px + env(safe-area-inset-top)); }
.g-toast--ready { background: var(--ls-ready-bg); color: #fff; font-weight: 600; }
.g-toast--ready > .ic { color: #fff; }

.sheet[data-kind="guest-feedback"] .g-sheet-head { border-bottom: 0; padding-bottom: 0; }
.g-fb-q { font-size: 1.0625rem; margin-bottom: 4px; }
.g-fb { padding-top: 6px; }
.g-stars { display: flex; justify-content: center; gap: 4px; margin: 8px 0 2px; }
.g-star {
  width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 14px;
  background: transparent; color: var(--ink-3); cursor: pointer; padding: 0;
}
.g-star .ic { width: 40px; height: 40px; fill: transparent; stroke: currentColor; stroke-width: 1.5; transition: fill .12s, transform .12s; }
.g-star.is-on { color: var(--brass-dark); }
.g-star.is-on .ic { fill: var(--brass); stroke: var(--brass-dark); }
.g-star:active .ic { transform: scale(.9); }
.g-star:focus-visible { outline: none; box-shadow: var(--focus); }
.g-fb-word { text-align: center; font-weight: 600; font-size: 1rem; min-height: 1.5em; margin: 0 0 14px; color: var(--ink); }
.g-fb .g-label { margin-top: 4px; }
.g-fb-text { height: auto; min-height: 96px; padding: 12px 16px; font-size: 1rem; line-height: 1.4; resize: vertical; }
.g-fb-count { text-align: end; font-size: .8125rem; color: var(--ink-3); margin: 4px 0 0; }
.g-fb-count[hidden] { display: none; }
.g-fb-plabel { margin-top: 16px; }
.g-fb .g-hint-row[hidden] { display: none; }
.g-fb-skip { margin-top: 4px; }
.g-fb-done { text-align: center; padding-top: 8px; }
.g-sent-mark.is-closed { background: var(--ink-3); }
@media (prefers-reduced-motion: reduce) {
  .g-star .ic { transition: none; }
  .g-star:active .ic { transform: none; }
}
