.stiva-store-language { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(1290px, calc(100% - 32px)); margin: 16px auto; padding: 8px 12px; border: 1px solid #e6e1df; border-radius: 12px; background: #fff; color: #555b65; font: 500 13px/1.5 Arial, sans-serif; }
.stiva-store-language > div { display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: #f5f3f2; }
.stiva-store-language button { min-height: 44px; padding: 8px 16px; margin: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #424854; font: 600 14px/1.4 Arial, sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; box-shadow: none; }
.stiva-store-language button[aria-pressed="true"] { color: #c1121f; background: #fff; border-color: #e4d5d5; }
.stiva-store-language button:focus-visible { outline: 2px solid #c1121f; outline-offset: 3px; }
.stiva-store-ar :is(h1,h2,h3,h4,h5,h6,button,.sc_button,.menu_item a,.menu-item a,.sc_icons_item_title,.sc_icons_item_description,.sc_form_field_title,.woocommerce-ordering,.woocommerce-result-count,.sc_layouts_title_caption,.stiva-bottom-nav) { font-family: Tahoma, Arial, sans-serif; letter-spacing: 0 !important; }
.stiva-store-ar :is(.sc_icons_item_details,.sc_form_field_wrap,.sc_form_field_title,.woocommerce-result-count,.footer_wrap) { text-align: start; }
.stiva-store-ar .amount { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.stiva-store-ar :is(.woocommerce-loop-product__title,.product_title) { unicode-bidi: plaintext; }
.stiva-store-ar .woocommerce-ordering select { padding-inline: 14px 40px; text-align: start; }
.stiva-store-ar .woocommerce .woocommerce-result-count { float: right; }
.stiva-store-ar .woocommerce .woocommerce-ordering { float: left; }
.stiva-store-ar .sc_form_field_title_caption { padding-inline-end: 12px; }
.stiva-store-ar sr7-txt { font-family: Tahoma, Arial, sans-serif !important; letter-spacing: 0 !important; direction: rtl; }
/* The theme's header uses physical icon offsets: keep that chrome stable. */
.stiva-store-ar .top_panel { direction: ltr; }
.stiva-store-ar .top_panel :is(.menu_main_nav,.search_form) { direction: rtl; }
.stiva-store-ar .stiva-mobile-bottom-tabs .tab-label { font-family: Tahoma, Arial, sans-serif !important; font-size: 10px !important; letter-spacing: 0 !important; line-height: 1.5 !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
/* Keep the always-visible account rail on the left in either language. */
body.woocommerce-account.stiva-store-ar .woocommerce:has(> .woocommerce-MyAccount-navigation) { direction: ltr; }
body.woocommerce-account.stiva-store-ar :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content) { direction: rtl; text-align: start; font-family: Tahoma, Arial, sans-serif; }
body.woocommerce-account.stiva-store-ar .woocommerce-MyAccount-navigation a { font-family: Tahoma, Arial, sans-serif; line-height: 1.6; overflow-wrap: anywhere; }
body.woocommerce-account.stiva-store-ar :is(.stiva-account-primary,.stiva-account-outline,.stiva-download-buttons .button) { white-space: normal; font-family: Tahoma, Arial, sans-serif; }
.stiva-store-ar .stiva-id-card { direction: ltr; }
.stiva-store-ar :is(input[type=email],input[type=password],input[type=tel]) { direction: ltr; text-align: start; }
@media (max-width: 600px) {
    .stiva-store-language { width: calc(100% - 24px); margin: 12px auto; padding: 6px 10px; }
    .stiva-store-language button { padding: 8px 12px; }
    .stiva-store-ar :is(.woocommerce-result-count,.woocommerce-ordering) { max-width: 100%; }
}
