/* ============================================================================
   RTL overrides — pruned & repaired (GL-132 / CO-120 / CT-116 / CT-117).

   Removed dead selectors that targeted elements no longer in the Kokila build:
     - .switcher .switch_menu          (color-switcher widget removed)
     - .main-menu .navigation ...      (horizontal Home/Shop/... nav removed;
                                         the All-Categories dropdown is used instead)
     - .list-style-one / .shop-tab-btn / .color-list / .latest-products
                                        (template list widgets not used here)
     - .scroll-to-top .scroll-bar      (markup uses .scroll-top-inner SVG ring,
                                         there is no .scroll-bar child)

   Kept / repaired RTL rules for elements that DO exist: page direction helpers,
   Owl carousels, the scroll-to-top button, the off-canvas mobile menu,
   product rating stars, stock labels, checkboxes, and the header mini-cart.
   LTR is unaffected — every rule is scoped under .rtl.
   ============================================================================ */

.rtl {
  direction: rtl;
}

.ltr {
  direction: ltr;
}

/* Owl carousels stay LTR internally so slides advance the expected way. */
.rtl .owl-carousel{
  direction: ltr;
}

/* Scroll-to-top button: flip to the left edge in RTL. */
.rtl .scroll-to-top{
  right: inherit;
  left: 30px;
}

/* ---- Off-canvas mobile menu (exists: partials/header.blade.php) ---- */
.rtl .mobile-menu{
  text-align: right;
}

.rtl .mobile-menu .nav-logo{
  text-align: right;
}

.rtl .mobile-menu .navigation li > a:before{
  left: inherit;
  right: 0px;
}

.rtl .mobile-menu .navigation li.dropdown .dropdown-btn{
  right: inherit;
  left: 6px;
}

.rtl .mobile-menu .navigation li.dropdown .dropdown-btn.open{
  transform: rotate(-90deg);
}

/* ---- Off-canvas category menu (exists) ---- */
.rtl .category-menu{
  left: inherit;
  right: 0;
  padding-right: 0;
  padding-left: 30px;
  text-align: right;
}

.rtl .category-menu .category-list li > a{
  padding-right: 25px;
  padding-left: 50px;
}

.rtl .category-menu .category-list li.category-dropdown .dropdown-btn{
  right: inherit;
  left: 25px;
}

/* ---- Checkboxes (auth + shop sidebar filters) ---- */
.rtl .check-box label{
  padding-left: 0px;
  padding-right: 24px;
}

.rtl .check-box label:before{
  left: inherit;
  right: 0px;
}

.rtl .check-box label:after{
  left: inherit;
  right: 2px;
}

/* ---- Product rating stars (CT-116) ---- */
.rtl .rating li{
  margin-right: 0px;
  margin-left: 2px;
}

/* ---- Product stock / out-of-stock labels: icon flips to the right ---- */
.rtl .product-stock,
.rtl .product-stock-out{
  padding-left: 0px;
  padding-right: 27px;
}

.rtl .product-stock img,
.rtl .product-stock-out img{
  left: inherit;
  right: 0px;
}

/* ---- Header mini-cart line items ---- */
.rtl .main-header .menu-right-content .info-list .cart-menu .product{
  text-align: right;
}

.rtl .cart-menu .close-icon{
  left: inherit;
  right: 3px;
}
