/*
Theme Name: Special Theme
RTL: true
*/

body {
	direction: rtl;
	unicode-bidi: embed;
}


/* Main Header Layout */
.main-navigation ul li {
    margin-left: 0;
    margin-right: 20px;
}
.main-navigation ul ul {
    left: auto;
    right: 0;
}

.header-actions .action-icon {
    margin-left: 0;
    margin-right: 15px;
}

.header-actions .cart-count {
    right: auto;
    left: -10px;
}

/*
 *  RTL Product Carousel
 * --------------------------------------------------------------------------------
 */
.product-card {
    text-align: right;
}

.carousel-header {
    /* Flexbox handles the RTL switch automatically */
}
/*
 * 14.1 - RTL Mini Cart Panel (Corrected)
 * --------------------------------------------------------------------------------
 */

.mini-cart-panel {
    right: auto; /* Unset the right property */
    left: 0; /* Position the panel at the left edge of the screen */
    transform: translateX(-100%); /* Then, move it completely out of view to the left */
}

.mini-cart-panel.is-open {
    transform: translateX(0); /* On open, move it back to its original position (at left: 0) */
}

.remove.remove_from_cart_button {
    margin-right: 0;
    margin-left: auto; /* Push remove button to the far right in RTL */
}
/*
 * RTL Mobile Menu Open Direction
 * --------------------------------------------------------------------------------
 */
.mobile-menu-panel {
    right: 0; /* Position panel on the right */
    left: auto;
    transform: translateX(100%); /* Start off-screen to the right */
}
body.mobile-menu-open .mobile-menu-panel {
    transform: translateX(0); /* Slide in from the right */
}