/* ================================================================
   NETACHEM — RTL Overrides (Hebrew)
   Apply AFTER style.css on /he/ pages
   ================================================================ */

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

/* Navigation */
[dir="rtl"] .main-nav         { flex-direction: row-reverse; }
[dir="rtl"] .header-inner     { flex-direction: row-reverse; }
[dir="rtl"] .header-right     { flex-direction: row-reverse; }
[dir="rtl"] .lang-switcher    { flex-direction: row-reverse; }

/* Hero */
[dir="rtl"] .hero-content     { text-align: right; }
[dir="rtl"] .hero-ctas        { flex-direction: row-reverse; }

/* Grids */
[dir="rtl"] .pillars-grid     { direction: rtl; }
[dir="rtl"] .product-grid     { direction: rtl; }
[dir="rtl"] .apps-grid        { direction: rtl; }
[dir="rtl"] .why-grid         { direction: rtl; }
[dir="rtl"] .how-grid         { direction: rtl; }

/* Text alignment */
[dir="rtl"] .product-content  { text-align: right; }
[dir="rtl"] .why-content      { text-align: right; }
[dir="rtl"] .future-text      { text-align: right; }
[dir="rtl"] .how-card         { text-align: right; }

/* Buttons: mirror icon placement */
[dir="rtl"] .btn              { flex-direction: row-reverse; }

/* Lists */
[dir="rtl"] .why-list li      { flex-direction: row-reverse; }
[dir="rtl"] .footer-links     { text-align: right; }

/* Footer */
[dir="rtl"] .footer-grid      { direction: rtl; }
[dir="rtl"] .footer-bottom    { flex-direction: row-reverse; }
[dir="rtl"] .footer-lang-row  { flex-direction: row-reverse; }

/* Arrows: mirror directional arrows */
[dir="rtl"] .arrow-right      { transform: scaleX(-1); }

/* Forms */
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select            { text-align: right; direction: rtl; }

/* Mobile menu */
[dir="rtl"] .mobile-menu nav a { direction: rtl; }

/* Specs row */
[dir="rtl"] .specs-row        { flex-direction: row-reverse; }
[dir="rtl"] .spec-item        { border-right: none; border-left: 1px solid var(--color-pebble); }
[dir="rtl"] .spec-item:last-child { border-left: none; }

/* Future section */
[dir="rtl"] .future-inner     { flex-direction: row-reverse; }
[dir="rtl"] .topic-tags       { flex-direction: row-reverse; justify-content: flex-end; }

/* Cookie banner */
[dir="rtl"] .cookie-banner    { flex-direction: row-reverse; }
[dir="rtl"] .cookie-text      { text-align: right; }
