/* RTL Fix for Owl Carousel - Additional Styles */


/* Fix for owl-stage-outer in RTL layout */

body.rtl-layout .owl-carousel {
    direction: initial;
}

body.rtl-layout .owl-carousel .owl-stage-outer {
    direction: initial;
    overflow: hidden;
    position: relative;
    width: 100%;
}

body.rtl-layout .owl-carousel .owl-stage {
    position: relative;
    touch-action: manipulation;
    display: flex;
    flex-direction: row-reverse;
}

body.rtl-layout .owl-carousel .owl-item {
    direction: rtl;
    float: right;
    min-height: 1px;
    position: relative;
}


/* Main slider specific fixes */

body.rtl-layout .main-slider-one__carousel {
    direction: ltr;
}

body.rtl-layout .main-slider-one__carousel .owl-stage-outer {
    direction: rtl;
}

body.rtl-layout .main-slider-one__carousel .owl-stage {
    flex-direction: row-reverse;
}

body.rtl-layout .main-slider-one__carousel .owl-item {
    direction: rtl;
    float: right;
}


/* Testimonials carousel fixes */

body.rtl-layout .testimonials-one__carousel {
    direction: ltr;
}

body.rtl-layout .testimonials-one__carousel .owl-stage-outer {
    direction: rtl;
}

body.rtl-layout .testimonials-one__carousel .owl-stage {
    flex-direction: row-reverse;
}

body.rtl-layout .testimonials-one__carousel .owl-item {
    direction: rtl;
    float: right;
}


/* Client carousel fixes */

body.rtl-layout .client-carousel__one {
    direction: ltr;
}

body.rtl-layout .client-carousel__one .owl-stage-outer {
    direction: rtl;
}

body.rtl-layout .client-carousel__one .owl-stage {
    flex-direction: row-reverse;
}

body.rtl-layout .client-carousel__one .owl-item {
    direction: rtl;
    float: right;
}


/* General handyfix carousel fixes */

body.rtl-layout .handyfix-owl__carousel {
    direction: ltr;
}

body.rtl-layout .handyfix-owl__carousel .owl-stage-outer {
    direction: rtl;
}

body.rtl-layout .handyfix-owl__carousel .owl-stage {
    flex-direction: row-reverse;
}

body.rtl-layout .handyfix-owl__carousel .owl-item {
    direction: rtl;
    float: right;
}


/* Ensure proper positioning */

body.rtl-layout .owl-stage-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
}

body.rtl-layout .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
}

body.rtl-layout .owl-item {
    position: relative;
    min-height: 1px;
    float: right;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}


/* Fix for navigation buttons in RTL */

body.rtl-layout .owl-nav {
    direction: rtl;
}

body.rtl-layout .owl-prev,
body.rtl-layout .owl-next {
    transform: scaleX(-1);
}


/* Ensure images display correctly in RTL */

body.rtl-layout .owl-carousel img {
    max-width: 100%;
    height: auto;
}