:root {
  --charcoal: #0A0A0A;
  --surface: #171717;
  --surface-raised: #222222;
  --saffron: #C9A96E;
  --saffron-soft: #D4B896;
  --sumac: #A63D45;
  --cream: #F3E9D6;
  --cream-muted: #B8A98D;
  --border: rgba(243, 233, 214, 0.07);

  --font-display: 'Cormorant Garamond', 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--charcoal);
  background-image:
    linear-gradient(rgba(5, 5, 5, 0.42), rgba(5, 5, 5, 0.42)),
    url("/static/bg-texture.jpg");
  background-repeat: repeat;
  background-size: auto, 900px auto;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Top navigation (logo left, links right, cart) ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(29, 23, 18, 0.98);
  border-bottom: 1px solid var(--border);
}
.site-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex: 0 0 auto;
}
.site-nav__logo { height: 30px; width: 30px; object-fit: contain; border-radius: 7px; }
.site-nav__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--cream);
  letter-spacing: 0.1em;
}
.site-nav__links {
  display: flex;
  gap: 18px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav__links::-webkit-scrollbar { display: none; }
.site-nav__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.site-nav__link:hover { color: var(--saffron-soft); }
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle__bar { width: 18px; height: 2px; background: var(--cream); border-radius: 2px; }
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 28;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex: 0 0 auto;
}
.cart-toggle:hover { background: var(--surface-raised); border-color: var(--saffron); }
.cart-toggle:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
.cart-toggle__count {
  background: var(--sumac);
  color: var(--cream);
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 0 5px;
}

/* ---------- Carousel (auto-rotating banner) ---------- */
.carousel {
  position: relative;
  max-width: 1800px;
  margin: 16px auto 0;
  padding: 0 32px;
  aspect-ratio: 16 / 7;
  max-height: 420px;
}
.carousel__inner {
  position: relative;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
}
.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
@media (max-width: 600px) {
  .carousel { aspect-ratio: 4 / 3; max-height: 320px; padding: 0 16px; margin-top: 10px; }
  .carousel__inner { border-radius: 14px; }
}
.carousel__slide { flex: 0 0 100%; height: 100%; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(29, 23, 18, 0.55);
  color: var(--cream);
  border: 1px solid rgba(243, 233, 214, 0.25);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.15s ease;
}
.carousel__arrow:hover { background: rgba(29, 23, 18, 0.8); }
.carousel__arrow--prev { left: 14px; }
.carousel__arrow--next { right: 14px; }
.carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243, 233, 214, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
}
.carousel__dot.is-active { background: var(--saffron); width: 20px; border-radius: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 20px 32px;
  text-align: center;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 400px;
  background:
    radial-gradient(circle at 30% 20%, rgba(222, 159, 53, 0.12), transparent 55%),
    radial-gradient(circle at 75% 10%, rgba(166, 61, 69, 0.10), transparent 50%);
  filter: blur(40px);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 640px; margin: 0 auto; }
.hero__eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--saffron-soft);
  margin: 0 0 14px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 9vw, 80px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  color: var(--cream);
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(201, 169, 110, 0.8);
  margin-bottom: 18px;
}
.hero__gold-line {
  width: 64px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.6), transparent);
  margin: 20px auto 24px;
}
.hero__tagline {
  font-size: 15px;
  color: var(--cream-muted);
  margin: 0;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge--open { background: rgba(42, 157, 92, 0.15); color: #5FD68A; }
.status-badge--closed { background: rgba(166, 61, 69, 0.18); color: #E8969C; }
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--surface);
  color: var(--cream-muted);
  border: 1px solid var(--border);
}

/* ---------- Category nav ---------- */
.cat-nav {
  position: sticky;
  top: 57px;
  z-index: 25;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 20px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-nav__scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.cat-nav__scroll::-webkit-scrollbar { display: none; }
.cat-nav__address {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--sumac), #8a3038);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  padding: 11px 20px;
  border: none;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(166, 61, 69, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cat-nav__address:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(166, 61, 69, 0.45); }
.cat-nav__pill {
  flex: 0 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--cream-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.cat-nav__pill:hover { border-color: var(--saffron); color: var(--cream); transform: translateY(-1px); }
.cat-nav__pill.is-active { background: var(--saffron); border-color: var(--saffron); color: var(--charcoal); box-shadow: 0 4px 12px rgba(222, 159, 53, 0.3); }

/* ---------- Menu ---------- */
.menu {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 60px;
  scroll-margin-top: 120px;
}
@media (min-width: 900px) {
  .site-nav__inner, .cat-nav, .menu, .gallery, .about-section, .map-section { max-width: 1800px; padding-left: 32px; padding-right: 32px; }
  .site-nav__link { font-size: 14.5px; }
}
.empty-state {
  text-align: center;
  padding: 40px 20px 32px;
}
.empty-state__art { width: 120px; height: auto; margin: 0 auto 16px; display: block; }
.empty-state__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--cream);
  margin: 0 0 6px;
}
.empty-state__text {
  font-size: 13.5px;
  color: var(--cream-muted);
  max-width: 320px;
  margin: 0 auto;
}
.menu__section { margin-top: 44px; scroll-margin-top: 120px; }
.menu__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 6vw, 38px);
  letter-spacing: 0.04em;
  color: var(--cream);
  margin: 0 0 20px;
  text-transform: uppercase;
}
.menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dish--mobile-large { grid-column: 1 / -1; }
.dish--mobile-large .dish__photo { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .menu__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .dish--mobile-large { grid-column: auto; }
  .dish--mobile-large .dish__photo { aspect-ratio: 4 / 3; }
}
.dish {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.dish:hover {
  border-left-color: var(--saffron);
  background: var(--surface-raised);
  transform: translateY(-2px);
}
.dish__media { position: relative; cursor: pointer; }
.dish__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--sumac);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  z-index: 2;
}
.dish__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--charcoal);
  transition: transform 0.25s ease;
}
.dish__media:hover .dish__photo { transform: scale(1.03); }
.dish__photo.is-loading {
  background: linear-gradient(90deg, var(--charcoal) 0%, var(--surface-raised) 50%, var(--charcoal) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.dish__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--cream-muted);
}
.dish__body {
  padding: 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dish__category {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(201, 169, 110, 0.65);
}
.dish__info { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dish__price {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: rgba(201, 169, 110, 0.9);
}
.dish__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin: 2px 0 0;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}
.dish__desc {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(243, 233, 214, 0.35);
  line-height: 1.4;
  margin: 3px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 9px 0 8px;
}
.dish__add {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: rgba(201, 169, 110, 0.85);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.dish__add:hover { background: rgba(201, 169, 110, 0.85); color: var(--charcoal); border-color: rgba(201, 169, 110, 0.85); }
.dish__add:focus-visible { outline: 2px solid var(--saffron-soft); outline-offset: 2px; }
.dish__add.is-added { background: linear-gradient(135deg, var(--sumac), #8a3038); color: var(--cream); }

.dish__stepper {
  flex: 0 0 auto;
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--charcoal);
  border: 1px solid var(--saffron);
  border-radius: 999px;
  overflow: hidden;
}
.dish__stepper.is-visible { display: flex; }
.dish__stepper-btn {
  background: transparent;
  border: none;
  color: var(--saffron-soft);
  font-size: 15px;
  font-weight: 700;
  width: 28px;
  height: 28px;
  cursor: pointer;
  line-height: 1;
}
.dish__stepper-btn:hover { background: var(--saffron); color: var(--charcoal); }
.dish__stepper-qty {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--cream);
  min-width: 16px;
  text-align: center;
}

/* ---------- Gallery (mosaic) ---------- */
.gallery {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 10px;
}
.gallery__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 5vw, 32px);
  color: var(--cream);
  margin: 0 0 18px;
  text-align: center;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 90px;
  gap: 8px;
}
.gallery__item { border-radius: 10px; overflow: hidden; background: var(--surface); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__item--0 { grid-row: span 3; grid-column: span 1; }
.gallery__item--1 { grid-row: span 2; grid-column: span 1; }
.gallery__item--2 { grid-row: span 3; grid-column: span 2; }
.gallery__item--3 { grid-row: span 2; grid-column: span 1; }
@media (max-width: 560px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
  .gallery__item--2 { grid-column: span 2; }
}

/* ---------- About section ---------- */
.about-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  scroll-margin-top: 90px;
}
.section-eyebrow {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(201, 169, 110, 0.75);
  margin-bottom: 14px;
}
.section-gold-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.55), transparent);
  margin: 16px auto 24px;
}
.about-section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 5vw, 36px);
  color: var(--cream);
  margin: 0;
}
.about-section__text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--cream-muted);
  margin: 0;
}

/* ---------- Map section ---------- */
.map-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 48px;
  scroll-margin-top: 90px;
}
.map-section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 5vw, 34px);
  color: var(--cream);
  margin: 0;
  text-align: center;
}
.map-section__address {
  text-align: center;
  color: var(--saffron-soft);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 22px;
}
.map-section__frame {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 44px);
  max-width: 1800px;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: none;
}
.map-section__frame iframe { width: 100%; height: 100%; border: none; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 20px 32px;
  color: var(--cream-muted);
  font-size: 13px;
  scroll-margin-top: 40px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 700px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.site-footer__brand-text { font-size: 12.5px; line-height: 1.6; color: var(--cream-muted); opacity: 0.7; margin: 14px 0 0; max-width: 260px; }
.site-footer__col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(201, 169, 110, 0.8);
  margin: 0 0 18px;
}
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer__links li { font-size: 13px; color: var(--cream-muted); opacity: 0.75; }
.site-footer__links a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.site-footer__links a:hover { color: var(--saffron-soft); }
.site-footer__links--info li { display: flex; align-items: flex-start; gap: 8px; }
.site-footer__links--info a { color: var(--saffron-soft); text-decoration: none; }
.site-footer__socials { display: flex; gap: 12px; }
.site-footer__social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-muted);
  text-decoration: none;
  font-size: 15px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.site-footer__social-icon .icon { width: 17px; height: 17px; }
.site-footer__social-icon:hover { border-color: rgba(201, 169, 110, 0.5); color: var(--saffron-soft); }
.site-footer__bottom { text-align: center; padding-top: 24px; font-size: 11.5px; opacity: 0.4; letter-spacing: 0.05em; }
.icon { display: inline-block; fill: none; stroke: currentColor; }
.icon--sm { width: 14px; height: 14px; vertical-align: -2px; }
.icon--lg { width: 34px; height: 34px; }
.icon--telegram { width: 22px; height: 22px; border-radius: 50%; }
.icon--telegram-lg { width: 26px; height: 26px; border-radius: 50%; }

/* ---------- Floating Telegram button ---------- */
.floating-tg {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #29A9EA;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 20;
  transition: transform 0.15s ease;
}
.floating-tg:hover { transform: scale(1.06); }

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--charcoal);
  border: none;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}
.floating-cart {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  align-items: center;
  gap: 10px;
  background: var(--saffron);
  color: var(--charcoal);
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 21;
}
.floating-cart.is-visible { display: flex; }
.floating-cart__count {
  background: var(--charcoal);
  color: var(--cream);
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  padding: 0 5px;
}
@media (min-width: 900px) {
  .floating-cart { display: none !important; }
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--saffron-soft); }

/* ---------- Cart & checkout ---------- */
.cart-overlay, .modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 40;
}
.cart-overlay.is-open, .modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 50;
  display: flex;
  flex-direction: column;
}
.cart.is-open { transform: translateX(0); }
.cart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.cart__header h2 { font-family: var(--font-display); font-size: 19px; margin: 0; }
.cart__close, .modal__close {
  background: none;
  border: none;
  color: var(--cream-muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.cart__close:hover, .modal__close:hover { color: var(--cream); }
.cart__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart__empty { text-align: center; padding: 30px 10px 10px; }
.cart__empty-art { width: 100px; height: auto; margin: 0 auto 14px; display: block; }
.cart__empty-text { color: var(--cream-muted); font-size: 13.5px; margin: 0; }
.cart__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cart__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cart__item-name { font-size: 14px; font-weight: 500; }
.cart__item-price { font-size: 12.5px; color: var(--cream-muted); }
.cart__item-controls { display: flex; align-items: center; gap: 8px; }
.cart__qty-btn {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--charcoal);
  color: var(--cream);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.cart__qty-btn:hover { border-color: var(--saffron); }
.cart__footer {
  padding: 18px 20px 22px;
  border-top: 1px solid var(--border);
}
.cart__total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 8px;
}
.cart__delivery-note {
  font-size: 12px;
  color: var(--sumac);
  margin: 0 0 10px;
  min-height: 0;
}
.cart__checkout {
  width: 100%;
  background: var(--saffron);
  color: var(--charcoal);
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cart__checkout:hover { background: var(--saffron-soft); }
.cart__checkout:disabled { opacity: 0.4; cursor: not-allowed; }

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  width: min(440px, calc(100% - 32px));
  max-height: 85vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 28px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 60;
}
.modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.modal__header h2 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 0; }
.modal__form { display: flex; flex-direction: column; gap: 16px; }

.order-type {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 2px;
}
.order-type__btn {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 4px;
  color: var(--cream-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.order-type__btn:hover { border-color: var(--saffron); transform: translateY(-1px); }
.order-type__btn.is-active { background: var(--saffron); border-color: var(--saffron); color: var(--charcoal); box-shadow: 0 4px 12px rgba(222, 159, 53, 0.3); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 12px; color: var(--cream-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.field__input {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.15s ease;
}
.field__input:focus-visible { outline: none; border-color: var(--saffron); }
.field__input--area { resize: vertical; font-family: var(--font-body); }
.field__quick-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  background: transparent;
  border: 1.5px solid rgba(201, 169, 110, 0.75);
  color: rgba(201, 169, 110, 1);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.field__quick-btn:hover { background: rgba(201, 169, 110, 0.9); color: var(--charcoal); border-color: rgba(201, 169, 110, 0.9); }
.modal__note { font-size: 12.5px; color: var(--cream-muted); margin: -4px 0 2px; }
.modal__delivery-warning {
  font-size: 12.5px;
  color: var(--sumac);
  font-weight: 600;
  margin: -6px 0 2px;
  display: none;
}
.modal__delivery-warning.is-visible { display: block; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  margin: -2px 0 2px;
}
.privacy-check input {
  margin-top: 3px;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  accent-color: var(--saffron);
  cursor: pointer;
}
.privacy-check span {
  font-size: 11.5px;
  color: var(--cream-muted);
  line-height: 1.5;
}
.modal__submit {
  background: var(--saffron);
  color: var(--charcoal);
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.modal__submit:hover { background: var(--saffron-soft); }
.modal__submit:disabled { opacity: 0.4; cursor: not-allowed; }
.modal__success { display: none; text-align: center; padding: 10px 4px; }
.modal__success.is-visible { display: block; }
.modal__success-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--saffron-soft);
  margin: 0 0 8px;
}
.modal__success-order-id {
  font-size: 13px;
  color: var(--cream-muted);
  margin: 0 0 16px;
}
.modal__success-items {
  list-style: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--charcoal);
  border-radius: 10px;
  text-align: left;
  font-size: 13.5px;
}
.modal__success-items li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--cream);
}
.modal__success-text { color: var(--cream-muted); font-size: 14px; margin: 0 0 18px; }
.modal__telegram-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #29A9EA;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 12px;
  transition: filter 0.15s ease;
}
.modal__telegram-btn:hover { filter: brightness(1.08); }
.modal__cancel-btn {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(166, 61, 69, 0.5);
  color: rgba(220, 130, 130, 0.9);
  border-radius: 10px;
  padding: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background 0.15s ease;
}
.modal__cancel-btn.is-visible { display: flex; }
.modal__cancel-btn:hover { background: rgba(166, 61, 69, 0.12); }
.modal__cancel-btn:disabled { opacity: 0.4; cursor: not-allowed; }
#cancelCountdown { font-variant-numeric: tabular-nums; opacity: 0.75; }

/* ---------- Scroll reveal (ظهور تدريجي عند التمرير) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Dish detail modal (opens on photo click) ---------- */
.detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 55;
}
.detail-overlay.is-open { opacity: 1; pointer-events: auto; }
.detail-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  width: min(820px, calc(100% - 32px));
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 65;
  display: flex;
}
.detail-modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.detail-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(10, 8, 6, 0.5);
  color: var(--cream);
  border: none;
  font-size: 15px;
  cursor: pointer;
  z-index: 2;
}
.detail-modal__close:hover { background: rgba(10, 8, 6, 0.75); }
.detail-modal__media {
  flex: 0 0 55%;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  background-color: var(--charcoal);
}
.detail-modal__info { flex: 1; padding: 28px 30px; min-width: 0; }
.detail-modal__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--cream);
  margin: 0 0 10px;
}
.detail-modal__price {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--saffron-soft);
  margin-bottom: 16px;
}
.detail-modal__desc { font-size: 13.5px; color: var(--cream-muted); line-height: 1.6; margin: 0; }

@media (max-width: 600px) {
  .detail-modal { flex-direction: column; width: min(420px, calc(100% - 32px)); }
  .detail-modal__media { flex: 0 0 auto; aspect-ratio: 16 / 9; }
}

/* ---------- نافذة "Зона доставки" (خريطة + دائرة نطاق التوصيل) ---------- */
.delivery-zone-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  width: min(560px, calc(100% - 32px));
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 65;
}
.delivery-zone-modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.delivery-zone-modal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  color: var(--cream);
  margin: 0 0 8px;
}
.delivery-zone-modal__text { font-size: 13.5px; color: var(--cream-muted); margin: 0 0 16px; line-height: 1.5; }
.delivery-zone-modal__map {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.delivery-zone-modal__map iframe { width: 100%; height: 100%; border: none; pointer-events: none; }
.delivery-zone-modal__circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(222, 159, 53, 0.18);
  border: 2px solid rgba(222, 159, 53, 0.7);
  pointer-events: none;
}

@media (max-width: 480px) {
  .hero { padding: 34px 16px 26px; }
  .dish__body { padding: 10px 12px; }
  .site-nav__links { gap: 12px; }
  .site-nav__link { font-size: 12px; }
}

/* ---------- Mobile nav: روابط تختفي خلف قائمة همبرغر ---------- */
@media (max-width: 720px) {
  .cat-nav { flex-wrap: wrap; padding: 12px 16px; }
  .cat-nav__scroll { flex: 1 1 100%; order: 1; }
  .cat-nav__address { order: 2; flex: 0 0 auto; margin-top: 8px; font-size: 12px; padding: 9px 16px; }
}
@media (max-width: 720px) {
  .site-nav__inner { position: relative; }
  .nav-toggle { display: flex; order: 1; }
  .site-nav__brand { order: 2; flex: 1; justify-content: center; }
  .cart-toggle { order: 3; }
  .site-nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, 78vw);
    background: var(--surface);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 34;
    overflow-x: visible;
  }
  .site-nav__links.is-open { transform: translateX(0); }
  .site-nav__link { font-size: 15px; }
}

/* ---------- Desktop: تخطيط الفئة (عنوان يسار + أول صنفين كبار) ---------- */
@media (min-width: 900px) {
  .menu__section {
    display: flex;
    align-items: flex-start;
    gap: 28px;
  }
  .menu__title {
    flex: 0 0 190px;
    margin: 0;
    position: sticky;
    top: 130px;
  }
  .menu__grid {
    flex: 1;
    grid-template-columns: repeat(4, 1fr);
  }
  .dish--large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .dish--large .dish__photo { aspect-ratio: 16 / 10; }
  .dish--large .dish__name { font-size: 21px; }
  .dish--large .dish__price { font-size: 20px; }
}

/* ---------- تكبير نصوص الفوتر (حاسوب) — لازم تجي هون، بعد كل التعريفات
   الأساسية اللي فوق، وإلا القاعدة الأساسية بتفوز بترتيب الملف رغم تساوي القوة ---------- */
@media (min-width: 900px) {
  .site-footer__links li { font-size: 14px; }
  .site-footer__brand-text { font-size: 13px; }
  .icon--telegram { width: 25px; height: 25px; }
  .site-footer__social-icon { width: 42px; height: 42px; }
}

/* ---------- البانر أوسع بالحاسوب بس (الموبايل يضل بعرضه الأصلي بدون تغيير) ---------- */
@media (min-width: 900px) {
  .carousel {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 60px);
    max-width: 2000px;
    padding: 0;
    margin-top: 16px;
  }
  .carousel__inner { border-radius: 22px; }
}
