/* ============================================================
   الثيم الذهبي/الأسود — المنقذ للتوصيل
   ============================================================ */

:root {
  --gold-100: #fff3cc;
  --gold-200: #ffe38f;
  --gold-300: #f6cf5c;
  --gold-400: #efc23a;
  --gold-500: #e3b127;
  --gold-600: #c9961a;
  --gold-700: #9e7212;
  --gold-800: #6f4e0a;

  --bg: #070708;
  --bg-2: #0d0d10;
  --card: #131317;
  --card-2: #1a1a20;
  --line: #26262d;
  --line-2: #34343d;

  --txt: #f5f1e8;
  --muted: #a39e93;
  --muted-2: #6f6a60;

  --ok: #3ec26a;
  --warn: #f0a500;
  --bad: #e5484d;
  --info: #4fa3ff;
  --wa: #25d366;

  --gold-grad: linear-gradient(135deg, #f7dd8f 0%, #e8b426 45%, #b8860b 100%);
  --gold-grad-h: linear-gradient(135deg, #ffe9a8 0%, #f0c236 45%, #c9961a 100%);
  --gold-text: linear-gradient(180deg, #ffe9a8, #e3b127 55%, #b8860b);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md: 0 10px 34px rgba(0, 0, 0, .5);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .65);
  --glow: 0 0 0 1px rgba(227, 177, 39, .25), 0 10px 40px rgba(227, 177, 39, .18);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1040px;

  --font: "Cairo", "Tajawal", "Segoe UI", system-ui, sans-serif;
  --font-display: "El Messiri", "Cairo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.intro-open { overflow: hidden; height: 100vh; }

body {
  font-family: var(--font);
  background:
    radial-gradient(900px 500px at 100% -10%, rgba(227, 177, 39, .10), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(227, 177, 39, .06), transparent 55%),
    var(--bg);
  color: var(--txt);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* نص ذهبي متدرّج */
.gold-text {
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ============================================================
   شاشة الافتتاح
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; overflow: hidden;
  background: #050505;
  transition: opacity .8s ease, transform .8s cubic-bezier(.6,.05,.2,1), filter .8s ease;
}
.intro.leaving { opacity: 0; transform: scale(1.06); filter: blur(6px); pointer-events: none; }
.intro-bg {
  position: absolute; inset: -4%; z-index: 0;
  background: url("hero.jpg") center 30% / cover no-repeat;
  animation: introZoom 14s ease-in-out infinite alternate;
  filter: saturate(1.05);
}
@keyframes introZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.intro-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(0,0,0,.15), rgba(0,0,0,.75) 90%),
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.25) 40%, rgba(0,0,0,.9));
}
.intro-content { position: relative; z-index: 3; text-align: center; padding: 24px; max-width: 640px; }
.intro-logo {
  width: min(78vw, 420px); margin: 0 auto 18px;
  filter: drop-shadow(0 12px 40px rgba(227,177,39,.35));
  opacity: 0; animation: introPop 1s .1s cubic-bezier(.2,.8,.2,1.05) forwards;
}
.intro-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-grad); color: #1a1200;
  padding: 8px 22px; border-radius: 999px; font-weight: 900; font-size: 17px;
  box-shadow: 0 10px 30px rgba(227,177,39,.35);
  opacity: 0; animation: introUp .8s .5s ease forwards;
}
.intro-tag {
  margin-top: 14px; font-family: var(--font-display);
  font-size: clamp(22px, 5vw, 32px); font-weight: 700; color: #fff;
  text-shadow: 0 6px 30px rgba(0,0,0,.6);
  opacity: 0; animation: introUp .9s .7s ease forwards;
}
.intro-btn {
  position: relative; overflow: hidden; margin-top: 28px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 40px; border: 0; border-radius: 999px;
  background: var(--gold-grad); color: #1a1200;
  font-weight: 900; font-size: 18px;
  box-shadow: 0 16px 40px rgba(227,177,39,.4);
  opacity: 0; animation: introUp .9s 1s cubic-bezier(.2,.8,.2,1.1) forwards, glowPulse 2.6s 2s ease-in-out infinite;
  transition: transform .25s, box-shadow .25s;
}
.intro-btn:hover { transform: translateY(-3px) scale(1.03); background: var(--gold-grad-h); }
.intro-btn .arrow { font-size: 22px; transition: transform .25s; }
.intro-btn:hover .arrow { transform: translateX(-6px); }
.intro-btn .shine {
  position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg); animation: shine 3.2s 2.4s ease-in-out infinite;
}
@keyframes shine { 0% { right: -60%; } 55%,100% { right: 130%; } }
@keyframes glowPulse {
  0%,100% { box-shadow: 0 16px 40px rgba(227,177,39,.4); }
  50% { box-shadow: 0 18px 56px rgba(227,177,39,.65); }
}
.intro-hint {
  margin-top: 26px; font-size: 14px; color: rgba(255,255,255,.8);
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0; animation: introUp 1s 1.3s ease forwards;
}
.intro-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-300); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
@keyframes introPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@keyframes introUp  { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.site { opacity: 1; }
body.entering .site { animation: siteIn .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes siteIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============================================================
   شريط التنقل العلوي
   ============================================================ */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,7,8,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topnav-inner { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px; object-fit: cover; flex: none;
  background: #000; border: 1px solid var(--line-2);
  box-shadow: 0 6px 18px rgba(227,177,39,.18);
}
.brand-txt { display: grid; line-height: 1.2; min-width: 0; }
.brand-txt b {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.brand-txt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topnav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(62,194,106,.12); border: 1px solid rgba(62,194,106,.35); color: #7fe0a0;
  padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap;
}
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(62,194,106,.2); animation: blink 2s infinite; }
.status-pill.closed { background: rgba(229,72,77,.12); border-color: rgba(229,72,77,.35); color: #ff9a9e; }
.status-pill.closed i { background: var(--bad); box-shadow: 0 0 0 3px rgba(229,72,77,.2); animation: none; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line-2); color: var(--gold-300); font-size: 18px;
  transition: .18s;
}
.icon-btn:hover { border-color: var(--gold-500); transform: translateY(-1px); }
.icon-btn.wa { color: var(--wa); }

.closed-bar {
  background: linear-gradient(90deg, #4a1010, #2b0d0d);
  color: #ffd2d2; text-align: center; font-size: 13.5px; font-weight: 700;
  padding: 9px 14px; border-bottom: 1px solid rgba(229,72,77,.35);
}

/* ============================================================
   الرئيسية — الهيرو
   ============================================================ */
.view { padding-bottom: 40px; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 320px at 85% 20%, rgba(227,177,39,.18), transparent 60%),
    radial-gradient(500px 300px at 10% 100%, rgba(227,177,39,.08), transparent 60%),
    linear-gradient(180deg, #0b0b0d, #070708);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center;
  padding-top: 36px; padding-bottom: 36px;
}
.hero-kicker {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .5px;
  color: var(--gold-300); background: rgba(227,177,39,.1); border: 1px solid rgba(227,177,39,.3);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.hero-copy h1 {
  font-family: var(--font-display); font-size: clamp(30px, 5.4vw, 50px); font-weight: 700; line-height: 1.2;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy p { color: var(--muted); font-size: clamp(14px, 2.4vw, 17px); margin-top: 10px; max-width: 540px; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line-2); color: var(--txt);
  padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.hero-art {
  width: 100%; max-height: 360px; object-fit: cover; object-position: center 25%;
  border-radius: 24px; border: 1px solid var(--line-2);
  box-shadow: var(--shadow-md), 0 0 0 6px rgba(227,177,39,.06);
  -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent);
  mask-image: linear-gradient(180deg, #000 75%, transparent);
}

/* ============================================================
   البحث الشامل
   ============================================================ */
.search-card {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 16px; padding: 12px 16px; margin-top: -24px;
  box-shadow: var(--shadow-md);
  transition: border-color .2s, box-shadow .2s;
}
.search-card:focus-within { border-color: var(--gold-500); box-shadow: var(--glow); }
.search-card .ico { color: var(--gold-400); font-size: 18px; }
.search-card input {
  flex: 1; border: 0; background: transparent; outline: none; color: var(--txt);
  font-size: 16px; min-width: 0;
}
.search-card input::placeholder { color: var(--muted-2); }
.search-clear { border: 0; background: var(--card-2); color: var(--muted); width: 30px; height: 30px; border-radius: 9px; font-weight: 800; }
.search-results { margin-top: 12px; display: grid; gap: 10px; }
.sr-group { font-size: 13px; font-weight: 800; color: var(--gold-300); margin: 6px 4px 0; }
.sr-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px;
  transition: .18s; cursor: pointer;
}
.sr-row:hover { border-color: var(--gold-600); transform: translateY(-1px); }
.sr-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--card-2); overflow: hidden; }
.sr-ico img { width: 100%; height: 100%; object-fit: cover; }
.sr-body { flex: 1; min-width: 0; }
.sr-name { font-weight: 800; font-size: 15px; }
.sr-sub { font-size: 12px; color: var(--muted); }
.sr-price { font-weight: 900; color: var(--gold-300); white-space: nowrap; }

/* ============================================================
   الكتل العامة
   ============================================================ */
.block { margin-top: 34px; }
.block-head { margin-bottom: 16px; }
.block-head h2 { font-family: var(--font-display); font-size: clamp(22px, 4vw, 28px); font-weight: 700; }
.block-head p { color: var(--muted); font-size: 14px; }

/* الأقسام */
.sections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sec-card {
  --c: var(--gold-500);
  position: relative; overflow: hidden; text-align: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 20px 18px; min-height: 150px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s, border-color .22s;
  color: var(--txt);
}
.sec-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(220px 120px at 100% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.sec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); }
.sc-ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 28px;
  background: color-mix(in srgb, var(--c) 16%, var(--card-2)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  overflow: hidden;
}
.sc-ico img { width: 100%; height: 100%; object-fit: cover; }
.sc-name { font-weight: 900; font-size: 17px; margin-top: 6px; }
.sc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.sc-count { margin-top: auto; font-size: 12px; font-weight: 800; color: var(--gold-300); }

/* اطلب أي شيء */
.custom-card {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: start;
  background: linear-gradient(135deg, rgba(227,177,39,.16), rgba(227,177,39,.04));
  border: 1px solid rgba(227,177,39,.4); border-radius: 20px; padding: 18px 20px;
  color: var(--txt); transition: .22s;
}
.custom-card:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.cc-ico { width: 58px; height: 58px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 30px; background: var(--gold-grad); }
.cc-txt { flex: 1; display: grid; gap: 2px; }
.cc-txt b { font-size: 17px; }
.cc-txt span { font-size: 13px; color: var(--muted); }
.cc-arrow { font-size: 24px; color: var(--gold-300); }

/* المميزات */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feat {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 12px; text-align: center; transition: .2s;
}
.feat:hover { border-color: var(--gold-600); transform: translateY(-3px); }
.feat .f-ico { font-size: 28px; }
.feat .f-title { font-weight: 800; font-size: 14px; margin-top: 6px; }

/* عن الخدمة */
.about-block {
  display: flex; align-items: center; gap: 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
}
.about-mark { width: 96px; height: 96px; flex: none; border-radius: 22px; background: #000; border: 1px solid var(--line-2); object-fit: cover; }
.about-block h3 { font-size: 18px; font-weight: 900; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-block p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ============================================================
   صفحة القسم — المتاجر
   ============================================================ */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 16px 0 6px; flex-wrap: wrap; }
.crumbs a { color: var(--gold-300); font-weight: 700; }
.crumbs b { color: var(--txt); }
.sec-head { display: flex; align-items: center; gap: 14px; margin: 8px 0 18px; }
.sec-head .sh-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; background: var(--card-2); border: 1px solid var(--line-2); overflow: hidden; }
.sec-head .sh-ico img { width: 100%; height: 100%; object-fit: cover; }
.sec-head h1 { font-family: var(--font-display); font-size: clamp(24px, 4.6vw, 32px); }
.sec-head p { color: var(--muted); font-size: 13.5px; }

.vendors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.vendor-card {
  position: relative; display: flex; gap: 14px; align-items: center; text-align: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px;
  color: var(--txt); transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s, border-color .22s;
}
.vendor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-700); }
.vendor-card.closed { opacity: .6; }
.vc-logo {
  width: 68px; height: 68px; flex: none; border-radius: 18px; overflow: hidden;
  display: grid; place-items: center; font-size: 32px;
  background: var(--card-2); border: 1px solid var(--line-2);
}
.vc-logo img { width: 100%; height: 100%; object-fit: cover; }
.vc-body { flex: 1; min-width: 0; }
.vc-name { font-weight: 900; font-size: 16.5px; }
.vc-desc { font-size: 12.5px; color: var(--muted); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.vc-tag { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line-2); color: var(--muted); }
.vc-tag.open { color: #7fe0a0; border-color: rgba(62,194,106,.35); background: rgba(62,194,106,.1); }
.vc-tag.off { color: #ff9a9e; border-color: rgba(229,72,77,.35); background: rgba(229,72,77,.1); }
.vc-arrow { font-size: 22px; color: var(--gold-300); flex: none; }

/* ============================================================
   صفحة المتجر — القائمة
   ============================================================ */
.vendor-head {
  position: relative; border-bottom: 1px solid var(--line); margin-top: 8px;
  background:
    radial-gradient(500px 200px at 90% 0%, rgba(227,177,39,.16), transparent 70%),
    var(--bg-2);
}
.vh-inner { display: flex; align-items: center; gap: 16px; padding: 22px 0; }
.vh-logo {
  width: 84px; height: 84px; flex: none; border-radius: 22px; overflow: hidden;
  display: grid; place-items: center; font-size: 40px;
  background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
}
.vh-logo img { width: 100%; height: 100%; object-fit: cover; }
.vh-body { flex: 1; min-width: 0; }
.vh-name { font-family: var(--font-display); font-size: clamp(22px, 4.4vw, 30px); font-weight: 700; }
.vh-desc { color: var(--muted); font-size: 13.5px; }
.vh-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.toolbar { position: sticky; top: 66px; z-index: 30; padding-top: 12px; }
.toolbar-card {
  background: rgba(19,19,23,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 12px;
}
.search { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 14px; }
.search input { border: 0; background: transparent; outline: none; font-size: 15px; width: 100%; color: var(--txt); }
.search input::placeholder { color: var(--muted-2); }
.search .ico { color: var(--gold-400); }
.cats { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 4px; scrollbar-width: thin; }
.cats::-webkit-scrollbar { height: 5px; }
.cats::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
.cat-pill {
  flex: none; border: 1px solid var(--line-2); background: var(--card-2); color: var(--muted);
  padding: 7px 15px; border-radius: 999px; font-weight: 800; font-size: 13.5px; white-space: nowrap; transition: .18s;
}
.cat-pill:hover { border-color: var(--gold-600); color: var(--txt); }
.cat-pill.active { background: var(--gold-grad); color: #1a1200; border-color: transparent; box-shadow: 0 6px 16px rgba(227,177,39,.3); animation: pillPop .35s cubic-bezier(.2,.8,.2,1.2); }
@keyframes pillPop { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }

#menuRoot { padding: 22px 16px 40px; }
.section { margin-bottom: 30px; scroll-margin-top: 150px; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.section-head .ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--gold-grad); color: #1a1200; border-radius: 14px; font-size: 22px; }
.section-head h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.section-head .note { font-size: 12.5px; color: var(--muted); }
.section-head .count { margin-inline-start: auto; background: var(--card-2); color: var(--muted); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); }

.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }

.dish {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s, border-color .22s;
}
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-700); }
.dish.out { opacity: .55; }
.dish-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #1b1b20, #0f0f12); overflow: hidden; display: grid; place-items: center; }
.dish-media .ph { font-size: 44px; opacity: .55; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; cursor: zoom-in; }
.dish:hover .dish-media img { transform: scale(1.06); }
.dish-media::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.25), transparent);
  transform: translateX(-160%) skewX(-18deg); pointer-events: none;
}
.dish:hover .dish-media::after { animation: shineSweep .8s ease; }
@keyframes shineSweep { to { transform: translateX(260%) skewX(-18deg); } }
.dish-out { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.dish-disc-badge { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; background: var(--bad); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.dish-info { padding: 11px 13px 4px; flex: 1; }
.dish-name { font-size: 14.5px; font-weight: 800; line-height: 1.4; }
.dish-desc { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 13px 13px; margin-top: auto; flex-wrap: wrap; }
.dish-price { font-weight: 900; font-size: 16px; color: var(--gold-300); white-space: nowrap; }
.dish-price span { font-size: 11px; color: var(--muted); font-weight: 600; }
.dish-price.free { font-size: 12.5px; color: var(--muted); }
.dish-price.discounted { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; white-space: normal; }
.dp-old { text-decoration: line-through; color: var(--muted-2); font-size: 13px; font-weight: 700; }
.dp-new { color: var(--gold-300); font-weight: 900; font-size: 16px; }
.dp-new span { font-size: 11px; color: var(--muted); font-weight: 600; }
.dish-add {
  border: 0; border-radius: 11px; padding: 8px 14px;
  background: var(--gold-grad); color: #1a1200; font-weight: 900; font-size: 13px; white-space: nowrap;
  box-shadow: 0 6px 15px rgba(227,177,39,.28); transition: transform .15s, box-shadow .15s;
}
.dish-add:hover { transform: translateY(-1px); background: var(--gold-grad-h); }
.dish-add:active { transform: scale(.94); }
.dish-add.pulse { animation: addPulse .4s ease; }
@keyframes addPulse { 0%{transform:scale(1)} 40%{transform:scale(.9)} 100%{transform:scale(1)} }

.empty {
  text-align: center; color: var(--muted); padding: 50px 20px;
  background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius);
}
.empty b { color: var(--txt); font-size: 17px; display: block; margin-top: 6px; }

/* ============================================================
   الفوتر
   ============================================================ */
.footer { background: linear-gradient(180deg, #0a0a0c, #050506); border-top: 1px solid var(--line); padding: 40px 0 26px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 26px; }
.foot-logo { width: 200px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; margin: 10px 0 14px; }
.foot-social { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-soc { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; transition: .2s; }
.foot-soc svg { width: 22px; height: 22px; }
.foot-soc:hover { transform: translateY(-3px); }
.foot-soc.whatsapp { background: #25d366; }
.foot-soc.instagram { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf); }
.foot-soc.facebook { background: #1877f2; }
.foot-soc.tiktok { background: #222; border: 1px solid var(--line-2); }
.foot-soc.telegram { background: #2aabee; }
.foot-col h4 { font-size: 14px; color: var(--gold-300); margin-bottom: 8px; }
.foot-col a, .foot-col span { display: block; color: var(--txt); font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.foot-col a:hover { color: var(--gold-300); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.copyright { color: var(--muted); font-size: 12.5px; }
.foot-links { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-weight: 700; font-size: 12.5px; background: var(--card); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; transition: .18s; }
.foot-links a:hover { color: var(--gold-300); border-color: var(--gold-700); }

/* ============================================================
   الأزرار العائمة
   ============================================================ */
.wa-fab {
  position: fixed; inset-inline-end: 16px; bottom: 18px; z-index: 46;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.4);
  transition: transform .2s; animation: waPulse 2.4s ease-in-out 1.2s infinite;
}
.wa-fab:hover { transform: scale(1.08); }
body.intro-open .wa-fab { display: none; }
@keyframes waPulse { 0%, 100% { box-shadow: 0 8px 22px rgba(37,211,102,.4); } 50% { box-shadow: 0 8px 34px rgba(37,211,102,.8); } }

.cart-fab {
  position: fixed; inset-inline-start: 16px; bottom: 18px; z-index: 45;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-grad); color: #1a1200; border: 0; border-radius: 999px;
  padding: 12px 18px; font-weight: 900; font-size: 15px;
  box-shadow: 0 14px 34px rgba(227,177,39,.45);
  animation: fabIn .35s cubic-bezier(.2,.8,.2,1.1), fabBob 3.4s ease-in-out .5s infinite;
}
.cart-fab .cf-count { background: #1a1200; color: var(--gold-200); min-width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; padding: 0 6px; }
.cart-fab .cf-total { font-size: 12.5px; opacity: .85; border-inline-start: 1px solid rgba(0,0,0,.2); padding-inline-start: 8px; }
.cart-fab.bump { animation: fabBump .5s cubic-bezier(.2,.8,.2,1.4); }
@keyframes fabIn { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fabBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes fabBump { 0% { transform: scale(1); } 35% { transform: scale(1.22) rotate(-6deg); } 70% { transform: scale(.94); } 100% { transform: scale(1); } }

.fly-layer { position: fixed; inset: 0; z-index: 950; pointer-events: none; overflow: hidden; }
.fly-item {
  position: fixed; width: 64px; height: 64px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.5); border: 2px solid var(--gold-300);
  background: var(--card-2); display: grid; place-items: center; font-size: 30px;
  will-change: transform, opacity; transition: transform .75s cubic-bezier(.5,-.2,.3,1), opacity .75s ease;
}
.fly-item img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   السلة (Drawer) + إتمام الطلب
   ============================================================ */
.drawer-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); display: none; opacity: 0; transition: opacity .25s; }
.drawer-overlay.show { display: block; opacity: 1; }
.drawer {
  position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 100%; max-width: 440px;
  background: var(--bg-2); display: flex; flex-direction: column; border-inline-end: 1px solid var(--line-2);
  box-shadow: 0 0 60px rgba(0,0,0,.6); transform: translateX(-100%); transition: transform .3s cubic-bezier(.2,.7,.2,1);
  overflow-y: auto; -webkit-overflow-scrolling: touch;   /* اللوحة كلها تتمرّر: الأصناف + النموذج */
}
.drawer-overlay.show .drawer { transform: none; }
.drawer-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--gold-grad); color: #1a1200; }
.drawer-head h3 { font-size: 18px; font-weight: 900; }
.drawer-head .x { background: rgba(0,0,0,.18); border: 0; color: #1a1200; width: 32px; height: 32px; border-radius: 9px; font-size: 18px; }
.cart-vendor { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cart-vendor .cv-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: var(--card-2); overflow: hidden; }
.cart-vendor .cv-ico img { width: 100%; height: 100%; object-fit: cover; }
.cart-vendor b { color: var(--gold-300); }
.cart-vendor .cv-clear { margin-inline-start: auto; background: transparent; border: 1px solid var(--line-2); color: var(--muted); font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 8px; }
.drawer-body { flex: 0 0 auto; padding: 14px 16px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 20px; line-height: 2; }
.cart-empty small { font-size: 13px; display: block; }

.cart-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cr-thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--card); display: grid; place-items: center; font-size: 24px; border: 1px solid var(--line-2); }
.cr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cr-main { flex: 1; min-width: 0; }
.cr-name { font-weight: 800; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.cr-price { font-size: 13px; color: var(--gold-300); font-weight: 800; margin: 3px 0 9px; }
.cr-old { text-decoration: line-through; color: var(--muted-2); font-size: 12px; }
.cr-badge { background: rgba(229,72,77,.15); color: #ff9a9e; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; }
.cr-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); font-size: 18px; font-weight: 800; color: var(--gold-300); display: grid; place-items: center; }
.qty button:hover { border-color: var(--gold-500); }
.qty .q-num { min-width: 26px; text-align: center; font-weight: 900; }
.cr-del { height: 32px; padding: 0 14px; border-radius: 10px; background: rgba(229,72,77,.12); color: #ff9a9e; border: 1px solid rgba(229,72,77,.3); font-size: 13px; font-weight: 800; }

/* تتبّع الطلب */
.order-track { padding: 14px 16px 0; }
.track-title { font-size: 13px; font-weight: 900; color: var(--gold-300); margin-bottom: 8px; }
.track-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 13px; margin-bottom: 10px; }
.track-card.cancelled { border-color: rgba(229,72,77,.4); }
.track-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.track-head b { color: var(--txt); }
.track-dismiss { background: transparent; border: 0; font-size: 22px; line-height: 1; color: var(--muted); padding: 0 4px; }
.track-now { display: flex; align-items: center; gap: 9px; margin: 11px 0 12px; }
.tn-ico { font-size: 24px; }
.tn-label { font-size: 16px; font-weight: 900; color: var(--gold-300); }
.track-progress { display: flex; align-items: center; }
.tp-node { width: 14px; height: 14px; border-radius: 50%; background: var(--line-2); flex: none; }
.tp-node.done { background: var(--gold-500); }
.tp-node.active { background: var(--gold-400); box-shadow: 0 0 0 4px rgba(227,177,39,.22); animation: trackPulse 1.5s ease-in-out infinite; }
.tp-line { flex: 1; height: 3px; background: var(--line-2); }
.tp-line.done { background: var(--gold-500); }
@keyframes trackPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(227,177,39,.22); } 50% { box-shadow: 0 0 0 7px rgba(227,177,39,.07); } }
.track-cancelled { margin-top: 8px; font-size: 14px; font-weight: 800; color: #ff9a9e; }
.track-driver, .track-vendor { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.track-driver b, .track-vendor b { color: var(--txt); }

.checkout { border-top: 1px solid var(--line); padding: 14px 16px; background: var(--bg-2); }
.co-fields .field { margin-bottom: 10px; }
.co-fields label, .modal .field label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 4px; color: var(--muted); }
.co-fields input, .co-fields textarea, .co-fields select,
.modal .field input, .modal .field textarea, .modal .field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 11px;
  font-size: 15px; background: var(--card); color: var(--txt); outline: none; transition: .15s;
}
.co-fields input:focus, .co-fields textarea:focus, .co-fields select:focus,
.modal .field input:focus, .modal .field textarea:focus, .modal .field select:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(227,177,39,.15); }
.co-fields textarea, .modal .field textarea { min-height: 60px; resize: vertical; }
.co-fields select option, .modal select option { background: var(--card); color: var(--txt); }
.co-total { margin: 4px 0 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.co-line { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; padding: 3px 0; }
.co-line small { font-size: 11px; color: var(--muted); }
.co-line b { font-size: 15px; color: var(--gold-300); font-weight: 900; }
.co-line.save, .co-line.save b { color: #ff9a9e; }
.co-line.loyal, .co-line.loyal b { color: var(--gold-200); }
.co-line.grand { border-top: 1px dashed var(--line-2); margin-top: 6px; padding-top: 8px; }
.co-line.grand b { font-size: 20px; }
.loyal-banner {
  display: flex; align-items: center; gap: 8px;
  background: rgba(227,177,39,.12); border: 1px solid rgba(227,177,39,.4); border-inline-start: 5px solid var(--gold-500);
  border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: 13.5px; font-weight: 800; color: var(--gold-200);
}
.fee-note { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.co-submit {
  width: 100%; border: 0; border-radius: 12px; padding: 14px;
  background: var(--gold-grad); color: #1a1200; font-weight: 900; font-size: 16px;
  box-shadow: 0 10px 24px rgba(227,177,39,.32); transition: .15s;
}
.co-submit:hover:not(:disabled) { transform: translateY(-2px); background: var(--gold-grad-h); }
.co-submit:disabled { opacity: .7; }

/* ============================================================
   المودال العام + نافذة النجاح + عارض الصور + توست
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 85; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); display: none; place-items: center; padding: 16px; }
.modal-overlay.show { display: grid; }
.modal { width: 100%; max-width: 480px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); animation: pop .25s ease; max-height: 92vh; display: flex; flex-direction: column; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--gold-grad); color: #1a1200; }
.modal-head h3 { font-size: 17px; font-weight: 900; }
.modal-head .x { background: rgba(0,0,0,.18); border: 0; color: #1a1200; width: 30px; height: 30px; border-radius: 8px; font-size: 18px; }
.modal-body { padding: 18px; overflow-y: auto; }
.modal-sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.6; }
.modal .field { margin-bottom: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.ok-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); display: none; place-items: center; padding: 20px; }
.ok-overlay.show { display: grid; }
.ok-card { width: 100%; max-width: 380px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px; padding: 32px 26px; text-align: center; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
.ok-badge { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; font-size: 38px; box-shadow: 0 10px 26px rgba(227,177,39,.4); }
.ok-card h3 { font-size: 22px; font-weight: 900; }
.ok-card p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.ok-num { font-size: 24px; font-weight: 900; letter-spacing: 1px; color: var(--gold-300); background: var(--card); border: 1px dashed var(--gold-600); border-radius: 12px; padding: 10px; margin: 8px 0; direction: ltr; }
.ok-sub { font-size: 13px; }
.ok-wa { display: block; margin-top: 16px; padding: 13px; border-radius: 12px; background: var(--wa); color: #fff; font-weight: 800; }
.ok-close { width: 100%; margin-top: 10px; padding: 12px; border: 1px solid var(--line-2); background: var(--card); border-radius: 12px; font-weight: 800; color: var(--txt); }

.img-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.95); display: none; place-items: center; padding: 20px; }
.img-lightbox.show { display: grid; }
.img-lightbox .lb-img { max-width: 94vw; max-height: 84vh; object-fit: contain; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: pop .25s ease; }
.lb-back { position: fixed; top: 16px; inset-inline-start: 16px; z-index: 210; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 999px; backdrop-filter: blur(6px); }

.toast {
  position: fixed; bottom: 88px; left: 50%; transform: translate(-50%, 20px); z-index: 95; max-width: 92%;
  background: var(--card-2); color: var(--txt); border: 1px solid var(--gold-600);
  padding: 12px 20px; border-radius: 14px; font-weight: 800; font-size: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: var(--bad); }
.toast.ok { border-color: var(--ok); }

/* ============================================================
   التمرير + الظهور
   ============================================================ */
.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; width: 0%; z-index: 300; background: var(--gold-grad); box-shadow: 0 1px 8px rgba(227,177,39,.5); transition: width .12s linear; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.dish.reveal { transform: translateY(30px) scale(.95); }
.dish.reveal.in { transform: none; }

/* ============================================================
   الاستجابة
   ============================================================ */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-height: 240px; order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sections-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sec-card { padding: 16px 14px; min-height: 130px; }
  .sc-ico { width: 46px; height: 46px; font-size: 24px; }
  .sc-name { font-size: 15px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .vendors-grid { grid-template-columns: 1fr; }
  .brand-txt small { display: none; }
  .status-pill span { display: none; }
  .status-pill { padding: 6px 8px; }
  .toolbar { top: 60px; }
  .about-block { flex-direction: column; text-align: center; }
  .dish-info { padding: 8px 9px 2px; }
  .dish-name { font-size: 12.5px; }
  .dish-desc { font-size: 10.5px; }
  .dish-foot { padding: 6px 9px 10px; gap: 6px; }
  .dish-price { font-size: 13px; }
  .dish-add { padding: 6px 9px; font-size: 12px; border-radius: 9px; }
  .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cart-fab { padding: 11px 15px; font-size: 14px; }
  .cart-fab .cf-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-bg, .cart-fab, .wa-fab, .intro-btn { animation: none !important; }
  .intro-logo, .intro-pill, .intro-tag, .intro-btn, .intro-hint { animation-duration: .01ms !important; opacity: 1 !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .dish-media::after { display: none; }
}
