/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные переменные */
:root {
    --dark-bg: #0b0a09;
    --darker-bg: #060504;
    --red-accent: #e0322f;
    --red-accent-hover: #f04945;
    --red-accent-light: #f3a8a2;
    --gold: #cda35a;
    --gold-soft: rgba(205, 163, 90, 0.45);
    --text-primary: #f5f1ec;
    --text-secondary: #a8a199;
    --text-muted: #6f685f;
    --border-color: #221f1c;
    --card-bg: #141210;
    --card-hover: #1b1815;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 22px 48px -16px rgba(0, 0, 0, 0.7);
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-card: 14px;
}

/* Основные стили */
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка с liquid glass эффектом */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem;
}

/* На главной (меню) шапка прокручивается, а липкой остаётся навигация категорий */
.menu-home .header {
    position: relative;
}

.glass-container {
    position: relative;
    background: rgba(16, 14, 12, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.glass-container:hover {
    border-color: rgba(205, 163, 90, 0.28);
    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 20, 20, 0.05) 0%,
        rgba(10, 10, 10, 0.1) 50%,
        rgba(15, 15, 15, 0.03) 100%
    );
    opacity: 0.6;
    animation: liquidFlow 8s ease-in-out infinite;
}

@keyframes liquidFlow {
    0%, 100% {
        background: linear-gradient(
            135deg,
            rgba(20, 20, 20, 0.05) 0%,
            rgba(10, 10, 10, 0.1) 50%,
            rgba(15, 15, 15, 0.03) 100%
        );
    }
    25% {
        background: linear-gradient(
            135deg,
            rgba(10, 10, 10, 0.08) 0%,
            rgba(25, 25, 25, 0.06) 50%,
            rgba(10, 10, 10, 0.12) 100%
        );
    }
    50% {
        background: linear-gradient(
            135deg,
            rgba(15, 15, 15, 0.04) 0%,
            rgba(10, 10, 10, 0.08) 50%,
            rgba(20, 20, 20, 0.08) 100%
        );
    }
    75% {
        background: linear-gradient(
            135deg,
            rgba(10, 10, 10, 0.12) 0%,
            rgba(15, 15, 15, 0.04) 50%,
            rgba(10, 10, 10, 0.06) 100%
        );
    }
}

.header .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo.centered {
    justify-content: flex-start;
    align-items: center;
    margin-right: 4rem;
}

.logo-icon {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}



.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.04em;
    position: relative;
    margin: 0;
}

.logo .tagline {
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 500;
    display: block;
    margin-top: 0.1rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}


/* ===== Обложка меню ===== */
.cover {
    position: relative;
    overflow: hidden;
    padding: clamp(2.75rem, 7vw, 5.5rem) 0 clamp(2.25rem, 5vw, 3.75rem);
    border-bottom: 1px solid var(--border-color);
}

.cover-bg {
    position: absolute;
    inset: -20%;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 45% at 25% 15%, rgba(224, 50, 47, 0.22), transparent 60%),
        radial-gradient(ellipse 50% 45% at 80% 25%, rgba(205, 163, 90, 0.12), transparent 58%),
        radial-gradient(ellipse 60% 50% at 60% 95%, rgba(224, 50, 47, 0.12), transparent 60%);
    pointer-events: none;
    animation: coverGlow 18s ease-in-out infinite alternate;
}

@keyframes coverGlow {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(2.5%, -1.5%, 0) scale(1.08); }
    100% { transform: translate3d(-2.5%, 1.5%, 0) scale(1.04); }
}

/* Парящие «искры» */
.cover::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(205, 163, 90, 0.5) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(224, 50, 47, 0.4) 1px, transparent 1.6px);
    background-size: 130px 130px, 190px 190px;
    background-position: 0 0, 70px 90px;
    opacity: 0.16;
    animation: emberDrift 26s linear infinite;
}

@keyframes emberDrift {
    from { background-position: 0 0, 70px 90px; }
    to   { background-position: 0 -520px, 70px -670px; }
}

.cover-deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cover-deco img {
    position: absolute;
    width: clamp(180px, 26vw, 320px);
    opacity: 0.12;
    filter: grayscale(30%);
}

.cover-deco .deco-1 { top: 8%; right: -3%; animation: decoFloatA 12s ease-in-out infinite; }
.cover-deco .deco-2 { bottom: -10%; left: -4%; animation: decoFloatB 14s ease-in-out infinite; }

@keyframes decoFloatA {
    0%, 100% { transform: rotate(8deg) translateY(0); }
    50% { transform: rotate(6deg) translateY(-14px); }
}

@keyframes decoFloatB {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(14px); }
}

/* Появление контента обложки */
.cover-inner > * {
    opacity: 0;
    transform: translateY(16px);
    animation: coverIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cover-eyebrow { animation-delay: 0.05s; }
.cover-title { animation-delay: 0.14s; }
.cover-lead { animation-delay: 0.23s; }
.cover-meta { animation-delay: 0.32s; }
.cover-actions { animation-delay: 0.41s; }

@keyframes coverIn {
    to { opacity: 1; transform: none; }
}

.cover-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.cover-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.cover-eyebrow::before,
.cover-eyebrow::after {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--gold-soft);
}

.cover-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.25rem);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin: 0 0 1.1rem;
    color: var(--text-primary);
}

.cover-lead {
    max-width: 620px;
    margin: 0 auto 1.75rem;
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    font-weight: 300;
}

.cover-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 1.4rem;
    margin-bottom: 2rem;
    font-size: 0.86rem;
    color: var(--text-secondary);
}

.cover-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.cover-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

.cover-meta-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.cover-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary svg,
.btn-ghost svg { width: 18px; height: 18px; }

.btn-primary {
    color: #fff;
    border: 1px solid rgba(224, 50, 47, 0.6);
    background: linear-gradient(135deg, var(--red-accent), #a81916);
    box-shadow: 0 10px 26px rgba(224, 50, 47, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(224, 50, 47, 0.4);
}

.btn-ghost {
    color: var(--text-primary);
    border: 1px solid rgba(205, 163, 90, 0.4);
    background: transparent;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    background: rgba(205, 163, 90, 0.08);
}

/* ===== Док трёх секций (премиум-переключатель) ===== */
.menu-dock {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 0.9rem 20px;
    background: rgba(11, 10, 9, 0.92);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    border-bottom: 1px solid rgba(205, 163, 90, 0.12);
}

.menu-dock-inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    max-width: 740px;
    margin: 0 auto;
    padding: 0.4rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(0, 0, 0, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 36px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.menu-dock-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(205, 163, 90, 0.45), transparent);
    pointer-events: none;
    z-index: 2;
}

.menu-dock-glow,
.menu-dock-glider {
    position: absolute;
    top: 0.4rem;
    left: 0;
    height: calc(100% - 0.8rem);
    width: 0;
    border-radius: 16px;
    pointer-events: none;
    transition:
        transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1),
        width 0.5s cubic-bezier(0.34, 1.2, 0.64, 1),
        background 0.45s ease,
        box-shadow 0.45s ease;
    will-change: transform, width;
}

.menu-dock-glow {
    z-index: 0;
    filter: blur(14px);
    opacity: 0.55;
    background: linear-gradient(135deg, rgba(224, 50, 47, 0.9), rgba(168, 25, 22, 0.95));
}

.menu-dock-glider {
    z-index: 1;
    background: linear-gradient(145deg, rgba(224, 50, 47, 0.95), rgba(140, 20, 18, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 10px 28px rgba(224, 50, 47, 0.35);
}

.menu-dock-glider::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 45%);
    pointer-events: none;
}

.menu-dock-inner[data-active="bar"] .menu-dock-glow {
    background: linear-gradient(135deg, rgba(205, 163, 90, 0.85), rgba(160, 120, 50, 0.9));
}

.menu-dock-inner[data-active="bar"] .menu-dock-glider {
    background: linear-gradient(145deg, rgba(205, 163, 90, 0.95), rgba(140, 105, 45, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 10px 28px rgba(205, 163, 90, 0.32);
}

.menu-dock-inner[data-active="kitchen"] .menu-dock-glow {
    background: linear-gradient(135deg, rgba(224, 50, 47, 0.55), rgba(205, 163, 90, 0.75));
}

.menu-dock-inner[data-active="kitchen"] .menu-dock-glider {
    background: linear-gradient(145deg, rgba(190, 75, 55, 0.95), rgba(150, 95, 40, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 10px 28px rgba(190, 75, 55, 0.3);
}

.dock-tab {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 0.45rem 0.65rem;
    border: none;
    border-radius: 16px;
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    cursor: pointer;
    transition: color 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
    -webkit-tap-highlight-color: transparent;
}

.dock-tab:hover:not(.is-active) {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.dock-tab.is-active {
    color: #fff;
    transform: translateY(-1px);
}

.dock-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold);
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.dock-tab-icon svg {
    width: 17px;
    height: 17px;
    display: block;
    flex-shrink: 0;
}

.dock-tab.is-active .dock-tab-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transform: scale(1.06);
}

.dock-tab-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.08rem;
}

.dock-tab-num {
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    opacity: 0.55;
    transition: opacity 0.35s ease, letter-spacing 0.35s ease;
}

.dock-tab.is-active .dock-tab-num {
    opacity: 0.95;
    letter-spacing: 0.26em;
}

.dock-tab-label {
    font-size: 0.86rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: letter-spacing 0.35s ease;
}

.dock-tab.is-active .dock-tab-label {
    letter-spacing: 0.1em;
}

.dock-tab-sub {
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    opacity: 0.65;
    transition: opacity 0.35s ease;
}

.dock-tab.is-active .dock-tab-sub {
    opacity: 0.9;
}

@media (max-width: 520px) {
    .menu-dock {
        padding: 0.7rem 12px;
    }

    .menu-dock-inner {
        gap: 0.28rem;
        padding: 0.32rem;
        border-radius: 16px;
    }

    .menu-dock-glow,
    .menu-dock-glider {
        top: 0.32rem;
        height: calc(100% - 0.64rem);
        border-radius: 13px;
    }

    .dock-tab {
        padding: 0.55rem 0.2rem 0.5rem;
        gap: 0.25rem;
    }

    .dock-tab-icon {
        width: 24px;
        height: 24px;
        border-radius: 8px;
    }

    .dock-tab-icon svg {
        width: 13px;
        height: 13px;
    }

    .dock-tab-num {
        font-size: 0.54rem;
    }

    .dock-tab-label {
        font-size: 0.72rem;
        letter-spacing: 0.05em;
    }

    .dock-tab-sub {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu-dock-glow,
    .menu-dock-glider,
    .dock-tab,
    .dock-tab-icon {
        transition-duration: 0.01ms;
    }
}

/* ===== Сцена меню ===== */
.menu-stage {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) 20px 4rem;
    min-height: 55vh;
}

.menu-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 700px);
    height: 280px;
    background: radial-gradient(ellipse, rgba(205, 163, 90, 0.07), transparent 70%);
    pointer-events: none;
}

.menu-zone {
    display: none;
    position: relative;
}

.menu-zone.is-active {
    display: block;
    animation: zoneEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes zoneEnter {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.zone-head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.zone-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
}

.zone-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 200;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    margin: 0;
}

/* ===== Консоль: рельс категорий + одна панель ===== */
.menu-console {
    display: grid;
    grid-template-columns: 172px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.category-rail {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.45rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.cat-pill {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.65rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.cat-pill:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.cat-pill.is-active {
    color: var(--text-primary);
    border-color: rgba(205, 163, 90, 0.35);
    background: linear-gradient(90deg, rgba(205, 163, 90, 0.12), transparent);
    box-shadow: inset 3px 0 0 var(--gold);
}

.cat-pill-num {
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--gold);
    opacity: 0.85;
}

.cat-pill-label {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.25;
}

/* Обёртка рельса — подсказка свайпа на мобиле */
.category-rail-wrap {
    position: relative;
    min-width: 0;
}

.rail-fade {
    display: none;
    pointer-events: none;
}

.category-rail-hint {
    display: none;
    margin: 0;
}

.menu-canvas {
    position: relative;
    min-height: 200px;
    min-width: 0;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)),
        rgba(12, 11, 10, 0.6);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

.menu-canvas::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(224, 50, 47, 0.08), transparent 70%);
    pointer-events: none;
}

.menu-panel {
    display: none;
}

.menu-panel.is-visible {
    display: block;
    animation: panelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes panelIn {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: none; }
}

.menu-panel .category-title {
    display: none;
}

/* Паровые — отдельные карточки */
.steam-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 680px;
    margin: 0 auto;
}

.steam-card {
    display: flex;
    flex-direction: column;
    min-height: 168px;
    padding: 1.15rem 1.1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(205, 163, 90, 0.22);
    background:
        radial-gradient(ellipse at 15% 0%, rgba(205, 163, 90, 0.12), transparent 58%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.steam-card--fruit {
    border-color: rgba(224, 50, 47, 0.22);
    background:
        radial-gradient(ellipse at 85% 0%, rgba(224, 50, 47, 0.1), transparent 58%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.steam-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    min-width: 0;
}

.steam-card-tag {
    flex: 1;
    min-width: 0;
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.steam-card--fruit .steam-card-tag {
    color: var(--red-accent-light);
}

.steam-card-price {
    flex-shrink: 0;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--gold);
    background: rgba(205, 163, 90, 0.12);
    border: 1px solid rgba(205, 163, 90, 0.32);
    font-variant-numeric: tabular-nums;
}

.steam-card--fruit .steam-card-price {
    color: var(--red-accent-light);
    background: rgba(224, 50, 47, 0.12);
    border-color: rgba(224, 50, 47, 0.32);
}

.steam-card-title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}

.steam-card-desc {
    margin: 0;
    margin-top: auto;
    font-size: 0.76rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-muted);
}

@media (hover: hover) {
    .steam-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    }

    .steam-card:hover {
        border-color: rgba(205, 163, 90, 0.38);
    }

    .steam-card--fruit:hover {
        border-color: rgba(224, 50, 47, 0.38);
    }
}

@media (max-width: 640px) {
    .steam-showcase {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        max-width: 100%;
    }

    .steam-card {
        min-height: auto;
        padding: 1rem 0.95rem 0.95rem;
    }

    .steam-card-head {
        margin-bottom: 0.6rem;
    }

    .steam-card-title {
        font-size: 0.95rem;
    }

    .steam-card-price {
        font-size: 0.72rem;
        padding: 0.28rem 0.6rem;
    }
}

/* Подразделы */
.menu-category {
    margin-bottom: 0;
    scroll-margin-top: 120px;
}

.category-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Переключатель вкусов — капсула */
.cocktail-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0 0 1.1rem;
    padding: 0.28rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    max-width: 100%;
}

.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.85rem;
    background: transparent;
    border: none;
    border-radius: 9px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.toggle-btn:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }

.toggle-btn.active {
    background: rgba(205, 163, 90, 0.18);
    color: var(--gold);
    box-shadow: none;
}

.toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.toggle-icon svg { width: 15px; height: 15px; display: block; }

.toggle-text { font-weight: 400; letter-spacing: 0.04em; }

.cocktail-section { display: none; }
.cocktail-section.active { display: block; animation: dishFade 0.35s ease; }

@keyframes dishFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

/* ===== Карточки позиций — ровная сетка ===== */
.menu-panel .menu-grid,
.menu-panel .menu-grid.compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    align-items: stretch;
}

.menu-panel .menu-item,
.menu-panel .menu-item.compact {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 108px;
    height: 100%;
    padding: 0.9rem 0.95rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.menu-panel .menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-panel .item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.55rem;
    margin-bottom: 0.45rem;
    padding-right: 0;
    min-height: 2rem;
}

.menu-panel .item-header::before {
    display: none;
}

.menu-panel .item-name {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.35;
    padding: 0;
    background: none;
    letter-spacing: 0.01em;
    color: var(--text-primary);
}

.menu-panel .item-price {
    position: static;
    flex-shrink: 0;
    align-self: flex-start;
    margin: 0;
    padding: 0.28rem 0.6rem;
    min-width: 3.25rem;
    text-align: center;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    background: rgba(205, 163, 90, 0.14);
    border: 1px solid rgba(205, 163, 90, 0.35);
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}

/* Бейдж «Новинка» */
.item-badge--new {
    display: inline-flex;
    align-items: center;
    gap: 0.28em;
    vertical-align: middle;
    margin-left: 0.5rem;
    transform: translateY(-0.1em);
    padding: 0.16rem 0.5rem 0.16rem 0.46rem;
    border-radius: 999px;
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    background: linear-gradient(135deg, var(--red-accent), #a81916);
    border: 1px solid rgba(224, 50, 47, 0.55);
    box-shadow: 0 3px 10px rgba(224, 50, 47, 0.32);
    animation: badgeNewPulse 2.6s ease-in-out infinite;
}

.item-badge--new::before {
    content: '';
    width: 0.38em;
    height: 0.38em;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

@keyframes badgeNewPulse {
    0%, 100% { box-shadow: 0 3px 10px rgba(224, 50, 47, 0.30); }
    50% { box-shadow: 0 3px 16px rgba(224, 50, 47, 0.58); }
}

@media (prefers-reduced-motion: reduce) {
    .item-badge--new { animation: none; }
}

.menu-panel .item-description {
    margin: 0;
    flex: 1;
    font-size: 0.74rem;
    font-weight: 300;
    line-height: 1.45;
    color: var(--text-muted);
    max-width: 100%;
}

@media (hover: hover) {
    .menu-panel .menu-item:hover {
        border-color: rgba(205, 163, 90, 0.28);
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
    }

    .menu-panel .menu-item:hover::before {
        opacity: 1;
    }
}

/* Мобильная вёрстка меню */
@media (max-width: 900px) {
    .menu-stage {
        padding: 1.25rem 16px 3.5rem;
    }

    .menu-console {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .category-rail-wrap {
        margin: 0 -2px;
    }

    .category-rail-wrap.has-scroll .rail-fade {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        width: 2.25rem;
        z-index: 2;
    }

    .category-rail-wrap.has-scroll .rail-fade--left {
        left: 0;
        background: linear-gradient(90deg, rgba(11, 10, 9, 0.95), transparent);
    }

    .category-rail-wrap.has-scroll .rail-fade--right {
        right: 0;
        background: linear-gradient(270deg, rgba(11, 10, 9, 0.95), transparent);
    }

    .category-rail-wrap.has-scroll.at-start .rail-fade--left {
        opacity: 0;
    }

    .category-rail-wrap.has-scroll.at-end .rail-fade--right {
        opacity: 0;
    }

    .category-rail-wrap.has-scroll + .category-rail-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        font-size: 0.68rem;
        font-weight: 300;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .category-rail-hint .hint-chevron {
        color: var(--gold);
        font-size: 0.9rem;
        line-height: 1;
        animation: hintPulse 1.8s ease-in-out infinite;
    }

    .category-rail-hint .hint-chevron:last-child {
        animation-delay: 0.9s;
    }

    @keyframes hintPulse {
        0%, 100% { opacity: 0.35; transform: translateX(0); }
        50% { opacity: 1; transform: translateX(2px); }
    }

    .category-rail-hint .hint-chevron:first-child {
        animation-direction: reverse;
    }

    .category-rail {
        position: static;
        top: auto;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        gap: 0.4rem;
        padding: 0.45rem 1.5rem 0.45rem 0.45rem;
        mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent 100%);
    }

    .category-rail-wrap.at-end .category-rail {
        mask-image: none;
        -webkit-mask-image: none;
        padding-right: 0.45rem;
    }

    .category-rail::-webkit-scrollbar {
        display: none;
    }

    .cat-pill {
        flex: 0 0 auto;
        width: auto;
        min-height: 2.5rem;
        scroll-snap-align: start;
        padding: 0.55rem 0.9rem;
        white-space: nowrap;
    }

    .cat-pill.is-active {
        box-shadow: inset 0 -2px 0 var(--gold);
    }

    .menu-canvas {
        padding: 0.9rem;
        border-radius: 16px;
    }

    .cocktail-toggle {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        gap: 0.3rem;
        padding: 0.3rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
    }

    .cocktail-toggle::-webkit-scrollbar {
        display: none;
    }

    .toggle-btn {
        flex: 0 0 auto;
        justify-content: center;
        min-width: 0;
        padding: 0.5rem 0.65rem;
        font-size: 0.7rem;
    }

    .toggle-icon {
        display: none;
    }
}

@media (max-width: 640px) {
    .menu-dock {
        padding: 0.65rem 12px;
    }

    .menu-dock-inner {
        max-width: 100%;
    }

    .dock-tab {
        padding: 0.6rem 0.35rem;
    }

    .dock-tab-label {
        font-size: 0.8rem;
    }

    .dock-tab-sub {
        display: none;
    }

    .zone-head {
        margin-bottom: 1.1rem;
    }

    .zone-title {
        font-size: 1.55rem;
    }

    .menu-panel .menu-grid,
    .menu-panel .menu-grid.compact {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .menu-panel .menu-item {
        min-height: auto;
        padding: 0.85rem 0.8rem 0.8rem;
        overflow: hidden;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .menu-panel .item-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        min-height: auto;
        padding-right: 0;
    }

    .menu-panel .item-name {
        font-size: 0.88rem;
        padding-right: 0;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .menu-panel .item-price {
        align-self: flex-end;
        min-width: auto;
        max-width: 100%;
        padding: 0.24rem 0.5rem;
        font-size: 0.7rem;
    }

    .floating-widget {
        bottom: 1.15rem;
        right: 1rem;
    }

    .booking-btn {
        padding: 0.7rem 1rem 0.7rem 0.7rem;
        gap: 0.55rem;
    }

    .booking-kicker {
        display: none;
    }

    .booking-text {
        font-size: 0.8rem;
    }
}

@media (min-width: 901px) {
    .category-rail-hint,
    .rail-fade {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .toggle-btn {
        font-size: 0.65rem;
        padding: 0.45rem 0.4rem;
    }

    .cat-pill-label {
        font-size: 0.72rem;
    }
}

/* Заголовки старых секций */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-weight: 200;
    color: var(--text-primary);
    margin: 0 0 1.75rem;
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-note {
    margin: -1.1rem auto 1.9rem;
    max-width: 540px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.55;
}

/* Список позиций (вне зон / fallback) */
.menu-grid,
.menu-grid.compact {
    display: block;
    margin: 0;
}

/* Список позиций (fallback) */
.menu-item,
.menu-item.compact {
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--border-color);
    background: none;
    border-radius: 0;
}

.menu-panel .menu-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.item-header {
    display: flex;
    align-items: flex-end;
    position: relative;
    margin-bottom: 0.3rem;
}

.item-header::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.42rem;
    border-bottom: 1px dotted rgba(168, 161, 153, 0.42);
    z-index: 0;
}

.item-name {
    position: relative;
    z-index: 1;
    margin: 0;
    padding-right: 0.6rem;
    background: var(--dark-bg);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.005em;
}

.item-price {
    position: relative;
    z-index: 1;
    margin-left: auto;
    padding-left: 0.6rem;
    background: var(--dark-bg);
    flex-shrink: 0;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--gold);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.item-description {
    margin: 0;
    max-width: 94%;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.5;
}

@media (hover: hover) {
    .menu-panel .menu-item:hover {
        padding-left: 0.95rem;
    }
}

/* ===== Виджет бронирования ===== */
.floating-widget {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-ring {
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 1px solid rgba(205, 163, 90, 0.35);
    opacity: 0;
    animation: bookingRipple 2.8s ease-out infinite;
    pointer-events: none;
}

.booking-ring--delay {
    animation-delay: 1.4s;
}

.booking-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.35rem 0.85rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(224, 50, 47, 0.96), rgba(150, 22, 20, 0.98));
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 400;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 36px rgba(224, 50, 47, 0.38),
        0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    animation: bookingFloat 4s ease-in-out infinite;
}

.booking-btn:hover {
    transform: translateY(-3px) scale(1.03);
    animation: none;
    border-color: rgba(205, 163, 90, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 18px 44px rgba(224, 50, 47, 0.48),
        0 0 24px rgba(205, 163, 90, 0.15);
}

.booking-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.booking-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.booking-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.booking-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding-right: 0.15rem;
}

.booking-kicker {
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.85);
}

.booking-text {
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    white-space: nowrap;
    line-height: 1.2;
}

@keyframes bookingFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes bookingRipple {
    0% { transform: scale(1); opacity: 0.55; }
    70% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.18); opacity: 0; }
}

/* ===== Модалка бронирования ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: rgba(6, 5, 4, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: min(100%, 420px);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        rgba(14, 12, 11, 0.96);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(205, 163, 90, 0.5), transparent);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-heading {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.modal-kicker {
    font-size: 0.62rem;
    font-weight: 300;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

.modal-header h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.modal-close svg {
    width: 16px;
    height: 16px;
    display: block;
}

.modal-close:hover {
    background: rgba(224, 50, 47, 0.12);
    border-color: rgba(224, 50, 47, 0.3);
    color: var(--red-accent-light);
}

.modal-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.modal-lead {
    margin: 0 0 1.25rem;
    font-size: 0.86rem;
    font-weight: 300;
    line-height: 1.55;
    color: var(--text-secondary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.05rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-item:hover {
    border-color: rgba(205, 163, 90, 0.22);
    background: rgba(205, 163, 90, 0.04);
    transform: none;
}

.contact-item--phone {
    border-color: rgba(224, 50, 47, 0.15);
    background: rgba(224, 50, 47, 0.04);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    margin-top: 0;
    border-radius: 10px;
    background: rgba(205, 163, 90, 0.1);
    color: var(--gold);
}

.contact-item--phone .contact-icon {
    background: rgba(224, 50, 47, 0.12);
    color: var(--red-accent-light);
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.contact-details h4 {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-details p {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.45;
    color: var(--text-primary);
}

.contact-item:not(.contact-item--phone) .contact-details p {
    margin-bottom: 0;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(224, 50, 47, 0.4);
    background: linear-gradient(145deg, rgba(224, 50, 47, 0.95), rgba(150, 22, 20, 0.98));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(224, 50, 47, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.call-btn svg {
    width: 15px;
    height: 15px;
    display: block;
}

.call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(224, 50, 47, 0.38);
}

/* Форма онлайн-брони */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.booking-label {
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.booking-field input {
    width: 100%;
    padding: 0.72rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.28);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.booking-field input:focus {
    outline: none;
    border-color: rgba(205, 163, 90, 0.45);
    box-shadow: 0 0 0 3px rgba(205, 163, 90, 0.1);
}

.booking-field input::placeholder {
    color: var(--text-muted);
}

.booking-field input::-webkit-calendar-picker-indicator {
    filter: invert(0.75);
    cursor: pointer;
}

.booking-form-error {
    margin: 0;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(224, 50, 47, 0.35);
    background: rgba(224, 50, 47, 0.08);
    color: var(--red-accent-light);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.45;
}

.booking-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.82rem 1.2rem;
    border: 1px solid rgba(224, 50, 47, 0.45);
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(224, 50, 47, 0.95), rgba(150, 22, 20, 0.98));
    color: #fff;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(224, 50, 47, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.booking-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(224, 50, 47, 0.38);
}

.booking-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.booking-submit--ghost {
    width: auto;
    min-width: 160px;
    background: transparent;
    border-color: rgba(205, 163, 90, 0.35);
    color: var(--gold);
    box-shadow: none;
}

.booking-submit--ghost:hover:not(:disabled) {
    background: rgba(205, 163, 90, 0.08);
    box-shadow: none;
}

.booking-submit.is-loading .booking-submit-text {
    opacity: 0.65;
}

.booking-submit-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bookingSpin 0.7s linear infinite;
}

.booking-submit.is-loading .booking-submit-loader {
    display: block;
}

@keyframes bookingSpin {
    to { transform: rotate(360deg); }
}

.booking-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.booking-alt-label {
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.call-btn--compact {
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
}

.booking-success {
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}

.booking-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(205, 163, 90, 0.12);
    border: 1px solid rgba(205, 163, 90, 0.35);
    color: var(--gold);
}

.booking-success-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.booking-success-title {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-primary);
}

.booking-success-text {
    margin: 0 auto 1.25rem;
    max-width: 320px;
    font-size: 0.86rem;
    font-weight: 300;
    line-height: 1.55;
    color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
    .booking-btn,
    .booking-ring,
    .booking-submit-loader {
        animation: none;
    }
}

/* ===== Подвал ===== */
.footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #100d0b 0%, #070605 100%);
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 70% at 12% 0%, rgba(224, 50, 47, 0.12), transparent 60%),
        radial-gradient(ellipse 45% 60% at 92% 8%, rgba(205, 163, 90, 0.08), transparent 55%);
    animation: footerGlow 14s ease-in-out infinite alternate;
}

@keyframes footerGlow {
    from { transform: translateX(-3%) scale(1); opacity: 0.85; }
    to { transform: translateX(3%) scale(1.06); opacity: 1; }
}

.footer .container { position: relative; z-index: 1; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col-brand { max-width: 340px; }

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo img { width: 46px; height: 46px; border-radius: 10px; }

.footer-logo span { display: flex; flex-direction: column; line-height: 1.1; }

.footer-logo strong {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: 0.06em;
}

.footer-logo em {
    font-style: normal;
    font-size: 0.64rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.2rem;
}

.footer-about {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.1rem;
}

.rating { display: flex; align-items: center; gap: 0.5rem; }

.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    color: var(--gold);
}

.rating-stars svg { width: 16px; height: 16px; display: block; }

.rating-score { color: var(--text-primary); font-size: 1.05rem; font-weight: 700; }

.rating-count { color: var(--text-muted); font-size: 0.85rem; }

.footer-title {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 1.15rem;
}

.footer-links,
.footer-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover { color: var(--text-primary); padding-left: 0.3rem; }

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.45;
}

.footer-contacts svg {
    width: 17px;
    height: 17px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.12rem;
}

.footer-contacts a { color: var(--text-primary); text-decoration: none; transition: color 0.2s ease; }

.footer-contacts a:hover { color: var(--gold); }

.footer-book { margin-top: 1.3rem; font-size: 0.85rem; padding: 0.7rem 1.2rem; }

.footer-socials { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.social-link svg { width: 18px; height: 18px; }

.social-link:hover {
    color: var(--text-primary);
    border-color: rgba(205, 163, 90, 0.4);
    background: rgba(205, 163, 90, 0.08);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; margin: 0; }

.footer-note { font-style: italic; }

@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-col-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 0.75rem;
    }
    
    .header .container {
        padding: 1.25rem 1.5rem;
    }
    
    .glass-container {
        border-radius: 16px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .logo {
        gap: 0.75rem;
    }
    
    /* Обложка на планшетах */
    .cover-lead {
        font-size: 0.96rem;
    }

    .cover-meta {
        gap: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.75rem;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo.centered {
        justify-content: center;
        margin-right: 0;
    }
    
    /* Обложка / меню на телефонах */
    .cover-deco { display: none; }

    .cover-eyebrow {
        letter-spacing: 0.22em;
        margin-bottom: 1rem;
    }

    .cover-lead {
        font-size: 0.92rem;
    }

    .cover-actions {
        width: 100%;
    }

    .btn-primary,
    .btn-ghost {
        flex: 1 1 auto;
        justify-content: center;
    }

    .menu-dock {
        padding: 0.65rem 14px;
    }

    .menu-cat { padding-left: 16px; padding-right: 16px; }

    .dish-name { font-size: 1rem; }

    .dish-desc { max-width: 100%; font-size: 0.85rem; }
}

/* Дополнительные анимации для glass эффекта */
@keyframes glassShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.glass-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Эффект при прокрутке */
.header.scrolled .glass-container {
    background: rgba(10, 10, 10, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.header.scrolled .glass-background {
    opacity: 0.8;
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--red-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-accent-hover);
}

/* Планшет и мобилка — виджет бронирования */
@media (max-width: 768px) {
    .floating-widget {
        bottom: 1.15rem;
        right: 1rem;
        z-index: 1001;
    }

    .booking-btn {
        padding: 0.65rem 0.95rem 0.65rem 0.65rem;
        animation: none;
    }

    .booking-btn:hover {
        transform: translateY(-2px) scale(1.02);
    }

    .booking-kicker {
        display: none;
    }

    .booking-text {
        font-size: 0.78rem;
    }

    .booking-icon {
        width: 36px;
        height: 36px;
    }

    .booking-icon svg {
        width: 16px;
        height: 16px;
    }

    .modal-content {
        width: min(100%, 400px);
    }

    .modal-header {
        padding: 1.15rem 1.25rem 0.95rem;
    }

    .modal-body {
        padding: 1.1rem 1.25rem 1.35rem;
    }
    
    /* Footer Tablet */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand h3 {
        font-size: 1.75rem;
    }
    
    .rating {
        gap: 0.6rem;
    }
    
    .rating-stars {
        font-size: 1.1rem;
    }
    
    .rating-score {
        font-size: 1.35rem;
    }
    
    .footer-contact .contact-item {
        padding: 0.6rem 0.9rem;
    }
    
    .footer-contact .contact-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .floating-widget {
        bottom: 1rem;
        right: 0.85rem;
    }

    .booking-copy {
        display: none;
    }

    .booking-btn {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .booking-icon {
        width: 100%;
        height: 100%;
        background: transparent;
        box-shadow: none;
    }

    .booking-icon svg {
        width: 20px;
        height: 20px;
    }

    .booking-ring {
        inset: -5px;
        border-radius: 50%;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    .contact-item {
        padding: 0.9rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .call-btn {
        padding: 0.55rem 0.95rem;
        font-size: 0.8rem;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand h3 {
        font-size: 1.75rem;
    }
    
    .rating {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .rating-stars {
        font-size: 1rem;
    }
    
    .rating-score {
        font-size: 1.25rem;
    }
    
    .footer-contact {
        gap: 0.75rem;
    }
    
    .footer-contact .contact-item {
        padding: 0.5rem 0.75rem;
        justify-content: center;
    }
    
    .footer-contact .contact-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-contact .contact-text {
        font-size: 0.9rem;
    }
}

/* Шапка: навигация (главная + кабинет) */
.header .container.header-bar {
    justify-content: space-between;
}

.header-brand {
    text-decoration: none;
    color: inherit;
}

.header-brand.logo.centered {
    margin-right: 0;
    justify-content: flex-start;
}

.header-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.header-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-nav-link:hover {
    color: var(--text-primary);
    border-color: rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.08);
}

/* Профиль в шапке (авторизованный гость) */
.header-profile-mount {
    display: inline-flex;
    align-items: center;
}

.header-profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.65rem 0.35rem 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    max-width: min(220px, 58vw);
}

.header-profile-chip:hover {
    border-color: rgba(220, 38, 38, 0.45);
    background: rgba(220, 38, 38, 0.1);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.12);
}

.header-profile-avatar-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(220, 38, 38, 0.45);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    background: var(--card-bg);
}

.header-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-profile-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05rem;
    min-width: 0;
}

.header-profile-name {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.header-profile-sub {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 480px) {
    .header-profile-name {
        max-width: 100px;
    }

    .header-profile-chip {
        padding: 0.3rem 0.5rem 0.3rem 0.35rem;
        gap: 0.5rem;
    }

    .header-profile-avatar-wrap {
        width: 36px;
        height: 36px;
    }
}

.admin-crosslink {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-section .admin-crosslink {
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.admin-crosslink a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.admin-crosslink a:hover {
    color: var(--red-accent);
}

@media (max-width: 600px) {
    .header .container.header-bar {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
        text-align: center;
    }

    .header-brand.logo.centered {
        justify-content: center;
    }

    .header-nav {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.85rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        box-sizing: border-box;
    }
}

/* Выделение текста */
::selection {
    background: var(--red-accent);
    color: white;
}

/* Появление блоков при прокрутке */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Появление карточек блюд */
.dish-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.dish-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Плавная прокрутка по якорям */
html {
    scroll-behavior: smooth;
}

/* Уважение к настройкам «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal,
    .dish-reveal { opacity: 1; transform: none; }

    .menu-zone.is-active { animation: none; }

    .cover-inner > * { opacity: 1; transform: none; }

    html { scroll-behavior: auto; }
}
