/* TalabaStore T27 — arabe (RTL). Chargée seulement sur les pages en arabe. */
body.t27-ar, .t27-ar .wp-block-post-title, .t27-ar h1, .t27-ar h2, .t27-ar h3, .t27-ar h4, .t27-ar button, .t27-ar input, .t27-ar select, .t27-ar textarea { font-family: var(--wp--preset--font-family--arabic); }
.t27-ar { letter-spacing: 0; }
.t27-ar h1, .t27-ar h2, .t27-ar h3, .t27-ar .is-style-eyebrow, .t27-ar .wp-block-button__link { letter-spacing: 0 !important; }
.t27-ar h1, .t27-ar h2 { line-height: 1.3; }
.t27-ar p, .t27-ar li { line-height: 1.75; }

/* Flèches et chevrons dans le sens de lecture */
[dir="rtl"] svg.is-dir { transform: scaleX(-1); }
[dir="rtl"] .t27-more a:hover::after { transform: translateX(-3px); }
[dir="rtl"] .t27-cpt-flow > .wp-block-column:not(:last-child)::after { transform: rotate(-135deg); }
[dir="rtl"] .t27-loader__bar { transform-origin: 100% 50%; }
[dir="rtl"] .screen-reader-text:focus { left: auto; right: 8px; }

/* Chiffres, numéros de téléphone, prix : toujours de gauche à droite */
[dir="rtl"] .woocommerce-Price-amount, [dir="rtl"] .tsaio-tcprice, [dir="rtl"] a[href^="tel:"], [dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"], [dir="rtl"] input[type="url"], [dir="rtl"] input[inputmode="numeric"] { unicode-bidi: isolate; }
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"], [dir="rtl"] input[type="url"] { direction: ltr; text-align: right; }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] .t27-ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] input[type="tel"]::placeholder, [dir="rtl"] input[type="email"]::placeholder { text-align: right; }
