﻿/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --surface: #fdf9f4;
  --surface-low: #f6f3ea;
  --surface-high: #ffffff;
  --category-card-bg: #ffffff;
  --surface-strong: #ebe5da;
  --primary: #94442e;
  --primary-light: #b35c44;
  --accent: #be7a3d;
  --text: #1c1c19;
  --text-muted: #5f554e;
  --text-subtle: #76685f;
  --border: #e5dccf;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 10px 24px rgba(28, 28, 25, 0.06);
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-ar: "Zain", "Cairo", sans-serif;
  --header-height: 88px;
  --container-max: 1280px;
}

html, body { width: 100%; }
[hidden] { display: none !important; }
body {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
body.sheet-open, body.detail-open, body.nav-open { overflow: hidden; }
.js .seo-route-content { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.header {
  background: rgba(253, 249, 244, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 220, 207, 0.65);
  position: sticky;
  top: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  z-index: 50;
}
.header.is-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.nav-container {
  align-items: center;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  min-height: var(--header-height);
  height: auto;
  margin: 0 auto;
  max-width: var(--container-max);
  padding: 16px 32px;
}

.nav-search-wrap {
  grid-column: 1 / -1;
  min-height: 64px;
  min-width: 0;
  opacity: 1;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  visibility: visible;
}

.nav-search-wrap.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.nav-brand-wrap { align-items: center; display: flex; gap: 10px; min-width: 0; }
.menu-btn {
  align-items: center;
  background: var(--surface-low);
  border: 0;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-size: 17px;
  height: 36px;
  justify-content: center;
  width: 36px;
  display: none;
}

.logo { align-items: center; display: flex; gap: 10px; min-width: 0; }
.logo-icon {
  align-items: center;
  background: var(--primary);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links { align-items: center; display: none; gap: 40px; justify-self: center; }
.nav-links a { color: #5e5a57; font-size: 16px; font-weight: 500; }
.nav-links a.active, .nav-links a:hover { color: var(--primary); }

.lang-btn {
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  min-height: 42px;
  padding: 8px 18px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  width: auto;
  justify-self: end;
  flex: 0 0 auto;
}

.mobile-nav-overlay {
  background: rgba(20, 20, 20, 0.36);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.2s ease;
  z-index: 85;
}

.mobile-nav-drawer {
  background: #ffffff;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  bottom: 0;
  left: auto;
  right: 0;
  max-width: 320px;
  padding: 18px;
  position: fixed;
  top: 0;
  transform: translateX(102%);
  transition: transform 0.24s ease;
  width: min(92vw, 360px);
  height: 100dvh;
  z-index: 86;
}

.mobile-nav-head { align-items: center; display: flex; justify-content: space-between; }
.mobile-nav-head h3 { font-size: 1rem; font-weight: 800; }
.mobile-nav-links { display: grid; gap: 10px; margin-top: 18px; }
.mobile-nav-links a, .mobile-nav-lang, .mobile-nav-link-btn {
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}
.mobile-nav-link-btn {
  cursor: pointer;
}
.mobile-nav-links a.active { border-color: var(--primary); color: var(--primary); }
.mobile-nav-lang { cursor: pointer; }
body.nav-open .mobile-nav-overlay { opacity: 1; pointer-events: auto; }
body.nav-open .mobile-nav-drawer { transform: translateX(0); }

body.rtl .mobile-nav-drawer {
  left: 0;
  right: auto;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transform: translateX(-102%);
}

body.rtl.nav-open .mobile-nav-drawer { transform: translateX(0); }

.container { margin: 0 auto; max-width: 1320px; padding: 18px 32px 120px; }
main.container { flex: 1 0 auto; width: 100%; }

.search-wrap {
  align-items: center;
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  margin: 0 auto 24px;
  max-width: 760px;
  padding: 8px;
}

.nav-search {
  margin: 0;
  max-width: none;
}

.search-icon { align-items: center; color: var(--text-subtle); display: inline-flex; font-size: 17px; justify-content: center; margin-left: 8px; }
.search-leading-btn {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--text-subtle);
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  width: 30px;
}
.search-wrap input { background: transparent; border: 0; color: var(--text); font-family: var(--font-body); font-size: 15px; min-width: 0; outline: none; width: 100%; }
.search-wrap input::placeholder { color: var(--text-subtle); }
.search-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
}

.view-switcher { margin: 0 auto 18px; max-width: 760px; }
.view-switcher-inner { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.view-label { color: var(--text-subtle); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.view-toggle { background: var(--surface-low); border: 1px solid var(--border); border-radius: 999px; display: inline-flex; padding: 4px; }
.view-toggle-btn {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
}
.view-toggle-btn.active { background: var(--primary); color: #fff; }

.categories-wrap {
  background: rgba(253, 249, 244, 0.9);
  backdrop-filter: blur(8px);
  margin: 0 -20px 24px;
  padding: 10px 20px;
  position: sticky;
  top: var(--header-height);
  z-index: 40;
}
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 130px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.categories::-webkit-scrollbar { width: 7px; }
.category {
  background: var(--surface-low);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  white-space: nowrap;
}
.category.active { background: var(--primary); color: #fff; }

.category-landing {
  display: grid;
  gap: 0;
}

.landing-head {
  margin-bottom: 20px;
  margin-top: 24px;
}

.landing-eyebrow {
  color: #a45b3f;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.landing-head h1,
.landing-head h2 {
  color: #2a1b16;
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 640px;
}

.landing-head p {
  color: #6e6662;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: clamp(30px, 2.7vw, 38px);
  margin-top: 20px;
  max-width: 720px;
}

.category-tile-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
  padding-bottom: 8px;
}

.offers-callout-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
}

.offers-callout {
  align-items: center;
  background: linear-gradient(135deg, #fff3e7, #f9ecdf);
  border: 1px solid #ead9c7;
  border-radius: 18px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
  min-height: 52px;
  padding: 10px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.offers-callout:hover {
  box-shadow: 0 8px 20px rgba(148, 68, 46, 0.12);
  transform: translateY(-2px);
}

.offers-kicker {
  color: #a45b3f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offers-title {
  color: #2a1b16;
  font-size: 15px;
  font-weight: 700;
}
.offers-callout-card {
  align-items: center;
  justify-content: center;
  min-height: 56px;
  position: relative;
}
.offers-icon {
  align-items: center;
  background: rgba(148, 68, 46, 0.1);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  flex: 0 0 auto;
  height: 26px;
  justify-content: center;
  margin-right: 8px;
  position: relative;
  width: 26px;
}
.offers-icon::before,
.offers-icon::after {
  content: "";
  position: absolute;
}
.offers-icon-offers::before {
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 8px 8px 0 var(--primary);
  height: 4px;
  left: 7px;
  top: 7px;
  width: 4px;
}
.offers-icon-offers::after {
  border: 1.8px solid var(--primary);
  border-radius: 999px;
  height: 16px;
  inset: 5px;
  width: 16px;
}
.offers-icon-specials::before {
  background: var(--primary);
  border-radius: 999px;
  box-shadow:
    0 -7px 0 var(--primary),
    0 7px 0 var(--primary),
    -7px 0 0 var(--primary),
    7px 0 0 var(--primary);
  height: 4px;
  inset: 11px;
  width: 4px;
}
.offers-icon-specials::after {
  border-left: 1.8px solid var(--primary);
  border-top: 1.8px solid var(--primary);
  height: 10px;
  left: 8px;
  top: 8px;
  transform: rotate(45deg);
  width: 10px;
}

.category-tile {
  align-items: center;
  background: var(--category-card-bg);
  border: 1px solid #efe8e1;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 12px 24px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 188px;
  justify-content: space-between;
  min-height: 0px;
  padding: 18px 16px 0;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.category-tile:hover { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05), 0 16px 30px rgba(0, 0, 0, 0.06); }

.category-tile-label {
  color: #241915;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 140px;
  margin-top: 6px;
}

.category-food-image {
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.2)) drop-shadow(0 20px 28px rgba(0, 0, 0, 0.12));
  height: 104px;
  margin-top: 2px;
  object-fit: contain;
  width: calc(100% + 10px);
  max-width: none;
}

.product-browser {
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
  overflow-x: clip;
}

.breadcrumb-wrap {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.browser-helper {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: -4px;
}

.breadcrumb-link {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0;
  text-decoration: none;
}
.breadcrumb-link::before { content: "\2190  "; }
.breadcrumb-link:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.crumb-sep {
  color: var(--text-subtle);
  font-weight: 700;
}

.active-crumb {
  color: var(--primary);
  font-weight: 800;
}

.subcategory-wrap {
  margin: 0 -20px;
  padding: 0 20px;
  min-width: 0;
  position: sticky;
  top: calc(var(--header-height) + 6px);
  z-index: 38;
  background: var(--surface);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.subcategory-wrap.is-hidden { opacity: 0; pointer-events: none; transform: translateY(-10px); }
.header.is-hidden ~ main .subcategory-wrap { top: 8px; }

.subcategories {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
  max-width: 100%;
}

.subcategories::-webkit-scrollbar {
  display: none;
}

.menu-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.menu-grid[data-view="compact"] { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.menu-card {
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.menu-card[role="button"] { cursor: pointer; }
.menu-card:hover { box-shadow: 0 14px 28px rgba(28, 28, 25, 0.08); transform: translateY(-2px); }
.menu-img { aspect-ratio: 4 / 3; background: var(--surface-strong); object-fit: cover; width: 100%; }
.compact-card .menu-img {
  aspect-ratio: 1 / 0.82;
  max-height: 220px;
  object-position: center;
}
.menu-content { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px; }
.compact-content { gap: 10px; padding: 12px; }
.menu-head { align-items: start; display: flex; gap: 10px; justify-content: space-between; }
.menu-head h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.2em * 2);
}
.compact-head { flex-direction: column; gap: 2px; }
.compact-head h3 { font-size: 0.98rem; line-height: 1.15; }

.price-display { color: var(--primary); font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.price-stack { align-items: baseline; display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.price-current { color: var(--primary); font-weight: 800; }
.price-old { color: var(--text-subtle); font-size: 0.9em; text-decoration: line-through; }
.offer-badge {
  background: #ffe8de;
  border: 1px solid #f3c9b7;
  border-radius: 999px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 2px 7px;
  text-transform: uppercase;
}
.image-offer-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
}
.currency-symbol {
  display: inline-block;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-right: 0.32em;
  vertical-align: -0.03em;
}
.price-display, .detail-price, #selectedTotal { direction: ltr; unicode-bidi: isolate; }

.compact-variation-prices { display: grid; gap: 6px; }
.variation-price-chip {
  align-items: center;
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 7px 9px;
  width: 100%;
}
.variation-price-chip span { color: var(--text-muted); font-size: 0.78rem; font-weight: 700; }
.variation-price-chip strong { color: var(--primary); font-size: 0.82rem; display: inline-flex; gap: 6px; align-items: center; }
.chip-price-old { color: var(--text-subtle); font-weight: 700; text-decoration: line-through; }
.chip-price-new { color: var(--primary); font-weight: 800; }
.variation-price-chip.active { border-color: var(--primary); background: var(--primary); }
.variation-price-chip.active span,
.variation-price-chip.active strong,
.variation-price-chip.active .chip-price-new,
.variation-price-chip.active .currency-symbol { color: #fff; }
.variation-price-chip.active .chip-price-old { color: rgba(255,255,255,0.82); }

.desc { color: var(--text-muted); font-size: 0.92rem; }
.detail-seo-link {
  color: var(--primary);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.menu-foot { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-top: auto; }
.variations { display: flex; flex-wrap: wrap; gap: 6px; }
.variation-btn {
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 7px 10px;
}
.variation-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.variation-btn.active .currency-symbol { color: #fff; }

.menu-list-item { display: grid; grid-template-columns: 164px 1fr; gap: 0; }
.menu-img-wrap { position: relative; }
.list-image-wrap { position: relative; }
.list-img { height: 100%; max-height: 220px; min-height: 140px; }
.list-content { gap: 8px; }
.image-dots { display: flex; gap: 6px; left: 10px; position: absolute; bottom: 10px; }
.image-dot {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(148,68,46,0.45);
  border-radius: 50%;
  height: 8px;
  width: 8px;
  cursor: pointer;
}
.image-dot.active { background: var(--primary); border-color: var(--primary); }
.fade-in { animation: imgFade 0.18s ease-out; }
.menu-img.img-switching { opacity: 0.72; transition: opacity 0.16s ease; }
@keyframes imgFade { from { opacity: .68; } to { opacity: 1; } }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--stagger, 0) * 20ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.add-btn { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border: 0; border-radius: 999px; color: #fff; cursor: pointer; font-size: 13px; font-weight: 700; padding: 10px 16px; }
.add-icon { font-size: 16px; line-height: 1; margin-right: 6px; }
.add-btn-block {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}
.compact-card .menu-foot,
.compact-card .menu-foot .add-btn { width: 100%; }
.empty-state {
  background: var(--surface-high);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  justify-self: stretch;
  min-height: 320px;
  padding: 30px 18px;
  text-align: center;
  grid-column: 1 / -1;
  width: 100%;
}
.empty-state h3 { color: var(--text); font-size: 1rem; margin-bottom: 6px; }

.selected-bar {
  align-items: center;
  background: #1c1c19;
  border: 0;
  border-radius: 999px;
  bottom: 16px;
  color: #fff;
  cursor: pointer;
  display: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  justify-content: space-between;
  left: 50%;
  max-width: 420px;
  padding: 14px 18px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  z-index: 80;
}
.selected-bar.is-visible { display: flex; }
.selection-copy { color: var(--text-muted); font-size: 13px; padding-top: 10px; }
.selection-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.selection-row {
  align-items: center;
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
}
.selection-row p { color: var(--text-muted); font-size: 13px; margin-top: 3px; }
.selection-qty { align-items: center; display: inline-flex; gap: 8px; }
.selection-qty button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  height: 28px;
  justify-content: center;
  width: 28px;
}
.site-footer {
  border-top: 1px solid rgba(229, 220, 207, 0.75);
  flex-shrink: 0;
  padding: 10px 16px 14px;
  text-align: center;
}
.site-footer a {
  align-items: center;
  color: var(--text-muted);
  display: inline-flex;
  font-size: 12px;
  gap: 8px;
  font-weight: 600;
}
.site-footer a:hover { color: var(--primary); }
.footer-flag {
  height: 14px;
  width: 20px;
}

.sheet-overlay {
  background: rgba(20, 20, 20, 0.4);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.2s ease;
  z-index: 90;
}
.selection-sheet {
  background: var(--surface-high);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  left: 0;
  max-height: 80vh;
  padding: 18px;
  position: fixed;
  right: 0;
  transform: translateY(100%);
  transition: transform 0.24s ease;
  z-index: 91;
}
.detail-panel {
  background: #ffffff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  left: 0;
  max-height: 86vh;
  padding: 18px;
  position: fixed;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.24s ease;
  z-index: 92;
}
body.sheet-open .sheet-overlay { opacity: 1; pointer-events: auto; }
body.sheet-open .selection-sheet { transform: translateY(0); }
body.detail-open .sheet-overlay, body.detail-open .detail-panel { opacity: 1; pointer-events: auto; }
body.detail-open .detail-panel { transform: translateY(0); }

.sheet-head { align-items: center; display: flex; justify-content: space-between; }
.sheet-head h3 { font-size: 1.1rem; font-weight: 800; }
.sheet-close { background: var(--surface-low); border: 0; border-radius: 999px; cursor: pointer; font-size: 15px; height: 32px; width: 32px; }
.detail-content { display: grid; gap: 16px; margin-top: 14px; overflow-y: auto; }
.detail-hero img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  max-height: clamp(180px, 34vh, 320px);
  object-fit: cover;
  width: 100%;
}
.detail-price { margin-top: 10px; }
.detail-body { display: grid; gap: 14px; }
.detail-description { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.detail-section h4 { color: var(--text); font-size: 13px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.detail-variations { gap: 8px; }

.cart-hidden { display: none !important; }

@media (min-width: 560px) {
  .menu-grid[data-view="compact"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 720px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-grid[data-view="compact"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .category-tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .category-tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .lang-btn { display: inline-flex; align-items: center; }
  .mobile-nav-drawer, .mobile-nav-overlay { display: none; }
  .nav-container { grid-template-columns: auto 1fr auto; gap: 14px; }
  .menu-grid[data-view="compact"] { gap: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .menu-grid[data-view="compact"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .category-tile-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .category-tile-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 1440px) {
  .category-tile-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav-container {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 16px;
  }
  .nav-brand-wrap {
    min-width: 0;
    grid-column: 1;
  }
  .lang-btn {
    grid-column: 2;
    min-height: 36px;
    padding: 6px 12px;
    font-size: 13px;
    justify-self: end;
  }
  .nav-links {
    display: inline-flex;
    gap: 16px;
    grid-column: 1 / -1;
    justify-self: center;
  }
  .logo-text {
    font-size: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-search-wrap {
    grid-column: 1;
  }
  .nav-search .search-btn {
    padding: 9px 12px;
    font-size: 12px;
  }
  .product-browser .menu-grid[data-view="compact"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
    max-width: 100%;
  }
  .product-browser .menu-grid:not([data-view="compact"]) { grid-template-columns: 1fr; }
  .product-browser .view-switcher,
  .product-browser .view-switcher-inner,
  .product-browser .menu-grid,
  .product-browser .breadcrumb-wrap,
  .product-browser .browser-helper {
    max-width: 100%;
    width: 100%;
  }
  .subcategory-wrap {
    margin: 0;
    padding: 0;
    top: calc(var(--header-height) - 6px);
  }
  .subcategories {
    padding-bottom: 2px;
  }
  .menu-list-item .menu-content {
    padding: 12px;
  }
  .menu-list-item { grid-template-columns: 1fr; }
  .menu-card,
  .menu-list-item,
  .list-image-wrap,
  .list-img {
    max-width: 100%;
    width: 100%;
  }
  .list-img { min-height: 170px; }
  .category-tile-label { margin-top: 2px; }
  .category-food-image { margin-top: 0; height: 96px; }
  .empty-state {
    min-height: 44dvh;
    width: 100%;
    display: grid;
    place-content: center;
  }
}

@media (max-width: 420px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .landing-head { margin-top: 12px; margin-bottom: 16px; }
  .landing-head h1,
  .landing-head h2 { font-size: 40px; line-height: 1.15; }
  .landing-head p { font-size: 18px; line-height: 30px; }
  .category-tile-grid { gap: 12px; margin-top: 12px; }
  .category-tile {
    height: 176px;
    min-height: 176px;
    padding: 12px 8px 0;
  }
  .category-tile-label { margin-top: 0; font-size: 16px; line-height: 1.25; }
  .category-food-image { height: 82px; width: calc(100% + 4px); }
  .offers-callout-grid { gap: 10px; }
  .offers-callout-card { min-height: 50px; }
  .compact-card .menu-img {
    aspect-ratio: 1 / 0.78;
    max-height: 176px;
  }
}

@media (min-width: 1200px) {
  .menu-list-item { grid-template-columns: 182px 1fr; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .menu-grid:not([data-view="compact"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .detail-panel {
    border-radius: 0;
    bottom: 0;
    left: auto;
    max-height: none;
    right: 0;
    top: 0;
    transform: translateX(100%);
    width: 33.333vw;
    min-width: 440px;
    max-width: 560px;
  }
  body.detail-open .detail-panel { transform: translateX(0); }
}

@media (max-width: 1023px) {
  .detail-panel {
    left: 0;
    right: 0;
    width: 100%;
    max-height: 92vh;
  }
}

body.rtl .menu-head,
body.rtl .menu-foot,
body.rtl .view-switcher-inner,
body.rtl .sheet-head,
body.rtl .selection-row { direction: rtl; }
body.rtl .breadcrumb-wrap { direction: rtl; }
body.rtl .logo-text { text-align: right; }
body.rtl .search-icon { margin-left: 0; margin-right: 8px; }
body.rtl .breadcrumb-link::before { content: "\2192  "; }
body.rtl .currency-symbol { margin-right: 0; margin-left: 0.32em; font-weight: 700; }
body.rtl .image-offer-badge { left: 10px; right: auto; }
body.rtl .price-stack { justify-content: flex-start; }
body.rtl .menu-head h3,
body.rtl .category-tile-label,
body.rtl .landing-head h1,
body.rtl .landing-head h2,
body.rtl .landing-head p { font-family: var(--font-ar); }
body.rtl .offers-kicker,
body.rtl .offers-title,
body.rtl .variation-price-chip span,
body.rtl .variation-btn,
body.rtl .add-btn,
body.rtl .mobile-nav-link-btn,
body.rtl .mobile-nav-lang { font-family: var(--font-ar); }
body.rtl .selection-copy { direction: rtl; text-align: right; }
body.rtl .add-icon { margin-right: 0; margin-left: 6px; }
body.rtl .site-footer { direction: rtl; text-align: center; }
body.rtl .offers-icon { margin-right: 0; margin-left: 8px; }
body.rtl {
  font-family: var(--font-ar);
}

@media (min-width: 900px) {
  .empty-state {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-card,
  .category-tile,
  .reveal-on-scroll {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* Landing + Offers pages */
.landing-page-main {
  align-items: center;
  display: flex;
  min-height: calc(100vh - var(--header-height) - 120px);
}
.landing-hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  margin: 24px auto 0;
  max-width: 880px;
  padding: 28px;
  width: 100%;
}
.landing-hero-card h1,
.landing-hero-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.landing-hero-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.landing-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.landing-dual-text {
  font-family: var(--font-ar);
  margin-top: 16px;
}
.offers-page-main {
  padding-top: 24px;
}
.offers-head-static {
  margin-bottom: 16px;
}
.offers-bilingual-sub {
  color: var(--text-muted);
  font-family: var(--font-ar);
  margin-top: 8px;
}
.offers-only-card .menu-content {
  gap: 8px;
}
.offers-ar-name {
  color: var(--text-muted);
  font-family: var(--font-ar);
  font-size: 1.1rem;
  margin-top: 2px;
}

body.page-landing .nav-links,
body.page-offers .nav-links {
  display: inline-flex;
}

.seo-route-content {
  margin: 18px auto 0;
  max-width: 1320px;
}
.seo-route-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}
.seo-route-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 10px;
}
.seo-route-arabic {
  color: var(--text-muted);
  font-family: var(--font-ar);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin-bottom: 10px;
}
.seo-route-description {
  color: var(--text-muted);
  margin-bottom: 18px;
}
.seo-product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.seo-product-card {
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  color: inherit;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 12px;
  text-decoration: none;
}
.seo-product-card img {
  border-radius: var(--radius-md);
  height: 160px;
  object-fit: cover;
  width: 100%;
}
.seo-product-card h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}
.seo-product-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.seo-product-layout-inline {
  margin-top: 8px;
}
.seo-product-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.seo-product-image-card,
.seo-product-content-card {
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.seo-product-image-card {
  overflow: hidden;
  padding: 12px;
}
.seo-product-image-card img {
  border-radius: var(--radius-md);
  display: block;
  max-height: 480px;
  object-fit: cover;
  width: 100%;
}
.seo-product-content-card {
  padding: 18px;
}
.seo-price-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.seo-price-chip {
  align-items: center;
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
}
.seo-price-name {
  font-weight: 700;
}
.seo-price-line {
  color: var(--primary);
  font-weight: 800;
}
.seo-price-old {
  color: var(--text-subtle);
  margin-right: 6px;
  text-decoration: line-through;
}
.seo-currency {
  color: var(--primary);
  font-size: 0.88em;
  font-weight: 800;
  margin-right: 4px;
}

@media (max-width: 899px) {
  body.page-landing .nav-brand-wrap,
  body.page-offers .nav-brand-wrap {
    grid-column: 1;
  }
  body.page-landing .nav-links,
  body.page-offers .nav-links {
    display: inline-flex;
    gap: 14px;
    grid-column: 1 / -1;
  }
  body.page-landing .lang-btn {
    grid-column: 2;
  }
  .seo-product-layout {
    grid-template-columns: 1fr;
  }
}
