/* Best Selling Colors Section */
.best-selling-colors-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.best-selling-colors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
}

/* Titles */
.best-selling-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.best-selling-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.best-selling-description {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Grid */
.best-selling-colors-grid {
    margin-top: 2rem;
}

/* Color Cards */
.color-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.color-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.color-card__image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px
}

.color-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.color-card:hover .color-card__image {
    transform: scale(1.05);
}

.color-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-card:hover .color-card__overlay {
    opacity: 1;
}

.color-card__view-text {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Content */
.color-card__content {
    padding: 1.25rem 1rem 1rem;
    text-align: center;
}

.color-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.color-card__subtitle {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

/* Badges */
.color-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.color-card__cta-link {
    color: #667eea;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.color-card__cta-link:hover {
    transform: translateX(3px);
    color: #5a6fd8;
}

/* CTA Section */
.best-selling-cta-section {
    margin-top: 3rem;
}

.best-selling-cta-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    color: #fff;
    text-align: center;
}

.best-selling-cta-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.best-selling-cta-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.best-selling-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #667eea;
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.best-selling-cta-button:hover {
    background: #f8f9fa;
    color: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Carousel Styling for Mobile */
#best-selling-carousel .carousel-control-prev,
#best-selling-carousel .carousel-control-next {
    width: 45px;
    height: 45px;
    background-color: rgba(17, 16, 16, 0.9);
    border-radius: 50%;
    top: 40%;
    transform: translateY(-50%);
    color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

#best-selling-carousel .carousel-control-prev:hover,
#best-selling-carousel .carousel-control-next:hover {
    background-color: #fff;
    color: #667eea;
}

#best-selling-carousel .carousel-control-prev {
    left: -15px;
}

#best-selling-carousel .carousel-control-next {
    right: -15px;
}

#best-selling-carousel .carousel-indicators {
    bottom: -30px;
}

#best-selling-carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(108, 117, 125, 0.3);
    border: none;
    margin: 0 5px;
}

#best-selling-carousel .carousel-indicators .active {
    background-color: #667eea;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .best-selling-title {
        font-size: 1.75rem;
    }
    
    .best-selling-cta-card {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .best-selling-title {
        font-size: 1.5rem;
    }
    
    .best-selling-subtitle {
        font-size: 0.8rem;
    }
    
    .best-selling-description {
        font-size: 1rem;
    }
    
    .color-card__content {
        padding: 1rem 0.75rem 0.75rem;
    }
    
    .color-card__title {
        font-size: 1rem;
    }
    
    .color-card__subtitle {
        font-size: 0.8rem;
    }
    
    .best-selling-cta-title {
        font-size: 1.25rem;
    }
    
    .best-selling-cta-button {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }

    /* Mobile carousel adjustments */
    #best-selling-carousel {
        margin-top: 2rem;
        padding-bottom: 50px;
    }
}

@media (max-width: 575.98px) {
    
    .all-colors-text {
        font-size: 2rem;
    }
    
    .all-colors-subtext {
        font-size: 0.8rem;
    }

    #best-selling-carousel .carousel-control-prev,
    #best-selling-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}