/* ============================================================
   HAMASAT CAFETERIA — MENU PAGE
   Enhanced Palette | Primary: #66ccff
   New Layout & Structure | Fonts: Cormorant SC + DM Sans
   ============================================================ */

:root {
  --primary: #66ccff;
  --primary-hover: #28baf5;
  --primary-deep: #0fa3e0;
  --primary-subtle: rgba(102, 204, 255, 0.08);
  --primary-light: rgba(102, 204, 255, 0.16);
  --primary-border: rgba(102, 204, 255, 0.35);

  --bg-base: #fdfeff;
  --bg-hero: linear-gradient(140deg, #ffffff 0%, #edf6ff 55%, #f5f0ff 100%);
  --bg-section: #f4f8fd;
  --bg-section-alt: #e8f3fc;
  --bg-card: #ffffff;
  --bg-nav: rgba(253, 254, 255, 0.96);

  --text-primary: #111111;
  --text-secondary: #222222;
  --text-muted: #5e7a90;
  --text-light: #8ea8be;

  --gold: #c9830a;
  --gold-bg: rgba(201, 131, 10, 0.08);
  --success: #12b76a;
  --success-hover: #0d9456;
  --error: #e63950;
  --error-hover: #c2253a;
  --popular: #f04f6d;

  --border: #dae4ef;
  --border-light: #ecf2f8;

  --font-heading: "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.09), 0 12px 32px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12), 0 24px 60px rgba(0, 0, 0, 0.08);
  --shadow-cyan: 0 6px 24px rgba(102, 204, 255, 0.28);
  --shadow-cyan-hover: 0 12px 40px rgba(102, 204, 255, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-pill: 50px;

  --t: 0.28s ease;
  --t-slow: 0.5s ease;
}

/* =============================================
   GLOBAL
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
.logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--primary-subtle);
  color: var(--primary-hover);
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-section);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* =============================================
   NAVIGATION — matches style.css redesign
   ============================================= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6%;
  height: 80px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--border);
}

nav::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--primary);
  border-radius: 0 2px 0 0;
  transition: width 0.4s ease;
}

nav:hover::before {
  width: 120px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.logo img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  border-radius: 50%;
  border: 1.5px solid var(--primary-border);
  padding: 2px;
  transition:
    border-color var(--t),
    transform var(--t);
}

.logo:hover img {
  border-color: var(--primary);
  transform: scale(1.04);
}

.logo::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: var(--border);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-text {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  line-height: 1;
  font-family: var(--font-heading);
  transition: color var(--t);
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: var(--font-body);
  line-height: 1;
}

.logo:hover .logo-text {
  color: var(--primary-deep);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 20px;
  position: relative;
  transition: color var(--t);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 20px;
  right: 20px;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: var(--text-primary);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: flex;
  align-items: center;
}

.language-switcher button {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--t);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 6px;
}

.language-switcher button::before {
  content: "\f0ac";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--primary);
}

.language-switcher button:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  background: var(--primary-subtle);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary);
  color: var(--text-primary);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-body);
  transition: all var(--t);
  box-shadow: 0 4px 16px rgba(102, 204, 255, 0.3);
  white-space: nowrap;
}

.nav-cta i {
  font-size: 0.72rem;
}

.nav-cta:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-cyan-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-primary);
  z-index: 1001;
  background: transparent;
  border: 1.5px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}

.menu-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-base);
  border-right: 3px solid var(--primary);
  box-shadow: 10px 0 60px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 36px 36px;
  overflow-y: auto;
  right: -100%;
  left: auto;
}

html[dir="rtl"] .mobile-menu {
  right: auto;
  left: -100%;
  border-right: none;
  border-left: 3px solid var(--primary);
}

.mobile-menu.active {
  right: 0;
}
html[dir="rtl"] .mobile-menu.active {
  right: auto;
  left: 0;
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: 30px;
}

.mobile-nav-links li {
  margin: 14px 0;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

html[dir="rtl"] .mobile-nav-links li {
  transform: translateX(-20px);
}
.mobile-menu.active .mobile-nav-links li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-nav-links li:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-nav-links li:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-nav-links li:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--t);
}

.mobile-nav-links a:hover {
  color: var(--primary);
  padding-left: 8px;
}
html[dir="rtl"] .mobile-nav-links a:hover {
  padding-right: 8px;
  padding-left: 0;
}

.mobile-language-switcher {
  margin-top: auto;
  padding: 20px 0;
  text-align: center;
}

.mobile-language-switcher button {
  background: var(--primary);
  border: none;
  color: white;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--t);
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  font-family: var(--font-body);
  display: block;
  box-shadow: var(--shadow-cyan);
}

.mobile-language-switcher button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* =============================================
   OVERLAY
   ============================================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Nav responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  nav {
    padding: 0 4%;
  }
}
@media (max-width: 768px) {
  .language-switcher.desktop-language {
    display: none;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .logo::after {
    display: none;
  }
}
@media (max-width: 480px) {
  .logo img {
    height: 38px;
    width: 38px;
  }
  .mobile-menu {
    width: 90%;
  }
}

/* RTL */
html[dir="rtl"] {
  direction: rtl;
}
html[dir="rtl"] .logo {
  flex-direction: row-reverse;
}
html[dir="rtl"] .logo::after {
  right: auto;
  left: -22px;
}
html[dir="rtl"] .logo-text-group {
  text-align: right;
}
html[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}
html[dir="rtl"] .nav-links a::after {
  transform-origin: right center;
}
html[dir="rtl"] nav::before {
  left: auto;
  right: 0;
  border-radius: 2px 0 0 0;
}
html[dir="rtl"] .nav-actions {
  flex-direction: row-reverse;
}

/* =============================================
   MENU HERO — SPLIT: LEFT TEXT / RIGHT IMAGE
   ============================================= */
.menu-hero {
  min-height: 78vh;
  padding-top: 76px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #0d0d0d;
}

/* Right-side food image */
.menu-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 1;
  pointer-events: none;
  user-select: none;
}

/* Gradient that blends image into dark left panel */
.menu-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    #0d0d0d 0%,
    rgba(13, 13, 13, 0.3) 30%,
    transparent 60%
  );
  z-index: 1;
  pointer-events: none;
}

/* Diagonal accent stripe at the split */
.menu-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  width: 3px;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--primary),
    transparent
  );
  opacity: 0.4;
  z-index: 2;
  transform: skewX(-3deg);
}

.menu-hero-content {
  position: relative;
  z-index: 3;
  padding: 60px 7%;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  background: #0d0d0d;
}

/* Eyebrow pill */
.hero-eyebrow {
  display: inline-block;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary);
  background: rgba(102, 204, 255, 0.1);
  border: 1px solid rgba(102, 204, 255, 0.28);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 22px;
  font-family: var(--font-body);
}

.menu-hero h1 {
  font-size: 4.4rem;
  margin-bottom: 1.1rem;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
  font-weight: 700;
}

.hero-title-accent {
  display: block;
  color: var(--primary);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.menu-hero p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
  max-width: 400px;
  margin-bottom: 32px;
}

/* Quick-link category pills */
.hero-quick-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.hero-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.hero-quick-link i {
  color: var(--primary);
  font-size: 0.78rem;
  opacity: 0.9;
}

.hero-quick-link:hover {
  background: rgba(102, 204, 255, 0.15);
  border-color: rgba(102, 204, 255, 0.4);
  color: #fff;
}

/* Hero responsive */
@media (max-width: 900px) {
  .menu-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: flex-end;
  }
  /* Full-bleed image on mobile */
  .menu-hero-bg {
    width: 100%;
    left: 0;
    opacity: 0.45;
  }
  .menu-hero::before {
    width: 100%;
    left: 0;
    background: linear-gradient(
      to top,
      rgba(13, 13, 13, 0.95) 0%,
      rgba(13, 13, 13, 0.6) 55%,
      rgba(13, 13, 13, 0.15) 100%
    );
  }
  .menu-hero::after {
    display: none;
  }
  .menu-hero-content {
    background: transparent;
    padding: 50px 5% 50px;
    text-align: center;
    align-items: center;
  }
  .menu-hero h1 {
    font-size: 2.6rem;
  }
  .hero-title-accent {
    font-size: 3.2rem;
  }
  .menu-hero p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .menu-hero h1 {
    font-size: 2rem;
  }
  .hero-title-accent {
    font-size: 2.5rem;
  }
  .hero-quick-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* =============================================
   SHARED SECTION TITLE
   ============================================= */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.4rem;
  color: var(--text-primary);
  margin-bottom: 18px;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.divider-line {
  height: 2px;
  width: 50px;
  background: var(--primary);
  border-radius: 2px;
}

.divider-icon {
  color: var(--primary);
  font-size: 1.15rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* =============================================
   MENU ADD-ONS — COMPACT HORIZONTAL STRIP
   ============================================= */
.menu-add-ons {
  padding: 22px 5%;
  background: var(--bg-section);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.menu-add-ons h2 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.add-ons-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Hidden on desktop, shown via media query on mobile */
.addons-swipe-hint,
.tabs-swipe-hint {
  display: none;
}

.add-ons-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
}

.add-ons-list::-webkit-scrollbar {
  display: none;
}

.add-ons-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--t);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.add-ons-list li i {
  color: var(--primary);
  font-size: 0.82rem;
}

.add-ons-list li:hover {
  background: var(--primary-subtle);
  border-color: var(--primary-border);
  color: var(--text-primary);
}

.add-on-price {
  font-weight: 700;
  color: var(--primary-deep);
  font-size: 0.85rem;
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* =============================================
   MENU CATEGORIES SECTION — NEW LAYOUT
   ============================================= */
.menu-categories {
  padding: 90px 5%;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

/* Faint bg label */
.menu-categories::before {
  content: "MENU";
  position: absolute;
  top: 30px;
  right: -2%;
  font-family: var(--font-heading);
  font-size: 12rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.04;
  pointer-events: none;
  letter-spacing: -0.05em;
  user-select: none;
}

.categories-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Category Tabs — pill row */
.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--t);
  font-family: var(--font-body);
  box-shadow: var(--shadow-sm);
}

.category-tab i {
  font-size: 0.82rem;
  opacity: 0.6;
  transition: opacity var(--t);
}

.category-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
  box-shadow: none;
}

.category-tab:hover i {
  opacity: 1;
}

.category-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  font-weight: 700;
  box-shadow: var(--shadow-cyan);
}

.category-tab.active i {
  opacity: 1;
}

/* =============================================
   MENU ITEMS GRID — NEW LAYOUT
   First item featured (full-width horizontal)
   ============================================= */
.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

/* Featured first card */
.menu-item-card:first-child {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.menu-item-card:first-child .item-image {
  height: auto;
  min-height: 320px;
  flex: 0 0 48%;
  max-width: 48%;
}

/* Featured card: larger price pill */
.menu-item-card:first-child .item-price {
  font-size: 1.2rem;
  padding: 5px 16px;
}

.menu-item-card:first-child .item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.menu-item-card:first-child .item-header h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.menu-item-card:first-child .item-content p {
  font-size: 0.97rem;
  margin-bottom: 20px;
}

/* Standard cards */
.menu-item-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition:
    transform var(--t),
    box-shadow var(--t),
    border-color var(--t);
  position: relative;
  display: flex;
  flex-direction: column;
}

.menu-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.item-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform 0.55s ease;
}

.menu-item-card:hover .item-image img {
  transform: scale(1.03);
}

.item-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--popular);
  color: white;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.item-badge.popular {
  background: var(--popular);
}
.item-badge.new {
  background: var(--success);
}

/* Price — inline in item-header, right side */
.item-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-deep);
  white-space: nowrap;
  background: var(--primary-subtle);
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary-border);
  flex-shrink: 0;
}

.item-content {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.item-header h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  line-height: 1.3;
  flex: 1;
}

.item-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: 0.85rem;
  flex: 1;
}

.item-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 0.8rem;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.item-details > span:last-child {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: right;
  max-width: 55%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
}

/* Menu items responsive */
@media (max-width: 1100px) {
  .menu-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-item-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .menu-categories {
    padding: 70px 5%;
  }
  .menu-items-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .menu-item-card:first-child {
    flex-direction: column;
    grid-column: 1 / -1;
  }
  .menu-item-card:first-child .item-image {
    max-width: 100%;
    min-height: 220px;
    height: 220px;
  }
  .menu-item-card:first-child .item-content {
    padding: 20px;
  }
  .menu-item-card:first-child .item-header h3 {
    font-size: 1.2rem;
  }
  .menu-item-card:first-child .item-price {
    font-size: 1.05rem;
  }
  .category-tabs {
    gap: 8px;
  }
  .category-tab {
    padding: 9px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .menu-items-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* On smaller screens: switch food images to cover so they fill the frame */
@media (max-width: 900px) {
  .item-image img {
    object-fit: cover;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.footer-section {
  background: var(--text-primary);
  padding: 70px 5% 28px;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--primary),
    var(--primary-hover),
    transparent
  );
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {
  grid-column: 1 / 2;
}
.footer-links {
  grid-column: 2 / 3;
}
.footer-contact {
  grid-column: 3 / 4;
}
.footer-newsletter {
  grid-column: 4 / 5;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  transition: opacity var(--t);
  text-decoration: none;
}

.footer-logo:hover {
  opacity: 0.85;
}

.footer-logo img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(102, 204, 255, 0.3);
  padding: 2px;
}

.footer-logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.footer-description {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--t);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 204, 255, 0.3);
}

.footer-title {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  padding-bottom: 14px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.footer-title:hover::after,
.footer-title.active::after {
  width: 50px;
}

.footer-menu {
  list-style: none;
}
.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--t);
  position: relative;
  padding-inline-start: 14px;
  display: inline-block;
}

.footer-menu a::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  transition: all var(--t);
}

.footer-menu a:hover {
  color: var(--primary);
  padding-inline-start: 20px;
}
.footer-menu a:hover::before {
  opacity: 1;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.contact-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: rgba(102, 204, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-details span {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  font-size: 0.88rem;
}

.newsletter-description {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.newsletter-form {
  position: relative;
}

.input-group {
  position: relative;
  display: flex;
}

.input-group input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.07);
  color: white;
  transition: all var(--t);
  outline: none;
  font-family: var(--font-body);
}

html[dir="rtl"] .input-group input {
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.input-group input:focus {
  border-color: var(--primary-border);
  background: rgba(255, 255, 255, 0.1);
}

.input-group label {
  position: absolute;
  top: 13px;
  inset-inline-start: 16px;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  transition: all var(--t);
  background: transparent;
  padding: 0 4px;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -10px;
  inset-inline-start: 10px;
  font-size: 0.74rem;
  color: var(--primary);
  font-weight: 700;
  background: var(--text-primary);
  letter-spacing: 0.04em;
}

html[dir="rtl"] .input-group input:focus + label,
html[dir="rtl"] .input-group input:not(:placeholder-shown) + label {
  inset-inline-start: 10px;
}

.input-group button {
  padding: 13px 16px;
  background: var(--primary);
  color: var(--text-primary);
  border: none;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  cursor: pointer;
  transition: all var(--t);
  font-weight: 700;
  font-family: var(--font-body);
}

html[dir="rtl"] .input-group button {
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
}

.input-group button:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 16px rgba(102, 204, 255, 0.35);
}

/* Newsletter messages */
.form-loading,
.form-success,
.form-error {
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.86rem;
}

.form-loading {
  background: rgba(102, 204, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(102, 204, 255, 0.2);
}

.form-success {
  background: rgba(18, 183, 106, 0.08);
  color: var(--success);
  border: 1px solid rgba(18, 183, 106, 0.25);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all var(--t);
}

.form-error {
  background: rgba(230, 57, 80, 0.08);
  color: var(--error);
  border: 1px solid rgba(230, 57, 80, 0.25);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all var(--t);
}

.form-success.show,
.form-error.show {
  opacity: 1;
  height: auto;
  margin: 10px 0;
}

.input-group input:valid {
  border-color: rgba(18, 183, 106, 0.3);
}

html[dir="rtl"] .form-success,
html[dir="rtl"] .form-error {
  text-align: right;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 50px;
}
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
}
.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Footer RTL */
html[dir="rtl"] .footer-menu a {
  padding-inline-start: 0;
  padding-inline-end: 14px;
}
html[dir="rtl"] .footer-menu a::before {
  inset-inline-start: auto;
  inset-inline-end: 0;
}
html[dir="rtl"] .footer-menu a:hover {
  padding-inline-end: 20px;
}
html[dir="rtl"] .footer-logo {
  flex-direction: row-reverse;
}

/* Footer responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .footer-brand {
    grid-column: 1 / 3;
  }
  .footer-links {
    grid-column: 1 / 2;
  }
  .footer-contact {
    grid-column: 2 / 3;
  }
  .footer-newsletter {
    grid-column: 1 / 3;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 55px 5% 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand,
  .footer-links,
  .footer-contact,
  .footer-newsletter {
    grid-column: 1;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-description,
  .newsletter-description {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-title {
    text-align: center;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-menu {
    text-align: center;
  }
  .footer-menu a {
    padding-inline-start: 0;
  }
  .footer-menu a::before {
    display: none;
  }
  .contact-item {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    flex-direction: column;
    gap: 10px;
  }
  .input-group {
    flex-direction: column;
  }
  .input-group input {
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
  }
  .input-group button {
    border-radius: var(--radius-pill);
    padding: 12px;
  }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand,
.footer-links,
.footer-contact,
.footer-newsletter {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.footer-links {
  animation-delay: 0.1s;
}
.footer-contact {
  animation-delay: 0.2s;
}
.footer-newsletter {
  animation-delay: 0.3s;
}

/* ============================================================
   MENU PAGE — MOBILE EXPERIENCE ENHANCEMENTS (≤767px)
   ============================================================ */

/* Re-use bottom nav styles from style.css via shared variables */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 60px;
  background: rgba(253, 254, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 2.5px solid var(--primary);
  box-shadow:
    0 -4px 28px rgba(0, 0, 0, 0.1),
    0 -1px 0 var(--border);
  z-index: 1000;
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  flex-direction: row;
  align-items: stretch;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 6px 2px;
  min-height: 44px;
  position: relative;
}

.bottom-nav-item i {
  font-size: 1.1rem;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
  line-height: 1;
}

.bottom-nav-item span {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: color 0.2s ease;
}

.bottom-nav-item.active {
  color: var(--primary-deep);
  background: var(--primary-subtle);
}

.bottom-nav-item.active::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 0 0 3px 3px;
}

.bottom-nav-item.active i {
  color: var(--primary-deep);
  transform: translateY(-1px);
}

.bottom-nav-lang {
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--primary-deep);
  background: var(--primary-subtle);
  border: 1.5px solid var(--primary-border);
}

.bottom-nav-lang i,
.bottom-nav-lang span {
  color: var(--primary-deep);
}

@media (max-width: 767px) {
  /* Show bottom nav, hide hamburger */
  .mobile-bottom-nav {
    display: flex;
  }
  .menu-toggle {
    display: none !important;
  }
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }

  /* Thinner nav header */
  nav {
    height: 58px;
    padding: 0 4%;
  }
  nav .logo-text {
    font-size: 1.15rem;
  }
  nav .logo img {
    height: 34px;
    width: 34px;
  }

  /* ----- MENU HERO ----- */
  .menu-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
    align-items: flex-end;
  }

  .menu-hero-bg {
    width: 100%;
    left: 0;
    opacity: 0.4;
  }

  .menu-hero::before {
    width: 100%;
    left: 0;
    background: linear-gradient(
      to top,
      rgba(13, 13, 13, 0.97) 0%,
      rgba(13, 13, 13, 0.65) 55%,
      rgba(13, 13, 13, 0.2) 100%
    );
  }

  .menu-hero::after {
    display: none;
  }

  .menu-hero-content {
    background: transparent;
    padding: 44px 5% 40px;
    text-align: center;
    max-width: 100%;
    align-items: center;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    margin-bottom: 14px;
  }

  .menu-hero h1 {
    font-size: 2.2rem;
    line-height: 1.12;
    margin-bottom: 0.8rem;
  }

  .hero-title-accent {
    font-size: 2.7rem;
  }

  .menu-hero p {
    font-size: 0.9rem;
    margin: 0 auto 24px;
    max-width: 300px;
  }

  .hero-quick-links {
    justify-content: center;
    gap: 8px;
  }
  .hero-quick-link {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  /* ----- CATEGORY TABS — STICKY + HORIZONTAL SCROLL ----- */
  .menu-categories {
    padding: 60px 0 60px;
  }

  .categories-container {
    max-width: 100%;
    padding: 0;
  }

  .categories-container .section-title {
    padding: 0 5%;
  }

  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    gap: 8px;
    padding: 4px 5% 12px;
    margin-bottom: 28px;
    position: sticky;
    top: 58px;
    z-index: 100;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border-light);
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 90%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 5%,
      black 90%,
      transparent 100%
    );
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-tab {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 10px 18px;
    font-size: 0.78rem;
    min-height: 44px;
  }

  /* ----- MENU ITEMS GRID — OPTIMIZED SINGLE COLUMN ----- */
  .menu-items-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
    padding: 0 5%;
  }

  /* Featured first card: stacked */
  .menu-item-card:first-child {
    grid-column: auto;
    flex-direction: column;
    border-radius: var(--radius-xl);
  }

  .menu-item-card:first-child .item-image {
    max-width: 100%;
    min-height: 220px;
    height: 220px;
    flex: none;
  }

  .menu-item-card:first-child .item-content {
    padding: 22px 20px;
    flex: none;
  }

  .menu-item-card:first-child .item-header h3 {
    font-size: 1.3rem;
  }
  .menu-item-card:first-child .item-price {
    font-size: 1.3rem;
  }

  /* Standard cards: horizontal layout (image left, text right) */
  .menu-item-card {
    display: flex;
    flex-direction: row;
    border-radius: var(--radius-lg);
    max-width: 100%;
    transform: none !important;
  }

  .menu-item-card:not(:first-child) .item-image {
    height: auto;
    min-height: 130px;
    width: 130px;
    min-width: 130px;
    flex: 0 0 130px;
  }

  .menu-item-card:not(:first-child) .item-content {
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
  }

  .menu-item-card:not(:first-child) .item-header {
    margin-bottom: 6px;
  }

  .menu-item-card:not(:first-child) .item-header h3 {
    font-size: 0.98rem;
    white-space: normal;
  }

  .menu-item-card:not(:first-child) .item-price {
    font-size: 0.82rem;
    padding: 2px 8px;
  }

  .menu-item-card:not(:first-child) .item-content p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 6px;
  }

  .menu-item-card:not(:first-child) .item-details {
    padding-top: 8px;
    font-size: 0.76rem;
  }

  .item-badge {
    top: 8px;
    right: 8px;
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  /* ----- ADD-ONS SECTION ----- */
  .menu-add-ons {
    padding: 22px 5%;
  }
  .add-ons-list {
    gap: 8px;
  }
  .add-ons-list li {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .addons-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    animation: swayHintMenu 2s ease-in-out infinite;
  }
  .addons-swipe-hint i {
    color: var(--primary);
    font-size: 0.9rem;
    opacity: 0.8;
  }

  /* ----- CATEGORY TABS SWIPE HINT ----- */
  .tabs-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: -20px 0 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    animation: swayHintMenu 2s ease-in-out infinite;
  }
  .tabs-swipe-hint i {
    color: var(--primary);
    font-size: 0.9rem;
    opacity: 0.8;
  }

  @keyframes swayHintMenu {
    0%,
    100% {
      opacity: 0.6;
      transform: translateX(0);
    }
    40% {
      opacity: 1;
      transform: translateX(-4px);
    }
    60% {
      opacity: 1;
      transform: translateX(4px);
    }
  }

  /* ----- FOOTER ----- */
  .footer-section {
    padding: 50px 5% 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand,
  .footer-links,
  .footer-contact,
  .footer-newsletter {
    grid-column: 1;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-description,
  .newsletter-description {
    font-size: 0.87rem;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-title {
    text-align: center;
    font-size: 0.72rem;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-menu {
    text-align: center;
  }
  .footer-menu a {
    padding-inline-start: 0;
  }
  .footer-menu a::before {
    display: none;
  }
  .contact-item {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .contact-details {
    align-items: center;
  }
  .input-group {
    flex-direction: column;
    gap: 8px;
  }
  .input-group input,
  .input-group button {
    border-radius: var(--radius-pill);
  }
  html[dir="rtl"] .input-group input,
  html[dir="rtl"] .input-group button {
    border-radius: var(--radius-pill);
  }
}

/* ----- GLOBAL MOBILE POLISH ----- */
@media (max-width: 767px) {
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }
  * {
    -webkit-tap-highlight-color: rgba(102, 204, 255, 0.15);
  }
  a,
  button {
    touch-action: manipulation;
  }
}

/* ----- RTL BOTTOM NAV ----- */
html[dir="rtl"] .mobile-bottom-nav {
  flex-direction: row-reverse;
}
html[dir="rtl"] .bottom-nav-item.active::before {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

/* ----- REDUCED MOTION ----- */
@media (prefers-reduced-motion: reduce) {
  .menu-item-card {
    transition: none;
  }
}
