/* Only non-Persian localized pages are affected. Keep LTR natural for English/Russian even when right-aligned. */
html[lang^="en"] body, html[lang^="ru"] body {direction:ltr;text-align:right}
html[lang^="en"] :is(h1,h2,h3,h4,h5,h6,p,li,figcaption,blockquote,.summary,.entry-content,.woocommerce-tabs),
html[lang^="ru"] :is(h1,h2,h3,h4,h5,h6,p,li,figcaption,blockquote,.summary,.entry-content,.woocommerce-tabs) {text-align:right}
html[lang^="ar"] body {direction:rtl;text-align:right}
.smsf-language-switcher {position:fixed;z-index:9999;bottom:14px;left:14px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:calc(100vw - 28px);padding:6px;border-radius:12px;background:#fff;box-shadow:0 3px 20px #0002;direction:ltr}
.smsf-language-switcher a,.smsf-current {font:600 12px Arial,sans-serif;padding:7px 9px;white-space:nowrap;border-radius:7px;text-decoration:none;color:#192a39}
.smsf-current {background:#e9edf1}
.smsf-language-switcher a:hover,.smsf-language-switcher a:focus {background:#ffd46f}
@media(max-width:640px){.smsf-language-switcher{bottom:8px;left:8px;gap:2px}.smsf-language-switcher a,.smsf-current{padding:6px;font-size:11px}}
