/* Karavan — Silk Road theme. Colours follow the printed menu. */
:root {
  --night: #141211;
  --night-2: #1f1a16;
  --ink: #2a1d12;
  --ink-2: #4a3a2a;
  --muted: #7d6a55;
  --paper: #f3e8d6;
  --paper-2: #faf4ea;
  --paper-3: #efe2cb;
  --line: #dcc59d;
  --gold: #c9973a;
  --gold-d: #9c7224;
  --gold-l: #e3c587;
  --teal: #178a8a;
  --red: #b5502d;
  --veg: #3d7a4f;
  --special: #9a6a3a;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(42, 29, 18, .04), 0 8px 24px -12px rgba(42, 29, 18, .25);
  --header-h: 60px;
  --tabs-h: 74px;

  --ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='30' viewBox='0 0 72 30'%3E%3Cpath d='M0 15c9-11 27-11 36 0s27 11 36 0' fill='none' stroke='%237a5520' stroke-width='1.3'/%3E%3Cg transform='translate(18 15)'%3E%3Cpath d='M0-11c7 4 7 18 0 22-7-4-7-18 0-22z' fill='%23d4a03a' stroke='%237a5520'/%3E%3Cpath d='M0-5c3 2 3 8 0 10-3-2-3-8 0-10z' fill='%23f3e8d6'/%3E%3Ccircle r='2' fill='%23178a8a'/%3E%3C/g%3E%3Cg transform='translate(54 15) rotate(90)'%3E%3Cpath d='M0-7c4 3 4 11 0 14-4-3-4-11 0-14z' fill='%23178a8a' stroke='%237a5520' stroke-width='.8'/%3E%3C/g%3E%3C/svg%3E");
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23c9973a' stroke-width='.8' opacity='.13'%3E%3Cpath d='M48 20l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3Crect x='34' y='34' width='28' height='28' transform='rotate(45 48 48)'/%3E%3Cpath d='M0 0l12 12M96 0L84 12M0 96l12-12M96 96L84 84'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
.page-menu { scroll-padding-top: calc(var(--header-h) + var(--tabs-h) + 10px); }
html:has(.page-menu) { scroll-padding-top: calc(var(--header-h) + var(--tabs-h) + 10px); }
body { -webkit-tap-highlight-color: transparent; margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted); margin: .7rem 0 0; }
.kicker { font: 600 .74rem/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-d); margin-bottom: .8rem; }
.lead { font-size: 1.06rem; color: var(--ink-2); }
[hidden] { display: none !important; }

/* ---------- buttons & badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.4em; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 500; text-decoration: none; letter-spacing: .02em; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(180deg, #d7a748, var(--gold)); border-color: var(--gold); color: #1a130c; font-weight: 600; box-shadow: 0 6px 20px -8px rgba(201, 151, 58, .7); }
.btn-gold:hover { background: var(--gold-l); color: #1a130c; }
.btn-ghost { border-color: rgba(227, 197, 135, .6); color: var(--gold-l); }
.btn-ghost:hover { background: rgba(227, 197, 135, .12); color: var(--gold-l); }
.btn-ghost-dark { border-color: var(--line); }
.btn-sm { min-height: 36px; padding: .35em 1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.tag { display: inline-block; font: 600 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; padding: .42em .7em; border-radius: 4px; vertical-align: middle; }
.tag-new { background: var(--red); }
.tag-veg { background: var(--veg); }
.tag-special { background: var(--special); }
.halal { display: inline-flex; align-items: center; gap: .45em; border: 1.5px solid currentColor; border-radius: 999px; padding: .15em .8em; font: 600 .66rem/1.6 var(--sans); letter-spacing: .14em; color: var(--gold-d); vertical-align: middle; white-space: nowrap; }
.halal .ar { font: 700 .95rem/1 'Noto Naskh Arabic', 'Geeza Pro', serif; letter-spacing: 0; }

/* camel silhouette from the logo, recoloured with mask */
.camel-mark { display: inline-block; width: 46px; height: 23px; background: currentColor; -webkit-mask: url(/img/camels-mask.png) center / contain no-repeat; mask: url(/img/camels-mask.png) center / contain no-repeat; vertical-align: middle; flex: none; }
.camel-mark.sm { width: 34px; height: 17px; margin: -3px .5em 0 0; }
.camel-mark.big { width: 110px; height: 54px; color: var(--gold); margin-bottom: 1rem; }

.ornament-band { height: 30px; background: var(--ornament) repeat-x center / auto 30px, var(--paper-3); border-block: 1.5px solid #7a5520; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20, 18, 17, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--gold-l); border-bottom: 1px solid rgba(201, 151, 58, .25); }
.header-row { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-l); }
.brand .camel-mark { color: var(--gold); }
.brand-name { font: 700 1.2rem/1 var(--serif); letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; gap: 4px 18px; margin-left: auto; font-size: .92rem; }
.main-nav a { text-decoration: none; opacity: .85; }
.main-nav a:hover, .main-nav a[aria-current] { opacity: 1; color: #fff; }
.main-nav .btn { white-space: nowrap; opacity: 1; color: #1a130c; background: var(--gold); border-color: var(--gold); }
.lang { position: relative; flex: none; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 10px 0 9px; border: 1px solid rgba(201, 151, 58, .4); border-radius: 999px; cursor: pointer; font: 600 .78rem/1 var(--sans); letter-spacing: .08em; color: var(--gold-l); user-select: none; -webkit-user-select: none; transition: background .2s, border-color .2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: rgba(201, 151, 58, .15); border-color: var(--gold); }
.lang .globe { width: 17px; height: 17px; color: var(--gold); }
.lang .chev { width: 14px; height: 14px; opacity: .7; transition: transform .2s; }
.lang[open] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 176px; margin: 0; padding: 6px; list-style: none; background: #1f1a16; border: 1px solid rgba(201, 151, 58, .35); border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); animation: drop .16s ease-out; }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: #eadcc2; font-size: .92rem; }
.lang-menu a b { width: 24px; font: 600 .72rem var(--sans); letter-spacing: .08em; color: var(--gold); }
.lang-menu a:hover { background: rgba(201, 151, 58, .12); }
.lang-menu a[aria-current] { background: rgba(201, 151, 58, .2); color: #fff; }
.lang-menu a[aria-current]::after { content: '✓'; margin-left: auto; color: var(--gold); }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .main-nav > a:not(.btn) { font-size: .85rem; }
  .site-header .brand-name { display: none; }
  .main-nav { gap: 12px; }
}
@media (max-width: 380px) {
  .lang summary { padding: 0 8px; gap: 4px; }
  .lang .chev { display: none; }
  .main-nav .btn { padding: .35em .8em; }
}

/* ---------- night sections ---------- */
.night, .hero { background: var(--stars) center / 96px, radial-gradient(ellipse at 50% 30%, #2b241d 0%, var(--night) 65%); color: #eadcc2; }
.night h1, .night h2, .hero h1 { color: var(--gold-l); }
.night .kicker, .hero .kicker { color: var(--gold); }
.night .lead, .hero .lead { color: #cdbd9f; }
.night .halal, .hero .halal { color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 140px; text-align: center; }
.hero-glow { position: absolute; inset: -20% 10% auto; height: 70%; background: radial-gradient(closest-side, rgba(201, 151, 58, .18), transparent); pointer-events: none; }
.hero-inner { position: relative; }
.hero-logo { width: min(420px, 78vw); margin: 0 auto 28px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5)); animation: rise 1.2s ease-out both; }
.hero h1 { font-size: clamp(1.7rem, 5vw, 2.8rem); font-weight: 600; }
.hero .lead { max-width: 640px; margin: 0 auto 1.6rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 1.6rem; }
.dunes { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; }
.dunes svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.caravan-walk { position: absolute; bottom: 52px; left: 0; width: 120px; height: 58px; background: #0d0b0a; -webkit-mask: url(/img/camels-mask.png) center / contain no-repeat; mask: url(/img/camels-mask.png) center / contain no-repeat; animation: walk 46s linear infinite; z-index: 1; opacity: .9; }
@keyframes walk { from { transform: translateX(-140px); } to { transform: translateX(calc(100vw + 20px)); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- story & route map ---------- */
.paper { background: var(--paper); }
.paper-alt { background: var(--paper-2); }
.story { padding: 64px 0 40px; }
.story h2 { max-width: 720px; margin-inline: auto; }
.story-body { font-size: 1.05rem; color: var(--ink-2); max-width: 680px; margin: 0 auto 2rem; }
.route-map { margin: 0 0 1.5rem; }
.route-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding-bottom: 6px; }
.route-map svg { min-width: 760px; width: 100%; height: auto; display: block; overflow: visible; }
.route-line { fill: none; stroke: #a07842; stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .55; }
.route-draw { fill: none; stroke: #a07842; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; opacity: 0; }
.route-map.in .route-draw { animation: draw 2.4s ease-out forwards; }
@keyframes draw { 0% { opacity: .9; stroke-dashoffset: 1; } 80% { opacity: .9; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.stop { cursor: pointer; text-decoration: none; }
.stop .pin { fill: var(--c); stroke: var(--paper); stroke-width: 3; transition: r .2s; }
.stop .halo { fill: var(--c); opacity: 0; transition: opacity .2s; }
.stop:hover .halo, .stop:focus .halo { opacity: .18; }
.stop:hover .pin { r: 10; }
.stop-name { font: 700 15px var(--serif); fill: var(--ink); text-anchor: middle; }
.stop-ch { font: 500 11px var(--sans); fill: var(--c); text-anchor: middle; letter-spacing: .06em; text-transform: uppercase; }
.route-camel image { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.route-list { display: none; }
.route-map figcaption { text-align: center; font-size: .82rem; color: var(--muted); }
.legend { list-style: none; padding: 18px 20px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 24px; font-size: .88rem; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.legend li { display: flex; align-items: center; gap: .6em; }

/* ---------- featured ---------- */
.featured { padding: 64px 0; }
.section-head { margin-bottom: 2rem; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 2rem; }
.feat-card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fffaf2; border: 1.5px solid color-mix(in srgb, var(--c) 55%, transparent); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.feat-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(42, 29, 18, .45); }
.feat-media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: 14px; background: color-mix(in srgb, var(--c) 10%, var(--paper-2)); color: var(--c); display: grid; place-items: center; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; }
.feat-media svg { width: 42%; height: 42%; opacity: .55; }
.feat-stop { font: 600 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--c); }
.feat-card h3 { font-size: 1.35rem; color: var(--c); margin: .2em 0 .3em; }
.feat-card p { font-size: .9rem; color: var(--ink-2); flex: 1; }
.price { font: 700 1.15rem/1 var(--serif); color: var(--ink); white-space: nowrap; }
.facts { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.facts li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--paper); border: 1px dashed var(--line); font-size: .92rem; }
.fact-ico { width: 34px; height: 34px; flex: none; color: var(--gold-d); }
span.fact-ico { width: auto; font: 700 1.3rem/1 'Noto Naskh Arabic', 'Geeza Pro', serif; }

/* ---------- reserve band ---------- */
.reserve-band { padding: 72px 0; }

/* ---------- visit ---------- */
.visit { padding: 64px 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
.info { margin: 1.5rem 0 0; display: grid; gap: 18px; }
.info dt { display: flex; align-items: center; gap: 10px; font: 600 .74rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); }
.info dt svg { width: 20px; height: 20px; }
.info dd { margin: .25rem 0 0 30px; }
.info dd p { margin: 0; }
.hours { border-collapse: collapse; font-size: .92rem; }
.hours th { text-align: left; font-weight: 400; padding: 2px 18px 2px 0; color: var(--ink-2); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--paper-3); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.9); }
@media (max-width: 820px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #cdbd9f; padding-bottom: 22px; }
.footer-main { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px 56px; padding-top: 40px; padding-bottom: 32px; }
.footer-brand p { margin: .35rem 0 0; font-size: .86rem; color: #a8977b; }
.footer-brand p a { color: inherit; text-decoration: none; }
.footer-brand p a:hover { color: var(--gold-l); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .92rem; }
.footer-links a { text-decoration: none; color: var(--gold-l); }
.footer-links a:hover { color: var(--gold); }
.site-footer .halal { color: var(--gold); justify-self: end; }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); border-top: 1px solid rgba(205, 189, 159, .14); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; position: relative; padding-top: 17px; font-size: .78rem; color: #8d7c63; }

/* ---------- menu page ---------- */
.menu-hero { padding: 34px 0 30px; }
.menu-hero h1 { margin-bottom: .2em; }
.page-menu .menu-hero h1 { letter-spacing: .3em; font-weight: 500; text-transform: uppercase; }
.menu-note { font-size: .9rem; color: #cdbd9f; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: center; align-items: center; }

.route-tabs { position: sticky; top: var(--header-h); z-index: 40; background: rgba(250, 244, 234, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 6px 16px -14px rgba(42, 29, 18, .6); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.route-tabs::-webkit-scrollbar { display: none; }
.route-track { position: relative; display: flex; gap: 2px; width: max-content; min-width: min(100%, 1180px); padding: 26px 12px 8px; margin: 0 auto; }
/* dashed road from the first stop to the last; ends are set in site.js */
.route-track::before { content: ''; position: absolute; left: var(--line-l, 50px); width: var(--line-w, calc(100% - 100px)); top: 33px; border-top: 2px dashed #c4a676; }
.track-camel { position: absolute; top: 2px; left: 0; width: 34px; height: 20px; background: var(--ink-2); -webkit-mask: url(/img/camel-walk.png) center / contain no-repeat; mask: url(/img/camel-walk.png) center / contain no-repeat; transition: transform .45s cubic-bezier(.4, 1.3, .5, 1); pointer-events: none; }
.route-track a { position: relative; flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; min-width: 88px; padding: 0 8px; text-decoration: none; text-align: center; }
.route-track .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 2.5px solid var(--paper-2); box-shadow: 0 0 0 1.5px var(--c); margin-bottom: 6px; transition: transform .2s; }
.route-track b { font: 600 .8rem/1.2 var(--sans); white-space: nowrap; color: var(--ink-2); }
.route-track small { font-size: .62rem; color: var(--muted); white-space: nowrap; letter-spacing: .04em; }
.route-track a[aria-current] .dot { transform: scale(1.35); }
.route-track a[aria-current] b { color: var(--c); }

.menu-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding-top: 20px; padding-bottom: 4px; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; background: #fffaf2; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 46px; }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; background: none; outline: none; width: 100%; min-height: 44px; font-size: 16px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: .45em 1em; font-size: .84rem; cursor: pointer; min-height: 38px; }
.filters button[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.menu-main { padding-bottom: 48px; }
.chapter { padding: 34px 0 10px; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter-head { text-align: center; max-width: 720px; margin: 0 auto 22px; }
.stop-line { display: block; font: 500 .7rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.stop-line b { color: var(--c); }
.stop-line .camel-mark { color: #a8957c; }
.chapter h2 { color: var(--c); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35em; }
.chapter-story { font-style: italic; color: var(--ink-2); font-size: .95rem; margin: 0; }

.dish-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 14px; }
.dish { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; background: #fffaf2; border: 1.5px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: var(--radius); padding: 14px; scroll-margin-top: calc(var(--header-h) + var(--tabs-h) + 16px); }
.dish::before, .dish::after { content: ''; position: absolute; left: 62%; width: 30px; height: 10px; border: 1.5px solid color-mix(in srgb, var(--c) 45%, transparent); background: var(--paper); }
.dish::before { top: -1.5px; border-top: 0; border-radius: 0 0 10px 10px; }
.dish::after { bottom: -1.5px; border-bottom: 0; border-radius: 10px 10px 0 0; }
.dish.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 35%, transparent); } }
.dish-media { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 1.5px dashed color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 8%, var(--paper-2)); display: grid; place-items: center; color: var(--c); }
.dish-media img { width: 100%; height: 100%; object-fit: cover; }
.dish-media svg { width: 58%; height: 58%; opacity: .5; }
.dish-body h3 { font-size: 1.08rem; color: var(--c); text-transform: uppercase; letter-spacing: .03em; margin: 2px 0 0; }
.dish-sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; }
.dish-desc { font-size: .88rem; color: var(--ink-2); line-height: 1.5; margin: 0 0 .6rem; }
.dish-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.qty { font-size: .8rem; color: var(--gold-d); }
@media (max-width: 420px) {
  .dish { grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; }
  .dish-media { width: 72px; height: 72px; }
}

.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-top: 14px; align-items: start; }
.price-list { background: #fffaf2; border: 1.5px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: var(--radius); padding: 18px 18px 8px; }
.price-list h3 { color: var(--c); text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.price-list ul { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.pl-name { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: .92rem; }
.pl-name small { flex-basis: 100%; color: var(--muted); font-size: .78rem; }
.dish-sub-inline { color: var(--muted); font-size: .82rem; font-weight: 300; }
.dots { flex: 1; }
.price-list .price { font-size: 1rem; }

.no-results { text-align: center; padding: 40px 0; color: var(--muted); }
.menu-foot { text-align: center; padding-top: 34px; display: grid; gap: 18px; justify-items: center; font-size: .86rem; color: var(--muted); }
.to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--gold-l); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- reservation ---------- */
.reserve-main { padding: 36px 0 64px; }
.reserve-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-areas: "plan top" "plan rest"; grid-template-rows: auto 1fr; gap: 18px 28px; align-items: start; }
.plan-col { grid-area: plan; align-self: stretch; }
.form-top { grid-area: top; }
.form-rest { grid-area: rest; }
@media (max-width: 900px) { .reserve-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "plan" "rest"; gap: 14px; } }
.plan-card { background: #fffaf2; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 12px); }
@media (max-width: 900px) { .plan-card { position: static; } }
.plan { width: 100%; height: auto; display: block; color: #7a5520; user-select: none; -webkit-user-select: none; }
.floor { fill: #f6ecdb; stroke: #c9ae80; stroke-width: 2; }
.fx rect { fill: #e5d4b5; stroke: #b99a68; }
.fx-window rect { fill: #9fc7c7; stroke: none; }
.fx-entrance rect { fill: var(--gold); stroke: none; }
.fx text { font: 600 18px var(--sans); fill: #8a7356; text-anchor: middle; letter-spacing: .12em; text-transform: uppercase; }
.fx-window text, .fx-entrance text { font-size: 15px; }
.tbl { cursor: pointer; outline: none; }
.tbl .top { fill: #fff; stroke: #7a5520; stroke-width: 2.5; transition: fill .2s, stroke .2s; }
.tbl .seat { fill: #e9d6b2; stroke: #b99a68; stroke-width: 1.5; transition: fill .2s; }
.tbl .tapchan { fill: #b5502d; stroke: #7a2f18; }
.tbl .carpet { fill: none; stroke: #f1c76a; stroke-width: 3; stroke-dasharray: 8 5; pointer-events: none; }
.tbl .dastarkhan { fill: #fff3dc; stroke: #7a5520; stroke-width: 1.5; pointer-events: none; }
.tbl text { text-anchor: middle; pointer-events: none; }
.tbl-num { font: 700 30px var(--serif); fill: var(--ink); }
.tbl-seats { font: 500 15px var(--sans); fill: var(--muted); }
.tbl:hover .top, .tbl:focus-visible .top { stroke: var(--teal); stroke-width: 4; }
.tbl.is-chosen .top { fill: var(--teal); stroke: #0f5f5f; }
.tbl.is-chosen .seat { fill: #8fd0cc; }
.tbl.is-chosen text { fill: #fff; }
.tbl.is-chosen .dastarkhan { fill: #0f5f5f; }
.tbl.is-taken, .tbl.is-small { cursor: not-allowed; }
.tbl.is-taken .top { fill: #cfc3b0; stroke: #a99a83; }
.tbl.is-taken .seat { fill: #ddd3c3; stroke: #c4b7a2; }
.tbl.is-taken text { fill: #8f826e; }
.tbl.is-taken .tbl-num { text-decoration: line-through; }
.tbl.is-small { opacity: .38; }
.tbl.is-taken .tapchan { fill: #b9a690; }
.tbl.is-closed, .tbl.is-room { cursor: not-allowed; }
.tbl.is-closed { opacity: .45; filter: grayscale(1); }
.tbl.is-room { opacity: .45; }
/* private rooms: walls, a door gap and one long table for the party */
.tbl .room { fill: #fbf1df; stroke: #7a5520; stroke-width: 3; }
.tbl .door { stroke: #f6ecdb; stroke-width: 6; }
.tbl .room-table { fill: #fff; stroke: #7a5520; stroke-width: 2; pointer-events: none; }
.tbl-room .tbl-num { font-size: 26px; }
.tbl-room .tbl-seats { font-size: 13px; }
.tbl.is-chosen .room-table { fill: #0f5f5f; }
.tbl.is-taken .room-table { fill: #ddd3c3; }
.fx-stairs path { stroke: #b99a68; stroke-width: 2; }
.fx-stairs text { font-size: 15px; fill: #6d5a42; paint-order: stroke; stroke: #e5d4b5; stroke-width: 6px; }
.fx-facade rect { fill: #8a7356; stroke: none; }
.fx-facade text { font-size: 15px; }
.fx-link { cursor: pointer; outline: none; }
.fx-link:hover rect, .fx-link:focus-visible rect { stroke: var(--teal); stroke-width: 3; }
.fx-stairs .fx-to { font-size: 13px; letter-spacing: .04em; fill: var(--teal); }
.fx-parking rect { fill: #d9d4cb; stroke: #a59d90; }
.fx-parking path { stroke: #fff; stroke-width: 3; }
.fx-parking text { fill: #6f675c; }
.fx-deck rect { fill: #e9dcc2; stroke: #b99a68; stroke-dasharray: 8 6; }
.fx-path rect { fill: #ddd0b8; stroke: none; }
.fx-path path { stroke: #c4b08c; stroke-width: 3; stroke-dasharray: 10 8; }
.floor-outside { fill: #e7efd9; stroke: #9db07e; }
/* area tabs above the plan: floor 0 / floor 1 / outside, with free tables for the party */
.area-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin-bottom: 10px; background: var(--paper-3); border-radius: 12px; }
.area-tab { display: grid; gap: 1px; justify-items: center; padding: 8px 4px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); cursor: pointer; min-width: 0; }
.area-tab b { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.area-tab small { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.area-tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(42, 29, 18, .15); }
.area-tab.none-free small { color: var(--red); }
.area-tab.has-chosen b::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--teal); vertical-align: 2px; }
.area-note { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: #fff3dc; color: var(--ink-2); font-size: .85rem; }
.plan-legend .lg-room { opacity: .45; border-width: 3px; }
.plan-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 6px 2px; margin: 0; font-size: .8rem; color: var(--ink-2); }
.plan-legend li { display: flex; align-items: center; gap: 6px; }
.plan-legend i { width: 14px; height: 14px; border-radius: 4px; border: 2px solid #7a5520; background: #fff; }
.plan-legend .lg-chosen { background: var(--teal); border-color: #0f5f5f; }
.plan-legend .lg-taken { background: #cfc3b0; border-color: #a99a83; }
.plan-legend .lg-small { opacity: .38; }

.form-col { display: grid; gap: 14px; background: #fffaf2; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.form-col label { display: grid; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.form-col input:not([type=checkbox]), .form-col select, .form-col textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; }
.form-col textarea { resize: vertical; }
/* iOS Safari gives date inputs an intrinsic width that ignores width:100% and spills out of the card. */
.form-col input[type=date] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; }
.form-col input[type=date]::-webkit-date-and-time-value { text-align: left; }
.form-col label, .row3 > * { min-width: 0; }
.form-col input:focus, .form-col select:focus, .form-col textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 151, 58, .2); }
.row3 { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 10px; }
@media (max-width: 420px) { .row3 { grid-template-columns: 1fr 1fr; } .row3 label:first-child { grid-column: 1 / -1; } }
.table-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1.5px dashed var(--line); }
.table-pick .lbl { font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.table-pick .chosen { font-weight: 600; }
.table-pick.has-table { border-style: solid; border-color: var(--teal); background: #e7f3f1; }
.table-pick.has-table .chosen { color: #0f5f5f; }
.day-msg { margin: 0; color: var(--red); font-size: .88rem; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fbe6df; color: #8a2f14; font-size: .9rem; }
.reserve-ok { max-width: 620px; margin: 0 auto; text-align: center; padding: 40px 20px; background: #fffaf2; border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ok-summary { font-weight: 600; font-size: 1.05rem; }

/* ---------- QR print cards ---------- */
.page-qr { background: #fff; }
.qr-help { padding: 12px 16px; background: var(--paper); margin: 0; font-size: .9rem; }
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; max-width: 210mm; margin: 0 auto; }
.qr-card { height: 99mm; padding: 8mm; border: 1px dashed #ccc; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--night); color: var(--gold-l); -webkit-print-color-adjust: exact; print-color-adjust: exact; position: relative; }
.qr-logo { width: 34mm; margin-bottom: 4mm; }
.qr-code { width: 38mm; height: 38mm; padding: 3mm; background: var(--paper); border-radius: 3mm; }
.qr-code svg { width: 100%; height: 100%; display: block; }
.qr-scan { font: 600 11pt/1.3 var(--serif); margin: 4mm 0 1mm; }
.qr-scan span { font: 400 8pt var(--sans); color: #cdbd9f; }
.qr-langs { font: 600 7pt var(--sans); letter-spacing: .2em; color: var(--gold); margin: 0; }
.qr-order { font-size: 6.5pt; color: #a9987c; margin: 1.5mm 0 0; }
.qr-table { position: absolute; top: 5mm; right: 6mm; font: 700 10pt var(--serif); margin: 0; color: var(--gold); }
@media print {
  @page { size: A4; margin: 0; }
  .no-print { display: none; }
  .qr-card { border-color: #555; break-inside: avoid; }
}


/* ---------- phones ---------- */
@media (max-width: 700px) {
  :root { --header-h: 56px; --tabs-h: 66px; }
  h2 { font-size: 1.55rem; }
  .lead { font-size: .98rem; }

  /* home */
  .hero { padding: 28px 0 112px; }
  .hero-logo { width: min(300px, 74vw); margin-bottom: 18px; }
  .hero h1 { font-size: 1.6rem; }
  .cta-row { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
  .story { padding: 44px 0 28px; }
  .story h2 { font-size: 1.45rem; }
  .story-body { font-size: .96rem; margin-bottom: 1.4rem; }

  .route-scroll { display: none; }
  .route-map figcaption { order: -1; margin-bottom: 10px; }
  .route-map { display: flex; flex-direction: column; }
  .route-list { display: block; list-style: none; margin: 0; padding: 0 0 0 6px; position: relative; }
  .route-list::before { content: ''; position: absolute; left: 17px; top: 22px; bottom: 22px; border-left: 2.5px dashed #c4a676; }
  .route-list a { display: flex; align-items: center; gap: 14px; padding: 8px 4px; min-height: 52px; text-decoration: none; }
  .rl-dot { position: relative; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--c); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--c); }
  .rl-text { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
  .rl-text b { font: 700 1.02rem var(--serif); }
  .rl-text small { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
  .rl-ch { font: 600 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--c); text-align: right; }
  .rl-ch span { font-size: 1.1rem; vertical-align: -1px; }
  .route-list li:first-child .rl-dot::after { content: ''; position: absolute; left: -14px; top: -34px; width: 44px; height: 30px; background: url(/img/camel-walk.png) center / contain no-repeat; }
  .route-list li:first-child a { margin-top: 26px; }
  .legend { grid-template-columns: 1fr; padding: 14px 16px; }

  .featured { padding: 44px 0; }
  .featured-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px 1.6rem; padding: 4px 16px 14px; scrollbar-width: none; }
  .featured-grid::-webkit-scrollbar { display: none; }
  .feat-card { scroll-snap-align: start; padding: 14px; }
  .feat-media { aspect-ratio: 16 / 10; margin-bottom: 10px; }
  .feat-card h3 { font-size: 1.2rem; }
  .facts { margin-top: 1.8rem; }
  .reserve-band, .visit { padding: 48px 0; }
  .map-frame { aspect-ratio: 1 / 1; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; padding-bottom: 24px; }
  .site-footer .halal { justify-self: start; }
  .footer-bottom { flex-direction: column; }

  /* menu: dishes on the first screen after scanning the QR */
  .menu-hero { padding: 16px 0 14px; }
  .page-menu .menu-hero .kicker { font-size: .62rem; margin-bottom: .3rem; }
  .page-menu .menu-hero h1 { font-size: 1.6rem; margin-bottom: .25em; }
  .menu-note { font-size: .78rem; gap: 6px 10px; }
  .route-track { padding: 22px 8px 6px; }
  .route-track::before { top: 29px; }
  .route-track a { min-width: 78px; padding: 0 6px; }
  .route-track b { font-size: .76rem; }
  .menu-tools { padding-top: 14px; gap: 10px; }
  .search { flex-basis: 100%; min-height: 44px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .chapter { padding: 26px 0 6px; }
  .chapter-head { margin-bottom: 14px; }
  .chapter h2 { font-size: 1.45rem; }
  .chapter-story { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
  .chapter-story.open { -webkit-line-clamp: unset; display: block; }
  .dish-list { gap: 10px; }
  .dish { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .dish-media { width: 84px; height: 84px; }
  .dish-media.is-empty { width: 52px; height: 52px; margin: 2px 0 0 4px; }
  .dish:has(.dish-media.is-empty) { grid-template-columns: 56px minmax(0, 1fr); }
  .dish-body h3 { font-size: 1rem; }
  .dish-desc { font-size: .85rem; margin-bottom: .45rem; }
  .price-list { padding: 14px 14px 4px; }
  .menu-foot { padding-top: 24px; }

  /* reservation */
  .reserve-main { padding: 18px 0 44px; }
  .plan-card { margin: 0 -10px; padding: 8px; border-radius: 12px; }
  .form-col { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caravan-walk, .hero-logo, .route-map.in .route-draw { animation: none; }
  .track-camel { transition: none; }
}
