/**
 * Right-to-left adjustments (Arabic). Layout already uses logical properties;
 * this file only mirrors direction-dependent icons, animations and backgrounds.
 */
[dir="rtl"] .gallery__arrow svg,
[dir="rtl"] .viewer__nav svg,
[dir="rtl"] .section-link svg,
[dir="rtl"] .kids__link svg,
[dir="rtl"] .promo svg,
[dir="rtl"] .mosaic__caption .icon,
[dir="rtl"] .pagination svg {
  transform: scaleX(-1);
}
[dir="rtl"] .mosaic__link:hover .mosaic__caption .icon {
  transform: scaleX(-1) translateX(4px);
}
[dir="rtl"] select,
[dir="rtl"] .orderby {
  background-position: left 12px center !important;
}
[dir="rtl"] .drawer {
  inset: 0 auto 0 0;
}
@keyframes drawer-in-rtl {
  from {
    transform: translateX(-100%);
  }
}
[dir="rtl"] .drawer[open] {
  animation-name: drawer-in-rtl;
}
[dir="rtl"] body {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, var(--font);
}
/* Prices, SKUs, sizes and phone numbers stay left-to-right inside Arabic text. */
[dir="rtl"] .price,
[dir="rtl"] .woocommerce-Price-amount,
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="email"] {
  unicode-bidi: isolate;
  direction: ltr;
}
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="email"] {
  text-align: end;
}
[dir="rtl"] .primary-nav__list a::after {
  transform-origin: right;
}
/* The brand name is always written left-to-right. */
[dir="rtl"] .logo {
  direction: ltr;
  unicode-bidi: isolate;
}

/* The scroll hint of the category strip fades at the end of the row (left in RTL). */
[dir="rtl"] .category-strip__list {
  mask-image: linear-gradient(270deg, #000 75%, transparent);
}
@media (min-width: 1100px) {
  [dir="rtl"] .category-strip__list {
    mask-image: none;
  }
}
