/**
 * Arabic / RTL corrections.
 *
 * Loaded only when the current language is RTL. Most mirroring is already
 * handled by logical properties in components.css — this file covers the cases
 * that cannot be expressed logically: physical transforms, background
 * positions and decorative glyphs.
 */

.basaran-rtl {
	direction: rtl;
	text-align: right;
}

/* Arabic sits differently on the baseline and needs more leading than Latin. */
.basaran-lang-ar body,
.basaran-lang-ar p,
.basaran-lang-ar li {
	line-height: 1.9;
}

/* Arabic script must never be letter-spaced — it breaks glyph joining. */
.basaran-lang-ar .basaran-eyebrow,
.basaran-lang-ar .basaran-btn,
.basaran-lang-ar .basaran-langswitch__link,
.basaran-lang-ar h1,
.basaran-lang-ar h2,
.basaran-lang-ar h3 {
	letter-spacing: 0;
}

/* Breadcrumb chevron points the other way. */
.basaran-rtl .basaran-breadcrumbs li + li::before {
	content: "‹";
}

/* Icons and chevrons that are physically drawn need flipping. */
.basaran-rtl .basaran-icon--directional,
.basaran-rtl .basaran-btn__arrow {
	transform: scaleX(-1);
}

.basaran-rtl .basaran-btn:hover .basaran-btn__arrow {
	transform: scaleX(-1) translateX(2px);
}

/* Numerals, dimensions and phone numbers stay LTR inside RTL prose so specs
   like "21×145 mm" and "+90 …" remain readable (PRD Section 7). */
.basaran-rtl .basaran-specs td,
.basaran-rtl .basaran-ltr-embed,
.basaran-rtl [dir="ltr"] {
	direction: ltr;
	text-align: right;
	unicode-bidi: isolate;
}

/* Elementor writes physical alignment onto its widget wrappers; let the document
   direction decide instead. */
.basaran-rtl .elementor-widget-container { text-align: inherit; }
