/**
 * جلوگیری از تداخل swipe کاروسل/اسلایدر با back/forward مرورگر
 */

.hpb-carousel,
.hpb-carousel .hpb-carousel__swiper,
.hpb-carousel .swiper,
.hpb-slider,
.hpb-slider .hpb-slider__swiper,
.hpb-slider .swiper,
.hpb-grid--slider .swiper {
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.hpb-carousel__swiper:not(.swiper-initialized) .swiper-wrapper {
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
}

.hpb-carousel.hpb-touch-active,
.hpb-slider.hpb-touch-active,
.hpb-carousel.hpb-touch-active .swiper,
.hpb-slider.hpb-touch-active .swiper {
    touch-action: none;
}
