/* V3.51 — Arabe (RTL) : chargé seulement sur /ar/, après les feuilles miroirs (*-rtl.css). */
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/Tajawal-400-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Tajawal'; font-style: normal; font-weight: 500 900; font-display: swap; src: url(../fonts/Tajawal-700-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
:root { --font-sans: Tajawal, Inter, ui-sans-serif, -apple-system, "Segoe UI", Tahoma, sans-serif; --font-serif: Tajawal, "Playfair Display", Georgia, serif; }
html[dir="rtl"] body { font-family: var(--font-sans); line-height: 1.7; }
/* L'arabe ne s'espace pas lettre par lettre (les lettres doivent rester liées) et ne passe pas en capitales. */
html[dir="rtl"] body *, html[dir="rtl"] body *::before, html[dir="rtl"] body *::after { letter-spacing: 0 !important; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .cdp-display { font-family: var(--font-serif); font-style: normal; line-height: 1.35; }
html[dir="rtl"] em { font-style: normal; }
/* Icônes de direction retournées (pas les icônes de média). */
html[dir="rtl"] .cdp-icon--back, html[dir="rtl"] .cdp-icon--next, html[dir="rtl"] .cdp-icon--arrow, html[dir="rtl"] .cdp-icon--logout,
html[dir="rtl"] [data-cdp-prev] svg, html[dir="rtl"] [data-cdp-next] svg, html[dir="rtl"] .cdp-flip-rtl { transform: scaleX(-1) !important; }
/* Prix, téléphones, références, tailles, codes : de gauche à droite à l'intérieur du texte arabe. */
html[dir="rtl"] .cdp-ltr, html[dir="rtl"] .woocommerce-Price-amount, html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] .sku,
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"], html[dir="rtl"] .cdp-ref__code strong, html[dir="rtl"] .cdp-ref__link input { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"] { text-align: right; }
html[dir="rtl"] del .woocommerce-Price-amount, html[dir="rtl"] ins .woocommerce-Price-amount { display: inline-block; }
/* Sélecteur de langue. */
.cdp-lang { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; }
.cdp-lang a { color: inherit; text-decoration: none; opacity: .7; }
.cdp-lang a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.cdp-lang a[lang="ar"] { font-family: Tajawal, sans-serif; font-size: 14px; }
