/* ==========================================================================
   FOTON HDT — right-to-left overrides (Arabic)
   Loaded only on /ar/ pages via <html dir="rtl">.
   ========================================================================== */

body { text-align: right; }

/* header + nav */
.header-inner, .header-actions, .nav { direction: rtl; }
.nav-link { text-align: right; }
.lang-list { right: auto; left: 0; text-align: right; }
.lang-list a { flex-direction: row-reverse; }

/* editorial accents flip */
.kicker::before { margin-left: 0; margin-right: 0; }
.kicker { flex-direction: row-reverse; justify-content: flex-end; }
.section-head, .delivery-head, .page-desc, .section-lead { text-align: right; }
.display, h1, h2, h3 { text-align: right; }

/* lists that use a leading mark */
.tick-list li, .split-list li { padding-left: 0; padding-right: 1.7rem; text-align: right; }
.tick-list li::before, .split-list li::before { left: auto; right: 0; }
.tick-list li::before { transform: rotate(-45deg) scaleX(-1); }
.split-list li::before { transform: rotate(45deg); }

/* stat band + quote boxes */
.stat::before { left: auto; right: 0; }
.hero-copy, .hero-supply, .mhero-inner, .mhero-tag { text-align: right; }
.hero-actions, .mhero-badges, .mhero-key, .showcase-stats { justify-content: flex-start; flex-direction: row-reverse; }

/* cards */
.card-body, .showcase-body, .video-card figcaption { text-align: right; }
.showcase-cta { flex-direction: row-reverse; justify-content: flex-start; }
.showcase-cta i { transform: scaleX(-1); }
.showcase-card:hover .showcase-cta i { transform: scaleX(-1) translateX(5px); }
.badge, .showcase-tag { left: auto; right: 14px; }
.showcase-type { right: auto; left: 14px; }
.showcase-power { text-align: right; }

/* forms */
.field > label, .media-path { text-align: right; }
input[type=text], input[type=email], input[type=number], select, textarea { text-align: right; direction: rtl; }

/* tables */
.spec-table th[scope="row"] { text-align: right; }
.spec-table td { text-align: right; }
.opt-cell { justify-content: flex-start; flex-direction: row-reverse; }

/* footer */
.site-footer, .footer-grid, .footer-bottom { text-align: right; }
.footer-grid ul { padding-right: 0; }

/* floating whatsapp moves to the other side */
.wa-float { right: auto; left: 22px; }

/* photo rails and marquees keep their visual direction (images are neutral) */
.marquee-track { direction: ltr; }
.photo-rail-inner { direction: ltr; }

/* numbers and Latin technical values stay LTR inside RTL text */
.stat b, .mhero-key b, .showcase-stats b, .opt-chip, code, .media-path {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
.stat b, .mhero-key b, .showcase-stats b { display: block; }

/* pricing/spec tables scroll normally */
.spec-table--options th[scope="row"] { padding-left: 0; padding-right: 0; }
