/**
 * Product Sections CSS
 * Styles for Related Products and Best Selling sections with Swiper
 */

/* Section Container */
.product-section {
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Products Carousel Header (shared with products-carousel) */
.products-carousel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}
.products-carousel-header .title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.products-carousel-header .title-container p {
    /* Overline */
    font-size: var(--theme-font-size-overline);
    font-weight: var(--theme-font-weight-overline);
    line-height: var(--theme-line-height-overline);
    letter-spacing: var(--theme-letter-spacing-overline);
    color: var(--theme-color-text);
    text-transform: uppercase;
}
.products-carousel-header > a {
    color: #000;
    font-family: "Ebony";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    text-decoration: none;
}

.products-carousel-header h2 {
    color: var(--Primary, #000);

    /* H3 */
    font-family: Montserrat;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.64px;
    text-transform: uppercase;
}


.related-products-section .swiper-slide {
    height: auto !important;
}
/* Section Specific Styling */
.related-products-section,
.best-selling-section {
    margin: 0;
}

.related-products-section .swiper-pagination{
    display: none !important;
}
/* Responsive Layout */
@media (max-width: 1024px) {
    .products-carousel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .products-carousel-nav-buttons {
        display: none;
    }
    
    .products-carousel-header h2 {
        font-size: 40px;
    }

    /* Show pagination on mobile */
    .related-products-section .swiper-pagination {
        display: block !important;
    }
}

@media (max-width: 768px) {


    .products-carousel-nav-buttons {
        display: none !important;
    }
    
    .products-carousel-header h2 {
        font-size: 32px;
    }
}