/* ══════════════════════════════════════════════
   GRAND CUISINE · Электронное QR-меню
   Mobile-first · Luxury Dark Restaurant UI
══════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* ─── DESIGN TOKENS ─── */
:root {
  --cream:      #F2E2C4;
  --cream-soft: #FFF1D2;
  --green:      #0F6B4A;
  --green-soft: #145C43;
  --dark:       #173428;
  --dark-2:     #1C3E31;
  --black:      #132921;
  --bg-deep:    #10231C;
  --white:      #FFFFFF;

  /* Semantic */
  --text-1:    #F7F3E8;
  --text-2:    #A9B4AE;
  --text-3:    rgba(169,180,174,.46);
  --surface-1: #173428;
  --surface-2: #1C3E31;
  --border:        rgba(210,244,220,.14);
  --border-2:      rgba(210,244,220,.26);
  --border-soft:   rgba(210,244,220,.14);
  --border-strong: rgba(210,244,220,.26);

  /* Layout */
  --header-h:   68px;
  --nav-h:      72px;
  --bar-h:      52px;

  /* Radii */
  --r-s:  8px;
  --r-m:  14px;
  --r-l:  20px;
  --r-xl: 28px;
  --r-2xl:36px;

  /* Transitions */
  --ease:       cubic-bezier(.4,0,.2,1);
  --ease-out:   cubic-bezier(0,.5,.2,1);
  --ease-spring:cubic-bezier(.34,1.56,.64,1);
  --t:          160ms;
  --t-m:        280ms;
}

/* ─── BASE ─── */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--text-1);
  min-height: 100dvh;
  padding-top: var(--header-h);
  padding-bottom: calc(var(--nav-h) + 8px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-bar  { padding-bottom: calc(var(--nav-h) + var(--bar-h) + 4px); }
body.no-scroll{ overflow: hidden; }

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

[hidden] { display: none !important; }
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }


/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(16,35,28,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 100;
}

.header__logo {
  height: 32px;
  width: auto;
  flex-shrink: 0;
}

.header__actions { display: flex; align-items: center; gap: 2px; }

.header__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 6px;
  white-space: nowrap;
}

.header__meta-ico {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--text-2);
  opacity: 0.7;
}

.header__meta-hours {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  opacity: 0.75;
  letter-spacing: 0.02em;
}

/* ─── ICON BTN ─── */
.icon-btn {
  width: 42px; height: 42px;
  border-radius: var(--r-m);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  flex-shrink: 0;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover  { background: rgba(242,226,196,.07); color: var(--cream); }
.icon-btn:active { background: rgba(242,226,196,.12); color: var(--cream); transform: scale(.95); }


/* ══════════════════════════════════════════════
   HERO / PROMO CAROUSEL
══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.promo-carousel {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.promo-slides {
  display: flex;
  height: 100%;
  transition: transform .52s var(--ease);
  will-change: transform;
}

.promo-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.promo-slide__bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
}
.promo-slide__bg--fallback {
  background: linear-gradient(145deg, #173428 0%, #1C3E31 60%, #132921 100%);
}

.promo-slide__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .60;
}

.promo-slide__fade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(19,41,33,.05) 0%,
    rgba(23,52,41,.40) 35%,
    rgba(19,41,33,.88) 100%
  );
}

.promo-slide__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 20px 32px;
}

.promo-slide__badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(15,107,74,.55);
  border: 1px solid rgba(15,107,74,.85);
  color: rgba(242,226,196,.9);
  margin-bottom: 6px;
}

.promo-slide__badge--new {
  background: rgba(242,226,196,.09);
  border-color: rgba(242,226,196,.30);
  color: var(--cream);
}

.promo-slide__badge--gift {
  background: rgba(255,191,100,.08);
  border-color: rgba(255,191,100,.30);
  color: #FFDFAA;
}

.promo-slide__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.16;
  color: var(--text-1);
  margin-bottom: 6px;
}

.promo-slide__sub {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(169,180,174,.85);
}

.promo-dots {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
}

.promo-dot {
  width: 6px; height: 6px;
  border-radius: 100px;
  background: rgba(255,255,255,.28);
  transition: width var(--t-m) var(--ease), background var(--t-m) var(--ease);
  cursor: pointer;
  padding: 0;
}

.promo-dot.is-active {
  width: 22px;
  background: var(--cream);
}


/* ══════════════════════════════════════════════
   SEARCH OVERLAY
══════════════════════════════════════════════ */
.search-overlay {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 150;
  background: rgba(16,35,28,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px 14px;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s var(--ease-out), opacity .22s var(--ease);
}

.search-overlay.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.search-overlay__row {
  display: flex;
  align-items: center;
  height: 52px;
  background: var(--surface-1);
  border: 1px solid var(--border-2);
  border-radius: var(--r-l);
}

.search-overlay__ico {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin: 0 4px 0 16px;
  color: var(--text-3);
  pointer-events: none;
}

.search-overlay__field {
  flex: 1;
  height: 100%;
  padding: 0 8px;
  background: none;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-1);
}
.search-overlay__field::placeholder { color: var(--text-3); }
.search-overlay__field::-webkit-search-cancel-button { display: none; }

.search-overlay__close {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  border-radius: var(--r-m);
  margin-right: 3px;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.search-overlay__close svg { width: 18px; height: 18px; }
.search-overlay__close:active {
  color: var(--cream);
  background: rgba(242,226,196,.08);
}


/* ══════════════════════════════════════════════
   CATEGORIES — STICKY
══════════════════════════════════════════════ */
.cats {
  position: sticky;
  top: var(--header-h);
  background: var(--black);
  z-index: 50;
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--border);
}

.cats__row {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  overflow-x: auto;
}

.cat-pill {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: all var(--t) var(--ease);
}
.cat-pill:active { transform: scale(.95); }
.cat-pill.is-active {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
  font-weight: 600;
}


/* ══════════════════════════════════════════════
   SECTION HEAD
══════════════════════════════════════════════ */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
}

.section-head__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-head__back {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-1);
  flex-shrink: 0;
  transition: background var(--t) var(--ease);
}
.section-head__back svg { width: 18px; height: 18px; }
.section-head__back:active { background: var(--border-2); }

.section-head__label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-1);
}

.section-head__count {
  font-size: 12px;
  color: var(--text-3);
}


/* ══════════════════════════════════════════════
   CATEGORIES SCREEN
══════════════════════════════════════════════ */
#cats-screen {
  padding: 20px 16px 24px;
  animation: fadeIn .22s var(--ease);
}

.cats-screen__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.cats-screen__back {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--t) var(--ease);
}
.cats-screen__back:active {
  background: rgba(210,244,220,.10);
}
.cats-screen__back svg {
  width: 18px;
  height: 18px;
}

.cats-screen__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
}

.cats-screen__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cat-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.cat-card:active {
  background: var(--surface-2);
  transform: scale(.97);
}

.cat-card__ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(15,107,74,.15);
  border: 1px solid rgba(15,107,74,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.cat-card__ico svg { width: 22px; height: 22px; }

.cat-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 2px;
}

.cat-card__count {
  font-size: 12px;
  color: var(--text-2);
}


/* ══════════════════════════════════════════════
   ACCOUNT SCREEN
══════════════════════════════════════════════ */
#account-screen {
  padding: 20px 0 40px;
  animation: fadeIn .22s var(--ease);
}

.screen-page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  margin-bottom: 4px;
}
.screen-page-head__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
}

/* ── Header (avatar / table badge) ── */
.account-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 16px 20px;
  text-align: center;
}

.account-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(15,107,74,.14);
  border: 1px solid rgba(15,107,74,.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: 14px;
}
.account-avatar svg { width: 34px; height: 34px; }

.account-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
}
.account-subtitle { font-size: 13px; color: var(--text-2); }

/* Table badge (table mode header) */
.account-table-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 14px 18px;
  text-align: left;
}

.account-table-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(15,107,74,.14);
  border: 1px solid rgba(15,107,74,.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.account-table-ico svg { width: 20px; height: 20px; }

.account-table-label { font-size: 12px; color: var(--text-3); margin-bottom: 3px; }
.account-table-num   { font-size: 18px; font-weight: 700; color: var(--cream); letter-spacing: -.01em; }

/* ── Sections ── */
.account-section { padding: 0 16px 16px; }

.account-section-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Waiter card */
.account-waiter-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-1);
  border-radius: var(--r-m);
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.account-waiter-photo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-2);
}

.account-waiter-photo--fallback {
  background: rgba(15,107,74,.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.account-waiter-photo--fallback svg { width: 24px; height: 24px; }

.account-waiter-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 2px;
}
.account-waiter-card__role {
  font-size: 12px;
  color: var(--text-3);
}

/* Call-waiter button */
.account-waiter-btn {
  width: 100%; height: 52px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  border-radius: var(--r-m);
  background: rgba(242,226,196,.06);
  border: 1px solid var(--border-2);
  color: var(--cream);
  font-size: 15px; font-weight: 500;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.account-waiter-btn:active { background: rgba(242,226,196,.11); transform: scale(.98); }

/* Info list (restaurant details) */
.account-info-list {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  overflow: hidden;
}

.account-info-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}
.account-info-row:last-child { border-bottom: none; }

.account-info-ico {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(19,41,33,.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  flex-shrink: 0;
}
.account-info-ico svg { width: 16px; height: 16px; }

.account-info-body { display: flex; flex-direction: column; gap: 2px; }
.account-info-key  { font-size: 11px; color: var(--text-3); }
.account-info-val  { font-size: 14px; font-weight: 500; color: var(--text-1); }

/* WiFi block */
.account-wifi {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  overflow: hidden;
}
.account-wifi-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.account-wifi-row:last-child { border-bottom: none; }
.account-wifi-key { color: var(--text-2); }
.account-wifi-val {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-weight: 600; color: var(--text-1); letter-spacing: .02em;
}

/* Save button (delivery mode) */
.account-save-btn {
  width: 100%; height: 52px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-m);
  font-size: 15px; font-weight: 600;
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.account-save-btn:active { background: var(--green-soft); transform: scale(.98); }

/* Footer */
.account-footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  padding: 20px 16px 0;
  letter-spacing: .04em;
}


/* ══════════════════════════════════════════════
   DISHES GRID
══════════════════════════════════════════════ */
.dishes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px 16px;
}


/* ══════════════════════════════════════════════
   DISH CARD
══════════════════════════════════════════════ */
.dish-card {
  background: var(--surface-1);
  border-radius: var(--r-l);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  animation: cardIn .38s var(--ease) both;
  transition: transform var(--t) var(--ease);
}
.dish-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-l);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(242,226,196,.40) 0%,
    rgba(15,107,74,.28)   50%,
    rgba(242,226,196,.12) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.dish-card:active { transform: scale(.976); }

/* Image block */
.dish-card__img-wrap {
  position: relative;
  height: 120px;
  overflow: hidden;
  background: linear-gradient(135deg, #173428, #132921);
  flex-shrink: 0;
}

.dish-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.dish-card:hover .dish-card__img { transform: scale(1.06); }

.dish-card__img-wrap--fallback {
  background: #19372B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.dish-card__img-wrap--fallback::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9B4AE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .35;
}
.dish-card__img-wrap--fallback::after {
  content: 'Нет фото';
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: Inter, sans-serif;
}

.dish-card__badge {
  position: absolute;
  top: 8px; right: 8px;
  height: 20px;
  padding: 0 7px;
  border-radius: 100px;
  background: var(--green);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  display: flex; align-items: center;
}

/* Body */
.dish-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 10px;
  gap: 3px;
}

.dish-card__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--text-1);
}

.dish-card__desc {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dish-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 4px;
}

.dish-card__meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 400;
  color: var(--text-3);
  background: none;
  border: none;
  padding: 0 4px 0 0;
  letter-spacing: .01em;
  line-height: 1.4;
}
.dish-meta__icon {
  width: 11px; height: 11px;
  flex-shrink: 0;
  display: block;
  opacity: .6;
}

/* Footer */
.dish-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.dish-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -.01em;
}

/* "В заказ" button */
.dish-card__add {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease), opacity var(--t) var(--ease);
}
.dish-card__add:active { transform: scale(.94); opacity: .85; }

.dish-card__add--selected {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
  opacity: .8;
}
.dish-card__add--selected:active { background: rgba(62,160,100,.12); transform: scale(.94); opacity: 1; }

/* Counter */
.dish-counter {
  display: flex;
  align-items: center;
  background: rgba(19,41,33,.9);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.dish-counter__btn {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1;
  transition: background var(--t) var(--ease);
}
.dish-counter__btn:active { background: rgba(242,226,196,.10); }

.dish-counter__num {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  pointer-events: none;
}


/* ══════════════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════════════ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 24px 80px;
  gap: 11px;
  animation: fadeIn .3s var(--ease);
}

.empty-state__ico {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--surface-1);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  margin-bottom: 4px;
}
.empty-state__ico svg { width: 24px; height: 24px; }
.empty-state__title { font-size: 16px; font-weight: 500; color: var(--text-2); }
.empty-state__hint  { font-size: 13px; line-height: 1.5; color: var(--text-3); }


/* ══════════════════════════════════════════════
   CART BAR
══════════════════════════════════════════════ */
.cart-bar {
  position: fixed;
  bottom: var(--nav-h);
  left: 0; right: 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  z-index: 90;
  animation: slideUp .28s var(--ease-out);
}

.cart-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--bar-h);
  padding: 0 16px;
  cursor: pointer;
}
.cart-bar__inner:active .cart-bar__info { opacity: .7; }

.cart-bar__info {
  display: flex; align-items: center; gap: 10px;
  flex: 1; min-width: 0; overflow: hidden;
}
.cart-bar__info-item {
  display: flex; align-items: center; gap: 5px;
  flex-shrink: 0;
}
.cart-bar__ico {
  flex-shrink: 0;
  opacity: .6;
  color: var(--cream);
}
.cart-bar__count { font-size: 12px; font-weight: 500; color: rgba(242,226,196,.65); white-space: nowrap; }
.cart-bar__sum   { font-size: 15px; font-weight: 700; color: var(--cream); letter-spacing: -.01em; white-space: nowrap; }

.cart-bar__actions {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

@keyframes cartArrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(-50%);         opacity: .6; }
  50%       { transform: translateX(-50%) translateY(calc(-50% + 5px)); opacity: 1;  }
}

.cart-bar__arrow {
  position: absolute;
  left: 62.5%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: var(--green);
  display: flex;
  align-items: center;
  pointer-events: none;
  animation: cartArrowBounce 1.2s ease-in-out infinite;
}

.cart-bar__close {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(169,180,174,.65);
  background: rgba(169,180,174,.09);
  flex-shrink: 0;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.cart-bar__close:active { color: var(--text-2); background: rgba(169,180,174,.2); }


/* ══════════════════════════════════════════════
   PORTION MODAL
══════════════════════════════════════════════ */
.portion-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
}
.portion-modal__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
}
.portion-modal__dish {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px 20px;
}
.portion-modal__img {
  width: 68px; height: 68px;
  border-radius: var(--r-m);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-3);
}
.portion-modal__dish-info { flex: 1; min-width: 0; }
.portion-modal__dish-name {
  font-size: 15px; font-weight: 600; color: var(--cream);
  margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.portion-modal__dish-base { font-size: 13px; color: var(--text-3); }

.portion-modal__opts {
  display: flex;
  gap: 10px;
  padding: 0 20px 20px;
}
.portion-opt {
  flex: 1;
  height: 52px;
  border-radius: var(--r-m);
  border: 1.5px solid var(--border);
  background: var(--surface-3);
  color: var(--text-2);
  font-size: 13px; font-weight: 500;
  white-space: nowrap;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.portion-opt.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  font-weight: 600;
}
.portion-opt:active:not(.is-active) { background: rgba(169,180,174,.08); }

.portion-modal__foot { padding: 0 20px 32px; }
.portion-modal__total-row {
  font-size: 14px; font-weight: 600;
  color: var(--cream);
  margin-bottom: 14px;
  opacity: .85;
}

/* ══════════════════════════════════════════════
   OVERLAY
══════════════════════════════════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(19,41,33,.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn .2s var(--ease);
}

.overlay--center { align-items: center; padding: 24px; }


/* ══════════════════════════════════════════════
   SHEET  (shared: cart + info)
══════════════════════════════════════════════ */
.sheet {
  width: 100%;
  max-width: 480px;
  max-height: 90dvh;
  background: var(--surface-2);
  border-top-left-radius:  var(--r-2xl);
  border-top-right-radius: var(--r-2xl);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  animation: sheetUp .34s cubic-bezier(.32,.72,0,1);
}

.sheet__pull {
  width: 36px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.12);
  margin: 12px auto 0;
  flex-shrink: 0;
}

.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.sheet__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-1);
}

.sheet__subtitle {
  font-size: 12px;
  color: var(--cream);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.sheet__body {
  flex: 1;
  overflow-y: auto;
}


/* ── CART ITEMS ── */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(210,244,220,.08);
}
.cart-item:last-child { border-bottom: none; }

.cart-item__img {
  width: 58px; height: 58px;
  border-radius: var(--r-m);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--dark);
}

.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name  {
  font-size: 14px; font-weight: 500; color: var(--text-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.cart-item__price { font-size: 13px; font-weight: 600; color: var(--cream); }

.cart-item__ctrl {
  display: flex; align-items: center;
  background: rgba(19,41,33,.9);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item__ctrl .dish-counter__btn { width: 34px; height: 34px; }
.cart-item__ctrl .dish-counter__num { min-width: 26px; }

/* ── CART EMPTY ── */
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 48px 20px 36px;
  gap: 10px;
}
.cart-empty__ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(19,41,33,.8);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  margin-bottom: 4px;
}
.cart-empty__ico svg { width: 24px; height: 24px; }
.cart-empty__text { font-size: 15px; font-weight: 500; color: var(--text-2); }
.cart-empty__hint { font-size: 13px; color: var(--text-3); }



/* ══════════════════════════════════════════════
   DELIVERY FORM
══════════════════════════════════════════════ */
.delivery-section {
  flex-shrink: 0;
  padding: 14px 20px 12px;
  border-top: 1px solid var(--border);
}

.delivery-section__title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.delivery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-group { margin-bottom: 10px; }
.form-group:last-child { margin-bottom: 0; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  height: 44px;
  background: rgba(19,41,33,.6);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 0 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t) var(--ease);
}
.form-input::placeholder { color: var(--text-3); }
.form-input:focus { border-color: var(--border-2); }
.form-input.is-error { border-color: rgba(210,70,70,.6); }

.form-error {
  display: block;
  font-size: 11px;
  color: rgba(210,80,80,.9);
  margin-top: 4px;
}
.form-error:empty { display: none; }


/* ── TOTAL + ORDER BTN ── */
.sheet__foot {
  flex-shrink: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.total-row__label { font-size: 14px; color: var(--text-2); }
.total-row__val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--cream);
}

.btn-order {
  width: 100%; height: 56px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-m);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn-order:active { background: var(--green-soft); transform: scale(.98); }
.btn-order--danger { background: #6B2929; }
.btn-order--danger:active { background: #5A2020; transform: scale(.98); }


/* ══════════════════════════════════════════════
   INFO SHEET
══════════════════════════════════════════════ */
.info-body { padding: 8px 0 24px; }

.info-table-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

.info-table-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(15,107,74,.15);
  border: 1px solid rgba(15,107,74,.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.info-table-ico svg { width: 20px; height: 20px; }

.info-table-label { font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
.info-table-val   { font-size: 17px; font-weight: 600; color: var(--cream); }

.info-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 20px;
}

.info-list { padding: 8px 0; }

.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
}

.info-row__ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(19,41,33,.9);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  flex-shrink: 0;
}
.info-row__ico svg { width: 17px; height: 17px; }

.info-row__body { display: flex; flex-direction: column; gap: 2px; }
.info-row__key  { font-size: 11px; color: var(--text-3); letter-spacing: .04em; }
.info-row__val  { font-size: 14px; font-weight: 500; color: var(--text-1); }

/* WiFi */
.wifi-block {
  margin: 4px 20px;
  background: rgba(16,38,30,.6);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 14px 16px;
}

.wifi-block__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}

.wifi-block__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-2);
  border-top: 1px solid var(--border);
}
.wifi-block__row:first-of-type { border-top: none; }

.wifi-block__code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: .02em;
}

/* Call waiter */
.btn-waiter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 40px);
  margin: 12px 20px 0;
  height: 52px;
  border-radius: var(--r-m);
  background: rgba(242,226,196,.06);
  border: 1px solid var(--border-2);
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn-waiter:active { background: rgba(242,226,196,.11); transform: scale(.98); }

.info-footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  padding: 16px 0 0;
  letter-spacing: .04em;
}


/* ══════════════════════════════════════════════
   SUCCESS CARD
══════════════════════════════════════════════ */
.success-card {
  background: var(--surface-2);
  border: 1px solid rgba(15,107,74,.22);
  border-radius: var(--r-2xl);
  padding: 44px 28px 36px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  animation: scaleIn .42s var(--ease-spring);
}

.success-card__ring {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 14px rgba(15,107,74,.10);
  animation: ringPulse .6s var(--ease-spring) .1s both;
}
.success-card__ring svg { width: 34px; height: 34px; color: var(--white); }

.success-card__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.success-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 14px;
}

.success-card__table-badge {
  display: inline-flex;
  height: 30px;
  padding: 0 14px;
  border-radius: 100px;
  background: rgba(242,226,196,.08);
  border: 1px solid var(--border-2);
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: .03em;
  margin-bottom: 16px;
}

.success-card__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 28px;
}

.success-card__btn {
  width: 100%; height: 52px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-m);
  font-size: 16px;
  font-weight: 600;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.success-card__btn:active { background: var(--green-soft); transform: scale(.97); }


/* ══════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════ */
.toast {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--green);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  max-width: 88vw;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15,107,74,.28);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ══════════════════════════════════════════════
   BOTTOM NAV
══════════════════════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: #183D30;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(169,180,174,.35);
  transition: color var(--t) var(--ease);
}
.nav-tab.is-active { color: var(--cream); }

.nav-tab__ico-wrap { position: relative; display: flex; }

.nav-tab__ico { width: 22px; height: 22px; }

.nav-tab__lbl {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
}

.nav-badge {
  position: absolute;
  top: -5px; right: -9px;
  min-width: 17px; height: 17px;
  background: var(--cream);
  color: var(--black);
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}


/* ══════════════════════════════════════════════
   CART SCREEN
══════════════════════════════════════════════ */
#cart-screen {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--header-h) - var(--nav-h) - 8px);
  animation: fadeIn .22s var(--ease);
}


.cart-screen__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  gap: 12px;
}
.cart-screen__head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-screen__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-1);
}

.cart-screen__table-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: rgba(15,107,74,.14);
  border: 1px solid rgba(15,107,74,.22);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Empty state */
.cart-screen__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 32px 40px;
  text-align: center;
  gap: 0;
}

.cart-screen__go-menu {
  margin-top: 22px;
  height: 48px;
  padding: 0 32px;
  border-radius: var(--r-m);
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.cart-screen__go-menu:active { background: var(--green-soft); transform: scale(.97); }

/* Delivery type selector */
.cart-screen__delivery {
  padding: 0 16px 12px;
}
.cart-screen__delivery-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.cart-screen__delivery-opts {
  display: flex;
  gap: 8px;
}
.cart-screen__delivery-opt {
  flex: 1;
  height: 40px;
  border-radius: var(--r-m);
  border: 1px solid var(--border-2);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  transition: all var(--t) var(--ease);
}
.cart-screen__delivery-opt.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.cart-screen__delivery-opt:active { transform: scale(.97); }

/* Items */
.cart-screen__items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-screen__item-list {
  padding: 0 16px;
  border-top: 1px solid var(--border);
}

.cart-screen-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: stretch;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-screen-item:last-child { border-bottom: none; }

.cart-screen-item__remove {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.cart-screen-item__remove:active {
  color: #e05a5a;
  background: rgba(224,90,90,.1);
}

.cart-screen-item__img-wrap {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: #19372B;
  align-self: start;
}
.cart-screen-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-screen-item__img-wrap--fallback {
  background: #19372B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.cart-screen-item__img-wrap--fallback::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9B4AE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .35;
}
.cart-screen-item__img-wrap--fallback::after {
  content: 'Нет фото';
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: Inter, sans-serif;
}

.cart-screen-item__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 64px;
}

.cart-screen-item__row1 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

.cart-screen-item__name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.35;
}

.csi-meta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.csi-meta__item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 400;
}

.csi-meta__icon {
  flex-shrink: 0;
  opacity: .75;
}

.cart-screen-item__row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-screen-item__price {
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
}

.cart-screen-item__ctrl.dish-counter {
  height: 32px;
  border-radius: 999px;
  width: fit-content;
}
.cart-screen-item__ctrl .dish-counter__btn { width: 32px; height: 32px; }
.cart-screen-item__ctrl .dish-counter__num { min-width: 24px; font-size: 13px; font-weight: 600; }

@keyframes bellRing {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(-12deg); }
  30%  { transform: rotate(12deg); }
  45%  { transform: rotate(-8deg); }
  60%  { transform: rotate(8deg); }
  75%  { transform: rotate(-4deg); }
  90%  { transform: rotate(4deg); }
  100% { transform: rotate(0deg); }
}

/* Footer: total + order button */
.cart-screen__foot {
  flex-shrink: 0;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  background: var(--black);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-screen__foot-btns {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 10px;
  width: 100%;
  align-items: stretch;
}
.cart-screen__foot-btns .btn-waiter {
  height: 46px;
  min-height: 46px;
  width: 100%;
  margin: 0;
  border-radius: 18px;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  white-space: nowrap;
}
.cart-screen__foot-btns .btn-waiter:active { background: rgba(242,226,196,.07); color: var(--text-1); }
.cart-screen__foot-btns .btn-waiter:disabled { opacity: .55; pointer-events: none; }
.cart-screen__foot-btns .btn-waiter.calling { color: var(--cream); border-color: var(--cream); }
.cart-screen__foot-btns .btn-waiter.calling .waiter-label { display: none; }
.cart-screen__foot-btns .btn-waiter.calling .waiter-icon {
  animation: bellRing 0.7s ease-in-out infinite;
  transform-origin: top center;
}
.cart-screen__foot-btns .btn-order {
  height: 46px;
  min-height: 46px;
  width: 100%;
  border-radius: 18px;
  font-size: 14px;
  white-space: nowrap;
}
.cart-screen__foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cart-screen__foot-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}
.csf-meta__item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}
.csf-meta__icon {
  flex-shrink: 0;
  opacity: .7;
}
.cart-screen__foot-total {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}
.cart-screen__foot-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}
.cart-screen__foot-price {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
}


/* ══════════════════════════════════════════════
   BOOKING SCREEN
══════════════════════════════════════════════ */
#booking-screen {
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 32px);
  animation: fadeIn .22s var(--ease);
}

.booking-screen__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 4px;
}

.booking-screen__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
}

/* Legend */
.floor-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 16px 4px;
}

.floor-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-2);
}

.floor-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid;
  flex-shrink: 0;
}

.floor-legend__dot.is-free     { border-color: var(--green); background: rgba(15,107,74,.18); }
.floor-legend__dot.is-occupied { border-color: rgba(169,180,174,.25); background: transparent; }
.floor-legend__dot.is-selected { border-color: var(--cream); background: rgba(242,226,196,.18); }

/* Floor plan hint */
.booking-screen__hint {
  font-size: 12px;
  color: var(--text-2);
  padding: 4px 16px 8px;
}

/* Floor map wrapper */
.floor-map-wrap {
  padding: 4px 16px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#floor-svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Visual table (SVG <g> element) */
.vis-table {
  cursor: pointer;
  transition: filter .15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.vis-table:not(.is-occupied):active { filter: brightness(1.15); }
.vis-table.is-occupied { cursor: not-allowed; pointer-events: none; }

.vis-table .vis-num,
.vis-table .vis-info  { user-select: none; pointer-events: none; }

.vis-table .vis-surface,
.vis-table .vis-chair { transition: fill .2s var(--ease), stroke .2s var(--ease); }

/* Free */
.vis-table.is-free .vis-surface {
  fill: rgba(15,107,74,.15);
  stroke: rgba(15,107,74,.65);
  stroke-width: 1.5;
}
.vis-table.is-free .vis-chair { fill: rgba(15,107,74,.38); }
.vis-table.is-free .vis-num   { fill: #F7F3E8; }
.vis-table.is-free .vis-info  { fill: #A9B4AE; }

/* Occupied */
.vis-table.is-occupied .vis-surface {
  fill: rgba(169,180,174,.04);
  stroke: rgba(169,180,174,.18);
  stroke-width: 1.5;
}
.vis-table.is-occupied .vis-chair { fill: rgba(169,180,174,.1); }
.vis-table.is-occupied .vis-num   { fill: rgba(169,180,174,.28); }
.vis-table.is-occupied .vis-info  { fill: rgba(169,180,174,.2); }

/* Selected */
.vis-table.is-selected {
  filter: drop-shadow(0 0 7px rgba(242,226,196,.22));
}
.vis-table.is-selected .vis-surface {
  fill: rgba(242,226,196,.13);
  stroke: #F2E2C4;
  stroke-width: 2;
}
.vis-table.is-selected .vis-chair { fill: rgba(242,226,196,.28); }
.vis-table.is-selected .vis-num   { fill: #F2E2C4; }
.vis-table.is-selected .vis-info  { fill: rgba(242,226,196,.58); }

/* Booking form */
.booking-form {
  margin: 4px 16px 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 20px 16px 24px;
  animation: fadeUp .28s var(--ease);
}

.booking-form__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 14px;
}

.booking-selected-info {
  margin-bottom: 16px;
}

.booking-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15,107,74,.1);
  border: 1px solid rgba(15,107,74,.28);
  border-radius: var(--r-m);
  padding: 10px 14px;
}

.booking-selected__num {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
}

.booking-selected__seats {
  font-size: 12px;
  color: var(--text-2);
}

.booking-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.booking-submit-btn {
  width: 100%;
  height: 50px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-m);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  margin-top: 4px;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.booking-submit-btn:active { background: var(--green-soft); transform: scale(.98); }

/* Booking success */
.booking-success {
  margin: 4px 16px 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 36px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  animation: fadeUp .3s var(--ease);
}

.booking-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(15,107,74,.15);
  border: 1px solid rgba(15,107,74,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 4px;
}
.booking-success__icon svg { width: 28px; height: 28px; }

.booking-success__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
}

.booking-success__note {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 280px;
}

.booking-success__btn {
  height: 44px;
  padding: 0 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  margin-top: 8px;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.booking-success__btn:active { transform: scale(.97); }


/* ══════════════════════════════════════════════
   SIDE DRAWER
══════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19,41,33,.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}
.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: var(--surface-1);
  border-left: 1px solid var(--border);
  z-index: 260;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.32,.72,0,1);
  will-change: transform;
}
.drawer.is-open { transform: translateX(0); }

/* Head */
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer__logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  opacity: .9;
}

/* Nav items */
.drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.drawer__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 62px;
  padding: 0 18px;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  color: var(--text-1);
  transition: background var(--t) var(--ease);
}
.drawer__item:active { background: rgba(242,226,196,.05); }

.drawer__item-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  flex-shrink: 0;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.drawer__item-ico svg { width: 18px; height: 18px; }
.drawer__item:active .drawer__item-ico {
  background: rgba(15,107,74,.2);
  border-color: rgba(15,107,74,.4);
}

.drawer__item-label {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .01em;
}

.drawer__item-arrow {
  width: 16px; height: 16px;
  color: var(--text-3);
  flex-shrink: 0;
}

.drawer__sep {
  height: 1px;
  background: var(--border);
  margin: 6px 18px;
}

/* Footer */
.drawer__footer {
  flex-shrink: 0;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
}

.drawer__footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 3px;
}

.drawer__footer-sub { font-size: 12px; color: var(--text-3); }


/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes sheetUp {
  from { transform: translateY(55%); }
  to   { transform: translateY(0); }
}

@keyframes scaleIn {
  from { transform: scale(.82); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(15,107,74,.35); }
  100% { box-shadow: 0 0 0 14px rgba(15,107,74,.10); }
}

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


/* ══════════════════════════════════════════════
   EVENTS SCREEN
══════════════════════════════════════════════ */
#events-screen {
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 32px);
  animation: fadeIn .22s var(--ease);
}

.events-screen__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 8px;
}

.events-screen__titles {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}

.events-screen__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.2;
}

.events-screen__sub {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
}

/* Events list */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 16px 8px;
}

/* Event card */
.event-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
  animation: cardIn .3s var(--ease) both;
  -webkit-tap-highlight-color: transparent;
}
.event-card:active {
  transform: scale(.985);
  border-color: var(--border-2);
}

.event-card__img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--surface-2);
}
.event-card__img-wrap--fallback { background: linear-gradient(135deg, var(--panel) 0%, var(--panel-soft) 100%); }

.event-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.event-card:active .event-card__img { transform: scale(1.03); }

.event-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--bg);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 20px;
}

.event-card__body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-card__date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
}

.event-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.25;
}

.event-card__desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

.event-card__btn {
  align-self: flex-start;
  margin-top: 6px;
  padding: 9px 20px;
  background: none;
  border: 1px solid var(--border-2);
  border-radius: var(--r-m);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  cursor: pointer;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.event-card__btn:active {
  background: rgba(242,226,196,.08);
  border-color: rgba(210,244,220,.5);
}


/* ══════════════════════════════════════════════
   EVENTS MODAL
══════════════════════════════════════════════ */
.events-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19,41,33,.82);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  animation: fadeIn .22s var(--ease);
}

.events-modal {
  width: 100%;
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--panel);
  border-radius: 20px 20px 0 0;
  animation: slideUp .3s var(--ease);
  overscroll-behavior: contain;
}

.events-modal__img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: 20px 20px 0 0;
}
.events-modal__img-wrap--fallback { background: linear-gradient(135deg, var(--panel) 0%, var(--panel-soft) 100%); }

.events-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.events-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(19,41,33,.65);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
}
.events-modal__close svg { width: 16px; height: 16px; }

.events-modal__body {
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.events-modal__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--bg);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

.events-modal__date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 4px;
}

.events-modal__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.25;
}

.events-modal__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin-top: 4px;
}

.events-modal__cta {
  width: 100%;
  height: 50px;
  margin-top: 12px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-m);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.events-modal__cta:active { background: var(--green-soft); transform: scale(.98); }


/* ══════════════════════════════════════════════
   ABOUT SCREEN
══════════════════════════════════════════════ */
#about-screen {
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 32px);
  animation: fadeIn .22s var(--ease);
}

.about-screen__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 8px;
}

.about-screen__titles {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}

.about-screen__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.2;
}

.about-screen__sub {
  font-size: 12px;
  color: var(--text-2);
}

/* Hero banner */
.about-hero {
  position: relative;
  margin: 4px 16px 0;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
}

.about-hero--fallback {
  background: linear-gradient(135deg, var(--panel) 0%, var(--panel-soft) 100%);
}

.about-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,41,33,.9) 0%, rgba(19,41,33,.18) 55%, transparent 100%);
}

.about-hero__label {
  position: absolute;
  bottom: 16px;
  left: 18px;
}

.about-hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(169,180,174,.75);
  margin-bottom: 4px;
}

.about-hero__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
}

/* About text section */
.about-section {
  margin: 14px 16px 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 18px 16px 20px;
}

.about-section__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.3;
}

.about-section__text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin-top: 10px;
}

/* Generic block wrapper */
.about-block {
  margin: 14px 16px 0;
}

.about-block__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 10px;
}

/* Features grid */
.about-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.about-feature {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 12px 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-feature--wide {
  grid-column: 1 / -1;
}

.about-feature__ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(15,107,74,.12);
  border: 1px solid rgba(15,107,74,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.about-feature__ico svg { width: 16px; height: 16px; }

.about-feature__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.3;
}

/* Photo duo */
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 16px 0;
}

.about-photo-card {
  position: relative;
  height: 130px;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--surface-2);
}

.about-photo-card--fallback {
  background: linear-gradient(135deg, var(--panel) 0%, var(--panel-soft) 100%);
}

.about-photo-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,41,33,.72) 0%, transparent 60%);
}

.about-photo-card__label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  pointer-events: none;
}

/* Guest info list */
.about-guest-items {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  overflow: hidden;
}

.about-guest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}

.about-guest-item:last-child {
  border-bottom: none;
}

.about-guest-item__ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(15,107,74,.1);
  border: 1px solid rgba(15,107,74,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.about-guest-item__ico svg { width: 16px; height: 16px; }

.about-guest-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.about-guest-item__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
}

.about-guest-item__sub {
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════════
   CONTACTS SCREEN
══════════════════════════════════════════════ */
#contacts-screen {
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 32px);
  animation: fadeIn .22s var(--ease);
}

.contacts-screen__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 8px;
}

.contacts-screen__titles {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}

.contacts-screen__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.2;
}

.contacts-screen__sub {
  font-size: 12px;
  color: var(--text-2);
}

/* Map card */
.contacts-map-stub {
  margin: 4px 16px 0;
  border: 1px solid var(--border-2);
  border-radius: var(--r-l);
  overflow: hidden;
}

.contacts-map-frame {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

/* Contacts list */
.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 14px 16px 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  overflow: hidden;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border-bottom: 1px solid var(--border);
}

.contact-card:last-child {
  border-bottom: none;
}

.contact-card__ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(15,107,74,.12);
  border: 1px solid rgba(15,107,74,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-card__ico svg { width: 17px; height: 17px; }

.contact-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-2);
}

.contact-card__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card__sub {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 2px;
}

.contact-card__btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  background: rgba(15,107,74,.13);
  border: 1px solid rgba(15,107,74,.3);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.contact-card__btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.contact-card__btn:active {
  background: rgba(15,107,74,.24);
  border-color: rgba(15,107,74,.55);
}

/* Hours block */
.contacts-hours {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 16px 0;
  padding: 16px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
}

.contacts-hours__ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(242,226,196,.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  flex-shrink: 0;
}

.contacts-hours__ico svg { width: 17px; height: 17px; }

.contacts-hours__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contacts-hours__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-2);
}

.contacts-hours__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
}

.contacts-hours__time {
  color: var(--cream);
  font-weight: 600;
}


/* ══════════════════════════════════════════════
   DISH MODAL
══════════════════════════════════════════════ */
.dish-modal {
  width: 100%;
  max-width: 480px;
  max-height: 88dvh;
  background: var(--surface-2);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: sheetUp .32s cubic-bezier(.32,.72,0,1);
}

.dish-modal__handle-area {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dish-modal__handle {
  width: 44px; height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
}

.dish-modal__img-wrap {
  position: relative;
  height: 200px;
  flex-shrink: 0;
  margin: 0 20px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #173428, #132921);
}

.dish-modal__img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}

.dish-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(19,41,33,.60);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-1);
  display: flex; align-items: center; justify-content: center;
}
.dish-modal__close svg { width: 18px; height: 18px; }

.dish-modal__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 20px 36px;
}

.dish-modal__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-1);
  margin-bottom: 10px;
}

.dish-modal__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 14px;
}

.dish-modal__info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-bottom: 14px;
}

.dish-modal__price {
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -.01em;
  flex-shrink: 0;
}

.dish-modal__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.dish-modal__meta .dish-card__meta-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  gap: 5px;
}
.dish-modal__meta .dish-meta__icon {
  width: 13px; height: 13px;
  opacity: .85;
}

.dish-modal__add {
  width: 100%;
  margin: 0;
  font-size: 15px;
}


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (min-width: 480px) {
  .hero { height: 200px; }
  .promo-slide__title { font-size: 24px; }
}

@media (min-width: 600px) {
  .dishes-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) {
  body {
    max-width: 480px;
    margin: 0 auto;
  }
  .header, .cart-bar, .bottom-nav {
    max-width: 480px;
    left: 50%;
    right: auto;
    width: 480px;
    transform: translateX(-50%);
  }
  .search-overlay {
    max-width: 480px;
    left: 50%;
    right: auto;
    width: 480px;
    margin-left: -240px;
  }
  .drawer-overlay {
    max-width: 480px;
    left: 50%;
    right: auto;
    width: 480px;
    transform: translateX(-50%);
  }
  .drawer { right: calc(50vw - 240px); }
}
