/* =============================================
   ROOT & GLOBAL STYLES
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

:root {
    --red-premium: #e31b23;
    --red-dark: #b8121a;
    --gold-premium: #ffd700;
    --gold-dark: #d4af37;
    --black-bg: #0a0a0a;
    --black-card: #141414;
    --gray-premium: #2a2a2a;
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    --gradient-red: linear-gradient(135deg, #e31b23 0%, #b8121a 100%);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes steamAnim {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes pointArrow {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(8px) translateY(-4px); }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Логотип — вертикальное расположение */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    flex-shrink: 0;
}

.logo-main {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2px;
}

.logo-sub {
    font-size: 0.75rem;
    color: #aaa;
    letter-spacing: 0.3px;
}

/* Навигация — по центру */
.nav-links {
    display: flex;
    gap: 2.5rem;
    font-weight: 500;
    margin: 0 auto;        /* центрирование внутри флекса */
}

.nav-links a {
    text-decoration: none;
    color: #e0e0e0;
    transition: 0.3s;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s;
}

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

.nav-links a:hover {
    color: var(--gold-premium);
}

/* Правый блок: телефоны + бургер + корзина */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Телефоны с одной иконкой */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.header-phone i {
    font-size: 1rem;
    color: var(--gold-premium);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-numbers a {
    color: #e0e0e0;
    text-decoration: none;
    transition: opacity 0.2s;
    font-weight: 500;
    white-space: nowrap;
}

.phone-numbers a:hover {
    opacity: 0.8;
    color: var(--gold-premium);
}

/* Корзина */
.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--gold-premium);
    transition: 0.3s;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--red-premium);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* Бургер-меню (только на мобильных) */
.burger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gold-premium);
}

/* Мобильное меню */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.mobile-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem;
}

.mobile-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    width: 100%;
}

.mobile-phone a {
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mobile-phone a i {
    color: var(--gold-premium);
}

/* Адаптация для планшетов и телефонов */
@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }
    .header-phone {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.8rem 1rem;
    }
    .nav-links {
        display: none;
    }
    .burger-menu {
        display: block;
    }
    .header-phone {
        display: none;  /* скрываем на мобильных, т.к. телефоны уже в мобильном меню */
    }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/catalog/osetinskie-pirogi/image1/orig.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 280px;
    animation: fadeInLeft 0.8s ease;
}

.hero-text h1 {
    font-size: 3.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text h1 span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-premium);
}

.stat-label {
    font-size: 0.85rem;
    color: #aaa;
}

.free-delivery {
    position: relative;
    margin-top: 2rem;
    display: inline-block;
    background: rgba(227, 27, 35, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 60px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-premium);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.free-delivery i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.arrow-down {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-premium);
    font-size: 1.5rem;
    animation: bounceDown 1.2s infinite;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.5));
}

.hero-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 280px;
    animation: fadeInRight 0.8s ease;
    position: relative;
}

.hero-video-circle {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(227, 27, 35, 0.2), rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(4px);
    border: 3px solid var(--gold-premium);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s;
    overflow: hidden;
}

.hero-video-circle:hover {
    transform: scale(1.03);
}

.hero-video-circle video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.steam {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    pointer-events: none;
}

.steam span {
    position: absolute;
    background: rgba(255, 255, 240, 0.6);
    border-radius: 50%;
    filter: blur(8px);
    animation: steamAnim 2s infinite ease-out;
}

.steam span:nth-child(1) {
    width: 25px;
    height: 25px;
    left: 30%;
    top: 0;
    animation-delay: 0s;
}

.steam span:nth-child(2) {
    width: 35px;
    height: 35px;
    left: 50%;
    top: -10px;
    animation-delay: 0.5s;
}

.steam span:nth-child(3) {
    width: 20px;
    height: 20px;
    left: 15%;
    top: 10px;
    animation-delay: 1s;
}

.steam span:nth-child(4) {
    width: 30px;
    height: 30px;
    left: 70%;
    top: -5px;
    animation-delay: 0.3s;
}

.side-arrow {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: pointArrow 1.5s infinite ease-in-out;
    z-index: 10;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: 60px;
    border: 1px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    cursor: pointer;
}

.side-arrow i {
    font-size: 2.8rem;
    color: var(--gold-premium);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

.side-arrow span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-premium);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =============================================
   COMMON SECTION STYLES
   ============================================= */
.section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 3rem;
}

.section-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =============================================
   ADVANTAGES (ПРЕИМУЩЕСТВА)
   ============================================= */
/* ----- Слайдер преимуществ с видео ----- */
.advantages-slider-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}
.advantages-swiper {
    width: 100%;
    height: 500px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.advantage-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.advantage-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}
.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    padding: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.advantage-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}
.slide-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.slide-content p {
    font-size: 1.2rem;
    line-height: 1.5;
}
.advantages-pagination .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}
.advantages-pagination .swiper-pagination-bullet-active {
    background: var(--gold);
}
.advantages-prev, .advantages-next {
    color: white;
    width: 16px;
    height: 44px;
    border-radius: 50%;
    transition: 0.3s;
}
.advantages-prev:hover, .advantages-next:hover {
    background: var(--gold);
    color: #e8ad16;
}
@media (max-width: 768px) {
    .advantages-swiper { height: 400px; }
    .slide-content h3 { font-size: 1.5rem; }
    .slide-content p { font-size: 1rem; }
    .advantage-icon { font-size: 3rem; }
}

/* =============================================
   TABS & CATALOG
   ============================================= */
.tabs-section {
    padding: 2rem 2rem 0;
    margin-top: 20px;
}

.tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 0.5rem;
}

.tabs-wrapper::-webkit-scrollbar {
    height: 4px;
}

.tab-btn {
    background: var(--black-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s;
    color: #aaa;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn.active {
    background: var(--gradient-red);
    color: white;
    border-color: var(--gold-premium);
    box-shadow: 0 0 20px rgba(227, 27, 35, 0.5);
}

/* Сетка товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Карточка товара */
.product-card {
    background: var(--black-card);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid rgba(255, 215, 0, 0.1);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-premium);
}

.card-img {
    height: 220px;
    width: 100%;
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img img,
.card-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.card-img span {
    font-size: 5rem;
}

.card-info {
    padding: 1.5rem;
}

.card-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0.8rem;
}

/* Вес товара (текстовое поле, заменило селектор) */
.product-weight {
    font-size: 0.9rem;
    color: var(--gold-premium);
    margin: 0.5rem 0;
    font-weight: 500;
}

.price-tag {
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0.5rem 0;
}

.cart-btn-card {
    background: var(--gradient-red);
    border: none;
    width: 100%;
    padding: 0.8rem;
    border-radius: 60px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 0.8rem;
}

.cart-btn-card:hover {
    transform: scale(1.02);
    gap: 12px;
}

/* =============================================
   REVIEWS SLIDER (Swiper)
   ============================================= */
.reviews-slider {
    overflow: hidden;
    padding: 1rem 0;
}

.review-card {
    background: var(--black-card);
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--gold-premium);
}

.swiper-pagination-bullet-active {
    background: var(--gold-premium);
}

/* =============================================
   SEO TEXT SECTION
   ============================================= */
.seo-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.seo-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.seo-content {
    max-width: 900px;
    margin: 0 auto;
    color: #e0e0e0;
}
.seo-content h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    color: #ffd700;
    border-left: 4px solid #ffd700;
    padding-left: 20px;
}
.seo-content h3 {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    margin: 2rem 0 1rem;
    color: #ffffff;
    display: inline-block;
    border-bottom: 2px solid #ffd700;
    padding-bottom: 5px;
}
.seo-content p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}
.styled-list li {
    margin-bottom: 15px;
}
.styled-list li strong {
    color: #ffd700; /* или любой другой цвет, например #D4AF37 (золотой) */
    font-weight: 700; /* можно оставить полужирным */
}

.seo-section p strong { 
    color: #ffd700; 
}

.styled-list li i {
    color: #ffd700;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.feature-item {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 12px 16px;
    backdrop-filter: blur(4px);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.feature-item i {
    color: #ffd700;
    font-size: 1.3rem;
    width: 28px;
    text-align: center;
}
.feature-item:hover {
    background: rgba(255,215,0,0.1);
    transform: translateX(5px);
}
.seo-quote {
    background: rgba(255,215,0,0.08);
    border-left: 4px solid #ffd700;
    padding: 1.5rem 2rem;
    margin: 2rem 0 1rem;
    border-radius: 20px;
    font-style: italic;
    position: relative;
}
.seo-quote i:first-child {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 2rem;
    color: rgba(255,215,0,0.2);
}
.seo-quote p {
    margin-bottom: 0;
    padding-left: 30px;
}
@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .seo-content h2 { font-size: 1.6rem; }
    .seo-content h3 { font-size: 1.3rem; }
    .seo-quote { padding: 1rem; }
    .seo-quote p { padding-left: 20px; }
}

/* --- Мобильная адаптация SEO-секции --- */
@media (max-width: 768px) {
    /* Отступы для всей SEO-секции */
    .seo-section {
        padding: 30px 15px !important;
    }

    /* Внутренний контейнер */
    .seo-section .container {
        padding: 0;
    }

    /* Стили для списка преимуществ */
    .styled-list {
        padding-left: 0 !important;
        margin: 20px 0 !important;
        list-style: none;
    }

    /* Каждый пункт списка – горизонтальный flex */
    .styled-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.4;
        text-align: left;
    }

    /* Иконки в списке */
    .styled-list li i {
        flex-shrink: 0;
        width: 20px;
        font-size: 18px;
        margin-top: 2px;
        color: #ffd700; /* или ваш акцентный цвет */
    }

    /* Сильное выделение внутри пункта */
    .styled-list li strong {
        display: inline;
        font-weight: 700;
    }

    /* Сетка преимуществ (features-grid) */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 20px 0;
    }

    .feature-item {
        font-size: 13px;
        background: rgba(0,0,0,0.03);
        padding: 10px;
        border-radius: 12px;
        text-align: center;
    }

    /* Блок цитаты */
    .seo-quote {
        padding: 20px 15px;
        margin: 20px 0;
        font-size: 14px;
    }

    /* Заголовки */
    .seo-section h2,
    .seo-section h3 {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
        word-break: break-word;
    }

    .seo-section p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
}

/* Дополнительные улучшения для экранов до 480px (маленькие телефоны) */
@media (max-width: 480px) {
    .seo-section {
        padding: 20px 12px !important;
    }

    .styled-list li {
        gap: 8px;
        font-size: 13px;
        margin-bottom: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr; /* одна колонка */
        gap: 10px;
    }
}

/* =============================================
   FOOTER STYLES (только для футера)
   ============================================= */
footer {
    background: var(--black-card);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
}

.footer-column {
    flex: 1;
    min-width: 180px;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--gold-premium);
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-column a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Контактная информация (адрес, телефон) */
.footer-column ul li:not(:has(a)) {
    cursor: default;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    font-size: 0.85rem;
    color: #777;
}

/* Адаптивность для планшетов и мобильных */
@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1.8rem;
        text-align: center;
    }
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-column {
        min-width: auto;
    }
    .copyright {
        font-size: 0.75rem;
    }
}

/* Колонка с брендом */
.footer-column.brand-column {
    flex: 1.5; /* чуть шире остальных */
    min-width: 220px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.footer-logo .logo-sub {
    display: block;
    font-size: 0.75rem;
    color: #aaa;
    letter-spacing: 1px;
}

.brand-description {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    color: var(--gold-premium);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient-gold);
    color: #000;
    transform: translateY(-3px);
}

/* Адаптация под мобильные устройства */
@media (max-width: 992px) {
    .footer-content {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .footer-column {
        flex: 1 1 40%;
    }
    .footer-column.brand-column {
        flex: 1 1 100%;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-logo .logo-sub {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-column {
        flex: 1 1 100%;
        text-align: center;
    }
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =============================================
   MODAL WINDOWS
   ============================================= */
./* Базовые стили для всех модальных окон */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Затемнение на весь экран делаем через него же */
    background-color: rgba(0, 0, 0, 0.8);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    border-radius: 32px;
    /* Даём возможность прокрутки, если контент высокий */
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    /* Убираем лишние отступы */
    margin: 0;
}

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

.modal-content {
    background: #1e1e1e;
    border-radius: 32px;
    margin: 20px;
    padding: 2rem;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    will-change: transform;
    max-width: 500px;         /* или нужная вам ширина */
    min-width: 280px;
}

.modal.active .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
}

.cart-modal .modal-content {
    max-width: 700px;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    align-items: center;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.cart-item-remove {
    color: var(--red-premium);
    cursor: pointer;
}

.cart-total {
    text-align: right;
    font-size: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--gold-premium);
}

/* Модалка продукта */
.modal-media {
    width: 100%;
    height: 240px;
    border-radius: 24px;
    overflow: hidden;
    background: #1a1a1a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-media img,
.modal-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.modal-media span {
    font-size: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    background: var(--gradient-red);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary1 {
    background: var(--red-premium);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    transition: opacity 0.3s;
}

.btn-primary1:hover {
    opacity: 0.9;
}


/* =============================================
   MEDIA QUERIES (АДАПТИВНОСТЬ)
   ============================================= */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .hero-text {
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .free-delivery {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-video-circle {
        width: 260px;
        height: 260px;
    }
    .side-arrow {
        right: -45px;
        padding: 8px 16px;
    }
    .side-arrow i {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .burger-menu {
        display: block;
    }
    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .hero-video-circle {
        width: 200px;
        height: 200px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .tabs-wrapper {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .side-arrow {
        right: -25px;
        padding: 6px 12px;
        gap: 6px;
    }
    .side-arrow i {
        font-size: 1.5rem;
    }
    .side-arrow span {
        font-size: 0.7rem;
    }
    .card-img {
        height: 200px;
    }

    .cart-item img {
        width: 60px;
        height: 60px;
    }

    .modal-media {
        height: 200px;
    }
    /* Футер на мобильных */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-column {
        min-width: 100%;
    }
}

    /* ----- ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ КОРЗИНЫ И МОДАЛЬНЫХ ОКОН ----- */
/* =============================================
   MODAL WINDOWS — ОСНОВНЫЕ СТИЛИ + ПРОКРУТКА НА МОБИЛЬНЫХ
   ============================================= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: hidden !important; /* предотвращаем двойной скролл */
}

.modal-content {
    background: #1e1e1e;
    border-radius: 32px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    position: relative;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,215,0,0.3);
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
    background: #E53935;
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: #c62828;
}

/* Для очень маленьких экранов */
@media (max-width: 768px) {
    .modal-content {
        max-height: 80vh;
        padding: 20px;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    transition: 0.3s;
}
.modal-close:hover { color: #ffd700; }

.cart-modal .modal-content { max-width: 600px; }

    .modal-close:hover { color: #ffd700; }
    .cart-modal .modal-content { max-width: 600px; }
    .cart-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px 0;
        border-bottom: 1px solid #333;
    }
    .cart-item-info { flex: 1; }
    .cart-item-info button {
        background: #333;
        border: none;
        color: #ffd700;
        width: 28px;
        height: 28px;
        border-radius: 6px;
        cursor: pointer;
        font-weight: bold;
    }
    .cart-item-remove {
        color: #ff6b6b;
        cursor: pointer;
        font-size: 20px;
        transition: 0.2s;
    }
    .cart-item-remove:hover { transform: scale(1.2); }
    .cart-total {
        font-size: 1.4rem;
        font-weight: bold;
        text-align: right;
        margin: 20px 0;
        color: #ffd700;
    }
    #clearCartBtn, #checkoutBtn {
        width: 100%;
        margin-top: 10px;
        padding: 12px;
        border: none;
        border-radius: 40px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }
    #clearCartBtn { background: #333; color: white; }
    #clearCartBtn:hover { background: #555; }
    #checkoutBtn { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #1e1e1e; }
    #checkoutBtn:hover { transform: scale(1.02); }
    .order-summary {
        background: #2a2a2a;
        padding: 15px;
        border-radius: 16px;
        margin-bottom: 20px;
    }
    #orderSummaryItems div {
        padding: 8px 0;
        border-bottom: 1px solid #444;
    }
    .order-total {
        margin-top: 15px;
        font-size: 1.2rem;
        font-weight: bold;
        text-align: right;
        color: #ffd700;
    }
    #checkoutForm input, #checkoutForm textarea {
        width: 100%;
        padding: 12px;
        margin-bottom: 15px;
        border-radius: 10px;
        border: 1px solid #444;
        background: #2a2a2a;
        color: white;
        font-size: 1rem;
    }
    #checkoutForm input:focus, #checkoutForm textarea:focus {
        outline: none;
        border-color: #ffd700;
    }
    .btn-primary {
        background: linear-gradient(135deg, #ffd700, #ffaa00);
        color: #1e1e1e;
        border: none;
        padding: 12px 24px;
        border-radius: 40px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
        width: 100%;
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,215,0,0.3); }

    /* Анимация добавления в корзину */
    .cart-animation {
        animation: cartPulse 0.5s ease-in-out;
    }
    @keyframes cartPulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.3); color: #ffd700; }
        100% { transform: scale(1); }
    }
    .product-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .product-card:active {
        transform: scale(0.98);
    }
    /* Всплывающее уведомление */
    .toast-notification {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,0.9);
        color: #ffd700;
        padding: 12px 24px;
        border-radius: 50px;
        font-weight: bold;
        z-index: 1100;
        backdrop-filter: blur(10px);
        border: 1px solid #ffd700;
        animation: fadeInUp 0.4s ease-out forwards, fadeOut 0.5s ease-out 2.5s forwards;
        white-space: nowrap;
        font-size: 1rem;
    }
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateX(-50%) translateY(20px); }
        to { opacity: 1; transform: translateX(-50%) translateY(0); }
    }
    @keyframes fadeOut {
        to { opacity: 0; visibility: hidden; }
    }
    @media (max-width: 768px) {
        .toast-notification { white-space: normal; text-align: center; width: 80%; font-size: 0.9rem; }
        .cart-item { flex-wrap: wrap; }
    }
    
.cart-item-remove i {
    font-size: 1.2rem;
    color: #ff6b6b;
    transition: transform 0.2s, color 0.2s;
}
.cart-item-remove i:hover {
    transform: scale(1.1);
    color: #ff4d4d;
}


/* ----- Анимация мусорного бака и удаления товара ----- */
.cart-item-remove {
    cursor: pointer;
    transition: transform 0.2s;
}
.cart-item-remove:hover {
    transform: scale(1.1);
}
/* Анимация «открывания» бака при наведении */
.cart-item-remove:hover i {
    animation: trashOpen 0.3s ease forwards;
}
@keyframes trashOpen {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(-20deg) scale(1.2); }
    100% { transform: rotate(0deg) scale(1.1); }
}
/* Анимация удаления строки товара */
.cart-item.remove-animation {
    animation: itemRemove 0.4s cubic-bezier(0.5, -0.5, 0.5, 1.5) forwards;
}
@keyframes itemRemove {
    0% { opacity: 1; transform: translateX(0); }
    30% { opacity: 0.8; transform: translateX(15px); background-color: #ff6b6b; }
    100% { opacity: 0; transform: translateX(100px); display: none; }
}


/* Стили для модального окна доставки */
.delivery-info-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}
.delivery-info-section {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.delivery-info-section h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #ffd700;
}
.delivery-price-item,
.time-slot,
.delivery-zone p {
    margin: 8px 0;
    line-height: 1.4;
}
.delivery-terms {
    list-style: none;
    padding-left: 0;
}
.delivery-terms li {
    margin: 10px 0;
}
.delivery-terms i.fa-check {
    color: #4CAF50;
    margin-right: 10px;
}
/* Блок контактной информации */
.delivery-contact-info {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
    border: 1px solid rgba(229, 57, 53, 0.1);
}
.delivery-contact-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.delivery-contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #E53935;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.delivery-contact-info h3 i {
    font-size: 1.4rem;
    background: #E53935;
    color: white;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(229,57,53,0.3);
}

/* Телефонная ссылка */
.contact-phone {
    margin: 15px 0 12px;
}
.contact-phone a {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e1e2a;
    background: #fff;
    padding: 10px 24px;
    border-radius: 60px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}
.contact-phone a:hover {
    background: #E53935;
    color: white;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(229,57,53,0.3);
    border-color: #E53935;
}
.contact-phone a i {
    margin-right: 8px;
}

/* Дополнительный текст */
.delivery-contact-info p {
    font-size: 0.9rem;
    color: #5a5a6e;
    margin-top: 12px;
    line-height: 1.4;
}

.zone-note {
    font-size: 0.9rem;
    color: #e53935b5;
}
.time-slot {
    display: flex;
    align-items: center;
    gap: 12px;
}
.time-range {
    font-weight: bold;
    font-size: 1.1rem;
}
.delivery-hours {
    font-size: 0.9rem;
    color: #e53935b5;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .delivery-contact-info {
        padding: 16px;
    }
    .contact-phone a {
        font-size: 1.4rem;
        padding: 8px 20px;
    }
    .delivery-contact-info h3 {
        font-size: 1.3rem;
    }
}

/* ===== УЛУЧШЕННАЯ ПРОКРУТКА МОДАЛЬНЫХ ОКОН (ДЕСКТОП) ===== */
@media (min-width: 768px) {
    .modal-content {
        max-height: 85vh;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #E53935 transparent;
    }
    .modal-content::-webkit-scrollbar {
        width: 6px;  /* ещё тоньше */
    }
    .modal-content::-webkit-scrollbar-track {
        background: transparent;
    }
    .modal-content::-webkit-scrollbar-thumb {
        background: #E53935;
        border-radius: 10px;
    }
    .modal-content::-webkit-scrollbar-thumb:hover {
        background: #c62828;
    }
}

@media (max-width: 768px) {
    .layout-app-bar__rating-image {
        display: none;
    }
}


/* Обёртка для изображения в корзине */
.cart-item-img-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    background: #2a2a2a;
}

/* Само изображение */
.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Заглушка (эмодзи), если нет картинки */
.cart-item-placeholder {
    font-size: 2.5rem;
}

/* Обновлённый стиль элемента корзины с дополнительной гибкостью */
.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    flex-wrap: nowrap; /* Запрещаем перенос строки */
}

/* Блок с информацией занимает всё доступное пространство */
.cart-item-info {
    flex: 1;
    min-width: 0; /* Позволяет тексту сжиматься */
}

/* Кнопка удаления */
.cart-item-remove {
    flex-shrink: 0;
    cursor: pointer;
    font-size: 1.5rem;
    color: #ff6b6b;
    transition: transform 0.2s, color 0.2s;
    padding: 0.5rem;
}

.cart-item-remove:hover {
    transform: scale(1.1);
    color: #ff4d4d;
}

/* Адаптация для мобильных устройств (ширина экрана меньше 768px) */
@media (max-width: 768px) {
    .cart-item-img-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }
    .cart-item-placeholder {
        font-size: 2rem;
    }
    .cart-item {
        gap: 0.8rem;
        padding: 0.8rem 0;
    }
    .cart-item-info {
        font-size: 0.9rem;
    }
    .cart-item-remove {
        font-size: 1.3rem;
        padding: 0.3rem;
    }
}

/* Модальное окно предзаказа */
#preorderModal .modal-content {
    max-width: 500px;
    background: #1e1e1e;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

#preorderModal h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-gold, linear-gradient(135deg, #E6B85C, #FFD966));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

#preorderModal p {
    text-align: center;
    color: #ccc;
    margin-bottom: 1.5rem;
}

#preorderProductInfo {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 16px;
    margin: 1rem 0;
    font-weight: 500;
    text-align: center;
    color: #fff;
    border: 1px solid #333;
}

#preorderForm input,
#preorderForm textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#preorderForm input:focus,
#preorderForm textarea:focus {
    outline: none;
    border-color: #E6B85C;
    box-shadow: 0 0 0 2px rgba(230,184,92,0.3);
}

#preorderForm label {
    color: #ddd;
    font-size: 0.9rem;
}

#preorderQuantity {
    width: 100px;
    display: inline-block;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 8px;
    color: white;
}

#preorderForm button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #E6B85C, #FFD966);
    color: #1e1e1e;
    font-weight: bold;
    padding: 14px;
    border: none;
    border-radius: 40px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

#preorderForm button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230,184,92,0.4);
}

/* Адаптивность */
@media (max-width: 600px) {
    #preorderModal .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    #preorderModal h2 {
        font-size: 1.5rem;
    }
}

/* Блок выбора количества в предзаказе */
.quantity-selector {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.quantity-selector label {
    color: #ddd;
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #2a2a2a;
    border-radius: 40px;
    padding: 5px 15px;
}

.quantity-btn {
    background: #3a3a3a;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #E6B85C;
    color: #1e1e1e;
}

.quantity-value {
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
    color: white;
}



.quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #555;
    background: transparent;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantity-btn:hover {
    background: rgba(255,255,255,0.1);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
}

/* Toast-уведомление с прогресс-баром (правый верхний угол) */
.toast-checkout {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 20px 25px 15px;
    min-width: 300px;
    max-width: 400px;
    border-left: 5px solid var(--primary);
    animation: toastSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

/* Верхний бегунок */
.toast-checkout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ffd600, var(--primary));
    background-size: 200% 100%;
    animation: gradientShift 2s linear infinite;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.toast-checkout .status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.toast-checkout .status-icon i {
    font-size: 28px;
    color: var(--primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.toast-checkout .status-message {
    font-weight: 600;
    font-size: 16px;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 5px;
}

.toast-checkout .status-submessage {
    font-size: 13px;
    color: var(--gray);
    text-align: center;
    margin-bottom: 15px;
}

/* Полоса прогресса */
.toast-checkout .progress-track {
    width: 100%;
    height: 6px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.toast-checkout .progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), #ffd600);
    border-radius: 10px;
    position: relative;
}

.toast-checkout .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}


.delivery-info-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 500;
}