/* ==========================================================
   كريبي Crepy — هوية أبيض × أحمر × أصفر
   ألوان الهوية: أحمر #EA1E27 / أصفر ذهبي #FDCB08
   ========================================================== */
/* خط كريبي — نفس روح خط اللوجو السميك المربوط */
@font-face {
  font-family: 'Lalezar';
  src: url('/fonts/lalezar-arabic.woff2') format('woff2');
  font-weight: 400; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E, U+2010-2011;
}
@font-face {
  font-family: 'Lalezar';
  src: url('/fonts/lalezar-latin.woff2') format('woff2');
  font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
:root {
  --font-display: 'Lalezar', 'Segoe UI', Tahoma, sans-serif;
  --primary: #ea1e27;
  --primary-dark: #c8141c;
  --yellow: #d18f00;
  --yellow-light: #f5b31b;
  --bg: #fffaf3;
  --bg-2: #f7ecdd;
  --panel: #ffffff;
  --text: #241009;
  --muted: #8a7562;
  --line: rgba(150, 60, 30, .15);
  --glass: rgba(255, 255, 255, .75);
  --glass-hi: rgba(255, 255, 255, .95);
  --green: #2e9e5b;
  --radius: 18px;
  --shadow: 0 10px 26px rgba(80, 30, 10, .12);
  --glow-red: 0 8px 24px rgba(234, 30, 39, .3);
  --glow-yellow: 0 0 14px rgba(234, 30, 39, .14);
  --footer-bg: #ffffff;
  --footer-line: rgba(150, 60, 30, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Tahoma, "Noto Kufi Arabic", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
/* الإضاءة الدافية الثابتة */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle 520px at 50% -60px, rgba(234, 30, 39, .07), transparent 70%),
    radial-gradient(circle 460px at 92% 16%, rgba(253, 203, 8, .14), transparent 70%),
    radial-gradient(circle 420px at 50% 100%, rgba(253, 203, 8, .1), transparent 70%);
}
.container { max-width: 1150px; margin-inline: auto; padding-inline: 20px; }
::selection { background: var(--yellow); color: #1a120b; }

/* عناوين وأزرار بخط اللوجو */
.brand-text strong, .brand-title, .mh-title, .section-head h2, .hero-stats strong,
.chip, .dish-name, .dish-price, .add-btn, .btn, .size-pill,
.drawer-head h3, .modal-head h3, .success-head h3, .order-num,
.dm-name, .dm-total, .dm-add, .reorder-btn, .toast, .bn-item, .menu-count, .info-chip {
  font-family: var(--font-display);
  letter-spacing: 0;
}

/* ---------- عناصر زجاجية ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow), ;
}

/* ---------- الهيدر ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  --sig: linear-gradient(90deg, var(--primary), #e8b400 50%, var(--primary));
.site-header::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: var(--sig);
}
  background: linear-gradient(180deg, #fffdf9 0%, rgba(255, 250, 243, .94) 100%);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(209, 143, 0, .22);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo {
  width: 46px; height: 46px; border-radius: 14px; display: block;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(209, 143, 0, .55), 0 8px 18px rgba(80, 30, 10, .2);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; color: var(--text); letter-spacing: .3px; }
.brand-wordmark-w { display: none; }
.brand-wordmark { display: block; width: 132px; filter: drop-shadow(0 2px 6px rgba(180, 30, 20, .16)); }
.brand-text, .brand-logo { display: none; }
.brand-text small { color: #b37800; font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; }
.brand-tag [dir="ltr"] { letter-spacing: 2.2px; }
.nav { display: flex; gap: 20px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--text); font-weight: 800; font-size: 14.5px; transition: .15s; }
.nav a:hover { color: var(--yellow); }

/* ---------- تنقل الهيدر (تابلت + كمبيوتر) — نفس روح شريط الموبايل ---------- */
.header-nav { display: none; align-items: center; gap: 4px; margin-inline-start: auto; }
.hn-item {
  position: relative; display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  color: rgba(255, 255, 255, .9); font-weight: 800; font-size: 13.5px;
  transition: background .15s, color .15s;
}
.hn-item .ic { width: 19px; height: 19px; }
.hn-item:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.hn-item.active { background: rgba(255, 255, 255, .22); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.hn-count {
  position: absolute; top: -3px; inset-inline-start: 3px;
  background: var(--yellow); color: #7c1418; border-radius: 999px;
  min-width: 19px; height: 19px; display: grid; place-items: center;
  font-size: 11px; font-weight: 900; padding: 0 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.hn-count[hidden] { display: none; }
@media (min-width: 861px) { .header-nav { display: flex; } }
/* تابلت: أيقونات بس عشان المساحة */
@media (min-width: 861px) and (max-width: 1100px) {
  .hn-item span { display: none; }
  .hn-item { padding: 8px 11px; }
}
.phone-btn {
  display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #ff3540, var(--primary)); color: #fff; text-decoration: none;
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(234, 30, 39, .28);
}
.phone-btn:hover { background: var(--primary-dark); }

/* ---------- الهيرو ---------- */
.hero { position: relative; overflow: hidden; color: var(--text); border-bottom: 1px solid var(--line); }
/* موجات اللوجو الرسمية — نفس ألوان الهوية */
.hero::before {
  content: ""; position: absolute; inset: -22%;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'><rect width='280' height='280' fill='%23F9D974'/><g fill='none' stroke='%23FDCB08' stroke-linecap='round'><path stroke-width='40' d='M-70 60 Q 0 -10 70 60 T 210 60 T 350 60'/><path stroke-width='40' d='M-70 200 Q 0 270 70 200 T 210 200 T 350 200'/><path stroke-width='16' d='M-70 130 Q 35 82 140 130 T 350 130' opacity='.9'/></g></svg>");
  background-size: 300px 300px;
  transform: rotate(-7deg);
  z-index: 0;
  opacity: .08;
}
.hero .container { position: relative; z-index: 2; }
.hero-wave { position: absolute; bottom: 10px; left: 0; width: 100%; height: 40px; display: block; z-index: 1; opacity: .5; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; padding-block: 46px 74px; }
.hero-badge {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 800; margin-bottom: 18px;
  box-shadow: var(--glow-red);
}
.hero-badge-brand {
  font-size: 15px; letter-spacing: 3px; padding: 8px 22px;
  background: rgba(255, 255, 255, .85); color: #b37800;
  border: 2px solid rgba(227, 155, 0, .55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
}
/* مؤشر «مفتوح/مقفول دلوقتي» */
.open-state {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text); border-radius: 999px;
  padding: 7px 15px; font-size: 12.5px; font-weight: 800;
  margin-inline-start: 10px; vertical-align: middle;
}
.open-state .os-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.open-state.open .os-dot { background: var(--green); box-shadow: 0 0 10px rgba(46, 158, 91, .8); animation: os-blink 2s infinite; }
.open-state.closed .os-dot { background: var(--primary); box-shadow: 0 0 10px rgba(234, 30, 39, .7); animation: os-blink 2s infinite; }
@keyframes os-blink { 50% { opacity: .45; } }
.open-state.closed { color: #ffc9c5; }

.brand-title {
  font-size: clamp(44px, 8vw, 84px) !important;
  font-weight: 900; letter-spacing: 1px;
  color: var(--yellow) !important;
  text-shadow: 0 0 34px rgba(253, 203, 8, .4) !important;
  line-height: 1.15; margin-bottom: 10px !important;
}
.brand-sub {
  font-size: 19px; font-weight: 800; color: var(--text);
  background: var(--glass); display: inline-block;
  padding: 7px 22px; border-radius: 999px;
  border: 2px solid rgba(234, 30, 39, .7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: ;
}
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 12px; margin-top: 30px; }
.hero-stats div {
  display: flex; flex-direction: column; line-height: 1.4;
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-stats strong { font-size: 22px; color: var(--yellow); text-shadow: 0 0 16px rgba(253, 203, 8, .35); }
.hero-stats span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.hero-art { position: relative; }
.hero-food {
  position: relative; max-width: 400px; margin: auto;
  border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(227, 155, 0, .4);
  box-shadow: 0 24px 50px rgba(80, 30, 10, .2), 0 0 40px rgba(227, 155, 0, .14);
  transform: rotate(1.5deg);
}
.hero-food img, .hero-food picture { width: 100%; display: block; }
.hero-food img { height: 420px; object-fit: cover; }
/* توهج كهرماني نابض حوالين الصورة */
.glow-pulse::after {
  content: ""; position: absolute; inset: -2px; border-radius: 30px;
  box-shadow: 0 0 26px rgba(253, 203, 8, .35);
  animation: glow 3.2s ease-in-out infinite; pointer-events: none;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 14px rgba(253, 203, 8, .18); }
  50% { box-shadow: 0 0 34px rgba(253, 203, 8, .42); }
}
/* تبادل الصورتين: ذوبان إضافي كل 7 ثواني */
.hero-flip { position: relative; }
.hero-flip .hf-a { height: 420px; object-fit: cover; }
.hero-flip .hf-b {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: heroCycle 7s ease-in-out infinite;
}
@keyframes heroCycleOut { 0%, 62% { opacity: 1; } 72%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes heroCycle { 0%, 62% { opacity: 0; } 72%, 92% { opacity: 1; } 100% { opacity: 0; } }
.hero-plate {
  width: 230px; height: 230px; margin: 24px auto; overflow: hidden;
  border-radius: 40px; border: 1px solid rgba(227, 155, 0, .45);
  box-shadow: 0 22px 50px rgba(80, 30, 10, .22), 0 0 36px rgba(227, 155, 0, .15);
  transform: rotate(-4deg);
}
.hero-plate img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- المنيو ---------- */
.menu-section { padding-block: 26px 96px; }
/* رأس المنيو المضغوط: العنوان + العدّاد + البحث في سطر */
.menu-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.mh-title {
  font-size: 34px; margin: 0; letter-spacing: .5px;
  background: linear-gradient(180deg, #ff6a54 0%, #ea1e27 55%, #c3141d 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--primary);
  filter: drop-shadow(0 0 10px rgba(234, 30, 39, .18));
}
.menu-head .menu-search-wrap { margin: 0; margin-inline-start: auto; }
.section-head { text-align: center; margin-bottom: 22px; }
.section-head h2 { font-size: 30px; color: var(--primary); text-shadow: none; }
.mh-title::after {
  content: ""; display: block; width: 132px; height: 14px; margin-top: 6px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='14' viewBox='0 0 150 14'><circle cx='5' cy='7' r='3' fill='%23FDCB08'/><path d='M14 7 Q 33 1 52 7 T 90 7 T 128 7' fill='none' stroke='%23EA1E27' stroke-width='4.5' stroke-linecap='round'/><circle cx='144' cy='7' r='3' fill='%23FDCB08'/></svg>") left center/contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(234, 30, 39, .35));
}
.section-head h2::after {
  content: ""; display: block; width: 150px; height: 12px; margin: 8px auto 0;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='12' viewBox='0 0 150 12'><path d='M0 6 Q 18.75 0 37.5 6 T 75 6 T 112.5 6 T 150 6' fill='none' stroke='%23EA1E27' stroke-width='3.5' stroke-linecap='round'/><path d='M0 4 Q 18.75 10 37.5 4 T 75 4 T 112.5 4 T 150 4' fill='none' stroke='%23FDCB08' stroke-width='2' opacity='.75'/></svg>") center/contain no-repeat;
}
.section-head p { color: var(--muted); }

/* ---------- زر إعادة الطلب الأخير ---------- */
.reorder-btn {
  display: block; margin: 0 auto 14px; max-width: 480px; width: 100%;
  background: rgba(253, 203, 8, .07); border: 2px dashed rgba(253, 203, 8, .6);
  color: var(--yellow); font-family: inherit; font-weight: 800; font-size: 14.5px;
  padding: 12px 18px; border-radius: 999px; cursor: pointer; transition: .15s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.reorder-btn:hover { background: var(--yellow); color: #1a120b; border-style: solid; box-shadow: var(--glow-yellow); }
.reorder-btn[hidden] { display: none !important; }

/* ---------- شريط معلومات الفرع ---------- */
.info-strip { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.info-chip { border-radius: 999px; padding: 8px 15px; font-size: 12.5px; font-weight: 700; color: var(--text); }
.menu-count {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 14px;
  color: var(--muted); font-size: 12.5px; font-weight: 700;
}

/* تفاصيل المنطقة بعد الاختيار */
.zone-info {
  background: rgba(253, 203, 8, .15); border: 1px dashed rgba(209, 143, 0, .5);
  color: var(--text); border-radius: 12px; padding: 9px 14px;
  font-size: 13px; font-weight: 700; text-align: center;
}
.zone-info b { color: var(--yellow); }

/* ---------- سيلكت المنطقة ---------- */
.modal-body select {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font-family: inherit; font-size: 14.5px; color: var(--text);
  background: #ffffff; width: 100%;
}
.modal-body select:focus { outline: none; border-color: rgba(209, 143, 0, .6); }
.modal-body select option { background: #ffffff; color: var(--text); }

/* ---------- بحث المنيو ---------- */
.menu-search-wrap { display: flex; flex: 1; min-width: 220px; max-width: 360px; }
.menu-search {
  width: min(420px, 100%); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 20px; font-family: inherit; font-size: 14.5px;
  background: var(--glass); color: var(--text);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow), ; transition: .15s;
}
.menu-search:focus { outline: none; border-color: rgba(253, 203, 8, .6); box-shadow: var(--glow-yellow); }
.menu-search::placeholder { color: var(--muted); }

/* ---------- شارة الأكثر طلبًا ---------- */
.hot-badge {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: 10.5px; font-weight: 800; border-radius: 999px;
  padding: 2px 9px; margin-inline-start: 7px; vertical-align: 2px;
  box-shadow: 0 4px 12px rgba(234, 30, 39, .4);
}

/* ---------- شرائح الأقسام ---------- */
/* دوائر الأقسام: سهم «في حاجات تانية» على الشفايف */
.chips-wrap { position: relative; }
.chip-arrow {
  position: absolute; top: 30px; transform: translateY(-50%); z-index: 2;
  width: 30px; height: 30px; border-radius: 50%; padding: 0;
  background: #fff; border: 1px solid var(--line);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(60, 20, 5, .16); cursor: pointer;
}
.chip-arrow:active { transform: translateY(-50%) scale(.9); }
.chip-arrow[hidden] { display: none; }
.ca-prev { right: -4px; }
.ca-next { left: -4px; }
.chips { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.cat-chip {
  flex-direction: column; gap: 5px; background: none; border: none; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; min-width: 64px;
}
.cc-img {
  width: 62px; height: 62px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; font-size: 24px;
  background: var(--glass); border: 2.5px solid var(--line); transition: .15s;
}
.cc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-name {
  font-size: 11px; font-weight: 700; color: var(--muted);
  max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cat-chip:hover .cc-img { border-color: rgba(253, 203, 8, .55); }
.cat-chip.active .cc-img { border-color: var(--yellow); box-shadow: 0 0 18px rgba(253, 203, 8, .45); }
.cat-chip.active .cc-name { color: var(--yellow); }
.chip {
  border: 1px solid var(--line); background: var(--glass); color: var(--text);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 14px;
  font-family: inherit; font-weight: 700; transition: .15s;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip:hover { border-color: rgba(253, 203, 8, .55); color: var(--yellow); }
.chip.active {
  background: linear-gradient(135deg, #ff3540, var(--primary));
  border-color: transparent; color: #fff; box-shadow: var(--glow-red);
}

/* ---------- كروت الأصناف ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* صفوف "مختارات/جديد" في الرئيسية على الكمبيوتر: نفس شبكة كروت المنيو بالظبط */
.h-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dish {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow), ;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.dish:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 155, 0, .5);
  box-shadow: 0 16px 36px rgba(80, 30, 10, .16), 0 0 22px rgba(227, 155, 0, .13);
}
.dish.jump-highlight {
  animation: dish-jump 1.4s ease;
}
@keyframes dish-jump {
  0%, 100% { box-shadow: var(--shadow), ; border-color: var(--line); }
  20%, 60% { box-shadow: 0 0 0 3px var(--primary), 0 16px 36px rgba(80, 30, 10, .16); border-color: var(--primary); }
}
.dish-top {
  height: 155px; display: grid; place-items: center; font-size: 56px;
  position: relative; overflow: hidden; padding: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(253, 203, 8, .25) 0 22%, transparent 23%),
    radial-gradient(circle at 80% 70%, rgba(253, 203, 8, .18) 0 18%, transparent 19%),
    var(--panel);
  border-bottom: 1px solid var(--line);
}
.dish-top img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.dish:hover .dish-top img { transform: scale(1.06); }
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.dish-name { font-size: 16.5px; font-weight: 800; }
.dish-desc {
  color: var(--muted); font-size: 13px; flex: 1; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.size-pills { display: flex; gap: 6px; margin-top: 8px; }
.size-pill {
  flex: 1; border: 1px solid var(--line); background: #ffffff; color: var(--text);
  border-radius: 999px; padding: 6px 10px; font-weight: 800; font-size: 12.5px;
  cursor: pointer; font-family: inherit; transition: .12s;
}
.size-pill .sp { color: var(--yellow); }
.size-pill.active {
  background: linear-gradient(135deg, #ff3540, var(--primary));
  border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(234, 30, 39, .35);
}
.size-pill.active .sp { color: var(--yellow); }
.dish-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.dish-price { font-size: 18px; font-weight: 800; color: var(--yellow); text-shadow: 0 0 14px rgba(253, 203, 8, .35); }
.dish-price small { font-size: 11px; color: var(--muted); font-weight: 600; text-shadow: none; }
.qty-ctl { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer;
  background: var(--glass-hi); font-size: 17px; font-weight: 800; color: var(--text);
  font-family: inherit; transition: .12s;
}
.qty-btn:hover { background: var(--primary); border-color: transparent; color: #fff; }
.qty-num { min-width: 20px; text-align: center; font-weight: 800; }
.add-btn {
  border: none; cursor: pointer;
  background: linear-gradient(135deg, #ff3540, var(--primary)); color: #fff;
  font-family: inherit; font-weight: 800; font-size: 22px;
  width: 42px; height: 42px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; transition: .12s;
  box-shadow: 0 6px 18px rgba(234, 30, 39, .35);
}
.add-btn:hover { filter: brightness(1.1); }
/* حرف الـ+ متوسّط الدايرة بالظبط — بخط نظام مش خط اللوجو (حرف الـ+ في لاليزار عريض وماعس) */
.add-btn {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 0; font-stretch: normal;
}

/* ---------- زر السلة في الهيدر (كمبيوتر) ---------- */
.cart-head-btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 14px;
  padding: 9px 16px; border-radius: 999px; transition: .13s;
  box-shadow: var(--glow-red);
}
.cart-head-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.chb-count {
  background: #fff; color: var(--primary); border-radius: 999px;
  min-width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px;
}
.chb-total { color: var(--yellow); font-size: 13px; }
.cart-head-btn .chb-total:empty { display: none; }
@media (max-width: 860px) { .cart-head-btn { display: none; } }
@media (min-width: 861px) {
  .brand-wordmark { width: 200px; margin-block: -14px; filter: drop-shadow(0 3px 8px rgba(180, 30, 20, .18)); }
  .header-inner { height: 86px; }
}

/* ---------- شريط التنقل السفلي (موبايل) ---------- */
.bottom-nav {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 70;
  display: none;
  background: rgba(255, 250, 243, .92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(227, 155, 0, .35);
  padding: 7px 6px calc(7px + env(safe-area-inset-bottom, 0px));
}
.bn-item {
  flex: 1; background: none; border: none; cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  color: var(--muted); font-size: 10px; font-weight: 800; text-decoration: none;
  position: relative; padding: 3px 0; border-radius: 12px;
}
.bn-item i { font-style: normal; font-size: 19px; filter: grayscale(.7) brightness(1.3); transition: .15s; }
.bn-item.on { color: var(--primary); }
.bn-item.on i { filter: none; text-shadow: var(--glow-red); }
.bn-count {
  position: absolute; top: -3px; inset-inline-end: calc(50% - 20px);
  background: var(--primary); color: #fff; border-radius: 999px;
  font-size: 9.5px; min-width: 16px; height: 16px; display: grid; place-items: center;
  padding: 0 4px; box-shadow: 0 3px 10px rgba(234, 30, 39, .5);
}
.bn-count[hidden] { display: none; }
@media (max-width: 860px) { .bottom-nav { display: flex; } }
@media (max-width: 860px) { body { padding-bottom: 64px; } }

/* بلوك الترحيب الأحمر (موبايل) — بروح تطبيقات المطاعم */
@media (max-width: 860px) {
  .site-header {
    position: relative;
    background: linear-gradient(160deg, #f0342c 0%, var(--primary) 55%, #c8141c 100%);
    border-bottom: none;
    padding-bottom: 34px;
    box-shadow: 0 10px 26px rgba(180, 20, 15, .25);
  }
  .site-header::after {
    content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 22px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='390' height='22' viewBox='0 0 390 22' preserveAspectRatio='none'><path d='M0 12 C 48 2 96 2 144 10 C 195 19 243 19 291 10 C 339 2 371 4 390 10 L390 22 0 22 Z' fill='%23fffaf3'/></svg>") bottom/100% 100% no-repeat;
  }
  .brand-text, .brand-logo, .brand-wordmark { display: none; }
  .brand-wordmark-w { display: block; width: 150px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .22)); }
  .header-inner { height: auto; padding-top: 12px; gap: 10px; }
  .site-header .phone-btn { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .35); }
  .site-header .phone-btn .ic { color: #fff; }
  .zonebar { border-top: none; margin-top: 12px; padding: 0 0 12px; }
  .site-header .zb-zone { background: #fff; border: none; color: var(--text); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
  .site-header .zb-zone .ic { color: var(--primary); }
  .site-header .zb-eta { background: rgba(255, 255, 255, .17); border: 1px solid rgba(255, 255, 255, .45); color: #fff; box-shadow: none; }
  .site-header .zb-eta .ic { color: #fff; }
  .at-search { position: relative; z-index: 1; }
  .m-search {
    width: 100%; border: none; border-radius: 999px; padding: 13px 18px;
    font-family: inherit; font-size: 16px; background: #fff; color: var(--text);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16); outline: none;
  }
  .m-search::placeholder { color: var(--muted); }
  /* البحث القديم في قسم المنيو يتخفي على الموبايل */
  .menu-section .menu-search-wrap { display: none; }
  /* الأقسام: حبوب أفقية (صورة + اسم) */
  .chips { gap: 9px; }
  .chips .cat-chip {
    display: flex; flex-direction: row; align-items: center; gap: 8px;
    background: #fff; border: 1.5px solid rgba(209, 143, 0, .28); border-radius: 999px;
    padding: 6px 16px 6px 7px;
  }
  .chips .cat-chip.active { background: #fff7e0; border-color: var(--primary); }
  .cat-chip.active { border-color: var(--primary); background: #fff; }
  .cat-chip .cc-img { width: 36px; height: 36px; }
  .cat-chip .cc-img .ic { width: 18px; height: 18px; }
  .cat-chip .cc-name { font-size: 12px; max-width: none; }
}

/* ---------- زر واتساب العائم ---------- */
.wa-fab {
  position: fixed; bottom: 20px; left: 20px; z-index: 55;
  display: flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff; text-decoration: none;
  font-family: inherit; font-weight: 800; font-size: 14px;
  padding: 11px 18px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .35);
  transition: .15s;
}
.wa-fab:hover { transform: translateY(-2px); }
@media (max-width: 860px) {
  .wa-fab { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); left: 12px; padding: 10px 14px; }
  .wa-fab span { display: none; }
}

/* ---------- زر السلة العائم — ثابت في الشاشة (كمبيوتر) ---------- */
.cart-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  display: none; align-items: center; gap: 9px;
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 15px;
  padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 12px 32px rgba(234, 30, 39, .38);
  transition: transform .15s, box-shadow .15s;
}
.cart-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(234, 30, 39, .5); }
.cart-fab .ic { width: 20px; height: 20px; }
.cart-fab .cf-count {
  background: #fff; color: var(--primary); border-radius: 999px;
  min-width: 24px; height: 24px; display: grid; place-items: center;
  font-size: 13px; font-weight: 900; padding: 0 6px;
}
.cart-fab .cf-count[hidden] { display: none; }
.cart-fab .cf-total { color: var(--yellow); font-size: 14px; }
.cart-fab.bump { animation: cf-bump .3s; }
@keyframes cf-bump { 40% { transform: scale(1.09); } }
@media (min-width: 861px) { .cart-fab { display: flex; } }

/* ---------- الخلفيات والنوافذ ---------- */
.drawer-backdrop, .modal-backdrop, .dish-backdrop {
  position: fixed; inset: 0; background: rgba(46, 20, 8, .5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 90; opacity: 0; pointer-events: none; transition: .2s;
}
.drawer-backdrop.open, .modal-backdrop.open, .dish-backdrop.open { opacity: 1; pointer-events: auto; }

/* ---------- درج السلة ---------- */
.cart-drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(390px, 92vw); z-index: 95;
  background: rgba(255, 250, 243, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-inline-start: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(-105%); transition: transform .25s;
  box-shadow: -20px 0 55px rgba(80, 30, 10, .2);
}
.cart-drawer.open { transform: none !important; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 17px; color: var(--primary); }
.icon-btn {
  border: 1px solid var(--line); background: var(--glass-hi); color: var(--text);
  width: 34px; height: 34px; border-radius: 10px;
  cursor: pointer; font-size: 15px; font-family: inherit;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.cart-empty-icon { font-size: 52px; margin-bottom: 8px; }
.cart-item { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.cart-item-emoji {
  font-size: 30px; width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(253, 203, 8, .1); border: 1px solid rgba(253, 203, 8, .25); border-radius: 12px;
}
.cart-item-info { flex: 1; }
.cart-item-info strong { font-size: 14.5px; display: block; }
.cart-item-info small { color: var(--muted); }
.cart-item .qty-ctl .qty-btn { width: 27px; height: 27px; font-size: 15px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 18px 18px; }
.cart-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--text); padding: 3px 0; }
.cart-line.total {
  font-size: 17px; font-weight: 800; border-top: 1px solid var(--line);
  margin-top: 6px; padding-top: 9px; color: var(--primary);
}

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; text-decoration: none;
  font-family: inherit; font-weight: 800; border-radius: 999px; transition: .15s;
}
.btn-primary {
  background: linear-gradient(135deg, #ff3540, var(--primary)); color: #fff;
  padding: 13px 26px; font-size: 15.5px; box-shadow: var(--glow-red);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost {
  background: rgba(253, 203, 8, .06); color: var(--yellow);
  border: 2px solid rgba(253, 203, 8, .65); padding: 13px 26px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--yellow); color: #1a120b; box-shadow: var(--glow-yellow); }
.btn-outline {
  background: transparent; color: var(--yellow); border: 1.5px solid rgba(253, 203, 8, .6);
  padding: 10px 20px; font-size: 14px;
}
.btn-outline:hover { background: var(--yellow); color: #1a120b; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; margin-top: 8px; }

/* ---------- نافذة إتمام الطلب ---------- */
.modal-backdrop { display: grid; place-items: center; padding: 16px; }
.modal {
  background: rgba(255, 250, 243, .98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 22px;
  width: min(520px, 100%); max-height: 92vh; overflow-y: auto;
  box-shadow: 0 26px 70px rgba(80, 30, 10, .24);
}
.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.modal-head h3 { color: var(--primary); }
.modal-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 13px; }
.modal-body label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--text); }
.modal-body input, .modal-body textarea {
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
  font-family: inherit; font-size: 14.5px; color: var(--text);
  background: #ffffff; resize: vertical; transition: .15s;
}
.modal-body input::placeholder, .modal-body textarea::placeholder { color: var(--muted); }
.modal-body input:focus, .modal-body textarea:focus {
  outline: none; border-color: rgba(209, 143, 0, .6); box-shadow: 0 0 0 3px rgba(209, 143, 0, .15);
}
.radio-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.radio-label { font-size: 14px; font-weight: 700; color: var(--text); }
.radio-pill { position: relative; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 700;
  background: #ffffff; color: var(--text); transition: .12s;
}
.radio-pill input:checked + span {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: var(--glow-red);
}
.order-summary {
  background: rgba(253, 203, 8, .1); border: 1px solid rgba(209, 143, 0, .3);
  border-radius: 14px; padding: 13px 16px; font-size: 14px;
}
.order-summary .sum-line { display: flex; justify-content: space-between; padding: 2.5px 0; }
.order-summary .sum-total {
  border-top: 1px dashed rgba(150, 60, 30, .3); margin-top: 7px; padding-top: 8px;
  font-weight: 800; font-size: 15.5px; color: var(--primary);
}
.pay-note {
  background: rgba(253, 203, 8, .15); border: 1px dashed rgba(209, 143, 0, .55);
  color: #9a6b00; border-radius: 12px; padding: 10px 14px;
  font-size: 13.5px; font-weight: 800; text-align: center;
}
.form-error { background: rgba(234, 30, 39, .08); color: #b3140d; border: 1px solid rgba(234, 30, 39, .35); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; font-weight: 700; }
.secure-note { text-align: center; color: var(--muted); font-size: 12.5px; }

/* ---------- شاشة النجاح والتتبع ---------- */
.success-head { text-align: center; padding: 30px 20px 8px; }
.success-icon { font-size: 60px; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.success-head h3 { font-size: 24px; margin-top: 6px; color: var(--primary); }
.order-num { color: var(--primary); font-size: 20px; }
.eta-note { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tracker { display: flex; justify-content: space-between; padding: 24px 26px 6px; position: relative; }
.tracker::before {
  content: ""; position: absolute; top: 44px; inset-inline: 44px; height: 3px;
  background: rgba(255, 255, 255, .12); border-radius: 2px;
}
.track-step {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: var(--muted); width: 64px; text-align: center;
}
.track-dot {
  width: 42px; height: 42px; display: grid; place-items: center; font-size: 18px;
  background: var(--panel); border: 2.5px solid rgba(255, 255, 255, .15); border-radius: 50%;
  z-index: 1; transition: .3s;
}
.track-step.done .track-dot { border-color: var(--green); background: var(--green); filter: saturate(.4) brightness(1.6); }
.track-step.active .track-dot { border-color: var(--yellow); background: var(--panel); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(253, 203, 8, .15); } }
.track-msg { text-align: center; color: var(--text); font-weight: 700; font-size: 14px; padding: 10px 20px 4px; }
#checkout-step2 .btn-outline { width: calc(100% - 40px); margin: 12px 20px 22px; }

/* ---------- نافذة تفاصيل الصنف ---------- */
.dish-backdrop { display: grid; place-items: center; padding: 16px; }
.dish-modal {
  background: rgba(255, 250, 243, .98);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--line); border-radius: 24px;
  width: min(440px, 100%); max-height: 92vh; overflow-y: auto;
  box-shadow: 0 26px 70px rgba(80, 30, 10, .26);
}
.dm-photo { position: relative; height: 205px; }
.dm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-photo .dm-fallback {
  width: 100%; height: 100%; display: grid; place-items: center; font-size: 72px;
  background:
    radial-gradient(circle at 22% 30%, rgba(253, 203, 8, .28) 0 20%, transparent 21%),
    radial-gradient(circle at 80% 72%, rgba(253, 203, 8, .2) 0 16%, transparent 17%),
    var(--panel);
}
.dm-photo .dm-badge {
  position: absolute; bottom: 10px; inset-inline-start: 10px;
  background: rgba(255, 255, 255, .93); color: #b37800;
  border: 1px solid rgba(253, 203, 8, .5); border-radius: 999px;
  font-size: 11px; font-weight: 800; padding: 4px 11px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dm-photo .dm-close { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; }
.dm-body { padding: 16px 20px 20px; }
.dm-name { font-size: 20px; font-weight: 800; }
.dm-desc { color: var(--muted); font-size: 13px; margin-top: 4px; }
.dm-sec { font-size: 12.5px; font-weight: 800; color: var(--text); margin: 14px 0 7px; }
.cart-item-info .cart-addons { display: block; color: var(--primary); font-weight: 700; }
.dm-size-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.dm-size-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 12px; background: rgba(255, 255, 255, .55);
}
.dsr-name { font-weight: 800; font-size: 14.5px; color: var(--text); }
.dsr-name small { color: var(--primary); font-weight: 800; margin-inline-start: 8px; font-size: 12.5px; }
.dm-sec.dm-addons-title { display: flex; align-items: baseline; justify-content: space-between; }
.oc-item .oc-addons { display: block; color: var(--primary); font-size: 11.5px; font-weight: 700; }
.dm-sec.dm-addons-title small { font-size: 10.5px; font-weight: 800; color: #b45309; }
.dm-addons { display: flex; flex-direction: column; gap: 7px; margin-bottom: 10px; }
.dm-addon {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 9px 12px; cursor: pointer; background: rgba(255, 255, 255, .55);
  transition: .12s; font-size: 14px;
}
.dm-addon:active { transform: scale(.99); }
.dm-addon input { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }
.dm-addon.on { border-color: var(--primary); background: #fff; box-shadow: 0 2px 12px rgba(234, 30, 39, .1); }
.dm-addon .da-name { flex: 1; font-weight: 700; color: var(--text); }
.dm-addon .da-price { color: var(--primary); font-weight: 900; font-size: 13px; white-space: nowrap; }
.dm-sizes { display: flex; gap: 8px; }
.dm-sizes .size-pill { padding: 9px 10px; text-align: center; }
.dm-sizes .size-pill small { display: block; font-size: 10px; color: var(--muted); font-weight: 700; }
.dm-sizes .size-pill.active small { color: var(--yellow-light); }
.dm-qty-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.dm-qty-row .qty-ctl .qty-btn { width: 36px; height: 36px; font-size: 18px; }
.dm-total { margin-inline-start: auto; font-size: 18px; font-weight: 800; color: var(--yellow); text-shadow: 0 0 16px rgba(253, 203, 8, .4); }
.dm-add {
  width: 100%; margin-top: 14px; border: none; cursor: pointer; font-family: inherit;
  background: linear-gradient(135deg, #ff3540, var(--primary)); color: #fff;
  font-weight: 800; font-size: 15px; padding: 14px; border-radius: 16px;
  box-shadow: 0 10px 28px rgba(234, 30, 39, .45); transition: .15s;
}
.dm-add:hover { filter: brightness(1.08); }

/* ---------- توست ---------- */
.toast {
  position: fixed; bottom: 90px; inset-inline: 0; margin-inline: auto; width: fit-content;
  max-width: 88vw; z-index: 120; background: var(--yellow); color: #1a120b;
  padding: 12px 22px; border-radius: 999px; font-weight: 800; font-size: 14px;
  box-shadow: 0 12px 28px rgba(80, 30, 10, .22), var(--glow-yellow); animation: toast-in .25s;
}
@keyframes toast-in { from { transform: translateY(15px); opacity: 0; } }

/* ---------- الفوتر ---------- */
.site-footer { background: var(--footer-bg, #17100a); border-top: 3px solid var(--primary); margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; padding-block: 42px 30px; }
.site-footer h3 { color: var(--primary); margin-bottom: 8px; }
.f-wordmark { width: 168px; display: block; margin-bottom: 6px; }
.site-footer h4 { color: var(--yellow); margin-bottom: 10px; font-size: 15px; }
.site-footer p { font-size: 13.5px; margin-bottom: 6px; color: var(--muted); }
.site-footer a { color: var(--text); }
.footer-bar {
  text-align: center; border-top: 1px solid var(--footer-line, rgba(255, 255, 255, .09));
  padding: 16px; font-size: 12.5px; color: var(--muted);
}

/* ---------- استجابة الشاشات ---------- */
@media (max-width: 960px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding-block: 34px 64px; gap: 20px; }
  .hero-food { max-width: 340px; }
  .hero-food img { height: 340px; }
  .hero-flip .hf-b { position: static; opacity: 1; animation: none; }
  .hero-flip .hf-a { position: absolute; inset: 0; height: 100%; animation: heroCycleOut 7s ease-in-out infinite; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 600px) {
  .container { padding-inline: 14px; }

  /* الهيدر */
  .header-inner { height: 62px; gap: 10px; }
  .brand-logo { width: 44px; height: 44px; border-radius: 13px; }
  .brand-text strong { font-size: 17px; }
  .brand-tag { font-size: 9px; letter-spacing: 1.4px; }
  .brand-tag [dir="ltr"] { letter-spacing: 1.8px; }
  .phone-btn { padding: 7px 12px; font-size: 12px; }
  .brand-text small { font-size: 10.5px; }
  .phone-btn {
    margin-inline-start: auto;      /* متشد على آخر الطرف */
    padding: 8px 13px; font-size: 13px;
    flex-shrink: 0; white-space: nowrap;
  }
  .brand { min-width: 0; }
  .brand-text { overflow: hidden; }

  /* الهيرو — متوسّط: شعار ← العنوان ← الوصف ← الزر ← الصورة ← الإحصائيات */
  .hero-inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 13px; padding-block: 24px 52px; text-align: center;
  }
  .hero-content { display: contents; }
  .hero-badge-brand { order: 1; margin-bottom: 0; font-size: 13px; padding: 6px 18px; letter-spacing: 2.5px; }
  .open-state { order: 2; margin: 0; font-size: 11.5px; padding: 6px 13px; }
  /* مؤشر «مفتوح/مقفول دلوقتي» */
.open-state {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text); border-radius: 999px;
  padding: 7px 15px; font-size: 12.5px; font-weight: 800;
  margin-inline-start: 10px; vertical-align: middle;
}
.open-state .os-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.open-state.open .os-dot { background: var(--green); box-shadow: 0 0 10px rgba(46, 158, 91, .8); animation: os-blink 2s infinite; }
.open-state.closed .os-dot { background: var(--primary); box-shadow: 0 0 10px rgba(234, 30, 39, .7); animation: os-blink 2s infinite; }
@keyframes os-blink { 50% { opacity: .45; } }
.open-state.closed { color: #ffc9c5; }

.brand-title { order: 2; font-size: clamp(40px, 14.5vw, 54px) !important; line-height: 1.1; }
  .brand-sub { order: 3; font-size: 13.5px; padding: 6px 15px; }
  .hero-actions { order: 4; margin-top: 4px; width: 100%; justify-content: center; }
  .hero-actions .btn-primary { min-width: 240px; padding: 14px 22px; font-size: 15.5px; }
  .hero-art { order: 5; width: 100%; }
  .hero-food { max-width: 340px; width: 100%; }
  .hero-food img { height: 300px; }
  .hero-wave { bottom: 4px; height: 30px; opacity: .4; }
  .hero-stats { order: 6; margin-top: 2px; gap: 7px; width: 100%; justify-content: center; }
  .hero-stats div {
    flex: 1; max-width: 108px; align-items: center; text-align: center;
    padding: 8px 6px; border-radius: 12px; gap: 1px;
  }
  .hero-stats strong { font-size: 17px; }
  .hero-stats span { font-size: 9px; line-height: 1.35; }

  /* المنيو */
  .menu-section { padding-block: 18px 110px; }
  .menu-head { gap: 10px; margin-bottom: 14px; }
  .mh-title { font-size: 27px; }
  .mh-title::after { width: 116px; height: 12px; margin-top: 4px; }
  .menu-count { order: 3; font-size: 11.5px; padding: 4px 11px; }
  .menu-head .menu-search-wrap { order: 4; flex-basis: 100%; max-width: none; }
  .menu-search { padding: 10px 16px; font-size: 16px; }
  .reorder-btn { font-size: 13.5px; padding: 11px 14px; }

  /* دوائر الأقسام: صف واحد بيتمرر جانبيًا */
  .chips {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    gap: 12px; margin-bottom: 14px; padding: 2px 2px 8px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chips-wrap::before, .chips-wrap::after {
    content: ""; position: absolute; top: 0; width: 44px; height: 86px;
    z-index: 1; pointer-events: none;
  }
  .chips-wrap::before { right: 0; background: linear-gradient(to left, var(--bg) 20%, transparent); }
  .chips-wrap::after { left: 0; background: linear-gradient(to right, var(--bg) 20%, transparent); }
  .chips-wrap.at-start::before, .chips-wrap.at-end::after { content: none; }
  .cat-chip { flex: 0 0 auto; }
  .cc-img { width: 64px; height: 64px; }
  .cc-name { font-size: 9.5px; max-width: 60px; }
  .add-btn { width: 38px; height: 38px; font-size: 20px; }

  /* كروت الأصناف: كارت أفقي مدمج */
  .menu-grid { grid-template-columns: 1fr; gap: 11px; }
  .dish { display: grid; grid-template-columns: 116px 1fr; }
  .dish-top { height: auto; min-height: 124px; font-size: 42px; border-bottom: none; border-inline-end: 1px solid var(--line); }
  .dish-body { padding: 10px 12px 12px; }
  .dish-name { font-size: 15px; }
  .dish-desc { font-size: 12px; margin-top: 2px; }
  .size-pills { margin-top: 6px; }
  .size-pill { padding: 8px 8px; font-size: 12px; }
  .dish-foot { margin-top: 9px; }
  .dish-price { font-size: 16.5px; }
  .add-btn { padding: 10px 15px; font-size: 13.5px; }

  /* نافذة الصنف: ورقة سفلية */
  .dish-backdrop { padding: 0; align-items: end; }
  .dish-modal { width: 100%; max-height: 94vh; border-radius: 24px 24px 0 0; border-bottom: none; }
  .dm-photo { height: 190px; }

  /* درج السلة: بعرض الشاشة */
  .cart-drawer { width: 100%; }
  .drawer-foot { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px) + 56px); }
  .cart-item .qty-ctl .qty-btn { width: 31px; height: 31px; }

  /* نافذة الطلب: ورقة سفلية + خطوط أكبر */
  .modal-backdrop { padding: 0; align-items: end; }
  .modal { width: 100%; max-height: 94vh; border-radius: 22px 22px 0 0; border-bottom: none; }
  .modal-body input, .modal-body textarea, .menu-search { font-size: 16px; }
  .modal-body input, .modal-body textarea { padding: 12px 14px; }
  .radio-pill span { padding: 10px 16px; font-size: 14px; }

  /* الفوتر */
  .footer-grid { padding-block: 28px 22px; }
}

/* على شاشات التاتش: نشيل تأثيرات الهوفر اللي بتعلق */
@media (hover: none) {
  .dish:hover { transform: none; }
  .dish:hover .dish-top img { transform: none; }
}

/* استجابة أسرع للمس + من غير وميض أزرار */
button, .chip, .size-pill, .radio-pill, .add-btn, .qty-btn, .bn-item {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}


/* ═══════════ نسخة التطبيق (زي تطبيقات المطاعم) ═══════════ */
.zonebar, .mode-toggle, .brand-banners, .h-section, .account-sec, .app-cta, .open-slot { display: none; }

.cart-empty svg { width: 118px; height: auto; margin: 4px auto 10px; display: block; opacity: .85; }
.cart-empty h4 { font-size: 17px; color: var(--text); margin-bottom: 4px; }
.cart-empty p { font-size: 13px; margin-bottom: 16px; }
.cart-start-btn {
  display: inline-block; border: none; cursor: pointer; font-family: var(--font-display);
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 800;
  padding: 12px 36px; border-radius: 999px; box-shadow: var(--glow-red);
}

/* شيت اختيار المنطقة (أسماء فقط) */
.zone-sheet-backdrop {
  position: fixed; inset: 0; z-index: 130; background: rgba(46, 20, 8, .5);
  display: none; align-items: end; justify-content: center;
}
.zone-sheet-backdrop.open { display: flex; }
.zone-sheet {
  background: #fff; width: min(520px, 100%); max-height: 80vh;
  border-radius: 22px 22px 0 0; display: flex; flex-direction: column;
  animation: sheet-up .25s ease;
}
@keyframes sheet-up { from { transform: translateY(46px); opacity: 0; } }
.zs-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-weight: 800; font-family: var(--font-display); color: var(--primary); font-size: 16px;
}
.zs-head button { border: 1px solid var(--line); background: #fff; width: 30px; height: 30px; border-radius: 9px; cursor: pointer; color: var(--text); }
.zs-filter {
  margin: 10px 18px 6px; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-family: inherit; font-size: 15px; background: #fff; color: var(--text);
}
.zs-list { overflow-y: auto; padding: 6px 12px 20px; }
.zs-item {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  text-align: start; background: none; border: none; border-bottom: 1px dashed var(--line);
  padding: 12px 8px; font-family: inherit; font-size: 14.5px; font-weight: 700;
  color: var(--text); cursor: pointer;
}
.zs-item:active { background: rgba(253, 203, 8, .12); }

@media (max-width: 860px) {
  /* الهيرو القديم يحل محله البانر */
  .hero { display: none; }

  /* شريط المنطقة + وقت الوصول */
  .zonebar {
    display: flex; gap: 8px; align-items: center; justify-content: space-between;
    padding: 9px 0 11px; border-top: 1px dashed var(--line); margin-top: 10px;
  }
  .zb-zone {
    display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0;
    background: #fff; border: 1.5px solid rgba(209, 143, 0, .45); color: var(--text);
    padding: 8px 11px; border-radius: 999px; font-weight: 800; font-size: 12px;
    font-family: inherit; cursor: pointer; box-shadow: 0 2px 8px rgba(80, 30, 10, .08);
    text-align: start;
  }
  .zb-zone span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .zb-eta {
    background: rgba(253, 203, 8, .18); border: 1px solid rgba(209, 143, 0, .35);
    color: #9a6b00; padding: 8px 10px; border-radius: 999px;
    font-size: 10.5px; font-weight: 800; white-space: nowrap;
  }

  /* تبديل توصيل/استلام */
  .mode-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: -20px 14px 16px; position: relative; z-index: 3; }
  .mt-pill {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 7px;
    background: #fff; border: 2px solid var(--line); border-radius: 999px;
    padding: 12px 8px; font-weight: 800; font-size: 14px; color: var(--muted);
    font-family: inherit; cursor: pointer;
  }
  .mt-pill.on { border-color: var(--primary); background: var(--primary); color: #fff; }
  .mt-pill.on::after {
    content: "✓"; position: absolute; top: -7px; inset-inline-end: 13px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 12px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2); z-index: 2;
  }

  /* بانر البراند */
  .brand-banners { display: block; margin: 0 0 18px; }
  .open-slot { display: flex; justify-content: center; margin-bottom: 10px; }
  .bb-frame {
    background: #fff; border-radius: 20px; overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .bb-track { display: flex; direction: ltr; transition: transform .45s ease; }
  .bb-slide {
    flex: 0 0 100%; display: grid; grid-template-columns: 124px 1fr;
    background: #fff; min-height: 138px; cursor: pointer;
  }
  .bb-slide img { width: 100%; height: 100%; min-height: 138px; object-fit: cover; display: block; }
  .bb-emoji { display: flex; align-items: center; justify-content: center; font-size: 40px; background: rgba(253, 203, 8, .12); }
  .bb-info { padding: 10px 12px 12px; display: flex; flex-direction: column; min-width: 0; text-align: start; direction: rtl; }
  .bb-name { font-weight: 800; font-size: 13.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bb-desc {
    font-size: 10.5px; color: var(--muted); margin-top: 2px; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .bb-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .bb-price { color: var(--primary); font-family: var(--font-display); font-size: 15px; }
  .bb-slide .add-btn { width: 38px; height: 38px; font-size: 20px; position: static; flex: 0 0 auto; }
  .bb-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 2px; }
  .bb-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--line); border: none; padding: 0; cursor: pointer; }
  .bb-dot.on { width: 22px; background: var(--primary); }
  .app-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 12px; border: none; cursor: pointer;
    background: linear-gradient(135deg, #ff3540, var(--primary)); color: #fff;
    font-family: var(--font-display); font-size: 16px; font-weight: 800;
    padding: 14px; border-radius: 16px; box-shadow: var(--glow-red);
  }

  /* أقسام افقية: مقترح لك / جديد عندنا */
  .h-section { display: block; margin: 2px 0 18px; }
  .h-title { font-size: 17px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
  .h-title small { font-size: 11px; color: var(--muted); font-weight: 700; }
  .new-flag { background: var(--primary); color: #fff; font-size: 10px; padding: 3px 9px; border-radius: 999px; font-family: var(--font-display); }
  .h-row {
    display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .h-row::-webkit-scrollbar { display: none; }
  .h-wrap { position: relative; }
  .h-arrow {
    position: absolute; top: 52px; transform: translateY(-50%); z-index: 2;
    width: 30px; height: 30px; border-radius: 50%; padding: 0;
    background: #fff; border: 1px solid var(--line); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(60, 20, 5, .18); cursor: pointer;
  }
  .h-arrow[hidden] { display: none; }
  .h-arrow:active { transform: translateY(-50%) scale(.9); }
  .ha-prev { right: -5px; }
  .ha-next { left: -5px; }
  /* الموبايل: نفس شكل الكروت القديمة بالظبط (عمودي، سعر أحمر، زرار 30px، خلفية بيضا)
     — display:flex بيألغ قواعد الكارت الأفقي بتاعة صفحة المنيو اللي بتاخدها بنفس الكلاس */
  .h-row .dish { flex: 0 0 150px; display: flex; flex-direction: column; background: #fff; border-radius: 16px; padding: 8px; position: relative; box-shadow: 0 4px 14px rgba(80, 30, 10, .07); }
  .h-row .dish-top { height: 96px; min-height: 0; font-size: 44px; border: none; border-radius: 12px; }
  .h-row .dish-body { padding: 5px 4px 2px; }
  .h-row .dish-name { font-weight: 800; font-size: 12.5px; margin-top: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .h-row .dish-desc, .h-row .size-pills { display: none; }
  .h-row .dish-foot { margin-top: 6px; }
  .h-row .dish-price { color: var(--primary); font-family: var(--font-display); font-size: 14px; margin-top: 2px; text-shadow: none; }
  .h-row .dish-price small { font-size: 10px; }
  .h-row .dish .add-btn { width: 30px; height: 30px; padding: 0; font-size: 17px; }
  .h-row .dish .qty-ctl { gap: 4px; }
  .h-row .dish .qty-btn { width: 26px; height: 26px; font-size: 13px; }
  .h-row .dish .qty-num { min-width: 16px; font-size: 13px; }

  /* تقليل الزحمة: الشرايح والواتساب لهم بدائل في الهيدر والبانر */
  .info-strip { display: none; }
  .wa-fab { display: none; }
  .mh-title { font-size: 24px; }
  .mh-title::after { width: 96px; height: 10px; }

  /* الأصناف صفوف زي التطبيق */
  #menu-grid { display: flex; flex-direction: column; gap: 10px; }
  #menu-grid .dish { display: grid; grid-template-columns: 104px 1fr; padding: 8px; }
  #menu-grid .dish-top { height: 104px; border-radius: 12px; }
  #menu-grid .dish-body { padding: 2px 4px 2px 10px; display: flex; flex-direction: column; }
  #menu-grid .dish-name { font-size: 14px; }
  #menu-grid .dish-desc {
    font-size: 11px; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
  }
  #menu-grid .dish-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  #menu-grid .dish-price { font-size: 15px; color: var(--primary); }
  #menu-grid .add-btn { width: 34px; height: 34px; font-size: 18px; }
  #menu-grid .qty-ctl { margin-inline-start: 0; }
  #menu-grid .dish-desc { font-size: 10.5px; }

  /* حسابي */
  .account-sec { display: block; margin-top: 26px; }
  .acc-title { font-size: 21px; color: var(--primary); margin-bottom: 12px; font-family: var(--font-display); }
  .acc-card {
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    padding: 14px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(80, 30, 10, .06);
  }
  .acc-card h4 { font-size: 14.5px; margin-bottom: 10px; color: var(--text); }
  .acc-card input {
    width: 100%; border: 1px solid var(--line); border-radius: 12px;
    padding: 10px 12px; font-family: inherit; font-size: 15px;
    margin-bottom: 8px; background: #fff; color: var(--text);
  }
  .acc-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 13px; padding: 5px 0; color: var(--muted); }
  .acc-row b { color: var(--text); }
  .acc-btn {
    width: 100%; border: none; cursor: pointer; font-family: inherit;
    background: linear-gradient(135deg, #ff3540, var(--primary)); color: #fff;
    font-weight: 800; font-size: 14px; padding: 12px; border-radius: 12px;
  }
  .acc-btn.alt { background: var(--yellow); color: #241009; box-shadow: var(--glow-yellow); }
}


/* ═══ أيقونات الهوية (بديل الإيموجي) ═══ */
.ic {
  width: 1.12em; height: 1.12em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.16em;
}
.bn-item i .ic { width: 21px; height: 21px; }
.bn-item.on .ic { stroke-width: 2.4; color: var(--primary); }
.acc-card h4 .ic { color: var(--primary); }
.site-footer p .ic { color: #b37800; width: 14px; height: 14px; }
.success-icon .ic { width: 56px; height: 56px; color: var(--green); stroke-width: 2.3; vertical-align: 0; }
.track-dot .ic { width: 19px; height: 19px; vertical-align: 0; }
.radio-pill .ic { color: var(--primary); }
.pay-note .ic, .secure-note .ic { color: #9a6b00; }
.secure-note .ic { width: 1em; height: 1em; }
.mt-pill .ic { width: 19px; height: 19px; }
.app-cta .ic { width: 20px; height: 20px; }
.hot-badge .ic, .dm-badge .ic { width: 12px; height: 12px; vertical-align: -1.5px; }
.zb-zone .ic { color: var(--primary); width: 14px; height: 14px; }
.zb-eta .ic { width: 13px; height: 13px; vertical-align: -.12em; }
.info-chip .ic { color: var(--primary); }
.icon-btn .ic { width: 16px; height: 16px; vertical-align: 0; }
.dm-add .ic { width: 18px; height: 18px; }
.bb-emoji { color: var(--primary); background: rgba(253, 203, 8, .12); }
.form-error .ic { color: #b3140d; }
.cart-head-btn .ic { width: 17px; height: 17px; }
.phone-btn .ic { width: 15px; height: 15px; }
.drawer-head h3 .ic { color: var(--primary); }
.modal-head h3 .ic { color: var(--primary); }
.zs-head .ic { color: var(--primary); }
.zone-info .ic { color: #9a6b00; }
.reorder-btn .ic { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════════════════
   تعديل الجزء العلوي فقط — زي الصورة المطلوبة
   (الهيدر الأحمر + شريط المنطقة + البحث)
   باقي الموقع زي النسخة الأصلية تمامًا
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: relative;
  background: linear-gradient(160deg, #f0342c 0%, var(--primary) 55%, #c8141c 100%);
  border-bottom: none;
  padding-bottom: 20px;
  box-shadow: 0 10px 26px rgba(180, 20, 15, .25);
}
/* الخط الأصفر العلوي القديم بيتشال */
.site-header::before { display: none; }
/* الموجة البيضاء تحت الأحمر اتشالت — كانت بتتداخل مع توصيل/استلام */
.site-header::after { display: none !important; }
/* أزرار توصيل/استلام: تحت الهيدر الأحمر بمسافة نظيفة — من غير تداخل */
.mode-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 2px 14px 14px; position: relative; z-index: 3;
}
/* شعار كريبي الأبيض + إخفاء الشعار الداكن */
.brand-wordmark { display: none; }
.brand-wordmark-w { display: block; width: 150px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .22)); }
.brand-text, .brand-logo { display: none; }
/* روابط الهيدر بيضاء */
.nav a { color: rgba(255, 255, 255, .92); }
.nav a:hover { color: #ffe9a8; }
/* زر التليفون وزر السلة: زجاج أبيض على الأحمر */
.phone-btn { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35); box-shadow: none; }
.phone-btn:hover { background: rgba(255, 255, 255, .28); }
.cart-head-btn { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .4); box-shadow: none; }
.cart-head-btn:hover { filter: brightness(1.08); }
/* شريط المنطقة: ظاهر دائمًا جوه الهيدر الأحمر */
.zonebar {
  display: flex; gap: 8px; align-items: center; justify-content: space-between;
  border-top: none; margin-top: 12px; padding: 0 0 4px;
}
.zb-zone { background: #fff; border: none; color: var(--text); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.zb-zone .ic { color: var(--primary); }
.zb-eta { background: rgba(255, 255, 255, .17); border: 1px solid rgba(255, 255, 255, .45); color: #fff; box-shadow: none; }
.zb-eta .ic { color: #fff; }
/* البحث: أبيض جوه الأحمر، ظاهر دائمًا */
.at-search { position: relative; z-index: 1; margin-top: 12px; }
.m-search {
  width: 100%; border: none; border-radius: 999px; padding: 13px 18px;
  font-family: inherit; font-size: 16px; background: #fff; color: var(--text);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16); outline: none;
}
.m-search::placeholder { color: var(--muted); }
/* البحث القديم جوه قسم المنيو يتخفي (البحث بقى في الهيدر) */
.menu-section .menu-search-wrap { display: none; }
/* شرائح البانر المنزلقة تتخفي — المنتجات تظهر فورًا بعد «مفتوح دلوقتي» */
.bb-frame, .bb-dots { display: none !important; }
.brand-banners { margin-bottom: 10px; }
/* الموبايل: هيدر مضغوط عشان المنتجات تظهر أقرب */
@media (max-width: 860px) {
  .site-header { padding-bottom: 20px; }
  .header-inner { padding-top: 10px; }
}

/* ── إصلاح نهائي: إخفاء العناصر اللي بتعمل شرائط/تداخل بصري ── */
/* زر «ثبّت التطبيق» الأحمر — كان بيظهر كشريط أحمر غريب تحت «مفتوح دلوقتي» */
.app-cta { display: none !important; }
/* قسم «مقترح لك» ببطاقاته — مش موجود في الشكل المطلوب */
.h-section { display: block !important; margin: 2px 0 18px; }
/* شريط معلومات الفرع الإضافي */
.info-strip { display: none !important; }
/* أزرار توصيل/استلام: تثبيت نهائي بمسافة نظيفة من غير أي تداخل مع الهيدر */
.mode-toggle {
  display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 6px 14px 14px !important; position: relative; z-index: 3;
}
/* ─── توصيل/استلام: تابلت + كمبيوتر (كانت أزرار browser خام قبل كده!) ─── */
@media (min-width: 861px) {
  .mode-toggle {
    display: flex !important;
    max-width: 540px; margin: 10px auto 20px !important;
    background: #fff; border: 2px solid var(--line); border-radius: 999px;
    padding: 5px; gap: 5px;
    box-shadow: 0 8px 24px rgba(180, 30, 20, .10);
  }
  .mt-pill {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    border: none; border-radius: 999px; background: transparent;
    padding: 13px 10px; font-size: 15.5px; font-weight: 800;
    font-family: inherit; cursor: pointer; color: var(--muted);
    transition: background .15s, color .15s, box-shadow .15s;
  }
  .mt-pill:hover:not(.on) { background: rgba(234, 30, 39, .07); color: var(--text); }
  .mt-pill .ic { width: 21px; height: 21px; }
  .mt-pill.on {
    background: linear-gradient(135deg, #ff4536, var(--primary) 60%, #c8141c);
    color: #fff;
    box-shadow: 0 6px 16px rgba(234, 30, 39, .35);
  }
}
/* الموجة البيضاء متشالة نهائيًا من الهيدر */
.site-header::after, .site-header::before { display: none !important; }

/* ═══════════ الصفحات المستقلة: السلة / البحث / الحساب ═══════════ */
.page-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0 14px; }
.page-head h1 { font-family: var(--font-display); font-size: 28px; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.page-head .ic { width: 22px; height: 22px; color: var(--primary); }
.page-head-sub { color: var(--muted); font-weight: 700; font-size: 13px; }

/* ---- السلة ---- */
/* عمود بعرض مريح في كل الاتجاهات (بورتريه/لاندسكيب/زوم) — السطر مش يمتد لحد ما الاسم يقص */
.cart-page { max-width: 620px; }
/* منع الزوم بالخطأ (دبل تابت) على أزرار السلة */
.cart-page button { touch-action: manipulation; }
.cart-empty-box { text-align: center; padding: 46px 16px; background: #fff; border: 1px dashed var(--line); border-radius: 20px; margin-top: 6px; }
.cart-empty-box svg { width: 110px; height: auto; margin: 0 auto 8px; display: block; opacity: .9; }
.cart-empty-box h4 { font-size: 18px; margin-bottom: 4px; }
.cart-empty-box p { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.cart-list { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 16px; box-shadow: 0 4px 14px rgba(80, 30, 10, .06); }
.cart-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cart-item:last-child { border-bottom: none; }
.cart-item-emoji { font-size: 30px; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(253, 203, 8, .14); border-radius: 14px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info strong { font-size: 15.5px; display: block; }
.cart-item-info small { color: var(--muted); font-size: 13px; }

.total-box { background: linear-gradient(135deg, #fff6e6, #fff); border: 1.5px solid rgba(209, 143, 0, .35); border-radius: 18px; padding: 16px; margin: 14px 0; }
.tb-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 14px; color: var(--muted); }
.tb-row b { color: var(--text); font-size: 14.5px; }
.tb-total { border-top: 2px dashed rgba(209, 143, 0, .4); margin-top: 6px; padding-top: 10px; }
.tb-total span { font-weight: 800; color: var(--text); font-size: 15.5px; }
.tb-total b { color: var(--primary); font-family: var(--font-display); font-size: 21px; }

.checkout-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-top: 14px; }
.checkout-form h3 { font-family: var(--font-display); color: var(--primary); font-size: 19px; margin-bottom: 12px; }
.cf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-bottom: 12px; }
.cf-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 11px; min-width: 0; }
.cf-field > span { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.cf-field input, .cf-field textarea, .cf-field select {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px;
  font-family: inherit; font-size: 15px; background: #fff; color: var(--text); outline: none; transition: .15s;
}
.cf-field input:focus, .cf-field textarea:focus, .cf-field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(234, 30, 39, .1); }
.zone-info { color: var(--green); font-weight: 700; }
.err-box { background: #ffe9e7; color: #b3121b; border: 1px solid #ffc9c5; border-radius: 12px; padding: 10px 13px; font-size: 13.5px; font-weight: 700; margin-bottom: 11px; }
.submit-btn {
  width: 100%; border: none; cursor: pointer; font-family: var(--font-display);
  background: linear-gradient(135deg, #ff3540, var(--primary)); color: #fff;
  font-size: 17px; font-weight: 800; padding: 14px; border-radius: 14px;
  box-shadow: var(--glow-red); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.submit-btn:hover { filter: brightness(1.08); }
.submit-btn:disabled { opacity: .6; cursor: wait; }
.cf-hint { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 9px; }

.cart-success { text-align: center; padding: 40px 16px; }
.cart-success svg { width: 110px; margin: 0 auto 10px; display: block; }
.cart-success h3 { font-family: var(--font-display); color: var(--green); font-size: 24px; margin-bottom: 6px; }
.cart-success p { color: var(--text); font-weight: 700; }
.cart-success .success-sub { color: var(--muted); font-weight: 500; font-size: 13px; margin: 6px 0 18px; }

/* ---- البحث ---- */
.search-page { padding-bottom: 90px; }
.search-page-input { font-size: 17px; padding: 14px 20px; }
.search-suggest h3 { font-family: var(--font-display); color: var(--yellow); font-size: 17px; margin: 4px 0 10px; }
.search-noresult { text-align: center; padding: 44px 16px; }
.search-noresult .ic.big { width: 44px; height: 44px; color: var(--muted); margin: 0 auto 8px; display: block; }
.search-noresult h3 { font-size: 18px; margin-bottom: 4px; }
.search-noresult p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }

/* ---- حسابي ---- */
.account-page { padding-bottom: 90px; }
.account-page .acc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin-bottom: 13px; box-shadow: 0 4px 14px rgba(80, 30, 10, .06); }
.account-page .acc-card h4 { font-size: 15px; margin-bottom: 10px; color: var(--text); display: flex; align-items: center; gap: 7px; }
.account-page .acc-card input, .account-page .acc-card textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 11px 13px; font-family: inherit; font-size: 15px; margin-bottom: 9px;
  background: #fff; color: var(--text); outline: none;
}
.account-page .acc-card input:focus, .account-page .acc-card textarea:focus { border-color: var(--primary); }
.account-page .acc-btn {
  width: 100%; border: none; cursor: pointer; font-family: var(--font-display);
  background: linear-gradient(135deg, #ff3540, var(--primary)); color: #fff;
  font-weight: 800; font-size: 15px; padding: 12px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.account-page .acc-btn .ic { color: #fff; }
.acc-saved { color: var(--green); font-weight: 800; font-size: 12.5px; display: block; text-align: center; margin-top: 7px; }
.acc-row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 5px 0; color: var(--muted); }
.acc-row b { color: var(--text); }
.acc-note { color: var(--muted); font-size: 12.5px; margin: 8px 0 12px; }
.acc-call {
  display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text);
  font-weight: 800; font-size: 14.5px; padding: 10px 12px; border: 1.5px solid var(--line);
  border-radius: 12px; margin-bottom: 8px; background: #fff;
}
.acc-call .ic { color: var(--primary); }

/* ═══════════ الصفحة الرئيسية — ترحيب + استكشف ═══════════ */
.home-page { padding-bottom: 90px; }
.home-search-link {
  display: flex; align-items: center; gap: 9px; text-decoration: none;
  color: var(--muted); cursor: text;
}
.home-search-link .ic { color: var(--primary); width: 17px; height: 17px; }
.welcome-sec { text-align: center; padding: 22px 8px 6px; }
.open-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(46, 158, 91, .12); border: 1px solid rgba(46, 158, 91, .35);
  color: var(--green); border-radius: 999px;
  padding: 7px 15px; font-size: 12.5px; font-weight: 800;
  margin-bottom: 14px;
}
.open-pill.closed { background: rgba(234, 30, 39, .1); border-color: rgba(234, 30, 39, .35); color: var(--primary); }
.open-pill .os-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: os-blink 2s infinite; }
.open-pill.closed .os-dot { background: var(--primary); }
.welcome-title { font-family: var(--font-display); font-size: clamp(28px, 7vw, 40px); color: var(--text); margin-bottom: 4px; }
.welcome-sub { color: var(--muted); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.explore-sec { margin-top: 18px; }
.sec-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 0 12px; }
.sec-title h2 { font-family: var(--font-display); font-size: 20px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.sec-title h2 .ic { color: var(--primary); width: 19px; height: 19px; }
.sec-more {
  color: var(--primary); font-weight: 800; font-size: 12.5px; text-decoration: none;
  display: flex; align-items: center; gap: 3px;
}
.sec-sub { color: var(--muted); font-size: 11.5px; font-weight: 700; }

/* كروت أفقية (مقترح لك / الأكثر مبيعًا) */
.hc-foot .add-btn { width: 30px; height: 30px; font-size: 17px; position: static; }
.hc-foot .qty-ctl { gap: 4px; }
.hc-foot .qty-btn { width: 26px; height: 26px; font-size: 13px; }
.hc-foot .qty-num { min-width: 16px; font-size: 13px; }

/* تبويبات المنيو */
.chips.tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 2px 2px 10px; scrollbar-width: none; margin-bottom: 16px; }
.chips.tabs::-webkit-scrollbar { display: none; }
.chips.tabs .cat-chip { flex: 0 0 auto; }

/* البحث الشائع */
.pop-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.pop-chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--text);
  border-radius: 999px; padding: 8px 16px; font-family: inherit; font-weight: 800;
  font-size: 13px; cursor: pointer; transition: .15s;
}
.pop-chip:hover, .pop-chip:active { border-color: var(--primary); color: var(--primary); background: #fff7f6; }

/* حسابي — قائمة الحساب */
.acc-hello { text-align: center; padding: 18px 8px 6px; }
.acc-hello h2 { font-family: var(--font-display); font-size: 26px; color: var(--text); }
.acc-hello p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.acc-menu { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 6px 0; margin: 14px 0; box-shadow: 0 4px 14px rgba(80, 30, 10, .06); }
.acc-menu-item {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  color: var(--text); font-weight: 800; font-size: 14px;
  padding: 13px 16px; border-bottom: 1px solid rgba(150, 60, 30, .08);
}
.acc-menu-item:last-child { border-bottom: none; }
.acc-menu-item i { font-style: normal; font-size: 18px; width: 24px; text-align: center; }
.acc-menu-item span {
  margin-inline-start: auto; color: var(--muted); font-size: 11.5px; font-weight: 700;
}
.acc-menu-item:hover { background: #fffaf3; }

/* ═══════════ أيقونات SVG بدل الإيموجي ═══════════ */
/* أيقونات قائمة الحساب */
.acc-menu-item .ic { width: 21px; height: 21px; color: var(--primary); flex: none; }
.acc-saved .ic { width: 14px; height: 14px; vertical-align: -2px; }
/* أيقونة الصنف الافتراضية (لما مفيش صورة) */
.dish-fallback { width: 42px; height: 42px; color: var(--yellow); margin: auto; }
.dish-top .dish-fallback { display: block; margin: 0 auto; }
.dish-fallback.big { width: 64px; height: 64px; }
/* بديل صورة الكارت الأفقي */
.h-emoji { width: 100%; height: 96px; display: grid; place-items: center; background: rgba(253, 203, 8, .12); border-radius: 12px; }
.h-emoji .ic { width: 38px; height: 38px; color: var(--yellow); }
/* أيقونة السلة */
.cart-item-emoji { font-size: 30px; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(253, 203, 8, .14); border-radius: 14px; }
.cart-item-emoji .ic { width: 26px; height: 26px; color: var(--primary); }
/* عنوان قسم بأيقونة */
.sec-title h2 .ic, .search-suggest h3 .ic { color: var(--primary); width: 18px; height: 18px; vertical-align: -3px; }
.search-suggest h3 { display: flex; align-items: center; gap: 6px; }
/* تلميح الدفع */
.cf-hint .ic { width: 14px; height: 14px; color: var(--green); vertical-align: -2px; }

/* ═══════════ الأقسام في الرئيسية — دوائر بالصور زي تطبيقات الطلبات ═══════════ */
.home-page .chips {
  display: flex; gap: 14px; flex-wrap: nowrap; overflow-x: auto;
  justify-content: flex-start; padding: 4px 2px 12px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.home-page .chips::-webkit-scrollbar { display: none; }
.home-page .cat-chip {
  flex: 0 0 auto; width: 84px; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: none; padding: 0; cursor: pointer;
}
.home-page .cc-img {
  width: 72px; height: 72px; border-radius: 50%; overflow: hidden;
  border: 2.5px solid rgba(209, 143, 0, .45); background: #fff;
  box-shadow: 0 4px 12px rgba(80, 30, 10, .12);
  transition: .15s; display: block;
}
.home-page .cat-chip:hover .cc-img { border-color: var(--primary); transform: translateY(-2px); }
.home-page .cc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-page .cc-name {
  font-size: 11px; font-weight: 800; color: var(--text);
  text-align: center; line-height: 1.3; max-width: 84px;
  font-family: var(--font-display); letter-spacing: .3px;
}

.addr-sub .cf-field { margin-bottom: 0; }
.addr-sub .cf-field > span b { color: var(--primary); }

/* ═══════════ Explore Menu — كروت الأقسام أفقية (الرئيسية) ═══════════ */
.explore-head .explore-titles { display: flex; flex-direction: column; gap: 2px; }
.explore-head .view-all { font-size: 14.5px; color: var(--yellow); }
.home-page .explore-row { gap: 12px; padding: 6px 2px 10px; }
.explore-chip {
  flex: 0 0 auto; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(150deg, #fff8ea 0%, #fff0d3 100%);
  border: 1px solid rgba(209, 143, 0, .3);
  border-radius: 20px; padding: 11px 18px 11px 13px;
  min-width: 256px; max-width: 272px;
  text-decoration: none; box-shadow: 0 3px 10px rgba(80, 30, 10, .08);
  transition: transform .15s ease, box-shadow .15s ease; scroll-snap-align: start;
}
.explore-chip:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(209, 143, 0, .2); }
.explore-chip .cc-img {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none;
  border: 2.5px solid rgba(209, 143, 0, .5); background: #fff; display: block;
}
.explore-chip .cc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.explore-chip .cc-name {
  font-family: var(--font-display); font-size: 15.5px; letter-spacing: .3px;
  color: var(--text); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 128px; /* لازم نتجاوز الـ max-width بتاع القاعدة الأساسية (76px) */
}
/* اسم طويل → سطرين بخط أصغر عشان التوزان بين الأقسام */
.explore-chip .cc-name.long {
  font-size: 12.5px;
  line-height: 1.25;
  letter-spacing: .2px;
  white-space: normal;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* نفس المعالجة لأقسام صفحة المنيو (تابلت + كمبيوتر) */
@media (min-width: 861px) {
  .cat-chip .cc-name.long {
    font-size: 9.5px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    max-width: 78px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.home-page .chips-wrap:has(.explore-row)::after { bottom: 8px; }

/* ═══════════ سهم الأقسام — يدل إن في أقسام تانية ═══════════ */
.home-page .chips-wrap { position: relative; }
.home-page .chips-scroll-btn {
  position: absolute; top: 24px; left: -2px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--line);
  color: var(--primary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(80, 30, 10, .22);
  transition: .18s;
  transform: rotate(-90deg); /* سهم لليسار (اتجاه التمرير في RTL) */
}
.home-page .chips-scroll-btn .ic { width: 19px; height: 19px; }
.home-page .chips-scroll-btn:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.home-page .chips-scroll-btn.pulse { animation: chips-pulse 1.8s ease-in-out infinite; }
@keyframes chips-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(80,30,10,.2); }
  50% { box-shadow: 0 6px 22px rgba(234, 30, 39, .55); }
}
/* تدرج شفاف على الحافة عشان يبان إن في محتوى مخفي */
.home-page .chips-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 26px; left: -2px; width: 46px;
  background: linear-gradient(to left, rgba(255, 250, 243, 0), var(--bg) 88%);
  pointer-events: none; z-index: 4;
  border-radius: 0 12px 12px 0;
}
.home-page .chips-wrap.at-end::after,
.home-page .chips-scroll-btn[hidden] { display: none; }

/* ═══════════ Redeem and save — بطاقة الولاء الذهبية ═══════════ */
.redeem-sec { margin-top: 24px; }
.redeem-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.redeem-card {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--text);
  background: linear-gradient(150deg, #fff6df 0%, #ffe9b8 55%, #fcd77f 100%);
  border: 1.5px solid rgba(209, 143, 0, .5);
  border-radius: 18px; padding: 15px 13px;
  box-shadow: 0 6px 18px rgba(209, 143, 0, .18);
  transition: .16s; position: relative; overflow: hidden;
}
.redeem-card::after {
  content: ""; position: absolute; top: -22px; left: -22px;
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(255, 255, 255, .4);
}
.redeem-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(209, 143, 0, .3); }
.rc-icon {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(209, 143, 0, .3);
}
.rc-icon .ic { width: 24px; height: 24px; color: #b37800; }
.rc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rc-info strong { font-family: var(--font-display); font-size: 15.5px; color: #8a5a00; letter-spacing: .3px; }
.rc-info span { font-size: 11px; color: #a87a1e; font-weight: 700; }
.rc-arrow { width: 16px; height: 16px; color: #b37800; flex: none; transform: rotate(-90deg); }
@media (max-width: 380px) {
  .redeem-cards { grid-template-columns: 1fr; }
}
