/* MAIN WIDGET WRAPPER */
.product-variation-thumbnail-carousel{
    position: unset !important;
}

/* MAIN WRAPPER */
.custom-product-slider {
    width: 100%;
    /* overflow: hidden; */
    /* position: relative; */
}

/* SWIPER BASE */
.custom-product-slider .swiper {
    width: 100%;
    position: unset !important;
}

/* FIX FLEX */
.custom-product-slider .swiper-wrapper {
    display: flex;
    
}

/* EACH SLIDE */
.custom-product-slider .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGE */
.custom-product-slider img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* NAVIGATION */
.custom-product-slider .swiper-button-next::after,
.custom-product-slider .swiper-button-prev::after{
    display: none;
}
.custom-product-slider .swiper-button-prev{
    left: 20px;
    right: auto;
}
.custom-product-slider .swiper-button-next{
    right: 20px;
    left: auto;
}
.custom-product-slider .swiper-button-next,
.custom-product-slider .swiper-button-prev{
    opacity: 0;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}
.custom-product-slider .swiper-button-next svg path,
.custom-product-slider .swiper-button-prev svg path{
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}
.custom-product-slider .swiper-button-next svg:hover path,
.custom-product-slider .swiper-button-prev svg:hover path{
    stroke: #C1002B;
}
/* PROGRESS BAR */
.custom-product-slider .swiper-pagination-progressbar {
    background: #F5F6EE;
    position: absolute;
    top: unset !important;
    bottom: 0;
    height: 10px !important;
    opacity: 0;
    transition: all 0.5s ease-in-out !important;
    -webkit-transition: all 0.5s ease-in-out !important;
    -moz-transition: all 0.5s ease-in-out !important;
    -ms-transition: all 0.5s ease-in-out !important;
    -o-transition: all 0.5s ease-in-out !important;
}

.custom-product-slider .swiper-pagination-progressbar-fill {
    background: #E1E4CE !important;
}
.product-drag-slider-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,100%);
    -webkit-transform: translate(-50%,100%);
    -moz-transform: translate(-50%,100%);
    -ms-transform: translate(-50%,100%);
    -o-transform: translate(-50%,100%);
    padding: 0 10px 25px 10px;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    width: 100%;
}
.product-drag-slider-wrapper h4{
    margin: 0 ;
    font-family: var(--e-global-typography-b2a9d32-font-family), Sans-serif;
    font-size: var(--e-global-typography-b2a9d32-font-size);
    font-weight: var(--e-global-typography-b2a9d32-font-weight);
    line-height: var(--e-global-typography-b2a9d32-line-height);
    letter-spacing: var(--e-global-typography-b2a9d32-letter-spacing);
    color: #67685D;
}
.product-image-wrapper:hover .product-drag-slider-wrapper{
    transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
}
.product-image-wrapper:hover .swiper-pagination-progressbar,
.product-image-wrapper:hover .custom-product-slider .swiper-button-next,
.product-image-wrapper:hover .custom-product-slider .swiper-button-prev{
    opacity: 1;
}

.product-loop-item:has(.product-image-wrapper:hover) .custom-product-slider .swiper-button-next.swiper-button-disabled,
.product-loop-item:has(.product-image-wrapper:hover) .custom-product-slider .swiper-button-prev.swiper-button-disabled{
    opacity: 0.35 !important;
}


/* ELEMENTOR LOOP FIX */
.product-variation-thumbnail-carousel .elementor-widget-container {
    width: 100%;
}

/*========================== MEDIA QUERIES SATRT ==========================*/
@media(max-width: 1200px){
    .custom-product-slider .swiper-pagination-progressbar {height: 7px !important;}
}
@media(max-width: 767px){
    .product-image-wrapper .product-drag-slider-wrapper,
    .product-image-wrapper:hover .product-drag-slider-wrapper{ transform: translate(-50%,0); -webkit-transform: translate(-50%,0); -moz-transform: translate(-50%,0); -ms-transform: translate(-50%,0); -o-transform: translate(-50%,0); }
    .product-image-wrapper:hover .swiper-pagination-progressbar, 
    .product-image-wrapper:hover .custom-product-slider .swiper-button-next, 
    .product-image-wrapper:hover .custom-product-slider .swiper-button-prev,
    .product-image-wrapper .swiper-pagination-progressbar, 
    .product-image-wrapper .custom-product-slider .swiper-button-next, 
    .product-image-wrapper .custom-product-slider .swiper-button-prev{ opacity: 1; }
    .custom-product-slider .swiper-button-prev{ left: 15px;}
    .custom-product-slider .swiper-button-next{ right: 25px;}
}
/*========================== MEDIA QUERIES END ==========================*/