/* ==========================================================================
   Right-to-left overrides — loaded only when the active locale is RTL
   (Arabic, Urdu, Persian, Hebrew, Pashto, Sindhi).

   The layout is Bootstrap + flexbox, which mirrors on its own via dir="rtl".
   What needs help are the places where the design pins something to a side or
   nudges it with a directional transform.
   ========================================================================== */

body { text-align: right; }

/* Section rules and eyebrows read from the right */
.title-rule { margin-left: auto; margin-right: 0; }
.title-rule-center { margin-inline: auto; }
.section-head-start { text-align: right; }

/* Eyebrow dash sits on the correct side */
.eyebrow::before { order: 2; }

/* Hero */
.hero::before {
  background: linear-gradient(260deg, rgba(7, 54, 46, .93) 0%, rgba(7, 54, 46, .8) 42%,
              rgba(7, 54, 46, .42) 72%, rgba(7, 54, 46, .25) 100%);
}
.hero-dots { right: auto; left: 34px; }
.hero-scroll { left: 50%; }

/* Arrows point the other way */
.btn i.bi-arrow-right,
.link-more i.bi-arrow-right { transform: scaleX(-1); }
.btn:hover i.bi-arrow-right { transform: scaleX(-1) translateX(4px); }
.link-more:hover i { transform: scaleX(-1) translateX(5px); }
.footer-links a i { transform: scaleX(-1); }
.footer-links a:hover { transform: translateX(-5px); }

/* Collage badge flips to the opposite corner */
.collage { padding-right: 0; padding-left: 34px; }
.collage-sub { right: auto; left: 0; }
.collage-badge { left: auto; right: -14px; }

/* Cards and list markers */
.spec-list li { border-left: none; border-right: 3px solid var(--irm-gold); }
.spec-list li:hover { transform: translateX(-5px); }
.feature-num { right: auto; left: 1.4rem; }
.product-tag { left: auto; right: 1rem; }
.testimonial-quote { left: auto; right: 1.9rem; }
.blog-date { left: auto; right: 1rem; }
.footer-title::after { left: auto; right: 0; }

/* Navigation */
.navbar-irm .nav-link::after { left: 50%; transform: translateX(-50%); }
.dropdown-menu-irm .dropdown-item:hover,
.dropdown-menu-irm .dropdown-item.active { padding-left: .85rem; padding-right: 1.1rem; }

/* Floating actions move to the opposite corner */
.float-stack { right: auto; left: 20px; }
@media (max-width: 767.98px) { .float-stack { right: auto; left: 14px; } }

/* Marquee scrolls the other direction */
@keyframes slide { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Newsletter submit button */
.newsletter-form .form-control { padding-right: 1rem; padding-left: 3.4rem; }
.newsletter-form button { right: auto; left: 5px; }

/* Language switcher menu alignment */
.lang-menu .dropdown-item { grid-template-columns: 1fr 1.6rem; grid-template-areas: 'native flag' 'english flag'; }

/* Latin numerals and prices stay LTR so they never reverse */
.stat-num, .spec-val, .product-meta span, .market-chip,
time, .money, [dir='ltr'] { direction: ltr; unicode-bidi: embed; }
.stat-num { justify-content: center; }
