/* Mauri-alpha demo menus — shared styles.
   Brand colours and fonts come from each restaurant's JSON config (set as CSS
   variables on <html>). data-style on #app adds per-brand character. */

:root {
  --bg: #F6F4F1;
  --surface: #FFFFFF;
  --surface-2: #EEEAE4;
  --text: #1D1D1D;
  --muted: #5B5650;
  --primary: #1D1D1D;
  --on-primary: #FFFFFF;
  --primary-text: #1D1D1D;
  --accent: #1D1D1D;
  --border: #DEDAD3;
  --demo-bg: #1D1D1D;
  --demo-text: #FFFFFF;
  --demo-accent: #FFFFFF;
  --header-bg: var(--bg);
  --intro-bg: var(--surface-2);
  --intro-text: var(--text);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --tap: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important; inset-inline-start: 0; width: 1px; height: 1px; padding: 0; margin: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

#app { max-width: 720px; margin-inline: auto; min-height: 100dvh; font-family: var(--font-body); }
#app.has-bar main { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

/* ---------- loading skeleton ---------- */
.skeleton { padding: 12px var(--gutter); display: grid; gap: 14px; }
.sk { background: color-mix(in srgb, currentColor 9%, transparent); border-radius: 12px; animation: pulse 1.4s ease-in-out infinite; }
.sk-header { height: 48px; }
.sk-strip { height: 150px; }
.sk-line { height: 52px; }
.sk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sk-card { aspect-ratio: 3 / 4; }
@keyframes pulse { 50% { opacity: .5; } }
.noscript { padding: 24px var(--gutter); text-align: center; }

/* ---------- header ---------- */
.brand-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter);
  padding-top: calc(10px + env(safe-area-inset-top));
  background: var(--header-bg);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { height: 46px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.15;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 419px) { .brand-tagline { display: none; } }
.brand-tagline { font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }

.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--surface-2); border-radius: 999px;
}
.lang-switch button {
  min-width: 44px; height: 40px; padding: 0 9px; border: 0; border-radius: 999px;
  background: transparent; font-weight: 600; font-size: .9375rem; color: var(--muted);
}
.lang-switch button[lang="ar"] { font-family: system-ui, "Noto Sans Arabic", sans-serif; }
.lang-switch button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }

.icon-btn {
  width: var(--tap); height: var(--tap); display: inline-grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent; color: var(--text);
}
.icon-btn:hover { background: var(--surface-2); }

/* ---------- intro strip (kept short: ≤ ~176px) ---------- */
.intro {
  margin: 4px var(--gutter) 0;
  display: grid; grid-template-columns: 1fr 42%; align-items: stretch;
  height: clamp(124px, 36vw, 168px);
  background: var(--intro-bg); color: var(--intro-text);
  border-radius: var(--radius); overflow: hidden; position: relative;
}
.intro-text { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 4px; z-index: 1; }
.intro-eyebrow { font-size: .8125rem; font-weight: 600; opacity: .9; }
.intro-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.125rem, 5vw, 1.5rem); line-height: 1.15; text-wrap: balance; }
.intro-img { width: 100%; height: 100%; object-fit: cover; }
.intro:not(:has(.intro-img)) { grid-template-columns: 1fr; }

/* ---------- demo notice ---------- */
.demo-notice {
  margin: 12px var(--gutter) 0;
  padding: 10px 14px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--demo-bg); color: var(--demo-text);
  border-radius: var(--radius-sm);
  border-inline-start: 6px solid var(--demo-accent);
}
.demo-notice strong { font-size: .875rem; letter-spacing: .04em; font-weight: 800; }
[dir="rtl"] .demo-notice strong { letter-spacing: 0; font-size: .9375rem; }
.demo-notice span { font-size: .8125rem; opacity: .92; }

/* ---------- search ---------- */
.search { position: relative; margin: 14px var(--gutter) 0; }
.search input {
  width: 100%; height: 50px;
  padding-inline: 44px 48px;
  border: 1.5px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text);
  font-size: 1rem; appearance: none;
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent); }
.search-icon { position: absolute; inset-inline-start: 15px; top: 50%; translate: 0 -50%; color: var(--muted); display: flex; pointer-events: none; }
.search-clear {
  position: absolute; inset-inline-end: 3px; top: 50%; translate: 0 -50%;
  width: var(--tap); height: var(--tap); border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); display: grid; place-items: center;
}
.search-clear[hidden] { display: none; }

/* ---------- categories (sticky; only this row scrolls sideways) ---------- */
.cats {
  position: sticky; top: 0; z-index: 5;
  margin-top: 10px;
  background: var(--bg);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--border) 70%, transparent);
}
.cats-scroll {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 8px var(--gutter) 10px;
  scrollbar-width: none; scroll-padding-inline: var(--gutter);
}
.cats-scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: var(--tap); padding: 0 18px;
  border: 1.5px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text);
  font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

/* ---------- results ---------- */
.results { padding: 4px var(--gutter) 0; scroll-margin-top: 72px; }
.result-count { font-size: .8125rem; color: var(--muted); margin: 6px 2px 10px; }
.menu-section + .menu-section { margin-top: 32px; }
.section-title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.2; margin: 0 2px 14px; }
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
  /* Two columns on ordinary phones; one column on very narrow screens or large text. */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.card:has(.card-link:focus-visible) { outline: 3px solid var(--primary); outline-offset: 2px; }
.card-media { background: var(--surface-2); }
.card-img, .card-media .img-placeholder { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; min-height: 0; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; line-height: 1.2; }
.card-link {
  all: unset; cursor: pointer; display: inline;
  overflow-wrap: anywhere;
}
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-desc {
  font-size: .875rem; color: var(--muted); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.price { margin-top: auto; padding-top: 4px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 800; font-size: 1rem; color: var(--primary-text); font-variant-numeric: tabular-nums; }
.price bdi { white-space: nowrap; }
.demo-tag {
  font-size: .75rem; font-weight: 700;
  padding: 0 6px; border-radius: 4px;
  border: 1px solid currentColor; color: var(--muted);
}

.img-placeholder {
  width: 100%; height: 100%; min-height: 100px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--muted); font-size: .75rem; text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--muted) 7%, transparent) 10px 20px),
    var(--surface-2);
}

.empty { text-align: center; padding: 32px 12px; display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.empty[hidden] { display: none; }
.empty p { max-width: 32ch; }

.btn {
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: var(--on-primary); font-weight: 700; text-decoration: none;
  line-height: 1.2; text-align: center; padding-block: 8px;
}

.foot { padding: 28px var(--gutter) 24px; text-align: center; font-size: .75rem; color: var(--muted); }

/* ---------- table banner ---------- */
.table-banner {
  margin: 6px var(--gutter) 2px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  font-size: .875rem; color: var(--muted);
}
.table-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary);
  font-weight: 800; font-size: .9375rem;
}
[dir="rtl"] .table-pill { padding: 5px 10px 5px 12px; }
.table-banner.is-warning {
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--text);
  border-inline-start: 4px solid var(--accent);
}

/* ---------- add to order / quantity ---------- */
.qty { position: relative; z-index: 2; margin-top: 8px; }
.add-btn {
  width: 100%; min-height: var(--tap);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px solid var(--primary); border-radius: 999px;
  background: transparent; color: var(--primary-text); font-weight: 700;
}
.add-btn:hover { background: color-mix(in srgb, var(--primary) 12%, transparent); }
.stepper {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--tap); border-radius: 999px;
  background: var(--primary); color: var(--on-primary);
}
.step {
  width: var(--tap); height: var(--tap); flex: none;
  display: grid; place-items: center; border: 0; border-radius: 999px;
  background: transparent; color: inherit;
}
.step:hover { background: rgb(0 0 0 / .12); }
.step:disabled { opacity: .4; cursor: default; }
.step-n { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: center; }
.qty-big { margin-top: 6px; }
.qty-big .add-btn { background: var(--primary); color: var(--on-primary); min-height: 52px; font-size: 1.0625rem; }
.qty-big .stepper { min-height: 52px; max-width: 200px; }
.qty-big .step { height: 52px; width: 56px; }
.qty-big .step-n { font-size: 1.125rem; }

/* ---------- bottom bar: cart, then order status ---------- */
.bar-slot {
  position: fixed; z-index: 10; inset-inline: 0; bottom: 0;
  max-width: 720px; margin-inline: auto;
  padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.bar-slot[hidden] { display: none; }
.cart-btn {
  pointer-events: auto; width: 100%; min-height: 58px;
  display: flex; align-items: center; gap: 12px;
  padding-block: 6px; padding-inline: 8px 20px;
  border: 0; border-radius: 999px;
  background: var(--primary); color: var(--on-primary);
  font-weight: 800; font-size: 1.0625rem; text-align: start;
  box-shadow: 0 10px 28px -6px rgb(0 0 0 / .45);
}
.cart-count {
  min-width: 44px; height: 44px; padding: 0 8px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgb(0 0 0 / .18); font-variant-numeric: tabular-nums;
}
.cart-label { flex: 1; }
.cart-total { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-btn.is-track { padding-inline: 20px; background: var(--text); color: var(--bg); font-size: 1rem; }
.cart-status { font-size: .875rem; font-weight: 700; opacity: .8; white-space: nowrap; }

/* ---------- sheets ---------- */
dialog.sheet {
  width: 100%; max-width: 560px; max-height: 92dvh;
  margin: auto auto 0; padding: 0; border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface); color: var(--text);
  overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom);
}
dialog.sheet::backdrop { background: rgb(0 0 0 / .6); }
dialog.sheet[open] { animation: sheet-in .22s ease-out; }
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 640px) {
  dialog.sheet { margin: auto; border-radius: var(--radius); }
}
@media (prefers-reduced-motion: reduce) {
  dialog.sheet[open] { animation: none; }
  .sk { animation: none; }
}

.sheet-bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 8px 8px 12px; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
[dir="rtl"] .sheet-bar { padding: 8px 12px 8px 8px; }
.sheet-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; padding-inline: 4px; }
.back-btn {
  min-height: var(--tap); padding: 0 12px 0 6px; border: 0; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; color: var(--text); font-weight: 600;
}
.back-btn:hover { background: var(--surface-2); }

.dish-media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; max-height: 42dvh; width: 100%;
  background: var(--surface-2);
}
.dish-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) saturate(1.1); transform: scale(1.2); opacity: .7; }
/* Source photos are small, so show them at their natural size over a blurred fill. */
.dish-img { position: relative; height: 100%; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.dish-ph { min-height: 100%; }
.dish-body { padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.demo-badge {
  align-self: flex-start;
  font-size: .75rem; font-weight: 800; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 6px;
  background: var(--demo-bg); color: var(--demo-text);
}
[dir="rtl"] .demo-badge { letter-spacing: 0; font-size: .8125rem; }
.dish-title { font-family: var(--font-display); font-size: 1.625rem; line-height: 1.15; font-weight: 700; }
.dish-cat { font-size: .875rem; color: var(--muted); font-weight: 600; }
.dish-desc { font-size: 1rem; }
.dish-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.375rem; font-weight: 800; color: var(--primary-text); }
.dish-note {
  font-size: .8125rem; color: var(--muted);
  padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2);
}
.info-body { padding: 16px 20px 24px; display: grid; gap: 16px; }
.info-body ul { margin: 0; padding-inline-start: 1.1em; display: grid; gap: 10px; }
.btn-block { width: 100%; min-height: 54px; font-size: 1.0625rem; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- order review ---------- */
.order-body, .status-body { padding: 14px 20px 24px; display: grid; gap: 14px; }
.order-table {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--surface-2);
}
.order-lines { list-style: none; margin: 0; padding: 0; display: grid; }
.order-line {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  padding-block: 12px; border-bottom: 1px solid var(--border);
}
.order-line:first-child { padding-top: 4px; }
.ol-name { font-weight: 700; line-height: 1.25; }
.ol-price { font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.order-line .qty { margin: 0; width: 132px; }
.note-field { display: grid; gap: 6px; }
.note-field label { font-size: .875rem; font-weight: 700; }
.note-field textarea {
  width: 100%; resize: vertical; min-height: 64px; padding: 10px 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text);
}
.note-field textarea:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent); }
.order-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.order-demo { font-size: .8125rem; color: var(--muted); padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); }
.order-error {
  padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 600;
  background: color-mix(in srgb, #D93025 14%, var(--surface)); color: var(--text);
  border-inline-start: 4px solid #D93025;
}
.order-empty { color: var(--muted); }

/* ---------- order status ---------- */
.status-head { display: flex; align-items: center; gap: 14px; }
.status-mark {
  width: 56px; height: 56px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary);
}
.status-mark.is-off { background: var(--surface-2); color: var(--muted); }
.status-table { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; }
.status-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.status-steps li {
  counter-increment: step; position: relative;
  display: flex; align-items: center; gap: 12px;
  padding-block: 8px; color: var(--muted); font-weight: 600;
}
.status-steps li::before {
  content: counter(step); width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: .875rem; font-weight: 800;
  border: 2px solid var(--border); background: var(--surface);
}
.status-steps li.is-done { color: var(--text); }
.status-steps li.is-done::before { content: "✓"; border-color: var(--primary); color: var(--primary-text); }
.status-steps li.is-now { color: var(--text); font-weight: 800; }
.status-steps li.is-now::before { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.status-cancelled { font-weight: 800; color: #D93025; }
.status-now { font-size: 1rem; }
.status-auto { font-size: .8125rem; color: var(--muted); }

/* ---------- brand character ----------
   Each brand spends its boldness on one motif taken from its own logo;
   everything around it stays quiet. */

/* Kemal — warm and generous: dishes served on round plates */
[data-style="warm"] { --strip-h: clamp(132px, 38vw, 168px); }
[data-style="warm"] .brand-logo { height: 50px; mix-blend-mode: multiply; }
[data-style="warm"] .intro { grid-template-columns: 1fr; height: var(--strip-h); }
[data-style="warm"] .intro-text { padding-inline-end: calc(var(--strip-h) * 1.12 - 14px); }
[data-style="warm"] .intro-eyebrow { font-weight: 600; font-size: .875rem; opacity: 1; }
[data-style="warm"] .intro-title { font-weight: 800; font-size: clamp(1.25rem, 5.6vw, 1.625rem); line-height: 1.1; }
[data-style="warm"] .intro-img {
  position: absolute; top: 50%; inset-inline-end: -26px; translate: 0 -50%;
  width: calc(var(--strip-h) * 1.12); height: auto; aspect-ratio: 1;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 6px #FFF8EF, 0 16px 30px -8px rgb(90 40 0 / .6);
}
[data-style="warm"] .grid { gap: 14px; }
[data-style="warm"] .card {
  border: 0; border-radius: 22px; overflow: visible; text-align: center;
  box-shadow: 0 1px 0 var(--border), 0 14px 26px -18px rgb(120 60 0 / .45);
}
[data-style="warm"] .card-media { background: none; padding: 16px 20px 4px; }
[data-style="warm"] .card-img,
[data-style="warm"] .card-media .img-placeholder {
  aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 0 0 5px #FFFFFF, 0 0 0 6px var(--border), 0 10px 18px -8px rgb(90 40 0 / .5);
}
[data-style="warm"] .card-body { align-items: center; padding: 10px 12px 16px; }
[data-style="warm"] .card-title { font-size: 1.125rem; }
[data-style="warm"] .price { justify-content: center; color: var(--text); }
[data-style="warm"] .price bdi { background: var(--primary); color: var(--on-primary); padding: 0 12px; border-radius: 999px; }
[data-style="warm"] .section-title { font-weight: 800; font-size: 1.5rem; }
[data-style="warm"] .section-title::after {
  content: ""; display: block; width: 36px; height: 5px; margin-top: 2px;
  border-radius: 3px; background: var(--primary);
}
[data-style="warm"] .chip:not([aria-pressed="true"]) { background: var(--surface); }
[data-style="warm"] .card .qty { align-self: stretch; }

/* Nouakchott Night — evening lounge: the thin blue ring from the monogram */
[data-style="lounge"] .brand-logo { height: 52px; border-radius: 50%; }
[data-style="lounge"] .brand-name { font-weight: 600; font-size: 1.25rem; color: var(--primary); }
[data-style="lounge"] .brand-tagline { text-transform: uppercase; letter-spacing: .22em; font-size: .6875rem; color: #7FA3F5; }
[dir="rtl"][data-style="lounge"] .brand-tagline { letter-spacing: 0; font-size: .75rem; text-transform: none; }
[data-style="lounge"] .intro { grid-template-columns: 1fr; border: 1px solid var(--border); border-radius: 4px; }
[data-style="lounge"] .intro-img { position: absolute; inset-block: 0; inset-inline-end: 0; width: 56%; z-index: 0; }
[data-style="lounge"] .intro::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--intro-bg) 44%, rgb(10 27 56 / .55) 62%, rgb(10 27 56 / 0) 85%);
}
[dir="rtl"][data-style="lounge"] .intro::before { background: linear-gradient(-90deg, var(--intro-bg) 44%, rgb(10 27 56 / .55) 62%, rgb(10 27 56 / 0) 85%); }
[data-style="lounge"] .intro::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  width: 250px; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid #386FEB;
  top: 50%; translate: 0 -50%; inset-inline-start: -78px;
}
[data-style="lounge"] .intro-text { position: relative; z-index: 2; max-width: 66%; }
[data-style="lounge"] .intro-eyebrow { color: #7FA3F5; text-transform: uppercase; letter-spacing: .16em; font-size: .6875rem; font-weight: 500; }
[dir="rtl"][data-style="lounge"] .intro-eyebrow { letter-spacing: 0; text-transform: none; font-size: .8125rem; }
[data-style="lounge"] .intro-title { font-weight: 600; font-size: clamp(1.5rem, 7vw, 2rem); color: var(--primary); }
[data-style="lounge"] .demo-notice { background: transparent; color: var(--text); border: 1px solid var(--primary); border-inline-start-width: 6px; }
[data-style="lounge"] .demo-notice strong { color: var(--primary); }
[data-style="lounge"] .grid { gap: 24px 16px; }
[data-style="lounge"] .card { background: none; border: 0; border-radius: 0; overflow: visible; }
[data-style="lounge"] .card-media {
  margin: 5px; border-radius: 2px; overflow: hidden;
  outline: 1px solid rgb(56 111 235 / .6); outline-offset: 4px;
}
[data-style="lounge"] .card-body { padding: 14px 5px 0; }
[data-style="lounge"] .card-title { font-weight: 500; font-size: 1.1875rem; }
[data-style="lounge"] .price {
  color: var(--primary); font-weight: 600;
  margin-top: auto; padding-top: 8px; border-top: 1px solid rgb(255 129 116 / .28);
}
[data-style="lounge"] .card:has(.card-link:focus-visible) { outline-offset: 6px; }
[data-style="lounge"] .section-title { font-weight: 500; font-size: 1.625rem; color: var(--primary); display: flex; align-items: center; gap: 14px; }
[data-style="lounge"] .section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgb(56 111 235 / .8), transparent); }
[dir="rtl"][data-style="lounge"] .section-title::after { background: linear-gradient(-90deg, rgb(56 111 235 / .8), transparent); }
[data-style="lounge"] .chip { border-width: 1px; background: transparent; color: var(--text); }
[data-style="lounge"] .chip[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
[data-style="lounge"] .lang-switch { background: var(--surface); border: 1px solid var(--border); }
[data-style="lounge"] .search input { border-width: 1px; background: var(--surface); }
[data-style="lounge"] .cats { box-shadow: 0 1px 0 rgb(56 111 235 / .35); }
[data-style="lounge"] .dish-title { font-weight: 600; color: var(--primary); }
[data-style="lounge"] .add-btn { border-width: 1px; border-radius: 2px; }
[data-style="lounge"] .card .stepper { border-radius: 2px; }
[data-style="lounge"] .table-pill { background: transparent; color: var(--primary); border: 1px solid var(--primary); }

/* L'Endroit Parfait — luminous: the glowing arch of the neon sign */
[data-style="neon"] .brand-logo { height: 52px; border-radius: 8px; }
[data-style="neon"] .brand-name { font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: 1.0625rem; color: var(--primary); }
[dir="rtl"][data-style="neon"] .brand-name { text-transform: none; letter-spacing: 0; }
[data-style="neon"] .intro {
  margin-top: 10px; grid-template-columns: 1fr 44%;
  background: var(--intro-bg);
  border: 2px solid var(--primary);
  border-radius: 50% 50% 12px 12px / 46px 46px 12px 12px;
  box-shadow: 0 0 6px rgb(145 214 255 / .7), 0 0 22px rgb(145 214 255 / .35), inset 0 0 18px rgb(145 214 255 / .22);
}
[data-style="neon"] .intro-text { padding-top: 22px; }
[data-style="neon"] .intro-img { border-start-end-radius: 0; }
[data-style="neon"] .intro-eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
[dir="rtl"][data-style="neon"] .intro-eyebrow { text-transform: none; letter-spacing: 0; }
[data-style="neon"] .intro-title { font-weight: 800; color: var(--primary); text-shadow: 0 0 8px rgb(145 214 255 / .55), 0 0 22px rgb(145 214 255 / .3); }
[data-style="neon"] .card { background: var(--surface); border-color: var(--border); border-radius: 10px; }
[data-style="neon"] .card-title { font-weight: 700; font-size: 1rem; }
[data-style="neon"] .price { color: var(--primary); }
[data-style="neon"] .section-title { font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
[data-style="neon"] .section-title::before {
  content: ""; width: 4px; height: 1.1em; border-radius: 2px;
  background: var(--accent); box-shadow: 0 0 10px rgb(229 43 48 / .7);
}
[data-style="neon"] .chip:not([aria-pressed="true"]) { background: transparent; }
[data-style="neon"] .chip[aria-pressed="true"] { box-shadow: 0 0 14px rgb(145 214 255 / .45); }
[data-style="neon"] .stepper, [data-style="neon"] .cart-btn:not(.is-track) { box-shadow: 0 0 14px rgb(145 214 255 / .35); }
[data-style="neon"] .search input:focus-visible { box-shadow: 0 0 0 3px rgb(145 214 255 / .3), 0 0 18px rgb(145 214 255 / .25); }

/* ---------- neutral pages (index / not found / error) ---------- */
[data-style="neutral"] { font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans Arabic", sans-serif; }
.neutral-page { padding: 48px var(--gutter); display: grid; gap: 12px; max-width: 520px; margin-inline: auto; }
.neutral-page.centered { text-align: center; min-height: 80dvh; align-content: center; }
.neutral-page h1 { font-size: 1.625rem; }
.neutral-page h2 { font-size: 1.375rem; }
.neutral-page hr { width: 60px; border: 0; border-top: 2px solid var(--border); margin: 12px auto; }
.neutral-page .btn { justify-self: center; margin-top: 8px; }
.neutral-eyebrow { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.neutral-note { color: var(--muted); }
.demo-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.demo-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 4px 0; font-size: .875rem; }
.demo-links:empty { display: none; }
.demo-links a { color: inherit; font-weight: 600; }
.demo-list a {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  color: inherit; text-decoration: none; font-weight: 600;
}
.demo-list img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #0b0f18; }
.demo-list code { font-size: .8125rem; color: var(--muted); }

/* Menu opened without a table QR code */
.table-banner.is-hint { gap: 8px; flex-wrap: nowrap; color: var(--text); font-weight: 600; }
.table-banner.is-hint svg { flex: none; color: var(--primary-text); }
