:root {
    --primary-color: #D92332;
    --secondary-color: #333;
    --accent-color: #f8bd24;
    --light-bg: #f9f9f9;
    --dark-bg: #222;
}

body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo {
    height: 50px;
}

/* Navigation Styles */
.nav-menu {
    position: relative;
}

.nav-item {
    position: relative;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: var(--primary-color);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-item {
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.submenu-item:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* Section Styles */
.menu-section {
    padding: 4rem 0;
}

.section-header {
    position: relative;
    margin-bottom: 2rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 35, 50, 0.2);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c01d2b;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #222;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: white;
}

/* Price Styles */
.special-price {
    color: var(--primary-color);
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

/* Исправления для мобильной карусели */
/* Добавить этот код в css/responsive.css или в конец css/style.css */

/* Мобильная карусель */
@media (max-width: 768px) {
    .carousel-container {
        height: 60vh !important; /* Увеличиваем высоту на мобильных */
        min-height: 400px !important;
        margin-bottom: 2rem !important;
    }
    
    .carousel-slide {
        height: 100% !important;
    }
    
    .carousel-slide img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
    
    /* Контент поверх изображения */
    .carousel-slide .absolute {
        padding: 1rem !important;
    }
    
    .carousel-slide h1 {
        font-size: 1.875rem !important; /* text-3xl */
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .carousel-slide p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .carousel-slide button {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Кнопки навигации карусели */
    .carousel-btn {
        width: 40px !important;
        height: 40px !important;
        background-color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .carousel-btn-prev {
        left: 15px !important;
    }
    
    .carousel-btn-next {
        right: 15px !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .carousel-container {
        height: 50vh !important;
        min-height: 350px !important;
    }
    
    .carousel-slide h1 {
        font-size: 1.5rem !important; /* text-2xl */
    }
    
    .carousel-slide p {
        font-size: 0.875rem !important;
    }
    
    .carousel-btn {
        width: 35px !important;
        height: 35px !important;
    }
    
    .carousel-btn i {
        font-size: 0.875rem !important;
    }
}

    /* Стили для мобильных категорий */
    .mobile-categories-section {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }
    
    .category-card {
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .category-card:active {
        transform: scale(0.98);
    }
    
    .category-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    
    .category-image-container img {
        transition: transform 0.3s ease;
    }
    
    .category-card:hover .category-image-container img {
        transform: scale(1.05);
    }
    
    .category-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    }
    
    /* Эффект нажатия для мобильных */
    @media (max-width: 768px) {
        .category-card:active {
            transform: scale(0.95);
            transition: transform 0.1s ease;
        }
    }
    
    /* Адаптивность для очень маленьких экранов */
    @media (max-width: 480px) {
        .mobile-categories-section .grid {
            gap: 0.75rem;
        }
        
        .category-image-container {
            height: 7rem !important;
        }
        
        .category-overlay h3 {
            font-size: 0.9rem !important;
        }
    }