/* ═══════════════════════════════════════════
   نجد الجنوب — Unified Warm Dark Theme
   ═══════════════════════════════════════════ */

:root {
  /* Brand — muted & harmonious */
  --brand: #A4384A;
  --accent: #C8824E;
  --gold: #D4A868;
  --olive: #8E9B5A;

  /* Single dark palette */
  --bg: #141110;
  --bg-2: #1A1714;
  --bg-card: #211D19;
  --bg-hover: #2A2520;

  /* Text — warm cream tones */
  --text: #EDE5DA;
  --text-muted: #A89B8C;
  --text-dim: #6E645A;

  --border: rgba(237, 229, 218, 0.07);
  --border-hover: rgba(200, 130, 78, 0.28);

  --grad: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  --grad-text: linear-gradient(90deg, #D4A868, #C8824E, #A4384A);
  --grad-soft: linear-gradient(135deg, rgba(164, 56, 74, 0.12) 0%, rgba(200, 130, 78, 0.08) 100%);

  --font: 'Tajawal', sans-serif;
  --font-en: 'Outfit', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header: 96px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.25);
  --glow: 0 0 60px rgba(200, 130, 78, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header); }

#menu { scroll-margin-top: calc(var(--header) + 12px); }

body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(164, 56, 74, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(200, 130, 78, 0.06) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(200, 130, 78, 0.25);
  color: var(--text);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.wrap { width: min(1140px, 90vw); margin-inline: auto; }

/* ─── Typography ─── */
.eyebrow {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head__title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.02em;
  position: relative;
}

.section-head--center .section-head__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: var(--grad);
  opacity: 0.7;
}

.section-head__text {
  margin-top: 14px;
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.75;
}

.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .section-head__text { margin-inline: auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.93rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}

.btn--fill {
  background: var(--grad);
  color: var(--text);
  box-shadow: 0 6px 24px rgba(164, 56, 74, 0.3);
  position: relative;
  overflow: hidden;
}

.btn--fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.btn--fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(200, 130, 78, 0.35);
}

.btn--ghost {
  border: 1px solid var(--border-hover);
  color: var(--text);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 130, 78, 0.4);
}

.btn--sm { padding: 9px 20px; font-size: 0.86rem; }

/* ─── Saudi Riyal symbol ─── */
.sar-icon {
  display: block;
  width: 1em;
  height: 1.12em;
}

.price {
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  white-space: nowrap;
}

.price__currency {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.price__currency.sar-icon--sm .sar-icon {
  width: 0.78em;
  height: 0.88em;
}

.menu-tile__price-tag .price__currency {
  opacity: 0.85;
}

.dish-card__price .price__currency {
  color: var(--gold);
}

/* ─── Preloader ─── */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__logo { width: 120px; margin-bottom: 20px; }
.preloader__line {
  width: 100px; height: 2px; background: var(--bg-hover);
  border-radius: 2px; overflow: hidden; position: relative;
}
.preloader__line::after {
  content: ''; position: absolute; inset: 0; width: 40%;
  background: var(--grad); animation: load-slide 1s var(--ease) infinite;
}
@keyframes load-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ─── Header ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(20, 17, 16, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.35s;
  pointer-events: none;
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.header.is-scrolled::before {
  background: rgba(20, 17, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 20px;
  position: relative;
  z-index: 1;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { width: 150px; height: 150px; object-fit: contain; border-radius: 8px; }
.brand__name {
  font-weight: 800; font-size: 1rem;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav { display: flex; gap: 2px; }
.nav a {
  padding: 7px 13px; font-size: 0.88rem; font-weight: 500;
  color: var(--text-muted); border-radius: 8px; transition: 0.25s;
  position: relative;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255,255,255,0.05); }
.nav a.is-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
}
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.lang-switch:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.06);
}
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: 0.3s; }
.menu-toggle.is-open span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.is-open span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--header); overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(2px) brightness(0.32) saturate(1.15);
  transform: scale(1.06);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.1); }
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 50%, rgba(200, 130, 78, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, transparent 28%, transparent 72%, var(--bg) 100%),
    linear-gradient(105deg, rgba(20,17,16,0.94) 38%, rgba(20,17,16,0.5) 100%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 40px; padding: 72px 0;
}
.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 18px;
}
.hero__title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__lead {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 440px; margin-bottom: 28px; line-height: 1.75;
}
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__logo-box {
  display: flex; justify-content: center; padding: 36px;
  background: rgba(33, 29, 25, 0.7);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--glow);
  backdrop-filter: blur(12px);
  position: relative;
}
.hero__logo-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212,168,104,0.15), transparent 40%, rgba(164,56,74,0.1));
  pointer-events: none;
  z-index: 0;
}
.hero__logo {
  width: min(340px, 100%);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

/* ─── Sections — unified, no color jumps ─── */
.section {
  padding: 88px 0;
  position: relative;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 130, 78, 0.2), transparent);
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.8;
}

/* ─── Features ─── */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.feature {
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.feature:hover::before { opacity: 1; }
.feature__num {
  font-family: var(--font-en); font-size: 0.72rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.1em; margin-bottom: 14px;
}
.feature h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.feature p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.menu-disclaimer {
  text-align: center; margin-top: 24px;
  font-size: 0.82rem; color: var(--text-dim);
}

/* ─── Featured dishes carousel ─── */
.featured-carousel {
  position: relative;
  padding-inline: 12px;
}

.featured-swiper {
  overflow: hidden;
  padding-bottom: 52px;
  margin-inline: -4px;
}

.featured-swiper .swiper-wrapper {
  align-items: stretch;
}

.featured-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.featured-swiper .dish-card {
  height: 100%;
}

/* Fallback spacing before Swiper initializes */
.featured-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.featured-swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 88%;
  max-width: 340px;
  scroll-snap-align: center;
}

@media (min-width: 640px) {
  .featured-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: none;
  }
}

@media (min-width: 960px) {
  .featured-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc(33.333% - 14px);
  }
}

.featured-carousel__nav {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  background: rgba(20, 17, 16, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.featured-carousel__nav::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  margin: 0 auto;
}

.featured-carousel__nav--prev {
  left: auto;
  right: -6px;
}

.featured-carousel__nav--prev::before {
  transform: rotate(45deg) translate(-1px, 1px);
}

.featured-carousel__nav--next {
  right: auto;
  left: -6px;
}

.featured-carousel__nav--next::before {
  transform: rotate(-135deg) translate(1px, 1px);
}

.featured-carousel__nav:hover {
  background: rgba(200, 130, 78, 0.16);
  border-color: rgba(200, 130, 78, 0.4);
  transform: scale(1.05);
}

.featured-carousel__nav.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.featured-carousel__pagination {
  bottom: 8px !important;
}

.featured-carousel__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--text-dim);
  opacity: 1;
  transition: width 0.3s, background 0.3s;
}

.featured-carousel__pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 100px;
  background: var(--accent);
}

.dish-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
  box-shadow: var(--shadow-sm);
}
.dish-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm), var(--glow);
}
.dish-card__img {
  aspect-ratio: 4/3; overflow: hidden; background: var(--bg-hover);
  position: relative;
}
.dish-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,17,16,0.45) 100%);
  pointer-events: none;
}
.dish-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.dish-card:hover .dish-card__img img { transform: scale(1.04); }
.dish-card__body { padding: 18px 20px 22px; }
.dish-card__rank {
  font-family: var(--font-en); font-size: 0.68rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.08em; margin-bottom: 6px;
}
.dish-card__name {
  font-size: 1rem; font-weight: 800; line-height: 1.4; margin-bottom: 3px;
}
.dish-card__cat { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.dish-card__price { font-size: 1.15rem; font-weight: 900; color: var(--gold); display: flex; align-items: center; }

/* ─── Hours ─── */
.hours-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.hours-info__text {
  color: var(--text-muted); margin: 14px 0 22px; font-size: 1rem;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 100px;
  background: rgba(142, 155, 90, 0.1);
  border: 1px solid rgba(142, 155, 90, 0.22);
  font-weight: 700; font-size: 0.88rem;
}
.status-pill.is-closed {
  background: rgba(164, 56, 74, 0.1);
  border-color: rgba(164, 56, 74, 0.22);
}
.status-pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--olive); animation: pulse 2s infinite;
}
.status-pill.is-closed .status-pill__dot { background: var(--brand); animation: none; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hours-table-wrap {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 14px 22px; text-align: center; }
.hours-table th {
  font-size: 0.8rem; font-weight: 700; color: var(--gold);
  border-bottom: 1px solid var(--border);
}
.hours-table td {
  font-size: 0.92rem; border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table tr.is-today td {
  color: var(--gold);
  font-weight: 700;
  background: rgba(200, 130, 78, 0.08);
}

/* ─── CTA — subtle band, not loud gradient block ─── */
.cta { padding: 72px 0; }
.cta__inner {
  text-align: center; padding: 52px 36px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(164, 56, 74, 0.08) 0%, transparent 70%),
    var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,115,51,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.cta__inner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900; margin-bottom: 8px;
}
.cta__inner p { color: var(--text-muted); margin-bottom: 24px; font-size: 1rem; }
.cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Contact ─── */
.contact-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 28px 18px;
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}
a.contact-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.contact-item svg {
  width: 26px; height: 26px; color: var(--accent); margin-bottom: 12px;
  padding: 10px;
  background: rgba(200, 130, 78, 0.1);
  border-radius: 12px;
  box-sizing: content-box;
}
.contact-item strong { font-size: 0.92rem; margin-bottom: 3px; }
.contact-item span { font-size: 0.85rem; color: var(--text-muted); }

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.social-icon--instagram:hover { color: #E4405F; }
.social-icon--facebook:hover { color: #1877F2; }
.social-icon--x:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.social-icon--snapchat svg { width: 21px; height: 21px; }
.social-icon--snapchat:hover {
  color: #000;
  background: #FFFC00;
  border-color: #FFFC00;
  box-shadow: 0 6px 20px rgba(255, 252, 0, 0.22);
}
.social-icon--tiktok:hover { color: #EE1D52; }
.social-icon--whatsapp:hover { color: #25D366; }

/* ─── Footer ─── */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.88rem;
}
.footer__brand img { border-radius: 6px; }
.footer p { font-size: 0.8rem; color: var(--text-dim); }

/* ─── To Top & Lightbox ─── */
.to-top {
  position: fixed; bottom: 24px; left: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-hover);
  color: var(--text); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: 0.35s var(--ease); z-index: 900;
  box-shadow: var(--shadow-sm);
}
.to-top:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
  color: var(--gold);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top.is-visible:hover { transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; }

.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(20, 17, 16, 0.94);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-height: 80vh; max-width: 100%;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.lightbox p {
  margin-top: 14px;
  text-align: center;
  font-weight: 700;
  white-space: pre-line;
  max-width: 480px;
  line-height: 1.6;
  color: var(--text-muted);
}
.lightbox__x {
  position: absolute; top: 18px; left: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); font-size: 1.5rem;
  display: grid; place-items: center;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hours-grid { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__btns { justify-content: center; }
  .hero__logo-box { order: -1; max-width: 300px; margin-inline: auto; padding: 24px; }

  .featured-carousel__nav--prev { right: 4px; }
  .featured-carousel__nav--next { left: 4px; }
}
@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 0;
    top: var(--header);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 20px 18px 32px;
    background: rgba(20, 17, 16, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s, visibility 0.35s;
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 18px;
    color: var(--text);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
  }

  .nav a:hover,
  .nav a.is-active {
    color: var(--text);
    background: rgba(200, 130, 78, 0.14);
    border-color: rgba(200, 130, 78, 0.28);
  }

  .nav a.is-active::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 10001;
  }

  .header__cta { display: none; }
  .lang-switch { padding: 5px 10px; font-size: 0.72rem; }
  .features, .contact-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }

  #menu .wrap {
    width: min(1140px, 94vw);
  }
}

body.nav-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
}

html[dir="ltr"] .featured-carousel__nav--prev {
  right: auto;
  left: -6px;
}

html[dir="ltr"] .featured-carousel__nav--prev::before {
  transform: rotate(-135deg) translate(1px, 1px);
}

html[dir="ltr"] .featured-carousel__nav--next {
  left: auto;
  right: -6px;
}

html[dir="ltr"] .featured-carousel__nav--next::before {
  transform: rotate(45deg) translate(-1px, 1px);
}

@media (max-width: 960px) {
  html[dir="ltr"] .featured-carousel__nav--prev { left: 4px; }
  html[dir="ltr"] .featured-carousel__nav--next { right: 4px; }
}

/* ─── LTR (English) ─── */
html[dir="ltr"] body { font-family: 'Outfit', 'Tajawal', sans-serif; }
html[dir="ltr"] .to-top { left: auto; right: 24px; }
html[dir="ltr"] .lightbox__x { left: auto; right: 18px; }

/* ─── Order cart ─── */
.order-cart-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1200;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateY(120%);
  transition: transform 0.35s var(--ease);
}

.order-cart-bar.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.order-cart-bar.is-pulse .order-cart-bar__open {
  animation: cartPulse 0.45s var(--ease);
}

@keyframes cartPulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.03); }
}

.order-cart-bar__open {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(520px, 100%);
  margin-inline: auto;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f8f4a 0%, #25D366 100%);
  color: #fff;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.order-cart-bar__badge {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.order-cart-bar__label {
  flex: 1;
  text-align: start;
  font-size: 0.92rem;
}

.order-cart-bar__total {
  font-size: 0.95rem;
}

.order-cart-bar__total .price {
  color: #fff;
}

.order-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1210;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.order-cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.order-cart-drawer {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1220;
  max-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.order-cart-drawer.is-open {
  transform: translateY(0);
}

.order-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.order-cart-drawer__head h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.order-cart-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.4rem;
  color: var(--text-muted);
  background: var(--bg-2);
}

.order-cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  scrollbar-width: thin;
}

.order-cart__empty {
  text-align: center;
  color: var(--text-muted);
  padding: 32px 12px;
  font-size: 0.9rem;
}

.order-cart__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  margin-bottom: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.order-cart__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-hover);
}

.order-cart__thumb--empty {
  display: grid;
  place-items: center;
  background: var(--bg-hover);
  border: 1px dashed var(--border);
}

.order-cart__name {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.order-cart__cat {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.order-cart__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.order-cart__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

.order-cart__remove {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
}

.order-cart__remove:hover {
  color: var(--brand);
  background: rgba(164, 56, 74, 0.12);
}

.order-cart-drawer__foot {
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-cart-drawer__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.order-cart-send {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  background: #25D366;
}

.order-cart-send:hover {
  background: #1fb855;
}

.order-cart-clear {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
}

.order-cart-clear:hover {
  color: var(--brand);
  border-color: rgba(164, 56, 74, 0.35);
}

body.cart-open {
  overflow: hidden;
}

body.cart-open .order-cart-bar {
  opacity: 0;
  pointer-events: none;
}

body:has(.order-cart-bar.is-visible) .to-top {
  bottom: 88px;
}

@media (min-width: 768px) {
  .order-cart-drawer {
    inset-inline: auto 24px;
    inset-block: auto 24px;
    width: min(400px, calc(100vw - 48px));
    max-height: min(70vh, 580px);
    border-radius: var(--radius-lg);
    border-bottom: 1px solid var(--border-hover);
  }
}
