/*
Theme Name: Ресторан на Советской
Author: ST. Basis Mea
Version: 1.0
*/

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

:root {
    --red: #DF2626;
    --dark-red: #96281b;
    --dark: #1a1a1a;
    --charcoal: #2c2c2c;
    --warm-gray: #f5f3f0;
    --mid-gray: #888;
    --light: #fff;
    --border: #e0dbd5;
    --text: #333;
    --site-max: 1720px;
}

/* Кастомизация полос прокрутки */
/* Для WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #72787E;
    border-radius: 6px;
    border: 2px solid var(--dark);
}

::-webkit-scrollbar-thumb:hover {
    background: #c41c1c;
}

/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #72787E var(--dark);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

#sidebar {
    display: none;
}

.primary-btn {
    background: var(--red);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.5s;
    border: none;
    cursor: pointer;
}

.primary-btn:hover {
    transform: scale(1.05);
}

.woocommerce-breadcrumb {
    z-index: 5 !important;
    color: white !important;
    margin-top: 20px !important;
    font-size: 18px !important;
}

.woocommerce-breadcrumb > a {
    color: #DF2626 !important;
    text-decoration: none !important;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 72px;
    transition: background-color 0.4s ease-in-out;
    /* плавность здесь */
}

#nav.scrolled {
    background-color: rgb(0 0 0 / 57%);
    backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 48px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    height: 48px;
    object-fit: contain;
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-links > li {
    list-style-type: none;
}

.nav-links > li > a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    background: var(--red);
    color: #fff !important;
    padding: 13px 22px;
    border-radius: 4px;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s !important;
    position: relative;
}

.nav-cta:hover {
    background: var(--dark-red) !important;
    color: #fff !important;
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 10px;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: none;
}

.nav-cta.has-items .cart-count-badge {
    display: inline-block;
}

.nav-phone {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-weight: 600;
    text-decoration: none;
}

.nav-phone > a {
	color: rgba(255, 255, 255, 0.7) !important;
	text-decoration: none !important;
}

.nav-phone i {
    color: var(--red);
}

.nav-contacts {
    font-size: 26px;
    position: absolute;
    bottom: 20px;
}

.menu-toggle {
    cursor: pointer;
    transition: 0.5s;
    color: white;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.menu-toggle>i {
    border: 1px solid #ffffff29;
    padding: 10px;
    border-radius: 4px;
    font-size: 20px;
    background: #08080894;
    color: white;
    width: 45px;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.nav-menu-toggle {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    z-index: 100000;

    /* Вместо удаления display, используем эти свойства */
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Чтобы меню не перекрывало кнопки, пока оно прозрачное */

    /* Добавляем visibility в transition, чтобы оно ждало окончания анимации opacity */
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0.4s;
}

.nav-menu-toggle.active {
    /* display: flex; <-- УДАЛЯЕМ ОТСЮДА */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Включаем клики обратно */
}

.nav-menu-toggle-content {
    width: 30%;
    padding: 20px;
    background: #1a1a1af7;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    z-index: 3;
    height: 100%;
    transform: translateX(-100%);
    /* Плавный возврат тоже будет работать */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu-toggle.active .nav-menu-toggle-content {
    transform: translateX(0);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .nav-menu-toggle-content {
        width: 80%;
        padding: 20px 24px;
    }
    .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    .nav-links > li > a {
        font-size: 18px;
        padding: 12px 0;
    }
    .close-nav-menu {
        font-size: 24px;
        top: 20px;
        right: 24px;
    }
}

.nav-menu-toggle-bg {
    background: url(https://restoran-na-sovetskoy.ru/wp-content/uploads/2026/07/Коралловый.webp);
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2;
}

.close-nav-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: white;
    z-index: 3;
}

/* ── HERO ── */
.hero {
    height: 100vh;
    min-height: 640px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
}

.hero-page {
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
    flex-direction: column;
	background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-page > h1 {
    color: white;
    font-size: 42px;
    z-index: 5;
}

.logo-hero {
    z-index: 1;
    max-width: 400px;
    width: 100%;
    transition: 1s;
}

.logo-hero:hover {
    max-width: 500px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://restoran-na-sovetskoy.ru/wp-content/uploads/2026/05/qWhEksM_HJKV8VDbfK3bIF6fD8DanaXAO8fbMsQiYKUgUIiKnVzc_-j8_CyggOPwI0L5hfOrJ3BpA-hkWWxyZJfN.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(20, 10, 10, 0.78) 40%, rgba(20, 10, 10, 0.35) 100%);
}

.particle {
    position: absolute;
    background: linear-gradient(90deg, #ffffff5e, #ccc);
    border-radius: 70%;
    pointer-events: none;
    mix-blend-mode: screen;
    /* эффект свечения */
}

.arrow-scroll {
    z-index: 1;
    position: absolute;
    bottom: 50px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    color: #dbdbdb;
    cursor: pointer;
    animation: pulse-fade 2s infinite;
    opacity: 0.7;
    transition: 0.5s;
}

.arrow-scroll:hover {
    color: white;
    opacity: 1;
}

@keyframes pulse-fade {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--site-max);
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192, 57, 43, 0.22);
    border: 1px solid rgba(192, 57, 43, 0.5);
    color: #f5a89a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 680px;
}

.hero-title span {
    color: var(--red);
    font-style: italic;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 44px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--red);
    color: #fff;
    padding: 15px 36px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    padding: 15px 36px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
    position: absolute;
    bottom: 52px;
    right: 48px;
    display: flex;
    gap: 40px;
    z-index: 2;
}

.stat {
    text-align: center;
    color: #fff;
}

.stat-num {
    font-family: 'Inter', sans-serif;
    font-size: 55px;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ── SECTION COMMONS ── */
section {
    padding: 96px 0;
    border-top: 1px solid #9a9ea040;
}

.container {
    max-width: var(--site-max);
    margin: 0 auto !important;
    padding: 0 48px;
    width: 100%;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-sub {
    color: var(--mid-gray);
    font-size: 16px;
    line-height: 1.65;
}

.section-header {
    margin-bottom: 56px;
}

/* ── ABOUT ── */
.about {
    background: var(--warm-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-img {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-img:first-child {
    margin-top: 40px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-img:hover img {
    transform: scale(1.04);
}

.about-text .section-sub {
    max-width: 100%;
    margin-bottom: 10px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}

.about-features-block {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-top: 32px;
    text-align: center;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(192, 57, 43, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--red);
    font-size: 16px;
}

.feature-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 13px;
    color: var(--mid-gray);
    line-height: 1.5;
}

/* ── MENU ── */
.menu-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mid-gray);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s;
    letter-spacing: 0.03em;
}

.tab-btn.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

.tab-btn:hover {
    color: var(--dark);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    min-height: 410px;
}

.menu-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    transition: box-shadow 0.25s, transform 0.25s;
}

.menu-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.menu-card-img {
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.5s;
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.06);
}

.menu-card-body {
    padding: 22px 24px;
    height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-card-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.menu-card-name,.menu-card-name > a {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    text-decoration: none;
}

.menu-card-desc {
    font-size: 13px;
    color: var(--mid-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eeeeee;
    padding-top: 12px;
}

.menu-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.menu-price span {
    font-size: 13px;
    font-weight: 400;
    color: var(--mid-gray);
}

/* карточка в архивах */

.menu-card-product {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    transition: box-shadow 0.25s, transform 0.25s;
    height: 100%;
}

.woocommerce-Price-amount.amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.menu-card-product:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* ── GALLERY ── */
.gallery {
    background: var(--dark);
    padding: 96px 0;
}

.gallery .section-title {
    color: #fff;
}

.gallery .section-label {
    color: #f5a89a;
}

.gallery .section-sub {
    color: rgba(255, 255, 255, 0.55);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 260px 260px;
    gap: 12px;
}

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(192, 57, 43, 0.25);
}

.gallery-item-overlay i {
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-overlay i {
    opacity: 1;
}

/* ── POSTER SLIDER ── */
.poster-slider {
    padding: 100px 0;
    background: var(--warm-gray);
    overflow: hidden;
}

.poster-slider .section-label {
    color: var(--red);
}

.poster-slider-container {
    position: relative;
    margin-top: 60px;
}

/* Swiper контейнер */
.poster-swiper {
    overflow: visible;
    padding: 20px 0;
}

.poster-slide {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.poster-image {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.poster-slide:hover {
    transform: scale(1.02);
}

.poster-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 30px 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.poster-info {
    flex: 1;
}

.poster-date {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
}

.poster-title {
    font-size: 22px;
    font-weight: 700;
    margin: 5px 0;
    line-height: 1.3;
}

.poster-desc {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

.poster-zoom {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.3s;
}

.poster-slide:hover .poster-zoom {
    background: rgba(255, 255, 255, 0.3);
}

.poster-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.poster-slider-prev,
.poster-slider-next {
    background: var(--dark);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.poster-slider-prev:hover,
.poster-slider-next:hover {
    background: var(--red);
    transform: scale(1.1);
}

.poster-slider-dots {
    display: flex;
    gap: 12px;
}

.poster-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.poster-dot.active {
    background: var(--red);
    transform: scale(1.2);
}

.poster-dot:hover {
    background: #aaa;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px !important;
}

/* ── FULLSCREEN OVERLAY ── */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-overlay.active {
    display: flex;
    opacity: 1;
}

.fullscreen-image-container {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.fullscreen-close {
    position: absolute;
    top: -50px;
    right: -50px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.fullscreen-close:hover {
    color: var(--red);
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.fullscreen-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.fullscreen-prev {
    left: 30px;
}

.fullscreen-next {
    right: 30px;
}

.fullscreen-caption {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 18px;
    padding: 15px;
}

.in-cart {
    background: #4CAF50;
}

/* Адаптивность для слайдера */
@media (max-width: 1200px) {
    .poster-slide {
        /* Swiper управляет шириной */
    }
}

@media (max-width: 768px) {
    .poster-slider {
        padding-bottom: 0 !important;
    }
    
    .poster-slide {
        /* Swiper управляет шириной */
    }
    
    .poster-image {
        height: 350px;
    }
    
    .fullscreen-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .fullscreen-prev {
        left: 10px;
    }
    
    .fullscreen-next {
        right: 10px;
    }
    
    .fullscreen-close {
        top: -40px;
        right: 10px;
        font-size: 30px;
    }

    .menu-card-body {
        height: auto;
    }
}

/* ── EVENTS ── */
.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.event-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 380px;
}

.event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-card:hover img {
    transform: scale(1.05);
}

.event-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(20 10 10 / 57%) 15%, transparent 100%);
}

.event-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
}

.event-tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.event-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.25;
}

.event-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* ── CTA BANNER ── */
.cta-banner {
    background: #1a1a1a;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.fon-cta {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 300px;
    right: 0;
    transform: rotate(45deg);
    background: url(https://restoran-na-sovetskoy.ru/wp-content/uploads/2026/07/Креатив-без-названия-6-scaled.webp);
    background-size: cover;
    background-position: center;
    z-index: 1;
    border: 3px solid white;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.55;
}

.cta-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-input {
    padding: 14px 20px;
    border-radius: 4px;
    border: 1px solid #ffffff4d;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background: rgb(0 0 0 / 51%);
    color: #fff;
    outline: none;
    min-width: 400px;
    transition: background 0.2s;
}

.cta-input::placeholder {
    color: rgba(255, 255, 255, 0.821);
}

.cta-input:focus {
    background: rgba(0, 0, 0, 0.588);
}

.btn-white {
    background: #fff;
    color: var(--red);
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

/* ── TESTIMONIALS ── */
.testimonials {
    background: var(--warm-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    border: 1px solid var(--border);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.stars i {
    color: #e8b84b;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.author-date {
    font-size: 12px;
    color: var(--mid-gray);
    margin-top: 2px;
}

/* ── CONTACTS ── */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(192, 57, 43, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--red);
    font-size: 18px;
}

.contact-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 5px;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.45;
}

.contact-value a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: var(--red);
}

.map-placeholder {
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
    background: #e8e4de;
    position: relative;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ── BOOKING FORM ── */
.booking {
    background: var(--dark);
}

.booking .section-title {
    color: #fff;
}

.booking .section-label {
    color: #f5a89a;
}

.booking .section-sub {
    color: rgba(255, 255, 255, 0.55);
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: end;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 36px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(192, 57, 43, 0.6);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group select option {
    background: #2c2c2c;
    color: #fff;
}

/* ── FOOTER ── */
footer {
    background: #111;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 56px;
}

.footer-brand img {
    height: 52px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.1);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.178);
    background: rgb(0 0 0 / 74%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255 255 255);
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
}

.social-link:hover {
    background: var(--red);
    color: #fff;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

/* ── DIVIDER ── */
.divider {
    width: 60px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin: 20px 0 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1400px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .nav-inner {
        padding: 0 32px;
    }

    .container {
        padding: 0 32px;
    }

    .hero-content {
        padding: 0 32px;
    }

    .hero-stats {
        right: 32px;
        gap: 28px;
    }

    .about-grid {
        gap: 48px;
    }

    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }

    .footer-grid .footer-col:last-child {
        grid-column: span 1;
    }
}

@media (max-width: 1024px) {
    .nav-inner {
        padding: 0 24px;
        gap: 16px;
    }

    .nav-links {
        gap: 16px;
    }

    .container {
        padding: 0 24px;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-stats {
        right: 24px;
        gap: 24px;
    }

    .hero-stats .stat-num {
        font-size: 28px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-images {
        max-width: 560px;
    }

    .menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .events-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .events-grid .event-card:last-child {
        grid-column: span 2;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-placeholder {
        height: 320px;
    }

    .booking-form {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    nav {
        height: 64px;
    }

    .nav-inner {
        padding: 0 20px;
    }

    .nav-left .nav-links,
    .nav-right .nav-links {
        display: none;
    }

    /*.nav-phone {
        display: none;
    }*/

    #nav > div > div.nav-left > div > span {
        display: none;
    }

    .nav-phone i {
        border: 1px solid #ffffff29;
        padding: 10px;
        border-radius: 4px;
        font-size: 20px;
        background: #08080894;
        width: 45px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-stats {
        display: none;
    }

    .container {
        padding: 0 20px;
    }

    .about-images {
        max-width: 100%;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-features-block {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .menu-tabs {
        overflow-x: auto;
        white-space: nowrap;
        overflow-y: hidden;
        padding-bottom: 15px;
        border: none;
    }

    .menu-tabs::-webkit-scrollbar {
        display: none;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gallery-item:first-child {
        grid-column: span 2;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .events-grid .event-card:last-child {
        grid-column: span 1;
    }

    .event-card {
        height: 300px;
    }

    .cta-inner {
        flex-direction: column;
        gap: 28px;
    }

    .cta-form {
        width: 100%;
        flex-direction: column;
    }

    .cta-input {
        min-width: unset;
        width: 100%;
    }

    .btn-white {
        width: 100%;
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
    }

    .booking-form {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 20px;
    }

    .booking-form .btn-primary {
        width: 100%;
        justify-content: center;
        height: auto;
        padding: 15px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    section {
        padding: 56px 0 !important;
    }

    .cta-banner {
        padding: 56px 0;
    }

    .logo-hero {
        max-width: 250px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .poster-slider-container {
        margin-top: 0;
    }

    .hero-page > h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 38px;
    }

    /*.nav-left {
        display: none;
    }*/

    .hero-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gallery-item:first-child {
        grid-column: span 1;
    }

    .gallery-grid {
        grid-template-rows: auto;
    }

    .contacts-grid {
        gap: 32px;
    }

    .map-placeholder {
        height: 260px;
    }

    .section-title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 12px 18px;
        font-size: 13px;
    }

    .menu-toggle {
        font-size: 0;
    }

    .nav-contacts {
        font-size: 18px;
    }
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--red);
    z-index: 200;
    transition: width 0.1s linear;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Staggered children inside reveal */
.reveal.visible .menu-card:nth-child(1),
.reveal.visible .testimonial-card:nth-child(1),
.reveal.visible .event-card:nth-child(1),
.reveal.visible .feature-item:nth-child(1) {
    transition-delay: 0s;
}

.reveal.visible .menu-card:nth-child(2),
.reveal.visible .testimonial-card:nth-child(2),
.reveal.visible .event-card:nth-child(2),
.reveal.visible .feature-item:nth-child(2) {
    transition-delay: 0.08s;
}

.reveal.visible .menu-card:nth-child(3),
.reveal.visible .testimonial-card:nth-child(3),
.reveal.visible .event-card:nth-child(3),
.reveal.visible .feature-item:nth-child(3) {
    transition-delay: 0.16s;
}

.reveal.visible .feature-item:nth-child(4) {
    transition-delay: 0.24s;
}

.menu-card,
.testimonial-card,
.event-card,
.feature-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, translateY 0.25s;
}

.feature-item-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid #F0E0DC;
    border-radius: 10px;
}

.reveal.visible .menu-card,
.reveal.visible .testimonial-card,
.reveal.visible .event-card,
.reveal.visible .feature-item {
    opacity: 1;
    transform: none;
}

/* ── NAV LINK UNDERLINE ANIMATION ── */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ── HERO PARTICLES ── */
#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    width: 50% !important;
    right: 0;
    left: auto;
    height: 100%;
}

/* ── HERO CONTENT ENTRANCE ── */
.hero-badge {
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-title {
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.hero-sub {
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

.hero-actions {
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.64s both;
}

.hero-stats {
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.76s both;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── STAT COUNTER ── */
.stat-num {
    transition: color 0.3s;
}

/* ── SECTION LABEL SLIDE ── */
.section-label {
    overflow: hidden;
    position: relative;
}

/* ── CTA INPUT FOCUS GLOW ── */
.cta-input {
    transition: background 0.2s, box-shadow 0.2s;
}

.cta-input:focus {
    background: rgba(0, 0, 0, 0.588);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.18);
}

/* ── FORM INPUT FOCUS GLOW ── */
.form-group input:focus,
.form-group select:focus {
    border-color: rgba(192, 57, 43, 0.6);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

/* ── SOCIAL LINK BOUNCE ── */
.social-link {
    transition: background 0.2s, color 0.2s, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

/* ── BUTTON RIPPLE ── */
.btn-primary,
.btn-outline,
.btn-white {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-outline::after,
.btn-white::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}

.btn-primary:active::after,
.btn-outline:active::after,
.btn-white:active::after {
    opacity: 1;
}

/* ── GALLERY ITEM SCALE ── */
.gallery-item {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 2;
}

/* ── LOGO SUBTLE PULSE ── */
.nav-logo img {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-logo img:hover {
    transform: scale(1.06);
}

/* ── TAB INDICATOR SLIDE ── */
.menu-tabs {
    position: relative;
}

.tab-indicator {
    position: absolute;
    bottom: -2px;
    height: 2px;
    background: var(--red);
    transition: left 0.3s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 2px;
}

/* ── MENU QUALITY BADGE ── */
.menu-quality-badge {
    position: absolute;
    top: 20px;
    right: 50px;
    width: 220px;
    height: 220px;
    pointer-events: none;
    z-index: 10;
}

.menu-quality-badge svg {
    width: 100%;
    height: 100%;
    animation: rotateBadge 14s linear infinite;
}

.menu-quality-badge .badge-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-quality-badge .badge-center i {
    color: var(--red);
    font-size: 55px;
    animation: pulseBadge 2.5s ease-in-out infinite;
}

.text-link-icon {
	display: flex;
    width: fit-content;
    gap: 10px;
    align-items: center;
	text-decoration: none;
    color: #1A1A1A;
    border-bottom: 1px solid #1A1A1A;
    padding-bottom: 3px;
    transition: 0.5s;
    font-size: 16px;
}

.text-link-icon:hover {
	transform: translateX(7px); 
	color: #DF2626;
	border-color: #DF2626;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateBadge {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseBadge {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

#menu {
    position: relative;
}

@media (max-width: 768px) {
    .menu-quality-badge {
        width: 80px;
        height: 80px;
        right: 20px;
        top: 8px;
    }

    .menu-quality-badge .badge-center i {
        font-size: 25px;
    }
}

/* Модальное окно оформления заказа (компактное) */
.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.order-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.order-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.order-modal__container {
    position: relative;
    background: #fff;
    border-radius: 4px;
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    color: black;
}

.order-modal__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.order-modal__close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}

.order-modal__close:hover {
    color: var(--red);
}

.order-modal__content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 10px;
}

.order-modal__compact-cart h3,
.order-modal__compact-checkout h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--red);
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-modal__compact-cart h3 i,
.order-modal__compact-checkout h3 i {
    color: var(--red);
}

.order-modal__cart-items,
.order-modal__checkout-form {
    background: var(--warm-gray);
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
}

/* Стили для компактной корзины WooCommerce */
.order-modal__cart-items table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.order-modal__cart-items table.shop_table th {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}

.order-modal__cart-items table.shop_table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.order-modal__cart-items .quantity input {
    width: 60px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.order-modal__cart-items .remove {
    color: var(--red);
    text-decoration: none;
}

.order-modal__cart-items .cart-subtotal,
.order-modal__cart-items .order-total {
    font-weight: bold;
    text-align: right;
}

/* Стили для формы оформления заказа */
.order-modal__checkout-form .woocommerce-checkout {
    font-size: 14px;
}

.order-modal__checkout-form .form-row {
    margin-bottom: 15px;
}

.order-modal__checkout-form input,
.order-modal__checkout-form textarea,
.order-modal__checkout-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.order-modal__checkout-form .woocommerce-button {
    background: var(--red);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background 0.3s;
}

.order-modal__checkout-form .woocommerce-button:hover {
    background: var(--dark-red);
}

.order-modal__footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.order-modal__note a {
    color: var(--red);
    text-decoration: underline;
}

/* Стили для кастомной корзины */
.cart-loading,
.cart-empty,
.cart-error {
    text-align: center;
    padding: 20px;
    color: #666;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px;
    background: white;
    border-radius: 8px;
    border: 1px solid #eee;
}

.cart-item__image {
    display: flex;
}

.cart-item__image img {
    width: 60px;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item__details {
    flex: 1;
}

.cart-item__name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 15px;
}

.cart-item__meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.cart-item__actions {
    height: 60px;
}

.cart-item__subtotal {
    font-weight: bold;
    color: var(--dark);
}

.cart-item__actions button {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
    transition: color 0.2s;
}

.cart-item__actions button:hover {
    color: var(--dark-red);
}

.order-modal__cart-total {
    text-align: right;
    font-size: 18px;
    padding: 0 0 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.order-modal__cart-total strong {
    margin-right: 10px;
}

/* Стили для кастомной формы */
.order-modal__checkout-form .form-row {
    margin-bottom: 18px;
}

.order-modal__checkout-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
}

.order-modal__checkout-form input,
.order-modal__checkout-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: border 0.3s;
}

.order-modal__checkout-form input:focus,
.order-modal__checkout-form textarea:focus {
    border-color: var(--red);
    outline: none;
}

.order-modal__checkout-form > button {
    width: 100%;
}

.order-modal__checkout-form .primary-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Стили для select */
.order-modal__checkout-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    background-color: white;
    cursor: pointer;
    transition: border 0.3s;
}

.order-modal__checkout-form select:focus {
    border-color: var(--red);
    outline: none;
}

.swiper-pagination-bullet-active {
    background: #DF2626 !important;
}

.faq-image {
	height: 100%;
}

.faq-image > img {
	width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Адаптация для мобильных */
@media (max-width: 600px) {
    .order-modal__container {
        width: 98%;
        max-height: 95vh;
        max-width: 95%;
    }
    .order-modal__header {
        padding: 15px 20px;
    }
    .order-modal__title {
        font-size: 18px;
    }
    .order-modal__content {
        padding: 20px;
    }
    .order-modal__compact-cart h3,
    .order-modal__compact-checkout h3 {
        font-size: 16px;
    }
    .order-modal__cart-items,
    .order-modal__checkout-form {
        padding: 15px;
    }
    .cart-item {
        padding: 10px;
        gap: 10px;
    }
    .cart-item__image img {
        width: 50px;
        height: 50px;
    }
    .cart-item__name {
        font-size: 14px;
    }
}
/* Адаптивность для новых блоков */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .faq-list {
        margin: 0 !important;
    }

    .faq-item {
        padding: 10px 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
    .achievement-item-horizontal {
        flex-direction: column;
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .faq-question {
        align-items: flex-start !important;
    }
    .info-card {
        padding: 24px;
    }
}
/* Адаптивность для блока доставки и оплаты */
@media (max-width: 768px) {
    .delivery-payment-info .info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .delivery-payment-info .section-header {
        margin-bottom: 30px;
    }
    .delivery-payment-info .info-card {
        padding: 24px;
    }
    .delivery-payment-info .additional-note {
        padding: 16px;
        font-size: 14px;
    }
}

/* ── HALLS SLIDER (страница "О ресторане") ── */
.halls-slider-section {
    background: var(--warm-gray);
    padding: 96px 0;
    overflow: hidden;
}

.halls-slider-section .section-label {
    color: var(--red);
}

.halls-swiper {
    overflow: visible;
    padding: 20px 0;
}

.halls-slide {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: auto;
    display: flex;
    flex-direction: column;
}

.halls-slide:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.halls-slide-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.halls-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.halls-slide:hover .halls-slide-image img {
    transform: scale(1.06);
}

.halls-slide-body {
    padding: 28px 30px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.halls-slide-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.halls-slide-desc {
    font-size: 14px;
    color: var(--mid-gray);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.halls-slide-capacity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    background: rgba(223, 38, 38, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    width: fit-content;
}

.halls-slide-capacity i {
    font-size: 14px;
}

/* Навигация слайдера залов */
.halls-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.halls-slider-prev,
.halls-slider-next {
    background: #1a1a1a99;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.halls-slider-prev:hover,
.halls-slider-next:hover {
    background: var(--red);
    transform: scale(1.1);
}

.halls-slider-dots {
    display: none;
    gap: 12px;
}

.halls-slider-dots .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    opacity: 1;
}

.halls-slider-dots .swiper-pagination-bullet-active {
    background: var(--red);
    transform: scale(1.2);
}

/* ── HALLS PREVIEW (главная страница) ── */
.halls-preview {
    background: var(--warm-gray);
    padding: 96px 0;
}

.halls-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.halls-preview-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3.5;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.halls-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.halls-preview-image:hover img {
    transform: scale(1.04);
}

.halls-preview-text .section-sub {
    max-width: 100%;
    margin-bottom: 24px;
}

.halls-preview-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.halls-preview-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text);
}

.halls-preview-feature i {
    color: var(--red);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* ── Адаптивность ── */
@media (max-width: 1024px) {
    .halls-preview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .halls-preview-image {
        max-width: 560px;
    }
    .halls-slide-image {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .halls-slider-section {
        padding-bottom: 0 !important;
    }
    .halls-preview {
        padding: 56px 0;
    }
    .halls-slide-image {
        height: 220px;
    }
    .halls-slide-body {
        padding: 20px 22px 24px;
    }
    .halls-slide-title {
        font-size: 19px;
    }
    .halls-preview-features {
        grid-template-columns: 1fr;
    }
    .halls-slide-extra {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .halls-slide-tags {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ── HALLS SLIDE EXTRA (VIP-комната, теги) ── */
.halls-slide-extra {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.halls-slide-extra-col {
    display: flex;
    flex-direction: column;
}

.halls-slide-sub-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.halls-slide-sub-desc {
    font-size: 12px;
    color: var(--mid-gray);
    line-height: 1.5;
    margin-bottom: 0;
}

.halls-slide-capacity--sm {
    font-size: 11px;
    padding: 2px 10px;
    font-weight: 600;
}

.halls-slide-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.halls-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--mid-gray);
    background: var(--warm-gray);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    width: fit-content;
}

.halls-slide-tag i {
    color: var(--red);
    font-size: 11px;
}

.loading-indicator {
    text-align: center;
    padding: 30px 0;
    color: var(--mid-gray, #666);
    font-size: 14px;
}
#infinite-loader {
    margin-top: 20px;
    opacity: 0.8;
}

/* ── ПОДФИЛЬТР ПО МЕТКАМ ТОВАРА ── */
.product-tag-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    margin-top: -8px;
    align-items: center;
}

.product-tag-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--mid-gray);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-right: 4px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mid-gray);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.tag-chip:hover {
    color: var(--dark);
    border-color: var(--mid-gray);
    background: var(--warm-gray);
}

.tag-chip.active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
    font-weight: 600;
}

/* ===== Большой зал — внутренние табы и галерея ===== */

/* Галерея изображений (заменяет .halls-slide-image для первого слайда) */
.halls-main-gallery {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.halls-main-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.halls-main-image--active {
    opacity: 1;
    pointer-events: auto;
}

.halls-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.halls-slide--main:hover .halls-main-image--active img {
    transform: scale(1.06);
}

/* Табы пространств */
.halls-spaces-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.halls-space-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--warm-gray);
    font-size: 12px;
    font-weight: 600;
    color: var(--mid-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.halls-space-tab:hover {
    border-color: var(--red);
    color: var(--red);
}

.halls-space-tab--active {
    border-color: var(--red);
    background: rgba(223, 38, 38, 0.08);
    color: var(--red);
}

.halls-space-tab__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Описания пространств */
.halls-space-details {
    position: relative;
    margin-bottom: 16px;
}

.halls-space-detail {
    display: none;
    animation: fadeInSpace 0.4s ease;
}

.halls-space-detail--active {
    display: block;
}

.halls-space-detail p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--mid-gray);
    margin-bottom: 12px;
}

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

/* Вступительный текст большого зала */
.halls-main-intro {
    margin-bottom: 16px;
}

/* ===== Адаптивность для табов ===== */
@media (max-width: 1024px) {
    .halls-main-gallery {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .halls-main-gallery {
        height: 220px;
    }
    
    .halls-spaces-tabs {
        gap: 6px;
    }
    
    .halls-space-tab {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .halls-space-tab__dot {
        width: 8px;
        height: 8px;
    }
    
    .halls-space-detail p {
        font-size: 13px;
        line-height: 1.6;
    }
}

/* =============================================
   MENU CARDS BLOCK
   ============================================= */
.menu-cards-section {
    padding: 80px 0;
}

.menu-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.menu-card-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    color: #fff;
    text-decoration: none;
}

.menu-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    z-index: 1;
}

.menu-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.menu-card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.menu-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.menu-card-item:hover .menu-card-btn {
    background: #b81f1f;
}

.menu-card-btn i {
    font-size: 16px;
}

/* =============================================
   MENU CARDS — МОБИЛЬНАЯ ВЕРСИЯ
   ============================================= */
@media (max-width: 992px) {
    .menu-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .menu-card-item {
        min-height: 260px;
    }

    .menu-card-title {
        font-size: 22px;
    }

    .menu-card-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .menu-cards-section {
        padding: 60px 0;
    }

    .menu-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .menu-card-item {
        min-height: 240px;
    }

    .menu-card-title {
        font-size: 20px;
    }

    .menu-card-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
	
	.fon-cta {
		transform: none;
    	width: 100%;
    	opacity: 0.3;
	}
	
	.poster-image {
		height: 100%;
	}
}
