[hidden] { display: none !important; }
:root {
  --bg: #12100e; --bg2: #1a1714; --card: #211d19; --line: #342d25;
  --gold: #d4a656; --gold2: #f0c675; --saffron: #e89a2c; --text: #f4ece0; --muted: #a8998a; --ok: #6fcf97; --bad: #ef7d6b;
  --r: 18px; --head: "El Messiri", serif; --body: "IBM Plex Sans Arabic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.25; }
.muted { color: var(--muted); }
.eyebrow { color: var(--gold); font-weight: 600; letter-spacing: .5px; margin: 0 0 6px; font-size: 13px; }

.demo-bar { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 7px 14px; background: linear-gradient(90deg, #2a1f10, #3a2a12, #2a1f10); font-size: 13px; color: #f3dcae; text-align: center; }
.demo-cta { background: var(--gold); color: #1b1408; padding: 3px 12px; border-radius: 999px; font-weight: 600; }

.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 48px); background: rgba(18, 16, 14, .82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(212, 166, 86, .12); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 12px; }
.brand span { display: grid; line-height: 1.1; }
.brand b { font-family: var(--head); font-size: 22px; color: var(--gold2); }
.brand small { font-size: 10px; letter-spacing: 4px; color: var(--muted); }
.nav { display: flex; gap: 26px; font-weight: 500; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--gold2); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; }
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--gold2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn .badge { position: absolute; top: -4px; inset-inline-start: -4px; min-width: 21px; height: 21px; border-radius: 999px; background: var(--saffron); color: #1b1408; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.18); } }
.track-btn { border: 1px solid var(--gold); background: transparent; color: var(--gold2); border-radius: 999px; padding: 8px 14px; font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 26px; font-weight: 600; border: 1px solid transparent; transition: transform .15s, background .2s; }
.btn:active { transform: scale(.97); }
.btn.gold { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #1b1408; box-shadow: 0 8px 30px rgba(212, 166, 86, .25); }
.btn.ghost { border-color: rgba(244, 236, 224, .35); color: var(--text); background: rgba(0, 0, 0, .25); backdrop-filter: blur(6px); }
.btn.wide { width: 100%; }

.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: slowzoom 18s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 4%, rgba(18,16,14,.55) 45%, rgba(18,16,14,.15)), linear-gradient(270deg, rgba(18,16,14,.85), transparent 65%); }
.hero-body { position: relative; padding: 0 clamp(18px, 6vw, 80px) clamp(40px, 8vh, 80px); max-width: 720px; animation: rise .9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero h1 { font-size: clamp(38px, 7vw, 72px); }
.hero h1 span { color: var(--gold2); }
.lead { font-size: clamp(15px, 2vw, 18px); color: #e6dccd; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 26px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts li { background: rgba(26, 23, 20, .7); border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; display: grid; backdrop-filter: blur(6px); }
.hero-facts b { font-family: var(--head); font-size: 20px; color: var(--gold2); }
.hero-facts span { font-size: 12px; color: var(--muted); }
#openNow.closed b { color: var(--bad); }

section { padding: clamp(56px, 9vw, 110px) clamp(16px, 5vw, 64px); }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(28px, 4.5vw, 44px); }

.menu-tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 0 auto 26px; max-width: 1180px; position: sticky; top: 70px; z-index: 5; background: var(--bg); padding: 8px 0; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { white-space: nowrap; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 16px; color: var(--muted); }
.tab.active { background: var(--gold); border-color: var(--gold); color: #1b1408; font-weight: 600; }
.search { position: relative; flex: 0 1 280px; }
.search svg { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search input { padding-inline-start: 38px; border-radius: 999px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; max-width: 1180px; margin: 0 auto; }
.dish { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s; animation: fade .45s both; }
.dish:hover { transform: translateY(-4px); border-color: rgba(212, 166, 86, .45); }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
.dish .pic { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #0d0b09; }
.dish .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dish:hover .pic img { transform: scale(1.06); }
.dish .tags { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: rgba(18, 16, 14, .85); color: var(--gold2); font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(212,166,86,.35); }
.dish .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dish h3 { font-size: 19px; }
.dish p { margin: 0; color: var(--muted); font-size: 13.5px; flex: 1; }
.dish .dish-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price { font-family: var(--head); font-size: 20px; color: var(--gold2); }
.add { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--gold); color: #1b1408; font-size: 24px; line-height: 1; display: grid; place-items: center; }
.dish.soldout { opacity: .55; }
.dish.soldout .add { background: var(--line); color: var(--muted); cursor: not-allowed; }
.empty { text-align: center; color: var(--muted); grid-column: 1 / -1; padding: 30px; }

.reserve { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; max-width: 1180px; margin: 0 auto; padding-top: 0; }
.reserve-media { border-radius: var(--r) 0 0 var(--r); overflow: hidden; min-height: 420px; }
.reserve-media img { width: 100%; height: 100%; object-fit: cover; }
.reserve-card { background: var(--card); border: 1px solid var(--line); border-radius: 0 var(--r) var(--r) 0; padding: clamp(20px, 3vw, 36px); display: grid; gap: 14px; }
[dir=rtl] .reserve-media { border-radius: 0 var(--r) var(--r) 0; }
[dir=rtl] .reserve-card { border-radius: var(--r) 0 0 var(--r); }
.reserve-card h2 { font-size: 34px; margin-bottom: 4px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { font-size: 13px; color: var(--muted); padding: 0; margin-bottom: 6px; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); padding: 4px; }
.stepper button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--card); font-size: 20px; }
.stepper output { font-family: var(--head); font-size: 20px; color: var(--text); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--bg2); border-radius: 999px; padding: 7px 16px; color: var(--muted); }
.chip.active { border-color: var(--gold); color: var(--gold2); background: rgba(212, 166, 86, .1); }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { border: 1px solid var(--line); background: var(--bg2); border-radius: 12px; padding: 8px 4px; display: grid; text-align: center; }
.slot b { font-size: 15px; }
.slot small { font-size: 11px; color: var(--muted); }
.slot.active { border-color: var(--gold); background: rgba(212, 166, 86, .14); }
.slot.full { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.slot.few small { color: var(--saffron); }
.form-error { color: var(--bad); margin: 0; font-size: 13px; }

.story { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; max-width: 1080px; margin: 0 auto; }
.story img { border-radius: var(--r); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.story h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
.story p { color: #ddd2c3; }
.stats { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 28px; }
.stats b { display: block; font-family: var(--head); font-size: 32px; color: var(--gold2); }
.stats span { color: var(--muted); font-size: 13px; }

.reviews { background: var(--bg2); }
.review-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1180px; margin: 0 auto; }
.review-row figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
blockquote { margin: 0 0 12px; font-size: 16px; }
figcaption { color: var(--gold); font-size: 13px; }

.branch-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1180px; margin: 0 auto; }
.branch-row article { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.branch-row h3 { color: var(--gold2); font-size: 22px; margin-bottom: 6px; }
.branch-row p { margin: 0; }

.foot { border-top: 1px solid var(--line); padding: 34px 20px 110px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.made a { color: var(--gold2); text-decoration: underline; }

.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 40; backdrop-filter: blur(3px); }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: var(--bg2); z-index: 50; display: flex; flex-direction: column; border-inline-start: 1px solid var(--line); animation: slide .3s ease-out; }
@keyframes slide { from { transform: translateX(-100%); } }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 24px; }
.x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 18px; }
.drawer .scroll { flex: 1; overflow: auto; padding: 16px 20px; display: grid; align-content: start; gap: 14px; }
.line { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; }
.line img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.line h4 { margin: 0; font-size: 14.5px; }
.line small { color: var(--muted); display: block; font-size: 12px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); }
.sum { display: grid; gap: 6px; padding: 14px 20px; border-top: 1px solid var(--line); }
.sum div { display: flex; justify-content: space-between; }
.sum .total { font-family: var(--head); font-size: 22px; color: var(--gold2); }
.sum .free { color: var(--ok); font-size: 12.5px; }
.promo { display: flex; gap: 8px; }
.promo button { border: 1px solid var(--gold); background: transparent; color: var(--gold2); border-radius: 12px; padding: 0 16px; }
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay .chip { text-align: center; padding: 9px 4px; font-size: 13px; }
.drawer .actions { padding: 14px 20px 20px; border-top: 1px solid var(--line); }

.sheet { position: fixed; z-index: 50; inset-inline: 0; bottom: 0; margin: auto; max-width: 520px; max-height: 92vh; overflow: auto; background: var(--bg2); border-radius: 24px 24px 0 0; animation: up .3s ease-out; }
@media (min-width: 720px) { .sheet { top: 0; bottom: 0; height: fit-content; border-radius: 24px; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.sheet .in { padding: 18px 20px 22px; display: grid; gap: 14px; }
.sheet h3 { font-size: 26px; }
.opt h5 { margin: 0 0 8px; font-size: 14px; }
.opt .chips .chip small { color: var(--gold2); margin-inline-start: 4px; }
.sheet .bar { display: flex; gap: 12px; align-items: center; }
.sheet .bar .btn { flex: 1; }

.track { display: grid; gap: 18px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { position: relative; padding: 0 34px 22px 0; color: var(--muted); }
.steps li::before { content: ""; position: absolute; right: 7px; top: 6px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg2); }
.steps li::after { content: ""; position: absolute; right: 13px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li.done { color: var(--text); }
.steps li.done::before { background: var(--gold); border-color: var(--gold); }
.steps li.now::before { box-shadow: 0 0 0 6px rgba(212,166,86,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(212,166,86,.05); } }
.steps time { display: block; font-size: 12px; color: var(--muted); }
.code { font-family: var(--head); font-size: 34px; color: var(--gold2); letter-spacing: 2px; }
.success { text-align: center; display: grid; gap: 10px; justify-items: center; }
.success .ring { width: 76px; height: 76px; border-radius: 50%; background: rgba(111,207,151,.12); display: grid; place-items: center; font-size: 38px; color: var(--ok); animation: pop .5s; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

.mobile-cart { display: none; }
.toast { position: fixed; bottom: 92px; left: 50%; transform: translateX(-50%); background: var(--gold2); color: #1b1408; padding: 10px 18px; border-radius: 999px; font-weight: 600; z-index: 70; box-shadow: 0 10px 30px rgba(0,0,0,.4); }

@media (max-width: 860px) {
  .nav { display: none; }
  .reserve, .story { grid-template-columns: 1fr; }
  .reserve-media { min-height: 220px; border-radius: var(--r) var(--r) 0 0 !important; }
  .reserve-card { border-radius: 0 0 var(--r) var(--r) !important; }
  .review-row, .branch-row { grid-template-columns: 1fr; }
  .story img { max-height: 420px; }
  .slots { grid-template-columns: repeat(4, 1fr); }
  .mobile-cart { display: block; position: fixed; bottom: 0; inset-inline: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); z-index: 35; background: linear-gradient(0deg, var(--bg) 60%, transparent); }
  .mobile-cart[hidden] { display: none; }
  .mobile-cart button { width: 100%; border: 0; border-radius: 16px; padding: 14px 18px; background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #1b1408; display: flex; gap: 8px; align-items: center; font-weight: 600; }
  .mobile-cart em { margin-inline-start: auto; font-style: normal; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dish h3 { font-size: 15.5px; }
  .dish p { display: none; }
  .dish .body { padding: 10px 12px 12px; }
  .price { font-size: 17px; }
  .add { width: 36px; height: 36px; font-size: 20px; }
  .menu-tools { top: 66px; }
  .search { flex: 1 1 100%; order: -1; }
  .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
