/* ============================================================
   БУФФЕТ — стили лендинга
   Тёмная «печатная» подача: графит, янтарь, пунктирные выноски.
   ============================================================ */

/* ---------- Шрифты ------------------------------------------------ */

@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/unbounded-cyrillic.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/unbounded-latin.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020-007E;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-cyrillic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020-007E, U+00A0-00BF, U+00D7, U+2010-2015, U+2018-201F, U+2022, U+2026;
}

/* Знак рубля вырезан в отдельный файл — весит 1 КБ вместо 85. */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-ruble.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+20BD;
}

/* ---------- Токены ------------------------------------------------ */

:root {
    /* Нейтральные тона тёплые, а не серые: еда, а не панель управления. */
    --ink:        #121110;
    --surface:    #1a1918;
    --surface-2:  #232120;
    --surface-3:  #2c2928;

    --line:       rgba(255, 244, 230, 0.10);
    --line-2:     rgba(255, 244, 230, 0.20);

    --text:       #f6f2ec;
    --muted:      #a09890;
    --muted-2:    #7c746d;

    --amber:      #ffb800;
    --amber-soft: #ffcf4d;
    --amber-deep: #b37f00;
    --red:        #e63329;

    --accent:     var(--amber);

    --topbar-h:   58px;
    --radius:     14px;
    --radius-lg:  20px;

    --wrap:       1180px;
    --gutter:     clamp(1rem, 4vw, 2.5rem);

    /* Отступ для лент, которые прокручиваются вбок и при этом должны
       начинаться ровно по колонке контента. Считаем от 50% ширины
       родителя, а не от 100vw: vw включает полосу прокрутки и даёт
       промах в её ширину. */
    --rail-pad:   max(var(--gutter), calc(50% - var(--wrap) / 2 + var(--gutter)));

    --font-display: 'Unbounded', 'Trebuchet MS', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- База -------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    /* Якоря не заезжают под липкую шапку и вкладки. */
    scroll-padding-top: calc(var(--topbar-h) + 68px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    font-feature-settings: 'liga' 1, 'kern' 1;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

p  { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

a {
    color: inherit;
    text-decoration: none;
}

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

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
}

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: 4px;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: -100px; left: 1rem;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: var(--amber);
    color: #1a1200;
    font-weight: 700;
    border-radius: 0 0 12px 12px;
    transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Логотип ----------------------------------------------- */

.wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.7em;
    font-family: var(--font-display);
    white-space: nowrap;
}

.wordmark__name {
    position: relative;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: 1.15rem;
}

/* Янтарная линия под словом — как на фирменной вывеске.
   Рисуется поверх букв, поэтому пересекает ножку «Ф». */
.wordmark__name::after {
    content: '';
    position: absolute;
    left: -0.02em;
    right: -0.02em;
    bottom: -0.04em;
    height: 0.09em;
    min-height: 2px;
    background: var(--amber);
    border-radius: 1px;
}

.wordmark__accent { color: var(--amber); }

.wordmark__tagline {
    font-size: 0.5em;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--muted);
}

/* На первом экране подпись уходит под название: рядом она не помещается
   при крупном кегле и наезжала бы на коллаж. */
.wordmark--hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.wordmark--hero .wordmark__name {
    font-size: clamp(3.2rem, 12vw, 6.6rem);
    letter-spacing: -0.005em;
}

.wordmark--hero .wordmark__tagline {
    font-size: clamp(0.7rem, 1.6vw, 0.95rem);
    letter-spacing: 0.32em;
    color: var(--text);
}

.wordmark--footer .wordmark__name { font-size: 1.5rem; }

/* ---------- Кнопки ------------------------------------------------ */

.btn {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    --btn-border: var(--line-2);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.7rem 1.15rem;
    border: 1px solid var(--btn-border);
    border-radius: 12px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s var(--ease), background-color 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    --btn-bg: var(--amber);
    --btn-fg: #1a1200;
    --btn-border: var(--amber);
    font-weight: 700;
    box-shadow: 0 10px 30px -12px rgba(255, 184, 0, 0.6);
}
.btn--primary:hover { --btn-bg: var(--amber-soft); --btn-border: var(--amber-soft); }

.btn--outline {
    --btn-bg: var(--surface-2);
    --btn-border: var(--line-2);
}
.btn--outline:hover { --btn-border: var(--amber); }

.btn--ghost { --btn-bg: transparent; }
.btn--ghost:hover { --btn-bg: var(--surface-2); }

.btn--sm { padding: 0.5rem 0.85rem; font-size: 0.875rem; }

.btn--lg {
    padding: 0.95rem 1.5rem;
    border-radius: 14px;
}

.btn__stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn__hint {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    opacity: 0.65;
}

.btn__value {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ---------- Статус работы ----------------------------------------- */

.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem 0.35rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.status__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--muted);
}

.status.is-open .status__dot {
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: pulse 2.4s infinite;
}

.status.is-closed .status__dot { background: #ef5350; }

.status__detail {
    color: var(--muted);
    font-weight: 500;
}

@keyframes pulse {
    70%  { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.status--lg { font-size: 0.875rem; padding: 0.45rem 1rem 0.45rem 0.8rem; }

/* ---------- Верхняя панель ---------------------------------------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--topbar-h);
    background: rgba(18, 17, 16, 0.82);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s, background-color 0.25s;
}

.topbar.is-stuck { border-bottom-color: var(--line); }

.topbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.topbar__side {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status--sm .status__detail { display: none; }

/* ---------- Первый экран ------------------------------------------ */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 6rem);
}

/* Тёплое свечение за коллажем — соединяет фото с фоном страницы. */
.hero__glow {
    position: absolute;
    top: -14%;
    right: -6%;
    width: min(760px, 85vw);
    aspect-ratio: 1;
    background: radial-gradient(circle,
        rgba(255, 184, 0, 0.16) 0%,
        rgba(230, 51, 41, 0.07) 42%,
        transparent 68%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    max-width: 40rem;
}

.hero__title { margin: 0; }

/* Статус и доставка идут одной строкой; когда места не хватает,
   плашка доставки переносится под статус — так и задумано на телефоне. */
.hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.6rem;
    margin: -0.4rem 0 -0.2rem;
}

.hero__meta .status,
.hero__meta .delivery { margin: 0; }

.delivery {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem 0.45rem 0.75rem;
    border: 1px solid rgba(255, 184, 0, 0.35);
    border-radius: 999px;
    background: rgba(255, 184, 0, 0.09);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--amber-soft);
}

.delivery .icon {
    width: 1.15em;
    height: 1.15em;
    color: var(--amber);
}

.hero__slogan {
    max-width: 32ch;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    line-height: 1.5;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero__where {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.hero__where .icon { width: 1.1em; height: 1.1em; color: var(--amber-deep); }
.hero__dot { color: var(--line-2); margin-inline: 0.25rem; }

.hero__art {
    position: relative;
    justify-self: end;
}

/* ---------- Карусель блюд на первом экране -------------------------- */

.shots {
    position: relative;
    width: 426px;
    max-width: 42vw;
}

.shots__track {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
    /* Кадры одного размера, поэтому высота ленты при листании не скачет. */
    aspect-ratio: 3 / 4;
    background: var(--surface-2);
}

.shots__track::-webkit-scrollbar { display: none; }

.shots__item {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

.shots__item picture { display: block; height: 100%; }

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

/* Стрелки и точки листаются скриптом — без него ленту крутят пальцем. */
.shots__arrow,
.shots__dots { display: none; }

.shots.is-ready .shots__arrow { display: grid; }

.shots.is-ready .shots__dots {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.75rem;
}

.shots__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: rgba(18, 17, 16, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s var(--ease), color 0.2s var(--ease),
                border-color 0.2s var(--ease);
}

.shots__arrow--prev { left: 0.6rem; }
.shots__arrow--next { right: 0.6rem; }

.shots__arrow .icon { width: 1.1rem; height: 1.1rem; }

/* Стрелки проявляются, когда посетитель подводит курсор к карусели
   или доходит до них клавишей Tab. */
.shots:hover .shots__arrow,
.shots:focus-within .shots__arrow { opacity: 1; }

.shots__arrow:hover:not(:disabled) {
    color: var(--amber);
    border-color: var(--amber-deep);
}

.shots__dot {
    width: 0.4rem;
    height: 0.4rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--line-2);
    cursor: pointer;
    transition: background 0.2s var(--ease), width 0.2s var(--ease);
}

.shots__dot.is-active {
    width: 1.1rem;
    border-radius: 0.2rem;
    background: var(--amber);
}

/* ---------- Лента страниц печатного меню ---------------------------- */

.mstrip {
    width: 100%;
    /* Лента живёт в текстовой колонке первого экрана: ширину берём от
       родителя, а не от вьюпорта, иначе на десктопе она заедет под коллаж. */
    max-width: 34rem;
}

.mstrip__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.mstrip__label {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.mstrip__hint {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--muted-2);
}

/* Стрелки и точки — надстройка над лентой: без JS листать нечем,
   поэтому показываем их только после инициализации. */
.mstrip__nav,
.mstrip__dots { display: none; }

.mstrip.is-ready .mstrip__nav { display: flex; gap: 0.35rem; }
.mstrip.is-ready .mstrip__dots { display: flex; gap: 0.3rem; margin-top: 0.6rem; }

.mstrip__arrow {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mstrip__arrow .icon { width: 1rem; height: 1rem; }

.mstrip__arrow:hover:not(:disabled) {
    color: var(--amber);
    border-color: var(--line-2);
}

.mstrip__arrow:disabled { opacity: 0.35; cursor: default; }

.mstrip__track {
    display: flex;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* Тень карточек не должна срезаться краем прокручиваемой области. */
    padding-block: 2px;
}

.mstrip__track::-webkit-scrollbar { display: none; }

.mstrip__item {
    flex: 0 0 auto;
    width: clamp(6.5rem, 24vw, 8.25rem);
    scroll-snap-align: start;
}

.mshot {
    display: block;
    position: relative;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.mshot:hover,
.mshot:focus-visible {
    transform: translateY(-2px);
    border-color: var(--amber-deep);
}

.mshot img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 914 / 1280;
    object-fit: cover;
    object-position: top center;
}

/* Подпись лежит поверх нижнего края страницы меню — так карточка
   остаётся ровным прямоугольником в любой строке текста. */
.mshot__caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.4rem 0.5rem 0.4rem;
    background: linear-gradient(to top, rgba(18, 17, 16, 0.95) 45%, transparent);
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: var(--text);
}

.mstrip__dot {
    width: 0.4rem;
    height: 0.4rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--line-2);
    cursor: pointer;
    transition: background 0.2s var(--ease), width 0.2s var(--ease);
}

.mstrip__dot.is-active {
    width: 1.1rem;
    border-radius: 0.2rem;
    background: var(--amber);
}

/* ---------- Страница меню во весь экран ----------------------------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    animation: box-in 0.2s var(--ease);
}

.lightbox[hidden] { display: none; }

@keyframes box-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 8, 0.94);
    backdrop-filter: blur(6px);
}

.lightbox__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem var(--gutter);
    background: linear-gradient(to bottom, rgba(10, 9, 8, 0.85), transparent);
}

.lightbox__caption {
    flex: 1 1 auto;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 2.4vw, 1.15rem);
    font-weight: 600;
    color: var(--text);
}

.lightbox__count {
    margin: 0;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
}

.lightbox__stage {
    position: relative;
    display: grid;
    /* Строку задаём явно. С автоматической высотой она растянулась бы под
       натуральный размер снимка (1280 px), и max-height: 100% у картинки
       считался бы от неё же — страница меню вылезала бы за нижний край. */
    grid-template-rows: minmax(0, 1fr);
    place-items: center;
    padding: 0 var(--gutter) 1.25rem;
    overflow: auto;
    overscroll-behavior: contain;
}

.lightbox__img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

/* Приближённый вид: картинка в натуральную величину, область прокручивается.
   Иначе цены на снятой странице не прочитать с телефона. */
.lightbox.is-zoomed .lightbox__stage { place-items: start; }

.lightbox.is-zoomed .lightbox__img {
    max-width: none;
    max-height: none;
    width: auto;
    cursor: zoom-out;
}

.lightbox__btn {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(26, 25, 24, 0.9);
    color: var(--text);
    cursor: pointer;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lightbox__btn:hover { color: var(--amber); border-color: var(--line-2); }
.lightbox__btn .icon { width: 1.25rem; height: 1.25rem; }

.lightbox__btn--close { position: relative; flex: 0 0 auto; }

.lightbox__btn--prev,
.lightbox__btn--next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.lightbox__btn--prev { left: max(0.5rem, calc(var(--gutter) / 2)); }
.lightbox__btn--next { right: max(0.5rem, calc(var(--gutter) / 2)); }

.lightbox__zoomhint {
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(26, 25, 24, 0.8);
    font-size: 0.72rem;
    color: var(--muted);
    pointer-events: none;
    transition: opacity 0.25s var(--ease);
}

.lightbox.is-zoomed .lightbox__zoomhint,
.lightbox.is-hushed .lightbox__zoomhint { opacity: 0; }

/* Пока окно открыто, страница под ним не прокручивается. */
body.is-boxed { overflow: hidden; }

/* ---------- Хиты --------------------------------------------------- */

.hits {
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
    border-block: 1px solid var(--line);
    background: var(--surface);
}

.hits__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.hits__title .icon { color: var(--red); }

/* Лента выходит за колонку контента вправо — так видно, что её можно
   прокрутить. Первая плитка при этом стоит ровно по колонке. */
.hits__rail {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-inline: var(--rail-pad);
    padding-bottom: 0.4rem;
    scrollbar-width: none;

    /* Без этого примагничивание тянет первую плитку к самому краю
       контейнера, игнорируя padding, и лента съезжает влево. */
    scroll-padding-inline: var(--rail-pad);
}

.hits__rail::-webkit-scrollbar { display: none; }

.hit {
    flex: none;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 10.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    transition: border-color 0.2s, transform 0.15s var(--ease);
}

.hit:hover {
    border-color: var(--amber);
    transform: translateY(-2px);
}

.hit__category {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.hit__name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.25;
}

.hit__price {
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--amber);
}

.hit__price i { font-style: normal; margin-left: 0.15em; opacity: 0.7; }
.hit__from { font-family: var(--font-body); font-size: 0.7rem; color: var(--muted); margin-right: 0.15rem; }

/* ---------- Заголовки секций --------------------------------------- */

.section-title {
    font-size: clamp(1.9rem, 5vw, 2.9rem);
    font-weight: 800;
}

.section-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- Меню --------------------------------------------------- */

.menu { padding-top: clamp(2.5rem, 6vw, 4rem); }

.menu__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.menu__tools {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.search {
    position: relative;
    display: flex;
    align-items: center;
}

.search .icon {
    position: absolute;
    left: 0.8rem;
    color: var(--muted-2);
    pointer-events: none;
}

.search__input {
    width: min(17rem, 60vw);
    padding: 0.62rem 2.2rem 0.62rem 2.5rem;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--text);
    font: inherit;
    font-size: 0.9rem;
}

.search__input::placeholder { color: var(--muted-2); }
.search__input:focus { outline: none; border-color: var(--amber); }
.search__input::-webkit-search-cancel-button { display: none; }

.search__clear {
    position: absolute;
    right: 0.45rem;
    width: 1.6rem;
    height: 1.6rem;
    border: 0;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
}

.search__clear:hover { color: var(--text); }

/* Вкладки категорий: липнут под шапкой, прокручиваются вбок */
.tabs {
    position: sticky;
    top: var(--topbar-h);
    z-index: 30;
    background: rgba(18, 17, 16, 0.9);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-block: 1px solid var(--line);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.tabs__rail {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding: 0.6rem var(--rail-pad);
    scroll-padding-inline: var(--rail-pad);
    scrollbar-width: none;
}

.tabs__rail::-webkit-scrollbar { display: none; }

.tab {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.tab .icon { width: 1.1em; height: 1.1em; }

.tab:hover { color: var(--text); background: var(--surface-2); }

.tab.is-active {
    color: #1a1200;
    background: var(--amber);
    border-color: var(--amber);
}

.tab.is-active .icon { color: #1a1200; }

/* Категория выпала из результатов поиска — вкладка гаснет,
   но остаётся на месте: лента не прыгает. */
.tab.is-empty {
    opacity: 0.32;
    pointer-events: none;
}

/* --- Категория --- */

.cat {
    --accent: var(--amber);
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
    border-top: 1px solid var(--line);
}

.cat:first-of-type { border-top: 0; padding-top: 0; }
.cat--red { --accent: var(--red); }

.cat__head { margin-bottom: 1.4rem; }

.cat__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: clamp(1.35rem, 3.4vw, 1.9rem);
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.cat__title .icon { width: 1.15em; height: 1.15em; }

.cat__subtitle {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--muted);
}

/* --- Блюдо --- */

.dishes {
    display: grid;
    gap: 1.35rem;
}

@media (min-width: 860px) {
    .dishes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(2rem, 5vw, 4rem);
    }
}

.dish { min-width: 0; }

.dish__head {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.dish__name {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1.25;
}

/* Пунктир от названия к цене — приём из печатного меню. */
.dish__leader {
    flex: 1 1 auto;
    min-width: 1.5rem;
    border-bottom: 1px dotted var(--line-2);
    transform: translateY(-0.28em);
}

.dish--multi .dish__head { flex-wrap: wrap; }

.dish__weight,
.dish__unit {
    flex: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-2);
    white-space: nowrap;
}

.dish__price {
    flex: none;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.dish__price i,
.variant__price i,
.addon__price i {
    font-style: normal;
    margin-left: 0.12em;
    color: var(--muted-2);
}

.dish__desc {
    margin-top: 0.3rem;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--muted);
    max-width: 44ch;
}

.badge {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.15em 0.45em;
    border-radius: 5px;
    background: rgba(255, 184, 0, 0.16);
    color: var(--amber);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    vertical-align: 0.18em;
}

/* --- Варианты цены (мини / стандарт / XL) --- */

.variants {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

.variant {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
}

.variant__label {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.variant__price {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
}

/* --- Добавки --- */

.addons {
    margin-top: 1.75rem;
    padding: 1.1rem 1.25rem;
    border: 1px dashed var(--line-2);
    border-radius: var(--radius);
    background: rgba(255, 244, 230, 0.02);
}

.addons__title {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.addons__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.addon {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    background: var(--surface-2);
    font-size: 0.82rem;
}

.addon__label { color: var(--muted); }
.addon__price { font-weight: 700; color: var(--amber); }

.menu__empty {
    padding: 2.5rem 0;
    text-align: center;
    color: var(--muted);
}

.menu__empty a { color: var(--amber); font-weight: 700; }

/* ---------- Контакты ----------------------------------------------- */

.contacts {
    padding-block: clamp(3rem, 8vw, 5.5rem);
    border-top: 1px solid var(--line);
}

.contacts__inner {
    display: grid;
    gap: clamp(1.75rem, 5vw, 3.5rem);
    align-items: start;
}

@media (min-width: 900px) {
    .contacts__inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}

.facts {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.75rem;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.fact dt {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.fact dt .icon { width: 1.1em; height: 1.1em; color: var(--amber-deep); }
.fact dd { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.fact__muted { font-size: 0.85rem; font-weight: 400; color: var(--muted); }

.phone-block {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 2rem;
    padding: 1.1rem 1.4rem;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    transition: border-color 0.2s, transform 0.15s var(--ease);
}

.phone-block:hover { border-color: var(--amber); transform: translateY(-2px); }

.phone-block__hint {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.phone-block__value {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 4vw, 1.8rem);
    font-weight: 700;
    color: var(--amber);
}

.messengers {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.messenger {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    transition: border-color 0.2s, transform 0.15s var(--ease);
}

.messenger:hover { border-color: var(--line-2); transform: translateY(-2px); }
.messenger .icon { width: 1.5em; height: 1.5em; }
.messenger--tg .icon { color: #34a4dd; }
.messenger--max .icon { color: var(--amber); }

.messenger__stack { display: flex; flex-direction: column; line-height: 1.25; }
.messenger__name { font-weight: 700; }
.messenger__hint { font-size: 0.78rem; color: var(--muted); }

.map {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-2);

    /* Пропорцию задаём только через aspect-ratio. Связка с min-height
       раздувала ширину на узких экранах: браузер увеличивал ширину,
       чтобы удержать 4:3 при насильно заданной высоте. */
    aspect-ratio: 4 / 3;
    max-width: 100%;
}

/* Пока карта на всю ширину экрана, квадрат читается лучше вытянутого. */
@media (max-width: 899px) {
    .map { aspect-ratio: 1 / 1; }
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.map__placeholder .icon { width: 2rem; height: 2rem; color: var(--amber-deep); }

/* ---------- Подвал ------------------------------------------------- */

.footer {
    padding-block: 2.5rem;
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.footer__meta {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--muted);
}

.footer__copy { font-size: 0.8rem; color: var(--muted-2); }

/* ---------- Липкая панель связи (мобильные) ------------------------ */

.actionbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    display: none;
    gap: 0.5rem;
    padding: 0.5rem var(--gutter);
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(18, 17, 16, 0.92);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-top: 1px solid var(--line);
}

.actionbar__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0.25rem;
    border-radius: 12px;
    background: var(--surface-2);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
}

.actionbar__btn .icon { width: 1.3em; height: 1.3em; }

.actionbar__btn--primary {
    background: var(--amber);
    color: #1a1200;
    font-weight: 700;
}

/* ---------- Адаптив ------------------------------------------------ */

/* На широких мониторах колонка в 1180 px оставляет полэкрана пустоты,
   а коллаж на первом экране повисает посреди чёрного поля. Расширяем
   сетку ступенями — текстовые блоки при этом остаются в своих пределах
   по ширине строки. */
@media (min-width: 1600px) {
    :root { --wrap: 1360px; }
}

@media (min-width: 2000px) {
    :root { --wrap: 1520px; }

    .shots { width: 500px; }
    .hero__glow { width: min(900px, 85vw); }
}

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

@media (max-width: 1023px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr); }

    .hero__art {
        order: -1;
        justify-self: center;
    }

    .shots {
        width: min(300px, 62vw);
        max-width: none;
    }

    .hero__content { align-items: flex-start; }
}

@media (max-width: 720px) {
    :root { --topbar-h: 54px; }

    .topbar__phone span { display: none; }
    .topbar__phone { padding-inline: 0.65rem; }

    .actionbar { display: flex; }

    /* Освобождаем место под липкой панелью связи. */
    body { padding-bottom: 4.75rem; }

    .wordmark__tagline { display: none; }
    .wordmark--hero .wordmark__tagline { display: inline; }

    .menu__head { align-items: stretch; }
    .menu__tools { flex-wrap: wrap; }
    .search__input { width: 100%; }
    .search { flex: 1 1 12rem; }

    .hero__actions { width: 100%; }
    .hero__actions .btn { flex: 1 1 100%; justify-content: flex-start; }

    /* Стрелки над лентой на телефоне лишние — она листается пальцем.
       В полноэкранном окне стрелки оставляем: свайпа там мало,
       когда страница увеличена и тянется в стороны. */
    .mstrip.is-ready .mstrip__nav { display: none; }
    .mstrip__hint { display: none; }

    /* Карусель блюд на телефоне листается пальцем — стрелки убираем. */
    .shots.is-ready .shots__arrow { display: none; }

    .lightbox__btn--prev,
    .lightbox__btn--next { width: 2.2rem; height: 2.2rem; opacity: 0.75; }

    .footer__inner { flex-direction: column; align-items: flex-start; }
}

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

/* ---------- Печать: чистое меню на бумаге --------------------------- */

@media print {
    :root { --text: #000; --muted: #444; --muted-2: #666; --line: #ccc; --line-2: #999; }

    body { background: #fff; color: #000; padding: 0; }

    .topbar, .tabs, .actionbar, .hero__art, .hero__glow,
    .hits, .map, .menu__tools, .skip-link,
    .mstrip, .lightbox { display: none !important; }

    .cat { break-inside: avoid; border-top: 1px solid #ccc; }
    .dish { break-inside: avoid; }
    .cat__title, .hit__price, .dish__price, .addon__price { color: #000; }
    a { text-decoration: none; }
}
