/**
 * Matjar — RTL (Right-to-Left) Stylesheet
 * Native Arabic & Hebrew layout support
 */

body.rtl,
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* Side Cart Drawer Slides from Left in RTL */
.rtl .matjar-side-cart-drawer {
  inset-inline-start: 0;
  inset-inline-end: auto;
  transform: translateX(-100%);
}

.rtl .matjar-side-cart-drawer.is-open {
  transform: translateX(0);
}

/* Mobile Drawer Slides from Right in RTL */
.rtl .matjar-mobile-drawer {
  inset-inline-start: auto;
  inset-inline-end: 0;
  transform: translateX(100%);
}

.rtl .matjar-mobile-drawer.is-open {
  transform: translateX(0);
}

/* Floating Action Buttons in Cards */
.rtl .matjar-card-floating-actions {
  transform: translateX(-10px);
}

.rtl li.product:hover .matjar-card-floating-actions {
  transform: translateX(0);
}

/* Reversal of Navigation Arrows */
.rtl .matjar-crumb-sep {
  transform: scaleX(-1);
  display: inline-block;
}
