/* ==========================================================================
   AK Clear Cart - فرانت
   عمداً فونت اختصاصی لود نمی‌شود: همه‌جا font-family: inherit تا دکمه فونت
   قالب (وودمارت) را بگیرد و ۱۰۰ کیلوبایت فونت اضافه به صفحه‌ی سبد تحمیل نشود.
   ========================================================================== */

.akec-wrap {
	display: inline-block;
	vertical-align: middle;
}

.akec-wrap-cart {
	margin: 0 8px 8px 0;
}

.akec-wrap-minicart {
	display: block;
	margin: 0 0 10px;
}

.akec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 11px 18px;
	border-radius: 6px;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, opacity .15s;
	text-decoration: none;
	max-width: 100%;
}

.akec-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.akec-btn[disabled] {
	opacity: .6;
	cursor: default;
}

.akec-icon {
	flex-shrink: 0;
}

/* استایل‌ها */
.akec-style-danger {
	background: #d63638;
	border: 1px solid #d63638;
	color: #fff;
}

.akec-style-danger:hover {
	background: #b32d2e;
	border-color: #b32d2e;
	color: #fff;
}

.akec-style-outline {
	background: transparent;
	border: 1px solid #d63638;
	color: #d63638;
}

.akec-style-outline:hover {
	background: #d63638;
	color: #fff;
}

.akec-style-neutral {
	background: #f1f1f1;
	border: 1px solid #d5d5d5;
	color: #444;
}

.akec-style-neutral:hover {
	background: #e4e4e4;
	color: #222;
}

.akec-ctx-minicart {
	width: 100%;
}

/* جعبه‌ی بازگردانی روی سبد خالی */
.akec-undo-box {
	border: 1px dashed #b7bec9;
	border-radius: 8px;
	padding: 16px 18px;
	margin: 0 0 22px;
	text-align: center;
}

.akec-undo-text {
	font-family: inherit;
	font-size: 13px;
	margin: 0 0 12px;
	line-height: 2;
}

/* مودال تأیید */
.akec-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 17, 21, .6);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.akec-modal {
	background: #fff;
	border-radius: 12px;
	max-width: 400px;
	width: 100%;
	padding: 24px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
	direction: rtl;
}

.akec-modal-title {
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #1d2327;
}

.akec-modal-text {
	font-family: inherit;
	font-size: 13px;
	line-height: 2;
	color: #50575e;
	margin: 0 0 20px;
}

.akec-modal-actions {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.akec-modal-actions .akec-btn {
	min-width: 120px;
}

.akec-modal-error {
	color: #d63638;
	font-size: 12.5px;
	margin: 14px 0 0;
	line-height: 1.9;
	display: none;
}
