/* ==========================================================================
   MENU PAGE STYLES (Exact Figma Specs & Alignments)
   ========================================================================== */

/* Top Header (394 × 47px, #232323) — Fixed with Scroll Hide/Show */
.menu-top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(47px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 20px 0 20px;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.menu-top-header.header--hidden {
  transform: translateY(-100%) !important;
}

@media (min-width: 601px) {
  .menu-top-header {
    left: 50%;
    transform: translateX(-50%);
    max-width: var(--frame-width);
  }
  .menu-top-header.header--hidden {
    transform: translateX(-50%) translateY(-100%) !important;
  }
}

.menu-header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.menu-header-logo-img {
  width: 110px;
  height: 22px;
  object-fit: contain;
}

.burger-btn--white .burger-line,
.burger-btn--white span {
  background: #FFFFFF !important;
}

/* Sections */
.menu-section,
#wine,
#non-alcoholic {
  scroll-margin-top: 58px; /* 48px header + 10px gap */
}

.menu-section {
  padding: 0 20px 20px 20px;        /* отступ от последнего элемента/кнопки до следующего заголовка 20px */
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.menu-section:first-of-type {
  padding-top: 20px;                /* отступ от самого верхнего заголовка до меню 20px */
}

/* Title row with exact Figma coordinates (Node 5594:2471 & 5594:2602)
   In Figma: Text height=32, line-height=32. Bar height=22, y_offset=+2px, gap=5px (left=8px). */
.menu-section-title-row {
  position: relative;
  min-height: 32px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 10px;              /* отступ от заголовка до карточек 10пх */
}

.menu-section-subtitle {
  font-family: var(--font-body, 'Cygre Book', sans-serif);
  font-style: italic;
  font-size: 11px;
  line-height: 16px;
  color: rgba(35, 35, 35, 0.65);
  margin-left: 8px;
  display: inline-block;
  vertical-align: baseline;
}

.menu-accent-bar {
  position: absolute;
  left: 0;
  top: 2px;                         /* ровно 2пх от верха текстового блока по Figma */
  width: 3px;
  height: 22px;                     /* ровно 22пх по Figma */
  background: var(--color-dark);
  border-radius: 0;
  display: block;
}

.menu-accent-bar--white {
  background: #FFFFFF;
}

.menu-section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;                /* ровно 32пх по Figma */
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-dark);
  margin: 0;
  padding: 0 0 0 8px;               /* 3пх палка + 5пх отступ = 8пх */
  display: block;
}

.menu-section-title--white {
  color: #FFFFFF;
}

/* 2x2 Dish Grid */
.menu-dish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;                 /* отступ между двумя карточками 10пх */
  row-gap: 15px;                    /* отступ от названия до следующей нижней карточки 15пх */
}

.menu-dish-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;                     /* предотвращает раздувание колонки длинным текстом */
}

.menu-dish-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #F4F1EA;
  margin-bottom: 5px;               /* отступ от карточки до цены 5пх */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

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

.menu-dish-price {
  font-family: var(--font-extended);
  font-size: 12px;                  /* Loos Extended Regular 12px */
  font-weight: 400;
  line-height: 15px;                /* H=15 */
  color: var(--color-dark);
  margin-bottom: 0px;               /* отступ от цены до названия 0пх */
  letter-spacing: 0;
}

.menu-dish-name {
  font-family: var(--font-extended);
  font-size: 8px;                   /* Loos Extended Regular 8px */
  font-weight: 400;
  line-height: 10px;                /* H=10 */
  color: var(--color-dark);
  text-transform: none;             /* Sentence case в Figma */
  letter-spacing: 0;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.menu-dish-desc {
  font-family: var(--font-extended);
  font-size: 7px;
  font-weight: 400;
  line-height: 9px;
  color: rgba(35, 35, 35, 0.60);
  margin-top: 2px;
  white-space: normal;
  display: block;
}

/* Button "Смотреть ещё" (160 × 30px, r=20, #232323) */
.menu-btn-more {
  width: 160px;
  height: 30px;
  max-height: 30px;
  background: var(--color-dark);
  color: #FFFFFF;
  border: none;
  outline: none;
  border-radius: 20px;
  font-family: var(--font-extended);
  font-size: 10px;                  /* Loos Extended Regular 10px в Figma */
  font-weight: 400;
  line-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto 0 auto;         /* 15px от карточек, а 20px до следующего заголовка задает padding-bottom секции */
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: opacity 0.20s ease, max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s ease;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.menu-list-container + .menu-btn-more {
  margin-top: 5px;                  /* 10px padding-bottom строки + 5px margin = ровно 15px сверху кнопки */
}

.menu-dish-grid + .menu-btn-more {
  margin-top: 0;                    /* 15px row-gap сетки + 0px = ровно 15px сверху кнопки */
}

.menu-btn-more:hover {
  opacity: 0.9;
}

.menu-btn-more:active {
  transform: scale(0.97);
}

.menu-btn-more.is-hiding {
  opacity: 0 !important;
  max-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: none !important;
  pointer-events: none !important;
}

/* ================================================================
   РАСКРЫВАЮЩИЙСЯ БЛОК "СМОТРЕТЬ ЕЩЁ"
   Анимация 1-в-1 как при открытии меню бургера:
   - Плавное раскрытие контейнера по высоте (cubic-bezier(0.16, 1, 0.3, 1))
   - Текст плавно выезжает справа налево (translate3d(30px, 0, 0) -> (0, 0, 0), opacity 0 -> 1)
   - Полоски-разделители плавно разворачиваются справа налево (scaleX(0) -> scaleX(1), transform-origin: right center)
   - Точные каскадные задержки transition-delay с шагом 0.03s, 1в1 как в бургере
   ================================================================ */
.menu-expandable-wrap {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  padding: 0;
  margin: 0;
  transition: max-height 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: max-height;
}

.menu-dish-grid .menu-expandable-wrap {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 15px;
}

/* Внутри скрытого блока: текст смещен вправо на 30px и прозрачен — 1в1 как drawer-menu-item в бургере */
.menu-expandable-wrap .menu-item-row-info,
.menu-expandable-wrap .menu-item-price,
.menu-expandable-wrap .menu-dish-card {
  opacity: 0;
  transform: translate3d(30px, 0, 0);
  transition: opacity 0.30s ease;
  will-change: opacity, transform;
}

/* Линии-разделители внутри скрытого блока изначально сжаты в 0 и прозрачны — 1в1 как drawer-item-divider в бургере */
.menu-expandable-wrap .menu-item-row::after {
  transform: scaleX(0);
  opacity: 0;
  transform-origin: right center;
  transition: transform 0.40s ease, opacity 0.30s ease;
  will-change: transform, opacity;
}

/* При раскрытии: текст и цены выезжают справа налево 1-в-1 как в бургере */
.menu-expandable-wrap.is-open .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.70s ease, transform 0.70s cubic-bezier(0.16, 1, 0.3, 1);
}

/* При раскрытии: линии разворачиваются справа налево 1-в-1 как в бургере */
.menu-expandable-wrap.is-open .menu-item-row::after {
  transform: scaleX(1);
  opacity: 1;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.60s ease;
}

/* Каскадные задержки появления 1в1 как в бургере (текст 0.04s, линия 0.06s; шаг 0.03s) */
.menu-expandable-wrap.is-open .menu-item-row:nth-child(1) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(1) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(1)  { transition-delay: 0.04s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(1)::after { transition-delay: 0.06s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(2) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(2) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(2)  { transition-delay: 0.07s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(2)::after { transition-delay: 0.09s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(3) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(3) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(3)  { transition-delay: 0.10s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(3)::after { transition-delay: 0.12s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(4) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(4) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(4)  { transition-delay: 0.13s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(4)::after { transition-delay: 0.15s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(5) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(5) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(5)  { transition-delay: 0.16s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(5)::after { transition-delay: 0.18s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(6) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(6) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(6)  { transition-delay: 0.19s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(6)::after { transition-delay: 0.21s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(7) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(7) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(7)  { transition-delay: 0.22s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(7)::after { transition-delay: 0.24s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(8) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(8) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(8)  { transition-delay: 0.25s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(8)::after { transition-delay: 0.27s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(9) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(9) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(9)  { transition-delay: 0.28s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(9)::after { transition-delay: 0.30s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(10) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(10) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(10) { transition-delay: 0.31s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(10)::after { transition-delay: 0.33s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(11) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(11) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(11) { transition-delay: 0.34s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(11)::after { transition-delay: 0.36s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(12) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(12) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(12) { transition-delay: 0.37s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(12)::after { transition-delay: 0.39s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(13) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(13) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(13) { transition-delay: 0.40s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(13)::after { transition-delay: 0.42s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(14) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(14) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(14) { transition-delay: 0.43s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(14)::after { transition-delay: 0.45s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(15) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(15) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(15) { transition-delay: 0.46s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(15)::after { transition-delay: 0.48s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(16) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(16) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(16) { transition-delay: 0.49s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(16)::after { transition-delay: 0.51s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(17) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(17) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(17) { transition-delay: 0.52s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(17)::after { transition-delay: 0.54s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(18) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(18) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(18) { transition-delay: 0.55s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(18)::after { transition-delay: 0.57s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(19) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(19) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(19) { transition-delay: 0.58s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(19)::after { transition-delay: 0.60s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(20) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(20) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(20) { transition-delay: 0.61s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(20)::after { transition-delay: 0.63s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(21) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(21) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(21) { transition-delay: 0.64s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(21)::after { transition-delay: 0.66s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(22) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(22) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(22) { transition-delay: 0.67s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(22)::after { transition-delay: 0.69s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(23) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(23) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(23) { transition-delay: 0.70s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(23)::after { transition-delay: 0.72s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(24) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(24) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(24) { transition-delay: 0.73s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(24)::after { transition-delay: 0.75s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(25) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(25) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(25) { transition-delay: 0.76s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(25)::after { transition-delay: 0.78s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(26) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(26) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(26) { transition-delay: 0.79s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(26)::after { transition-delay: 0.81s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(27) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(27) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(27) { transition-delay: 0.82s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(27)::after { transition-delay: 0.84s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(28) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(28) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(28) { transition-delay: 0.85s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(28)::after { transition-delay: 0.87s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(29) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(29) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(29) { transition-delay: 0.88s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(29)::after { transition-delay: 0.90s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(30) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(30) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(30) { transition-delay: 0.91s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(30)::after { transition-delay: 0.93s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(31) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(31) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(31) { transition-delay: 0.94s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(31)::after { transition-delay: 0.96s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(32) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(32) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(32) { transition-delay: 0.97s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(32)::after { transition-delay: 0.99s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(33) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(33) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(33) { transition-delay: 1.00s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(33)::after { transition-delay: 1.02s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(34) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(34) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(34) { transition-delay: 1.03s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(34)::after { transition-delay: 1.05s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(35) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(35) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(35) { transition-delay: 1.06s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(35)::after { transition-delay: 1.08s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(36) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(36) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(36) { transition-delay: 1.09s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(36)::after { transition-delay: 1.11s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(37) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(37) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(37) { transition-delay: 1.12s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(37)::after { transition-delay: 1.14s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(38) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(38) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(38) { transition-delay: 1.15s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(38)::after { transition-delay: 1.17s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(39) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(39) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(39) { transition-delay: 1.18s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(39)::after { transition-delay: 1.20s; }

.menu-expandable-wrap.is-open .menu-item-row:nth-child(40) .menu-item-row-info,
.menu-expandable-wrap.is-open .menu-item-row:nth-child(40) .menu-item-price,
.menu-expandable-wrap.is-open .menu-dish-card:nth-child(40) { transition-delay: 1.21s; }
.menu-expandable-wrap.is-open .menu-item-row:nth-child(40)::after { transition-delay: 1.23s; }

.menu-expandable-wrap .menu-item-row:first-child {
  padding-top: 10px;
}

/* List Item Rows without images (Beer, Wine, Spirits, Non-alc, Hookah) */
.menu-list-container {
  display: flex;
  flex-direction: column;
}

.menu-item-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;              /* цена оцентрована по высоте описания */
  padding: 10px 0;                  /* отступ сверху и снизу по 10пх */
  box-sizing: border-box;
}

.menu-item-row:first-child {
  padding-top: 0;                   /* отступ от заголовка до текста ровно 10пх (за счёт margin-bottom: 10px заголовка) */
}

/* Линия-разделитель 1в1 как drawer-item-divider в бургере */
.menu-item-row::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(48, 48, 48, 0.6); /* 354x1 #303030 opacity 60% */
  transform: scaleX(1);
  transform-origin: right center;
  opacity: 1;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.60s ease;
  will-change: transform, opacity;
}

/* У самой последней позиции всей секции линии быть не должно! */
.menu-list-container > .menu-item-row:last-child::after,
.menu-expandable-wrap .menu-item-row:last-child::after {
  display: none !important;
}

.menu-list-container > .menu-item-row:last-child,
.menu-expandable-wrap .menu-item-row:last-child {
  padding-bottom: 0 !important;
}

/* До раскрытия: у 4-й позиции перед кнопкой линии нет */
.menu-item-row--last-initial::after,
.menu-list-container > .menu-item-row:nth-child(4)::after {
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.40s ease, opacity 0.30s ease;
}

/* При раскрытии секции: линия под 4-й позицией плавно разворачивается 1в1 как в бургере */
.menu-section.is-expanded .menu-item-row--last-initial::after,
.menu-section.is-expanded .menu-list-container > .menu-item-row:nth-child(4)::after {
  transform: scaleX(1);
  opacity: 1;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.02s, opacity 0.60s ease 0.02s;
}

.menu-item-row-info {
  display: flex;
  flex-direction: column;
  gap: 0px;                         /* отступ между названием и описанием ровно 0пх */
  width: 257px;
  max-width: 257px;                 /* текст занимает максимум 257пх по Figma */
}

.menu-item-title {
  font-family: var(--font-extended);
  font-size: 12px;                  /* Loos Extended Regular 12px */
  font-weight: 400;
  line-height: 15px;
  color: var(--color-dark);
}

.menu-item-desc {
  font-family: var(--font-extended);
  font-size: 8px;                   /* Loos Extended Regular 8px */
  font-weight: 400;
  line-height: 11px;
  color: var(--color-dark);
}

.menu-item-desc--brands {
  margin-top: 11px;                 /* пустая строка между описанием и табаками/ароматами по макету */
}

.menu-item-price {
  font-family: var(--font-extended);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: var(--color-dark);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

/* ==========================================================================
   8. ОБЕДЕННОЕ ПРЕДЛОЖЕНИЕ (Dark section #232323)
   ========================================================================== */
.lunch-section {
  background: var(--color-dark);
  color: #FFFFFF;
  padding: 20px 20px 40px 20px;      /* отступ сверху ровно 20пх */
  scroll-margin-top: 58px; /* 48px header + 10px gap */
}

.lunch-combo-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.lunch-combo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;                  /* отступ сверху и снизу 10пх */
  border-bottom: 1px solid rgba(255, 255, 255, 0.6); /* W:354 H:1 FFFFFF 60% */
}

.lunch-combo-row:first-child {
  padding-top: 0;
}

.lunch-combo-row:last-child {
  border-bottom: none;              /* последней линии нет */
  padding-bottom: 0;
}

.lunch-combo-info {
  display: flex;
  flex-direction: column;
  gap: 0px;                         /* ровно 0пх */
  width: 325px;
  max-width: 325px;                 /* 325пх по Figma */
}

.lunch-combo-name {
  font-family: var(--font-extended);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: #FFFFFF;
}

.lunch-combo-sub {
  font-family: var(--font-extended);
  font-size: 8px;
  font-weight: 400;
  line-height: 11px;
  color: #FFFFFF;                   /* чисто белый цвет текста по Figma */
}

.lunch-combo-price {
  font-family: var(--font-extended);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: #FFFFFF;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.lunch-category-header {
  position: relative;
  height: 32px;
  margin: 20px 0 5px 0;              /* отступ от предыдущего блока 20пх, до нижнего текста 5пх */
}

.lunch-category-header .menu-accent-bar {
  position: absolute;
  left: 0;
  top: 2px;
}

.lunch-cat-title {
  font-family: var(--font-heading);
  font-size: 32px;                  /* 32пх по Figma (Bebas Neue Bold 32) */
  font-weight: 700;
  line-height: 32px;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
  padding: 0 0 0 8px;
}

.lunch-dish-item {
  display: flex;
  flex-direction: column;
  padding: 10px 0;                  /* 10пх */
  border-bottom: 1px solid rgba(255, 255, 255, 0.6); /* W:354 H:1 FFFFFF 60% */
  gap: 0px;                         /* от названия до нижнего текста ровно 0пх */
  width: 100%;                      /* на всю ширину 354пх */
  box-sizing: border-box;
}

.lunch-category-header + .lunch-dish-item {
  padding-top: 0;                   /* ровно 5пх от заголовка за счёт margin-bottom: 5px */
}

.lunch-dish-item:last-child {
  border-bottom: none;              /* последней линии нет */
  padding-bottom: 0;
}

.lunch-dish-name {
  font-family: var(--font-extended);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: #FFFFFF;
  display: block;
  margin: 0;
  max-width: 325px;
}

.lunch-dish-desc {
  font-family: var(--font-extended);
  font-size: 8px;
  font-weight: 400;
  line-height: 10px;
  color: #FFFFFF;                   /* чисто белый цвет текста по Figma */
  margin: 0;                        /* ровно 0пх */
  display: block;
  width: 325px;
  max-width: 325px;                 /* текст ровно 325пх по Figma */
}

.lunch-dish-kbju {
  display: block;
  font-family: var(--font-extended);
  font-size: 8px;
  font-weight: 400;
  line-height: 10px;
  color: #FFFFFF;
  margin-top: 1px;
}

.lunch-drink-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6); /* W:354 H:1 FFFFFF 60% */
}

.lunch-category-header + .lunch-drink-item {
  padding-top: 0;                   /* ровно 5пх от заголовка */
}

.lunch-drink-item:last-child {
  border-bottom: none;              /* последней линии нет */
  padding-bottom: 0;
}

.lunch-drink-info {
  display: flex;
  flex-direction: column;
  gap: 0px;
  flex: 1;
  min-width: 0;
  max-width: 257px;
  padding-right: 12px;
}

.lunch-drink-info .lunch-dish-desc {
  width: 100%;
  max-width: 100%;
}

.lunch-drink-price {
  font-family: var(--font-extended);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: #FFFFFF;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

/* ==========================================================================
   DRAWER / BURGER MENU SPECIFIC TO MENU.HTML (Figma 5594:2949 & 5594:2971)
   ========================================================================== */
/* ==========================================================================
   DRAWER / BURGER MENU SPECIFIC TO MENU.HTML (Figma 5594:2949 & 5594:2971)
   ========================================================================== */
.drawer-nav--menu {
  z-index: 3500 !important;
}

.drawer-nav--menu .drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: auto !important;          /* Ровно как на главной: до конца меню, снизу прозрачный блюр! */
  max-height: 100dvh !important;     /* При раскрытии 25 напитков укладывается в экран */
  background: #232323;              /* Frame 47 background #232323 */
  z-index: 3501 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border-radius: 0;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.60s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  box-sizing: border-box;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  overscroll-behavior-y: contain;
}

@media (min-width: 601px) {
  .drawer-nav--menu .drawer-panel {
    left: 50%;
    right: auto;
    max-width: var(--frame-width);
    transform: translate3d(calc(-50% + 100vw), 0, 0);
  }
  .drawer-nav--menu.active .drawer-panel {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Subtle scrollbar */
.drawer-nav--menu .drawer-panel::-webkit-scrollbar {
  width: 4px;
}
.drawer-nav--menu .drawer-panel::-webkit-scrollbar-track {
  background: transparent;
}
.drawer-nav--menu .drawer-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.drawer-nav--menu .drawer-menu-list {
  padding: 6px 0 15px 0;           /* отступы ровно как на главной странице */
  box-sizing: border-box;
  touch-action: pan-y;
}

/* Sublist accordion container (Кухня & Бар) */
.drawer-nav--menu .drawer-sublist {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  padding: 0;
  margin: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.45s ease;
  will-change: max-height;
}

.drawer-nav--menu .drawer-sublist.is-open {
  padding-top: 0;
  padding-bottom: 5px;
  gap: 5px;
  margin-top: -2px;
}

#drawer-sublist-kitchen.is-open {
  transition: max-height 0.65s cubic-bezier(0.16, 1, 0.3, 1), padding 0.40s ease;
}

#drawer-sublist-bar.is-open {
  transition: max-height 0.90s cubic-bezier(0.16, 1, 0.3, 1), padding 0.40s ease;
}

#drawer-sublist-kitchen.is-closing {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.65s ease-in-out, padding 0.45s ease;
}

#drawer-sublist-bar.is-closing {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.85s ease-in-out, padding 0.45s ease;
}

/* Sub-items matching exact Figma criteria (Loos Extended, Regular, 14px, #FFFFFF 60%, 18px height) */
.drawer-nav--menu .drawer-sub-item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 18px;
  padding: 0 20px;
  font-family: var(--font-extended);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(30px, 0, 0);
  transition: opacity 0.30s ease, color 0.15s;
  will-change: opacity, transform;
}

.drawer-nav--menu .drawer-sub-item:hover,
.drawer-nav--menu .drawer-sub-item:active {
  color: #FFFFFF;
}

/* Точно такая же логика открытия, как и у пунктов основного меню */
.drawer-nav--menu .drawer-sublist.is-open .drawer-sub-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s;
}

/* Разделитель (палка) — 1px с отступами строго как на главном экране */
.drawer-nav--menu .drawer-item-divider {
  margin: 0 20px !important;
}

/* Каскад открытия Кухни — сверху вниз (1 -> 10, шаг 0.07s) */
#drawer-sublist-kitchen.is-open .drawer-sub-item:nth-child(1)  { transition-delay: 0.04s; }
#drawer-sublist-kitchen.is-open .drawer-sub-item:nth-child(2)  { transition-delay: 0.11s; }
#drawer-sublist-kitchen.is-open .drawer-sub-item:nth-child(3)  { transition-delay: 0.18s; }
#drawer-sublist-kitchen.is-open .drawer-sub-item:nth-child(4)  { transition-delay: 0.25s; }
#drawer-sublist-kitchen.is-open .drawer-sub-item:nth-child(5)  { transition-delay: 0.32s; }
#drawer-sublist-kitchen.is-open .drawer-sub-item:nth-child(6)  { transition-delay: 0.39s; }
#drawer-sublist-kitchen.is-open .drawer-sub-item:nth-child(7)  { transition-delay: 0.46s; }
#drawer-sublist-kitchen.is-open .drawer-sub-item:nth-child(8)  { transition-delay: 0.53s; }
#drawer-sublist-kitchen.is-open .drawer-sub-item:nth-child(9)  { transition-delay: 0.60s; }
#drawer-sublist-kitchen.is-open .drawer-sub-item:nth-child(10) { transition-delay: 0.67s; }

/* Каскад открытия Бара (1 -> 25 с шагом 0.03s) */
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(1)  { transition-delay: 0.04s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(2)  { transition-delay: 0.07s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(3)  { transition-delay: 0.10s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(4)  { transition-delay: 0.13s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(5)  { transition-delay: 0.16s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(6)  { transition-delay: 0.19s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(7)  { transition-delay: 0.22s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(8)  { transition-delay: 0.25s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(9)  { transition-delay: 0.28s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(10) { transition-delay: 0.31s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(11) { transition-delay: 0.34s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(12) { transition-delay: 0.37s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(13) { transition-delay: 0.40s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(14) { transition-delay: 0.43s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(15) { transition-delay: 0.46s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(16) { transition-delay: 0.49s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(17) { transition-delay: 0.52s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(18) { transition-delay: 0.55s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(19) { transition-delay: 0.58s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(20) { transition-delay: 0.61s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(21) { transition-delay: 0.64s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(22) { transition-delay: 0.67s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(23) { transition-delay: 0.70s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(24) { transition-delay: 0.73s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(25) { transition-delay: 0.76s; }
#drawer-sublist-bar.is-open .drawer-sub-item:nth-child(26) { transition-delay: 0.79s; }

/* Точно такая же логика закрытия, как и у пунктов основного меню */
.drawer-nav--menu .drawer-sublist.is-closing .drawer-sub-item {
  opacity: 0 !important;
  transform: translate3d(30px, 0, 0) !important;
  transition: opacity 0.40s ease, transform 0.40s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Каскад закрытия Кухни — синхронно снизу вверх (10 -> 1, шаг 0.06s) */
#drawer-sublist-kitchen.is-closing .drawer-sub-item:nth-child(10) { transition-delay: 0.00s !important; }
#drawer-sublist-kitchen.is-closing .drawer-sub-item:nth-child(9)  { transition-delay: 0.06s !important; }
#drawer-sublist-kitchen.is-closing .drawer-sub-item:nth-child(8)  { transition-delay: 0.12s !important; }
#drawer-sublist-kitchen.is-closing .drawer-sub-item:nth-child(7)  { transition-delay: 0.18s !important; }
#drawer-sublist-kitchen.is-closing .drawer-sub-item:nth-child(6)  { transition-delay: 0.24s !important; }
#drawer-sublist-kitchen.is-closing .drawer-sub-item:nth-child(5)  { transition-delay: 0.30s !important; }
#drawer-sublist-kitchen.is-closing .drawer-sub-item:nth-child(4)  { transition-delay: 0.36s !important; }
#drawer-sublist-kitchen.is-closing .drawer-sub-item:nth-child(3)  { transition-delay: 0.42s !important; }
#drawer-sublist-kitchen.is-closing .drawer-sub-item:nth-child(2)  { transition-delay: 0.48s !important; }
#drawer-sublist-kitchen.is-closing .drawer-sub-item:nth-child(1)  { transition-delay: 0.54s !important; }

/* Каскад закрытия Бара — снизу вверх (26 -> 1 с шагом 0.025s) */
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(26) { transition-delay: 0.000s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(25) { transition-delay: 0.025s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(24) { transition-delay: 0.050s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(23) { transition-delay: 0.075s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(22) { transition-delay: 0.100s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(21) { transition-delay: 0.125s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(20) { transition-delay: 0.150s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(19) { transition-delay: 0.175s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(18) { transition-delay: 0.200s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(17) { transition-delay: 0.225s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(16) { transition-delay: 0.250s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(15) { transition-delay: 0.275s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(14) { transition-delay: 0.300s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(13) { transition-delay: 0.325s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(12) { transition-delay: 0.350s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(11) { transition-delay: 0.375s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(10) { transition-delay: 0.400s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(9)  { transition-delay: 0.425s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(8)  { transition-delay: 0.450s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(7)  { transition-delay: 0.475s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(6)  { transition-delay: 0.500s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(5)  { transition-delay: 0.525s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(4)  { transition-delay: 0.550s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(3)  { transition-delay: 0.575s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(2)  { transition-delay: 0.600s !important; }
#drawer-sublist-bar.is-closing .drawer-sub-item:nth-child(1)  { transition-delay: 0.625s !important; }

/* Open delays for 4 main sections on menu.html (1 -> 4) */
.drawer-nav--menu.active .drawer-menu-item:nth-of-type(1)  { transition-delay: 0.10s; }
.drawer-nav--menu.active .drawer-divider--1                { transition-delay: 0.12s; }

.drawer-nav--menu.active #drawer-kitchen-toggle            { transition-delay: 0.16s; }
.drawer-nav--menu.active .drawer-divider--2                { transition-delay: 0.18s; }

.drawer-nav--menu.active #drawer-bar-toggle                { transition-delay: 0.22s; }
.drawer-nav--menu.active .drawer-divider--3                { transition-delay: 0.24s; }

.drawer-nav--menu.active .drawer-menu-item:nth-of-type(2)  { transition-delay: 0.28s; }

/* Общий сброс для закрытия всех разделителей */
.drawer-nav.drawer-nav--menu.closing .drawer-item-divider,
.drawer-nav.drawer-nav--menu.active.closing .drawer-item-divider,
.drawer-nav.drawer-nav--menu.closing .drawer-item-divider:nth-of-type(n),
.drawer-nav.drawer-nav--menu.active.closing .drawer-item-divider:nth-of-type(n) {
  transition-delay: 0s !important;
}

.drawer-nav.drawer-nav--menu.closing .drawer-sub-item {
  opacity: 0 !important;
  transform: translate3d(35px, 0, 0) !important;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ==========================================================================
   ВОЛНА ЗАКРЫТИЯ №1: ОБЫЧНАЯ (КОГДА ВСЕ ВКЛАДКИ ЗАКРЫТЫ) — 4 -> 1 СНИЗУ ВВЕРХ
   ========================================================================== */
.drawer-nav.drawer-nav--menu.closing .drawer-menu-item:nth-of-type(2),
.drawer-nav.drawer-nav--menu.active.closing .drawer-menu-item:nth-of-type(2)  { transition-delay: 0.00s !important; } /* Кальян */

.drawer-nav.drawer-nav--menu.closing .drawer-item-divider.drawer-divider--3,
.drawer-nav.drawer-nav--menu.active.closing .drawer-item-divider.drawer-divider--3,
.drawer-nav.drawer-nav--menu.closing .drawer-item-divider.drawer-divider--3:nth-of-type(n),
.drawer-nav.drawer-nav--menu.active.closing .drawer-item-divider.drawer-divider--3:nth-of-type(n) { transition-delay: 0.04s !important; }

.drawer-nav.drawer-nav--menu.closing #drawer-bar-toggle,
.drawer-nav.drawer-nav--menu.active.closing #drawer-bar-toggle                { transition-delay: 0.08s !important; } /* Бар */

.drawer-nav.drawer-nav--menu.closing .drawer-item-divider.drawer-divider--2,
.drawer-nav.drawer-nav--menu.active.closing .drawer-item-divider.drawer-divider--2,
.drawer-nav.drawer-nav--menu.closing .drawer-item-divider.drawer-divider--2:nth-of-type(n),
.drawer-nav.drawer-nav--menu.active.closing .drawer-item-divider.drawer-divider--2:nth-of-type(n) { transition-delay: 0.12s !important; }

.drawer-nav.drawer-nav--menu.closing #drawer-kitchen-toggle,
.drawer-nav.drawer-nav--menu.active.closing #drawer-kitchen-toggle            { transition-delay: 0.16s !important; } /* Кухня */

.drawer-nav.drawer-nav--menu.closing .drawer-item-divider.drawer-divider--1,
.drawer-nav.drawer-nav--menu.active.closing .drawer-item-divider.drawer-divider--1,
.drawer-nav.drawer-nav--menu.closing .drawer-item-divider.drawer-divider--1:nth-of-type(n),
.drawer-nav.drawer-nav--menu.active.closing .drawer-item-divider.drawer-divider--1:nth-of-type(n) { transition-delay: 0.20s !important; }

.drawer-nav.drawer-nav--menu.closing .drawer-menu-item:nth-of-type(1),
.drawer-nav.drawer-nav--menu.active.closing .drawer-menu-item:nth-of-type(1)  { transition-delay: 0.24s !important; } /* Главная */

.drawer-nav.drawer-nav--menu.closing .drawer-header-divider,
.drawer-nav.drawer-nav--menu.active.closing .drawer-header-divider            { transition-delay: 0.28s !important; }

/* ==========================================================================
   ВОЛНА ЗАКРЫТИЯ №2: КОГДА ОТКРЫТ «БАР» (ПОЭТАПНОЕ ЗАКРЫТИЕ СНИЗУ ВВЕРХ!)
   Кальян -> Полоска 3 -> Напитки 25..1 -> Бар -> Полоска 2 -> Кухня -> ...
   ========================================================================== */
.drawer-nav.drawer-nav--menu.closing--bar-open .drawer-menu-item:nth-of-type(2),
.drawer-nav.drawer-nav--menu.active.closing--bar-open .drawer-menu-item:nth-of-type(2)  { transition-delay: 0.00s !important; } /* Кальян */

.drawer-nav.drawer-nav--menu.closing--bar-open .drawer-item-divider.drawer-divider--3,
.drawer-nav.drawer-nav--menu.active.closing--bar-open .drawer-item-divider.drawer-divider--3,
.drawer-nav.drawer-nav--menu.closing--bar-open .drawer-item-divider.drawer-divider--3:nth-of-type(n),
.drawer-nav.drawer-nav--menu.active.closing--bar-open .drawer-item-divider.drawer-divider--3:nth-of-type(n) { transition-delay: 0.03s !important; }

/* 26 напитков уезжают снизу вверх с шагом 30ms (0.03s) строго как в Кухне */
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(26),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(26) { transition-delay: 0.06s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(25),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(25) { transition-delay: 0.09s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(24),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(24) { transition-delay: 0.12s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(23),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(23) { transition-delay: 0.15s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(22),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(22) { transition-delay: 0.18s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(21),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(21) { transition-delay: 0.21s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(20),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(20) { transition-delay: 0.24s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(19),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(19) { transition-delay: 0.27s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(18),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(18) { transition-delay: 0.30s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(17),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(17) { transition-delay: 0.33s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(16),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(16) { transition-delay: 0.36s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(15),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(15) { transition-delay: 0.39s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(14),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(14) { transition-delay: 0.42s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(13),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(13) { transition-delay: 0.45s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(12),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(12) { transition-delay: 0.48s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(11),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(11) { transition-delay: 0.51s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(10),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(10) { transition-delay: 0.54s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(9),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(9)   { transition-delay: 0.57s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(8),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(8)   { transition-delay: 0.60s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(7),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(7)   { transition-delay: 0.63s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(6),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(6)   { transition-delay: 0.66s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(5),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(5)   { transition-delay: 0.69s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(4),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(4)   { transition-delay: 0.72s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(3),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(3)   { transition-delay: 0.75s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(2),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(2)   { transition-delay: 0.78s !important; }
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(1),
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-sublist-bar .drawer-sub-item:nth-child(1)   { transition-delay: 0.81s !important; }

/* Пункты выше бара продолжают волну строго после напитков */
.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-bar-toggle,
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-bar-toggle                { transition-delay: 0.84s !important; }

.drawer-nav.drawer-nav--menu.closing--bar-open .drawer-item-divider.drawer-divider--2,
.drawer-nav.drawer-nav--menu.active.closing--bar-open .drawer-item-divider.drawer-divider--2,
.drawer-nav.drawer-nav--menu.closing--bar-open .drawer-item-divider.drawer-divider--2:nth-of-type(n),
.drawer-nav.drawer-nav--menu.active.closing--bar-open .drawer-item-divider.drawer-divider--2:nth-of-type(n) { transition-delay: 0.87s !important; }

.drawer-nav.drawer-nav--menu.closing--bar-open #drawer-kitchen-toggle,
.drawer-nav.drawer-nav--menu.active.closing--bar-open #drawer-kitchen-toggle            { transition-delay: 0.90s !important; }

.drawer-nav.drawer-nav--menu.closing--bar-open .drawer-item-divider.drawer-divider--1,
.drawer-nav.drawer-nav--menu.active.closing--bar-open .drawer-item-divider.drawer-divider--1,
.drawer-nav.drawer-nav--menu.closing--bar-open .drawer-item-divider.drawer-divider--1:nth-of-type(n),
.drawer-nav.drawer-nav--menu.active.closing--bar-open .drawer-item-divider.drawer-divider--1:nth-of-type(n) { transition-delay: 0.93s !important; }

.drawer-nav.drawer-nav--menu.closing--bar-open .drawer-menu-item:nth-of-type(1),
.drawer-nav.drawer-nav--menu.active.closing--bar-open .drawer-menu-item:nth-of-type(1)  { transition-delay: 0.96s !important; }

.drawer-nav.drawer-nav--menu.closing--bar-open .drawer-header-divider,
.drawer-nav.drawer-nav--menu.active.closing--bar-open .drawer-header-divider            { transition-delay: 1.00s !important; }

/* ==========================================================================
   ВОЛНА ЗАКРЫТИЯ №3: КОГДА ОТКРЫТА «КУХНЯ» (ПОЭТАПНОЕ ЗАКРЫТИЕ СНИЗУ ВВЕРХ)
   ========================================================================== */
.drawer-nav.drawer-nav--menu.closing--kitchen-open .drawer-menu-item:nth-of-type(2),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open .drawer-menu-item:nth-of-type(2)  { transition-delay: 0.00s !important; } /* Кальян */

.drawer-nav.drawer-nav--menu.closing--kitchen-open .drawer-item-divider.drawer-divider--3,
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open .drawer-item-divider.drawer-divider--3,
.drawer-nav.drawer-nav--menu.closing--kitchen-open .drawer-item-divider.drawer-divider--3:nth-of-type(n),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open .drawer-item-divider.drawer-divider--3:nth-of-type(n) { transition-delay: 0.03s !important; }

.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-bar-toggle,
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-bar-toggle                { transition-delay: 0.06s !important; }

.drawer-nav.drawer-nav--menu.closing--kitchen-open .drawer-item-divider.drawer-divider--2,
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open .drawer-item-divider.drawer-divider--2,
.drawer-nav.drawer-nav--menu.closing--kitchen-open .drawer-item-divider.drawer-divider--2:nth-of-type(n),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open .drawer-item-divider.drawer-divider--2:nth-of-type(n) { transition-delay: 0.09s !important; }

.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(10),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(10) { transition-delay: 0.12s !important; } /* Обеденное предложение */
.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(9),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(9)  { transition-delay: 0.15s !important; } /* Хлеб */
.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(8),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(8)  { transition-delay: 0.18s !important; } /* Десерты */
.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(7),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(7)  { transition-delay: 0.21s !important; } /* Гарниры */
.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(6),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(6)  { transition-delay: 0.24s !important; } /* Горячее */
.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(5),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(5)  { transition-delay: 0.27s !important; } /* Супы */
.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(4),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(4)  { transition-delay: 0.30s !important; } /* Пасты */
.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(3),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(3)  { transition-delay: 0.33s !important; } /* Поке */
.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(2),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(2)  { transition-delay: 0.36s !important; } /* Закуски */
.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(1),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-sublist-kitchen .drawer-sub-item:nth-child(1)  { transition-delay: 0.39s !important; } /* Салаты */

.drawer-nav.drawer-nav--menu.closing--kitchen-open #drawer-kitchen-toggle,
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open #drawer-kitchen-toggle            { transition-delay: 0.42s !important; }

.drawer-nav.drawer-nav--menu.closing--kitchen-open .drawer-item-divider.drawer-divider--1,
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open .drawer-item-divider.drawer-divider--1,
.drawer-nav.drawer-nav--menu.closing--kitchen-open .drawer-item-divider.drawer-divider--1:nth-of-type(n),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open .drawer-item-divider.drawer-divider--1:nth-of-type(n) { transition-delay: 0.45s !important; }

.drawer-nav.drawer-nav--menu.closing--kitchen-open .drawer-menu-item:nth-of-type(1),
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open .drawer-menu-item:nth-of-type(1)  { transition-delay: 0.48s !important; }

.drawer-nav.drawer-nav--menu.closing--kitchen-open .drawer-header-divider,
.drawer-nav.drawer-nav--menu.active.closing--kitchen-open .drawer-header-divider            { transition-delay: 0.51s !important; }

/* ==========================================================================
   ЗАЩИТА ОТ GHOST-CLICK / ЗАЛИПАНИЯ КНОПОК ПРИ ОТКРЫТИИ МЕНЮ НА ТАЧ-ЭКРАНАХ
   ========================================================================== */
.drawer-nav--menu.active .drawer-close-btn,
.drawer-nav--menu.active .drawer-backdrop {
  animation: enableDrawerClicks 0.40s forwards;
}

@keyframes enableDrawerClicks {
  0% { pointer-events: none; }
  99% { pointer-events: none; }
  100% { pointer-events: auto; }
}

/* ==========================================================================
   DISH DETAIL POPUP (Exact Figma Specs - Frame 46, Node 5594:2875)
   ========================================================================== */
body.modal-open {
  overflow: hidden !important;
}

/* Навигационный хедер остается видимым и четким над блюром попапа блюда */
body.modal-open .menu-top-header {
  z-index: 3005 !important;
  transform: translateY(0) !important;
}

@media (min-width: 601px) {
  body.modal-open .menu-top-header {
    transform: translateX(-50%) translateY(0) !important;
  }
}

.menu-dish-card[onclick] {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.menu-dish-card[onclick]:active {
  transform: scale(0.97);
}

.dish-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
  padding: 100px 16px max(16px, env(safe-area-inset-bottom)) 16px;
  box-sizing: border-box;
  transition: visibility 0s linear 0.30s;
}

.dish-popup-overlay.is-active {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.dish-popup-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-popup-overlay.is-active .dish-popup-backdrop {
  opacity: 1;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dish-popup-container {
  position: relative;
  width: 340px;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  padding: 12px 12px 16px 12px;
  box-sizing: border-box;
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, calc(100vh - 70px), 0);
  transition: transform 0.44s cubic-bezier(0.16, 1, 0.3, 1.03),
              opacity 0.28s ease-out;
  will-change: transform, opacity;
  touch-action: pan-y;
}

.dish-popup-overlay.is-active .dish-popup-container {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.dish-popup-overlay:not(.is-active) .dish-popup-container {
  opacity: 0;
  transform: translate3d(0, calc(100vh - 70px), 0);
  transition: transform 0.28s cubic-bezier(0.4, 0, 1, 1),
              opacity 0.20s ease-in;
}

.dish-popup-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 5px;
  position: relative;
}

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

.dish-popup-title {
  font-family: 'Loos Extended', 'Unbounded', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.28;
  color: #232323;
  margin: 0;
  letter-spacing: normal;
}

.dish-popup-weight {
  display: block;
  font-family: 'Loos Extended', 'Onest', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(35, 35, 35, 0.70);
  margin: 0 0 10px 0;
}

.dish-popup-desc {
  font-family: 'Loos Extended', 'Onest', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
  color: rgba(35, 35, 35, 0.70);
  margin: 0 0 10px 0;
  white-space: pre-line;
}

.dish-popup-kbju {
  font-family: 'Loos Extended', 'Onest', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(35, 35, 35, 0.70);
  margin: 0;
}



