/* Стилі для слайдера рекомендованих товарів */

.recommended-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.recommended-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 50px;
}

.recommended-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 0 20px;
}

.recommended-slider::-webkit-scrollbar {
    display: none;
}

.recommended-slider .product-card {
    flex: 0 0 200px;
    max-width: 200px;
    min-width: 200px;
    height: 340px;
    max-height: 340px;
}

.new-products-section .promo-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e91e63;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #e91e63;
}

.new-products-section .promo-nav-btn:hover {
    background: #e91e63;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.new-products-section .promo-nav-btn svg path {
    stroke: currentColor;
}

.new-products-section .slider-prev-new {
    left: 0;
}

.new-products-section .slider-next-new {
    right: 0;
}


/* Адаптивність */
@media (max-width: 768px) {
    .recommended-slider-container {
        padding: 0;
    }
    
    .recommended-slider {
        gap: 15px;
        padding: 10px 15px 0px;
    }
    
    .recommended-slider .product-card {
        flex: 0 0 calc(50% - 7.5px);
        max-width: calc(50% - 7.5px);
        min-width: calc(50% - 7.5px);
        height: 280px;
        max-height: 280px;
    }
    
    .new-products-section .section-subtitle {
        margin-bottom: 0;
    }
    
    .new-products-section .slider-nav-controls {
        display: flex;
        gap: 15px;
        justify-content: center;
    }
    
    .new-products-section .promo-nav-btn {
        position: static;
        transform: none;
        width: 36px;
        height: 36px;
    }
    
    .new-products-section .promo-nav-btn:hover {
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    .recommended-slider .product-card {
        flex: 0 0 calc(50% - 7.5px);
        max-width: calc(50% - 7.5px);
        min-width: calc(50% - 7.5px);
        height: 280px;
        max-height: 280px;
    }
    
    .new-products-section .promo-nav-btn {
        width: 34px;
        height: 34px;
    }
    
    .new-products-section .promo-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}


