/* ==========================================================================
   Arabic (RTL) overrides for WireCloth — loaded after style.css on /ar/ pages.
   Top nav, footer nav and copyright keep LTR; body/cards mirror to RTL.
   ========================================================================== */

html[dir="rtl"] body {
    font-family: "Cairo", "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Navigation and footer stay LTR (not mirrored) */
html[dir="rtl"] .nav,
html[dir="rtl"] .footer-nav,
html[dir="rtl"] .footer-meta { direction: ltr; }

/* Header keeps LTR physical order: logo stays left, switch button stays right slot */
html[dir="rtl"] .site-header .header-inner { direction: ltr; }

/* Skip link: physical side flipped for RTL */
html[dir="rtl"] .skip-link {
    left: auto; right: -9999px;
    border-radius: 0 0 0 6px;
}
html[dir="rtl"] .skip-link:focus { right: 0; }

/* Products dropdown — align to the right in RTL */
html[dir="rtl"] .dropdown { padding-left: 0; padding-right: 14px; }
@media (min-width: 768px) {
    html[dir="rtl"] .dropdown { left: auto; right: -8px; }
}

/* List markers move to the right in RTL */
html[dir="rtl"] .about-body li,
html[dir="rtl"] .check-list li { padding-left: 0; padding-right: 24px; }
html[dir="rtl"] .about-body li::before,
html[dir="rtl"] .check-list li::before { left: auto; right: 2px; }

/* Icon spacing inside buttons / contact lines */
html[dir="rtl"] .btn-whatsapp svg { margin-right: 0; margin-left: 8px; }
html[dir="rtl"] .contact-line svg,
html[dir="rtl"] .adv-item svg,
html[dir="rtl"] .app-item svg { /* icons keep their flex slot; gap handles spacing */ }

/* Spec table reads right-to-left */
html[dir="rtl"] .spec-table th,
html[dir="rtl"] .spec-table td { text-align: right; }
