.acf-gallery-section .owl-carousel .owl-stage-outer {
    overflow: visible;
}

.acf-gallery-section .container {
    max-width: 1650px;
}

.acf-gallery-section .owl-stage {
    display: flex;
    height: 370px;
}

.acf-gallery-section .owl-item.active.highlight {
    transform: scale(1.3);
    z-index: 2;
    margin-right: 70px !important;
    margin-left: 40px;
}

.rtl .acf-gallery-section .owl-item.active.highlight {
    margin-left: 70px !important;
    margin-right: 35px !important;
}

.rtl .acf-gallery-section .owl-stage-outer {
    padding-right: 10px;
}

.acf-gallery-section .owl-item.active.highlight .product-content h2 {
    /* font-size: var(--f14); */
}

/* body:not(.rtl) .acf-gallery-section .owl-item.active.highlight {
    margin-left: 50px;
    margin-right: calc(50px + 25px) !important;
}

body.rtl .acf-gallery-section .owl-item.active.highlight {
    margin-right: 50px;
    margin-left: calc(50px + 25px) !important;
} */

.acf-gallery-section .owl-item.active.highlight .card-thumbnail-wrap {
    min-height: 280px;
}

.acf-gallery-section .owl-carousel .owl-item {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, margin 0.3s ease-in-out;
}

/* .acf-gallery-section .owl-item:not(.highlight) {
    opacity: 0.8;
} */

.acf-gallery-section .card-thumbnail-wrap {
    height: 260px;
}

.product-content .card-title {
    font-size: var(--f20);
}

/* .product-content h3.card-subtitle.text-muted,
.highlight .product-content .card-title {
    font-size: var(--f14);
} */

.acf-gallery-section .card-thumbnail-wrap img {
    max-width: 70%;
    max-width: 320px;
}

@media (min-width: 992px) {
    .acf-gallery-section .container {
        overflow: hidden;
    }

    body:not(.rtl) .acf-gallery-section .owl-carousel.owl-theme.owl-loaded.owl-drag:after {
        left: unset;
        right: -10px;
        background-image: linear-gradient(to left,
                var(--white) 0%,
                rgba(255, 255, 255, 0.9) 30%,
                rgba(255, 255, 255, 0.7) 60%,
                rgba(255, 255, 255, 0.3) 80%,
                rgba(255, 255, 255, 0) 100%);
    }

    body.rtl .acf-gallery-section .owl-carousel.owl-theme.owl-loaded.owl-drag:after {
        right: unset;
        left: -10px;
        background-image: linear-gradient(to right,
                var(--white) 0%,
                rgba(255, 255, 255, 0.9) 30%,
                rgba(255, 255, 255, 0.7) 60%,
                rgba(255, 255, 255, 0.3) 80%,
                rgba(255, 255, 255, 0) 100%);
    }

    .acf-gallery-section .owl-theme .owl-nav.disabled+.owl-dots {
        margin-top: 70px;
    }
}

@media (max-width: 992px) {

    .acf-gallery-section .owl-item.active.highlight {
    transform: scale(1.3);
    z-index: 2;
    margin-right: 20px !important;
    margin-left: 0;
}

    /* body:not(.rtl) .acf-gallery-section .owl-item.active.highlight {
        margin-left: 30px;
        margin-right: calc(30px + 10px) !important;
    }

    body.rtl .acf-gallery-section .owl-item.active.highlight {
        margin-right: 30px;
        margin-left: calc(30px + 10px) !important;
    } */

    .acf-gallery-section .container {
        min-height: 610px;
    }

    .acf-gallery-section .owl-stage {
        gap: 20px;
        height: 280px;
    }

    .acf-gallery-section .owl-stage {
        gap: unset;
    }

    .acf-gallery-section .owl-item.active {
        padding: 0;
    }

    .acf-gallery-section .owl-item.active.highlight .card-thumbnail-wrap {
        min-height: 220px;
    }

    .acf-gallery-section .card-thumbnail-wrap {
        height: auto;
    }

    .acf-gallery-section .owl-item .card-thumbnail-wrap {
        min-height: 180px;
    }

    .acf-gallery-section .card-thumbnail-wrap img {
        max-width: 83%;
    }

    .acf-gallery-section .owl-theme .owl-nav.disabled+.owl-dots {
        margin-top: 80px;
    }

    .acf-gallery-section .card-thumbnail-wrap img {
        max-width: 100% !important;
        min-width: 100%;
    }
    .highlight .product-content .card-title {
    font-size: var(--f20)!important;
}
.acf-gallery-section .owl-carousel .owl-item{
    transition: none !important;
    transform: none !important;
}
.acf-gallery-section .owl-item.active {
        padding: 0;
    }
}