html[dir="rtl"] {
  direction: rtl;
}

body.rtl {
  text-align: right;
  font-family: "Tahoma", "Arial", sans-serif;
}

body.rtl .site-header,
body.rtl .primary-nav,
body.rtl .nav-menu,
body.rtl .hero__actions,
body.rtl .product-card__actions,
body.rtl .quote-contact p,
body.rtl .footer-bottom,
body.rtl .language-switcher {
  direction: rtl;
}

body.rtl .brand,
body.rtl .site-header,
body.rtl .primary-nav,
body.rtl .mobile-nav-ctas,
body.rtl .footer-bottom,
body.rtl .product-card__meta,
body.rtl .quote-contact p {
  flex-direction: row-reverse;
}

body.rtl .page-hero,
body.rtl .section__heading,
body.rtl .section__heading--left,
body.rtl .page-feature__copy,
body.rtl .product-line-section__heading,
body.rtl .product-card__body,
body.rtl .footer-brand,
body.rtl .footer-link-groups,
body.rtl .quote-intro,
body.rtl .contact-layout,
body.rtl .industrial-panel,
body.rtl .application-row__copy {
  text-align: right;
}

body.rtl .nav-menu {
  left: auto;
  right: 0;
}

body.rtl .language-switcher {
  direction: rtl;
}

body.rtl .language-switcher__link {
  white-space: nowrap;
}

body.rtl .language-switcher__menu {
  left: 0;
  right: auto;
}

body.rtl.home .hero--home {
  direction: ltr;
  grid-template-columns: minmax(460px, 0.64fr) minmax(520px, 1.36fr);
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.99) 0%, rgba(5, 6, 8, 0.94) 30%, rgba(5, 6, 8, 0.34) 58%, rgba(5, 6, 8, 0.08) 100%),
    url("../images/hero/homepage-hero-product-lineup-fixed-text-20260708.webp") center right / cover no-repeat;
}

body.rtl.home .hero--home .hero__content {
  direction: rtl;
  justify-self: start;
  max-width: 470px;
  text-align: right;
}

body.rtl.home .hero--home h1 {
  max-width: 470px;
  font-size: clamp(36px, 3.35vw, 52px);
  line-height: 1.08;
}

body.rtl.home .hero--home p {
  max-width: 450px;
}

body.rtl.home .hero--home .hero__actions,
body.rtl.home .hero--home .hero-proof {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  body.rtl .language-switcher__menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  body.rtl.home .hero--home {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(5, 6, 8, 0.98) 0%, rgba(5, 6, 8, 0.88) 52%, rgba(5, 6, 8, 0.3) 100%),
      url("../images/hero/homepage-hero-product-lineup-fixed-text-20260708.webp") center bottom / cover no-repeat;
  }
}

body.rtl .text-link::after,
body.rtl .product-card__link::after {
  transform: scaleX(-1);
}

body.rtl .product-filters label,
body.rtl .product-filters select,
body.rtl input,
body.rtl textarea,
body.rtl select {
  text-align: right;
}

body.rtl .comparison-table th,
body.rtl .comparison-table td {
  text-align: right;
}

body.rtl ul,
body.rtl ol {
  padding-left: 0;
  padding-right: 1.25rem;
}

body.rtl .check-list li {
  padding-left: 0;
  padding-right: 1.5rem;
}

body.rtl .check-list li::before {
  left: auto;
  right: 0;
}

@media (max-width: 900px) {
  body.rtl .primary-nav.is-open {
    left: 16px;
    right: 16px;
  }
}
