/* Right-to-left overrides for Arabic (loaded only when dir="rtl"). Extend as pages are migrated. */
html[dir="rtl"] body { direction: rtl; text-align: right; font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif; }
/* Header: flex already mirrors under dir=rtl; drop the LTR auto margins and swap the asymmetric padding. */
html[dir="rtl"] .header-container { padding: 0 24px 0 16px !important; }
html[dir="rtl"] .nav-left, html[dir="rtl"] .logo-area, html[dir="rtl"] .header-right-group, html[dir="rtl"] .switcher-area { margin-left: 0 !important; margin-right: 0 !important; }
@media (max-width: 991px) { html[dir="rtl"] .header-container { padding: 0 18px 0 12px !important; } }
html[dir="rtl"] .dropdown-arrow { margin-left: 0 !important; margin-right: 6px !important; }
html[dir="rtl"] .lang-dropdown .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .nav-list, html[dir="rtl"] .drawer-nav-list { padding-right: 0; }
html[dir="rtl"] .dropdown-menu { text-align: right; }
html[dir="rtl"] .section-header-left { text-align: right; }
/* `scale` (not transform) so hover/JS transforms such as translateX don't undo the flip */
html[dir="rtl"] .fa-chevron-right, html[dir="rtl"] .fa-arrow-right, html[dir="rtl"] .fa-arrow-right-long, html[dir="rtl"] .fa-arrow-left { scale: -1 1; }
/* Lightbox slides with translateX math that assumes LTR; keep it LTR (prev left, next right), caption stays Arabic */
html[dir="rtl"] .exon-lightbox { direction: ltr; }
html[dir="rtl"] .exon-lightbox-caption { direction: rtl; }
html[dir="rtl"] .exon-lightbox .fa-chevron-right { scale: none; }
html[dir="rtl"] .alt-urun-zoom-btn { right: auto; left: 12px; }
html[dir="rtl"] .mobile-menu-drawer { right: auto; left: 0; }
html[dir="rtl"] .marquee-track { direction: ltr; } /* keep image marquee animation direction */
html[dir="rtl"] a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; } /* keep phone digits in order */
html[dir="rtl"] #address-text, html[dir="rtl"] #map-bottom-address { unicode-bidi: plaintext; } /* Latin address: number stays at start */
html[dir="rtl"] bdi { white-space: nowrap; } /* "(Roll-on)" must not split at the hyphen inside RTL lines */
