/* Featured Sarees Section */
.featured-sarees {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Carousel Container */
.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    overflow: hidden;
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #FF6B6B;
    color: #FF6B6B;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: #FF6B6B;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-left {
    left: 20px;
}

.carousel-btn-right {
    right: 20px;
}

.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

/* Auto-scroll animation removed - manual scrolling only */
/* 
@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
*/

/* Infinite scroll effect */
.carousel-track {
    will-change: transform;
}

.carousel-track::after {
    content: '';
    flex: 0 0 100px;
}

.featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex: 0 0 350px;
    width: 350px;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.featured-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-info {
    padding: 24px;
    text-align: center;
}

.featured-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.4;
}

.featured-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #e53e3e;
    margin-bottom: 20px;
}

.featured-buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.featured-card .add-to-cart-btn,
.featured-card .buy-now-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card .add-to-cart-btn {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid #667eea;
}

.featured-card .add-to-cart-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.featured-card .buy-now-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.featured-card .buy-now-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Touch Support for Mobile */
.carousel-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

@media (hover: none) and (pointer: coarse) {
    .carousel-container {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .carousel-container::-webkit-scrollbar {
        display: none;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 15px;
    }
    
    .featured-card {
        flex: 0 0 280px;
        width: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .featured-sarees {
        padding: 60px 0;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .carousel-track {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .featured-info {
        padding: 20px;
    }
    
    .featured-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .featured-card {
        flex: 0 0 250px;
        width: 250px;
    }
    
    .carousel-track {
        gap: 15px;
    }
}