/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --color-bg: #f7f4f0;
  --color-surface: #ffffff;
  --color-surface-alt: #f2ede8;
  --color-navy: #1e2d40;
  --color-navy-light: #2e4260;
  --color-accent: #c4955a;
  --color-accent-light: #e8d5b7;
  --color-text: #1e2d40;
  --color-text-muted: #7a8494;
  --color-border: #e0d8cf;
  --color-tag-bg: #edf2f7;
  --color-tag-active: #1e2d40;
  --color-tag-text-active: #ffffff;
  --color-price: #c4955a;
  --color-unavailable: #adb5bd;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  --font-serif: 'Playfair Display', Georgia, serif;
  /* Landing & Cyrillic-friendly display (headlines); restaurant pages still use --font-serif where kept */
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --transition: 0.2s ease;
  --header-height: 60px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   UTILITY
   ============================================================ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.loading-spinner.fullscreen {
  min-height: 100vh;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   SITE HEADER (shared)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-height);
  background: var(--color-navy);
  box-shadow: var(--shadow-md);
}
.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 12px;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.back-link:hover {
  opacity: 1;
  transform: scale(1.04);
}
.back-link:focus-visible {
  outline: 2px solid rgba(196, 149, 90, 0.7);
  outline-offset: 3px;
}
.back-link__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.back-link:hover .back-link__logo {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(196, 149, 90, 0.25);
}
.back-link__arrow { font-size: 18px; line-height: 1; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background var(--transition);
}
.lang-toggle:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   LANDING PAGE — FULL REDESIGN
   ============================================================ */

/* Override body bg for landing + lock to vertical scroll only */
.landing-page {
  background: #080810;
  color: #f0ece4;
  overflow-x: hidden;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}
html:has(.landing-page) {
  overflow-x: hidden;
}

/* --- NAV --- */
.l-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 18px;
  height: 52px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.l-nav.scrolled {
  background: rgba(8, 8, 16, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(255,255,255,0.06);
}
.l-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.l-nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 0;
}
.l-nav__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.l-nav__logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}
.l-lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: var(--font-sans);
  flex-shrink: 0;
}
.l-lang-toggle:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.24);
}

.l-nav__spacer {
  flex: 1 1 auto;
  min-width: 8px;
}
.l-nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  max-width: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  overflow: hidden;
  transition:
    max-width 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.l-nav--show-cta-icons .l-nav__actions {
  max-width: 120px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.l-nav__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.l-nav__icon-btn:hover {
  background: rgba(196, 149, 90, 0.18);
  border-color: rgba(196, 149, 90, 0.45);
  color: #fff;
  transform: translateY(-1px);
}
.l-nav__icon-btn:active {
  transform: translateY(0);
}

@media (max-width: 720px) {
  .l-nav {
    padding: 0 14px;
  }
  .l-nav__logo-text {
    font-size: clamp(14px, 4vw, 16px);
  }
  .l-hero {
    padding-top: 72px;
  }
}

/* --- HERO --- */
.l-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 68px 24px 100px;
}

.l-hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.l-hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.35;
}
.l-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.l-hero__glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196, 149, 90, 0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.l-hero__glow--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(100, 80, 200, 0.10) 0%, transparent 70%);
  bottom: -80px; right: -80px;
}

/* Subtle brand watermark — visible but not competing with headline */
.l-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.l-hero__brand-row picture {
  display: contents;
}

/* Hero brand mark + symmetrical ornaments (replaces former eyebrow line) */
.l-hero__brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 32px);
  margin-bottom: clamp(20px, 4vw, 28px);
}
.l-hero__brand-logo {
  width: min(250px, calc(100vw - 120px));
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.45));
}
.l-hero__ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 160px;
}
.l-hero__ornament--lead {
  justify-content: flex-end;
}
.l-hero__ornament--tail {
  justify-content: flex-start;
}
.l-hero__ornament-line {
  height: 1px;
  border-radius: 1px;
  min-width: 0;
}
/* Fade toward outer edge — lines “point” at the logo */
.l-hero__ornament-line--fade-out {
  flex: 1 1 auto;
  max-width: 72px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196, 149, 90, 0.15) 35%,
    rgba(196, 149, 90, 0.55) 100%
  );
}
.l-hero__ornament--tail .l-hero__ornament-line--fade-out {
  background: linear-gradient(
    90deg,
    rgba(196, 149, 90, 0.55) 0%,
    rgba(196, 149, 90, 0.15) 65%,
    transparent 100%
  );
}
.l-hero__ornament-line--accent {
  width: clamp(20px, 5vw, 36px);
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    rgba(196, 149, 90, 0.35),
    rgba(245, 228, 184, 0.85),
    rgba(196, 149, 90, 0.35)
  );
  box-shadow: 0 0 12px rgba(196, 149, 90, 0.15);
}
.l-hero__ornament-node {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #e8d5a8, var(--color-accent));
  box-shadow: 0 0 10px rgba(196, 149, 90, 0.35);
  border-radius: 1px;
}
@media (max-width: 400px) {
  .l-hero__ornament {
    max-width: 56px;
    gap: 6px;
  }
  .l-hero__ornament-line--fade-out {
    max-width: 40px;
  }
}

.l-hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 28px;
}
.l-hero__title-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.03em;
  font-style: normal;
}
.l-hero__title-line--italic {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(38px, 7.5vw, 76px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  background: linear-gradient(90deg, #c4955a 0%, #f5e4b8 45%, #c4955a 90%);
  background-size: 100% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.l-hero__sub {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(240, 236, 228, 0.55);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
  font-weight: 300;
}

.l-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.45s ease;
}
.l-hero__ctas--merged {
  opacity: 0.26;
  transform: scale(0.96);
  filter: saturate(0.85);
  pointer-events: none;
}

.l-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  box-shadow: 0 4px 22px rgba(196,149,90,0.28);
  border: 1.5px solid transparent;
}
.l-hero__cta--secondary {
  background: transparent;
  color: rgba(240, 236, 228, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
.l-hero__cta:hover {
  transform: translateY(-2px);
}
.l-hero__cta:not(.l-hero__cta--secondary):hover {
  background: #d4a868;
  box-shadow: 0 10px 36px rgba(196,149,90,0.5), 0 0 0 3px rgba(196,149,90,0.18);
}
.l-hero__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  box-shadow: none;
}
.l-hero__cta svg { flex-shrink: 0; transition: transform 0.2s; }
.l-hero__cta:hover svg { transform: translateX(3px); }

@media (max-width: 420px) {
  .l-hero__ctas {
    flex-direction: column;
    max-width: 280px;
  }
  .l-hero__cta,
  .l-hero__cta--secondary {
    width: 100%;
  }
}

.l-hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.l-hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
  margin: 0 auto;
  opacity: 0.55;
}

/* --- LISTING SECTION --- */
.l-listing {
  background: #0d0d18;
  position: relative;
}
.l-listing::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,149,90,0.4), transparent);
}
.l-listing__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}
.l-listing__header {
  text-align: center;
  margin-bottom: 36px;
}
.l-listing__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.l-listing__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.38);
  margin-bottom: 20px;
}
.l-listing__rule {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto;
  border-radius: 2px;
}

/* ==========================================================
   COMPACT CATALOGUE — glass panel + horizontal carousel
   ========================================================== */

/* -- Panel shell -- */
.l-catalog {
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px 20px;
  border-radius: 22px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.018) 50%,
    rgba(0, 0, 0, 0.14) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 28px 56px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* -- Toolbar (search + meta count) -- */
.l-catalog__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 16px;
}
.l-catalog__search-label {
  flex: 1 1 180px;
  min-width: 0;
  position: relative;
  display: block;
}
.l-catalog__search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.32);
  pointer-events: none;
  display: flex;
}
.l-catalog__search {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px 10px 42px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.l-catalog__search::placeholder { color: rgba(255, 255, 255, 0.3); }
.l-catalog__search:hover  { border-color: rgba(255, 255, 255, 0.16); }
.l-catalog__search:focus  {
  border-color: rgba(196, 149, 90, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 149, 90, 0.12);
  background: rgba(0, 0, 0, 0.4);
}
.l-catalog__meta {
  flex: 0 0 auto;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

/* -- Carousel viewport: clips the track, fades edges -- */
.l-catalog__viewport {
  position: relative;
  overflow: hidden;
  /* Fade left/right so the peek feels intentional */
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 20px,
    #000 calc(100% - 20px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 20px,
    #000 calc(100% - 20px),
    transparent 100%
  );
}

/* -- Carousel track -- */
.l-catalog__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Left/right padding so first/last card aligns with the visible area */
  padding: 4px 20px 8px;
  scroll-padding-left: 20px;
}
.l-catalog__track::-webkit-scrollbar { display: none; }

/* Empty state */
.l-catalog__empty {
  text-align: center;
  padding: 32px 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.l-catalog__empty[hidden] { display: none; }

/* -- Carousel card -- */
.l-catalog__track .l-card {
  /* Mobile: ~1.15 visible (snaps one at a time, peek shows the next) */
  flex: 0 0 calc(84% - 20px);
  max-width: 310px;
  height: 240px;
  aspect-ratio: auto;
  border-radius: 14px;
  scroll-snap-align: start;
  transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.l-catalog__track .l-card__body  { padding: 14px 13px 12px; }
.l-catalog__track .l-card__name  { font-size: 15px; line-height: 1.25; }
.l-catalog__track .l-card__tag   { font-size: 9px; margin-bottom: 5px; }
.l-catalog__track .l-card__desc  {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: none;
  overflow: hidden;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.45;
  opacity: 0.6;
  transform: none;
}
.l-catalog__track .l-card:hover .l-card__desc { opacity: 0.9; }
.l-catalog__track .l-card__cta   {
  margin-top: 10px;
  font-size: 10px;
  opacity: 0.75;
  transform: none;
}
.l-catalog__track .l-card:hover .l-card__cta  { opacity: 1; }
.l-catalog__track .l-card:hover               { transform: translateY(-3px); }
.l-card.is-catalog-hidden                     { display: none !important; }

/* Tablet: 2 cards */
@media (min-width: 520px) {
  .l-catalog__track .l-card {
    flex: 0 0 calc(49% - 14px);
    max-width: none;
    height: 250px;
  }
}

/* Desktop: 3 cards */
@media (min-width: 760px) {
  .l-catalog__track .l-card {
    flex: 0 0 calc(32.5% - 10px);
    height: 260px;
  }
}

/* -- Nav row (prev/next arrows + dot indicators) -- */
.l-catalog__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  min-height: 32px;
}
.l-catalog__dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.l-catalog__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.3s ease;
  flex-shrink: 0;
}
.l-catalog__dot.is-active {
  background: var(--color-accent);
  width: 18px;
  border-radius: 3px;
  transform: none;
}
.l-catalog__dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.45);
  transform: scale(1.25);
}

/* Arrows — hidden on touch/mobile, shown on pointer devices ≥ 520px */
.l-catalog__arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.l-catalog__arrow:hover:not(:disabled) {
  background: rgba(196, 149, 90, 0.18);
  border-color: rgba(196, 149, 90, 0.4);
  color: #fff;
  transform: scale(1.06);
}
.l-catalog__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}
@media (pointer: fine) and (min-width: 520px) {
  .l-catalog__arrow { display: flex; }
}

/* Static /{slug}/ links for crawlers (cards above are JS-rendered) */
.l-restaurant-index {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.l-restaurant-index__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(240, 236, 228, 0.85);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.l-restaurant-index__hint {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 20px;
  font-weight: 300;
}
.l-restaurant-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}
.l-restaurant-index__item {
  margin: 0;
}
.l-restaurant-index__link {
  font-size: 14px;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 149, 90, 0.35);
  transition: color 0.2s, border-color 0.2s;
}
.l-restaurant-index__link:hover {
  color: #e8d4b0;
  border-bottom-color: rgba(232, 212, 176, 0.55);
}

/* FAQ — crawlable Q&A (supports FAQPage in JSON-LD) */
.l-faq {
  background: #0a0a12;
  padding: 72px 24px 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.l-faq__inner {
  max-width: 720px;
  margin: 0 auto;
}
.l-faq__header {
  margin-bottom: 40px;
}
.l-faq__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.l-faq__q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0ece4;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.l-faq__a {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(240, 236, 228, 0.55);
  font-weight: 300;
}
.l-faq__more {
  margin: 36px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.55;
  text-align: center;
}

/* ── Shared section header ────────────────────────────────── */
.l-section-header {
  text-align: center;
  margin-bottom: 52px;
}
.l-section-header__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.l-section-header__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #f0ece4;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.l-features {
  background: #09090f;
  padding: 96px 24px;
}
.l-features__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.l-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.l-feature-card {
  background: #121220;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
  opacity: 1;
  transform: none;
}
.l-feature-card.visible {
  opacity: 1;
  transform: none;
}
.l-feature-card:hover {
  border-color: rgba(196,149,90,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}
.l-feature-card__icon-wrap {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.l-feature-card__icon-wrap svg {
  width: 100%;
  height: 100%;
}
.l-feature-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #f0ece4;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.l-feature-card__desc {
  font-size: 14px;
  color: rgba(240,236,228,0.48);
  line-height: 1.7;
  font-weight: 300;
}
@media (max-width: 600px) {
  .l-features__grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 900px) {
  .l-features__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.l-steps {
  background: #060609;
  padding: 96px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.l-steps__inner {
  max-width: 960px;
  margin: 0 auto;
}
.l-steps__list {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.l-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  opacity: 1;
  transform: none;
}
.l-step.visible {
  opacity: 1;
  transform: none;
}
.l-step__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(196,149,90,0.5);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.l-step__title {
  font-size: 16px;
  font-weight: 600;
  color: #f0ece4;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.l-step__desc {
  font-size: 14px;
  color: rgba(240,236,228,0.42);
  line-height: 1.65;
  font-weight: 300;
}
.l-step__connector {
  flex-shrink: 0;
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, rgba(196,149,90,0.4), rgba(196,149,90,0.1));
  margin-top: 22px;
  align-self: flex-start;
}
@media (max-width: 640px) {
  .l-steps__list {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }
  .l-step { padding: 0; max-width: 300px; }
  .l-step__connector {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(196,149,90,0.4), rgba(196,149,90,0.1));
    margin: 0;
    align-self: center;
  }
}

/* ============================================================
   CTA / CONTACT BLOCK
   ============================================================ */
.l-cta-block {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.l-cta-block__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(196,149,90,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.l-cta-block__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../favicon.ico") no-repeat 50% 42%;
  background-size: min(180px, 42vw);
  opacity: 0.04;
  pointer-events: none;
}
.l-cta-block__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  opacity: 1;
  transform: none;
}
.l-cta-block__inner.visible {
  opacity: 1;
  transform: none;
}

.l-cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #f0ece4;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.l-cta-block__sub {
  font-size: 16px;
  color: rgba(240,236,228,0.48);
  line-height: 1.65;
  margin-bottom: 40px;
  font-weight: 300;
}
.l-cta-block__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.l-cta-block__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  color: #f0ece4;
  text-decoration: none;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}
.l-cta-block__link:hover {
  background: rgba(196,149,90,0.1);
  border-color: rgba(196,149,90,0.4);
  color: var(--color-accent);
}
.l-cta-block__link--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
  color: #7fe8b3;
}
.l-cta-block__link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
@media (min-width: 480px) {
  .l-cta-block__contacts {
    flex-direction: row;
    justify-content: center;
  }
}

/* Loading */
.l-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  grid-column: 1 / -1;
}
.l-spinner {
  width: 32px; height: 32px;
  border: 2px solid rgba(196,149,90,0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* --- RESTAURANT CARDS GRID --- */
.l-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Large featured card (first) */
.l-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: #fff;
  background: #1a1a28;
  aspect-ratio: 3/4;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.l-card--featured {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 500px;
}

.l-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  transition:
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.4s ease;
  filter: brightness(0.75) saturate(0.9);
}
.l-card__img.l-card__img--loaded {
  opacity: 1;
}
.l-card:hover .l-card__img {
  transform: scale(1.06);
  filter: brightness(0.65) saturate(1.1);
}
.l-card__img-placeholder {
  position: absolute; inset: 0;
  background: #1a1a28;
}

/* Bottom gradient overlay */
.l-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.90) 0%,
    rgba(0,0,0,0.45) 40%,
    transparent 70%
  );
  transition: background 0.4s ease;
}
.l-card:hover .l-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.60) 50%,
    rgba(0,0,0,0.1) 80%
  );
}

/* Top accent bar */
.l-card__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.l-card:hover .l-card__accent { opacity: 1; }

/* Card body text */
.l-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 24px;
  z-index: 1;
}
.l-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.l-card__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}
.l-card--featured .l-card__name {
  font-size: clamp(26px, 3.5vw, 40px);
}

.l-card__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
}
.l-card:hover .l-card__desc {
  max-height: 80px;
  opacity: 1;
  transform: translateY(0);
}

.l-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s 0.05s ease, transform 0.35s 0.05s ease;
}
.l-card__cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.l-card:hover .l-card__cta { opacity: 1; transform: translateY(0); }
.l-card:hover .l-card__cta-arrow { transform: translateX(4px); }

.l-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.l-card:hover {
  box-shadow: 0 28px 70px rgba(0,0,0,0.65), 0 0 0 1px rgba(196,149,90,0.30);
  transform: translateY(-5px);
}

/* --- FOOTER --- */
.l-footer {
  background: #080810;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 44px 24px;
}
.l-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px 40px;
}
.l-footer__logo-link {
  display: inline-block;
  margin-bottom: 10px;
  line-height: 0;
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.l-footer__logo-link:hover {
  opacity: 0.92;
  transform: scale(1.03);
}
.l-footer__logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}
.l-footer__tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.22);
  line-height: 1.5;
}
.l-footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.18);
  text-align: center;
  line-height: 1.6;
}
.l-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.l-footer__link {
  font-size: 13px;
  color: rgba(240,236,228,0.32);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}
.l-footer__link:hover { color: var(--color-accent); }
.l-footer__link--whatsapp:hover { color: #7fe8b3; }
.l-footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
}
.l-footer__legal-link {
  color: rgba(240, 236, 228, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}
.l-footer__legal-link:hover {
  color: var(--color-accent);
}
.l-footer__legal-sep {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}
.cookie-notice {
  position: fixed;
  z-index: 10050;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0));
  padding-left: max(16px, env(safe-area-inset-left, 0));
  padding-right: max(16px, env(safe-area-inset-right, 0));
  background: rgba(8, 8, 16, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  line-height: 1.45;
  color: rgba(240, 236, 228, 0.78);
}
.cookie-notice__text {
  flex: 1;
  margin: 0;
  min-width: 0;
}
.cookie-notice__link {
  color: var(--color-accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-notice__link:hover {
  color: var(--color-accent);
}
.cookie-notice__ok {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.2s ease;
}
.cookie-notice__ok:hover {
  background: rgba(255, 255, 255, 0.18);
}
body.landing-page:has(.cookie-notice) {
  padding-bottom: 52px;
}
@media (max-width: 680px) {
  .l-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .l-footer__contact { align-items: center; }
  .l-footer__copy    { display: none; }
}

/* --- Legal / articles (minimal static pages) --- */
body.legal-page {
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  padding: 28px 20px 48px;
}
.legal-back {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 24px;
  color: var(--color-accent);
  text-decoration: none;
}
.legal-back:hover {
  text-decoration: underline;
}
.legal-article {
  max-width: 640px;
  margin: 0 auto;
}
.legal-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
  color: var(--color-navy);
}
.legal-p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.legal-ul {
  margin-top: 0.5rem;
}
.legal-ul li {
  margin-bottom: 0.5rem;
}
.legal-ul a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- SITE FOOTER (restaurant page) --- */
.site-footer {
  text-align: center;
  padding: 24px 20px;
  font-size: 13px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

/* --- RESPONSIVE LANDING --- */
@media (max-width: 900px) {
  .l-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .l-card--featured {
    grid-column: span 2;
  }
}
@media (max-width: 560px) {
  .l-nav__logo-img {
    width: 30px;
    height: 30px;
  }
  .l-nav__logo-text {
    font-size: 15px;
  }
  .l-grid {
    grid-template-columns: 1fr;
  }
  .l-card--featured {
    grid-column: span 1;
    min-height: 400px;
    aspect-ratio: 4/3;
  }
  .l-card__desc {
    max-height: 60px;
    opacity: 0.8;
    transform: none;
  }
  .l-card__cta {
    opacity: 1;
    transform: none;
  }
  .l-hero { padding: 64px 20px 80px; }
  .l-listing__inner { padding: 60px 20px 80px; }
  .l-catalog {
    padding: 14px 16px 16px;
    border-radius: 18px;
  }
}

/* ============================================================
   RESTAURANT PAGE — HEADER
   ============================================================ */
.restaurant-header {
  position: relative;
  background: var(--color-navy);
  color: #fff;
  overflow: hidden;
  min-height: 200px;
  transition: background 0.35s ease, min-height 0.35s ease;
}
.restaurant-header__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: blur(2px);
  transform: scale(1.05);
  transition: opacity 0.3s;
}
.restaurant-header__overlay {
  position: absolute; inset: 0;
  pointer-events: none;
}
.restaurant-header__nav {
  position: relative; z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--header-height);
  max-width: 900px;
  margin: 0 auto;
}
.restaurant-header__content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 24px 20px 40px;
  max-width: 700px;
  margin: 0 auto;
}
.restaurant-header__content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 85%, rgba(196,149,90,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.restaurant-header__name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
}
.restaurant-header__tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  font-style: italic;
  line-height: 1.5;
}
.restaurant-header__cover-thumb {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  margin: 0 auto 20px;
  display: block;
}

/* ============================================================
   RESTAURANT PAGE — STICKY FILTERS BAR
   ============================================================ */
.filters-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: background 0.35s ease, border-color 0.35s ease,
              backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}
.filters-bar__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Search bar ───────────────────────────────────────────── */
.search-bar-wrap {
  padding: 12px 0 4px;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.search-bar:focus-within {
  border-color: rgba(196,149,90,0.38);
  background: rgba(255,255,255,0.08);
}
.search-bar__icon {
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  transition: color 0.2s;
}
.search-bar:focus-within .search-bar__icon {
  color: rgba(196,149,90,0.7);
}
.search-bar__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #f0ece4;
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  line-height: 1.4;
}
.search-bar__input::placeholder { color: rgba(255,255,255,0.25); }
.search-bar__input::-webkit-search-cancel-button,
.search-bar__input::-webkit-search-decoration { display: none; }
.search-bar__clear {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
  transition: color 0.2s;
}
.search-bar__clear:hover { color: rgba(255,255,255,0.7); }
.search-bar__clear.hidden { display: none; }

/* ── No-results banner ─────────────────────────────────────── */
.no-results-banner {
  padding: 40px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  font-style: italic;
}

/* Category tabs */
.category-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 14px, black calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 14px, black calc(100% - 14px), transparent 100%);
}
.category-tabs::-webkit-scrollbar { display: none; }

.category-tab {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: 1.5px solid transparent;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.category-tab:hover {
  color: var(--color-navy);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}
.category-tab.active {
  color: var(--color-accent);
  background: rgba(196,149,90,0.12);
  border-color: rgba(196,149,90,0.28);
}

/* Tag filters */
.tag-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0 12px;
  scrollbar-width: none;
  min-height: 44px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 14px, black calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 14px, black calc(100% - 14px), transparent 100%);
}
.tag-filters::-webkit-scrollbar { display: none; }
.tag-filters:empty { display: none; }

.tag-chip {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-tag-bg);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.tag-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-navy);
}
.tag-chip.active {
  background: var(--color-tag-active);
  color: var(--color-tag-text-active);
  border-color: var(--color-tag-active);
}

/* Advanced filters — toggle row + ingredient / allergen pills */
.filters-advanced-toggle-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 4px 0 8px;
}
.filters-advanced-toggle-wrap[hidden] {
  display: none !important;
}

/* “More filters” — cool slate/cyan control (filter pills stay warm gold) */
.filters-advanced-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #2a4a62;
  background: rgba(70, 130, 190, 0.12);
  border: 1.5px solid rgba(70, 130, 200, 0.42);
  box-shadow: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.filters-advanced-toggle:hover {
  background: rgba(70, 130, 190, 0.18);
  border-color: rgba(50, 120, 200, 0.55);
  color: #1e3d55;
}
/* Panel open — “enabled” state */
.filters-advanced-toggle--expanded {
  color: #0f3550;
  background: rgba(50, 160, 210, 0.2);
  border-color: rgba(40, 150, 210, 0.72);
  box-shadow:
    0 0 0 1px rgba(60, 180, 220, 0.25),
    0 2px 10px rgba(40, 120, 180, 0.12);
}
.filters-advanced-toggle--expanded:hover {
  background: rgba(45, 170, 215, 0.24);
  border-color: rgba(35, 160, 210, 0.75);
}

.filters-advanced-toggle__chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  margin-left: 1px;
}
.filters-advanced-toggle--expanded .filters-advanced-toggle__chevron {
  transform: rotate(180deg);
  opacity: 0.95;
}

.filters-advanced-toggle__badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  background: rgba(55, 120, 200, 0.55);
  color: #fff;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.filters-advanced-toggle--expanded .filters-advanced-toggle__badge {
  background: rgba(30, 150, 200, 0.9);
  color: #fff;
}
/* [hidden] must win — base .filters-advanced-toggle__badge { display: inline-flex } overrides UA [hidden] */
.filters-advanced-toggle__badge[hidden] {
  display: none !important;
}

.filters-advanced-clear {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
}
.filters-advanced-clear:hover {
  color: var(--color-navy);
}

.filters-advanced-panel {
  padding: 12px 0 14px;
  border-top: 1px solid var(--color-border);
}
.filters-advanced-panel.hidden {
  display: none;
}

.filters-advanced__section {
  margin-bottom: 14px;
}
.filters-advanced__section:last-child {
  margin-bottom: 0;
}

.filters-advanced__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.filters-advanced__hint {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.filter-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Horizontal scroll “slider” for many ingredient / allergen pills */
.filter-pill-slider {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin: 0 -4px;
  padding: 2px 4px 8px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 14px,
    black calc(100% - 14px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 14px,
    black calc(100% - 14px),
    transparent 100%
  );
  scroll-snap-type: x proximity;
}
.filter-pill-slider::-webkit-scrollbar {
  display: none;
}

.filter-pill-row--scroll {
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
  align-items: center;
  min-height: 34px;
}
.filter-pill-slider .filter-pill {
  flex-shrink: 0;
  scroll-snap-align: start;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-tag-bg);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  max-width: 100%;
}
.filter-pill__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.filter-pill__count {
  flex-shrink: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,0.06);
  color: var(--color-text-muted);
}
.filter-pill:hover {
  border-color: var(--color-accent);
  color: var(--color-navy);
}
.filter-pill:hover .filter-pill__count {
  background: rgba(196,149,90,0.15);
  color: var(--color-navy);
}
.filter-pill.active {
  background: var(--color-tag-active);
  color: var(--color-tag-text-active);
  border-color: var(--color-tag-active);
}
.filter-pill.active .filter-pill__count {
  background: rgba(255,255,255,0.2);
  color: var(--color-tag-text-active);
}

.filter-pill--allergen.active {
  background: rgba(160, 52, 52, 0.92);
  border-color: rgba(120, 36, 36, 0.95);
  color: #fff;
}
.filter-pill--allergen.active .filter-pill__count {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

/* ============================================================
   RESTAURANT PAGE — MENU CONTENT
   ============================================================ */
.menu-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 16px 80px;
  transition: background 0.35s ease, opacity 0.18s ease;
}

.menu-category {
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}
.menu-category.hidden { display: none; }

/* Timed section — active */
.menu-category.timed-active .menu-category__title {
  border-bottom-color: #6abf69;
}

/* Timed section — inactive: slightly muted, not hidden */
.menu-category.timed-inactive {
  opacity: 0.72;
}
.menu-category.timed-inactive .menu-category__title {
  border-bottom-color: var(--color-border);
}

/* Badge inside section title */
.timed-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  vertical-align: middle;
  transition: background 0.3s ease, color 0.3s ease;
}
.timed-badge[data-active="1"] {
  background: rgba(106,191,105,0.18);
  color: #52a650;
  border: 1px solid rgba(106,191,105,0.35);
}
.timed-badge[data-active="0"] {
  background: rgba(0,0,0,0.06);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* Category tab timed states */
.category-tab.timed-active {
  color: #52a650;
  background: rgba(106,191,105,0.12);
  border-color: rgba(106,191,105,0.35);
}
.category-tab.timed-inactive {
  opacity: 0.55;
}

.menu-category__title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent-light);
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.menu-category__items { margin-top: 16px; }

/* ============================================================
   CLASSIC THEME — DARK
   ============================================================ */

/* Full page dark when classic is active */
body[data-theme="classic"] {
  background: #080810;
  color: #f0ece4;
}

/* Header */
body[data-theme="classic"] .restaurant-header {
  background: #050508;
  min-height: 220px;
}
body[data-theme="classic"] .restaurant-header__bg {
  opacity: 0.22;
  filter: none;
  transform: none;
}
body[data-theme="classic"] .restaurant-header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    #080810 0%,
    rgba(5,5,8,0.55) 50%,
    rgba(5,5,8,0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
}
body[data-theme="classic"] .restaurant-header__nav,
body[data-theme="classic"] .restaurant-header__content { z-index: 2; }
body[data-theme="classic"] .restaurant-header__tagline {
  color: rgba(240,236,228,0.55);
}

/* Filters bar — frosted glass */
body[data-theme="classic"] .filters-bar {
  background: rgba(8,8,16,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,0.07);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
body[data-theme="classic"] .category-tab {
  color: rgba(240,236,228,0.4);
}
body[data-theme="classic"] .category-tab:hover {
  background: rgba(255,255,255,0.06);
  color: #f0ece4;
}
body[data-theme="classic"] .category-tab.active {
  background: rgba(196,149,90,0.14);
  color: var(--color-accent);
  border-color: rgba(196,149,90,0.45);
}
body[data-theme="classic"] .tag-chip {
  background: rgba(255,255,255,0.05);
  color: rgba(240,236,228,0.4);
  border-color: transparent;
}
body[data-theme="classic"] .tag-chip:hover {
  border-color: rgba(196,149,90,0.5);
  color: rgba(240,236,228,0.85);
}
body[data-theme="classic"] .tag-chip.active {
  background: rgba(196,149,90,0.18);
  color: var(--color-accent);
  border-color: rgba(196,149,90,0.5);
}

body[data-theme="classic"] .filters-advanced-panel {
  border-top-color: rgba(255,255,255,0.08);
}
body[data-theme="classic"] .filters-advanced__label {
  color: rgba(240,236,228,0.88);
}
body[data-theme="classic"] .filters-advanced__hint {
  color: rgba(240,236,228,0.45);
}
body[data-theme="classic"] .filters-advanced-toggle {
  color: rgba(185, 225, 255, 0.95);
  background: rgba(55, 95, 145, 0.28);
  border-color: rgba(120, 175, 235, 0.42);
  box-shadow: none;
}
body[data-theme="classic"] .filters-advanced-toggle:hover {
  color: #f0f7ff;
  background: rgba(60, 110, 170, 0.35);
  border-color: rgba(140, 195, 255, 0.5);
}
body[data-theme="classic"] .filters-advanced-toggle--expanded {
  color: #ffffff;
  background: rgba(35, 120, 165, 0.42);
  border-color: rgba(90, 200, 255, 0.58);
  box-shadow:
    0 0 0 1px rgba(80, 190, 255, 0.18),
    0 3px 14px rgba(20, 80, 140, 0.25);
}
body[data-theme="classic"] .filters-advanced-toggle--expanded:hover {
  background: rgba(40, 130, 175, 0.48);
  border-color: rgba(110, 210, 255, 0.62);
}
body[data-theme="classic"] .filters-advanced-toggle__badge {
  background: rgba(100, 165, 235, 0.95);
  color: #0a1424;
}
body[data-theme="classic"] .filters-advanced-toggle--expanded .filters-advanced-toggle__badge {
  background: rgba(130, 215, 255, 0.98);
  color: #061018;
}
body[data-theme="classic"] .filters-advanced-clear {
  color: rgba(240,236,228,0.45);
}
body[data-theme="classic"] .filters-advanced-clear:hover {
  color: #f0ece4;
}
body[data-theme="classic"] .filter-pill {
  background: rgba(255,255,255,0.05);
  color: rgba(240,236,228,0.4);
  border-color: transparent;
}
body[data-theme="classic"] .filter-pill__count {
  background: rgba(255,255,255,0.1);
  color: rgba(240,236,228,0.55);
}
body[data-theme="classic"] .filter-pill:hover {
  border-color: rgba(196,149,90,0.5);
  color: rgba(240,236,228,0.85);
}
body[data-theme="classic"] .filter-pill:hover .filter-pill__count {
  background: rgba(196,149,90,0.2);
  color: rgba(240,236,228,0.9);
}
body[data-theme="classic"] .filter-pill--ingredient.active {
  background: rgba(196,149,90,0.18);
  color: var(--color-accent);
  border-color: rgba(196,149,90,0.5);
}
body[data-theme="classic"] .filter-pill--ingredient.active .filter-pill__count {
  background: rgba(196,149,90,0.35);
  color: var(--color-accent);
}
body[data-theme="classic"] .filter-pill--allergen.active {
  background: rgba(200, 72, 72, 0.42);
  border-color: rgba(255,140,140,0.45);
  color: #ffd4d4;
}
body[data-theme="classic"] .filter-pill--allergen.active .filter-pill__count {
  background: rgba(255,255,255,0.14);
  color: #ffd4d4;
}

/* Menu area */
body[data-theme="classic"] .menu-content {
  background: #080810;
}
body[data-theme="classic"] .menu-category__title {
  color: #fff;
  border-bottom-color: rgba(196,149,90,0.22);
}
body[data-theme="classic"] .menu-category.timed-active .menu-category__title {
  border-bottom-color: rgba(106,191,105,0.55);
}
body[data-theme="classic"] .timed-badge[data-active="1"] {
  background: rgba(106,191,105,0.15);
  color: #6abf69;
  border-color: rgba(106,191,105,0.3);
}
body[data-theme="classic"] .timed-badge[data-active="0"] {
  background: rgba(255,255,255,0.05);
  color: rgba(240,236,228,0.4);
  border-color: rgba(255,255,255,0.1);
}
body[data-theme="classic"] .category-tab.timed-active {
  color: #6abf69;
  background: rgba(106,191,105,0.1);
  border-color: rgba(106,191,105,0.3);
}

/* Footer */
body[data-theme="classic"] .site-footer {
  background: #050508;
  border-color: rgba(255,255,255,0.05);
  color: rgba(240,236,228,0.3);
}

/* ---- Classic item rows (dark colours) ---- */
.theme-classic .menu-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 10px;
  margin: 0 -10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.35s ease, padding-left 0.2s ease;
}
.theme-classic .menu-item:last-child { border-bottom: none; }
.theme-classic .menu-item:hover {
  background: rgba(196,149,90,0.06);
  padding-left: 18px;
}
.theme-classic .menu-item:hover .menu-item__number { color: #f0ece4; }
.theme-classic .menu-item.unavailable { opacity: 0.38; cursor: default; }
.theme-classic .menu-item.filtered-out { display: none; }

.theme-classic .menu-item__number {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  min-width: 20px;
  flex-shrink: 0;
  padding-top: 2px;
}
.theme-classic .menu-item__body {
  flex: 1;
  min-width: 0;
}
.theme-classic .menu-item__name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #f0ece4;
  line-height: 1.45;
  transition: color 0.35s ease;
}
.theme-classic .menu-item__name.unavailable {
  color: rgba(240,236,228,0.3);
}
.theme-classic .menu-item__desc {
  font-size: 13px;
  color: rgba(240,236,228,0.42);
  margin-top: 3px;
  line-height: 1.45;
  font-weight: 300;
}
.theme-classic .menu-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.theme-classic .menu-item__tag {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-pill);
  color: rgba(240,236,228,0.4);
  letter-spacing: 0.03em;
}
.theme-classic .menu-item__price {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  padding-top: 2px;
}

/* ============================================================
   MODERN THEME — DARK CINEMATIC
   ============================================================ */

/* Full page dark mode when modern is active */
body[data-theme="modern"] {
  background: #080810;
  color: #f0ece4;
}

/* Header — dramatic full-bleed */
body[data-theme="modern"] .restaurant-header {
  background: #050508;
  min-height: 300px;
}
body[data-theme="modern"] .restaurant-header__bg {
  opacity: 0.38;
  filter: none;
  transform: none;
}
/* Strong bottom-to-top gradient over the bg image */
body[data-theme="modern"] .restaurant-header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    #080810 0%,
    rgba(5,5,8,0.65) 45%,
    rgba(5,5,8,0.25) 100%
  );
  z-index: 1;
  pointer-events: none;
}
body[data-theme="modern"] .restaurant-header__nav,
body[data-theme="modern"] .restaurant-header__content {
  z-index: 2;
}
body[data-theme="modern"] .restaurant-header__name {
  font-size: clamp(32px, 7vw, 56px);
  letter-spacing: -0.02em;
}
body[data-theme="modern"] .restaurant-header__tagline {
  color: rgba(240,236,228,0.55);
  font-size: 14px;
  letter-spacing: 0.03em;
}

/* Filters bar — frosted glass */
body[data-theme="modern"] .filters-bar {
  background: rgba(8,8,16,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,0.07);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
body[data-theme="modern"] .category-tab {
  color: rgba(240,236,228,0.4);
}
body[data-theme="modern"] .category-tab:hover {
  background: rgba(255,255,255,0.06);
  color: #f0ece4;
}
body[data-theme="modern"] .category-tab.active {
  background: rgba(196,149,90,0.14);
  color: var(--color-accent);
  border-color: rgba(196,149,90,0.45);
}
body[data-theme="modern"] .tag-chip {
  background: rgba(255,255,255,0.05);
  color: rgba(240,236,228,0.4);
  border-color: transparent;
}
body[data-theme="modern"] .tag-chip:hover {
  border-color: rgba(196,149,90,0.5);
  color: rgba(240,236,228,0.85);
}
body[data-theme="modern"] .tag-chip.active {
  background: rgba(196,149,90,0.18);
  color: var(--color-accent);
  border-color: rgba(196,149,90,0.5);
}

body[data-theme="modern"] .filters-advanced-panel {
  border-top-color: rgba(255,255,255,0.08);
}
body[data-theme="modern"] .filters-advanced__label {
  color: rgba(240,236,228,0.88);
}
body[data-theme="modern"] .filters-advanced__hint {
  color: rgba(240,236,228,0.45);
}
body[data-theme="modern"] .filters-advanced-toggle {
  color: rgba(185, 225, 255, 0.95);
  background: rgba(55, 95, 145, 0.28);
  border-color: rgba(120, 175, 235, 0.42);
  box-shadow: none;
}
body[data-theme="modern"] .filters-advanced-toggle:hover {
  color: #f0f7ff;
  background: rgba(60, 110, 170, 0.35);
  border-color: rgba(140, 195, 255, 0.5);
}
body[data-theme="modern"] .filters-advanced-toggle--expanded {
  color: #ffffff;
  background: rgba(35, 120, 165, 0.42);
  border-color: rgba(90, 200, 255, 0.58);
  box-shadow:
    0 0 0 1px rgba(80, 190, 255, 0.18),
    0 3px 14px rgba(20, 80, 140, 0.25);
}
body[data-theme="modern"] .filters-advanced-toggle--expanded:hover {
  background: rgba(40, 130, 175, 0.48);
  border-color: rgba(110, 210, 255, 0.62);
}
body[data-theme="modern"] .filters-advanced-toggle__badge {
  background: rgba(100, 165, 235, 0.95);
  color: #0a1424;
}
body[data-theme="modern"] .filters-advanced-toggle--expanded .filters-advanced-toggle__badge {
  background: rgba(130, 215, 255, 0.98);
  color: #061018;
}
body[data-theme="modern"] .filters-advanced-clear {
  color: rgba(240,236,228,0.45);
}
body[data-theme="modern"] .filters-advanced-clear:hover {
  color: #f0ece4;
}
body[data-theme="modern"] .filter-pill {
  background: rgba(255,255,255,0.05);
  color: rgba(240,236,228,0.4);
  border-color: transparent;
}
body[data-theme="modern"] .filter-pill__count {
  background: rgba(255,255,255,0.1);
  color: rgba(240,236,228,0.55);
}
body[data-theme="modern"] .filter-pill:hover {
  border-color: rgba(196,149,90,0.5);
  color: rgba(240,236,228,0.85);
}
body[data-theme="modern"] .filter-pill:hover .filter-pill__count {
  background: rgba(196,149,90,0.2);
  color: rgba(240,236,228,0.9);
}
body[data-theme="modern"] .filter-pill--ingredient.active {
  background: rgba(196,149,90,0.18);
  color: var(--color-accent);
  border-color: rgba(196,149,90,0.5);
}
body[data-theme="modern"] .filter-pill--ingredient.active .filter-pill__count {
  background: rgba(196,149,90,0.35);
  color: var(--color-accent);
}
body[data-theme="modern"] .filter-pill--allergen.active {
  background: rgba(200, 72, 72, 0.42);
  border-color: rgba(255,140,140,0.45);
  color: #ffd4d4;
}
body[data-theme="modern"] .filter-pill--allergen.active .filter-pill__count {
  background: rgba(255,255,255,0.14);
  color: #ffd4d4;
}

/* Menu content area */
body[data-theme="modern"] .menu-content {
  background: #080810;
}
body[data-theme="modern"] .menu-category__title {
  color: #fff;
  border-bottom-color: rgba(196,149,90,0.22);
  font-size: 25px;
  letter-spacing: 0.01em;
}
body[data-theme="modern"] .menu-category.timed-active .menu-category__title {
  border-bottom-color: rgba(106,191,105,0.55);
}
body[data-theme="modern"] .timed-badge[data-active="1"] {
  background: rgba(106,191,105,0.15);
  color: #6abf69;
  border-color: rgba(106,191,105,0.3);
}
body[data-theme="modern"] .timed-badge[data-active="0"] {
  background: rgba(255,255,255,0.05);
  color: rgba(240,236,228,0.4);
  border-color: rgba(255,255,255,0.1);
}
body[data-theme="modern"] .category-tab.timed-active {
  color: #6abf69;
  background: rgba(106,191,105,0.1);
  border-color: rgba(106,191,105,0.3);
}

/* Footer */
body[data-theme="modern"] .site-footer {
  background: #050508;
  border-color: rgba(255,255,255,0.05);
  color: rgba(240,236,228,0.3);
}

/* ---- Modern menu item cards ---- */
.theme-modern .menu-category__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.theme-modern .menu-item {
  position: relative;
  background: #12121e;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-modern .menu-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
  border-radius: 3px 0 0 3px;
}
.theme-modern .menu-item:hover {
  border-color: rgba(196,149,90,0.32);
  box-shadow: 0 12px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(196,149,90,0.18);
  transform: translateY(-5px);
}
.theme-modern .menu-item:hover::before { opacity: 1; }
.theme-modern .menu-item.unavailable { opacity: 0.38; pointer-events: none; }
.theme-modern .menu-item.filtered-out { display: none; }

/* ── Non-blocking image skeleton (shared, all themes) ─────── */
@keyframes skeletonPulse {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.img-skeleton {
  width: 100%; height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.09) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 200% 100%;
  animation: skeletonPulse 1.6s ease-in-out infinite;
  border-radius: 0;
}
/* Inside the modal the skeleton matches the wrap height */
.item-modal__img-wrap .img-skeleton {
  min-height: 180px;
  border-radius: 0;
}

/* Image (when present) */
.theme-modern .menu-item__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d0d1a;
  flex-shrink: 0;
  position: relative;
}
.theme-modern .menu-item__img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,18,30,0.55) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.theme-modern .menu-item__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9);
  transition: transform 0.4s ease, filter 0.3s ease, opacity 0.4s ease;
}
.theme-modern .menu-item:hover .menu-item__img-wrap img {
  transform: scale(1.05);
  filter: brightness(0.75) saturate(1.1);
}
.theme-modern .menu-item__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  background: linear-gradient(135deg, #12121e, #1c1c30);
  color: rgba(196,149,90,0.3);
}

/* Card body */
.theme-modern .menu-item__body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.theme-modern .menu-item__name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #f0ece4;
  line-height: 1.45;
  margin-bottom: 6px;
  letter-spacing: 0.005em;
}
.theme-modern .menu-item__desc {
  font-size: 13px;
  color: rgba(240,236,228,0.42);
  line-height: 1.5;
  flex: 1;
  font-weight: 300;
}
.theme-modern .menu-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.theme-modern .menu-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.theme-modern .menu-item__tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-pill);
  color: rgba(240,236,228,0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.theme-modern .menu-item__price {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  margin-left: 10px;
  flex-shrink: 0;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--color-text-muted);
}
body[data-theme="modern"] .empty-state { color: rgba(240,236,228,0.35); }
.empty-state__icon { font-size: 40px; margin-bottom: 12px; }
.empty-state__msg { font-size: 15px; }

/* ============================================================
   THEME SWITCHER
   ============================================================ */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-btn {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.1);
  border: 1.5px solid transparent;
  transition: all var(--transition);
}
.theme-btn.active {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.18);
}
.theme-btn:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .menu-content { padding: 24px 12px 60px; }
  .menu-category__title { font-size: 22px; }

  .theme-modern .menu-category__items {
    grid-template-columns: 1fr;
  }

  .restaurant-header__content { padding: 16px 16px 32px; }
}

@media (min-width: 768px) {
  .theme-classic .menu-item { gap: 16px; }
  .theme-classic .menu-item__name { font-size: 17px; }
  .filters-bar__inner { padding: 0 24px; }
  .menu-content { padding: 40px 24px 80px; }
  body[data-theme="modern"] .restaurant-header { min-height: 380px; }
  body[data-theme="modern"] .restaurant-header__content { padding: 32px 24px 56px; }
}

/* ============================================================
   RESTAURANT PAGE FOOTER
   ============================================================ */
.restaurant-footer {
  background: #050508;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 40px 24px;
  margin-top: 24px;
}
.restaurant-footer .rf__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 32px;
}
.restaurant-footer .rf__back {
  font-size: 13px;
  color: rgba(240,236,228,0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 4px;
  border-radius: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.restaurant-footer .rf__back:hover {
  color: var(--color-accent);
  opacity: 1;
  transform: scale(1.05);
}
.restaurant-footer .rf__back-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  border-radius: 9px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.restaurant-footer .rf__back:hover .rf__back-logo {
  opacity: 1;
}

/* Full-page menu errors (API missing / load failure) */
.menu-error-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 14px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-error-back:hover {
  transform: scale(1.06);
  opacity: 0.95;
}
.menu-error-back__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.restaurant-footer .rf__copy {
  font-size: 12px;
  color: rgba(240,236,228,0.16);
  text-align: center;
}
.restaurant-footer .rf__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.restaurant-footer .rf__link {
  font-size: 13px;
  color: rgba(240,236,228,0.3);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}
.restaurant-footer .rf__link:hover { color: var(--color-accent); }
.restaurant-footer .rf__link--whatsapp:hover { color: #7fe8b3; }
@media (max-width: 560px) {
  .restaurant-footer .rf__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .restaurant-footer .rf__contact { align-items: center; }
  .restaurant-footer .rf__copy    { display: none; }
}

/* ============================================================
   ITEM DETAIL MODAL
   ============================================================ */
.item-modal {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.item-modal.open {
  pointer-events: all;
  opacity: 1;
}
.item-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.item-modal__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 92vh;
  background: #14141f;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px 24px 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.34, 1.20, 0.64, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.item-modal__sheet::-webkit-scrollbar { width: 4px; }
.item-modal__sheet::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.item-modal.open .item-modal__sheet {
  transform: translateY(0);
}
/* Drag handle pill */
.item-modal__sheet::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  margin: 14px auto 0;
}
.item-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.item-modal__close:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.item-modal__img-wrap {
  width: 100%;
  overflow: hidden;
  min-height: 180px;
  max-height: 260px;
  flex-shrink: 0;
  background: rgba(18,18,30,0.6);
  position: relative;
  border-radius: 24px 24px 0 0;
}
.item-modal__img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}
.item-modal__body {
  padding: 22px 24px 40px;
}
.item-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.item-modal__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 11px;
  background: rgba(196,149,90,0.10);
  border: 1px solid rgba(196,149,90,0.28);
  border-radius: 999px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.item-modal__name {
  font-family: var(--font-sans);
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  color: #f0ece4;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.item-modal__desc {
  font-size: 15px;
  color: rgba(240,236,228,0.52);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
}
.item-modal__ingredients {
  margin-bottom: 26px;
}
.item-modal__ingredients-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.3);
  margin-bottom: 8px;
}
.item-modal__ingredients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.item-modal__ingredient {
  font-size: 12px;
  padding: 3px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-pill);
  color: rgba(240,236,228,0.6);
}

/* Quantity section — styled like ingredients for consistency */
.item-modal__quantity {
  margin-bottom: 20px;
  padding-bottom: 16px;
}
.item-modal__ingredient--quantity {
  font-size: 12px;
  padding: 3px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-pill);
  color: rgba(240,236,228,0.6);
  font-weight: 600;
}

.item-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.item-modal__price {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}
.item-modal__unavail {
  font-size: 12px;
  color: rgba(240,236,228,0.38);
  background: rgba(255,255,255,0.05);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
/* Desktop: centred dialog instead of bottom sheet */
@media (min-width: 600px) {
  .item-modal {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .item-modal__sheet {
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.07);
    transform: translateY(20px) scale(0.97);
    max-height: 88vh;
  }
  .item-modal__sheet::before { display: none; }
  .item-modal.open .item-modal__sheet {
    transform: translateY(0) scale(1);
  }
}
