/**
 * سبد خرید اختصاصی هانل
 */

.hanel-cart {
	--hanel-c-ink: #151923;
	--hanel-c-muted: #6a7080;
	--hanel-c-soft: #8b90a0;
	--hanel-c-gold: #c5a059;
	--hanel-c-gold-hi: #e8c979;
	--hanel-c-line: rgba(21, 25, 35, 0.08);
	--hanel-c-line-soft: rgba(21, 25, 35, 0.05);
	--hanel-c-surface: #ffffff;
	--hanel-c-tint: #faf8f5;
	--hanel-c-ok: #1f8a52;
	--hanel-c-warn: #b8791f;
	--hanel-c-danger: #c0392b;

	position: relative;
	padding-bottom: clamp(3rem, 8vw, 5.5rem);
	overflow-x: clip;
	background: var(--hanel-c-surface);
	color: var(--hanel-c-ink);
}

.hanel-cart [hidden] {
	display: none !important;
}

.hanel-cart-main {
	overflow-x: clip;
}

.hanel-cart .hanel-container {
	box-sizing: border-box;
	width: 100%;
	max-width: min(var(--hanel-container-max), 100%);
	min-width: 0;
}

.hanel-cart img {
	max-width: 100%;
	height: auto;
}

/* ===================== */
/*         هیرو          */
/* ===================== */
.hanel-cart__hero {
	padding-block: clamp(2.1rem, 5.5vw, 3.4rem) 1.4rem;
	background:
		radial-gradient(90% 80% at 100% 0%, rgba(232, 201, 121, 0.18), transparent 46%),
		linear-gradient(180deg, var(--hanel-c-tint) 0%, var(--hanel-c-surface) 100%);
}

.hanel-cart__hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	text-align: center;
}

.hanel-cart__eyebrow {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	max-width: 100%;
	margin-bottom: 0.7rem;
	color: var(--hanel-c-gold);
	font-size: 0.74rem;
	font-weight: 750;
	letter-spacing: 0.18em;
}

.hanel-cart__eyebrow-line {
	flex: none;
	width: 1.8rem;
	height: 1px;
	background: var(--hanel-c-gold);
}

.hanel-cart__title {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	max-width: 100%;
	margin: 0;
	font-size: clamp(1.45rem, 4vw, 2.45rem);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: -0.03em;
	overflow-wrap: anywhere;
}

.hanel-cart__title-count {
	display: inline-grid;
	place-items: center;
	min-width: 2.1rem;
	height: 2.1rem;
	padding-inline: 0.5rem;
	border-radius: 999px;
	background: var(--hanel-c-ink);
	color: var(--hanel-c-gold-hi);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0;
}

.hanel-cart__subtitle {
	max-width: min(36rem, 100%);
	margin: 0.7rem 0 0;
	color: var(--hanel-c-muted);
	font-size: 0.95rem;
	line-height: 1.85;
	overflow-wrap: anywhere;
}

/* ===================== */
/*     مراحل خرید        */
/* ===================== */
.hanel-cart__steps {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 0.5rem;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.hanel-cart__step {
	flex: 1 1 10rem;
	min-width: 0;
	max-width: 15rem;
}

.hanel-cart__step-inner {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 0.6rem 0.85rem;
	border: 1px solid var(--hanel-c-line);
	border-radius: 999px;
	background: var(--hanel-c-surface);
	color: var(--hanel-c-muted);
	text-align: start;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a.hanel-cart__step-inner:hover {
	border-color: rgba(197, 160, 89, 0.45);
	background: var(--hanel-c-tint);
	transform: translateY(-2px);
}

.hanel-cart__step-dot {
	display: grid;
	place-items: center;
	flex: none;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: var(--hanel-c-tint);
	color: var(--hanel-c-soft);
	box-shadow: inset 0 0 0 1px var(--hanel-c-line);
}

.hanel-cart__step-label {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.4;
}

.hanel-cart__step-label em {
	color: var(--hanel-c-soft);
	font-size: 0.62rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.hanel-cart__step-label b {
	color: inherit;
	font-size: 0.82rem;
	font-weight: 800;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hanel-cart__step.is-current .hanel-cart__step-inner {
	border-color: transparent;
	background: var(--hanel-c-ink);
	color: #fff;
}

.hanel-cart__step.is-current .hanel-cart__step-dot {
	background: var(--hanel-c-gold);
	color: var(--hanel-c-ink);
	box-shadow: none;
}

.hanel-cart__step.is-current .hanel-cart__step-label em {
	color: var(--hanel-c-gold-hi);
}

.hanel-cart__step.is-locked .hanel-cart__step-inner {
	opacity: 0.55;
}

/* ===================== */
/*        نوتیس‌ها        */
/* ===================== */
.hanel-cart__body {
	padding-block: 0.5rem 1.5rem;
}

.hanel-cart__notices:empty {
	display: none;
}

.hanel-cart .woocommerce-info,
.hanel-cart .woocommerce-message,
.hanel-cart .woocommerce-error,
.hanel-cart .hanel-notice,
.woocommerce .hanel-cart .woocommerce-info,
.woocommerce-page .hanel-cart .woocommerce-info {
	position: relative;
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.7rem 0.85rem;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 0 1rem !important;
	padding: 0.95rem 1.05rem !important;
	overflow: hidden;
	border: 1px solid rgba(197, 160, 89, 0.28) !important;
	border-top: 1px solid rgba(197, 160, 89, 0.28) !important;
	border-inline-start-width: 3px !important;
	border-inline-start-color: var(--hanel-c-gold) !important;
	border-radius: 1.25rem !important;
	background:
		radial-gradient(90% 140% at 100% 0%, rgba(232, 201, 121, 0.2), transparent 52%),
		linear-gradient(180deg, #ffffff 0%, #faf8f5 100%) !important;
	color: var(--hanel-c-ink) !important;
	font-size: 0.88rem;
	line-height: 1.8;
	list-style: none !important;
	box-shadow: 0 10px 24px rgba(21, 25, 35, 0.05);
}

.hanel-cart .hanel-notice--error,
.hanel-cart .woocommerce-error {
	border-color: rgba(138, 74, 74, 0.22) !important;
	border-inline-start-color: #c47a7a !important;
	background:
		radial-gradient(90% 140% at 100% 0%, rgba(180, 90, 90, 0.1), transparent 52%),
		linear-gradient(180deg, #fff 0%, #fbf6f5 100%) !important;
}

.hanel-cart .woocommerce-info::before,
.hanel-cart .woocommerce-info::after,
.hanel-cart .woocommerce-message::before,
.hanel-cart .woocommerce-message::after,
.hanel-cart .woocommerce-error::before,
.hanel-cart .woocommerce-error::after,
.hanel-cart .hanel-notice::before,
.hanel-cart .hanel-notice::after {
	content: none !important;
	display: none !important;
}

.hanel-cart .hanel-notice__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--hanel-c-ink);
	color: var(--hanel-c-gold-hi);
	box-shadow: inset 0 0 0 1px rgba(232, 201, 121, 0.35);
}

.hanel-cart .hanel-notice--error .hanel-notice__icon {
	background: #5c2a2a;
	color: #f0c4c4;
}

.hanel-cart .hanel-notice__icon .hanel-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.hanel-cart .hanel-notice__copy {
	min-width: 0;
	margin: 0;
	padding: 0;
	color: var(--hanel-c-muted);
	font-size: 0.88rem;
	line-height: 1.8;
	list-style: none;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.hanel-cart .hanel-notice__copy p,
.hanel-cart .hanel-notice__copy li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hanel-cart .hanel-notice__copy p + p,
.hanel-cart .hanel-notice__copy li + li {
	margin-top: 0.3rem;
}

.hanel-cart .hanel-notice__action {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
}

.hanel-cart .hanel-notice .button,
.hanel-cart .hanel-notice .woocommerce-Button,
.hanel-cart .hanel-notice .wc-forward,
.woocommerce .hanel-cart .hanel-notice .button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	float: none !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100%;
	min-height: 2.5rem !important;
	margin: 0 !important;
	padding: 0.4rem 1rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--hanel-c-gold) !important;
	color: var(--hanel-c-ink) !important;
	font-size: 0.8rem !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	text-align: center !important;
	white-space: normal;
	box-shadow: none !important;
}

.hanel-cart .hanel-notice .button::before,
.hanel-cart .hanel-notice .button::after {
	content: none !important;
	display: none !important;
}

@media (min-width: 900px) {
	.hanel-cart .woocommerce-info,
	.hanel-cart .woocommerce-message,
	.hanel-cart .woocommerce-error,
	.hanel-cart .hanel-notice {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.hanel-cart .hanel-notice__action {
		grid-column: auto;
	}

	.hanel-cart .hanel-notice .button {
		width: auto !important;
		white-space: nowrap;
	}
}

/* ===================== */
/*        چیدمان         */
/* ===================== */
.hanel-cart__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 22rem;
	gap: clamp(1.1rem, 2.5vw, 1.9rem);
	align-items: start;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.hanel-cart__main,
.hanel-cart__aside {
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
}

.hanel-cart__main {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.hanel-cart__aside {
	position: sticky;
	top: calc(var(--hanel-header-h, 4.5rem) + 1rem);
}

/* ===================== */
/*    ارسال رایگان       */
/* ===================== */
.hanel-cart__progress-slot:empty {
	display: none;
}

.hanel-cart__ship {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.85rem;
	box-sizing: border-box;
	padding: 0.95rem 1.1rem;
	border: 1px solid rgba(197, 160, 89, 0.3);
	border-radius: 1.35rem;
	background:
		radial-gradient(100% 140% at 100% 0%, rgba(232, 201, 121, 0.22), transparent 55%),
		var(--hanel-c-tint);
}

.hanel-cart__ship.is-reached {
	border-color: rgba(31, 138, 82, 0.28);
	background:
		radial-gradient(100% 140% at 100% 0%, rgba(31, 138, 82, 0.14), transparent 55%),
		#f6faf7;
}

.hanel-cart__ship-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.7rem;
	height: 2.7rem;
	border-radius: 50%;
	background: var(--hanel-c-ink);
	color: var(--hanel-c-gold-hi);
	box-shadow: inset 0 0 0 1px rgba(232, 201, 121, 0.35);
}

.hanel-cart__ship.is-reached .hanel-cart__ship-icon {
	background: #14572f;
	color: #b8f0cf;
	box-shadow: inset 0 0 0 1px rgba(184, 240, 207, 0.35);
}

.hanel-cart__ship-copy {
	min-width: 0;
}

.hanel-cart__ship-text {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.15rem 0.5rem;
	margin: 0 0 0.5rem;
	line-height: 1.6;
}

.hanel-cart__ship-text b {
	color: var(--hanel-c-ink);
	font-size: 0.92rem;
	font-weight: 850;
}

.hanel-cart__ship-text b .amount,
.hanel-cart__ship-text b bdi {
	color: var(--hanel-c-gold);
}

.hanel-cart__ship.is-reached .hanel-cart__ship-text b {
	color: #14572f;
}

.hanel-cart__ship-text span {
	color: var(--hanel-c-muted);
	font-size: 0.78rem;
}

.hanel-cart__ship-track {
	position: relative;
	width: 100%;
	height: 0.5rem;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(21, 25, 35, 0.08);
}

.hanel-cart__ship-fill {
	display: block;
	width: var(--hanel-cart-progress, 0%);
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--hanel-c-gold) 0%, var(--hanel-c-gold-hi) 100%);
	transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hanel-cart__ship.is-reached .hanel-cart__ship-fill {
	background: linear-gradient(90deg, #1f8a52 0%, #45c184 100%);
}

/* ===================== */
/*      کالاهای سبد      */
/* ===================== */
.hanel-cart__form,
.hanel-cart__progress-slot,
.hanel-cart__cross {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.hanel-cart__form {
	margin: 0;
}

.hanel-cart__items {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	box-sizing: border-box;
	min-width: 0;
	transition: opacity 0.2s ease;
}

.hanel-cart.is-busy .hanel-cart__items,
.hanel-cart.is-busy .hanel-cart__aside {
	opacity: 0.55;
	pointer-events: none;
}

.hanel-cart__item {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.95rem;
	box-sizing: border-box;
	padding: 0.85rem;
	border: 1px solid var(--hanel-c-line);
	border-radius: 1.35rem;
	background: var(--hanel-c-surface);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hanel-cart__item:hover {
	border-color: rgba(197, 160, 89, 0.35);
	box-shadow: 0 14px 30px rgba(21, 25, 35, 0.06);
}

.hanel-cart__item.is-pending {
	opacity: 0.5;
	transition: opacity 0.2s ease;
}

.hanel-cart__item-media {
	position: relative;
	flex: none;
	width: 6.5rem;
	overflow: hidden;
	border-radius: 1rem;
	background: var(--hanel-c-tint);
	aspect-ratio: 1 / 1;
}

.hanel-cart__item-media a,
.hanel-cart__item-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hanel-cart__item-flag {
	position: absolute;
	inset-block-start: 0.4rem;
	inset-inline-start: 0.4rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: var(--hanel-c-ink);
	color: var(--hanel-c-gold-hi);
	font-size: 0.62rem;
	font-weight: 800;
}

.hanel-cart__item-body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}

.hanel-cart__item-head {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.hanel-cart__item-name {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.hanel-cart__item-name a {
	color: inherit;
	text-decoration: none;
	transition: color 0.18s ease;
}

.hanel-cart__item-name a:hover {
	color: var(--hanel-c-gold);
}

.hanel-cart__item-remove,
.hanel-cart a.hanel-cart__item-remove,
.woocommerce .hanel-cart a.hanel-cart__item-remove {
	display: grid;
	place-items: center;
	flex: none;
	box-sizing: border-box;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 1px solid var(--hanel-c-line);
	border-radius: 50%;
	background: var(--hanel-c-surface);
	color: var(--hanel-c-soft);
	color: var(--hanel-c-soft) !important;
	font-size: 0;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hanel-cart__item-remove:hover,
.hanel-cart a.hanel-cart__item-remove:hover,
.woocommerce .hanel-cart a.hanel-cart__item-remove:hover {
	border-color: rgba(192, 57, 43, 0.3);
	background: rgba(192, 57, 43, 0.08) !important;
	color: var(--hanel-c-danger) !important;
}

.hanel-cart__item-remove .hanel-icon {
	width: 1rem;
	height: 1rem;
}

.hanel-cart__item-meta {
	color: var(--hanel-c-muted);
	font-size: 0.78rem;
	line-height: 1.7;
}

.hanel-cart__item-meta dl,
.hanel-cart__item-meta p {
	margin: 0;
}

.hanel-cart__item-meta dt {
	display: inline;
	font-weight: 750;
}

.hanel-cart__item-meta dd {
	display: inline;
	margin: 0 0.25rem 0 0;
}

.hanel-cart__item-meta dd::after {
	content: "،";
}

.hanel-cart__item-meta dd:last-of-type::after {
	content: "";
}

.hanel-cart__item-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.hanel-cart__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: var(--hanel-c-tint);
	color: var(--hanel-c-muted);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.6;
}

.hanel-cart__chip .hanel-icon {
	width: 0.8rem;
	height: 0.8rem;
}

.hanel-cart__chip.is-ok {
	background: rgba(31, 138, 82, 0.1);
	color: var(--hanel-c-ok);
}

.hanel-cart__chip.is-low {
	background: rgba(184, 121, 31, 0.12);
	color: var(--hanel-c-warn);
}

.hanel-cart__chip.is-out {
	background: rgba(192, 57, 43, 0.1);
	color: var(--hanel-c-danger);
}

.hanel-cart__item-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem 0.85rem;
	margin-top: auto;
	padding-top: 0.35rem;
}

.hanel-cart__item-qty {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.7rem;
	min-width: 0;
}

.hanel-cart__item-unit {
	color: var(--hanel-c-soft);
	font-size: 0.74rem;
	white-space: nowrap;
}

.hanel-cart__item-unit .amount,
.hanel-cart__item-unit bdi {
	color: var(--hanel-c-muted);
	font-weight: 700;
}

.hanel-cart__item-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.2rem;
	min-width: 0;
	text-align: end;
}

.hanel-cart__item-total {
	color: var(--hanel-c-ink);
	font-size: 1rem;
	font-weight: 850;
	white-space: nowrap;
}

.hanel-cart__item-saving {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--hanel-c-ok);
	font-size: 0.7rem;
	font-weight: 700;
}

.hanel-cart__item-saving .hanel-icon {
	width: 0.8rem;
	height: 0.8rem;
}

/* ===================== */
/*     استپر تعداد       */
/* ===================== */
.hanel-cart__qty {
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
	box-sizing: border-box;
	padding: 0.2rem;
	border: 1px solid var(--hanel-c-line);
	border-radius: 999px;
	background: var(--hanel-c-tint);
}

.hanel-cart__qty-btn {
	display: grid;
	place-items: center;
	flex: none;
	width: 1.85rem;
	height: 1.85rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--hanel-c-surface);
	color: var(--hanel-c-ink);
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.hanel-cart__qty-btn:hover:not(:disabled) {
	background: var(--hanel-c-ink);
	color: var(--hanel-c-gold-hi);
}

.hanel-cart__qty-btn:active:not(:disabled) {
	transform: scale(0.92);
}

.hanel-cart__qty-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/*
 * روی کف تعداد، دکمه منها تبدیل به «حذف» می‌شود
 * تا آخرین عدد کالا هم قابل برداشتن باشد.
 */
.hanel-cart__qty-btn--minus .hanel-cart__qty-ico--trash {
	display: none;
}

.hanel-cart__qty-btn--minus.is-remove .hanel-cart__qty-ico--minus {
	display: none;
}

.hanel-cart__qty-btn--minus.is-remove .hanel-cart__qty-ico--trash {
	display: block;
}

.hanel-cart__qty-btn--minus.is-remove {
	color: #c0392b;
}

.hanel-cart__qty-btn--minus.is-remove:hover:not(:disabled) {
	background: #c0392b;
	color: #fff;
}

.hanel-cart__qty-input {
	width: 2.4rem;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hanel-c-ink);
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 800;
	text-align: center;
	appearance: textfield;
	-moz-appearance: textfield;
}

.hanel-cart__qty-input::-webkit-outer-spin-button,
.hanel-cart__qty-input::-webkit-inner-spin-button {
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
}

.hanel-cart__qty-input:focus {
	outline: none;
}

.hanel-cart__qty:focus-within {
	border-color: rgba(197, 160, 89, 0.5);
	box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

.hanel-cart__qty-fixed {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.8rem;
	border: 1px dashed var(--hanel-c-line);
	border-radius: 999px;
	color: var(--hanel-c-soft);
	font-size: 0.74rem;
	font-weight: 700;
}

/* ===================== */
/*        نوار ابزار     */
/* ===================== */
.hanel-cart__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1rem;
}

.hanel-cart__ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	box-sizing: border-box;
	min-height: 2.65rem;
	padding: 0.4rem 1.1rem;
	border: 1px solid var(--hanel-c-line);
	border-radius: 999px;
	background: var(--hanel-c-surface);
	color: var(--hanel-c-ink);
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 750;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.hanel-cart__ghost:hover {
	border-color: rgba(197, 160, 89, 0.45);
	background: var(--hanel-c-tint);
	transform: translateY(-1px);
}

.hanel-cart.is-js .hanel-cart__nojs {
	display: none;
}

/* ===================== */
/*      خلاصه سفارش      */
/* ===================== */
.hanel-cart__summary {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 1.15rem 1.1rem 1.25rem;
	border: 1px solid var(--hanel-c-line);
	border-radius: 1.5rem;
	background:
		radial-gradient(90% 60% at 100% 0%, rgba(232, 201, 121, 0.14), transparent 50%),
		var(--hanel-c-surface);
	box-shadow: 0 18px 40px rgba(21, 25, 35, 0.06);
}

/* در چیدمان تک‌ستونه بخش‌ها مستقیم داخل کارت می‌نشینند */
.hanel-cart__summary-main,
.hanel-cart__summary-side {
	display: contents;
}

.hanel-cart__summary-head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--hanel-c-line-soft);
}

.hanel-cart__summary-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: var(--hanel-c-ink);
	color: var(--hanel-c-gold-hi);
	box-shadow: inset 0 0 0 1px rgba(232, 201, 121, 0.35);
}

.hanel-cart__summary-kicker {
	display: block;
	color: var(--hanel-c-gold);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.hanel-cart__summary-head h2 {
	margin: 0.1rem 0 0;
	font-size: 1.05rem;
	font-weight: 850;
	line-height: 1.4;
}

.hanel-cart__rows {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.hanel-cart__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	min-width: 0;
	font-size: 0.86rem;
}

.hanel-cart__row > span {
	color: var(--hanel-c-muted);
	overflow-wrap: anywhere;
}

.hanel-cart__row > b {
	flex: none;
	color: var(--hanel-c-ink);
	font-weight: 800;
	white-space: nowrap;
}

.hanel-cart__row.is-discount > b {
	color: var(--hanel-c-ok);
}

.hanel-cart__free {
	color: var(--hanel-c-ok) !important;
}

.hanel-cart__later {
	color: var(--hanel-c-soft) !important;
	font-size: 0.76rem;
	font-weight: 700 !important;
}

.hanel-cart__coupon-tag {
	display: inline-flex !important;
	align-items: center;
	gap: 0.3rem;
	min-width: 0;
	padding: 0.15rem 0.15rem 0.15rem 0.15rem;
	padding-inline-start: 0.55rem;
	border-radius: 999px;
	background: rgba(31, 138, 82, 0.1);
	color: var(--hanel-c-ok) !important;
	font-size: 0.74rem;
	font-weight: 800;
}

.hanel-cart__coupon-tag > span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hanel-cart__coupon-drop {
	display: grid;
	place-items: center;
	flex: none;
	width: 1.35rem;
	height: 1.35rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(31, 138, 82, 0.16);
	color: inherit;
	cursor: pointer;
	transition: background 0.18s ease;
}

.hanel-cart__coupon-drop:hover {
	background: var(--hanel-c-danger);
	color: #fff;
}

.hanel-cart__coupon-drop .hanel-icon {
	width: 0.75rem;
	height: 0.75rem;
}

/* —— کد تخفیف —— */
.hanel-cart__coupon {
	margin: 0;
	padding-top: 0.9rem;
	border-top: 1px solid var(--hanel-c-line-soft);
}

.hanel-cart__coupon label {
	display: block;
	margin-bottom: 0.4rem;
	color: var(--hanel-c-soft);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.03em;
}

.hanel-cart__coupon-field {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	box-sizing: border-box;
	padding: 0.25rem 0.35rem 0.25rem 0.25rem;
	padding-inline-start: 0.7rem;
	border: 1px solid var(--hanel-c-line);
	border-radius: 999px;
	background: var(--hanel-c-tint);
	transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.hanel-cart__coupon-field:focus-within {
	border-color: rgba(197, 160, 89, 0.55);
	background: var(--hanel-c-surface);
	box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.12);
}

.hanel-cart__coupon-field > .hanel-icon {
	flex: none;
	color: var(--hanel-c-gold);
}

.hanel-cart__coupon-field input {
	flex: 1;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 2.1rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hanel-c-ink);
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 700;
}

.hanel-cart__coupon-field input:focus {
	outline: none;
}

.hanel-cart__coupon-field input::placeholder {
	color: var(--hanel-c-soft);
	font-weight: 500;
}

.hanel-cart__coupon-apply {
	flex: none;
	min-height: 2.1rem;
	padding: 0.3rem 0.95rem;
	border: 0;
	border-radius: 999px;
	background: var(--hanel-c-ink);
	color: #fff;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}

.hanel-cart__coupon-apply:hover {
	background: var(--hanel-c-gold);
	color: var(--hanel-c-ink);
}

/* —— مبلغ نهایی —— */
.hanel-cart__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.7rem;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border-radius: 1.15rem;
	background:
		radial-gradient(100% 160% at 100% 0%, rgba(232, 201, 121, 0.18), transparent 55%),
		var(--hanel-c-ink);
	color: #fff;
}

.hanel-cart__total > div {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.hanel-cart__total span {
	font-size: 0.8rem;
	font-weight: 700;
}

.hanel-cart__total em {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.66rem;
	font-style: normal;
}

.hanel-cart__total strong {
	flex: none;
	color: var(--hanel-c-gold-hi);
	font-size: 1.12rem;
	font-weight: 900;
	white-space: nowrap;
}

.hanel-cart__total strong .amount,
.hanel-cart__total strong bdi {
	color: inherit;
}

.hanel-cart__savings {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	color: var(--hanel-c-ok);
	font-size: 0.78rem;
	font-weight: 750;
	overflow-wrap: anywhere;
}

.hanel-cart__savings .amount,
.hanel-cart__savings bdi {
	font-weight: 850;
}

/* —— دکمه پرداخت —— */
.hanel-cart__pay,
.hanel-cart a.hanel-cart__pay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	box-sizing: border-box;
	width: 100%;
	min-height: 3rem;
	padding: 0.5rem 1.2rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--hanel-c-gold-hi) 0%, var(--hanel-c-gold) 100%);
	color: var(--hanel-c-ink);
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 850;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
	box-shadow: 0 12px 26px rgba(197, 160, 89, 0.28);
}

.hanel-cart__pay:hover {
	transform: translateY(-2px);
	filter: brightness(1.04);
	box-shadow: 0 16px 32px rgba(197, 160, 89, 0.34);
}

.hanel-cart__eta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0;
	color: var(--hanel-c-muted);
	font-size: 0.76rem;
	text-align: center;
}

.hanel-cart__eta .hanel-icon {
	color: var(--hanel-c-gold);
}

.hanel-cart__trust {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0;
	padding: 0.9rem 0 0;
	border-top: 1px solid var(--hanel-c-line-soft);
	list-style: none;
}

.hanel-cart__trust li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--hanel-c-muted);
	font-size: 0.78rem;
}

.hanel-cart__trust .hanel-icon {
	flex: none;
	color: var(--hanel-c-gold);
}

/* ===================== */
/*     پیشنهاد مکمل      */
/* ===================== */
.hanel-cart__cross {
	box-sizing: border-box;
	margin-top: 0.4rem;
	padding: 1.15rem 1.1rem 1.25rem;
	border: 1px solid var(--hanel-c-line);
	border-radius: 1.5rem;
	background: var(--hanel-c-tint);
}

.hanel-cart__cross-head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 1rem;
}

.hanel-cart__cross-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: var(--hanel-c-ink);
	color: var(--hanel-c-gold-hi);
	box-shadow: inset 0 0 0 1px rgba(232, 201, 121, 0.35);
}

.hanel-cart__cross-kicker {
	display: block;
	color: var(--hanel-c-gold);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.hanel-cart__cross-head h2 {
	margin: 0.1rem 0 0;
	font-size: 1.02rem;
	font-weight: 850;
	line-height: 1.45;
}

.hanel-cart__cross-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
	gap: 0.75rem;
}

/* در سبد خالی، بخش پیشنهادها تمام‌عرض صفحه است و باید مهار شود */
.hanel-cart--empty .hanel-cart__cross {
	max-width: 58rem;
	margin-inline: auto;
}

.hanel-cart--empty .hanel-cart__cross-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hanel-cart__cross-card {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	box-sizing: border-box;
	min-width: 0;
	padding: 0.6rem;
	border: 1px solid var(--hanel-c-line);
	border-radius: 1.2rem;
	background: var(--hanel-c-surface);
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hanel-cart__cross-card:hover {
	border-color: rgba(197, 160, 89, 0.4);
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(21, 25, 35, 0.07);
}

.hanel-cart__cross-media {
	display: block;
	overflow: hidden;
	border-radius: 0.9rem;
	background: var(--hanel-c-tint);
	aspect-ratio: 1 / 1;
}

.hanel-cart__cross-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hanel-cart__cross-copy {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.hanel-cart__cross-copy h3 {
	margin: 0;
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.hanel-cart__cross-copy h3 a {
	color: inherit;
	text-decoration: none;
}

.hanel-cart__cross-copy h3 a:hover {
	color: var(--hanel-c-gold);
}

.hanel-cart__cross-price {
	color: var(--hanel-c-muted);
	font-size: 0.8rem;
	font-weight: 750;
}

.hanel-cart__cross-price del {
	color: var(--hanel-c-soft);
	font-weight: 500;
	opacity: 0.7;
}

.hanel-cart__cross-price ins {
	color: var(--hanel-c-ink);
	text-decoration: none;
}

.hanel-cart__cross-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	margin-top: auto;
	min-height: 2.35rem;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: var(--hanel-c-ink);
	color: #fff;
	font-size: 0.76rem;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}

.hanel-cart__cross-btn:hover {
	background: var(--hanel-c-gold);
	color: var(--hanel-c-ink);
}

/* ===================== */
/*       سبد خالی        */
/* ===================== */
.hanel-cart__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	box-sizing: border-box;
	max-width: 34rem;
	margin: 0.5rem auto 1.75rem;
	padding: clamp(1.75rem, 5vw, 2.75rem) 1.25rem;
	border: 1px solid var(--hanel-c-line);
	border-radius: 1.75rem;
	background:
		radial-gradient(90% 70% at 100% 0%, rgba(232, 201, 121, 0.16), transparent 48%),
		var(--hanel-c-tint);
	text-align: center;
}

.hanel-cart__empty-icon {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 0.35rem;
	border-radius: 50%;
	background: var(--hanel-c-ink);
	color: var(--hanel-c-gold-hi);
	box-shadow: inset 0 0 0 1px rgba(232, 201, 121, 0.35);
}

.hanel-cart__empty-icon .hanel-icon {
	width: 1.6rem;
	height: 1.6rem;
}

.hanel-cart__empty h2 {
	margin: 0;
	font-size: clamp(1.15rem, 3.5vw, 1.5rem);
	font-weight: 850;
}

.hanel-cart__empty p {
	max-width: 26rem;
	margin: 0;
	color: var(--hanel-c-muted);
	font-size: 0.9rem;
	line-height: 1.9;
}

.hanel-cart__empty-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	margin-top: 0.75rem;
}

.hanel-cart__empty-actions .hanel-cart__pay,
.hanel-cart__empty-actions .hanel-cart__ghost {
	width: auto;
	min-width: 12rem;
}

/* ===================== */
/*    نوار شناور پرداخت  */
/* ===================== */
.hanel-cart__bar {
	/* جای خالی سمت شروع تا روی دکمه شناور (FAB) نیفتد */
	--hanel-cart-fab-slot: 4.7rem;

	position: fixed;
	inset-inline: 0.7rem;
	inset-block-end: max(0.7rem, env(safe-area-inset-bottom));
	z-index: 60;
	display: none;
	padding: 0;
	background: transparent;
	pointer-events: none;
	transition: opacity 0.24s ease, transform 0.24s ease;
	animation: hanel-cart-bar-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.hanel-cart__bar:empty {
	display: none !important;
}

@keyframes hanel-cart-bar-in {
	from {
		opacity: 0;
		transform: translateY(0.9rem);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* دکمه شناور فعال است: نوار از کنارش شروع می‌شود، نه روی آن */
body:has(.hanel-fab:not([hidden])) .hanel-cart__bar {
	inset-inline-start: max(0.7rem, calc(var(--hanel-cart-fab-slot) + env(safe-area-inset-left, 0px)));
}

[dir="rtl"] body:has(.hanel-fab:not([hidden])) .hanel-cart__bar {
	inset-inline-start: max(0.7rem, calc(var(--hanel-cart-fab-slot) + env(safe-area-inset-right, 0px)));
}

/* پنل دکمه شناور باز است یا دکمه پرداخت اصلی دیده می‌شود: نوار کنار می‌رود */
body:has(.hanel-fab.is-open) .hanel-cart__bar,
.hanel-cart__bar.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: translateY(0.6rem);
}

.hanel-cart__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	min-height: 3.35rem;
	padding-block: 0.4rem;
	padding-inline: 0.95rem 0.4rem;
	overflow: hidden;
	border: 1px solid rgba(21, 25, 35, 0.08);
	border-radius: 1.25rem;
	background: rgba(255, 252, 248, 0.92);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	pointer-events: auto;
	box-shadow: 0 14px 36px rgba(21, 25, 35, 0.14);
}

.hanel-cart__bar-copy {
	display: flex;
	flex-direction: column;
	gap: 0.05rem;
	min-width: 0;
}

.hanel-cart__bar-copy span {
	color: var(--hanel-c-soft);
	font-size: 0.68rem;
	font-weight: 700;
	white-space: nowrap;
}

.hanel-cart__bar-copy strong {
	color: var(--hanel-c-ink);
	font-size: 0.98rem;
	font-weight: 900;
	white-space: nowrap;
}

.hanel-cart__bar-pay {
	display: inline-flex;
	flex: 0 1 auto;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 2.65rem;
	padding: 0.4rem 1.1rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--hanel-c-gold-hi) 0%, var(--hanel-c-gold) 100%);
	color: var(--hanel-c-ink);
	font-size: 0.85rem;
	font-weight: 850;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 8px 18px rgba(197, 160, 89, 0.3);
}

/* ===================== */
/*         توست          */
/* ===================== */
.hanel-cart__toasts {
	position: fixed;
	inset-block-end: 1.25rem;
	inset-inline: 0;
	/* بالاتر از دکمه شناور تا پیام هیچ‌وقت پشت آن نیفتد */
	z-index: 4900;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding-inline: clamp(0.7rem, 3vw, 1rem);
	pointer-events: none;
}

.hanel-cart__toast {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.7rem;
	box-sizing: border-box;
	max-width: min(30rem, 100%);
	padding: 0.5rem;
	padding-inline-start: 1rem;
	border-radius: 1.3rem;
	background: rgba(21, 25, 35, 0.96);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	pointer-events: auto;
	opacity: 0;
	transform: translateY(0.75rem);
	transition: opacity 0.25s ease, transform 0.25s ease;
	box-shadow: 0 16px 34px rgba(21, 25, 35, 0.28);
}

.hanel-cart__toast.is-in {
	opacity: 1;
	transform: translateY(0);
}

.hanel-cart__toast.is-error {
	background: rgba(122, 38, 30, 0.96);
}

/* پیام‌های دارای دکمه، عرض ثابت می‌گیرند تا دکمه به انتها بچسبد */
.hanel-cart__toast:has(.hanel-cart__toast-undo) {
	width: 100%;
}

.hanel-cart__toast-copy {
	display: -webkit-box;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow-wrap: anywhere;
}

.hanel-cart__toast-undo {
	flex: none;
	min-height: 2.15rem;
	padding: 0.35rem 0.95rem;
	border: 0;
	border-radius: 999px;
	background: var(--hanel-c-gold);
	color: var(--hanel-c-ink);
	font-family: inherit;
	font-size: 0.76rem;
	font-weight: 850;
	cursor: pointer;
	transition: filter 0.18s ease;
}

.hanel-cart__toast-undo:hover {
	filter: brightness(1.08);
}

/* ===================== */
/*        رسپانسیو       */
/* ===================== */
@media (max-width: 1080px) {
	.hanel-cart__layout {
		grid-template-columns: minmax(0, 1fr) 19.5rem;
	}
}

@media (max-width: 980px) {
	.hanel-cart__layout {
		display: flex;
		flex-direction: column;
		/* بدون این، align-items: start حالت گرید ستون‌ها را جمع می‌کند */
		align-items: stretch;
		gap: 1.1rem;
	}

	.hanel-cart__aside {
		position: static;
		width: 100%;
		order: 2;
	}

	.hanel-cart__main {
		width: 100%;
		order: 1;
	}

	.hanel-cart__summary {
		box-shadow: none;
	}

	/* نوار شناور پرداخت فقط در حالت فشرده */
	.hanel-cart__bar {
		display: block;
	}

	.hanel-cart {
		padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
	}

	.hanel-cart__toasts {
		inset-block-end: calc(5.4rem + env(safe-area-inset-bottom, 0px));
	}
}

/* —— تبلت: خلاصه سفارش دو ستونه می‌شود —— */
@media (min-width: 701px) and (max-width: 980px) {
	.hanel-cart__summary {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
		gap: 1rem 1.5rem;
		align-items: start;
		padding: 1.25rem 1.35rem 1.35rem;
	}

	.hanel-cart__summary-head,
	.hanel-cart__trust {
		grid-column: 1 / -1;
	}

	.hanel-cart__summary-main,
	.hanel-cart__summary-side {
		display: flex;
		flex-direction: column;
		gap: 0.9rem;
		min-width: 0;
	}

	.hanel-cart__coupon {
		padding-top: 0;
		border-top: 0;
	}

	.hanel-cart__trust {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.5rem 1.5rem;
	}
}

@media (max-width: 780px) {
	.hanel-cart__steps {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-inline: calc(var(--hanel-container-pad) * -1);
		padding-inline: var(--hanel-container-pad);
		overflow-x: auto;
		scrollbar-width: none;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		mask-image: linear-gradient(to right, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
	}

	.hanel-cart__steps::-webkit-scrollbar {
		display: none;
	}

	.hanel-cart__step {
		flex: 0 0 auto;
		max-width: none;
		scroll-snap-align: center;
	}

	.hanel-cart__cross-grid,
	.hanel-cart--empty .hanel-cart__cross-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.hanel-cart__bar {
		--hanel-cart-fab-slot: 4.45rem;
	}

	.hanel-cart__item {
		gap: 0.7rem;
		padding: 0.7rem;
		border-radius: 1.15rem;
	}

	.hanel-cart__item-media {
		width: 5rem;
		border-radius: 0.85rem;
	}

	.hanel-cart__item-name {
		font-size: 0.9rem;
	}

	/* تعداد و مبلغ در یک ردیف، قیمت واحد در ردیف دوم */
	.hanel-cart__item-foot {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 0.35rem 0.6rem;
	}

	.hanel-cart__item-qty {
		display: contents;
	}

	.hanel-cart__qty,
	.hanel-cart__qty-fixed {
		grid-area: 1 / 1;
	}

	.hanel-cart__item-price {
		grid-area: 1 / 2;
		align-items: flex-end;
	}

	.hanel-cart__item-unit {
		grid-area: 2 / 1 / 3 / -1;
	}

	.hanel-cart__item-total {
		font-size: 0.94rem;
	}

	.hanel-cart__toolbar .hanel-cart__ghost {
		flex: 1;
		min-width: 0;
	}

	.hanel-cart__summary {
		padding: 1rem 0.9rem 1.1rem;
		border-radius: 1.35rem;
	}

	.hanel-cart__ship {
		gap: 0.7rem;
		padding: 0.85rem 0.9rem;
		border-radius: 1.15rem;
	}

	.hanel-cart__ship-icon {
		width: 2.4rem;
		height: 2.4rem;
	}

	.hanel-cart__empty-actions .hanel-cart__pay,
	.hanel-cart__empty-actions .hanel-cart__ghost {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 460px) {
	.hanel-cart__hero {
		padding-block: clamp(1.6rem, 6vw, 2.4rem) 1.1rem;
	}

	.hanel-cart__title {
		font-size: clamp(1.25rem, 6.5vw, 1.7rem);
	}

	.hanel-cart__subtitle {
		font-size: 0.86rem;
	}

	.hanel-cart__eyebrow {
		font-size: 0.68rem;
		letter-spacing: 0.12em;
	}

	.hanel-cart__item {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.hanel-cart__item-media {
		width: 4.4rem;
	}

	.hanel-cart__item-tags {
		gap: 0.3rem;
	}

	.hanel-cart__chip {
		font-size: 0.64rem;
	}

	.hanel-cart__item-unit {
		width: 100%;
		font-size: 0.7rem;
	}

	.hanel-cart__cross {
		padding: 1rem 0.85rem 1.1rem;
		border-radius: 1.35rem;
	}

	.hanel-cart__cross-grid {
		gap: 0.6rem;
	}

	.hanel-cart__bar {
		--hanel-cart-fab-slot: 4.15rem;

		inset-inline: 0.55rem;
		inset-block-end: max(0.65rem, env(safe-area-inset-bottom));
	}

	.hanel-cart__bar-inner {
		min-height: 3.15rem;
		gap: 0.5rem;
		padding-inline: 0.8rem 0.35rem;
		border-radius: 1.15rem;
	}

	.hanel-cart__bar-copy span {
		font-size: 0.64rem;
	}

	.hanel-cart__bar-copy strong {
		font-size: 0.9rem;
	}

	.hanel-cart__bar-pay {
		min-height: 2.5rem;
		padding-inline: 0.9rem;
		font-size: 0.8rem;
	}

	.hanel-cart__toast {
		width: 100%;
		gap: 0.55rem;
		padding: 0.45rem;
		padding-inline-start: 0.85rem;
		border-radius: 1.15rem;
		font-size: 0.76rem;
	}

	.hanel-cart__toast-undo {
		min-height: 2rem;
		padding: 0.3rem 0.75rem;
		font-size: 0.72rem;
	}
}

/* —— دستگاه‌های لمسی: هدف‌های بزرگ‌تر، بدون افکت شناور —— */
@media (hover: none) and (pointer: coarse) {
	.hanel-cart__qty-btn {
		width: 2.25rem;
		height: 2.25rem;
	}

	.hanel-cart__qty-input {
		width: 2.9rem;
		font-size: 0.94rem;
	}

	.hanel-cart__item-remove {
		width: 2.35rem;
		height: 2.35rem;
	}

	.hanel-cart__coupon-drop {
		width: 1.6rem;
		height: 1.6rem;
	}

	.hanel-cart__item:hover {
		border-color: var(--hanel-c-line);
		box-shadow: none;
	}

	.hanel-cart__cross-card:hover,
	.hanel-cart__pay:hover,
	.hanel-cart__ghost:hover,
	a.hanel-cart__step-inner:hover {
		transform: none;
	}
}

/* —— دسترس‌پذیری —— */
.hanel-cart a:focus-visible,
.hanel-cart button:focus-visible,
.hanel-cart input:focus-visible {
	outline: 2px solid var(--hanel-c-gold);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.hanel-cart *,
	.hanel-cart *::before,
	.hanel-cart *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
