/* =============================================================================
   Featured Product Slider
============================================================================= */

.featured-product-slider {
    width: 100%;
    overflow: hidden;
}

.featured-product-slider-container-fluid {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 100px;
}

.featured-product-slider-container {
    text-align: center;
    position: relative;
    overflow: visible;
}

.featured-product-slider-title {
    margin-bottom: 30px;
}


/* =============================================================================
   Slider
============================================================================= */

.featured-product-slider-slide-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
    position: relative;
    bottom: 15px;
}

.featured-product-slider-swiper {
    width: 100%;
    overflow: visible;
}

.featured-product-slider-swiper .swiper-wrapper {
    align-items: center;
    overflow: visible;
}

.featured-product-slider-slide {
    height: auto;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
    transform: scale(0.9);
}


.featured-product-slider-swiper .swiper-button-prev,
.featured-product-slider-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    background-color: var(--FC-tan);
    border-radius: 50%;
}

.featured-product-slider-swiper .swiper-button-prev {
    left: 0;
}

.featured-product-slider-swiper .swiper-button-next {
    right: 0;
}

.featured-product-slider-swiper .swiper-button-prev::before,
.featured-product-slider-swiper .swiper-button-next::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 13px;
    height: 13px;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    transform-origin: center;
}

.featured-product-slider-swiper .swiper-button-prev::before {
    left: 17px;
    transform: translateY(-50%) rotate(-45deg);
}

.featured-product-slider-swiper .swiper-button-next::before {
    right: 17px;
    transform: translateY(-50%) rotate(135deg);
}

.featured-product-slider-swiper .swiper-button-prev::after,
.featured-product-slider-swiper .swiper-button-next::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background-color: #000;
    transform: translateY(-50%);
}

.featured-product-slider-swiper .swiper-button-prev::after {
    right: 14px;
}

.featured-product-slider-swiper .swiper-button-next::after {
    left: 14px;
}



/* =============================================================================
   Category Card
============================================================================= */

.featured-product-slider-category-card {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
    border: solid 2px var(--FC-purple);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none !important;
    color: #000;
    padding: 15px;
    padding-top: 0;
    padding-bottom: 0;
}


/* =============================================================================
   Image
============================================================================= */

.featured-product-slider-image-wrapper {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: top center;
    background-position-y: -2%;
    background-repeat: no-repeat;
    background-size: 35%;
}


/* =============================================================================
   Category Name
============================================================================= */

.featured-product-slider-category-name {
    /* position: absolute; */
    /* bottom: 15px; */
    /* left: 15px;
    right: 15px; */
    background: #e1ddd8;
    border-radius: 3px;
    font-size: var(--FC-font-size-16);
    line-height: 1.2;
    text-align: center;
    padding: 15px 10px;
}


/* =============================================================================
   Active Slide
============================================================================= */

.featured-product-slider-slide.is-active {
    transform: scale(1);
    z-index: 2;
}

.featured-product-slider-slide.is-active
.featured-product-slider-category-card {
    overflow: hidden;
}

.featured-product-slider-slide.is-active
.featured-product-slider-category-name {
    background: #9270c8;
    color: #ffffff;
}


/* =============================================================================
   Product List
============================================================================= */

.featured-product-slider-products-container {
    margin-top: 35px;
    text-align: center;
}

.featured-product-slider-products {
    display: none;
}

.featured-product-slider-products.is-active {
    display: block;
}

.featured-product-slider-product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
    row-gap: 10px;
}

.featured-product-slider-product-link {
    position: relative;
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.featured-product-slider-product-link:hover {
    color: #9270c8;
}

.featured-product-slider-product-link:first-child {
    text-decoration: underline;
    text-decoration-color: #9270c8;
    text-underline-offset: 4px;
}


/* =============================================================================
   Mobile
============================================================================= */

@media (max-width: 767px) {

    /* .featured-product-slider-category-card {
        height: 160px;
    }

    .featured-product-slider-slide.is-active
    .featured-product-slider-category-card {
        height: 180px;
    } */

    .featured-product-slider-product-list {
        column-gap: 15px;
    }

}


@media (max-width: 1199px) {

    .featured-product-slider-category-card {
        height: 300px;
    }

}


@media (max-width: 991px) {

    .featured-product-slider-category-card {
        height: 250px;
    }

    .featured-product-slider-category-name {
        font-size: var(--FC-font-size-18);
    }

}


@media (max-width: 767px) { 

    .featured-product-slider-container-fluid {
        margin-bottom: 75px;
    }

    .featured-product-slider-category-card {
        height: 200px;
    }

    .featured-product-slider-products.is-active {
        display: none;
    }

}


