/* ========================================
   RECOMMENDED PRODUCTS CAROUSEL
   ======================================== */

.recommended-products-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    margin: 2rem 0;
}

.recommended-products-section h2 {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #2d1b4e;
    margin-bottom: 2rem;
}

#recommended-products-carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.recommended-track {
    display: flex;
    gap: 1.5rem;
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.recommended-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: none;
    flex-direction: column;
}

.recommended-card.active {
    display: flex;
}

.recommended-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
}

.recommended-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recommended-image {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #f8f4ff;
}

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

.recommended-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #7c3aed;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.recommended-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d1b4e;
    margin-bottom: 0.5rem;
}

.recommended-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.btn-recommended-cart {
    width: 100%;
    padding: 0.875rem;
    background: #7c3aed;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-recommended-cart:hover {
    background: #6d28d9;
    transform: translateY(-1px);
}

.recommended-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.recommended-prev,
.recommended-next {
    background: white;
    border: 2px solid #e9d5ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #7c3aed;
}

.recommended-prev:hover,
.recommended-next:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
    transform: scale(1.1);
}

.recommended-dots {
    display: flex;
    gap: 0.5rem;
}

.recommended-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e9d5ff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.recommended-dot.active {
    background: #7c3aed;
    width: 24px;
    border-radius: 5px;
}

/* Desktop - Show 3 cards */
@media (min-width: 1024px) {
    .recommended-track {
        justify-content: center;
    }

    .recommended-card {
        display: flex;
    }

    .recommended-card.active {
        display: flex;
    }
}

/* Tablet - Show 2 cards */
@media (min-width: 768px) and (max-width: 1023px) {
    .recommended-track {
        justify-content: center;
    }

    .recommended-card {
        flex: 0 0 calc(50% - 0.75rem);
        display: none;
    }

    .recommended-card.active,
    .recommended-card.active + .recommended-card {
        display: flex;
    }
}

/* Mobile - Show 1 card */
@media (max-width: 767px) {
    .recommended-card {
        flex: 0 0 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .recommended-track {
        justify-content: center;
    }
}
