/*
Theme Name: Tiger Industrial Solutions — RTL
Description: Direction overrides loaded automatically when Arabic is active.
             Written against physical-direction rules so the whole layout
             (header, cards, modals, chips, sliders) mirrors cleanly.
*/

/* Base typography: Arabic reads better without Latin letterspacing. */
.tis-rtl body,
body.tis-rtl,
.tis-rtl {
    letter-spacing: 0;
}
.tis-rtl .tig-eyebrow,
.tis-rtl .tig-kicker,
.tis-rtl .tig-chip,
.tis-rtl .tig-card__chip,
.tis-rtl .tig-step__number,
.tis-rtl .tig-workstrip__label,
.tis-rtl .tgba__tag {
    letter-spacing: 0;
}
.tis-rtl .tig-eyebrow,
.tis-rtl .tig-kicker {
    font-size: 0.95rem;
}

/* Arrows that point "forward" should flip in RTL. */
.tis-rtl .tig-btn svg:last-child,
.tis-rtl .tig-minilink svg {
    transform: scaleX(-1);
}
.tis-rtl .tig-btn:hover svg:last-child {
    transform: scaleX(-1) translateX(3px);
}

/* Header */
.tis-rtl .tig-brand { flex-direction: row; }
.tis-rtl .tig-nav__list a::after {
    right: 14px;
    left: 14px;
}

/* Hero */
.tis-rtl .tig-hero__note { flex-direction: row; }

/* Cards, checklists, tick lists */
.tis-rtl .tig-checklist__item { flex-direction: row; }
.tis-rtl .tig-ticks li::before {
    margin-left: 0;
    margin-right: 0;
}

/* Steps */
.tis-rtl .tig-step__number { direction: ltr; }

/* Quick actions & social widget already use logical placement. */
.tis-rtl .tig-quick { left: 14px; right: auto; }

/* Modals */
.tis-rtl .tig-modal__close { left: 14px; right: auto; }

/* Footer mini account link arrow */
.tis-rtl .tig-footer__account a svg { transform: scaleX(-1); }

/* Tables */
.tis-rtl .tig-table th,
.tis-rtl .tig-table td { text-align: right; }

/* Forms */
.tis-rtl .tig-form label { text-align: right; }
.tis-rtl .tig-form input,
.tis-rtl .tig-form select { text-align: right; }

/* Info list */
.tis-rtl .tig-info li { flex-direction: row; }

/* FAQ summary marker */
.tis-rtl .tig-faq__item summary::after {
    left: auto;
    right: auto;
    inset-inline-end: 0;
}

/* Color lab */
.tis-rtl .tig-colorlab__preview { flex-direction: row; }

/* Stat numbers stay LTR (figures read the same both ways). */
.tis-rtl .tig-stat__number { direction: ltr; unicode-bidi: plaintext; }

/* Links with trailing arrows like "→": flip the character visually. */
.tis-rtl .tig-minilink,
.tis-rtl .tig-info__map { direction: rtl; }
