/**
 * Arabic locale: text direction only.
 * Layout (sidebar, header, footer, panels) stays identical to English (LTR structure).
 */

/* Force LTR structure — same positions as English */
html[lang="ar"],
html[lang="ar"] body,
body.locale-ar .wrapper,
body.locale-ar header,
body.locale-ar footer,
body.locale-ar .mn-header,
body.locale-ar .mn-header-items,
body.locale-ar .mn-header-items .left-header,
body.locale-ar .mn-header-items .right-header,
body.locale-ar .mn-main-menu,
body.locale-ar .mn-tool-icons,
body.locale-ar .mn-sidebar,
body.locale-ar .mn-sidebar-overlay,
body.locale-ar .mn-main-content,
body.locale-ar .mn-footer,
body.locale-ar .mn-footer-nav,
body.locale-ar .mn-mobile-menu,
body.locale-ar .mn-mobile-menu-overlay,
body.locale-ar .mn-side-cart,
body.locale-ar .mn-side-wishlist,
body.locale-ar .mn-side-search,
body.locale-ar .mn-side-cart-overlay,
body.locale-ar .mn-side-wishlist-overlay,
body.locale-ar .mn-side-search-overlay,
body.locale-ar .row,
body.locale-ar .owl-carousel,
body.locale-ar .mn-lang-switcher,
body.locale-ar .mn-checkout-form,
body.locale-ar .mn-order-summary,
body.locale-ar .mn-order-table-wrap,
body.locale-ar .mn-order-table,
body.locale-ar .mn-order-success,
body.locale-ar .mn-success-card,
body.locale-ar .mn-order-detail-card,
body.locale-ar .mn-testimonials,
body.locale-ar .mn-test-outer,
body.locale-ar .mn-test-item,
body.locale-ar .mn-test-inner,
body.locale-ar .mn-test-content,
body.locale-ar .mn-test-img,
body.locale-ar .testim-bg {
    direction: ltr !important;
    text-align: left;
}

/* Arabic readable text — RTL inside the same layout */
body.locale-ar .mn-main-menu a,
body.locale-ar .mn-mobile-menu a,
body.locale-ar .mn-mobile-menu .menu_title,
body.locale-ar .mn-footer-heading,
body.locale-ar .mn-footer-link a,
body.locale-ar .mn-footer-detail,
body.locale-ar .mn-copy,
body.locale-ar .mn-breadcrumb-title,
body.locale-ar .mn-breadcrumb-item a,
body.locale-ar .mn-breadcrumb-item.active,
body.locale-ar .mn-title,
body.locale-ar .mn-title h2,
body.locale-ar .mn-hero-detail h1,
body.locale-ar .mn-hero-detail h2,
body.locale-ar .mn-hero-detail p,
body.locale-ar .mn-service-desc h3,
body.locale-ar .mn-service-desc p,
body.locale-ar .mn-sidebar .condense,
body.locale-ar .mn-sidebar .mn-drop-toggle,
body.locale-ar label,
body.locale-ar .mn-login-wrap label,
body.locale-ar .mn-btn-1 span,
body.locale-ar .mn-btn-2 span,
body.locale-ar .cart_title,
body.locale-ar .wishlist_title,
body.locale-ar .search_title,
body.locale-ar .mn-sidebar-title,
body.locale-ar .mn-pro-content h5,
body.locale-ar .mn-pro-content a,
body.locale-ar p,
body.locale-ar h1,
body.locale-ar h2,
body.locale-ar h3,
body.locale-ar h4,
body.locale-ar h5,
body.locale-ar .alert,
body.locale-ar .mn-lang-btn {
    direction: rtl;
    unicode-bidi: plaintext;
}

/* Reviews stay English — keep original centered/slider layout */
body.locale-ar .mn-testimonials .mn-test-desc,
body.locale-ar .mn-testimonials .mn-test-name,
body.locale-ar .mn-testimonials .mn-test-designation {
    direction: ltr !important;
    text-align: center !important;
    unicode-bidi: normal;
}

body.locale-ar .mn-testimonials .mn-test-inner {
    flex-direction: row !important;
}

/* Links must stay clickable */
body.locale-ar a {
    pointer-events: auto;
    cursor: pointer;
}

/* Hidden overlays must not block clicks */
body.locale-ar .mn-mobile-menu-overlay:not(:visible),
body.locale-ar .mn-sidebar-overlay:not(:visible) {
    pointer-events: none !important;
}
