html[dir="rtl"] body,
body.rtl {
	font-family: "Poppins", Tahoma, Arial, sans-serif;
	letter-spacing: 0;
}

body.rtl .nm-main-menu,
body.rtl #nm-mobile-menu .menu,
body.rtl .gemash-footer { direction: rtl; }

body.rtl .gemash-eyebrow,
body.rtl .gemash-footer h2 { letter-spacing: 0; }

body.rtl .gemash-hero__overlay {
	background: linear-gradient(270deg, rgba(12, 18, 42, 0.82) 0%, rgba(12, 18, 42, 0.58) 39%, rgba(12, 18, 42, 0.08) 70%);
}

body.rtl .gemash-hero h1,
body.rtl .gemash-section h2,
body.rtl .product .summary .product_title {
	letter-spacing: -0.015em;
	line-height: 1.3;
}

body.rtl #nm-header .nm-menu-cart-count {
	right: auto;
	left: -9px;
}

body.rtl .gemash-carousel-arrow--previous {
	right: -21px;
	left: auto;
}

body.rtl .gemash-carousel-arrow--next {
	right: auto;
	left: -21px;
}

body.rtl .gemash-sale-badge,
body.rtl .gemash-stock-badge,
body.rtl.single-product .onsale {
	right: 0 !important;
	left: auto !important;
	border-radius: 5px 0 0 0 !important;
}

body.rtl .single-product .variations th.label,
body.rtl .woocommerce-Tabs-panel--description th,
body.rtl .woocommerce-Tabs-panel--description td { text-align: right; }

body.rtl #nm-cart-panel {
	right: auto !important;
	left: 0 !important;
	box-shadow: 8px 0 28px rgba(12, 18, 42, 0.12);
}

body.rtl #nm-cart-panel .remove_from_cart_button {
	right: auto !important;
	left: 0 !important;
}

body.rtl .gemash-single-product__summary .variations th.label { text-align: right; }

body.rtl #nm-cart-panel .gemash-mini-cart-item .nm-cart-panel-item-price { text-align: left; }

body.rtl #nm-cart-panel .nm-cart-panel-product-title {
	max-width: calc(100% - 24px);
}

body.rtl #nm-cart-panel .nm-cart-panel-item-price,
body.rtl .gemash-cart-recommendation__details .price { text-align: left; }

body.rtl .gemash-shipping-progress__fill {
	right: 0;
	left: auto;
}

/* Arabic: floating bag and back-to-top mirror to the left corner. */
body.rtl .gemash-floating-cart {
	right: auto;
	left: 24px;
}

body.rtl .gemash-back-to-top {
	right: auto;
	left: 24px;
}

body.rtl:has(.gemash-floating-cart.is-visible) .gemash-back-to-top {
	right: auto;
	left: 31px;
}

@media (max-width: 767px) {
	body.rtl .gemash-hero__overlay {
		background: linear-gradient(0deg, rgba(12, 18, 42, 0.88) 0%, rgba(12, 18, 42, 0.62) 50%, rgba(12, 18, 42, 0.05) 86%);
	}

	body.rtl .gemash-product-carousel__viewport {
		margin-right: -2px;
		margin-left: -15px;
		padding-right: 2px;
		padding-left: 15px;
	}

	body.rtl .gemash-floating-cart,
	body.rtl .gemash-back-to-top {
		right: auto;
		left: 16px;
	}

	body.rtl:has(.gemash-floating-cart.is-visible) .gemash-back-to-top {
		right: auto;
		left: 22px;
	}
}
