/* ============================================================
   Al Tayibat Snack — REDESIGNED Design System
   Bold · Modern · Premium · Arabic-First · Mobile-First
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  --red:          #E31E1E;
  --red-dark:     #B71515;
  --red-deeper:   #7A0000;
  --red-glow:     rgba(227, 30, 30, 0.35);
  --gold:         #F9C612;
  --gold-dark:    #D4A409;
  --gold-glow:    rgba(249, 198, 18, 0.3);
  --dark:         #0A0A0A;
  --dark-2:       #141414;
  --dark-3:       #1C1C1C;
  --dark-card:    rgba(255,255,255,0.04);
  --white:        #FFFFFF;
  --off-white:    #F8F4EE;
  --cream:        #FFF8EF;
  --card-bg:      #FFFFFF;
  --muted:        #888;
  --border-dark:  rgba(255,255,255,0.1);
  --border-light: #EDE8E0;
  --green-wa:     #25D366;
  --green-wa-2:   #128C4E;

  --font-ar: 'Cairo', 'Segoe UI', sans-serif;
  --font-en: 'Poppins', 'Helvetica Neue', sans-serif;

  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   22px;
  --radius-xl:   30px;
  --radius-full: 9999px;

  --shadow-card: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-red:  0 8px 30px rgba(227,30,30,0.4);
  --shadow-gold: 0 8px 30px rgba(249,198,18,0.3);
  --shadow-glow: 0 0 60px rgba(227,30,30,0.25);

  --transition:        0.25s cubic-bezier(0.34,1.56,0.64,1);
  --transition-fast:   0.18s ease;
  --transition-smooth: 0.3s ease;

  --max-w: 480px;
  --header-h: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ar);
  background: var(--off-white);
  color: var(--dark);
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Center the entire page on wide screens */
body > * {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* Full-width exceptions — sections keep their background spanning full viewport */
.hero-section,
.section-divider,
.menu-section,
.mascot-tip,
.site-footer {
  max-width: 100%;
  width: 100%;
}

/* Fixed/overlay elements must NOT be constrained */
.site-header,
.cart-overlay,
.cart-drawer,
.floating-cart,
.toast {
  max-width: initial;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
ul, ol { list-style: none; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 99px; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ══════════════════════════════════════════════════════════
   HEADER — Floating glassy bar
══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 12px;
  left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: calc(var(--max-w) - 32px);
  z-index: 100;
  height: 52px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.header-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-img {
  width: 34px; height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: transparent;
}

.header-brand-name {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.header-brand-sub {
  font-size: 9px;
  font-family: var(--font-en);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
}

.header-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(227,30,30,0.4);
  transition: var(--transition);
  position: relative;
}
.header-cart-btn:hover { transform: scale(1.05); box-shadow: 0 6px 22px rgba(227,30,30,0.55); }
.header-cart-btn:active { transform: scale(0.97); }

.cart-count-badge {
  background: var(--gold);
  color: var(--dark);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 900;
  min-width: 18px; height: 18px;
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 0 4px;
  transition: var(--transition);
}
.cart-count-badge.hidden { display: none; }

/* ══════════════════════════════════════════════════════════
   HERO — Dark cinematic
══════════════════════════════════════════════════════════ */
.hero-section {
  background: var(--dark);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* Glowing radial backgrounds */
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(227,30,30,0.22) 0%, transparent 65%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, rgba(249,198,18,0.12) 0%, transparent 65%);
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

/* ── Logo ── */
.hero-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  animation: fadeIn 0.7s ease both;
  position: relative;
  z-index: 1;
}

.hero-logo-ring {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(227,30,30,0.12);
  border: 2px solid rgba(227,30,30,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 0 8px rgba(227,30,30,0.07), 0 0 40px rgba(227,30,30,0.2);
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(227,30,30,0.07), 0 0 40px rgba(227,30,30,0.2); }
  50%       { box-shadow: 0 0 0 14px rgba(227,30,30,0.04), 0 0 60px rgba(227,30,30,0.35); }
}

.hero-logo-img {
  width: 110px; height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(227,30,30,0.5));
  animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── Tagline ── */
.hero-tagline-ar {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.7s 0.2s ease both;
  position: relative; z-index: 1;
}

.hero-tagline-en {
  font-size: 12px;
  font-family: var(--font-en);
  color: rgba(255,255,255,0.4);
  text-align: center;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.7s 0.3s ease both;
  position: relative; z-index: 1;
}

/* ── Mascots Row ── */
.mascots-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.7s 0.4s ease both;
  position: relative; z-index: 1;
}

.mascot-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 150px;
}

.mascot-speech {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px 14px 14px 4px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: center;
  backdrop-filter: blur(8px);
  position: relative;
  width: 100%;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.mascot-unit:last-child .mascot-speech {
  border-radius: 14px 14px 4px 14px;
}

.mascot-speech em {
  display: block;
  font-style: normal;
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  font-family: var(--font-en);
  direction: ltr;
}

.mascot-fig {
  width: 100px; height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mascot-fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

.mascot-fig:hover img, .mascot-fig:active img {
  transform: translateY(-10px) scale(1.06);
}

.mascot-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
}

/* ── Hub Buttons ── */
.hub-section {
  width: 100%;
  max-width: var(--max-w);
  padding: 0 20px;
  position: relative; z-index: 1;
  animation: fadeSlideUp 0.7s 0.5s ease both;
}

/* BIG Menu CTA */
.btn-menu-cta {
  width: 100%;
  background: linear-gradient(135deg, var(--red) 0%, #FF4B3A 50%, var(--gold) 100%);
  background-size: 200% 200%;
  color: white;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 30px rgba(227,30,30,0.5);
  transition: var(--transition);
  animation: gradientShift 4s ease infinite;
  cursor: pointer;
  border: none;
  text-align: right;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-menu-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-menu-cta:hover::before { opacity: 1; }
.btn-menu-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(227,30,30,0.6); }
.btn-menu-cta:active { transform: scale(0.98); }

.cta-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.cta-text { flex: 1; }
.cta-label {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}
.cta-sub {
  display: block;
  font-size: 12px;
  font-family: var(--font-en);
  opacity: 0.75;
  margin-top: 2px;
  font-weight: 400;
}

.cta-arrow {
  font-size: 22px;
  opacity: 0.8;
}

/* WhatsApp button */
.btn-wa-main {
  width: 100%;
  background: linear-gradient(135deg, #0D8140, var(--green-wa));
  color: white;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-wa-main:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }
.btn-wa-main:active { transform: scale(0.98); }

.wa-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.wa-text { flex: 1; }
.wa-label { font-size: 17px; font-weight: 800; display: block; }
.wa-sub { font-size: 11px; font-family: var(--font-en); opacity: 0.7; }

/* Social grid */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.social-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.social-card:hover::before { opacity: 1; }
.social-card:hover { transform: translateY(-3px) scale(1.02); border-color: rgba(255,255,255,0.2); }
.social-card:active { transform: scale(0.97); }

.social-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.social-info { flex: 1; overflow: hidden; }
.social-label { font-size: 14px; font-weight: 700; color: #fff; display: block; }
.social-handle { font-size: 10px; font-family: var(--font-en); color: rgba(255,255,255,0.45); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Social card variants */
.sc-insta { background: linear-gradient(135deg, rgba(131,58,180,0.2), rgba(225,48,108,0.2), rgba(252,175,69,0.1)); border-color: rgba(225,48,108,0.3); }
.sc-insta .social-icon { background: linear-gradient(135deg, #833AB4, #E1306C, #FCAF45); }
.sc-fb { background: rgba(24,119,242,0.12); border-color: rgba(24,119,242,0.3); }
.sc-fb .social-icon { background: #1877F2; }
.sc-tiktok { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); }
.sc-tiktok .social-icon { background: linear-gradient(135deg, #010101, #3d3d3d); }
.sc-maps { background: rgba(66,133,244,0.12); border-color: rgba(66,133,244,0.3); }
.sc-maps .social-icon { background: linear-gradient(135deg, #1E73E8, #4285F4); font-size: 22px; }

/* "Since 2006" badge */
.since-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  font-size: 11px;
  font-family: var(--font-en);
  color: rgba(255,255,255,0.25);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Scroll indicator ── */
.scroll-hint {
  position: relative; z-index: 1;
  text-align: center;
  margin-top: 8px;
  animation: bounce 2.5s ease-in-out infinite;
  color: rgba(255,255,255,0.25);
  font-size: 12px;
  font-family: var(--font-en);
  letter-spacing: 1px;
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ══════════════════════════════════════════════════════════
   DIVIDER
══════════════════════════════════════════════════════════ */
.section-divider {
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
  background-size: 200% 100%;
  animation: gradientScroll 3s linear infinite;
}

@keyframes gradientScroll {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ══════════════════════════════════════════════════════════
   MENU SECTION
══════════════════════════════════════════════════════════ */
.menu-section {
  background: var(--cream);
  padding: 32px 0 130px;
  min-height: 60vh;
}

/* ── Menu Header ── */
.menu-header {
  text-align: center;
  padding: 0 20px 24px;
}

.menu-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-en);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.menu-main-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

.menu-main-title span {
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu-sub {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--muted);
}

/* ── Search + Currency Row ── */
.search-currency-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.search-wrap-inner {
  flex: 1;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 13px 46px 13px 16px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background: #fff;
  font-size: 14px;
  font-family: var(--font-ar);
  color: var(--dark);
  direction: rtl;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(227,30,30,0.15);
}

.search-ico {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
}

/* ── Currency Toggle ── */
.currency-toggle {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 2px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  flex-shrink: 0;
  border: 2px solid transparent;
}

.cur-btn {
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-width: 38px;
  text-align: center;
  line-height: 1;
}

.cur-btn.active {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cur-btn:not(.active):hover {
  color: var(--dark);
  background: rgba(0,0,0,0.05);
}

/* USD mode highlight */
.cur-btn#btnUSD.active {
  background: linear-gradient(135deg, #1a7f3c, #22a74e);
  color: #fff;
}

/* Rate hint tooltip */
.rate-hint {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  font-family: var(--font-en);
  padding: 0 20px 12px;
  max-width: var(--max-w);
  margin: -6px auto 0;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.25s, height 0.25s;
}

.rate-hint.visible {
  opacity: 1;
  height: 22px;
}

/* Price with currency color */
.item-price[data-currency="USD"] {
  color: #1a7f3c;
}

/* Cart price in USD */
.ct-total.usd-mode {
  color: #1a7f3c;
}


/* ── Category Chips ── */
.chips-bar {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 10px 0;
  background: rgba(248,244,238,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

/* Inner centering wrapper for chips on desktop */
.chips-scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.chips-scroll::-webkit-scrollbar { display: none; }

.chip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.chip.active {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.chip-emoji { font-size: 14px; }

/* ── Category Group ── */
.menu-category {
  max-width: var(--max-w);
  margin: 0 auto 36px;
  padding: 0 20px;
  scroll-margin-top: 100px;
}

.cat-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.cat-emoji-box {
  width: 44px; height: 44px;
  background: var(--dark);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cat-name-ar {
  font-size: 21px;
  font-weight: 900;
  color: var(--dark);
}

.cat-name-en {
  font-size: 11px;
  font-family: var(--font-en);
  color: var(--muted);
  font-weight: 500;
}

.cat-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,0,0,0.08), transparent);
  border-radius: 99px;
  margin-bottom: 12px;
}

/* ── Item Grid ── */
.items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ── Item Card ── */
.item-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  border: 1.5px solid rgba(0,0,0,0.05);
  position: relative;
}

.item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

.item-card.unavailable { opacity: 0.45; pointer-events: none; }

/* Top accent line */
.item-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0;
  transition: opacity 0.2s;
}
.item-card:hover::before { opacity: 1; }
.item-card.in-cart::before { opacity: 1; }

/* Image area */
.item-img-area {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #FFF0DC, #FFE0C0);
  position: relative;
  overflow: hidden;
}

.item-img-area img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.item-card:hover .item-img-area img { transform: scale(1.07); }

.placeholder-box {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
}

.placeholder-emoji { font-size: 38px; }
.placeholder-txt { font-size: 9px; color: rgba(0,0,0,0.25); font-family: var(--font-en); }

.feat-tag {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--gold);
  color: var(--dark);
  font-size: 9px; font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(249,198,18,0.4);
}

/* Item body */
.item-body {
  padding: 10px 10px 6px;
  flex: 1;
}

.item-ar { font-size: 14px; font-weight: 800; color: var(--dark); line-height: 1.3; }
.item-en { font-size: 10px; color: var(--muted); font-family: var(--font-en); margin-top: 2px; }
.item-price {
  margin-top: 6px;
  font-size: 16px; font-weight: 900;
  color: var(--red);
}
.item-price .curr { font-size: 10px; font-weight: 600; margin-right: 2px; color: var(--muted); }

/* Item actions */
.item-actions {
  padding: 0 8px 10px;
  display: flex;
  gap: 6px;
}

.btn-quick {
  flex: 1;
  background: linear-gradient(135deg, #0D8140, var(--green-wa));
  color: white;
  border-radius: var(--radius-md);
  padding: 9px 8px;
  font-size: 11px; font-weight: 700;
  font-family: var(--font-ar);
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  transition: var(--transition-fast);
  box-shadow: 0 3px 10px rgba(37,211,102,0.3);
}
.btn-quick:hover { transform: scale(1.03); }
.btn-quick:active { transform: scale(0.96); }
.btn-quick svg { width: 13px; height: 13px; }

.btn-add {
  width: 38px; height: 38px;
  background: var(--dark);
  color: white;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 300;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.btn-add:hover { background: var(--red); transform: rotate(90deg) scale(1.1); }
.btn-add:active { transform: scale(0.9); }
.item-card.in-cart .btn-add {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
}

/* ── No results ── */
.no-results {
  display: none;
  text-align: center;
  padding: 48px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.no-results.visible { display: block; }
.no-results img { width: 80px; margin: 0 auto 16px; opacity: 0.7; }
.no-results h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.no-results p { font-size: 13px; color: var(--muted); }

/* ── Mascot tip strip ── */
.mascot-tip {
  background: var(--dark);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 380px;
}

.tip-inner img {
  width: 44px; height: 56px;
  object-fit: contain;
  object-position: bottom;
  flex-shrink: 0;
}

.tip-text { text-align: right; }
.tip-text strong { font-size: 13px; font-weight: 800; color: #fff; display: block; }
.tip-text span { font-size: 11px; color: rgba(255,255,255,0.45); display: block; margin-top: 2px; }

/* ══════════════════════════════════════════════════════════
   CART DRAWER
══════════════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%);
  width: 100%; max-width: var(--max-w);
  background: #fff;
  border-radius: 24px 24px 0 0;
  z-index: 201;
  max-height: 88vh;
  display: flex; flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.34,1.2,0.64,1);
  box-shadow: 0 -12px 50px rgba(0,0,0,0.25);
}
.cart-drawer.open { transform: translateX(-50%) translateY(0); }

.cart-grip {
  width: 36px; height: 4px;
  background: rgba(0,0,0,0.12);
  border-radius: 99px;
  margin: 14px auto 0;
  flex-shrink: 0;
}

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 10px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cart-title { font-size: 20px; font-weight: 900; color: var(--dark); }
.cart-title .ct-count { font-size: 13px; font-weight: 700; color: var(--red); margin-right: 6px; }

.cart-x {
  width: 34px; height: 34px;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted);
  cursor: pointer; transition: var(--transition-fast);
}
.cart-x:hover { background: var(--red); color: #fff; }

.cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px;
  overscroll-behavior: contain;
}

/* Empty state */
.cart-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 20px;
  text-align: center; gap: 14px;
}
.cart-empty img { width: 90px; opacity: 0.85; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12)); }
.cart-empty h3 { font-size: 18px; font-weight: 800; }
.cart-empty p { font-size: 13px; color: var(--muted); max-width: 200px; line-height: 1.5; }
.btn-browse-menu {
  background: var(--dark);
  color: white;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; border: none;
  transition: var(--transition);
  font-family: var(--font-ar);
}
.btn-browse-menu:hover { background: var(--red); transform: scale(1.04); }

/* Cart item */
.cart-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  animation: slideInRtl 0.25s ease both;
}

@keyframes slideInRtl {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ci-info { flex: 1; }
.ci-name-ar { font-size: 14px; font-weight: 700; color: var(--dark); }
.ci-name-en { font-size: 10px; color: var(--muted); font-family: var(--font-en); }
.ci-price { font-size: 13px; font-weight: 800; color: var(--red); margin-top: 4px; }

.qty-controls {
  display: flex; align-items: center; gap: 8px;
  background: var(--off-white);
  border-radius: var(--radius-full);
  padding: 4px 8px;
}

.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: var(--transition-fast);
}
.qty-btn:hover { background: var(--red); color: #fff; }
.qty-btn:active { transform: scale(0.88); }
.qty-val { font-size: 15px; font-weight: 900; color: var(--dark); min-width: 20px; text-align: center; }

/* Cart footer */
.cart-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(0,0,0,0.07);
  flex-shrink: 0;
  background: #fff;
}

/* Cart currency row */
.cart-currency-row {
  display: none; /* toggled by JS */
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}
.cart-currency-row .cc-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.cart-summary {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.ct-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.ct-total { font-size: 24px; font-weight: 900; color: var(--dark); }
.ct-curr { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 3px; }

.cart-cod-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
  margin-bottom: 14px;
}

.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, #0D8140, var(--green-wa));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 17px;
  font-size: 17px; font-weight: 800;
  font-family: var(--font-ar);
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  cursor: pointer; border: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,211,102,0.55); }
.btn-checkout:active { transform: scale(0.98); }

.btn-clear {
  width: 100%;
  background: transparent;
  color: var(--muted);
  font-size: 12px; font-weight: 600;
  font-family: var(--font-ar);
  padding: 10px;
  cursor: pointer; border: none;
  margin-top: 8px;
  transition: color 0.15s;
}
.btn-clear:hover { color: var(--red); }

/* ── Floating Cart ── */
.floating-cart {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 150;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 14px 24px;
  font-size: 15px; font-weight: 800;
  font-family: var(--font-ar);
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer; border: none;
  white-space: nowrap;
  opacity: 0;
}
.floating-cart.visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.floating-cart:hover { transform: translateX(-50%) translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.floating-cart:active { transform: translateX(-50%) scale(0.97); }

.fc-badge {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 900;
  min-width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 8px rgba(227,30,30,0.4);
}

.fc-total { font-size: 13px; opacity: 0.65; font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 32px 20px 28px;
}

.footer-logo { width: 70px; height: 70px; object-fit: contain; margin: 0 auto 12px; opacity: 0.9; }

.footer-name {
  font-size: 18px; font-weight: 900;
  background: linear-gradient(90deg, var(--gold), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.footer-since { font-family: var(--font-en); font-size: 10px; color: rgba(255,255,255,0.25); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }

.footer-icons {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fi {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  text-decoration: none; color: #fff;
  transition: var(--transition-fast);
}
.fi:hover { transform: translateY(-3px); background: rgba(255,255,255,0.14); }

.footer-copy { font-size: 10px; color: rgba(255,255,255,0.18); font-family: var(--font-en); }

/* ══════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700;
  white-space: nowrap;
  z-index: 350;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cartPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.3) rotate(-10deg); }
  70%  { transform: scale(0.9) rotate(5deg); }
  100% { transform: scale(1); }
}

.pop-anim { animation: cartPop 0.4s cubic-bezier(0.36,0.07,0.19,0.97); }

/* Item card entrance */
.item-card { animation: fadeSlideUp 0.35s ease both; }
.item-card:nth-child(2) { animation-delay: 0.06s; }
.item-card:nth-child(3) { animation-delay: 0.12s; }
.item-card:nth-child(4) { animation-delay: 0.18s; }
.item-card:nth-child(5) { animation-delay: 0.22s; }
.item-card:nth-child(6) { animation-delay: 0.26s; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (min-width: 480px) {
  .hero-section, .menu-section, .site-footer, .mascot-tip {
    border-left: 1px solid rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.05);
  }
  .items-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Utility ── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
