        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: inherit;
        }

        :root {
            --primary: #E53935;
            --primary-dark: #B71C1C;
            --secondary: #212121;
            --light: #f5f5f5;
            --gray: #757575;
            --light-gray: #e0e0e0;
            --white: #ffffff;
            --text: #212121;
        }

        body {
            background-color: var(--light);
            color: var(--text);
            line-height: 1.6;
            padding-top: 80px;
        }

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

        /* Компактная шапка для десктопа */
/* Стили для обычного состояния header (без прокрутки) */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
    background-color: #ffffff00;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Цвета текста в обычном состоянии */
header .logo-text {
    color: #ffd600; /* Желтый для логотипа */
}

header .nav-list a {
    color: #ffd600; /* Светло-серый для навигации */
}

header .phone,
header .delivery-time,
header .work-hours {
    color: #ffffff; /* Белый для контактной информации */
}

header .cart-info {
    color: #ffffff; /* Белый для корзины */
}

header .cart i {
    color: #e53935; /* Красный для иконки корзины */
}

header .carti i {
    color: #e53935; /* Красный для иконки корзины */
}

header .phone i,
header .delivery-time i,
header .work-hours i {
    color: #ffd600; /* Желтый для иконок контактов */
}

/* Стили для состояния header при прокрутке */
header.scrolled {
    background-color: #212121d9;
}

/* Цвета текста в состоянии прокрутки */
header.scrolled .logo-text {
    color: #ffd600; /* Оставляем желтым для логотипа */
}

header.scrolled .nav-list a {
    color: #e0e0e0; /* Более светлый серый для навигации */
}

header.scrolled .phone,
header.scrolled .delivery-time,
header.scrolled .work-hours {
    color: #f5f5f5; /* Светлый цвет для контактной информации */
}

header.scrolled .cart-info {
    color: #f5f5f5; /* Светлый цвет для корзины */
}

header.scrolled .cart i {
    color: #e53935; /* Оставляем красным для иконки корзины */
}

header.scrolled .phone a{
    color: #e53935;
}

header.scrolled .phone i,
header.scrolled .delivery-time i,
header.scrolled .work-hours i {
    color: #ffd600; /* Оставляем желтым для иконок контактов */
}

/* Эффекты при наведении в состоянии прокрутки */
header.scrolled .nav-list a:hover {
    color: #ffd600; /* Желтый при наведении */
}

header.scrolled .phone:hover,
header.scrolled .delivery-time:hover,
header.scrolled .work-hours:hover {
    color: #ffd600; /* Желтый при наведении на контакты */
}


css
/* Альтернативный вариант - более контрастные цвета при прокрутке */
header.scrolled .nav-list a {
    color: #ffffff; /* Белый для навигации при прокрутке */
}

header.scrolled .phone,
header.scrolled .delivery-time,
header.scrolled .work-hours {
    color: #ffffff; /* Белый для контактов при прокрутке */
}

header.scrolled .cart-info {
    color: #ffffff; /* Белый для корзины при прокрутке */
}

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        /* Стили для логотипа */
/* Обновленные стили для логотипа */
.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

/* Обычный логотип (видимый по умолчанию) */
.default-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 8px;
    display: block; /* Показываем по умолчанию */
}

/* Логотип для scrolled состояния (скрыт по умолчанию) */
.scrolled-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 8px;
    display: none; /* Скрываем по умолчанию */
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff; /* Белый цвет для обычного состояния */
    transition: color 0.3s ease;
}

.logo-link:hover .logo-text {
    color: #ffd600;
}

/* Стили для состояния header.scrolled */
header.scrolled .default-logo {
    display: none; /* Скрываем обычный логотип */
}

header.scrolled .scrolled-logo {
    display: block; /* Показываем scrolled логотип */
}

header.scrolled .logo-text {
    color: #ffd600; /* Желтый цвет для scrolled состояния */
}

/* Адаптивность для логотипа */
@media (max-width: 768px) {
    .default-logo,
    .scrolled-logo {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    
    .logo-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .default-logo,
    .scrolled-logo {
        margin-right: 0;
        width: 60px;
        height: 60px;
    }
}

        /* Навигация в центре */
        .main-nav {
            flex: 1;
            display: flex;
            justify-content: center;
            margin: 0 20px;
        }

        .nav-list {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-list a {
            color: #b3b3b3;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            padding: 10px 0;
            position: relative;
            white-space: nowrap;
        }
        
        .nav-list a i {
            margin-right: 8px;
            font-size: 16px;
            width: 20px;
            text-align: center;
        }
        
        .nav-list a:hover {
            color: #ffd600;
        }
        
        .nav-list a.active {
            color: #ffd600;
            font-weight: 600;
        }
        
        /* Цвета иконок в обычном состоянии */
        .nav-list a i {
            color: #ffd600; /* Желтый цвет для иконок */
        }

/* Цвета иконок при прокрутке */
header.scrolled .nav-list a i {
    color: #ffd600; /* Сохраняем желтый цвет */
}

        /* Правая часть шапки */
        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .contact-info {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .phone, .delivery-time, .work-hours {
            display: flex;
            align-items: center;
            font-weight: 500;
            color: #ffffff;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .phone i, .delivery-time i, .work-hours i {
            margin-right: 8px;
            color: #ffd600;
        }

        .phone-icon a {
            color: #ffd600;
            font-size: 20px;
            display: none;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            transition: background-color 0.3s;
        }

        .phone-icon a:hover {
            background-color: rgba(229, 57, 53, 0.1);
        }

        .cart-info {
            display: flex;
            align-items: center;
            color: #ffffff;
            position: relative;
            transition: color 0.3s ease;
        }

        .cart {
            position: relative;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .cart i {
            font-size: 24px;
            color: var(--primary);
        }

        .cart-details {
            text-align: left;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: 40px;
            background-color: #ffd600;
            color: #000000;
            border-radius: 50%;
            width: 15px;
            height: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }

        .cart-total {
            font-size: 14px;
            font-weight: bold;
        }
        
/* Обновленные стили для мобильного меню */
.header_collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    z-index: 10000;
    overflow-y: auto;
    display: none;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.header_collapse_contacts .phone .contact_icon i {
    color: #E53935;
}

.header_collapse.active {
    display: block;
    transform: translateX(0);
}

.header_collapse_inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

/* Шапка меню */
.header_collapse_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #E53935 0%, #B71C1C 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 2;
}

.header_collapse_logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.header_collapse_logo i {
    margin-right: 10px;
    color: #ffd600;
}

.header_collapse_close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header_collapse_close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.header_collapse_close i {
    color: white;
    font-size: 18px;
}

/* Тело меню */
.header_collapse_body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Навигация */
.header_collapse_nav {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.header_collapse_nav_item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.header_collapse_nav_item:hover {
    background: #f8f9fa;
    border-left-color: #E53935;
    transform: translateX(5px);
}

.nav_icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E53935 0%, #ff6b6b 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.nav_icon i {
    color: white;
    font-size: 16px;
}

.nav_text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav_title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 2px;
}

.nav_subtitle {
    font-size: 12px;
    color: #666;
    opacity: 0.8;
}

.nav_arrow {
    color: #ccc;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.header_collapse_nav_item:hover .nav_arrow {
    color: #E53935;
    transform: translateX(3px);
}

/* Контакты */
.header_collapse_contacts {
    padding: 25px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.contact_section_title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.contact_item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.contact_item:hover {
    background: none;
    transform: none;
}

.contact_icon {
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact_icon i {
    color: #E53935;
    font-size: 14px;
}

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

.contact_label {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.contact_value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.contact_item.phone .contact_value {
    color: #333333;
    font-weight: 600;
}

/* Корзина в меню */
.mobile_cart_section {
    padding: 20px;
    background: #f8f9fa;
    margin: 20px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.mobile_cart_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mobile_cart_title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.mobile_cart_count {
    font-size: 14px;
    color: #666;
}

.mobile_cart_button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #E53935 0%, #B71C1C 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

/* Социальные сети */
.header_collapse_social {
    padding: 20px;
}

.social_title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
}

.social_buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social_button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social_button:hover {
    background: #0077FF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.3);
}

.social_button.vk:hover {
    background: #0077FF;
}

/* Анимации */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.header_collapse.active .header_collapse_inner {
    animation: slideInFromLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Блокировка скролла при открытом меню */
body.menu-open {
    overflow: hidden;
}

/* Улучшенная кнопка бургер-меню в хедере */
.header_mobile_button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header_mobile_button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.header_mobile_button i {
    color: white;
    font-size: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header_mobile_button {
        display: flex;
    }
    
    .header_collapse {
        width: 85%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .header_collapse {
        width: 100%;
        max-width: none;
    }
    
    .header_collapse_nav_item {
        padding: 18px 20px;
    }
    
    .nav_icon {
        width: 44px;
        height: 44px;
    }
    
    .nav_icon i {
        font-size: 18px;
    }
}

/* Плавная анимация для всех переходов */
.header_collapse_nav_item,
.contact_item,
.mobile_cart_button,
.social_button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Тень для контента при скролле */
.header_collapse_body::-webkit-scrollbar {
    width: 4px;
}

.header_collapse_body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.header_collapse_body::-webkit-scrollbar-thumb {
    background: #E53935;
    border-radius: 2px;
}

.header_collapse_body::-webkit-scrollbar-thumb:hover {
    background: #B71C1C;
}

        /* Mobile menu button */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: #ffffff;
            cursor: pointer;
        }

        .hero {
            padding: 200px 0 60px;
            text-align: center;
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgb(0 0 0 / 0%)), url(/img2/hero.jpg) no-repeat center center / cover;
            color: white;
            margin-top: -80px;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 30px;
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 40px 0;
        }

        .category-card {
            background: white;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }

        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        .category-img {
            height: 200px;
            overflow: hidden;
        }

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

        .category-card:hover .category-img img {
            transform: scale(1.1);
        }

        .category-title {
            padding: 10px;
            text-align: center;
            font-weight: bold;
            font-size: 18px;
            background: #ffffff;
            color: #000000;
        }

        .products {
            padding: 10px 0;
            background: var(--light);
        }

        .section-title {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 40px;
            color: #000000;
        }

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

        .product-card {
            background: white;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
            position: relative;
            cursor: pointer;
        }

        .product-card:hover {
            transform: translateY(-5px);
        }

        .product-img {
            height: 200px;
            overflow: hidden;
        }

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

        .product-info {
            padding: 20px;
        }

        .product-title {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .product-desc {
            color: var(--gray);
            margin-bottom: 15px;
            font-size: 14px;
        }

        .product-specs {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            font-size: 14px;
            color: var(--gray);
        }

        .product-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }

        .product-price {
            font-weight: bold;
            font-size: 18px;
            color: #151515;
        }

        .add-to-cart-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 15px;
            cursor: pointer;
            transition: background 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 500;
            width: 60%;
        }

        .add-to-cart-btn:hover {
            background: var(--primary-dark);
        }

        .add-to-cart-btn i {
            margin-right: 5px;
        }

        .size-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .size-btn {
            padding: 5px 10px;
            border: 1px solid var(--light-gray);
            border-radius: 4px;
            background: white;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
        }

        .size-btn.active {
            background: #ffd600;
            color: white;
            border-color: #786500;
        }

        /* Modal styles */
        .modal, .cart-modal, .checkout-modal, .payment-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1001;
            overflow: auto;
        }

        .payment-modal {
            z-index: 1003;
        }

        .modal-content, .cart-modal-content, .checkout-modal-content, .payment-modal-content {
            background-color: var(--white);
            margin: 5% auto;
            padding: 20px;
            border-radius: 10px;
            width: 80%;
            max-width: 800px;
            position: relative;
            max-height: 90vh;
            overflow-y: auto;
        }

        .payment-modal-content {
            max-width: 500px;
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 19px;
            font-size: 24px;
            cursor: pointer;
            color: #000000;
        }

        .cart-title, .checkout-title, .payment-title {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--primary);
            text-align: center;
        }

        .cart-items {
            margin-bottom: 20px;
        }

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr 80px 120px 100px 40px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
    gap: 15px;
}

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

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-name {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.cart-item-details {
    color: var(--gray);
    font-size: 12px;
}

.cart-item-price {
    font-weight: bold;
    color: var(--primary);
    text-align: center;
    font-size: 14px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.cart-item-total {
    font-weight: bold;
    text-align: right;
    color: var(--secondary);
    font-size: 16px;
}

.remove-item {
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.remove-item:hover {
    background-color: rgba(229, 57, 53, 0.1);
}

.quantity-btn {
    background: var(--light-gray);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    font-weight: bold;
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    padding: 8px 5px;
    font-size: 14px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 50px 1fr 70px;
        grid-template-areas: 
            "image info remove"
            "image price price"
            "quantity quantity quantity";
        gap: 10px;
        padding: 12px 0;
    }
    
    .cart-item-image {
        grid-area: image;
        width: 50px;
        height: 50px;
    }
    
    .cart-item-info {
        grid-area: info;
    }
    
    .cart-item-price {
        grid-area: price;
        text-align: left;
        font-size: 16px;
    }
    
    .cart-item-quantity {
        grid-area: quantity;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 10px;
    }
    
    .remove-item {
        grid-area: remove;
        justify-self: end;
        width: 35px;
        height: 35px;
    }
    
    .quantity-btn {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        flex-shrink: 0;
    }
    
    .quantity-input {
        width: 45px;
        padding: 6px 3px;
        font-size: 14px;
    }
    
    .cart-item-total {
        display: none;
    }
}

        .remove-item {
            color: var(--primary);
            background: none;
            border: none;
            cursor: pointer;
            margin-left: 15px;
        }

        .cart-summary {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-top: 2px solid var(--light-gray);
            font-weight: bold;
            font-size: 18px;
            padding-left: 540px;
        }

        .cart-empty {
            text-align: center;
            padding: 30px;
            color: var(--gray);
        }

        .checkout-btn, .redirect-button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 15px;
            cursor: pointer;
            transition: background 0.3s;
            font-weight: 500;
            font-size: 16px;
            width: 70%;
        }

        .redirect-button {
            width: 100%;
            margin-top: 20px;
        }

        .checkout-btn:hover, .redirect-button:hover {
            background: var(--primary-dark);
        }

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

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
            color: var(--secondary);
        }

        .form-group input, .form-group textarea, .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid var(--light-gray);
            border-radius: 5px;
            font-size: 14px;
            transition: border-color 0.3s;
        }

        .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
            outline: none;
            border-color: var(--primary);
        }

        .form-row {
            display: flex;
            gap: 15px;
        }

        .form-row .form-group {
            flex: 1;
        }

        .payment-methods {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }

        .payment-method {
            border: 2px solid var(--light-gray);
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .payment-method.selected {
            border-color: var(--primary);
            background-color: rgba(229, 57, 53, 0.1);
        }

        .payment-method i {
            font-size: 24px;
            margin-bottom: 8px;
            color: #ffd600;
        }

        .payment-method span {
            display: block;
            font-weight: 500;
        }

        .order-summary {
            background: var(--light);
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .order-summary h3 {
            margin-bottom: 15px;
            color: var(--secondary);
        }

        .order-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            gap: 10px;
        }

        .order-item-image {
            width: 40px;
            height: 40px;
            flex-shrink: 0;
        }

        .order-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 5px;
        }

        .order-item-details {
            flex: 1;
            display: flex;
            justify-content: space-between;
        }

        .order-total {
            border-top: 1px solid var(--light-gray);
            padding-top: 10px;
            margin-top: 10px;
            font-weight: bold;
            font-size: 16px;
            display: flex;
            justify-content: space-between;
        }

        .submit-order-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
            font-weight: 500;
            font-size: 16px;
            width: 100%;
        }

        .submit-order-btn:hover {
            background: var(--primary-dark);
        }

        /* Payment modal specific styles */
        .payment-success {
            text-align: center;
            padding: 20px;
        }

        .payment-success i {
            font-size: 60px;
            color: #4CAF50;
            margin-bottom: 20px;
        }

        .payment-success h3 {
            color: #4CAF50;
            margin-bottom: 15px;
        }

        .qr-code-container {
            text-align: center;
            margin: 20px 0;
        }

        .qr-code-image {
            max-width: 100%;
            height: auto;
            border: 1px solid #ddd;
            border-radius: 8px;
        }

        .payment-instructions {
            background: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
        }

        .payment-instructions ol {
            text-align: left;
            margin-left: 20px;
        }

        .payment-data {
            background: #fff3cd;
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
            word-break: break-all;
            font-family: monospace;
            font-size: 14px;
        }

        .seo-section {
            padding: 60px 0;
            background: white;
        }

        .seo-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .seo-content h2 {
            font-size: 24px;
            margin-bottom: 20px;
            color: #1c1c1c;
        }

        .seo-content p {
            margin-bottom: 15px;
            line-height: 1.8;
        }

        footer {
            background: var(--secondary);
            color: white;
            padding: 40px 0 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-column h3 {
            font-size: 18px;
            margin-bottom: 20px;
            color: #ffd600;
        }

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

        .footer-column ul li {
            margin-bottom: 10px;
        }

        .footer-column ul li a {
            color: var(--light);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column ul li a:hover {
            color: var(--primary);
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .category-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .product-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            body {
                padding-top: 70px;
            }

            .hero {
                margin-top: -70px;
                padding-top: 150px;
            }

            .main-nav {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
                display: none;
                margin: 0;
            }

            .main-nav.active {
                display: block;
            }

            .nav-list {
                flex-direction: column;
                padding: 20px;
                gap: 10px;
            }

            .menu-toggle {
                display: block;
            }

            .contact-info {
                display: none;
            }

            .phone-icon a {
                display: flex;
            }
        }

        @media (max-width: 576px) {
            .category-grid, .product-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
            
            .form-row {
                flex-direction: column;
                gap: 0;
            }
            
            .payment-methods {
                grid-template-columns: 1fr;
            }
        }
        
    /* Стили для модального окна товара */
.modal-product {
    display: flex;
    gap: 30px;
    padding: 0px;
}

.modal-product-image {
    flex: 1;
    max-width: 400px;
}

.modal-product-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

.modal-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal-product-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary);
}

.modal-product-desc {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-product-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light);
    border-radius: 10px;
}

.modal-product-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-product-spec .label {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 5px;
}

.modal-product-spec .value {
    font-weight: bold;
    font-size: 16px;
}

.modal-product-composition {
    margin-bottom: 25px;
}

.modal-product-composition h4 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.modal-product-composition p {
    line-height: 1.6;
    color: var(--gray);
}

.modal-product-variants {
    margin-bottom: 25px;
}

.modal-product-variants h4 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.modal-size-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-size-btn {
    padding: 10px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    min-width: 80px;
}

.modal-size-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.modal-product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.modal-product-price {
    font-weight: bold;
    font-size: 28px;
    color: var(--primary);
}

.modal-add-to-cart-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-add-to-cart-btn:hover {
    background: var(--primary-dark);
}

.modal-add-to-cart-btn.added {
    background: #4CAF50;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .modal-product {
        flex-direction: column;
        gap: 20px;
    }
    
    .modal-product-image {
        max-width: 100%;
    }
    
    
    
    .modal-product-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .modal-add-to-cart-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Стили для выделения секции */
.section-highlight {
    animation: highlightPulse 2s ease-in-out;
    position: relative;
}

.section-highlight::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #E53935;
    border-radius: 15px;
    animation: borderPulse 2s ease-in-out;
    pointer-events: none;
}

@keyframes highlightPulse {
    0% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(229, 57, 53, 0.05);
    }
    100% {
        background-color: transparent;
    }
}

@keyframes borderPulse {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Обновленные стили для категорий в hero-секции */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.category-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-card:active {
    transform: translateY(-2px);
}

.category-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.category-card:hover .category-img img {
    transform: scale(1.1);
}

.category-title {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    background: #ffffff;
    color: #000000;
    transition: all 0.3s ease;
}

.category-card:hover .category-title {
    background: linear-gradient(135deg, #E53935 0%, #B71C1C 100%);
    color: white;
}

/* Индикатор выбора категории */
.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #E53935 0%, #B71C1C 100%);
    transition: width 0.3s ease;
}

.category-card:hover::after {
    width: 100%;
}

/* Адаптивность для категорий */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .category-img {
        height: 150px;
    }
    
    .category-title {
        padding: 12px;
        font-size: 16px;
    }
}

/* Обновленные стили для навигации в хедере */
.nav-list a {
    color: #b3b3b3;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
}

.nav-list a:hover {
    color: #ffd600;
}

.nav-list a.active {
    color: #ffd600;
    font-weight: 600;
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* Плавная прокрутка для всего сайта */
html {
    scroll-behavior: smooth;
}

/* Дополнительные стили для лучшего UX */
.products {
    scroll-margin-top: 100px; /* Отступ для фиксированного хедера */
    transition: all 0.3s ease;
}

/* Анимация появления секций при прокрутке */
.products {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.products.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Стили для модального окна доставки */
.delivery-info-modal .modal-content {
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
}

.delivery-info-content {
    padding: 10px 0;
}

.delivery-info-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.delivery-info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.delivery-info-section h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.delivery-price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delivery-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.delivery-condition {
    font-weight: 500;
    color: var(--secondary);
}

.delivery-price {
    font-weight: bold;
    color: var(--primary);
    font-size: 16px;
}

.delivery-price.free {
    color: #4CAF50;
}

.delivery-time-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.time-slot {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--light);
    border-radius: 8px;
}

.time-slot i {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.time-slot .fa-bolt {
    background: #FF9800;
}

.time-details {
    display: flex;
    flex-direction: column;
}

.time-range {
    font-weight: bold;
    color: var(--secondary);
    font-size: 16px;
}

.time-desc {
    color: var(--gray);
    font-size: 14px;
}

.delivery-hours {
    margin-top: 10px;
    padding: 10px;
    background: #e3f2fd;
    border-radius: 5px;
    color: #1976d2;
    text-align: center;
    font-weight: 500;
}

.delivery-zone p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.zone-note {
    color: var(--gray);
    font-size: 14px;
    font-style: italic;
}

.delivery-terms {
    list-style: none;
    padding: 0;
}

.delivery-terms li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 0;
}

.delivery-terms li i {
    color: #4CAF50;
    width: 20px;
}

.delivery-contact-info {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    margin-top: 20px;
}

.delivery-contact-info h3 {
    justify-content: center;
}

.contact-phone {
    margin: 15px 0;
}

.contact-phone a {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-phone a:hover {
    color: var(--primary-dark);
}

/* Стили для кнопки информации о доставке */
.delivery-info-btn {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.delivery-info-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}



.night-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.night-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #2d4059;
    animation: nightModalAppear 0.5s ease-out;
}

@keyframes nightModalAppear {
    from { 
        opacity: 0; 
        transform: translateY(-50px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.night-modal-header {
    margin-bottom: 25px;
}

.night-modal-header i {
    font-size: 48px;
    color: #ffd600;
    margin-bottom: 15px;
    display: block;
}

.night-modal-header h2 {
    font-size: 28px;
    margin: 0;
    color: #ffd600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.night-modal-body {
    margin-bottom: 30px;
}

.night-modal-body p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.working-hours-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.working-hours-info h3 {
    color: #ffd600;
    margin-bottom: 15px;
    font-size: 18px;
}

.working-hours-list {
    text-align: left;
    margin-bottom: 15px;
}

.working-hours-list p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.working-hours-list .day {
    font-weight: 500;
}

.working-hours-list .hours {
    color: #ffd600;
    font-weight: bold;
}

.night-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.night-close-btn {
    background: linear-gradient(135deg, #ffd600 0%, #ff6b00 100%);
    color: #000;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.night-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .night-modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .night-modal-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .night-modal-header i {
        font-size: 36px;
    }
}

/* Общие стили для планшетов (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Контейнер для планшетов */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Шапка для планшетов */
    header {
        padding: 8px 0;
    }
    
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo {
        order: 1;
    }
    
    .main-nav {
        order: 3;
        margin: 10px 0 0;
        flex-basis: 100%;
        justify-content: center;
    }
    
    .nav-list {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-list a {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .header-right {
        order: 2;
        gap: 15px;
    }
    
    .contact-info {
        gap: 10px;
    }
    
    .phone, .delivery-time, .work-hours {
        font-size: 12px;
    }
    
    /* Сетка категорий для планшетов */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 30px 0;
    }
    
    .category-img {
        height: 180px;
    }
    
    .category-title {
        padding: 12px;
        font-size: 16px;
    }
    
    /* Сетка товаров для планшетов */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-img {
        height: 180px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .add-to-cart-btn {
        padding: 8px 10px;
        font-size: 13px;
        width: 65%;
    }
    
    /* Геро-секция для планшетов */
    .hero {
        padding: 150px 0 50px;
        margin-top: -70px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        max-width: 90%;
    }
    
    /* Секции продуктов для планшетов */
    .products {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    /* Модальные окна для планшетов */
    .modal-content, 
    .cart-modal-content, 
    .checkout-modal-content, 
    .payment-modal-content {
        width: 90%;
        margin: 3% auto;
        padding: 15px;
    }
    
    .modal-product {
        flex-direction: column;
        gap: 20px;
    }
    
    .modal-product-image {
        max-width: 100%;
    }
    
    .modal-product-title {
        font-size: 22px;
    }
    
    .modal-product-price {
        font-size: 24px;
    }
    
    .modal-add-to-cart-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Корзина для планшетов */
    .cart-item {
        grid-template-columns: 50px 1fr 80px 120px;
        grid-template-areas: 
            "image info info remove"
            "image price quantity total";
        gap: 10px;
        padding: 12px 0;
    }
    
    .cart-item-image {
        grid-area: image;
        width: 50px;
        height: 50px;
    }
    
    .cart-item-info {
        grid-area: info;
    }
    
    .cart-item-price {
        grid-area: price;
        text-align: left;
        font-size: 14px;
    }
    
    .cart-item-quantity {
        grid-area: quantity;
        justify-content: flex-start;
        gap: 8px;
    }
    
    .cart-item-total {
        grid-area: total;
        text-align: right;
        font-size: 14px;
    }
    
    .remove-item {
        grid-area: remove;
        justify-self: end;
        width: 35px;
        height: 35px;
    }
    
    /* Форма заказа для планшетов */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    /* Футер для планшетов */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Мобильное меню для планшетов */
    .header_collapse {
        width: 70%;
        max-width: 400px;
    }
    
    /* Улучшенная навигация для планшетов */
    .header_mobile_button {
        display: flex;
    }
    
    /* Скрываем контактную информацию в шапке на планшетах */
    .contact-info {
        display: none;
    }
    
    .phone-icon a {
        display: flex;
    }
    
    /* Улучшаем отображение SEO текста на планшетах */
    .seo-section {
        padding: 40px 0;
    }
    
    .seo-content {
        padding: 0 15px;
    }
    
    .seo-content h2 {
        font-size: 22px;
    }
    
    .seo-content h3 {
        font-size: 18px;
    }
    
    /* Специальные стили для планшетов в альбомной ориентации */
    @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
        .category-grid {
            grid-template-columns: repeat(4, 1fr);
        }
        
        .product-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        
        .main-nav {
            margin: 0;
            flex-basis: auto;
            order: 2;
        }
        
        .header-right {
            order: 3;
        }
    }
}

/* Дополнительные улучшения для планшетов с высокой плотностью пикселей */
@media (min-width: 768px) and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    .product-img img,
    .category-img img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Улучшения для iPad Pro и других крупных планшетов */
@media (min-width: 1024px) and (max-width: 1366px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .container {
        max-width: 1200px;
    }
}

/* Специальные улучшения для взаимодействия на планшетах */
@media (hover: none) and (pointer: coarse) {
    /* Увеличиваем области касания для планшетов */
    .add-to-cart-btn,
    .quantity-btn,
    .size-btn,
    .modal-size-btn,
    .checkout-btn,
    .submit-order-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-list a {
        padding: 12px 0;
    }
    
    /* Убираем hover-эффекты для тач-устройств */
    .category-card:hover {
        transform: none;
    }
    
    .product-card:hover {
        transform: none;
    }
    
    /* Добавляем активные состояния для тач-устройств */
    .category-card:active {
        transform: scale(0.98);
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .add-to-cart-btn:active,
    .checkout-btn:active,
    .submit-order-btn:active {
        transform: scale(0.95);
    }
}

/* Улучшения для планшетов с поддержкой стилуса */
@media (pointer: fine) and (hover: hover) {
    /* Восстанавливаем hover-эффекты для устройств с точным указателем */
    .category-card:hover {
        transform: translateY(-5px);
    }
    
    .product-card:hover {
        transform: translateY(-5px);
    }
}



/* Стили для кнопки быстрого заказа */
.quick-order-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 999;
    display: none;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.quick-order-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.quick-order-button.visible {
    display: flex;
    animation: bounceIn 0.5s ease-out;
}

.quick-order-button i {
    font-size: 20px;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
    80% {
        opacity: 1;
        transform: scale(0.89);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Модальное окно для быстрого заказа */
.quick-order-modal .modal-content {
    max-width: 500px;
}

.quick-order-form {
    padding: 10px 0;
}

.quick-order-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #25D366;
}

.quick-order-items {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.quick-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.quick-order-item:last-child {
    border-bottom: none;
}

.quick-order-total {
    font-weight: bold;
    font-size: 18px;
    color: #E53935;
    text-align: center;
    padding-top: 10px;
    border-top: 2px solid #dee2e6;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    font-size: 20px;
}
  

	.averin_newyear {
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left:0;
		z-index: -1;
	}

	#snow {
		width: 100%;
		height: 100%;
		background-image: url("/snow1.png"), url("/snow2.png"), url("/snow3.png");
		-webkit-animation: snow 20s linear infinite;
		-moz-animation: snow 20s linear infinite;
		-ms-animation: snow 20s linear infinite;
		animation: snow 20s linear infinite;
	}

	@keyframes snow {
		0% {
			background-position: 0px 0px, 0px 0px, 0px 0px;
		}
		100% {
			background-position: 500px 1000px, 400px 400px, 300px 300px;
		}
	}

	@-moz-keyframes snow {
		0% {
			background-position: 0px 0px, 0px 0px, 0px 0px;
		}
		100% {
			background-position: 500px 1000px, 400px 400px, 300px 300px;
		}
	}

	@-webkit-keyframes snow {
		0% {
			background-position: 0px 0px, 0px 0px, 0px 0px;
		}
		100% {
			background-position: 500px 1000px, 400px 400px, 300px 300px;
		}
	}

	@-ms-keyframes snow {
		0% {
			background-position: 0px 0px, 0px 0px, 0px 0px;
		}
		100% {
			background-position: 500px 1000px, 400px 400px, 300px 300px;
		}
	}
	

.promo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.promo-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 10px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: modalAppear 0.5s ease-out;
}

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

.promo-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.promo-close:hover {
    color: #000;
}

.promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.promo-title {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.promo-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

.promo-button {
    display: block;
    width: 200px;
    margin: 0 auto;
    padding: 12px 20px;
    background-color: #e53935;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: 1px;
}

.promo-button:hover {
    background-color: #e53935;
}

@media (max-width: 768px) {
    .promo-modal-content {
       
        width: 95%;
    }
    
    .promo-image {
        height: 200px;
    }
}