/* Right-to-left pages (Arabic, Tang 2026-11-16). Loaded only on pages whose html has dir="rtl", after site.css.
   Every rule is scoped to [dir="rtl"], so no other language page changes even if this file were loaded there.
   Flexbox, grid, tables and text already follow dir="rtl"; this file mirrors the physical left/right values in site.css,
   flips forward arrows and sets Arabic type. No webfont: Manrope has no Arabic, so Arabic letters fall back to the
   system Arabic font (Segoe UI on Windows, SF Arabic or Geeza Pro on Apple, Noto on Android) and Latin keeps Manrope. */

/* ---------- type */
html[dir="rtl"] { --font: "Manrope Variable", "Segoe UI", Tahoma, "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Noto Naskh Arabic", "Arial Hebrew", "Noto Sans Hebrew", system-ui, sans-serif; }
/* Arabic letters join; any letter spacing breaks the joins. */
[dir="rtl"] body, [dir="rtl"] body * { letter-spacing: 0 !important; }
[dir="rtl"] h1, [dir="rtl"] .product-info h1 { line-height: 1.3; }
[dir="rtl"] h2 { line-height: 1.35; }
[dir="rtl"] h3, [dir="rtl"] .h3 { line-height: 1.45; }
[dir="rtl"] p, [dir="rtl"] li, [dir="rtl"] dd { line-height: 1.8; }
[dir="rtl"] .eyebrow, [dir="rtl"] .spec-group h3, [dir="rtl"] .tile-kind { text-transform: none; }
/* The wordmark, model watermarks and contact details stay left to right. */
[dir="rtl"] .brand-name, [dir="rtl"] .hero2-mark, [dir="rtl"] .pt-mark, [dir="rtl"] .sc-mark { direction: ltr; }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"], [dir="rtl"] a[href^="https://wa.me"],
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { text-align: right; }

/* ---------- forward arrows point left */
[dir="rtl"] .ph:has(use[href="#ph-arrow-right"]) svg { transform: scaleX(-1); }
[dir="rtl"] .more a:hover i, [dir="rtl"] .sc:hover .sc-go i, [dir="rtl"] .tile-ask:hover .tile-go i { transform: translateX(-4px); }
/* series rail: "previous" points right, "next" points left */
[dir="rtl"] .rail-prev .ph, [dir="rtl"] .rail-prev svg { transform: none !important; }

/* ---------- header, menus, skip link */
[dir="rtl"] .skip { left: auto; right: -999px; }
[dir="rtl"] .skip:focus { right: 16px; }
[dir="rtl"] .nav-desktop { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav-desktop a::after { transform-origin: right; }
[dir="rtl"] .nav-mobile { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav-mobile nav { right: auto; left: 0; }
[dir="rtl"] .lang-menu ul { right: auto; left: 0; }
@media (max-width: 1023px) {
  [dir="rtl"] .lang-menu { margin-left: 0; margin-right: auto; }
  [dir="rtl"] .nav-mobile { margin-right: 4px; margin-left: 0; }
}
[dir="rtl"] .crumbs li + li::before { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .hp { left: auto; right: -5000px; }

/* ---------- home */
[dir="rtl"] .hero2-mark { right: auto; left: -2vw; }
[dir="rtl"] .sc-mark { right: auto; left: -10px; }
[dir="rtl"] .steps li::after { left: 14px; right: 0; }
[dir="rtl"] .numbers strong small, [dir="rtl"] .numbers-line strong small { margin-left: 0; margin-right: .15em; }
[dir="rtl"] .numbers-inner, [dir="rtl"] .numbers-inner h2 { text-align: right; }

/* ---------- tables and spec sheets */
[dir="rtl"] .spec-group th, [dir="rtl"] .spec-group td, [dir="rtl"] .compare th, [dir="rtl"] .compare td,
[dir="rtl"] .spec-table th, [dir="rtl"] .spec-table td { text-align: right; }
[dir="rtl"] .spec-group th { padding: 9px 0 9px 16px; }
[dir="rtl"] .spec-table th { padding-right: 0; padding-left: 12px; }

/* ---------- OEM and factory */
[dir="rtl"] .detail { border-left: 0; padding-left: 0; border-right: 2px solid var(--accent); padding-right: 20px; }
[dir="rtl"] .qc li { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .qc li:first-child { padding-right: 0; padding-left: 26px; border-right: 0; }
@media (max-width: 760px) { [dir="rtl"] .qc li:nth-child(3) { padding-right: 0; padding-left: 26px; border-right: 0; } }
[dir="rtl"] .proc .steps { margin: 8px 21px 0 0; border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .proc .steps li { padding: 0 46px 46px 0; }
[dir="rtl"] .proc .steps li:last-child { padding-bottom: 0; }
[dir="rtl"] .proc .steps li > i { left: auto; right: -21px; }
[dir="rtl"] .process .step-no { left: auto; right: 12px; }
[dir="rtl"] .article-list { padding-left: 0; padding-right: 1.3em; }

/* ---------- floating contact buttons on the left */
[dir="rtl"] .fab { right: auto; left: 18px; }
[dir="rtl"] .fab-pop { right: auto; left: 66px; }
@media (max-width: 640px) { [dir="rtl"] .fab { right: auto; left: 12px; } }
