/* ============================================
   MIMINO RESTAURANT - Modern Light Theme 2026
   ============================================ */

/* ---------------------------------------------
   Accessibility: skip-to-content link
   WCAG 2.4.1 'Bypass Blocks' (Level A).
   Visually hidden off-screen until a keyboard user
   tabs into it — first focusable element on the page.
--------------------------------------------- */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: #1c64f2;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.15s ease-in;
}
.skip-to-content:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}
html[dir="rtl"] .skip-to-content {
  left: auto;
  right: 0;
  border-radius: 0 0 0 8px;
}

:root {
  /* Layout */
  --nav-height: 70px;
  --header-block-height: auto;
  --footer-height: 50px;
  --container-max-width: 1200px;
  --content-max-width: 800px;

  /* Colors - Light Theme */
  --bg-primary: #FDFBF7;
  --bg-secondary: #F5F0E8;
  --bg-tertiary: #EDE6DA;

  --text-primary: #2D2926;
  --text-secondary: #5C5550;
  --text-muted: #8B857D;

  /* Brand Accents */
  --brand-gold: #C9A456;
  --brand-gold-light: #E5D4A4;
  --brand-gold-dark: #A68736;

  /* Secondary Accents */
  --accent-terracotta: #C67B5C;
  --accent-wine: #8B3A3A;
  --accent-olive: #6B7B5C;

  /* Functional Colors */
  --success: #4A7C59;
  --error: #B44444;
  --warning: #D4A54A;

  /* Shadows */
  --shadow-soft: rgba(45, 41, 38, 0.08);
  --shadow-medium: rgba(45, 41, 38, 0.15);
  --shadow-strong: rgba(45, 41, 38, 0.25);
  --overlay-light: rgba(253, 251, 247, 0.92);
  --overlay-dark: rgba(45, 41, 38, 0.6);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Font Sizes - Fluid */
  --fs-hero: clamp(2.5rem, 5vw, 4rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2rem);
  --fs-h3: clamp(1.25rem, 2.5vw, 1.5rem);
  --fs-h4: clamp(1.1rem, 2vw, 1.25rem);
  --fs-body: clamp(1rem, 1.5vw, 1.125rem);
  --fs-small: clamp(0.875rem, 1.25vw, 1rem);
  --fs-caption: clamp(0.75rem, 1vw, 0.875rem);

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 102;
  --z-fixed: 104;
  --z-modal-backdrop: 200;
  --z-modal: 210;
  --z-toast: 300;

  /* Safe Areas */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

html, body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  /* `clip` prevents horizontal scroll WITHOUT creating a scroll container,
     so descendants with position: sticky (e.g. .menu-page .sub-nav) keep
     working. Older browsers fall back to hidden via the next line. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  position: relative;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url("images/Background_image.43e1c153a1c9.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body > .container {
  flex: 1 0 auto;
}

body > footer {
  flex-shrink: 0;
  margin-top: auto;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 var(--space-md) 0;
  overflow-wrap: anywhere;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  margin: 0 0 var(--space-md) 0;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}

a {
  color: var(--brand-gold-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-gold);
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand-gold), var(--accent-terracotta));
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
}

/* ============================================
   NAVIGATION
   ============================================ */

.main-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bg-tertiary);
  box-shadow: 0 2px 20px var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 40px;
  z-index: var(--z-fixed);
  padding: 0 28px;
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.nav-scrim {
  display: none;
}

.main-nav.scrolled {
  box-shadow: 0 4px 30px var(--shadow-medium);
  background: var(--bg-primary);
}

.brand {
  position: static;
  transform: none;
  flex-shrink: 0;
}

.brand a {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.brand a:hover {
  color: var(--brand-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 28px;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 8px 0;
  border-radius: 0;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -4px;
  height: 2px;
  background: var(--brand-gold);
  transition: all 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  left: 0;
  right: 0;
}

.nav-links a.active {
  color: var(--brand-gold-dark);
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Logout link - add spacing before language buttons */
.nav-links .nav-logout {
  margin-right: var(--space-xl);
}

/* Hebrew RTL */
html[lang="he"] .nav-links {
  flex-direction: row-reverse;
  padding-right: 280px; /* Language buttons are still on the right in RTL */
  padding-left: 0;
}

html[lang="he"] .nav-links .nav-logout {
  margin-right: var(--space-2xl);
  margin-left: 0;
}

/* Cart Icon */
.cart-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.cart-icon:hover {
  background: var(--bg-secondary);
  color: var(--brand-gold);
}

.cart-icon i {
  font-size: 1.25rem;
}

.cart-count {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-dark));
  color: white;
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-summary {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* My Orders Link */
.my-orders-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.user-info {
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 500;
}

/* Nav Right — group for cart + lang + burger (design pattern) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Nav Cart — pill style (bg-secondary → gold-light on hover) */
.nav-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 16px;
  background: var(--bg-secondary);
  color: var(--text-primary) !important;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.nav-cart-link:hover {
  background: var(--brand-gold-light);
  color: var(--text-primary) !important;
}

.nav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--error);
  color: #fff;
  border-radius: 9999px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  margin: 0;
}

.nav-cart-badge:empty,
.nav-cart-badge[data-count="0"] {
  display: none;
}

.nav-cart-total {
  font-weight: 600;
  font-size: 14px;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
  display: none;
}

/* Mobile Cart - Hidden on Desktop */
.mobile-cart {
  display: none;
}

/* Language Switch in Nav - Hidden on Desktop */
.nav-links .lang-switch {
  display: none;
}

/* Desktop Language Switch — pill group (matches design .lang) */
.desktop-lang-switch {
  position: static;
  transform: none;
  display: flex;
  gap: 4px;
  background: var(--bg-secondary);
  padding: 4px;
  border-radius: 9999px;
}

.desktop-lang-switch button {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  transition: background var(--transition-fast), color var(--transition-fast);
  text-transform: uppercase;
}

.desktop-lang-switch button:hover {
  color: var(--text-primary);
}

.desktop-lang-switch button.active {
  background: var(--bg-primary);
  color: var(--brand-gold-dark);
  box-shadow: 0 1px 3px var(--shadow-soft);
}

/* ============================================
   HEADER CONTAINER
   ============================================ */

.header-container {
  position: static;
  left: 0;
  width: 100%;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bg-tertiary);
  z-index: var(--z-sticky);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 28px;
}

.info-column {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.info-item:hover {
  color: var(--text-primary);
}

.info-item > i,
.info-item .ico {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--brand-gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold-dark);
  font-size: 13px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.info-item:hover > i {
  background: var(--brand-gold);
  color: #fff;
  transform: scale(1.05);
}

.info-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.2;
  flex-wrap: wrap;
}

.info-text h3,
.info-text h3 a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.info-text p,
.info-text a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.2;
}

.info-text .working-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.info-text .working-hours li {
  font-size: 13px;
  color: var(--text-secondary);
}

.info-text h3 {
  margin: 0 0 var(--space-xs) 0;
  font-size: 16px;
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 600;
}

.info-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.info-text a {
  color: var(--brand-gold-dark);
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color var(--transition-fast);
}

.info-text a:hover {
  color: var(--brand-gold);
}

/* Phone number - white for visibility */
.info-text a[href^="tel:"] {
  color: white;
  font-weight: 600;
  font-size: 15px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.info-text a[href^="tel:"]:hover {
  color: var(--brand-gold-light);
}

.info-text a i {
  width: auto;
  height: auto;
  background: none;
  font-size: 14px;
}

.working-hours {
  list-style: none;
  padding: 0;
  margin: var(--space-xs) 0 0 0;
}

.working-hours li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 2px 0;
}

/* ============================================
   HOURS TRIGGER (button-wrapped info-item) + MODAL
   ============================================ */
button.info-item.info-item-hours {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
}

.hours-modal {
  position: fixed;
  inset: 0;
  background: rgba(45, 41, 38, 0.7);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
}
.hours-modal.show { opacity: 1; pointer-events: auto; }

.hours-sheet {
  position: relative;
  background: var(--bg-primary);
  border-radius: 20px;
  width: 100%;
  max-width: 380px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.25s ease;
  text-align: center;
  border: 1px solid var(--bg-tertiary);
}
.hours-modal.show .hours-sheet { transform: translateY(0) scale(1); }

.hours-sheet-icon {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  margin: 0 auto 12px;
  background: var(--brand-gold-light);
  color: var(--brand-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.hours-sheet h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--text-primary);
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: start;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--bg-tertiary);
}

.hours-list .hours-day {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.hours-list .hours-time {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-gold-dark);
  font-variant-numeric: tabular-nums;
}

.hours-close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.hours-close:hover { background: var(--bg-secondary); color: var(--text-primary); }

/* ============================================
   CLOSED-RESTAURANT MODAL (reuses .hours-modal)
   ============================================ */
.closed-sheet { max-width: 420px; }
.closed-sheet-icon {
  background: rgba(74, 124, 89, 0.12);
  color: var(--success, #4A7C59);
  font-size: 24px;
}
.closed-sheet-status {
  margin: 0 0 8px;
  font: 500 15px var(--font-body);
  color: var(--text-secondary, #5a5048);
  line-height: 1.45;
}
.closed-sheet-next {
  margin: 0 0 20px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: 1px solid var(--bg-tertiary);
  font: 600 15px var(--font-body);
  color: var(--brand-gold-dark);
  font-variant-numeric: tabular-nums;
}
.closed-sheet-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.closed-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font: 600 15px var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.closed-cta[hidden] { display: none; }
.closed-cta-primary {
  background: var(--brand-gold, #d1a954);
  color: #fff;
}
.closed-cta-primary:hover { background: var(--brand-gold-dark, #b58f3f); transform: translateY(-1px); }
.closed-cta-secondary {
  background: transparent;
  color: var(--text-secondary, #5a5048);
  border-color: var(--bg-tertiary);
}
.closed-cta-secondary:hover { background: var(--bg-secondary); color: var(--text-primary); }
.closed-sheet-hint {
  margin: 14px 0 0;
  padding: 10px 14px;
  background: rgba(209, 169, 84, 0.12);
  border: 1px dashed var(--brand-gold, #d1a954);
  border-radius: 10px;
  font: 500 13px var(--font-body);
  color: var(--text-secondary, #5a5048);
  line-height: 1.4;
}
.closed-sheet-hint-error {
  background: rgba(220, 53, 69, 0.10);
  border-color: #dc3545;
  color: #b32130;
}
.closed-sheet-preorder {
  margin: 6px 0 16px;
  text-align: start;
}
.closed-sheet-label {
  display: block;
  margin: 0 0 6px;
  font: 600 13px var(--font-body);
  color: var(--text-secondary, #5a5048);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.closed-sheet-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bg-tertiary);
  border-radius: 10px;
  font: 600 16px var(--font-body);
  color: var(--text-primary);
  background: var(--bg-secondary);
  font-variant-numeric: tabular-nums;
}
.closed-sheet-note {
  margin: 8px 0 0;
  font: 500 12px var(--font-body);
  color: var(--text-muted, #8a8278);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  position: static;
  width: 100%;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-top: none;
  z-index: var(--z-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px var(--space-xl);
  text-align: center;
  font-size: var(--fs-caption);
  flex-shrink: 0;
  margin-top: auto;
}

.brand-footer {
  position: static;
  transform: none;
}

.brand-footer a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-gold);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.brand-footer a:hover {
  color: var(--brand-gold-light);
}

footer > :not(.brand-footer) {
  opacity: 0.7;
  font-size: 13px;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

.container {
  position: static;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 32px 24px;
  box-sizing: border-box;
  background-color: transparent;
  text-align: center;
  flex: 1 0 auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

/* ============================================
   ANIMATION UTILITIES
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.15s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.25s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.35s; }
.stagger-children > *:nth-child(n+7) { animation-delay: 0.4s; }

.hover-lift {
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-medium);
}

.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform var(--transition-slow);
}

.img-zoom:hover img {
  transform: scale(1.08);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary,
.order-button,
.checkout-btn {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-dark));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(201, 164, 86, 0.3);
}

.btn-primary::before,
.order-button::before,
.checkout-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-primary:hover::before,
.order-button:hover::before,
.checkout-btn:hover::before {
  left: 100%;
}

.btn-primary:hover,
.order-button:hover,
.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 164, 86, 0.4);
}

.btn-primary:active,
.order-button:active,
.checkout-btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--brand-gold);
}

.btn-secondary:hover {
  background: var(--brand-gold-light);
}

.btn-danger {
  background: transparent;
  color: var(--error);
  border: 2px solid var(--error);
}

.btn-danger:hover {
  background: var(--error);
  color: white;
}

/* ============================================
   FORMS
   ============================================ */

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--bg-tertiary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px var(--brand-gold-light);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow-soft);
  border: 1px solid var(--bg-tertiary);
  overflow: hidden;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-medium);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-progress {
    display: none;
  }
}

/* ============================================
   MOBILE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  html, body {
    height: auto;
    overflow: visible;
  }

  body.nav-open {
    overflow: hidden;
  }

  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  /* Navigation */
  .main-nav {
    position: sticky;
    top: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    height: auto;
    padding: calc(var(--space-sm) + var(--safe-top)) max(var(--space-md), var(--safe-right)) var(--space-sm) max(var(--space-md), var(--safe-left));
    align-items: center;
    justify-content: space-between;
    background: var(--bg-primary);
    gap: var(--space-sm);
    backdrop-filter: blur(12px);
  }

  .brand {
    position: static;
    transform: none;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand a {
    font-size: 1.5rem;
  }

  /* Burger Menu */
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: var(--space-sm);
    order: 3;
    flex-shrink: 0;
  }

  /* Nav Links - Hidden by Default */
  .nav-links {
    display: none;
    position: fixed;
    top: calc(60px + var(--safe-top));
    left: 0;
    width: 100%;
    height: calc(100dvh - 60px - var(--safe-top));
    background: var(--bg-primary);
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 10px 30px var(--shadow-medium);
    border-top: 1px solid var(--bg-tertiary);
    overflow-y: auto;
    padding-bottom: calc(var(--space-lg) + var(--safe-bottom));
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: var(--space-md) var(--space-lg);
    margin: 0;
    border-bottom: 1px solid var(--bg-tertiary);
    font-size: var(--fs-body);
    width: 100%;
    text-align: left;
  }

  .nav-links a::after {
    display: none;
  }

  /* Mobile Cart */
  .mobile-cart {
    display: flex !important;
    align-items: center;
    gap: var(--space-sm);
    order: 2;
    color: var(--text-primary);
    max-width: calc(100vw - 170px);
    flex-shrink: 1;
  }

  .mobile-cart .cart-count {
    position: static;
    margin: 0;
  }

  .mobile-cart .cart-summary {
    display: none;
  }

  /* Desktop Lang Switch on Mobile */
  .desktop-lang-switch {
    position: static !important;
    transform: none;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    order: 4;
    width: 100%;
    border-top: 1px solid var(--bg-tertiary);
  }

  .desktop-lang-switch button {
    padding: var(--space-sm) var(--space-md) !important;
    font-size: 14px !important;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
  }

  /* Lang switch inside the mobile drawer stays visible so users can
     change language without leaving the menu. mobile.css paints it as
     a row of 3 pills at the bottom of the drawer. */

  /* Header Container */
  .header-container {
    position: static;
    padding: var(--space-md) max(var(--space-md), var(--safe-right)) var(--space-md) max(var(--space-md), var(--safe-left));
    border-bottom: 1px solid var(--bg-tertiary);
  }

  .info-column {
    flex-direction: column;
    gap: var(--space-md);
  }

  .info-item {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px var(--shadow-soft);
  }

  .info-item i {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .info-text h3 {
    font-size: 15px;
  }

  .info-text p,
  .info-text a {
    font-size: 13px;
  }

  .working-hours li {
    font-size: 12px;
  }

  /* Container */
  .container {
    position: static;
    flex: 1;
    padding: var(--space-md) max(var(--space-md), var(--safe-right)) calc(var(--space-xl) + var(--safe-bottom)) max(var(--space-md), var(--safe-left));
    overflow-y: visible;
  }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(45, 41, 38, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    z-index: 103;
  }

  .nav-scrim.active {
    opacity: 1;
    visibility: visible;
  }

  /* Footer */
  footer {
    position: static;
    height: auto;
    padding: var(--space-lg) max(var(--space-md), var(--safe-right)) calc(var(--space-lg) + var(--safe-bottom)) max(var(--space-md), var(--safe-left));
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: auto;
    z-index: 1;
    box-shadow: none;
  }

  .brand-footer {
    position: static;
    transform: none;
  }

  /* My Orders */
  .my-orders-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-info {
    display: block;
    font-size: 12px;
    margin-top: var(--space-xs);
  }
}

@media (min-width: 390px) and (max-width: 768px) {
  .mobile-cart .cart-summary {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .brand a {
    font-size: 1.25rem;
  }

  .nav-links a {
    font-size: var(--fs-small);
    padding: var(--space-md);
  }

  .info-item {
    padding: var(--space-md);
  }

  .info-item i {
    font-size: 20px;
  }

  .info-text h3 {
    font-size: 14px;
  }
}

/* ============================================
   PROMO POPUP
   ============================================ */

.promo-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: var(--z-modal-backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: var(--space-md);
}

.promo-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.promo-popup {
  background: linear-gradient(135deg, #FDFBF7 0%, #F5F0E8 100%);
  border-radius: var(--radius-xl);
  max-width: 450px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid var(--brand-gold);
}

.promo-popup-overlay.active .promo-popup {
  transform: scale(1) translateY(0);
}

.promo-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.promo-popup-close:hover {
  background: var(--brand-gold);
  color: white;
  transform: rotate(90deg);
}

.promo-popup-image {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: block;
}

.promo-popup-content {
  padding: var(--space-xl);
  text-align: center;
}

.promo-popup-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.promo-popup-content .promo-main {
  font-size: clamp(1rem, 3vw, 1.15rem);
  color: var(--accent-wine);
  font-weight: 600;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.promo-popup-content .promo-condition {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(201, 164, 86, 0.15);
  border-radius: var(--radius-md);
  display: inline-block;
}

.promo-popup-content .promo-note {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.promo-popup-content .promo-phone {
  display: inline-block;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  font-weight: 700;
  color: var(--brand-gold-dark);
  text-decoration: none;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--brand-gold-light) 0%, var(--brand-gold) 100%);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(201, 164, 86, 0.4);
}

.promo-popup-content .promo-phone:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(201, 164, 86, 0.5);
}

.promo-popup-content .promo-address {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--text-muted);
  margin: 0;
}

/* RTL Support for Hebrew */
html[lang="he"] .promo-popup-content {
  direction: rtl;
}

html[lang="he"] .promo-popup-close {
  right: auto;
  left: 10px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .promo-popup {
    max-width: 95%;
    margin: var(--space-sm);
  }

  .promo-popup-image {
    max-height: 200px;
  }

  .promo-popup-content {
    padding: var(--space-lg);
  }

  .promo-popup-close {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

/* ============================================
   ACCESSIBILITY WIDGET (IS law compliance)
   ============================================ */

.a11y-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 400;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  border: none;
  background: #1c64f2;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(28, 100, 242, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.a11y-fab:hover { transform: scale(1.06); }
.a11y-fab:active { transform: scale(0.95); }
.a11y-fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* RTL: swap sides — chat bot goes right on Hebrew, a11y goes left */
html[lang="he"] .a11y-fab {
  right: auto;
  left: max(16px, env(safe-area-inset-left, 0px));
}

.a11y-panel {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 401;
  width: 320px;
  max-width: calc(100vw - 24px);
  background: var(--bg-primary, #FDFBF7);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(45, 41, 38, 0.3);
  border: 1px solid var(--bg-tertiary, #EDE6DA);
  padding: 18px;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.a11y-panel[hidden] { display: none; }
.a11y-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

html[lang="he"] .a11y-panel {
  right: auto;
  left: max(16px, env(safe-area-inset-left, 0px));
}

.a11y-panel h3 {
  font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary, #2D2926);
}

.a11y-panel h3 i { color: #1c64f2; }

.a11y-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--bg-tertiary, #EDE6DA);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary, #2D2926);
  cursor: pointer;
  text-align: left;
}

.a11y-toggle:last-of-type { border-bottom: none; }

.a11y-toggle > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.a11y-toggle > span:first-child i {
  width: 20px;
  color: var(--text-secondary, #5C5550);
  text-align: center;
}

.a11y-toggle .a11y-sw {
  width: 40px;
  height: 22px;
  border-radius: 9999px;
  background: var(--bg-tertiary, #EDE6DA);
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.a11y-toggle .a11y-sw::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: left 0.2s ease;
}

.a11y-toggle.active .a11y-sw { background: #1c64f2; }
.a11y-toggle.active .a11y-sw::after { left: 20px; }

.a11y-section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  color: var(--text-muted, #8B857D);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 14px 0 8px;
}

.a11y-scale {
  display: flex;
  gap: 6px;
}

.a11y-scale button {
  flex: 1;
  padding: 8px;
  background: var(--bg-secondary, #F5F0E8);
  border: 1px solid var(--bg-tertiary, #EDE6DA);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary, #2D2926);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  min-height: 36px;
}

.a11y-scale button.active {
  background: #1c64f2;
  color: #fff;
  border-color: #1c64f2;
}

.a11y-reset {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--bg-tertiary, #EDE6DA);
  border-radius: 8px;
  color: var(--text-secondary, #5C5550);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  transition: background 0.2s ease;
}

.a11y-reset:hover { background: var(--bg-secondary, #F5F0E8); }

/* === Accessibility modes applied to <html> === */
html.a11y-contrast { filter: contrast(1.3); }
html.a11y-contrast body { background: #000 !important; color: #fff !important; }
html.a11y-contrast .main-nav,
html.a11y-contrast .header-container,
html.a11y-contrast .container,
html.a11y-contrast footer,
html.a11y-contrast .mobile-tabbar,
html.a11y-contrast .dish,
html.a11y-contrast .reservation-widget,
html.a11y-contrast .hero,
html.a11y-contrast .hero .overlay,
html.a11y-contrast .cart,
html.a11y-contrast .cart-item,
html.a11y-contrast .info-item,
html.a11y-contrast .promo-popup,
html.a11y-contrast #faq-bot-chat,
html.a11y-contrast .a11y-panel,
html.a11y-contrast .dish-lightbox-card {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html.a11y-contrast .brand a,
html.a11y-contrast h1,
html.a11y-contrast h2,
html.a11y-contrast h3,
html.a11y-contrast .dish-name,
html.a11y-contrast .dish-price,
html.a11y-contrast .dish-lightbox-price,
html.a11y-contrast .nav-links a {
  color: #ffd500 !important;
}
html.a11y-contrast .order-button,
html.a11y-contrast .hero-btn,
html.a11y-contrast .btn-lightbox-add,
html.a11y-contrast .reservation-submit,
html.a11y-contrast .checkout-btn {
  background: #ffd500 !important;
  color: #000 !important;
}

html.a11y-grayscale { filter: grayscale(1); }
html.a11y-contrast.a11y-grayscale { filter: contrast(1.3) grayscale(1); }

html.a11y-links a,
html.a11y-links .nav-links a {
  text-decoration: underline !important;
  font-weight: 700 !important;
}

html.a11y-motion *,
html.a11y-motion *::before,
html.a11y-motion *::after {
  animation-duration: 0.001ms !important;
  transition-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
}

html.a11y-readable,
html.a11y-readable body,
html.a11y-readable h1,
html.a11y-readable h2,
html.a11y-readable h3,
html.a11y-readable h4,
html.a11y-readable .brand a,
html.a11y-readable .dish-name,
html.a11y-readable .dish-price,
html.a11y-readable .dish-lightbox-price,
html.a11y-readable .cat-name {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.03em !important;
}

html.a11y-scale-lg { font-size: 115%; }
html.a11y-scale-xl { font-size: 130%; }

html.a11y-cursor,
html.a11y-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path d='M6 4l20 36 6-14 14-6z' fill='black' stroke='white' stroke-width='3'/></svg>") 4 4, auto !important;
}

/* Lift FABs above mobile tab bar */
@media (max-width: 768px) {
  .a11y-fab {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .a11y-panel {
    bottom: calc(140px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 24px);
  }

  /* Lift the chat-bot widget above the tab bar too */
  #faq-bot-widget {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Hide UserWay button wrapper rules (widget removed) */
.userway_buttons_wrapper,
.uwy,
div[data-userway] {
  display: none !important;
}

/* =============================================================
   Category strip (.cats / .cat / .disc) — round category discs
   used on home page "popular categories" and menu page top nav.
   Ported 1:1 from the Mimino UI Kit reference.
   ============================================================= */
.cats {
  background: rgba(253, 251, 247, 0.9);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 10px;
  margin-bottom: 24px;
  border: 1px solid var(--bg-tertiary);
}
.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex: 1 1 auto;
  min-width: 78px;
  padding: 8px 4px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}
.cat:hover { background: var(--bg-secondary); }
.cat .disc {
  width: 62px;
  height: 62px;
  border-radius: 9999px;
  background: var(--bg-secondary);
  border: 2px solid transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cat .disc img { width: 90%; height: 90%; object-fit: contain; }
.cat:hover .disc,
.cat.active .disc {
  border-color: var(--brand-gold);
  box-shadow: 0 6px 20px rgba(201, 164, 86, 0.3);
  transform: translateY(-2px);
}
.cat span {
  font: 600 12px var(--font-body);
  color: var(--text-secondary);
  text-align: center;
}
.cat.active span { color: var(--brand-gold-dark); }

/* Section header — gold bar + heading */
.section-h {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
  margin: 36px 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.2;
}
.section-h::before {
  content: '';
  width: 44px;
  height: 2px;
  background: var(--brand-gold);
  flex-shrink: 0;
}

/* RTL — gold bar moves to the right side for Hebrew */
html[lang="he"] .section-h { flex-direction: row-reverse; text-align: right; }

@media (max-width: 768px) {
  .section-h {
    font-size: 22px;
    margin: 24px 0 14px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }
  .section-h::before { width: 28px; }
  .cats { padding: 12px; gap: 10px 6px; }
  .cat { min-width: 64px; padding: 6px 2px; }
  .cat .disc { width: 52px; height: 52px; }
  .cat span { font-size: 11px; }
}

@media (hover: none) and (pointer: coarse) {
  .cat:hover { background: transparent; }
  .cat:active .disc { transform: scale(0.95); }
}

/* ============================================
   DISH LIGHTBOX — global safety net
   The full visual rules live in menu.css (loaded on
   home + menu). Every other page still has the
   #dishLightbox markup from base.html, so we need
   a global hide-default, or the Add-to-order button
   leaks onto pages like delivery-choice/cart/reserve.
   ============================================ */
.dish-lightbox:not(.open) {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 210;
}

/* ============================================
   STICKY CART BAR (appears when cart has items)
   ============================================ */
.cart-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 395;
  background: var(--gradient-gold);
  color: #fff;
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 40px rgba(201, 164, 86, 0.5);
  transform: translateY(150%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  text-decoration: none;
}
.cart-bar.show { transform: translateY(0); }
.cart-bar .count {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 18px var(--font-heading);
}
.cart-bar .label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
}
.cart-bar .label .top   { font: 700 15px var(--font-body); }
.cart-bar .label .price { font: 500 13px var(--font-body); opacity: 0.9; }
.cart-bar .cta {
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-gold-dark);
  border-radius: 12px;
  padding: 12px 18px;
  font: 700 15px var(--font-body);
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 768px) {
  .cart-bar {
    left: 12px;
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    padding: 12px 14px;
    gap: 10px;
  }
  .cart-bar .count {
    min-width: 38px;
    height: 38px;
    font-size: 15px;
    padding: 0 10px;
  }
  .cart-bar .cta { padding: 10px 14px; font-size: 14px; }
}

/* ============================================
   TOAST — "added to order" confirmation
   ============================================ */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 120px;
  transform: translate(-50%, 30px);
  z-index: 450;
  background: var(--success);
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(74, 124, 89, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 15px var(--font-body);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.site-toast .check {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-toast a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .site-toast {
    bottom: 140px;
    left: 12px;
    right: 12px;
    transform: translateY(30px);
    max-width: none;
    justify-content: center;
  }
  .site-toast.show { transform: translateY(0); }
}

/* ============================================
   QUICK-ORDER FAB (green, bottom-right)
   ============================================ */
.call-fab {
  position: fixed;
  right: 16px;
  bottom: 84px;
  z-index: 399;
  background: linear-gradient(135deg, #4A7C59, #3B6449);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 14px 20px 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(74, 124, 89, 0.45);
  font: 700 15px var(--font-body);
  animation: pulse-call 2.5s ease-in-out infinite;
}
.call-fab .ring {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.call-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(74, 124, 89, 0.55);
  color: #fff;
}
@keyframes pulse-call {
  0%,   100% { box-shadow: 0 10px 30px rgba(74,124,89,0.45); }
  50%        { box-shadow: 0 10px 30px rgba(74,124,89,0.45), 0 0 0 12px rgba(74,124,89,0.0); }
  50.01%     { box-shadow: 0 10px 30px rgba(74,124,89,0.45), 0 0 0 0 rgba(74,124,89,0.35); }
}
@media (max-width: 768px) {
  .call-fab {
    bottom: calc(74px + env(safe-area-inset-bottom));
    right: 12px;
    padding: 12px 16px 12px 14px;
    font-size: 14px;
  }
  .call-fab .label-long { display: none; }
}
@media (min-width: 769px) {
  .call-fab .label-short { display: none; }
}

/* ============================================
   QUICK-ORDER MODAL (6 category tiles + "all menu")
   ============================================ */
.quick-modal {
  position: fixed;
  inset: 0;
  background: rgba(45, 41, 38, 0.7);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
}
.quick-modal.show { opacity: 1; pointer-events: auto; }
.quick-sheet {
  position: relative;
  background: var(--bg-primary);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 22px 20px 24px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.quick-modal.show .quick-sheet { transform: translateY(0); }
@media (min-width: 640px) {
  .quick-modal { align-items: center; }
  .quick-sheet { border-radius: 24px; }
}
.quick-sheet h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--text-primary);
  text-align: center;
}
.quick-sheet .quick-sub {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 18px;
  text-align: center;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.quick-tile {
  background: var(--bg-secondary);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.quick-tile:hover {
  border-color: var(--brand-gold);
  background: var(--bg-primary);
  transform: translateY(-2px);
}
.quick-tile img {
  width: 54px;
  height: 54px;
  border-radius: 9999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
  background: #fff;
}
.quick-tile span {
  font: 600 13px var(--font-body);
  color: var(--text-primary);
  display: block;
}
.quick-all {
  width: 100%;
  background: transparent;
  border: 2px solid var(--brand-gold);
  color: var(--brand-gold-dark);
  padding: 14px;
  border-radius: 12px;
  font: 700 15px var(--font-body);
  cursor: pointer;
  margin-top: 6px;
  text-decoration: none;
  display: block;
  text-align: center;
}
.quick-all:hover { background: var(--brand-gold-light); color: var(--brand-gold-dark); }
.quick-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-close:hover { background: var(--bg-secondary); color: var(--text-primary); }

/* ============================================
   MOBILE DRAWER — slide-from-left (mobile only)
   Repurposes existing .nav-links / .nav-scrim
   for a proper left-side drawer on < 768px.
   Desktop (>=769px) is unchanged.
   ============================================ */
@media (max-width: 768px) {
  .nav-links.drawer-style {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    background: var(--bg-primary);
    box-shadow: 10px 0 40px rgba(45, 41, 38, 0.25);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
  }
  .nav-links.drawer-style.active {
    transform: translateX(0);
  }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(45, 41, 38, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 149;
  }
  .nav-scrim.active {
    opacity: 1;
    pointer-events: auto;
  }
}


