/**
 * استایل پایه هانل — قالب خام
 * نام‌گذاری: BEM
 */

.hanel-body {
	font-family: var(--hanel-font-family);
	font-size: var(--hanel-font-size-base);
	font-weight: var(--hanel-font-weight-regular);
	line-height: var(--hanel-line-height-base);
	color: var(--hanel-color-text);
	background-color: var(--hanel-color-bg);
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Block: hanel */
.hanel {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: var(--hanel-color-white);
	color: var(--hanel-color-text);
}

/* Element: page wrapper */
.hanel__page {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	width: 100%;
	background-color: var(--hanel-color-white);
}

/* Block: main */
.hanel-main {
	flex: 1 0 auto;
	width: 100%;
	background-color: var(--hanel-color-white);
}

/* Utility: container (آماده برای استفاده بعدی) */
.hanel-container {
	width: 100%;
	max-width: var(--hanel-container-max);
	margin-inline: auto;
	padding-inline: var(--hanel-container-pad);
}

/* Utility: visually hidden */
.hanel-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Utility: icon (Lucide) */
.hanel-icon {
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	vertical-align: middle;
	stroke-width: 1.75;
	flex-shrink: 0;
}

.hanel-icon--sm {
	width: 1rem;
	height: 1rem;
}

.hanel-icon--lg {
	width: 1.5rem;
	height: 1.5rem;
}

/*
 * ووکامرس بعد از افزودن اجاکسی، لینک «مشاهده سبد» را کنار دکمه می‌چسباند
 * و چیدمان کارت‌ها را به هم می‌ریزد. بازخورد افزودن روی خود دکمه نشان داده می‌شود.
 */
a.added_to_cart,
a.added_to_cart.wc-forward {
	display: none !important;
}
