/**
 * استایل قیمت نمایندگی
 *
 * قیمت عادی (sales_type_id = 5) با تگ <del> و قیمت نمایندگی
 * (sales_type_id = 6) با تگ <ins> توسط ووکامرس چاپ می‌شود.
 *
 * برای تغییر ظاهر، فقط مقادیر متغیرهای زیر را عوض کنید.
 */
:root {
	--namayandeh-old-price-color: #1204d3;
	--namayandeh-old-price-font-size: 85%;
	--namayandeh-old-price-font-weight: 400;
	--namayandeh-agent-price-color: #d32f2f;
	--namayandeh-agent-price-font-size: 115%;
	--namayandeh-agent-price-font-weight: 700;
}

/* قیمت خط‌خورده (5) */
body .price del {
	color: var(--namayandeh-old-price-color);
	font-size: var(--namayandeh-old-price-font-size);
	font-weight: var(--namayandeh-old-price-font-weight);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	opacity: 1;
}

/* قیمت نمایندگی (6) */
body .price ins {
	color: var(--namayandeh-agent-price-color);
	font-size: var(--namayandeh-agent-price-font-size);
	font-weight: var(--namayandeh-agent-price-font-weight);
	text-decoration: none;
	background-color: transparent;
	padding: 0;
	opacity: 1;
	margin-inline-start: 4px;
}

/* حفظ رنگ عدد و واحد پول مطابق رنگ del/ins */
body .price del .woocommerce-Price-amount,
body .price ins .woocommerce-Price-amount {
	color: inherit;
}
