/**
 * Aria Smart Buy Button - RTL Override
 * Loaded only when is_rtl() is true
 */

/* RTL: + is on the RIGHT (start), -/trash is on the LEFT (end) */
/* This is the natural flow in RTL, so we just ensure no LTR overrides leak in */

.aria-btn-wrapper {
	direction: rtl;
	text-align: center;
}

/* Ensure the "View Cart" link arrow points left (toward cart) */
.aria-view-cart__link::before {
	content: '←';
}

/* Ensure quantity buttons flow RTL correctly */
.aria-qty {
	direction: rtl;
}

/* Fix for some themes that force LTR on buttons */
.woocommerce .aria-btn-wrapper,
.woocommerce-page .aria-btn-wrapper {
	direction: rtl;
}

/* Persian number display */
.aria-qty-number span:first-child {
	font-feature-settings: 'ss02';
	letter-spacing: 0.5px;
}