/* Mobile Styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cart-overlay {
        max-width: 100%;
        width: 100%;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-nav-toggle {
        display: none;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-header {
        font-size: 1.25rem;
    }
    
    .grid-cols-1 {
        grid-template-columns: 1fr;
    }
    
    .product-card .p-4 {
        padding: 1rem;
    }
}

/* Обновленные стили для карусели - добавить в css/responsive.css или css/style.css */

/* Базовые стили карусели */
.carousel-container {
    height: 60vh; /* 60% высоты экрана */
    min-height: 400px;
    max-height: 600px;
    margin-bottom: 3rem;
}

.carousel-slide {
    height: 100%;
}

.carousel-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Улучшенные стили для кнопок навигации */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-btn i {
    color: #333;
    font-size: 1.2rem;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .carousel-container {
        height: 50vh !important;
        min-height: 350px !important;
        max-height: 450px !important;
        margin-bottom: 2rem !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;
    }
    
    .carousel-btn-prev {
        left: 15px !important;
    }
    
    .carousel-btn-next {
        right: 15px !important;
    }
    
    .carousel-btn i {
        font-size: 1rem !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .carousel-container {
        height: 45vh !important;
        min-height: 300px !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;
    }
}

/* Для десктопа */
@media (min-width: 1024px) {
    .carousel-container {
        height: 55vh;
        min-height: 450px;
        max-height: 650px;
    }
}