/* Arabic (RTL) overrides. Loaded only by the /ar/ pages; the server adds it to shared templates. */
:root { --font: "Cairo", "Lato", "Helvetica Neue", Arial, sans-serif; }
[dir="rtl"] body { line-height: 1.75; }
[dir="rtl"] .hero__title, [dir="rtl"] .lead h2, [dir="rtl"] .page__head h1, [dir="rtl"] .intro h2,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "Cairo", var(--display); letter-spacing: 0; }
[dir="rtl"] .hero__eyebrow { letter-spacing: 0; }
[dir="rtl"] .hero__title { line-height: 1.35; }

/* Physical positions mirrored */
[dir="rtl"] .skip { left: auto; right: -999px; }
[dir="rtl"] .skip:focus { right: 8px; }
[dir="rtl"] .cart__count { right: auto; left: 0; }
[dir="rtl"] .card__badges { left: auto; right: 10px; }
[dir="rtl"] .card__wish { right: auto; left: 8px; }
[dir="rtl"] .styled__card span { left: auto; right: 20px; }
[dir="rtl"] .chatbtn { right: auto; left: 15px; }
@media (max-width: 760px) {
  [dir="rtl"] .card__badges { right: 6px; }
  [dir="rtl"] .styled__card span { right: 12px; }
}

/* Mobile menu slides in from the right, the cart drawer from the left */
@media (max-width: 1000px) {
  [dir="rtl"] .mainnav { inset: 0 0 0 auto; transform: translateX(100%); }
  [dir="rtl"] .menu-open .mainnav { transform: none; }
}
[dir="rtl"] .drawer { right: auto; left: 0; transform: translateX(-100%); }
[dir="rtl"] .cart-open .drawer { transform: none; }

/* Directional icons (arrows, chevrons) point the other way */
[dir="rtl"] .arrow svg, [dir="rtl"] .crumbs svg, [dir="rtl"] .btn svg.dir { transform: scaleX(-1); }

/* Numbers, emails, phones and prices stay left-to-right */
[dir="rtl"] .price, [dir="rtl"] a[href^="mailto:"], [dir="rtl"] a[href^="tel:"], [dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { unicode-bidi: plaintext; }
