/**
 * فروشگاه اختصاصی هانل
 *
 * ساختار: سربرگ، ستون فیلتر، نوار ابزار، شبکه محصول، نمای سریع،
 * کشوی علاقه‌مندی و مقایسه، بازدید اخیر.
 */

.hanel-shop {
	--hanel-shop-ink: #151923;
	--hanel-shop-soft: #4a5061;
	--hanel-shop-muted: #8b90a0;
	--hanel-shop-gold: #c5a059;
	--hanel-shop-gold-hi: #e8c979;
	--hanel-shop-line: rgba(21, 25, 35, 0.09);
	--hanel-shop-line-soft: rgba(21, 25, 35, 0.05);
	--hanel-shop-surface: #ffffff;
	--hanel-shop-tint: #faf8f5;
	--hanel-shop-radius: 1.25rem;
	--hanel-shop-cols-desk: 3;
	/* مقدار دسکتاپ از اینلاین می‌آید؛ رسپانسیو همین متغیر نمایش را عوض می‌کند */
	--hanel-shop-columns: var(--hanel-shop-cols-desk);
	--hanel-shop-sticky: 5.5rem;

	position: relative;
	padding-bottom: clamp(3rem, 8vw, 6rem);
	overflow-x: clip;
	background: var(--hanel-shop-surface);
	color: var(--hanel-shop-ink);
}

.hanel-shop [hidden] {
	display: none !important;
}

.hanel-shop-main {
	overflow-x: clip;
}

/* ===================== */
/*        سربرگ          */
/* ===================== */
.hanel-shop__hero {
	position: relative;
	padding-block: clamp(2.25rem, 6vw, 3.75rem) clamp(1.75rem, 4vw, 2.75rem);
	background: linear-gradient(180deg, var(--hanel-shop-tint) 0%, var(--hanel-shop-surface) 100%);
	overflow: hidden;
}

.hanel-shop__hero--image {
	/* سربرگ تصویری زیر هدر چسبان می‌رود تا درز دیده نشود */
	margin-top: calc(-1 * var(--hanel-header-h, 4.5rem));
	padding-block: calc(var(--hanel-header-h, 4.5rem) + clamp(2rem, 6vw, 3.5rem)) clamp(2.25rem, 5vw, 3.5rem);
	background: var(--hanel-shop-ink);
}

.hanel-shop__hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	animation: hanel-shop-zoom 22s ease-in-out infinite alternate;
}

.hanel-shop__hero-veil {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 90% at 50% 10%, rgba(10, 12, 18, 0.18) 0%, rgba(10, 12, 18, 0.72) 100%),
		linear-gradient(180deg, rgba(10, 12, 18, var(--hanel-shop-hero-overlay, 0.6)) 0%, rgba(10, 12, 18, 0.85) 100%);
}

.hanel-shop__hero--image::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 5rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--hanel-shop-surface) 100%);
}

@keyframes hanel-shop-zoom {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.07);
	}
}

.hanel-shop__hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	text-align: center;
}

.hanel-shop__crumbs {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.78rem;
	color: var(--hanel-shop-muted);
}

.hanel-shop__crumbs a {
	color: inherit;
	text-decoration: none;
	transition: color var(--hanel-transition-fast);
}

.hanel-shop__crumbs a:hover {
	color: var(--hanel-shop-gold);
}

.hanel-shop__crumbs span[aria-current] {
	color: var(--hanel-shop-soft);
	font-weight: 600;
}

.hanel-shop__hero--image .hanel-shop__crumbs,
.hanel-shop__hero--image .hanel-shop__crumbs span[aria-current] {
	color: rgba(255, 255, 255, 0.7);
}

.hanel-shop__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--hanel-shop-gold);
}

.hanel-shop__eyebrow-line {
	width: 1.75rem;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--hanel-shop-gold));
}

.hanel-shop__eyebrow-line:last-child {
	background: linear-gradient(270deg, transparent, var(--hanel-shop-gold));
}

.hanel-shop__title {
	margin: 0;
	font-size: clamp(1.65rem, 4.5vw, 2.7rem);
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.hanel-shop__hero--image .hanel-shop__title {
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hanel-shop__subtitle {
	max-width: 44ch;
	margin: 0;
	font-size: clamp(0.86rem, 2vw, 0.98rem);
	line-height: 1.85;
	color: var(--hanel-shop-soft);
}

.hanel-shop__hero--image .hanel-shop__subtitle {
	color: rgba(255, 255, 255, 0.78);
}

/* ناوبری سریع دسته‌ها */
.hanel-shop__quicknav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.45rem;
	margin-top: 0.5rem;
}

.hanel-shop__quicknav-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: var(--hanel-shop-surface);
	color: var(--hanel-shop-soft);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color var(--hanel-transition-fast), color var(--hanel-transition-fast),
		background var(--hanel-transition-fast), transform var(--hanel-transition-fast);
}

.hanel-shop__quicknav-item span {
	padding-inline: 0.35rem;
	border-radius: 999px;
	background: var(--hanel-shop-tint);
	font-size: 0.7rem;
	color: var(--hanel-shop-muted);
}

.hanel-shop__quicknav-item:hover {
	border-color: var(--hanel-shop-gold);
	color: var(--hanel-shop-ink);
	transform: translateY(-1px);
}

.hanel-shop__quicknav-item.is-active {
	border-color: var(--hanel-shop-ink);
	background: var(--hanel-shop-ink);
	color: #fff;
}

.hanel-shop__quicknav-item.is-active span {
	background: rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.85);
}

.hanel-shop__hero--image .hanel-shop__quicknav-item {
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(8px);
}

.hanel-shop__hero--image .hanel-shop__quicknav-item.is-active {
	background: #fff;
	color: var(--hanel-shop-ink);
}

.hanel-shop__notices:has(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
	padding-top: clamp(1rem, 3vw, 1.5rem);
}

.hanel-shop__notices .woocommerce-message,
.hanel-shop__notices .woocommerce-info,
.hanel-shop__notices .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.9rem;
	margin: 0 0 0.75rem;
	padding: 0.85rem 1.1rem;
	border: 1px solid var(--hanel-shop-line);
	border-inline-start: 3px solid var(--hanel-shop-gold, #c5a059);
	border-radius: 1rem;
	background: var(--hanel-shop-tint);
	color: var(--hanel-shop-ink);
	font-size: 0.85rem;
	line-height: 1.7;
	list-style: none;
}

.hanel-shop__notices .woocommerce-message::before,
.hanel-shop__notices .woocommerce-info::before,
.hanel-shop__notices .woocommerce-error::before {
	content: none !important;
	display: none !important;
}

.hanel-shop__notices .woocommerce-error {
	border-color: rgba(192, 57, 43, 0.25);
	border-inline-start-color: #c0392b;
	background: rgba(192, 57, 43, 0.08);
}

.hanel-shop__notices .woocommerce-message {
	border-color: rgba(31, 138, 82, 0.25);
	border-inline-start-color: #1f8a52;
	background: rgba(31, 138, 82, 0.08);
}

.hanel-shop__notices .woocommerce-message .button,
.hanel-shop__notices .woocommerce-info .button,
.hanel-shop__notices .woocommerce-error .button,
.hanel-shop__notices .woocommerce-message .wc-forward,
.hanel-shop__notices .woocommerce-info .wc-forward {
	float: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	margin-inline-start: auto;
	padding: 0.4rem 1rem;
	border: 0;
	border-radius: 999px;
	background: var(--hanel-shop-gold, #c5a059);
	color: #151923;
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
}

.hanel-shop__notices .woocommerce-message .button::before,
.hanel-shop__notices .woocommerce-message .button::after,
.hanel-shop__notices .woocommerce-info .button::before,
.hanel-shop__notices .woocommerce-info .button::after {
	content: none !important;
	display: none !important;
}

/* ===================== */
/*        چیدمان         */
/* ===================== */
.hanel-shop__layout {
	display: grid;
	grid-template-columns: 16.5rem minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: start;
	padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.hanel-shop--full .hanel-shop__layout {
	grid-template-columns: minmax(0, 1fr);
}

.hanel-shop__content {
	min-width: 0;
}

/* ===================== */
/*      ستون فیلتر       */
/* ===================== */
.hanel-shop__aside {
	position: sticky;
	top: var(--hanel-shop-sticky);
}

.hanel-shop__aside-scrim {
	display: none;
}

.hanel-shop__panel {
	display: flex;
	flex-direction: column;
	max-height: calc(100svh - var(--hanel-shop-sticky) - 1.5rem);
	border: 1px solid var(--hanel-shop-line);
	border-radius: var(--hanel-shop-radius);
	background: var(--hanel-shop-surface);
	overflow: hidden;
}

.hanel-shop__panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.95rem 1.1rem;
	border-bottom: 1px solid var(--hanel-shop-line-soft);
}

.hanel-shop__panel-title {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	font-weight: 800;
}

.hanel-shop__panel-title .hanel-icon {
	color: var(--hanel-shop-gold);
}

.hanel-shop__panel-close {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 50%;
	background: var(--hanel-shop-tint);
	color: var(--hanel-shop-soft);
	cursor: pointer;
}

.hanel-shop__panel-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0.35rem 1.1rem 0.75rem;
}

.hanel-shop__panel-foot {
	flex: 0 0 auto;
	display: flex;
	gap: 0.5rem;
	padding: 0.85rem 1.1rem;
	border-top: 1px solid var(--hanel-shop-line-soft);
	background: var(--hanel-shop-surface);
}

.hanel-shop__reset {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.6rem;
	padding-inline: 0.85rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: transparent;
	color: var(--hanel-shop-soft);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color var(--hanel-transition-fast), color var(--hanel-transition-fast);
}

.hanel-shop__reset:hover {
	border-color: var(--hanel-shop-ink);
	color: var(--hanel-shop-ink);
}

.hanel-shop__apply {
	display: none;
}

/* گروه فیلتر */
.hanel-shop__group {
	padding-block: 0.9rem;
	border-bottom: 1px solid var(--hanel-shop-line-soft);
}

.hanel-shop__group:last-child {
	border-bottom: 0;
}

.hanel-shop__group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hanel-shop-ink);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
}

.hanel-shop__group-head .hanel-icon {
	color: var(--hanel-shop-muted);
	transition: transform var(--hanel-transition-base);
}

.hanel-shop__group-head[aria-expanded='false'] .hanel-icon {
	transform: rotate(-90deg);
}

.hanel-shop__group-body {
	padding-top: 0.75rem;
}

.hanel-shop__group-head[aria-expanded='false'] + .hanel-shop__group-body {
	display: none;
}

/* جستجو */
.hanel-shop__search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.85rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: var(--hanel-shop-tint);
	transition: border-color var(--hanel-transition-fast), background var(--hanel-transition-fast);
}

.hanel-shop__search:focus-within {
	border-color: var(--hanel-shop-gold);
	background: var(--hanel-shop-surface);
}

.hanel-shop__search .hanel-icon {
	flex: 0 0 auto;
	color: var(--hanel-shop-muted);
}

.hanel-shop__search input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--hanel-shop-ink);
	font-family: inherit;
	font-size: 0.85rem;
}

.hanel-shop__search input:focus {
	outline: none;
}

.hanel-shop__search input::-webkit-search-cancel-button {
	display: none;
}

.hanel-shop__search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.4rem;
	height: 1.4rem;
	border: 0;
	border-radius: 50%;
	background: var(--hanel-shop-line);
	color: var(--hanel-shop-soft);
	cursor: pointer;
}

/* چک‌باکس */
.hanel-shop__checks {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	max-height: 15rem;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.hanel-shop__check {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.4rem 0.15rem;
	border-radius: 0.6rem;
	cursor: pointer;
	transition: background var(--hanel-transition-fast);
}

.hanel-shop__check:hover {
	background: var(--hanel-shop-tint);
}

.hanel-shop__check input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hanel-shop__check-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	border: 1.5px solid var(--hanel-shop-line);
	border-radius: 0.4rem;
	background: var(--hanel-shop-surface);
	color: transparent;
	transition: border-color var(--hanel-transition-fast), background var(--hanel-transition-fast),
		color var(--hanel-transition-fast);
}

.hanel-shop__check-box .hanel-icon {
	width: 0.75rem;
	height: 0.75rem;
	stroke-width: 3.25;
}

.hanel-shop__check input:checked + .hanel-shop__check-box {
	border-color: var(--hanel-shop-ink);
	background: var(--hanel-shop-ink);
	color: #fff;
}

.hanel-shop__check input:focus-visible + .hanel-shop__check-box {
	outline: 2px solid var(--hanel-shop-gold);
	outline-offset: 2px;
}

.hanel-shop__check-label {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.83rem;
	color: var(--hanel-shop-soft);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hanel-shop__check input:checked ~ .hanel-shop__check-label {
	color: var(--hanel-shop-ink);
	font-weight: 700;
}

.hanel-shop__check-count {
	flex: 0 0 auto;
	font-size: 0.72rem;
	color: var(--hanel-shop-muted);
}

/* محدوده قیمت */
.hanel-shop__range {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.hanel-shop__range-track {
	position: relative;
	height: 1.5rem;
}

.hanel-shop__range-track::before {
	content: '';
	position: absolute;
	inset-inline: 0;
	top: 50%;
	height: 4px;
	transform: translateY(-50%);
	border-radius: 999px;
	background: var(--hanel-shop-line);
}

.hanel-shop__range-fill {
	position: absolute;
	top: 50%;
	height: 4px;
	transform: translateY(-50%);
	border-radius: 999px;
	background: linear-gradient(90deg, var(--hanel-shop-gold), var(--hanel-shop-gold-hi));
}

.hanel-shop__range-input {
	position: absolute;
	inset-inline: 0;
	top: 0;
	width: 100%;
	height: 1.5rem;
	margin: 0;
	background: none;
	appearance: none;
	pointer-events: none;
}

.hanel-shop__range-input::-webkit-slider-thumb {
	width: 1.15rem;
	height: 1.15rem;
	border: 2px solid var(--hanel-shop-gold);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(21, 25, 35, 0.18);
	cursor: grab;
	appearance: none;
	pointer-events: auto;
}

.hanel-shop__range-input::-moz-range-thumb {
	width: 1.15rem;
	height: 1.15rem;
	border: 2px solid var(--hanel-shop-gold);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(21, 25, 35, 0.18);
	cursor: grab;
	pointer-events: auto;
}

.hanel-shop__range-input::-moz-range-track {
	background: transparent;
}

.hanel-shop__range-values {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.hanel-shop__range-value {
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 0.6rem;
	background: var(--hanel-shop-tint);
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--hanel-shop-ink);
	white-space: nowrap;
}

.hanel-shop__range-sep {
	color: var(--hanel-shop-muted);
}

/* تراشه ویژگی */
.hanel-shop__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.hanel-shop__chip {
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: var(--hanel-shop-surface);
	color: var(--hanel-shop-soft);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color var(--hanel-transition-fast), background var(--hanel-transition-fast),
		color var(--hanel-transition-fast);
}

.hanel-shop__chip:hover {
	border-color: var(--hanel-shop-gold);
	color: var(--hanel-shop-ink);
}

.hanel-shop__chip.is-active {
	border-color: var(--hanel-shop-ink);
	background: var(--hanel-shop-ink);
	color: #fff;
}

/* امتیاز */
.hanel-shop__ratings {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.hanel-shop__rating-btn {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.4rem 0.5rem;
	border: 1px solid transparent;
	border-radius: 0.7rem;
	background: transparent;
	color: var(--hanel-shop-soft);
	font-family: inherit;
	font-size: 0.8rem;
	cursor: pointer;
	transition: background var(--hanel-transition-fast), border-color var(--hanel-transition-fast);
}

.hanel-shop__rating-btn:hover {
	background: var(--hanel-shop-tint);
}

.hanel-shop__rating-btn.is-active {
	border-color: var(--hanel-shop-gold);
	background: rgba(197, 160, 89, 0.08);
	color: var(--hanel-shop-ink);
	font-weight: 700;
}

.hanel-shop__rating-stars,
.hanel-shop-card__stars {
	position: relative;
	flex: 0 0 auto;
	width: 5rem;
	height: 0.9rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23d8dae1'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
	background-size: 1rem 1rem;
	background-repeat: repeat-x;
}

.hanel-shop__rating-fill,
.hanel-shop-card__stars-fill {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23c5a059'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
	background-size: 1rem 1rem;
	background-repeat: repeat-x;
}

/* کلید */
.hanel-shop__switches {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.hanel-shop__switch {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
}

.hanel-shop__switch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hanel-shop__switch-track {
	position: relative;
	flex: 0 0 auto;
	width: 2.35rem;
	height: 1.35rem;
	border-radius: 999px;
	background: var(--hanel-shop-line);
	transition: background var(--hanel-transition-base);
}

.hanel-shop__switch-dot {
	position: absolute;
	top: 0.17rem;
	inset-inline-start: 0.17rem;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(21, 25, 35, 0.22);
	transition: transform var(--hanel-transition-base);
}

.hanel-shop__switch input:checked + .hanel-shop__switch-track {
	background: var(--hanel-shop-ink);
}

.hanel-shop__switch input:checked + .hanel-shop__switch-track .hanel-shop__switch-dot {
	transform: translateX(-1rem);
}

.hanel-shop__switch-label {
	font-size: 0.83rem;
	color: var(--hanel-shop-soft);
}

.hanel-shop__switch input:checked ~ .hanel-shop__switch-label {
	color: var(--hanel-shop-ink);
	font-weight: 700;
}

/* ===================== */
/*      نوار ابزار       */
/* ===================== */
.hanel-shop__toolbar {
	position: sticky;
	top: calc(var(--hanel-header-h, 4.5rem) + 0.55rem);
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.hanel-shop__toolbar-start,
.hanel-shop__toolbar-end {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-width: 0;
}

.hanel-shop__filter-btn {
	display: none;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.35rem;
	padding-inline: 0.9rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: var(--hanel-shop-surface);
	color: var(--hanel-shop-ink);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
}

.hanel-shop__filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.15rem;
	height: 1.15rem;
	padding-inline: 0.25rem;
	border-radius: 999px;
	background: var(--hanel-shop-gold);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
}

.hanel-shop__count {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--hanel-shop-soft);
	white-space: nowrap;
}

.hanel-shop__sort {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: var(--hanel-shop-surface);
	cursor: pointer;
}

.hanel-shop__sort > .hanel-icon:first-child {
	color: var(--hanel-shop-gold);
}

.hanel-shop__sort select {
	border: 0;
	background: transparent;
	color: var(--hanel-shop-ink);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
	appearance: none;
	padding-inline-end: 0.25rem;
}

.hanel-shop__sort select:focus {
	outline: none;
}

.hanel-shop__sort-arrow {
	color: var(--hanel-shop-muted);
	pointer-events: none;
}

.hanel-shop__views {
	display: inline-flex;
	gap: 0.15rem;
	padding: 0.2rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: var(--hanel-shop-tint);
}

.hanel-shop__view {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.95rem;
	height: 1.95rem;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--hanel-shop-muted);
	cursor: pointer;
	transition: background var(--hanel-transition-fast), color var(--hanel-transition-fast);
}

.hanel-shop__view.is-active {
	background: var(--hanel-shop-surface);
	color: var(--hanel-shop-ink);
	box-shadow: 0 1px 4px rgba(21, 25, 35, 0.1);
}

/* ===================== */
/*   فیلترهای فعال       */
/* ===================== */
.hanel-shop__active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 1rem;
}

.hanel-shop__active-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.4rem 0.35rem 0.75rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: var(--hanel-shop-tint);
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--hanel-shop-soft);
}

.hanel-shop__active-chip button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.15rem;
	height: 1.15rem;
	border: 0;
	border-radius: 50%;
	background: var(--hanel-shop-line);
	color: var(--hanel-shop-ink);
	cursor: pointer;
	transition: background var(--hanel-transition-fast), color var(--hanel-transition-fast);
}

.hanel-shop__active-chip button:hover {
	background: var(--hanel-shop-ink);
	color: #fff;
}

.hanel-shop__active-clear {
	padding: 0.35rem 0.7rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--hanel-shop-gold);
	font-family: inherit;
	font-size: 0.76rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ===================== */
/*      شبکه محصول       */
/* ===================== */
.hanel-shop__results {
	position: relative;
	min-height: 12rem;
}

.hanel-shop__grid {
	display: grid;
	grid-template-columns: repeat(var(--hanel-shop-columns, 3), minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.35rem);
	margin: 0;
	padding: 0;
	list-style: none;
	transition: opacity var(--hanel-transition-base);
}

/* جلوگیری از عرض/فلوت پیش‌فرض ووکامرس روی لیست محصول */
.woocommerce .hanel-shop__grid,
.woocommerce-page .hanel-shop__grid,
.hanel-shop__grid {
	width: 100%;
	float: none;
}

.woocommerce .hanel-shop__grid > li,
.woocommerce-page .hanel-shop__grid > li,
.hanel-shop__grid > .hanel-shop-card {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	clear: none;
}

.hanel-shop__results.is-loading .hanel-shop__grid {
	opacity: 0.35;
	pointer-events: none;
}

/* ===================== */
/*      کارت محصول       */
/* ===================== */
.hanel-shop-card {
	min-width: 0;
}

.hanel-shop-card__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--hanel-shop-line);
	border-radius: var(--hanel-shop-radius);
	background: var(--hanel-shop-surface);
	overflow: hidden;
	transition: border-color var(--hanel-transition-base), transform var(--hanel-transition-base),
		box-shadow var(--hanel-transition-base);
}

.hanel-shop-card__inner:hover {
	border-color: rgba(197, 160, 89, 0.55);
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(21, 25, 35, 0.1);
}

.hanel-shop-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--hanel-shop-tint);
	overflow: hidden;
}

.hanel-shop-card__link {
	display: block;
	width: 100%;
	height: 100%;
}

.hanel-shop-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity var(--hanel-transition-base);
}

.hanel-shop-card__image--hover {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.hanel-shop-card__inner:hover .hanel-shop-card__image {
	transform: scale(1.05);
}

.hanel-shop-card__inner:hover .hanel-shop-card__image--hover {
	opacity: 1;
}

.hanel-shop-card__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--hanel-shop-muted);
}

.hanel-shop-card__fallback .hanel-icon {
	width: 2.25rem;
	height: 2.25rem;
}

/* نشان‌ها */
.hanel-shop-card__badges {
	position: absolute;
	top: 0.6rem;
	inset-inline-start: 0.6rem;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	pointer-events: none;
}

.hanel-shop-card__badge {
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1.5;
	color: #fff;
	backdrop-filter: blur(6px);
}

.hanel-shop-card__badge--sale {
	background: linear-gradient(135deg, #c0392b, #e05a49);
}

.hanel-shop-card__badge--new {
	background: linear-gradient(135deg, var(--hanel-shop-gold), var(--hanel-shop-gold-hi));
	color: #2a2000;
}

.hanel-shop-card__badge--out {
	background: rgba(21, 25, 35, 0.75);
}

.hanel-shop-card__low {
	position: absolute;
	inset-inline: 0.6rem;
	bottom: 0.6rem;
	padding: 0.3rem 0.6rem;
	border-radius: 0.6rem;
	background: rgba(192, 57, 43, 0.9);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	text-align: center;
	backdrop-filter: blur(6px);
}

/* ابزارهای شناور کارت */
.hanel-shop-card__tools {
	position: absolute;
	top: 0.6rem;
	inset-inline-end: 0.6rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	opacity: 0;
	transform: translateX(-0.5rem);
	transition: opacity var(--hanel-transition-base), transform var(--hanel-transition-base);
}

.hanel-shop-card__inner:hover .hanel-shop-card__tools,
.hanel-shop-card__inner:focus-within .hanel-shop-card__tools {
	opacity: 1;
	transform: translateX(0);
}

.hanel-shop-card__tool {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--hanel-shop-soft);
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: background var(--hanel-transition-fast), color var(--hanel-transition-fast),
		transform var(--hanel-transition-fast);
}

.hanel-shop-card__tool:hover {
	background: var(--hanel-shop-ink);
	color: #fff;
	transform: scale(1.08);
}

.hanel-shop-card__tool.is-active {
	background: var(--hanel-shop-gold);
	border-color: var(--hanel-shop-gold);
	color: #fff;
}

.hanel-shop-card__tool.is-active[data-hanel-shop-wish] .hanel-icon {
	fill: currentColor;
}

/* بدنه کارت */
.hanel-shop-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.85rem 0.95rem 1rem;
}

.hanel-shop-card__cat {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--hanel-shop-gold);
}

.hanel-shop-card__title {
	margin: 0;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.6;
}

.hanel-shop-card__title a {
	color: inherit;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color var(--hanel-transition-fast);
}

.hanel-shop-card__title a:hover {
	color: var(--hanel-shop-gold);
}

.hanel-shop-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.74rem;
	color: var(--hanel-shop-muted);
}

.hanel-shop-card__stars {
	width: 4.4rem;
	height: 0.85rem;
	background-size: 0.88rem 0.88rem;
}

.hanel-shop-card__stars-fill {
	background-size: 0.88rem 0.88rem;
}

.hanel-shop-card__rating-value {
	font-weight: 700;
	color: var(--hanel-shop-soft);
}

.hanel-shop-card__excerpt {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.8;
	color: var(--hanel-shop-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hanel-shop-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.6rem;
}

.hanel-shop-card__price {
	min-width: 0;
	font-size: 0.92rem;
	font-weight: 800;
	color: var(--hanel-shop-ink);
	line-height: 1.5;
}

.hanel-shop-card__price .woocommerce-Price-amount,
.hanel-shop-card__price .amount {
	white-space: nowrap;
}

.hanel-shop-card__price del {
	display: block;
	font-size: 0.74rem;
	font-weight: 500;
	color: var(--hanel-shop-muted);
}

.hanel-shop-card__price ins {
	text-decoration: none;
}

.hanel-shop-card__cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	flex: 0 0 auto;
	min-height: 2.3rem;
	padding-inline: 0.8rem;
	border: 0;
	border-radius: 999px;
	background: var(--hanel-shop-ink);
	color: #fff;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--hanel-transition-fast), opacity var(--hanel-transition-fast);
}

.hanel-shop-card__cart:hover {
	background: #22283a;
}

.hanel-shop-card__cart--disabled {
	background: var(--hanel-shop-tint);
	color: var(--hanel-shop-muted);
	cursor: not-allowed;
}

.hanel-shop-card__cart.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

.hanel-shop-card__cart.is-done {
	background: #1f8a52;
}

/* نمای فهرست */
[data-hanel-shop-view='list'] .hanel-shop__grid {
	grid-template-columns: minmax(0, 1fr);
}

[data-hanel-shop-view='list'] .hanel-shop-card__inner {
	flex-direction: row;
	align-items: stretch;
}

[data-hanel-shop-view='list'] .hanel-shop-card__media {
	flex: 0 0 12rem;
	aspect-ratio: auto;
}

[data-hanel-shop-view='list'] .hanel-shop-card__body {
	padding: 1.1rem 1.25rem;
}

[data-hanel-shop-view='list'] .hanel-shop-card__title {
	font-size: 1.05rem;
}

[data-hanel-shop-view='list'] .hanel-shop-card__excerpt {
	-webkit-line-clamp: 3;
}

[data-hanel-shop-view='list'] .hanel-shop-card__tools {
	opacity: 1;
	transform: none;
}

/* ===================== */
/*       اسکلتون         */
/* ===================== */
.hanel-shop__skeleton {
	display: grid;
	grid-template-columns: repeat(var(--hanel-shop-columns, 3), minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.35rem);
	margin-top: clamp(0.75rem, 2vw, 1.35rem);
}

.hanel-shop__skeleton-card {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 0.75rem;
	border: 1px solid var(--hanel-shop-line-soft);
	border-radius: var(--hanel-shop-radius);
}

.hanel-shop__skeleton-media,
.hanel-shop__skeleton-line {
	display: block;
	border-radius: 0.65rem;
	background: linear-gradient(90deg, #f1f0ee 25%, #f8f7f5 50%, #f1f0ee 75%);
	background-size: 200% 100%;
	animation: hanel-shop-shimmer 1.35s ease-in-out infinite;
}

.hanel-shop__skeleton-media {
	aspect-ratio: 1 / 1;
}

.hanel-shop__skeleton-line {
	height: 0.75rem;
}

.hanel-shop__skeleton-line--short {
	width: 55%;
}

@keyframes hanel-shop-shimmer {
	from {
		background-position: 200% 0;
	}

	to {
		background-position: -200% 0;
	}
}

/* ===================== */
/*      حالت خالی        */
/* ===================== */
.hanel-shop__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	padding: clamp(2.5rem, 8vw, 4.5rem) 1.5rem;
	text-align: center;
}

.hanel-shop__empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 0.4rem;
	border-radius: 50%;
	background: var(--hanel-shop-tint);
	color: var(--hanel-shop-gold);
}

.hanel-shop__empty-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
}

.hanel-shop__empty-text {
	max-width: 40ch;
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.85;
	color: var(--hanel-shop-muted);
}

.hanel-shop__empty-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.5rem;
	min-height: 2.6rem;
	padding-inline: 1.2rem;
	border: 0;
	border-radius: 999px;
	background: var(--hanel-shop-ink);
	color: #fff;
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
}

/* ===================== */
/*       صفحه‌بندی        */
/* ===================== */
.hanel-shop__pager {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.hanel-shop__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding-inline: 1.75rem;
	border: 1px solid var(--hanel-shop-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--hanel-shop-ink);
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--hanel-transition-base), color var(--hanel-transition-base);
}

.hanel-shop__more:hover {
	background: var(--hanel-shop-ink);
	color: #fff;
}

.hanel-shop__more.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

.hanel-shop__pager-note {
	margin: 0;
	font-size: 0.78rem;
	color: var(--hanel-shop-muted);
}

/* ===================== */
/*     بازدید اخیر       */
/* ===================== */
.hanel-shop__recent {
	margin-top: clamp(2.5rem, 6vw, 4rem);
	padding-top: clamp(1.5rem, 4vw, 2rem);
	border-top: 1px solid var(--hanel-shop-line-soft);
}

.hanel-shop__recent-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.hanel-shop__recent-title {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.95rem;
	font-weight: 800;
}

.hanel-shop__recent-title .hanel-icon {
	color: var(--hanel-shop-gold);
}

.hanel-shop__recent-clear {
	border: 0;
	background: transparent;
	color: var(--hanel-shop-muted);
	font-family: inherit;
	font-size: 0.78rem;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hanel-shop__recent-strip {
	display: flex;
	gap: 0.75rem;
	padding-bottom: 0.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.hanel-shop__recent-item {
	flex: 0 0 auto;
	width: 9.5rem;
	scroll-snap-align: start;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 1rem;
	background: var(--hanel-shop-surface);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color var(--hanel-transition-fast), transform var(--hanel-transition-fast);
}

.hanel-shop__recent-item:hover {
	border-color: var(--hanel-shop-gold);
	transform: translateY(-2px);
}

.hanel-shop__recent-item img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--hanel-shop-tint);
}

.hanel-shop__recent-body {
	padding: 0.55rem 0.65rem 0.7rem;
}

.hanel-shop__recent-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.6;
}

.hanel-shop__recent-price {
	margin-top: 0.25rem;
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--hanel-shop-gold);
}

/* ===================== */
/*      نوار شناور       */
/* ===================== */
/*
 * سمت مقابلِ دکمه شناور می‌نشیند و دقیقاً هم‌ترازِ آن است؛
 * مقدارهای bottom عمداً با fab.css یکی است تا روی دستگاه‌های
 * دارای safe-area یکی بالاتر از دیگری نیفتد.
 */
.hanel-shop__dock {
	position: fixed;
	inset-inline-start: auto;
	inset-inline-end: max(1rem, env(safe-area-inset-right));
	bottom: max(1.15rem, env(safe-area-inset-bottom));
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.4rem;
	transition:
		opacity 0.22s ease,
		transform 0.22s ease;
}

.hanel-shop__dock-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.6rem 0.95rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--hanel-shop-ink);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(21, 25, 35, 0.12);
	backdrop-filter: blur(12px);
	transition: transform var(--hanel-transition-fast);
}

.hanel-shop__dock-btn:hover {
	transform: translateY(-2px);
}

.hanel-shop__dock-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.3rem;
	height: 1.3rem;
	padding-inline: 0.3rem;
	border-radius: 999px;
	background: var(--hanel-shop-gold);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
}

/* ===================== */
/*      نمای سریع        */
/* ===================== */
.hanel-shop-quick {
	position: fixed;
	inset: 0;
	z-index: 140;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(0.75rem, 3vw, 1.5rem);
}

.hanel-shop-quick__scrim {
	position: absolute;
	inset: 0;
	background: rgba(10, 12, 18, 0.55);
	backdrop-filter: blur(4px);
	animation: hanel-shop-fade 0.25s ease both;
}

.hanel-shop-quick__card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(56rem, 100%);
	max-height: min(90svh, 44rem);
	border: 1px solid var(--hanel-shop-line);
	border-radius: 1.5rem;
	background: var(--hanel-shop-surface);
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(10, 12, 16, 0.3);
	animation: hanel-shop-pop 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hanel-shop-quick__close {
	position: absolute;
	top: 0.85rem;
	inset-inline-end: 0.85rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.2rem;
	height: 2.2rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--hanel-shop-ink);
	cursor: pointer;
	backdrop-filter: blur(8px);
}

.hanel-shop-quick__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.hanel-shop-quick__loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 18rem;
	font-size: 0.85rem;
	color: var(--hanel-shop-muted);
}

.hanel-shop-quick__spinner {
	width: 2rem;
	height: 2rem;
	border: 2px solid var(--hanel-shop-line);
	border-top-color: var(--hanel-shop-gold);
	border-radius: 50%;
	animation: hanel-shop-spin 0.8s linear infinite;
}

@keyframes hanel-shop-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes hanel-shop-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes hanel-shop-pop {
	from {
		opacity: 0;
		transform: translateY(1.5rem) scale(0.97);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.hanel-shop-quick__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hanel-shop-quick__gallery {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.1rem;
	background: var(--hanel-shop-tint);
}

.hanel-shop-quick__stage {
	position: relative;
	border-radius: 1.1rem;
	background: var(--hanel-shop-surface);
	overflow: hidden;
}

.hanel-shop-quick__image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.hanel-shop-quick__badge {
	position: absolute;
	top: 0.7rem;
	inset-inline-start: 0.7rem;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #c0392b, #e05a49);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
}

.hanel-shop-quick__thumbs {
	display: flex;
	gap: 0.4rem;
	overflow-x: auto;
}

.hanel-shop-quick__thumb {
	flex: 0 0 auto;
	width: 3.5rem;
	height: 3.5rem;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0.75rem;
	background: var(--hanel-shop-surface);
	cursor: pointer;
	overflow: hidden;
	transition: border-color var(--hanel-transition-fast);
}

.hanel-shop-quick__thumb.is-active {
	border-color: var(--hanel-shop-gold);
}

.hanel-shop-quick__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hanel-shop-quick__info {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.hanel-shop-quick__cat {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--hanel-shop-gold);
}

.hanel-shop-quick__title {
	margin: 0;
	font-size: clamp(1.15rem, 3vw, 1.5rem);
	font-weight: 900;
	line-height: 1.45;
}

.hanel-shop-quick__price {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--hanel-shop-ink);
}

.hanel-shop-quick__price del {
	margin-inline-end: 0.5rem;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--hanel-shop-muted);
}

.hanel-shop-quick__price ins {
	text-decoration: none;
}

.hanel-shop-quick__desc {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.9;
	color: var(--hanel-shop-soft);
}

.hanel-shop-quick__specs {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0.25rem 0 0;
	padding-top: 0.75rem;
	border-top: 1px solid var(--hanel-shop-line-soft);
}

.hanel-shop-quick__spec {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	font-size: 0.8rem;
}

.hanel-shop-quick__spec dt {
	flex: 0 0 auto;
	color: var(--hanel-shop-muted);
}

.hanel-shop-quick__spec dd {
	margin: 0;
	font-weight: 700;
	color: var(--hanel-shop-ink);
}

.hanel-shop-quick__stock {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	font-weight: 700;
	color: #1f8a52;
}

.hanel-shop-quick__stock.is-out {
	color: #c0392b;
}

.hanel-shop-quick__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 0.35rem;
}

.hanel-shop-quick__stepper {
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
	flex: 0 0 auto;
	padding: 0.2rem;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 999px;
	background: var(--hanel-shop-tint);
}

.hanel-shop-quick__stepper button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border: 0;
	border-radius: 50%;
	background: var(--hanel-shop-surface);
	color: var(--hanel-shop-ink);
	cursor: pointer;
	transition: background var(--hanel-transition-fast);
}

.hanel-shop-quick__stepper button:hover {
	background: var(--hanel-shop-ink);
	color: #fff;
}

.hanel-shop-quick__stepper span {
	min-width: 1.75rem;
	font-size: 0.88rem;
	font-weight: 800;
	text-align: center;
}

.hanel-shop-quick__add {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.9rem;
	padding-inline: 1.1rem;
	border: 0;
	border-radius: 999px;
	background: var(--hanel-shop-ink);
	color: #fff;
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--hanel-transition-fast), opacity var(--hanel-transition-fast);
}

.hanel-shop-quick__add:hover {
	background: #22283a;
}

.hanel-shop-quick__add.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

.hanel-shop-quick__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.15rem;
	color: var(--hanel-shop-gold);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
}

.hanel-shop-quick__link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ===================== */
/*   کشوی علاقه/مقایسه   */
/* ===================== */
.hanel-shop-tray {
	position: fixed;
	inset: 0;
	z-index: 145;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.hanel-shop-tray__scrim {
	position: absolute;
	inset: 0;
	background: rgba(10, 12, 18, 0.5);
	backdrop-filter: blur(4px);
	animation: hanel-shop-fade 0.25s ease both;
}

.hanel-shop-tray__card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(62rem, 100%);
	max-height: 85svh;
	border-radius: 1.5rem 1.5rem 0 0;
	background: var(--hanel-shop-surface);
	box-shadow: 0 -20px 60px rgba(10, 12, 16, 0.28);
	animation: hanel-shop-up 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hanel-shop-up {
	from {
		transform: translateY(100%);
	}

	to {
		transform: translateY(0);
	}
}

.hanel-shop-tray__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem clamp(1rem, 3vw, 1.5rem);
	border-bottom: 1px solid var(--hanel-shop-line-soft);
}

.hanel-shop-tray__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
}

.hanel-shop-tray__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border: 0;
	border-radius: 50%;
	background: var(--hanel-shop-tint);
	color: var(--hanel-shop-ink);
	cursor: pointer;
}

.hanel-shop-tray__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	overscroll-behavior: contain;
	padding: clamp(1rem, 3vw, 1.5rem);
	-webkit-overflow-scrolling: touch;
}

.hanel-shop-tray__empty {
	padding: 3rem 1rem;
	text-align: center;
	font-size: 0.88rem;
	color: var(--hanel-shop-muted);
}

/* شبکه علاقه‌مندی */
.hanel-shop-tray__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hanel-shop-tray__item {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--hanel-shop-line);
	border-radius: 1rem;
	background: var(--hanel-shop-surface);
	overflow: hidden;
}

.hanel-shop-tray__item img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--hanel-shop-tint);
}

.hanel-shop-tray__item-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.3rem;
	padding: 0.65rem 0.75rem 0.8rem;
}

.hanel-shop-tray__item-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.6;
	color: inherit;
	text-decoration: none;
}

.hanel-shop-tray__item-price {
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--hanel-shop-gold);
}

.hanel-shop-tray__item-remove {
	position: absolute;
	top: 0.5rem;
	inset-inline-end: 0.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--hanel-shop-ink);
	cursor: pointer;
	backdrop-filter: blur(6px);
}

.hanel-shop-tray__item-remove:hover {
	background: #c0392b;
	color: #fff;
}

/* جدول مقایسه */
.hanel-shop-compare {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.82rem;
}

.hanel-shop-compare th,
.hanel-shop-compare td {
	padding: 0.7rem 0.6rem;
	border-bottom: 1px solid var(--hanel-shop-line-soft);
	text-align: start;
	vertical-align: top;
}

.hanel-shop-compare thead th {
	position: sticky;
	top: 0;
	background: var(--hanel-shop-surface);
	z-index: 2;
}

.hanel-shop-compare__row-label {
	width: 8rem;
	font-weight: 700;
	color: var(--hanel-shop-muted);
	white-space: nowrap;
}

.hanel-shop-compare__head {
	min-width: 10rem;
}

.hanel-shop-compare__head img {
	width: 100%;
	max-width: 8rem;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 0.8rem;
	background: var(--hanel-shop-tint);
}

.hanel-shop-compare__head-name {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.6;
	color: inherit;
	text-decoration: none;
}

.hanel-shop-compare__head-remove {
	margin-top: 0.35rem;
	border: 0;
	background: transparent;
	color: #c0392b;
	font-family: inherit;
	font-size: 0.74rem;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hanel-shop-compare__yes {
	color: #1f8a52;
	font-weight: 700;
}

.hanel-shop-compare__no {
	color: #c0392b;
	font-weight: 700;
}

/* ===================== */
/*         توست          */
/* ===================== */
.hanel-shop__toast {
	position: fixed;
	inset-inline: 0;
	bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
	z-index: 150;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

.hanel-shop__toast-inner {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	max-width: min(92vw, 26rem);
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	background: var(--hanel-shop-ink);
	color: #fff;
	font-size: 0.83rem;
	font-weight: 600;
	box-shadow: 0 16px 40px rgba(10, 12, 16, 0.28);
	animation: hanel-shop-toast 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hanel-shop__toast-inner.is-error {
	background: #c0392b;
}

@keyframes hanel-shop-toast {
	from {
		opacity: 0;
		transform: translateY(1rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===================== */
/*       رسپانسیو        */
/* ===================== */

/* لپ‌تاپ: سایدبار جمع‌وجور، حداکثر سه ستون */
@media (max-width: 1180px) {
	.hanel-shop__layout {
		grid-template-columns: 14.25rem minmax(0, 1fr);
		gap: 1.15rem;
	}

	.hanel-shop {
		--hanel-shop-columns: 3;
	}
}

/* تبلت و پایین‌تر: فیلتر کشویی، شبکه دوتایی اجباری */
@media (max-width: 1024px) {
	.hanel-shop {
		--hanel-shop-columns: 2;
		--hanel-shop-radius: 1.1rem;
		padding-bottom: clamp(4.5rem, 12vw, 6.5rem);
	}

	.hanel-shop__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
		padding-top: 1.15rem;
	}

	.hanel-shop__hero {
		padding-block: clamp(1.5rem, 5vw, 2.4rem) 1.35rem;
	}

	.hanel-shop__hero--image {
		padding-block: calc(var(--hanel-header-h, 4.5rem) + 1.5rem) 1.75rem;
	}

	.hanel-shop__hero--image::after {
		height: 3.25rem;
	}

	.hanel-shop__title {
		font-size: clamp(1.4rem, 6vw, 2rem);
	}

	.hanel-shop__subtitle {
		font-size: 0.86rem;
		padding-inline: 0.5rem;
	}

	.hanel-shop__grid,
	.hanel-shop__skeleton,
	[data-hanel-shop-view='list'] .hanel-shop__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	[data-hanel-shop-view='list'] .hanel-shop-card__inner {
		flex-direction: column;
	}

	[data-hanel-shop-view='list'] .hanel-shop-card__media {
		flex: 0 0 auto;
		aspect-ratio: 1 / 1;
	}

	/* پنل فیلتر — شیت پایین */
	.hanel-shop__aside {
		position: fixed;
		inset: 0;
		top: auto;
		z-index: 135;
		display: none;
	}

	.hanel-shop__aside.is-open {
		display: block;
	}

	.hanel-shop__aside-scrim {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(10, 12, 18, 0.5);
		backdrop-filter: blur(4px);
		animation: hanel-shop-fade 0.25s ease both;
	}

	.hanel-shop__panel {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		max-height: min(88svh, 42rem);
		border: 0;
		border-radius: 1.4rem 1.4rem 0 0;
		box-shadow: 0 -20px 60px rgba(10, 12, 16, 0.28);
		animation: hanel-shop-up 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
	}

	.hanel-shop__panel::before {
		content: '';
		position: absolute;
		top: 0.55rem;
		inset-inline: 0;
		width: 2.6rem;
		height: 4px;
		margin-inline: auto;
		border-radius: 999px;
		background: var(--hanel-shop-line);
	}

	.hanel-shop__panel-head {
		padding-top: 1.25rem;
	}

	.hanel-shop__panel-close {
		display: inline-flex;
	}

	.hanel-shop__panel-foot {
		padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
	}

	.hanel-shop__apply {
		flex: 1 1 auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 2.7rem;
		padding-inline: 1rem;
		border: 0;
		border-radius: 999px;
		background: var(--hanel-shop-ink);
		color: #fff;
		font-family: inherit;
		font-size: 0.82rem;
		font-weight: 700;
		cursor: pointer;
	}

	.hanel-shop__filter-btn {
		display: inline-flex;
	}

	.hanel-shop__checks {
		max-height: none;
	}

	/* نمای سریع — شیت تمام‌عرض */
	.hanel-shop-quick {
		padding: 0;
		align-items: flex-end;
	}

	.hanel-shop-quick__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.hanel-shop-quick__card {
		width: 100%;
		max-height: 94svh;
		border-radius: 1.4rem 1.4rem 0 0;
		border-inline: 0;
		border-bottom: 0;
	}

	.hanel-shop-quick__gallery {
		padding: 0.85rem 0.85rem 0;
	}

	.hanel-shop-quick__image {
		aspect-ratio: 1 / 1;
		max-height: 42svh;
	}

	.hanel-shop-quick__info {
		padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom, 0px));
	}

	.hanel-shop-quick__actions {
		position: sticky;
		bottom: 0;
		z-index: 2;
		margin-inline: -1.1rem;
		margin-bottom: calc(-1 * env(safe-area-inset-bottom, 0px));
		padding: 0.75rem 1.1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
		background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--hanel-shop-surface) 18%);
	}

	.hanel-shop-tray__card {
		max-height: 92svh;
	}

	.hanel-shop-compare {
		display: block;
		overflow-x: auto;
	}
}

/* موبایل: کارت فشرده دوتایی و نوار ابزار یک‌ردیفه */
@media (max-width: 760px) {
	.hanel-shop__hero-inner {
		gap: 0.65rem;
	}

	.hanel-shop__crumbs {
		font-size: 0.72rem;
		flex-wrap: wrap;
		justify-content: center;
	}

	.hanel-shop__quicknav {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: calc(100% + (2 * var(--hanel-container-pad)));
		margin-inline: calc(-1 * var(--hanel-container-pad));
		padding-inline: var(--hanel-container-pad);
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		scroll-snap-type: x proximity;
	}

	.hanel-shop__quicknav::-webkit-scrollbar {
		display: none;
	}

	.hanel-shop__quicknav-item {
		flex: 0 0 auto;
		scroll-snap-align: start;
		padding: 0.42rem 0.8rem;
		font-size: 0.76rem;
	}

	.hanel-shop__toolbar {
		flex-wrap: nowrap;
		gap: 0.45rem;
		margin-inline: calc(-0.15rem);
		padding: 0.45rem 0.5rem;
		border-radius: 1rem;
	}

	.hanel-shop__toolbar-start,
	.hanel-shop__toolbar-end {
		flex: 0 1 auto;
		gap: 0.4rem;
	}

	.hanel-shop__toolbar-end {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: flex-end;
	}

	.hanel-shop__filter-btn {
		min-height: 2.35rem;
		padding-inline: 0.7rem;
		font-size: 0.76rem;
	}

	.hanel-shop__count {
		font-size: 0.72rem;
	}

	.hanel-shop__sort {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 12.5rem;
		padding: 0.3rem 0.55rem;
	}

	.hanel-shop__sort select {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 0.74rem;
	}

	.hanel-shop__views {
		display: none;
	}

	.hanel-shop__grid,
	.hanel-shop__skeleton,
	[data-hanel-shop-view='list'] .hanel-shop__grid {
		gap: 0.6rem;
	}

	.hanel-shop-card__inner {
		border-radius: 1rem;
	}

	.hanel-shop-card__inner:hover {
		transform: none;
		box-shadow: none;
	}

	.hanel-shop-card__tools {
		opacity: 1;
		transform: none;
		top: 0.4rem;
		inset-inline-end: 0.4rem;
		gap: 0.25rem;
	}

	.hanel-shop-card__tool {
		width: 1.7rem;
		height: 1.7rem;
	}

	.hanel-shop-card__badges {
		top: 0.4rem;
		inset-inline-start: 0.4rem;
	}

	.hanel-shop-card__badge {
		padding: 0.18rem 0.42rem;
		font-size: 0.62rem;
	}

	.hanel-shop-card__low {
		inset-inline: 0.4rem;
		bottom: 0.4rem;
		padding: 0.22rem 0.4rem;
		font-size: 0.62rem;
	}

	.hanel-shop-card__body {
		gap: 0.22rem;
		padding: 0.55rem 0.6rem 0.7rem;
	}

	.hanel-shop-card__cat {
		font-size: 0.62rem;
	}

	.hanel-shop-card__title {
		font-size: 0.78rem;
		line-height: 1.5;
	}

	.hanel-shop-card__excerpt {
		display: none;
	}

	.hanel-shop-card__rating {
		font-size: 0.66rem;
	}

	.hanel-shop-card__stars {
		width: 3.4rem;
		height: 0.68rem;
		background-size: 0.68rem 0.68rem;
	}

	.hanel-shop-card__stars-fill {
		background-size: 0.68rem 0.68rem;
	}

	.hanel-shop-card__foot {
		gap: 0.35rem;
		padding-top: 0.4rem;
		align-items: center;
	}

	.hanel-shop-card__price {
		font-size: 0.74rem;
	}

	.hanel-shop-card__price del {
		display: none;
	}

	.hanel-shop-card__cart {
		width: 2.15rem;
		min-width: 2.15rem;
		min-height: 2.15rem;
		padding-inline: 0;
		border-radius: 50%;
	}

	.hanel-shop-card__cart-text {
		display: none;
	}

	.hanel-shop__active {
		gap: 0.3rem;
		margin-bottom: 0.75rem;
	}

	.hanel-shop__active-chip {
		font-size: 0.7rem;
		padding: 0.28rem 0.3rem 0.28rem 0.6rem;
	}

	.hanel-shop__pager {
		margin-top: 1.35rem;
	}

	.hanel-shop__more {
		width: 100%;
		max-width: 20rem;
		min-height: 2.85rem;
		justify-content: center;
	}

	.hanel-shop__dock {
		flex-direction: column;
	}

	.hanel-shop__dock-btn {
		position: relative;
		padding: 0.55rem;
		border-radius: 50%;
	}

	.hanel-shop__dock-btn > span:not(.hanel-shop__dock-count) {
		display: none;
	}

	.hanel-shop__dock-count {
		position: absolute;
		top: -0.2rem;
		inset-inline-end: -0.2rem;
		min-width: 1.1rem;
		height: 1.1rem;
		font-size: 0.62rem;
	}

	.hanel-shop__recent-item {
		width: 7.75rem;
	}

	.hanel-shop-tray__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
	}

	.hanel-shop-compare__row-label {
		width: 5.5rem;
		font-size: 0.7rem;
	}

	.hanel-shop-compare__head {
		min-width: 7.5rem;
	}
}

@media (max-width: 400px) {
	.hanel-shop__grid,
	.hanel-shop__skeleton {
		gap: 0.45rem;
	}

	.hanel-shop__filter-btn span:not(.hanel-shop__filter-count) {
		display: none;
	}

	.hanel-shop__filter-btn {
		padding-inline: 0.55rem;
	}

	.hanel-shop__count {
		display: none;
	}

	.hanel-shop__sort {
		max-width: none;
	}

	.hanel-shop-card__cat,
	.hanel-shop-card__rating {
		display: none;
	}

	.hanel-shop-card__title {
		font-size: 0.74rem;
		-webkit-line-clamp: 2;
	}

	.hanel-shop-card__body {
		padding: 0.45rem 0.5rem 0.55rem;
	}

	.hanel-shop-card__tool:nth-child(n + 3) {
		display: none;
	}
}

/* ===================== */
/*  تداخل با دکمه شناور  */
/* ===================== */

/* هم‌ترازی داک با دکمه شناور در تبلت و موبایل (مطابق fab.css) */
@media (max-width: 900px) {
	.hanel-shop__dock {
		inset-inline-end: max(0.9rem, env(safe-area-inset-right));
		bottom: max(1rem, env(safe-area-inset-bottom));
	}
}

@media (max-width: 640px) {
	.hanel-shop__dock {
		inset-inline-end: max(0.75rem, env(safe-area-inset-right));
		bottom: max(0.85rem, env(safe-area-inset-bottom));
	}
}

/* پاپ‌آپ نصب PWA هر دو را با هم بالا می‌برد */
body:has(.hanel-pwa-prompt:not([hidden])) .hanel-shop__dock {
	bottom: max(7.5rem, calc(env(safe-area-inset-bottom) + 6.5rem));
}

/*
 * پنل دکمه شناور در موبایل تمام‌عرض باز می‌شود؛
 * تا بسته شدنش داک از سر راه کنار می‌رود.
 */
body:has(.hanel-fab.is-open) .hanel-shop__dock,
body.hanel-shop-open .hanel-shop__dock {
	opacity: 0;
	transform: translateY(0.5rem);
	pointer-events: none;
}

body.hanel-shop-open .hanel-fab {
	opacity: 0;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.hanel-shop__hero-image,
	.hanel-shop-quick__card,
	.hanel-shop-quick__scrim,
	.hanel-shop-tray__card,
	.hanel-shop-tray__scrim,
	.hanel-shop__panel,
	.hanel-shop__toast-inner,
	.hanel-shop-card__inner,
	.hanel-shop-card__image {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
}
