/* Salient Child RTL Styles */

/* Breadcrumbs Fix */
html[lang="ar"] body .full-width-content .woocommerce-breadcrumb,
body.rtl .full-width-content .woocommerce-breadcrumb {
    padding-left: 0 !important;
    padding-right: 2% !important;
    text-align: center !important;
}

body.rtl .woocommerce-breadcrumb a {
    background-position: right bottom !important;
}

/* Product Main Image Margin/Padding Fix */
@media only screen and (min-width: 1000px) {
    body.rtl .single-product .row > .product[data-gallery-style] .single-product-main-image, 
    body.rtl .single-product .product[data-gallery-style] .single-product-main-image {
        margin-right: 0 !important;
        margin-left: 5% !important;
        float: right !important;
    }

    body.rtl .single-product .row > .product[data-gallery-style] .summary,
    body.rtl .single-product .product[data-gallery-style] .summary {
        float: left !important;
    }
}

body.rtl .single-product-main-image {
    padding-right: 0 !important;
}
body.rtl .product-collection,
body.rtl .collection-description {
    text-align: right !important;
}

/* WPBakery Row/Column Overrides */
body.rtl .vc_row[style*="text-align: left"],
body.rtl .vc_row[style*="text-align:left"],
body.rtl .vc_column_container[style*="text-align: left"],
body.rtl .vc_column_container[style*="text-align:left"],
body.rtl .wpb_text_column[style*="text-align: left"],
body.rtl .wpb_text_column[style*="text-align:left"] {
    text-align: right !important;
}

/* Product Properties (ACF/VC Rows) Fix */
body.rtl [el_id^="property-"],
body.rtl [el_id^="property-"] .vc_column-inner,
body.rtl [el_id^="property-"] .wpb_text_column,
body.rtl [el_id^="property-"] .wpb_wrapper {
    text-align: right !important;
}

/* Force right alignment for any text in property rows */
body.rtl .pp-details .vc_row_inner,
body.rtl .pp-details .vc_column_inner {
    text-align: right !important;
}

/* Salient Theme Specific Elements */
body.rtl .nectar-milestone .number,
body.rtl .nectar-milestone .subject {
    text-align: right !important;
}

/* Icon list alignment */
body.rtl .i-list {
    text-align: right !important;
}

body.rtl .i-list i {
    margin-left: 10px !important;
    margin-right: 0 !important;
    float: right !important;
}

/* Toggles (Minimal Small) Fix */
body.rtl .toggles.minimal_small .toggle h3 a {
    padding-left: 30px !important;
    padding-right: 15px !important;
    text-align: right !important;
}

body.rtl .toggles.minimal_small .toggle h3 i {
    left: 15px !important;
    right: auto !important;
}

/* Product Loop */
body.rtl .woocommerce-loop-product__title,
body.rtl .woocommerce-loop-category__title,
body.rtl .prod-pattern-type,
body.rtl .prod-style {
    text-align: right !important;
    direction: rtl !important;
}
