html[dir="rtl"] body.smh-auto-locale-ar,
html[dir="rtl"] body.smh-auto-locale-rtl,
body.smh-auto-locale-ar,
body.smh-auto-locale-rtl {
    direction: rtl;
    text-align: right;
}

body.smh-auto-locale-ar input,
body.smh-auto-locale-rtl input,
body.smh-auto-locale-ar textarea,
body.smh-auto-locale-rtl textarea,
body.smh-auto-locale-ar select,
body.smh-auto-locale-rtl select,
body.smh-auto-locale-ar button,
body.smh-auto-locale-rtl button {
    text-align: right;
}

body.smh-auto-locale-ar .smh-brandbar-grid,
body.smh-auto-locale-rtl .smh-brandbar-grid,
body.smh-auto-locale-ar .smh-categorybar-grid,
body.smh-auto-locale-rtl .smh-categorybar-grid,
body.smh-auto-locale-ar .smh-product-section-head,
body.smh-auto-locale-rtl .smh-product-section-head,
body.smh-auto-locale-ar .smh-section-title,
body.smh-auto-locale-rtl .smh-section-title,
body.smh-auto-locale-ar .smh-benefit-grid,
body.smh-auto-locale-rtl .smh-benefit-grid,
body.smh-auto-locale-ar .smh-product-facts,
body.smh-auto-locale-rtl .smh-product-facts,
body.smh-auto-locale-ar .smh-product-breadcrumb,
body.smh-auto-locale-rtl .smh-product-breadcrumb {
    direction: rtl;
}

body.smh-auto-locale-ar .smh-top-search input,
body.smh-auto-locale-rtl .smh-top-search input,
body.smh-auto-locale-ar .smh-hero-search input,
body.smh-auto-locale-rtl .smh-hero-search input {
    padding-right: 18px;
    padding-left: 54px;
}

body.smh-auto-locale-ar .smh-top-search button,
body.smh-auto-locale-rtl .smh-top-search button,
body.smh-auto-locale-ar .smh-hero-search button,
body.smh-auto-locale-rtl .smh-hero-search button {
    right: auto;
    left: 6px;
}

body.smh-auto-locale-ar .smh-product-card,
body.smh-auto-locale-rtl .smh-product-card,
body.smh-auto-locale-ar .smh-product-body,
body.smh-auto-locale-rtl .smh-product-body,
body.smh-auto-locale-ar .smh-custom-request-card,
body.smh-auto-locale-rtl .smh-custom-request-card,
body.smh-auto-locale-ar .smh-price-filter-card,
body.smh-auto-locale-rtl .smh-price-filter-card,
body.smh-auto-locale-ar .smh-product-summary,
body.smh-auto-locale-rtl .smh-product-summary,
body.smh-auto-locale-ar .smh-product-details-content,
body.smh-auto-locale-rtl .smh-product-details-content,
body.smh-auto-locale-ar .smh-requirements-box,
body.smh-auto-locale-rtl .smh-requirements-box,
body.smh-auto-locale-ar .smh-info-grid,
body.smh-auto-locale-rtl .smh-info-grid,
body.smh-auto-locale-ar .smh-seo-footer-links,
body.smh-auto-locale-rtl .smh-seo-footer-links {
    text-align: right;
}

body.smh-auto-locale-ar .smh-product-breadcrumb span,
body.smh-auto-locale-rtl .smh-product-breadcrumb span {
    transform: scaleX(-1);
}

body.smh-auto-locale-ar .smh-price-values,
body.smh-auto-locale-rtl .smh-price-values,
body.smh-auto-locale-ar .smh-price-inputs,
body.smh-auto-locale-rtl .smh-price-inputs {
    direction: ltr;
}

body.smh-auto-locale-ar .smh-price-inputs label,
body.smh-auto-locale-rtl .smh-price-inputs label {
    direction: rtl;
    text-align: right;
}

body.smh-auto-locale-ar .smh-price-inputs input,
body.smh-auto-locale-rtl .smh-price-inputs input {
    direction: ltr;
    text-align: left;
}

body.smh-auto-locale-ar .smh-product-price,
body.smh-auto-locale-rtl .smh-product-price,
body.smh-auto-locale-ar .smh-product-price-large,
body.smh-auto-locale-rtl .smh-product-price-large,
body.smh-auto-locale-ar .price,
body.smh-auto-locale-rtl .price,
body.smh-auto-locale-ar .amount,
body.smh-auto-locale-rtl .amount {
    direction: ltr;
    unicode-bidi: isolate;
}

body.smh-auto-locale-ar .smh-card-views,
body.smh-auto-locale-rtl .smh-card-views,
body.smh-auto-locale-ar .smh-card-purchases,
body.smh-auto-locale-rtl .smh-card-purchases {
    direction: ltr;
}

@media (max-width: 782px) {
    body.smh-auto-locale-ar .smh-brandbar-grid,
    body.smh-auto-locale-rtl .smh-brandbar-grid,
    body.smh-auto-locale-ar .smh-categorybar-grid,
    body.smh-auto-locale-rtl .smh-categorybar-grid,
    body.smh-auto-locale-ar .smh-product-section-head,
    body.smh-auto-locale-rtl .smh-product-section-head,
    body.smh-auto-locale-ar .smh-section-title,
    body.smh-auto-locale-rtl .smh-section-title {
        text-align: right;
    }
}
