/**
 * Vagilax RTL enhancements.
 *
 * Core geometry uses logical properties. This file is explicitly enqueued after
 * `vagilax-theme` and contains direction-specific behavior only.
 */

html[dir="rtl"] :where(body, input, textarea, select, button) {
    direction: rtl;
}

html[dir="rtl"] :where(
    .eyebrow,
    .faq__category,
    .page-hero__eyebrow,
    .posts-grid__category
) {
    text-transform: none;
    letter-spacing: 0;
}

html[dir="rtl"] :where(
    .vagilax-carousel__previous,
    .vagilax-carousel__next,
    .vagilax-native-single__navigation svg,
    .vagilax-breadcrumb svg
) {
    transform: scaleX(-1);
}

html[dir="rtl"] :where(
    .vagilax-entry__content,
    .vagilax-native-single__content,
    .vagilax-rich-text
) :is(ul, ol) {
    padding-inline-start: 1.5em;
    padding-inline-end: 0;
}

html[dir="rtl"] .elementor-widget-vagilax-gallery .gallery__overlay {
    text-align: start;
}

html[dir="rtl"] .elementor-widget-vagilax-booking-panel :is(input, textarea, select) {
    text-align: start;
}
