/* =========================================================================
   TYT – TAKE YOUR TIME — DESIGN SYSTEM (Dark / Premium / Youthful)
   Palette: near-black backgrounds, deep-to-vivid purple, warm gold accent,
   off-white text. Built from the café's own logo mark.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  /* ---- Brand color tokens ---- */
  --primary: #9B5DE5;        /* vivid violet — accent, glows, links */
  --primary-dim: #6C34A6;    /* mid violet — buttons, borders */
  --primary-deep: #3B1D5C;   /* deep violet — card surfaces, badge */
  --secondary: #D9A441;      /* warm gold */
  --secondary-light: #F0C878;/* light gold — headings on dark */
  --citrus: #E2872B;         /* warm orange, sparing use */

  --bg: #0A0611;             /* page background — near-black plum */
  --bg-alt: #120A1D;         /* slightly lifted background band */
  --surface: #17101F;        /* card surface */
  --surface-2: #1F1529;      /* raised card / hover surface */
  --text: #F8F4EC;           /* primary text — warm white */
  --muted: rgba(248,244,236,0.62);   /* secondary text */
  --muted-2: rgba(248,244,236,0.42); /* tertiary text */
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.18);
  --gold-border: rgba(217,164,65,0.35);
  --purple-border: rgba(155,93,229,0.35);

  /* ---- Type ---- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;

  /* ---- Layout ---- */
  --max-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --shadow-card: 0 10px 30px rgba(0,0,0,0.45);
  --shadow-lift: 0 22px 54px rgba(0,0,0,0.55);
  --glow-purple: 0 0 0 1px var(--purple-border), 0 16px 44px rgba(155,93,229,0.22);
  --glow-gold: 0 0 0 1px var(--gold-border), 0 16px 44px rgba(217,164,65,0.20);

  /* ---- Premium card polish (menu redesign) ---- */
  --shadow-card-rest: 0 1px 2px rgba(0,0,0,0.30), 0 12px 28px rgba(0,0,0,0.30);
  --shadow-card-hover: 0 2px 4px rgba(0,0,0,0.35), 0 20px 44px rgba(0,0,0,0.45), 0 0 0 1px var(--gold-border);
  --card-inner-hairline: inset 0 1px 0 rgba(255,255,255,0.05);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================================
   SCROLL PROGRESS
   ========================================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  z-index: 300;
  transition: transform 0.12s linear;
  pointer-events: none;
}


/* =========================================================================
   RESET
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* not "hidden": hidden makes <body> a scroll container and breaks position: sticky */
}

::selection { background: var(--secondary); color: var(--primary-deep); }

:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary-light);
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px rgba(217,164,65,0.7);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 10px;
}
.section-title em {
  font-style: italic;
  color: var(--secondary-light);
}
.section-lede {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.65;
  margin-top: 14px;
}
.section-head {
  margin-bottom: 44px;
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }

section { position: relative; }

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  color: #241205;
  box-shadow: 0 10px 26px rgba(217, 164, 65, 0.32);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 34px rgba(217, 164, 65, 0.45); }
.btn-outline {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { background: rgba(155,93,229,0.12); border-color: var(--primary); transform: translateY(-2px) scale(1.02); }
.btn-ghost-dark {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1.5px solid var(--purple-border);
}
.btn-ghost-dark:hover { background: var(--primary-dim); border-color: var(--primary); color: #fff; transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(0.96); }

/* subtle universal tap feedback for interactive cards, on top of hover states */
.exp-card:active,
.offer-card:active,
.menu-tab:active { transform: scale(0.97); }

/* =========================================================================
   NAVBAR
   ========================================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(10, 6, 17, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 20px 40px -20px rgba(0,0,0,0.6);
}
.navbar.scrolled .brand { flex-direction: row; align-items: center; gap: 10px; }
.navbar.scrolled .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
.navbar.scrolled .brand-word { font-size: 15px; }
.navbar.scrolled .brand-word small { display: none; }

.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.brand-mark {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  padding: 2px;
  background: linear-gradient(155deg, rgba(155,93,229,0.22), rgba(217,164,65,0.12));
  border: 1px solid var(--gold-border);
  box-shadow: 0 4px 16px rgba(155,93,229,0.28), inset 0 1px 0 rgba(255,255,255,0.07);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease);
}
.brand:hover .brand-mark {
  transform: scale(1.07) rotate(-2deg);
  border-color: var(--secondary-light);
  box-shadow: 0 6px 22px rgba(155,93,229,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--secondary-light);
  background: linear-gradient(180deg, #FFFFFF 15%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  transition: filter 0.35s var(--ease);
}
.brand:hover .brand-word { filter: brightness(1.15); }
.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary-light);
  -webkit-text-fill-color: var(--secondary-light);
  opacity: 0.82;
  margin-top: 3px;
  position: relative;
  padding-top: 4px;
}
.brand-word small::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 18px; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(248,244,236,0.78);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--secondary-light); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 11px 24px; font-size: 13.5px; }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary-deep);
  border: 1px solid var(--purple-border);
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.hamburger span { width: 18px; height: 2px; background: var(--secondary-light); border-radius: 2px; transition: all 0.3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Side drawer overlay — dims the page behind the drawer */
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(6, 3, 12, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 159;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

/* Side drawer panel — slides in from the inline-end edge (right in LTR,
   left in RTL, matching where the hamburger button sits). Does not cover
   the full screen; the overlay above handles the rest of the page. */
.mobile-menu {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: min(84vw, 340px);
  background: radial-gradient(120% 60% at 100% 0%, rgba(155,93,229,0.16), transparent 55%), var(--bg-alt);
  border-left: 1px solid var(--border);
  box-shadow: -18px 0 46px rgba(0,0,0,0.45);
  z-index: 160;
  display: flex;
  flex-direction: column;
  gap: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease), visibility 0.4s;
  overflow-y: auto;
  padding: 22px 22px calc(24px + env(safe-area-inset-bottom, 0px));
}
.mobile-menu.open { visibility: visible; transform: translateX(0); }

.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-logo { height: 30px; width: auto; object-fit: contain; }
.mobile-menu-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--purple-border);
  color: var(--secondary-light);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}
.mobile-menu-close:hover { background: var(--surface-2); transform: rotate(90deg); }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  padding: 13px 10px;
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.25s ease, background 0.25s ease;
}
.mobile-menu a:hover { color: var(--secondary-light); background: rgba(255,255,255,0.05); }
.mobile-menu a.active { color: var(--secondary-light); }
.mobile-menu.open a { opacity: 1; transform: translateX(0); }
.mobile-menu.open .mobile-menu-links a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open .mobile-menu-links a:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.open .mobile-menu-links a:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu.open .mobile-menu-links a:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu.open .mobile-menu-links a:nth-child(5) { transition-delay: 0.22s; }
.mobile-menu.open .mobile-menu-links a:nth-child(6) { transition-delay: 0.26s; }
.mobile-menu.open .mobile-menu-links a:nth-child(7) { transition-delay: 0.30s; }

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu-foot .btn { width: 100%; text-align: center; }



html[dir="rtl"] .mobile-menu {
  right: auto; left: 0;
  border-left: none;
  border-right: 1px solid var(--border);
  box-shadow: 18px 0 46px rgba(0,0,0,0.45);
  background: radial-gradient(120% 60% at 0% 0%, rgba(155,93,229,0.16), transparent 55%), var(--bg-alt);
  transform: translateX(-100%);
}
html[dir="rtl"] .mobile-menu.open { transform: translateX(0); }
html[dir="rtl"] .mobile-menu a { transform: translateX(-14px); }
html[dir="rtl"] .mobile-menu.open a { transform: translateX(0); }

/* =========================================================================
   HERO
   ========================================================================= */
/* ============================= PAGE SWITCHER =============================
   Only one "page" (Home / Menu / Offers) is visible at a time. Opening the
   site shows Home only; scrolling never reveals Menu or Offers — they only
   appear when the person taps the matching button, handled in JS below. */
#home, #menu, #offers, #comments { display: none; }
#home.is-active { display: block; }
/* Menu / Offers / Reviews act as full "pages" too (see page-nav.js), so
   when a page's content is shorter than the screen (e.g. Offers with no
   active deals, or Reviews with few comments), fill the screen and center
   the content instead of leaving empty space hanging below it. Pages with
   more content than the screen (like a long Menu) are unaffected — this
   only centers a single flex child that's shorter than min-height. */
#menu.is-active, #offers.is-active, #comments.is-active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 176px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 84% 6%, rgba(217,164,65,0.18), transparent 60%),
    radial-gradient(55% 55% at 10% 100%, rgba(155,93,229,0.22), transparent 60%),
    var(--bg);
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
.hero-decor { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  opacity: 0.22;
}
.hero-ring.r1 { width: 420px; height: 420px; top: -120px; right: -80px; animation: ring-float 9s ease-in-out infinite; }
.hero-ring.r2 { width: 240px; height: 240px; top: 60px; right: 120px; border-color: var(--secondary); opacity: 0.28; animation: ring-float 7.5s ease-in-out infinite 1s; }
@keyframes ring-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-bean {
  position: absolute;
  opacity: 0.55;
  filter: invert(1) brightness(1.6) sepia(1) saturate(4) hue-rotate(230deg);
}
.hero-bean.b1 { width: 64px; top: 22%; left: 6%; animation: float-slow 7s ease-in-out infinite; }
.hero-bean.b2 { width: 40px; bottom: 14%; left: 14%; animation: float-slow 8.5s ease-in-out infinite 0.6s; }
.hero-bean.b3 { width: 46px; top: 16%; right: 8%; animation: float-slow 6.5s ease-in-out infinite 0.3s; }
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero-logo-wrap {
  will-change: transform;
  position: relative;
  width: fit-content;
  margin: 0 auto;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -42px;
  background: radial-gradient(circle, rgba(155,93,229,0.38) 0%, rgba(217,164,65,0.16) 45%, transparent 72%);
  filter: blur(4px);
  z-index: 0;
  animation: logo-halo-pulse 4.5s ease-in-out infinite;
}
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px dashed var(--gold-border);
  border-radius: 50%;
  z-index: 0;
  animation: ring-spin 34s linear infinite;
}
@keyframes logo-halo-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(160px, 22vw, 220px);
  margin: 0 auto 6px;
  filter: drop-shadow(0 14px 34px rgba(155,93,229,0.4));
}
.hero-logo-drinking {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: block;
  width: clamp(160px, 22vw, 220px);
  margin: 0 auto 6px;
  filter: drop-shadow(0 14px 34px rgba(155,93,229,0.4));
  opacity: 0;
  pointer-events: none;
  animation: sip-once 1.1s ease-in-out 0.5s 1 both;
}
@keyframes sip-once {
  0%   { opacity: 0; transform: translateX(0); }
  18%  { opacity: 1; transform: translateX(-9%); }
  78%  { opacity: 1; transform: translateX(-9%); }
  100% { opacity: 0; transform: translateX(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--secondary-light);
  box-shadow: var(--shadow-card);
}
.hero-eyebrow .dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  color: var(--secondary-light);
}

.hero-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 14vw, 140px);
  line-height: 0.9;
  color: var(--secondary-light);
  background: linear-gradient(180deg, #FFFFFF 20%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 46px rgba(155,93,229,0.30);
}
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3.4vw, 32px);
  color: var(--primary);
  margin-top: 6px;
}
.hero-tagline {
  font-weight: 700;
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 0.02em;
  color: var(--text);
  margin-top: 26px;
}
.hero-tagline .sep { color: var(--secondary); margin: 0 10px; }
.hero-sip {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 0.01em;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Hero entrance: strong, cinematic staggered fade + rise on load ---- */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-rise-sm {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-cta-in {
  from { opacity: 0; transform: translateY(24px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-logo-in {
  from { opacity: 0; transform: translateY(12px) scale(1.04); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes navbar-fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.navbar    { animation: navbar-fade-in 0.3s var(--ease) both; }
.hero-logo    { animation: hero-logo-in 0.4s var(--ease) both 0s, hero-logo-hide-during-sip 1.1s ease-in-out 0.5s 1 both; }
@keyframes hero-logo-hide-during-sip {
  0%   { opacity: 1; }
  18%  { opacity: 0; }
  78%  { opacity: 0; }
  100% { opacity: 1; }
}
.hero-eyebrow { animation: hero-rise-sm 0.35s var(--ease) both 0.05s; }
.hero-word    { animation: hero-rise 0.4s var(--ease) both 0.08s; }
.hero-sub     { animation: hero-rise 0.4s var(--ease) both 0.12s; }
.hero-tagline { animation: hero-rise-sm 0.35s var(--ease) both 0.16s; }
.hero-sip     { animation: hero-rise-sm 0.35s var(--ease) both 0.2s; }
.hero-actions { animation: hero-cta-in 0.35s var(--ease) both 0.24s; }

.hero-strip {
  position: relative;
  z-index: 2;
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
  backdrop-filter: blur(6px);
}
.hero-strip div {
  background: rgba(23, 16, 31, 0.75);
  padding: 20px 14px;
  text-align: center;
}
.hero-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--secondary-light);
}
.hero-strip span {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* =========================================================================
   MARQUEE STRIP
   ========================================================================= */
.marquee {
  background: var(--primary-deep);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--purple-border);
  border-bottom: 1px solid var(--purple-border);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--secondary-light);
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.marquee-track span::after { content: '☕'; font-style: normal; font-size: 13px; opacity: 0.7; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================================
   EXPERIENCE
   ========================================================================= */
.experience { padding: 110px 0; background: var(--bg); }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.exp-card {
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  --tiltX: 0deg; --tiltY: 0deg;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s, background 0.4s ease;
  transform: perspective(800px) translateY(0) scale(1) rotateX(var(--tiltX)) rotateY(var(--tiltY));
}
.exp-card:hover { transform: perspective(800px) translateY(-8px) scale(1.015) rotateX(var(--tiltX)) rotateY(var(--tiltY)); box-shadow: var(--glow-purple); border-color: var(--purple-border); }
/* short, elegant stagger so cards reveal in sequence rather than all at once */
.exp-grid [data-reveal]:nth-child(1) { transition-delay: 0s; }
.exp-grid [data-reveal]:nth-child(2) { transition-delay: 0.07s; }
.exp-grid [data-reveal]:nth-child(3) { transition-delay: 0.14s; }
.exp-grid [data-reveal]:nth-child(4) { transition-delay: 0.21s; }
.exp-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--primary-deep);
  border: 1px solid var(--purple-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary-light);
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease);
}
.exp-card:hover .exp-icon { transform: scale(1.05) translateY(-2px); }
.exp-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.exp-card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* =========================================================================
   ABOUT
   ========================================================================= */
.about { padding: 40px 0 120px; background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--primary-deep), #0A0611 80%);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--purple-border);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.about-visual:hover img { transform: scale(1.06); }
.about-badge {
  position: absolute;
  bottom: -26px; right: -26px;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 14px 34px rgba(217,164,65,0.35);
  animation: spin-slow 16s linear infinite;
}
.about-badge span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: #241205;
  line-height: 1.3;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.about-copy p { font-size: 16px; line-height: 1.75; color: var(--muted); margin-top: 18px; }
.about-copy p:first-of-type { margin-top: 22px; }
.about-quote {
  margin-top: 30px;
  padding-left: 22px;
  border-left: 3px solid var(--secondary);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--text) !important;
}

/* =========================================================================
   MENU
   ========================================================================= */
.menu-section {
  padding: 110px 0 24px;
  background: var(--bg-alt);
  color: var(--text);
  position: relative;
  overflow: clip; /* not "hidden": hidden would trap the sticky category bar inside this section */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.menu-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 40% at 88% 0%, rgba(217,164,65,0.10), transparent 60%),
    radial-gradient(45% 45% at 4% 30%, rgba(155,93,229,0.16), transparent 60%);
  pointer-events: none;
}
/* The Menu page is a flex column (see PAGE SWITCHER: `#menu.is-active`), and
   `.container` is centred with `margin: 0 auto`. An auto margin on a flex
   item's cross axis cancels `align-self: stretch`, so without an explicit
   width the container shrink-wraps to its CONTENT and only then gets capped
   by max-width. Its content is a grid of product photos, so the photos'
   intrinsic sizes were setting the page width (1180px on a 390px phone, with
   the overflow hidden by `html, body { overflow-x: hidden }`). Pin it to the
   space the page actually has. */
.menu-section .container { position: relative; z-index: 1; width: 100%; min-width: 0; }
.menu-section .eyebrow { color: var(--secondary-light); }
.menu-section .section-title { color: var(--text); }
.menu-section .section-lede { color: var(--muted); }

/* ---- Toolbar: search + category index ---- */
/* The search box scrolls away with the page. Only the category tabs
   (.menu-tabs-wrap, below) stay pinned while the person scrolls. */
.menu-toolbar {
  padding: 0 0 22px;
  display: flex;
  flex-direction: column;
}
.menu-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.menu-search:focus-within { border-color: var(--gold-border); background: var(--surface-2); box-shadow: 0 0 0 3px rgba(217,164,65,0.10), 0 8px 22px rgba(0,0,0,0.3); }
.menu-search input {
  background: none; border: none; outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  width: 100%;
  text-align: left;
  min-width: 0;
}
.menu-search input::placeholder { color: var(--muted-2); }
.menu-search svg { flex-shrink: 0; opacity: 0.55; color: var(--secondary-light); }
.menu-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.menu-search-clear svg { width: 12px; height: 12px; }
.menu-search-clear:hover { color: var(--text); background: rgba(255,255,255,0.12); }
.menu-search-clear:active { transform: scale(0.9); }
.menu-search-clear[hidden] { display: none; }
html[dir="rtl"] .menu-search input { text-align: right; }

.menu-tabs-wrap {
  position: sticky;
  top: 56px; /* tucked 1-3px under the fixed navbar (z-index 100) so no gap shows */
  z-index: 10;
  background: rgba(14, 9, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0 6px;
  margin-bottom: 26px;
}
.menu-tabs-wrap::before, .menu-tabs-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 30px;
  pointer-events: none;
  z-index: 1;
}
.menu-tabs-wrap::before { left: 0; background: linear-gradient(90deg, rgba(14,9,22,0.88), transparent); }
.menu-tabs-wrap::after { right: 0; background: linear-gradient(270deg, rgba(14,9,22,0.88), transparent); }
.menu-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 6px 6px;
  scroll-behavior: smooth;
  cursor: grab;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs.dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.menu-tabs.dragging .menu-tab { pointer-events: none; }
.menu-tab {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.25s var(--ease), box-shadow 0.3s ease;
}
.menu-tab svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  opacity: 0.85;
}
.menu-tab:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-1px); }
.menu-tab.active {
  color: #241205;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(217,164,65,0.28), 0 0 0 1px rgba(217,164,65,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

/* ---- Category groups: large editorial numbering above a card grid ---- */
#menuContainer { max-width: 1180px; margin: 0 auto; cursor: grab; user-select: none; }
#menuContainer:active { cursor: grabbing; }
.menu-category { margin-bottom: 56px; scroll-margin-top: 190px; }
.menu-category:last-child { margin-bottom: 20px; }
.menu-category-head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-strong);
}
.menu-category-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted-2);
  padding-bottom: 8px;
}
.menu-category-heading { flex: 1; min-width: 0; }
.menu-category-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 36px);
  color: var(--text);
  line-height: 1.15;
}
.menu-category-note {
  font-size: 13.5px;
  font-style: italic;
  color: var(--muted);
  margin-top: 5px;
}
.menu-category-head .count {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 8px;
  white-space: nowrap;
}

/* ---- Item cards: large top photo + name/price beneath, app-style grid ---- */
/* `minmax(0, 1fr)` rather than plain `1fr`: `1fr` is `minmax(auto, 1fr)`, whose
   automatic minimum is the card's min-content, so a card could force its
   column wider than its share. `0` makes every column exactly 1/N of the row. */
.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 620px) {
  .menu-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 980px) {
  .menu-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.menu-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: transparent;
  cursor: pointer;
  text-align: left;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
  transition: transform 0.4s var(--ease);
}
.menu-item:hover {
  background: transparent;
  transform: translateY(-4px);
  box-shadow: none;
}
.menu-item:active { transform: translateY(-1px) scale(0.99); }
.menu-item:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Image slot: a full-width, consistently-proportioned photo tile. Items
   without product photography fall back to the category's line-icon on a
   soft brand gradient — a deliberate, honest stand-in rather than a
   placeholder box pretending to be a broken image. */
.menu-item-media {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
}
/* Items with no product photo still fall back to the icon, so keep a
   faint glass tint only when the icon (not a real photo) is showing —
   photographed drinks render on nothing but the card's own glass. */
.menu-item-media:has(.menu-item-icon svg) {
  background: radial-gradient(circle at 32% 28%, rgba(59,29,92,0.35), rgba(23,16,31,0.15) 78%);
  border-radius: var(--radius-lg);
}
/* The icon/photo layer is taken out of flow and pinned to the tile with
   `inset: 0`. The tile's size is therefore decided ONLY by `width: 100%` +
   `aspect-ratio`; nothing inside it can contribute an intrinsic size, so a
   640x1700 can photo and an 800x800 cup photo both get the same tile. This
   also means the result no longer depends on how a given browser resolves a
   percentage height against an aspect-ratio-derived parent height. */
.menu-item-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-light);
  opacity: 0.85;
}
.menu-item-icon svg { width: 34%; height: 34%; max-width: 46px; max-height: 46px; }
.menu-item-icon img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s var(--ease);
}
.menu-item:hover .menu-item-icon img { transform: scale(1.06); }
.menu-item:hover .menu-item-icon { opacity: 1; }

/* Phones (below the 3-column breakpoint). Desktop/tablet are unchanged.
   - The card is a <button>; the global button reset clears its border and
     background but not the browser's default 6px side padding, which insets
     the photo from its column edge on both sides.
   - Photos are `contain`ed in a fixed 4:5 tile, so a wide dessert (~2:1) is
     shorter than the tile. Anchoring to the bottom keeps the product sitting
     directly above its name instead of floating mid-tile; tall items (cups,
     cans) already fill the tile height, so they are unaffected. */
@media (max-width: 619px) {
  .menu-item { padding: 0; }
  .menu-item-icon img { object-position: center bottom; }
}

.menu-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 14px 14px;
}
.menu-item-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.menu-item-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: 0.002em;
  min-width: 0;
  overflow-wrap: break-word;
  transition: color 0.3s ease;
}
.menu-item:hover .menu-item-name { color: var(--secondary-light); }

/* Optional per-item badge, set from the Admin Dashboard ("New" / "Best
   Seller" / "Popular"). Absent for items with no badge ("none"). Sits as
   a small solid pill on the corner of the image tile. */
.menu-item-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
  color: var(--bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.25);
}
.menu-item-badge--new { background: linear-gradient(135deg, var(--secondary-light), #E9C67A); }
.menu-item-badge--best-seller {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  color: #241205;
  font-size: 8.5px;
  padding: 4px 10px;
}
.menu-item-badge--popular { background: linear-gradient(135deg, var(--primary), var(--primary-dim)); color: var(--text); border-color: rgba(255,255,255,0.18); }

/* "In an Offer" tag — set independently from the New/Best Seller/Popular
   badge above when an item is linked to an offer from the Admin
   Dashboard. Sits inline next to the item name, not on the image tile. */
.menu-item-offer-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(155, 93, 229, 0.16);
  color: var(--secondary-light);
  border: 1px solid var(--purple-border);
  white-space: nowrap;
}

/* Favorite heart toggle — sits inline in the price row, right next to
   the price. Not a real <button> (nested inside the card's own button)
   so the HTML parser doesn't auto-close the outer button; click
   handling in main.js stops it from also opening the item's quick-view
   modal. */
.menu-item-fav {
  flex-shrink: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  color: rgba(248,244,236,0.85);
  cursor: pointer;
  transition: transform 0.25s var(--ease), color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.menu-item-fav svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: fill 0.25s ease;
}
.menu-item-fav:hover { color: var(--secondary-light); border-color: var(--gold-border); transform: scale(1.08); }
.menu-item-fav:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
.menu-item-fav.is-fav { color: #E0435B; border-color: rgba(224,67,91,0.4); background: rgba(224,67,91,0.12); }
.menu-item-fav.is-fav svg { fill: currentColor; stroke: currentColor; }
.menu-item-fav:active { transform: scale(0.92); }



/* Favorites tab in the category bar — same look as the other tabs, with
   a small heart icon before the label. */
.menu-tab--fav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.menu-tab--fav svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: fill 0.25s ease;
}
.menu-tab--fav.active svg { fill: currentColor; }


.menu-item-price {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--secondary-light);
  background: rgba(217,164,65,0.12);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.menu-item:hover .menu-item-price {
  background: rgba(217,164,65,0.18);
  border-color: var(--secondary-light);
}
.menu-item-price::after { content: ' EGP'; font-size: 9px; font-family: var(--font-body); font-weight: 700; opacity: 0.7; margin-inline-start: 2px; }

/* Brief highlight when a "View in menu" link from Best Sellers lands on a
   row, so the user immediately sees which item they were taken to. */
.menu-item-highlight {
  animation: menu-item-highlight-pulse 1.6s var(--ease);
}
@keyframes menu-item-highlight-pulse {
  0% { background: rgba(217,164,65,0.14); }
  70% { background: rgba(217,164,65,0.14); }
  100% { background: transparent; }
}


/* stagger the reveal of menu items within a visible category */
.menu-category.in-view .menu-item { animation: menu-item-in 0.3s var(--ease) both; }
.menu-category.in-view .menu-list .menu-item:nth-child(1) { animation-delay: 0s; }
.menu-category.in-view .menu-list .menu-item:nth-child(2) { animation-delay: 0.02s; }
.menu-category.in-view .menu-list .menu-item:nth-child(3) { animation-delay: 0.04s; }
.menu-category.in-view .menu-list .menu-item:nth-child(4) { animation-delay: 0.06s; }
.menu-category.in-view .menu-list .menu-item:nth-child(n+5) { animation-delay: 0.08s; }
@keyframes menu-item-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* animated category-tab switch: old items fade+shrink out, new items fade+rise in */
.menu-item-filter-out {
  opacity: 0 !important;
  transform: scale(0.94) !important;
  transition: opacity 0.12s ease, transform 0.12s ease !important;
}
.menu-item-filter-in { animation: menu-filter-in 0.24s var(--ease) both; }
@keyframes menu-filter-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}


/* =========================================================================
   MENU STRIP — every picture in ONE horizontal line, one after another.
   Swipe / drag / side arrows / arrow keys to move along it. No pages, no
   vertical list. (Name, price, description and the heart are in the popup
   that opens when a picture is tapped.)
   ========================================================================= */
.menu-pager {
  position: relative;
  --tile-w: clamp(190px, 58vw, 250px);
  --tile-gap: 14px;
}
@media (min-width: 620px) { .menu-pager { --tile-w: 226px; --tile-gap: 18px; } }
@media (min-width: 980px) { .menu-pager { --tile-w: 264px; --tile-gap: 22px; } }
.menu-pager-stage { position: relative; padding-inline: 58px; }

#menuContainer {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  max-width: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 2px 18px;   /* room for the hover lift */
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
#menuContainer::-webkit-scrollbar { display: none; }
#menuContainer.dragging { scroll-behavior: auto; cursor: grabbing; }
#menuContainer.dragging .menu-item { pointer-events: none; }

/* One category = a heading + its row of pictures, side by side with the next category. */
.menu-pager .menu-category { flex: 0 0 auto; display: flex; flex-direction: column; margin: 0; }
.menu-pager .menu-category:last-child { margin: 0; }
.menu-pager .menu-category-head {
  position: sticky;
  inset-inline-start: 0;            /* stays pinned to the edge while you scroll through this category */
  z-index: 2;
  align-self: flex-start;
  width: max-content;
  max-width: 86vw;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 0;
  border-bottom: 0;
}
.menu-pager .menu-category-head h3 { font-size: clamp(22px, 4.2vw, 30px); white-space: nowrap; }
.menu-pager .menu-category-note { display: none; }

.menu-pager .menu-list {
  display: flex;
  gap: var(--tile-gap);
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
}
.menu-pager .menu-item { flex: 0 0 var(--tile-w); width: var(--tile-w); }
.menu-pager .menu-item-media { aspect-ratio: 4 / 5; }
.menu-pager .menu-item-body { display: none; }

/* ---- No empty gutters at the ends of a strip: the first picture starts at
   the edge (left in EN, right in AR) and the last one ends at the edge, instead
   of being padded so they could be centred. ---- */
#menuContainer:not(.is-rows)::before,
#menuContainer:not(.is-rows)::after,
.menu-pager .is-rows .menu-list::before,
.menu-pager .is-rows .menu-list::after {
  content: none;
  display: none;
}

/* Phones only: keep breathing room at both ends so every item (including the
   first and the last) can sit exactly in the middle of the screen. */
@media (max-width: 619px) {
  #menuContainer:not(.is-rows)::before,
  #menuContainer:not(.is-rows)::after {
    content: "";
    display: block;
    flex: 0 0 max(0px, calc(50% - var(--tile-w) / 2 - 48px));  /* 48px = gap between categories */
  }
  .menu-pager .is-rows .menu-list::before,
  .menu-pager .is-rows .menu-list::after {
    content: "";
    display: block;
    flex: 0 0 max(0px, calc(50% - var(--tile-w) / 2 - var(--tile-gap)));
  }
}

/* ---- ROWS MODE ("All" / "Favorites"): each category = its own line ---- */
.menu-row-arrows { display: none; flex-shrink: 0; gap: 8px; padding-bottom: 4px; }
.menu-row-arrows[hidden] { display: none !important; }
.menu-row-arrow {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--secondary-light);
  background: rgba(23, 16, 31, 0.86);
  border: 1.5px solid var(--gold-border);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.menu-row-arrow svg { width: 16px; height: 16px; }
.menu-row-arrow:hover:not(:disabled) {
  color: #241205;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  border-color: transparent;
  transform: scale(1.08);
}
.menu-row-arrow:disabled { opacity: 0.22; cursor: default; }
.menu-row-arrow:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }

#menuContainer.is-rows {
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
  overflow: visible;
  padding: 0;
  cursor: default;
}
#menuContainer.is-rows .menu-category { flex: 0 0 auto; width: 100%; min-width: 0; }
.menu-pager .is-rows .menu-category-head {
  position: static;
  width: auto;
  max-width: none;
  align-self: stretch;
  align-items: flex-end;
  margin-bottom: 12px;
}
.menu-pager .is-rows .menu-list {
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 16px;
  padding-bottom: 14px;     /* room for the hover lift */
  scrollbar-width: none;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.menu-pager .is-rows .menu-list::-webkit-scrollbar { display: none; }
.menu-pager .is-rows .menu-list.dragging { scroll-behavior: auto; cursor: grabbing; }
.menu-pager .is-rows .menu-list.dragging .menu-item { pointer-events: none; }
#menuContainer.is-rows .menu-row-arrows { display: inline-flex; }
@media (max-width: 619px) {
  #menuContainer.is-rows { gap: 32px; }
  #menuContainer.is-rows .menu-row-arrows { gap: 6px; padding-bottom: 2px; }
  .menu-row-arrow { width: 32px; height: 32px; }
  .menu-row-arrow svg { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-pager .is-rows .menu-list { scroll-behavior: auto; }
}

/* ---- side arrows ---- */
.menu-pager-arrow {
  position: absolute;
  top: var(--arrow-y, 50%); /* set from JS: centre of the picture row */
  z-index: 5;
  width: 46px; height: 46px;
  margin-top: -23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--secondary-light);
  background: rgba(23, 16, 31, 0.86);
  border: 1.5px solid var(--gold-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}
.menu-pager-arrow--left { left: 4px; }
.menu-pager-arrow--right { right: 4px; }
.menu-pager-arrow svg { width: 20px; height: 20px; }
.menu-pager-arrow:hover:not(:disabled) {
  color: #241205;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 10px 26px rgba(217,164,65,0.35);
}
.menu-pager-arrow:active:not(:disabled) { transform: scale(0.92); }
.menu-pager-arrow:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.menu-pager-arrow:disabled { opacity: 0.22; cursor: default; box-shadow: none; }

/* A gentle nudge so people notice the arrows are tappable. */
.menu-pager-arrow--left:not(:disabled) svg { animation: pager-nudge-left 2.6s ease-in-out infinite; }
.menu-pager-arrow--right:not(:disabled) svg { animation: pager-nudge-right 2.6s ease-in-out infinite; }
.menu-pager-arrow:hover svg { animation-play-state: paused; }
@keyframes pager-nudge-left  { 0%, 55%, 100% { transform: translateX(0); } 75% { transform: translateX(-4px); } }
@keyframes pager-nudge-right { 0%, 55%, 100% { transform: translateX(0); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) {
  #menuContainer { scroll-behavior: auto; }
}

.menu-pager.is-single .menu-pager-arrow { visibility: hidden; }
.menu-pager.is-single .menu-pager-stage { padding-inline: 0; }
.menu-pager.is-single .menu-pager-status { visibility: hidden; }

/* ---- progress line: where you are along the whole menu ---- */
.menu-pager-status { display: flex; align-items: center; justify-content: center; margin-top: 6px; min-height: 12px; }
.menu-strip-track {
  position: relative;
  display: block;
  width: min(170px, 44%);
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.menu-strip-thumb {
  position: absolute;
  top: 0; bottom: 0;
  min-width: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary-light), var(--secondary));
  transition: left 0.12s linear, width 0.3s ease;
}

/* Phones: arrows float over the outer edge of the row instead of taking their own column. */
@media (max-width: 619px) {
  .menu-pager-stage { padding-inline: 0; }
  .menu-pager-arrow { width: 36px; height: 36px; margin-top: -18px; }
  .menu-pager-arrow--left { left: -12px; }
  .menu-pager-arrow--right { right: -12px; }
  .menu-pager-arrow svg { width: 17px; height: 17px; }
  .menu-section { padding-top: 96px; }
  .menu-section .section-head { margin-bottom: 20px; }
  .menu-section .section-lede { display: none; }
  .menu-section .section-title { font-size: 28px; }
}

/* =========================================================================
   MENU ITEM — QUICK VIEW MODAL
   ========================================================================= */
.item-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(6, 3, 9, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  padding: 0;
}
.item-modal-overlay.open { opacity: 1; visibility: visible; }
.item-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  background: rgba(30, 20, 40, 0.55);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 26px 26px 0 0;
  padding: 34px 28px 32px;
  box-shadow: var(--shadow-lift);
  transform: translateY(24px);
  transition: transform 0.4s var(--ease);
}
.item-modal-overlay.open .item-modal { transform: translateY(0); }
/* Bottom-sheet drag handle — a small premium cue on mobile where the
   modal docks to the bottom edge; hidden once it becomes a centered
   dialog at wider widths. */
.item-modal::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  width: 38px; height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  transform: translateX(-50%);
  z-index: 3;
}
.item-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background 0.25s ease, transform 0.25s ease;
}
.item-modal-close { background: rgba(10, 6, 17, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.item-modal-close:hover { background: var(--primary-dim); transform: rotate(90deg); }
.item-modal-close svg { width: 15px; height: 15px; }
/* Hero product photo: bleeds to the modal's top edge/corners so the quick
   view leads with a large image, matching the redesigned menu cards. */
.item-modal-icon {
  width: calc(100% + 56px);
  aspect-ratio: 4 / 3;
  margin: -34px -28px 20px -28px;
  border-radius: 26px 26px 0 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  color: var(--secondary-light);
  overflow: hidden;
}
/* Same fallback tint as the card grid: only shown when there's no real
   product photo and the category icon is standing in for one. */
.item-modal-icon:has(svg) {
  background: radial-gradient(circle at 32% 28%, rgba(59,29,92,0.35), rgba(23,16,31,0.15) 78%);
}
.item-modal-icon svg { width: 54px; height: 54px; }
.item-modal-icon img { width: 100%; height: 100%; object-fit: contain; }
.item-modal-category {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.item-modal-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
  color: var(--text);
  margin-top: 6px;
  padding-right: 30px;
}
.item-modal-desc {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}
.item-modal-foot {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.item-modal-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--secondary-light);
}
.item-modal-price::after { content: ' EGP'; font-size: 11px; font-family: var(--font-body); font-weight: 700; opacity: 0.6; }
.item-modal-price-row { display: flex; align-items: center; gap: 14px; }
.item-modal-fav { width: 40px; height: 40px; }
.item-modal-fav svg { width: 18px; height: 18px; }
.item-modal-fav[hidden] { display: none; }
.item-modal-note { font-size: 12px; color: var(--muted-2); text-align: right; max-width: 46%; line-height: 1.5; }

@media (min-width: 620px) {
  .item-modal-overlay { align-items: center; }
  .item-modal { border-radius: 26px; }
  .item-modal::before { display: none; }
}

.menu-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
  display: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 780px;
  margin: 0 auto;
}
.menu-empty.show { display: block; }

/* ---- Closing CTA: keeps the menu discover-only, no ordering ---- */
.menu-cta {
  max-width: 780px;
  margin: 0 auto;
  padding-top: 46px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.menu-cta p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: var(--secondary-light);
  margin-bottom: 24px;
}

/* =========================================================================
   GALLERY
   ========================================================================= */
.gallery-section {
  padding: 110px 0 120px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.gallery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 40% at 90% 0%, rgba(155,93,229,0.16), transparent 60%),
    radial-gradient(46% 40% at 10% 100%, rgba(217,164,65,0.12), transparent 60%);
  pointer-events: none;
}
.gallery-section .container { position: relative; z-index: 1; }
.gallery-section .eyebrow { color: var(--secondary-light); }

.gallery-visual {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--primary-deep), #0A0611 80%);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--purple-border);
}
.gallery-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

@media (max-width: 760px) {
  .gallery-section { padding: 80px 0 90px; }
  .gallery-visual { border-radius: var(--radius-md); }
}

/* =========================================================================
   OFFERS
   ========================================================================= */
.offers-section {
  padding: 110px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.offers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 40% at 12% 0%, rgba(217,164,65,0.14), transparent 60%),
    radial-gradient(46% 40% at 92% 100%, rgba(155,93,229,0.18), transparent 60%);
  pointer-events: none;
}
.offers-section .container { position: relative; z-index: 1; }
.offers-note {
  margin-top: -22px;
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--muted-2);
  font-style: italic;
  text-align: center;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offers-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 64px 32px;
  background: linear-gradient(165deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.offers-empty-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  font-size: 28px;
  box-shadow: var(--glow-gold);
}
.offers-empty h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}
.offers-empty p {
  font-size: 15px;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.6;
}
.offer-card {
  position: relative;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --tiltX: 0deg; --tiltY: 0deg;
  box-shadow: var(--shadow-card-rest);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s ease, background 0.4s ease;
  transform: perspective(800px) translateY(0) scale(1) rotateX(var(--tiltX)) rotateY(var(--tiltY));
}
.offer-card:hover { transform: perspective(800px) translateY(-8px) scale(1.015) rotateX(var(--tiltX)) rotateY(var(--tiltY)); box-shadow: var(--glow-gold); border-color: var(--gold-border); }
/* short, elegant stagger so cards reveal in sequence rather than all at once */
.offers-grid [data-reveal]:nth-child(1) { transition-delay: 0s; }
.offers-grid [data-reveal]:nth-child(2) { transition-delay: 0.07s; }
.offers-grid [data-reveal]:nth-child(3) { transition-delay: 0.14s; }
.offers-grid [data-reveal]:nth-child(n+4) { transition-delay: 0.21s; }

.offer-media {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-deep), #0A0611);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.offer-card:hover .offer-media img { transform: scale(1.06); }
.offer-badge, .offer-discount { transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }
.offer-card:hover .offer-badge, .offer-card:hover .offer-discount { transform: scale(1.06); }
.offer-media .offer-icon { font-size: 44px; opacity: 0.85; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4)); }
/* Offer Type (chosen in Admin) → automatic background tint, so every
   offer gets an appropriate visual without staff picking one by hand. */
.offer-media--food { background: linear-gradient(135deg, #4A2F12, #0A0611); }
.offer-media--dessert { background: linear-gradient(135deg, #5C1D3A, #0A0611); }
.offer-media--hot-drink { background: linear-gradient(135deg, var(--primary-deep), #0A0611); }
.offer-media--cold-drink { background: linear-gradient(135deg, #123A4A, #0A0611); }
.offer-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  color: #241205;
  box-shadow: 0 6px 18px rgba(217,164,65,0.4);
}
.offer-badge.limited {
  background: linear-gradient(135deg, #C084FC, var(--primary));
  color: #fff;
  box-shadow: 0 6px 18px rgba(155,93,229,0.45);
}
.offer-discount {
  position: absolute;
  bottom: 14px; right: 14px;
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  background: rgba(10,6,17,0.75);
  border: 1px solid var(--gold-border);
  color: var(--secondary-light);
  backdrop-filter: blur(6px);
}

.offer-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.offer-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
}
.offer-body p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}
.offer-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
}
.offer-price-new {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--secondary-light);
}
.offer-price-old {
  font-size: 14px;
  color: var(--muted-2);
  text-decoration: line-through;
}
.offer-body .btn { margin-top: 20px; width: 100%; }

/* =========================================================================
   LOCATION + CONTACT
   ========================================================================= */
.find-us { padding: 40px 0 120px; background: var(--bg); }
.location-map {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 26px;
  box-shadow: var(--shadow-card);
}
.location-map iframe { display: block; filter: saturate(0.9) contrast(1.02); }
@media (max-width: 760px) {
  .location-map { height: 240px; margin-bottom: 20px; }
}
.find-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
}
.info-card, .location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.location-card {
  background: linear-gradient(155deg, var(--primary-deep), #180D26 75%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-color: var(--purple-border);
}
.location-card::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  top: -80px; right: -80px;
}
.location-mark {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.35s var(--ease);
}
.location-card:hover .location-mark { transform: scale(1.05) translateY(-2px); }
.location-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
}
.location-card .loc-name { font-size: 15px; margin-top: 6px; color: var(--secondary-light); font-weight: 700; }
.location-card .loc-place { margin-top: 14px; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.location-card .btn { margin-top: 30px; align-self: flex-start; }

.info-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary-light);
  transition: transform 0.35s var(--ease);
}
.info-row:hover .info-icon { transform: scale(1.05) translateY(-1px); }
.info-row .label { font-size: 11.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.info-row .value { font-size: 15px; font-weight: 600; margin-top: 2px; color: var(--text); }
.info-row .value.placeholder { color: var(--muted); font-weight: 500; font-style: italic; }
.info-row a.value:hover { color: var(--secondary-light); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: #060309;
  color: var(--muted);
  padding: 74px 0 28px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand-word { color: var(--text); }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; max-width: 32ch; color: var(--muted); }
.footer-tagline { margin-top: 14px; font-family: var(--font-display); font-style: italic; color: var(--secondary-light); font-size: 15px; }
.footer-col h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--secondary-light); font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-col a:hover { color: var(--text); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover { background: linear-gradient(135deg, var(--secondary-light), var(--secondary)); border-color: var(--secondary); color: #241205; transform: translateY(-3px) scale(1.08); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
[data-reveal] { opacity: 0; transform: translateY(30px) scale(0.98); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0) scale(1); }
/* MENU SAFETY: dynamic menu content must remain visible even if an embedded
   mobile browser delays IntersectionObserver callbacks. */
#menuContainer .menu-category { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: translateY(0) scale(0.94); }
[data-reveal="scale"].in-view { transform: scale(1); }
[data-reveal="delay-1"] { transition-delay: 0.04s; }
[data-reveal="delay-2"] { transition-delay: 0.08s; }
.info-card[data-reveal] { transition-delay: 0.12s; }

/* =========================================================================
   MOBILE STICKY ACTION BAR
   Fixed bottom bar (Menu / Directions) — mobile only. Hidden by
   default; enabled inside the existing 760px breakpoint below, and body
   gets matching bottom padding there so the bar never covers content.
   ========================================================================= */
.mobile-actionbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 9, 22, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 30px rgba(0,0,0,0.4);
}
.actionbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  min-height: 48px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}
.actionbar-icon { display: flex; }
.actionbar-item:hover,
.actionbar-item:focus-visible { color: var(--text); background: rgba(255,255,255,0.05); }
.actionbar-item--current:not(.actionbar-item--accent) { color: var(--secondary-light); background: rgba(217,164,65,0.10); }
.actionbar-item:active { transform: scale(0.94); }
.actionbar-item--accent {
  color: #241205;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  margin: 0 2px;
}
.actionbar-item--accent:hover,
.actionbar-item--accent:focus-visible { color: #241205; background: linear-gradient(135deg, var(--secondary-light), var(--secondary)); opacity: 0.92; }


/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .find-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline-desktop { display: none; }
  .nav-cta .btn-primary { display: none; }
  .hamburger { display: flex; }
  .mobile-actionbar { display: flex; align-items: stretch; gap: 4px; }
  /* Note: no mobile-actionbar exists on this standalone menu page,
     so no extra bottom padding is reserved for it here. */
  .hero { padding: 128px 0 76px; }
  .hero-logo { width: 128px; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .menu-toolbar { padding-bottom: 16px; }
  .menu-tabs-wrap { padding: 8px 0 2px; margin-bottom: 20px; }
  .menu-category-head { gap: 12px; }
  .menu-category-num { font-size: 13px; padding-bottom: 6px; }
  .menu-category-head h3 { font-size: 23px; }
  .menu-category-head .count { display: none; }
  .exp-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .menu-item:hover { transform: none; }
  .item-modal { padding: 30px 22px 26px; max-height: 82vh; }
  .item-modal-icon { width: calc(100% + 44px); margin: -30px -22px 18px -22px; }
  .item-modal-name { font-size: 22px; padding-right: 26px; }
  .item-modal-foot { flex-wrap: wrap; }
  .item-modal-note { max-width: 100%; text-align: left; }
  .exp-card, .offer-card { padding: 26px 22px 22px; }
}

@media (max-width: 420px) {
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 18px; }
}

/* =========================================================================
   MOBILE TAP-TARGET + OVERFLOW SAFETY NET
   ========================================================================= */
@media (max-width: 760px) {
  a.btn, button.btn, .menu-tab, .hamburger, .item-modal-close, .footer-social a {
    min-height: 44px;
  }
  .menu-tab { min-height: 40px; }
}
html { max-width: 100%; overflow-x: hidden; }
body { max-width: 100%; overflow-x: clip; }
/* Very old browsers without overflow: clip fall back to hidden (sticky bar won't stick there, but nothing breaks) */
@supports not (overflow: clip) {
  body { overflow-x: hidden; }
  .menu-section { overflow: hidden; }
}

/* =========================================================================
   MOBILE MOTION: reduce animation distances, keep reveals/buttons, no tilt/parallax
   ========================================================================= */
@media (max-width: 760px) {
  [data-reveal] { transform: translateY(32px) scale(0.98); }
  .hero-word, .hero-sub { animation-name: hero-rise-sm; }
  .hero-actions { animation-name: hero-cta-in; }
}

/* =========================================================================
   LANGUAGE SWITCHER
   ========================================================================= */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.lang-switch-btn .flag { font-size: 14px; line-height: 1; }
.lang-switch-btn:hover { color: var(--text); }
.lang-switch-btn.active {
  color: #241205;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  box-shadow: 0 4px 14px rgba(217,164,65,0.30);
}
.mobile-menu .lang-switch { margin-top: 6px; }

@media (max-width: 760px) {
  .lang-switch-btn span:not(.flag) { display: none; }
  .lang-switch-btn { padding: 7px 9px; }
}

/* =========================================================================
   RTL (ARABIC) LAYOUT
   ========================================================================= */
html[dir="rtl"] body {
  font-family: var(--font-arabic);
}
html[dir="rtl"] .brand-word,
html[dir="rtl"] .hero-eyebrow,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .menu-search input,
html[dir="rtl"] .menu-tab,
html[dir="rtl"] .footer-col h5,
html[dir="rtl"] .info-row .label,
html[dir="rtl"] .actionbar-item,
html[dir="rtl"] .lang-switch-btn,
html[dir="rtl"] .menu-item-badge,
html[dir="rtl"] .offer-badge,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .menu-category-num,
html[dir="rtl"] .menu-item-category-note {
  font-family: var(--font-arabic);
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5,
html[dir="rtl"] .hero-tagline, html[dir="rtl"] .hero-sip,
html[dir="rtl"] .section-title, html[dir="rtl"] .about-quote,
html[dir="rtl"] .item-modal-name, html[dir="rtl"] .menu-item-name,
html[dir="rtl"] .item-modal-price, html[dir="rtl"] .menu-item-price,
html[dir="rtl"] .offer-price-new, html[dir="rtl"] .offer-price-old,
html[dir="rtl"] .about-badge span {
  font-family: var(--font-arabic);
  font-style: normal;
}
html[dir="rtl"] .hero-word, html[dir="rtl"] .hero-sub {
  font-family: var(--font-display);
}

/* Base direction — most flex/grid children auto-mirror since `direction`
   is inherited; the overrides below only fix physical (non-logical)
   left/right values that don't flip on their own. */
html[dir="rtl"] .about-quote {
  padding-left: 0;
  padding-right: 22px;
  border-left: none;
  border-right: 3px solid var(--secondary);
}
html[dir="rtl"] .menu-item { text-align: right; }
html[dir="rtl"] .menu-item-badge { right: auto; left: 8px; }
html[dir="rtl"] .item-modal-close { right: auto; left: 18px; }
html[dir="rtl"] .item-modal-name { padding-right: 0; padding-left: 30px; }
html[dir="rtl"] .item-modal-note { text-align: left; }
html[dir="rtl"] .about-badge { right: auto; left: -26px; }
html[dir="rtl"] .offer-badge { left: auto; right: 14px; }
html[dir="rtl"] .offer-discount { right: auto; left: 14px; }
html[dir="rtl"] .menu-tabs-wrap::before { left: auto; right: 0; background: linear-gradient(270deg, rgba(14,9,22,0.88), transparent); }
html[dir="rtl"] .menu-tabs-wrap::after { right: auto; left: 0; background: linear-gradient(90deg, rgba(14,9,22,0.88), transparent); }
html[dir="rtl"] .footer-col a:hover { padding-left: 0; padding-right: 4px; }
html[dir="rtl"] .nav-links a::after { left: auto; right: 0; }

/* ============================= COMMENTS (GUESTBOOK) ============================= */
.comments-section {
  padding: 110px 0;
  background: var(--bg-alt);
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.comments-section .container { position: relative; z-index: 1; max-width: 720px; }
.comments-section .eyebrow { color: var(--secondary-light); }
.comments-section .section-title { color: var(--text); }
.comments-section .section-lede { color: var(--muted); }

/* Average-rating summary — big number + stars + review count, sits
   between the section lede and the comment form. */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 8px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.rating-summary[hidden] { display: none; }
.rating-summary-score {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  color: var(--secondary-light);
  line-height: 1;
}
.rating-summary-details { display: flex; flex-direction: column; gap: 4px; }
.rating-summary-count { font-size: 12.5px; color: var(--muted-2); }

/* Star rating — used both as a read-only display (comment cards, summary)
   and as an interactive picker (the comment form). */
.star-rating { display: inline-flex; align-items: center; gap: 3px; }
.star-rating svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; color: var(--muted-2); }
.star-rating .is-filled svg { fill: var(--secondary-light); stroke: var(--secondary-light); }
.rating-summary .star-rating svg { width: 18px; height: 18px; }

.rating-picker { display: flex; flex-direction: column; gap: 8px; }
.rating-picker-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); }
.rating-picker-stars { display: inline-flex; gap: 6px; }
.rating-picker-star {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
}
.rating-picker-star svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: fill 0.2s ease; }
.rating-picker-star:hover { transform: scale(1.12); }
.rating-picker-star.is-active,
.rating-picker-star.is-hover { color: var(--secondary-light); }
.rating-picker-star.is-active svg,
.rating-picker-star.is-hover svg { fill: var(--secondary-light); }

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 48px 0 56px;
  padding: 24px;
  background: rgba(255,255,255,0.075);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
}
.comment-input,
.comment-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.comment-input::placeholder,
.comment-textarea::placeholder { color: var(--muted-2); }
.comment-input:focus,
.comment-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(155,93,229,0.08);
}
.comment-textarea { resize: vertical; min-height: 90px; }
.comment-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.comment-form-foot .btn { flex-shrink: 0; }
.comment-status {
  font-size: 13.5px;
  color: var(--secondary-light);
  margin: 0;
}
.comment-status.is-error { color: #f08a8a; }

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comment-card {
  padding: 18px 20px;
  background: rgba(255,255,255,0.075);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--card-inner-hairline);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.comment-card:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.12); }
.comment-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.comment-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--bg);
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
}
.comment-meta { display: flex; flex-direction: column; line-height: 1.3; }
.comment-name { font-weight: 700; font-size: 14.5px; color: var(--text); }
.comment-date { font-size: 12px; color: var(--muted-2); }
.comment-card-head .star-rating { margin-inline-start: auto; }
.comment-message {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
}

.comments-empty {
  display: none;
  text-align: center;
  color: var(--muted-2);
  font-size: 14.5px;
  padding: 30px 0 0;
}
.comments-empty.show { display: block; }

html[dir="rtl"] .comment-card-head { flex-direction: row-reverse; }
html[dir="rtl"] .comment-meta { text-align: right; }
html[dir="rtl"] .comment-card-head .star-rating { margin-inline-start: 0; margin-inline-end: auto; }


/* ---- Scroll FX: pictures scale / fade / sink toward the edges of the line ---- */
.menu-pager .menu-item-media {
  transform: translateY(var(--fx-y, 0)) scale(var(--fx-s, 1));
  opacity: var(--fx-o, 1);
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  will-change: transform, opacity;
}



/* =========================================================================
   IN-PLACE DETAILS — tap a picture and its name / description / price / heart
   animate in ON the picture itself (no popup).
   ========================================================================= */
.menu-item-reveal {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 14px 12px 12px;
  border-radius: var(--radius-lg);
  text-align: start;
  background: linear-gradient(180deg, rgba(23,16,31,0.5) 0%, rgba(23,16,31,0.9) 42%, rgba(18,11,27,0.97) 100%);
  border: 1px solid var(--gold-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.92) translateY(8px);
  transform-origin: 50% 80%;
  transition: opacity 0.12s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.12s;
}
.menu-item.is-open .menu-item-reveal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
/* the photo underneath eases back and softens while the details are up */
.menu-pager .menu-item.is-open .menu-item-icon img { transform: scale(1.08); filter: blur(2px); }
.menu-pager .menu-item .menu-item-icon img { transition: transform 0.2s var(--ease), filter 0.15s ease; }

/* each line slides up one after another */
.menu-item-reveal .mir-cat,
.menu-item-reveal .mir-name,
.menu-item-reveal .mir-desc,
.menu-item-reveal .mir-price {
  display: block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.14s ease, transform 0.2s var(--ease);
}
.menu-item.is-open .mir-cat,
.menu-item.is-open .mir-name,
.menu-item.is-open .mir-desc,
.menu-item.is-open .mir-price { opacity: 1; transform: none; }
.menu-item.is-open .mir-cat   { transition-delay: 0s; }
.menu-item.is-open .mir-name  { transition-delay: 0.02s; }
.menu-item.is-open .mir-desc  { transition-delay: 0.04s; }
.menu-item.is-open .mir-price { transition-delay: 0.06s; }

.mir-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-light);
}
.mir-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 4.2vw, 19px);
  line-height: 1.2;
  color: var(--text);
}
.mir-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mir-price {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 4.6vw, 21px);
  color: var(--secondary-light);
}
/* heart sits in the top corner of the picture */
.menu-item-reveal .menu-item-fav {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.14s ease 0.02s, transform 0.2s var(--ease) 0.02s;
}
.menu-item.is-open .menu-item-reveal .menu-item-fav { opacity: 1; transform: scale(1); }
html[dir="rtl"] .mir-cat { letter-spacing: 0; }
html[dir="rtl"] .mir-name, html[dir="rtl"] .mir-price { font-family: var(--font-arabic); }




/* ---- Category name animation ---- */
@keyframes cat-title-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); filter: blur(7px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes cat-title-shine {
  from { background-position: 100% 0; }
  to   { background-position: 0% 0; }
}
@keyframes cat-num-in {
  from { opacity: 0; transform: translateY(10px) scale(0.6); }
  to   { opacity: 1; transform: none; }
}
@keyframes cat-count-in {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: none; }
}
.menu-category.in-view .menu-category-head h3 {
  background: linear-gradient(100deg, var(--text) 0 38%, var(--secondary-light) 50%, var(--text) 62% 100%);
  background-size: 260% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: cat-title-in 0.35s var(--ease) both, cat-title-shine 0.8s ease 0.1s both;
}
.menu-category.in-view .menu-category-num { animation: cat-num-in 0.3s var(--ease) 0.03s both; }
.menu-category.in-view .menu-category-head .count,
.menu-category.in-view .menu-row-arrows { animation: cat-count-in 0.3s var(--ease) 0.08s both; }



/* Pictures can't be dragged out / saved by press-and-hold; taps go to the card. */
.menu-item img, .item-modal img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}


/* ---- Navbar: compact "back to home" pill (logo + name) ---- */
.navbar { padding: 14px 0; }
.navbar.scrolled { padding: 8px 0; }
.navbar .brand,
.navbar.scrolled .brand {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  padding: 4px;
  padding-inline-end: 15px;
  border-radius: 999px;
  background: rgba(23, 16, 31, 0.62);
  border: 1px solid var(--gold-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.navbar .brand:hover {
  transform: translateY(-1px);
  border-color: var(--secondary-light);
  background: rgba(35, 22, 52, 0.78);
  box-shadow: 0 8px 22px rgba(217, 164, 65, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.navbar .brand:active { transform: scale(0.96); }
.navbar .brand:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
.navbar .brand-mark,
.navbar.scrolled .brand-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  padding: 1px;
  box-shadow: none;
}
.navbar .brand:hover .brand-mark { transform: none; box-shadow: none; }
.navbar .brand-word,
.navbar.scrolled .brand-word { font-size: 14px; letter-spacing: 0.08em; }
.navbar .brand-word small,
.navbar.scrolled .brand-word small { display: none; }
@media (max-width: 619px) {
  .navbar .brand-mark, .navbar.scrolled .brand-mark { width: 30px; height: 30px; }
  .navbar .brand, .navbar.scrolled .brand { padding-inline-end: 13px; }
}


/* ---- Rows mode: arrows sit on the LEFT and RIGHT of each row's pictures ---- */
.menu-row-wrap { position: relative; min-width: 0; }
.menu-row-arrows { display: none; }
.menu-row-arrows[hidden] { display: none !important; }
#menuContainer.is-rows .menu-row-arrows { display: contents; }
#menuContainer.is-rows .menu-row-arrow {
  position: absolute;
  top: calc(16px + var(--tile-w) * 0.625);   /* middle of the pictures */
  transform: translateY(-50%);
  z-index: 6;
  width: 40px; height: 40px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
#menuContainer.is-rows .menu-row-arrow[data-row-dir="-1"] { left: 4px; }
#menuContainer.is-rows .menu-row-arrow[data-row-dir="1"]  { right: 4px; }
#menuContainer.is-rows .menu-row-arrow svg { width: 18px; height: 18px; }
#menuContainer.is-rows .menu-row-arrow:hover:not(:disabled) { transform: translateY(-50%) scale(1.1); }
@media (max-width: 619px) {
  #menuContainer.is-rows .menu-row-arrow { width: 36px; height: 36px; }
  #menuContainer.is-rows .menu-row-arrow[data-row-dir="-1"] { left: 2px; }
  #menuContainer.is-rows .menu-row-arrow[data-row-dir="1"]  { right: 2px; }
}


/* =========================================================================
   CATEGORY NAMES — bigger, editorial, animated
   ========================================================================= */
.menu-category-head { align-items: center; gap: 12px; }
.menu-pager .menu-category-head { gap: 12px; margin-bottom: 10px; }

.menu-category-num {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--secondary);
  opacity: 0.85;
  padding-bottom: 0;
}
.menu-category-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--secondary-light);
  background: linear-gradient(155deg, rgba(155,93,229,0.28), rgba(217,164,65,0.16));
  border: 1px solid var(--gold-border);
  box-shadow: 0 6px 18px rgba(155,93,229,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.menu-category-icon svg { width: 19px; height: 19px; }

.menu-pager .menu-category-head h3 {
  font-size: clamp(26px, 6.6vw, 40px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  padding-block: 4px;
}
.menu-category-head .count {
  padding: 5px 12px;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  color: var(--secondary-light);
  background: rgba(217,164,65,0.07);
  padding-bottom: 5px;
}

/* gold line that draws itself across the top of every row */
.menu-row-wrap::before,
.menu-pager .menu-category > .menu-row-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 96px;
  height: 2px;
  z-index: 2;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--secondary-light), var(--secondary) 55%, transparent);
  box-shadow: 0 0 12px rgba(217,164,65,0.55);
  transform-origin: left center;
  pointer-events: none;
}
html[dir="rtl"] .menu-row-wrap::before { background: linear-gradient(270deg, var(--secondary-light), var(--secondary) 55%, transparent); transform-origin: right center; }
.menu-category.in-view .menu-row-wrap::before { animation: cat-line-draw 0.9s var(--ease) 0.35s both; }
@keyframes cat-line-draw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* name: wipes in with a blur-to-sharp rise, then a gold shine passes over it */
@keyframes cat-title-wipe {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); clip-path: inset(0 100% 0 0); }
  60%  { filter: blur(0); }
  to   { opacity: 1; transform: none; filter: blur(0); clip-path: inset(0 0 0 0); }
}
html[dir="rtl"] .menu-category.in-view .menu-category-head h3 { --wipe-rtl: 1; }
@keyframes cat-title-wipe-rtl {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); clip-path: inset(0 0 0 100%); }
  60%  { filter: blur(0); }
  to   { opacity: 1; transform: none; filter: blur(0); clip-path: inset(0 0 0 0); }
}
.menu-category.in-view .menu-category-head h3 {
  animation: cat-title-wipe 0.9s var(--ease) both, cat-title-shine 1.6s ease 0.55s both;
}
html[dir="rtl"] .menu-category.in-view .menu-category-head h3 {
  animation: cat-title-wipe-rtl 0.9s var(--ease) both, cat-title-shine 1.6s ease 0.55s both;
}

/* icon pops in with a little spin */
@keyframes cat-icon-pop {
  from { opacity: 0; transform: scale(0.2) rotate(-120deg); }
  70%  { transform: scale(1.12) rotate(8deg); }
  to   { opacity: 1; transform: none; }
}
.menu-category.in-view .menu-category-icon { animation: cat-icon-pop 0.75s cubic-bezier(0.34,1.56,0.64,1) 0.1s both; }
.menu-category.in-view .menu-category-num { animation: cat-num-in 0.6s var(--ease) 0.05s both; }


@media (max-width: 619px) {
  .menu-category-icon { width: 34px; height: 34px; }
  .menu-category-icon svg { width: 17px; height: 17px; }
}


/* ---------------- Calories (kcal) next to each drink ---------------- */
.menu-item-foot { flex-wrap: wrap; row-gap: 6px; }
.menu-item-cal,
.item-modal-cal,
.mir-cal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.menu-item-cal::before,
.item-modal-cal::before,
.mir-cal::before {
  content: "";
  width: 0.95em; height: 0.95em;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c1 3.5-1.5 5.5-3 7.5S6 13.5 6 15a6 6 0 0 0 12 0c0-2.5-1.5-4.5-2.5-5.5.2 1.6-.4 3-1.5 3.5.5-3-.5-7.5-2-11z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c1 3.5-1.5 5.5-3 7.5S6 13.5 6 15a6 6 0 0 0 12 0c0-2.5-1.5-4.5-2.5-5.5.2 1.6-.4 3-1.5 3.5.5-3-.5-7.5-2-11z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.menu-item-cal { font-size: 11.5px; }
.item-modal-cal { font-size: 14px; }
.item-modal-cal[hidden] { display: none; }
.mir-cal { margin-top: 2px; font-size: 12px; opacity: 0; transform: translateY(8px); transition: opacity 0.14s ease, transform 0.2s var(--ease); }
.menu-item.is-open .mir-cal { opacity: 1; transform: none; transition-delay: 0.08s; }
html[dir="rtl"] .menu-item-cal, html[dir="rtl"] .item-modal-cal, html[dir="rtl"] .mir-cal { font-family: var(--font-arabic); }


/* =========================================================================
   MOTION POLICY
   Animations play for everyone, on every device. Visitors whose system asks
   for reduced motion (Windows "Animation effects" off, macOS/iOS "Reduce
   motion") get the same animations with gentler travel distance, and instant
   instead of smooth scrolling (see the scroll-behavior rules above).
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: translateY(18px); }
  [data-reveal].in-view { transform: none; }
}

/* looping animations rest while their section is off-screen (see main JS) */
.motion-paused, .motion-paused *, .motion-paused *::before, .motion-paused *::after,
.motion-paused::before, .motion-paused::after { animation-play-state: paused !important; }

/* =========================================================================
   NAVBAR HOME BUTTON — full TYT lockup in a glass pill
   ========================================================================= */
.navbar .brand,
.navbar.scrolled .brand {
  position: relative;
  padding: 5px 16px 5px 12px;
  gap: 0;
  border-radius: 999px;
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(155,93,229,0.28), transparent 60%),
    rgba(18, 12, 26, 0.72);
  border: 1px solid var(--gold-border);
  box-shadow: 0 8px 22px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 4px rgba(217,164,65,0.05);
  overflow: hidden;
}
.navbar .brand::after {               /* soft light sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.navbar .brand:hover::after { transform: translateX(120%); }
.navbar .brand:hover {
  border-color: var(--secondary-light);
  box-shadow: 0 10px 26px rgba(217,164,65,0.22), inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 4px rgba(217,164,65,0.10);
}
.navbar .brand-lockup {
  display: block;
  height: 50px;
  width: auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.45));
  transition: height 0.35s var(--ease), transform 0.35s var(--ease);
}
.navbar .brand:hover .brand-lockup { transform: scale(1.04); }
.navbar.scrolled .brand-lockup { height: 40px; }
html[dir="rtl"] .navbar .brand, html[dir="rtl"] .navbar.scrolled .brand { padding: 5px 12px 5px 16px; }
@media (max-width: 619px) {
  .navbar .brand-lockup { height: 38px; }
  .navbar.scrolled .brand-lockup { height: 34px; }
  .navbar .brand, .navbar.scrolled .brand { padding: 4px 12px 4px 10px; }
  html[dir="rtl"] .navbar .brand, html[dir="rtl"] .navbar.scrolled .brand { padding: 4px 10px 4px 12px; }
}

/* ---- menu photos: soft shimmer while loading, then fade in (never an empty tile) ---- */
.menu-item-icon img.is-loaded { animation: menu-img-in 0.35s ease both; }
@keyframes menu-img-in { from { opacity: 0; } to { opacity: 1; } }
.menu-item-media:has(img.is-pending)::before {
  content: "";
  position: absolute;
  inset: 12% 22% 6%;
  border-radius: 28px 28px 22px 22px;
  background: linear-gradient(100deg, rgba(255,255,255,0.03) 30%, rgba(217,164,65,0.10) 50%, rgba(255,255,255,0.03) 70%);
  background-size: 220% 100%;
  animation: menu-img-shimmer 1.2s linear infinite;
  pointer-events: none;
}
@keyframes menu-img-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
