/* Arabic pages (right to left). The site's stylesheets are mirrored at build time by rtlcss (tools/i18n.mjs). */
html[lang="ar"] { --head: "Segoe UI", "Geeza Pro", "Noto Sans Arabic", Tahoma, Arial, sans-serif; --sans: "Segoe UI", "Geeza Pro", "Noto Sans Arabic", Tahoma, Arial, sans-serif; --mono: var(--sans); }
html[lang="ar"] body { font-family: var(--sans); }
html[lang="ar"] body * { letter-spacing: 0 !important; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.3 !important; }
/* Arrows point the other way; phone numbers, e-mail addresses, models and figures read left to right. */
html[lang="ar"] svg.arrow { transform: scaleX(-1); }
html[lang="ar"] a[href^="tel:"], html[lang="ar"] a[href^="mailto:"], html[lang="ar"] a[href*="wa.me"], html[lang="ar"] input[type="tel"], html[lang="ar"] input[type="email"] { unicode-bidi: isolate; }
html[lang="ar"] input[type="tel"], html[lang="ar"] input[type="email"] { direction: ltr; text-align: right; }
html[lang="ar"] td, html[lang="ar"] dd { unicode-bidi: plaintext; text-align: start; }
html[lang="ar"] .fs-table td, html[lang="ar"] .spec td:not(:first-child) { text-align: center; }
/* Sliders and tab strips keep their left-to-right mechanics; the text in them is right to left. */
html[lang="ar"] .cats, html[lang="ar"] .application-carousel { direction: ltr; }
html[lang="ar"] .cats > *, html[lang="ar"] .application-carousel > * { direction: rtl; }
html[lang="ar"] .cats-pill { left: 0 !important; right: auto !important; }
html[lang="ar"] [data-track], html[lang="ar"] [data-ap-track], html[lang="ar"] [data-bottle-track] { direction: ltr; }
html[lang="ar"] [data-track] > *, html[lang="ar"] [data-ap-track] > *, html[lang="ar"] [data-bottle-track] > * { direction: rtl; }
html[lang="ar"] svg.arrow.flip { transform: none; }
html[lang="ar"] .hero-wedge { clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%) !important; }
html[lang="ar"] .f-dial { direction: ltr; unicode-bidi: isolate; }
