/* developed by web-premium.ir */

.hmyt-kit-shop {
	--hmyt-shop-accent: #0d59f1;
	direction: rtl;
	font-family: inherit;
	position: relative;
}

.hmyt-kit-shop-layout {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	user-select: none;
}

.hmyt-kit-shop-main {
	flex: 1;
	min-width: 0;
}

.hmyt-kit-shop-sidebar {
	width: 240px;
	flex-shrink: 0;
}

.hmyt-kit-shop-filters {
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: 5px;
}

.hmyt-kit-shop-fil-title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #9ca3af;
	letter-spacing: 0.04em;
	margin-bottom: 12px;
}

.hmyt-kit-shop-fil-group {
	border-top: 1px solid #f0f2f5;
	padding-top: 12px;
	margin-top: 12px;
}

.hmyt-kit-shop-fil-head {
	font-size: 13px;
	font-weight: 700;
	color: #1c1c25;
	margin-bottom: 10px;
}

.hmyt-kit-shop-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
	user-select: none;
	padding: 8px 12px;
	border-top: 1px solid #f0f2f5;
}

.hmyt-kit-shop-toggle input,
.hmyt-kit-shop-check input,
.hmyt-kit-shop-swatch input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hmyt-kit-shop-toggle input:focus-visible + .hmyt-kit-shop-sw,
.hmyt-kit-shop-check input:focus-visible + .hmyt-kit-shop-check-box,
.hmyt-kit-shop-swatch input:focus-visible + .hmyt-kit-shop-swatch-dot {
	outline: 2px solid var(--hmyt-shop-accent);
	outline-offset: 3px;
}

.hmyt-kit-shop-toggle:first-of-type {
	border-top: none;
	padding-top: 0;
}

.hmyt-kit-shop-toggle-label {
	font-size: 13px;
	font-weight: 500;
	color: #374151;
}

.hmyt-kit-shop-sw {
	width: 32px;
	height: 18px;
	background: transparent;
	border: 2px solid #c5cad3;
	border-radius: 99px;
	position: relative;
	flex-shrink: 0;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.hmyt-kit-shop-sw::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	background: #c5cad3;
	border-radius: 50%;
	top: 3px;
	right: calc(100% - 12px);
	transition: right 0.24s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
}

.hmyt-kit-shop-toggle input:checked + .hmyt-kit-shop-sw {
	background: var(--hmyt-shop-accent);
	border-color: var(--hmyt-shop-accent);
}

.hmyt-kit-shop-toggle input:checked + .hmyt-kit-shop-sw::after {
	right: 3px;
	background: #fff;
}

.hmyt-kit-shop-price-filter {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hmyt-kit-shop-price-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hmyt-kit-shop-price-label {
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.5;
	color: #6b7280;
	cursor: pointer;
}

.hmyt-kit-shop-price-field {
	position: relative;
	min-width: 0;
}

.hmyt-kit-shop-acc-body .hmyt-kit-shop-price-field input {
	width: 100%;
	min-width: 0;
	height: 40px;
	border: 1px solid #eaebed;
	border-radius: 8px;
	padding: 0 12px 0 65px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	color: #374151;
	outline: none;
	-moz-appearance: textfield;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.hmyt-kit-shop-price-field input::-webkit-outer-spin-button,
.hmyt-kit-shop-price-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.hmyt-kit-shop-price-field input::placeholder {
	color: #c7ccd5;
	opacity: 1;
	font-weight: 400;
}

.hmyt-kit-shop-price-field.hmyt-kit-shop-price-field input:focus {
	border-color: color-mix(in srgb, var(--hmyt-shop-accent) 65%, #fff);
	background: #fff;
}

.hmyt-kit-shop-price-field input[aria-invalid="true"] {
	border-color: #dc2626;
	background: #fff7f7;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}

.hmyt-kit-shop-price-unit {
	position: absolute;
	inset-inline-end: 11px;
	top: 50%;
	max-width: 52px;
	transform: translateY(-50%);
	padding-inline-start: 9px;
	border-inline-start: 1px solid #e4e7ec;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 22px;
	color: #9ca3af;
	white-space: nowrap;
	pointer-events: none;
}

.hmyt-kit-shop-price-error {
	display: block;
	margin: -3px 0 0;
	color: #b91c1c;
	font-size: 11px;
	line-height: 1.7;
}

.hmyt-kit-shop-price-filter > .hmyt-kit-shop-price-apply {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 36px;
	min-height: unset;
	padding: 0 12px;
	border: none;
	border-radius: 9px;
	background: var(--hmyt-shop-accent, #0d59f1);
	color: #fff;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .2s ease;
}

.hmyt-kit-shop-price-apply:hover {
	background: var(--hmyt-shop-accent, #0d59f1);
	opacity: .9;
}

.hmyt-kit-shop-price-apply:focus-visible {
	outline: 2px solid var(--hmyt-shop-accent);
	outline-offset: 2px;
}

/* دکمه‌ی «اعمال فیلتر» هر گروهِ چک‌باکسی (زیرِ لیستِ گزینه‌ها). */
.hmyt-kit-shop-acc-body .hmyt-kit-shop-apply-filter {
	width: 100%;
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 36px;
	min-height: unset;
	border: none;
	border-radius: 9px;
	background: var(--hmyt-shop-accent, #0d59f1);
	color: #fff;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.2s ease;
}
body .hmyt-kit-shop-apply-filter:hover {
    opacity: 0.9;
    background: var(--hmyt-shop-accent, #0d59f1);
    color: #fff;
}
.hmyt-kit-shop-apply-filter svg { flex-shrink: 0; }

/* پنهان‌سازیِ قطعیِ عناصرِ دارای attribute «hidden» داخلِ فروشگاه —
   حتی اگر قالب برای button/div مقدارِ display تعریف کرده باشد (که attribute پیش‌فرض را خنثی می‌کند). */
.hmyt-kit-shop [hidden] { display: none !important; }

/* در شیتِ موبایل، اعمالِ فیلترها از طریقِ دکمه‌ی چسبانِ «مشاهده نتایج» انجام می‌شود؛
   پس دکمه‌های اعمالِ درون‌گروهی در شیت نمایش داده نمی‌شوند. */
.hmyt-kit-shop-sheet .hmyt-kit-shop-apply-filter { display: none !important; }

.hmyt-kit-shop-checks {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-height: 220px;
	overflow-y: auto;
	/* اسکرول‌بار پنهان اما همچنان قابلِ اسکرول */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge قدیمی */
}
.hmyt-kit-shop-checks::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none; /* Chrome/Safari/Edge جدید */
}

.hmyt-kit-shop-check {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	padding: 5px 0;
	font-size: 13px;
	color: #374151;
}

.hmyt-kit-shop-check-box {
	width: 18px;
	height: 18px;
	border: 2px solid #c5cad3;
	border-radius: 6px;
	flex-shrink: 0;
	position: relative;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.hmyt-kit-shop-check input:checked + .hmyt-kit-shop-check-box {
	background: var(--hmyt-shop-accent);
	border-color: var(--hmyt-shop-accent);
}

.hmyt-kit-shop-check input:checked + .hmyt-kit-shop-check-box::after {
	content: '';
	position: absolute;
	inset: 0;
	background: center/11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.hmyt-kit-shop-check-label { flex: 1; min-width: 0; }

.hmyt-kit-shop-check-count {
	font-size: 11px;
	color: #9ca3af;
	background: #f1f3f6;
	border-radius: 99px;
	padding: 1px 8px;
}

.hmyt-kit-shop-acc {
	border-top: 7px solid #f0f2f5;
}

.hmyt-kit-shop-acc > .hmyt-kit-shop-acc-head {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 16px 12px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	min-height: unset;
	color: #1c1c25;
}

.hmyt-kit-shop-acc > .hmyt-kit-shop-acc-head:hover{
	background-color: unset;
	border-color: unset
}

.hmyt-kit-shop-acc-chev {
	color: #9ca3af;
	flex-shrink: 0;
	transition: transform 0.25s ease;
}

.hmyt-kit-shop-acc:not(.is-open) .hmyt-kit-shop-acc-chev { transform: rotate(-90deg); }

.hmyt-kit-shop-acc-body {padding: 0 12px;padding-bottom: 12px;}

.hmyt-kit-shop-acc:not(.is-open) .hmyt-kit-shop-acc-body { display: none; }

.hmyt-kit-shop-cat-tree,
.hmyt-kit-shop-cat-children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hmyt-kit-shop-cat-tree {
	max-height: 300px;
	overflow-y: auto;
	/* اسکرول‌بار پنهان اما همچنان قابلِ اسکرول */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge قدیمی */
}
.hmyt-kit-shop-cat-tree::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none; /* Chrome/Safari/Edge جدید */
}

.hmyt-kit-shop-cat-children {
    padding-right: 16px;
    display: none;
    border-style: solid;
    border-width: 0px 2px 0px 0px;
    border-color: #C9C9C9;
}

.hmyt-kit-shop-cat-node.is-open > .hmyt-kit-shop-cat-children { display: block; }

.hmyt-kit-shop-cat-row {
	display: flex;
	align-items: center;
	gap: 2px;
}

.hmyt-kit-shop-cat-row > .hmyt-kit-shop-check { flex: 1; min-width: 0; }

.hmyt-kit-shop-cat-row .hmyt-kit-shop-cat-expand {
	flex-shrink: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px;
	min-height: unset;
	color: #9ca3af;
	line-height: 0;
	border-radius: 6px;
	transition: transform 0.25s ease, background 0.15s ease;
}

body .hmyt-kit-shop-cat-expand:hover { background: transparent; opacity: .9; }

.hmyt-kit-shop-cat-node.is-open > .hmyt-kit-shop-cat-row > .hmyt-kit-shop-cat-expand { transform: rotate(180deg); }

body.dark .hmyt-kit-shop-acc-head { color: #f3f4f6; }
body.dark .hmyt-kit-shop-acc { border-color: #3a3a47; }

.hmyt-kit-shop-swatches {
	display: flex;
	flex-wrap: wrap;
	/* گَپِ بیشتر چون حلقه‌ی سواچ از طریقِ box-shadow بیرون از باکس کشیده می‌شود. */
	gap: 15px;
	padding: 3px 0;
	justify-content: center;
}

.hmyt-kit-shop-swatch {
	cursor: pointer;
	line-height: 0;
	position: relative;
}

/* tooltipِ نامِ رنگ روی hover — دقیقاً مثلِ سواچِ کارتِ خرید (navy #3f4064، انیمیشنِ scale+fade). */
.hmyt-kit-shop-swatch-tip {
	position: absolute;
	bottom: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%) scale(.85);
	transform-origin: bottom center;
	background: #3f4064;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.7;
	padding: 4px 12px;
	border-radius: 6px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	z-index: 6;
	transition: opacity .12s linear, transform .12s linear;
}
.hmyt-kit-shop-swatch-tip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 4px solid transparent;
	border-top-color: #3f4064;
}
@media (hover: hover) and (pointer: fine) {
	.hmyt-kit-shop-swatch:hover .hmyt-kit-shop-swatch-tip {
		opacity: 1;
		transform: translateX(-50%) scale(1);
	}
}

.hmyt-kit-shop-swatch-count {
	position: absolute;
	top: -7px;
	left: -7px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #eef2f7;
	color: #596579;
	font-size: 9px;
	font-weight: 700;
	line-height: 13px;
	text-align: center;
	z-index: 2;
}

.hmyt-kit-shop-swatch.is-unavailable { opacity: .45; }
.hmyt-kit-shop-swatch:has(input:disabled) { cursor: not-allowed; }
body.dark .hmyt-kit-shop-swatch-count { border-color: #1c1c26; background: #3a3a47; color: #d1d5db; }

/* دایره‌ی رنگی — دقیقاً مثلِ سواچِ کارتِ خرید: رنگِ حلقه ثابت خاکستری (#d8d8d8)،
   گَپِ سفیدِ ۴px بین رنگ و حلقه، و آیکنِ تیک وسط. */
.hmyt-kit-shop-swatch-dot {
	--_ring: #d8d8d8;
	--_gap: #fff;
	position: relative;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--sw, #cbd5e1);
	box-shadow:
		inset 0 0 0 1px rgba(0, 0, 0, .10),
		0 0 0 4px var(--_gap),
		0 0 0 5px var(--_ring);
	transition: box-shadow 0.1s linear, transform 0.15s ease;
}

/* رنگِ روشن/سفید: بوردرِ داخلیِ پررنگ‌تر تا روی پس‌زمینه‌ی سفید گم نشود. */
.hmyt-kit-shop-swatch-dot.is-light {
	box-shadow:
		inset 0 0 0 1px rgba(0, 0, 0, .18),
		0 0 0 4px var(--_gap),
		0 0 0 5px var(--_ring);
}

.hmyt-kit-shop-swatch:hover .hmyt-kit-shop-swatch-dot { transform: scale(1.08); }

/* حالتِ انتخاب: همان حلقه، ۱px ضخیم‌تر و پررنگ‌تر (#707070). */
.hmyt-kit-shop-swatch input:checked + .hmyt-kit-shop-swatch-dot {
	--_ring: #707070;
	box-shadow:
		inset 0 0 0 1px rgba(0, 0, 0, .10),
		0 0 0 4px var(--_gap),
		0 0 0 6px var(--_ring);
}
.hmyt-kit-shop-swatch input:checked + .hmyt-kit-shop-swatch-dot.is-light {
	box-shadow:
		inset 0 0 0 1px rgba(0, 0, 0, .18),
		0 0 0 4px var(--_gap),
		0 0 0 6px var(--_ring);
}

body.dark .hmyt-kit-shop-swatch-dot { --_gap: #1c1c26; }

/* آیکنِ تیک وسطِ دایره (رنگ از استایلِ اینلاین می‌آید). */
.hmyt-kit-shop-swatch-check {
	position: absolute;
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(.7);
	transition: opacity .15s linear, transform .15s linear;
}
.hmyt-kit-shop-swatch-check svg { width: 14px; height: 14px; display: block; }
.hmyt-kit-shop-swatch input:checked + .hmyt-kit-shop-swatch-dot .hmyt-kit-shop-swatch-check {
	opacity: .9;
	transform: scale(1);
}

.hmyt-kit-shop-ratings {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hmyt-kit-shop-ratings .hmyt-kit-shop-rating-row {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 6px 8px;
	background: transparent;
	min-height: unset;
	border: none;
	border-radius: 9px;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.15s ease;
	justify-content: flex-start;
}

body .hmyt-kit-shop-rating-row:hover {background: transparent;opacity: .8;}

.hmyt-kit-shop-rating-row.is-active {
	background: color-mix(in srgb, var(--hmyt-shop-accent) 10%, transparent);
}

.hmyt-kit-shop-rstar-wrap {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 16px;
	line-height: 0;
	flex-shrink: 0;
}

.hmyt-kit-shop-rstar-wrap .hmyt-kit-shop-rstar {
	display: block;
	width: 16px;
	height: 16px;
	color: #d3d9e2;
}

.hmyt-kit-shop-rstar-fill {
	position: absolute;
	top: 0;
	right: 0;
	height: 16px;
	width: var(--fill, 0%);
	overflow: hidden;
}

.hmyt-kit-shop-rstar-fill .hmyt-kit-shop-rstar {
	position: absolute;
	top: 0;
	right: 0;
	color: #ffb900;
}

.hmyt-kit-shop-rtext { font-size: 12px; color: #6b7280; }
.hmyt-kit-shop-rating-row.is-active .hmyt-kit-shop-rtext { color: var(--hmyt-shop-accent); font-weight: 600; }

.hmyt-kit-shop-sentinel {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin-top: 16px;
}

.hmyt-kit-shop-inf-spinner {
	width: 28px;
	height: 28px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-top-color: var(--hmyt-shop-accent);
	border-radius: 50%;
	opacity: 0;
	animation: hmyt-kit-shop-spin 0.7s linear infinite;
	transition: opacity 0.2s ease;
}

.hmyt-kit-shop-sentinel.is-loading-more .hmyt-kit-shop-inf-spinner { opacity: 1; }

.hmyt-kit-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.hmyt-kit-shop-sort {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.hmyt-kit-shop-sort-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
}

.hmyt-kit-shop-sort-opts {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	background: #fff;
	border: 1px solid #eef1f5;
	padding: 8px 10px;
	border-radius: 5px;
	flex-wrap: wrap;
}

.hmyt-kit-shop-sort-opts > .hmyt-kit-shop-sort-opt {
	display: inline-flex;
	align-items: center;
	padding: 3px 13px;
	background: transparent;
	border: none;
	border-radius: 5px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	cursor: pointer;
	min-height: unset;
	white-space: nowrap;
	transition: color 0.18s ease, background 0.18s ease;
}

.hmyt-kit-shop-sort-opt:hover:not(.is-active) { color: #111827; background: rgba(0, 0, 0, 0.03); }

.hmyt-kit-shop-sort-opt.is-active {
	color: var(--hmyt-shop-accent);
	background: color-mix(in srgb, var(--hmyt-shop-accent) 10%, transparent);
	font-weight: 600;
}

.hmyt-kit-shop-count {
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	white-space: nowrap;
}

.hmyt-kit-shop-count-label { display: none; }

@media (max-width: 768px) {
	.hmyt-kit-shop-count { width: 100%; display: flex; align-items: center; justify-content: space-between; }
	.hmyt-kit-shop-count-label { display: inline; font-weight: 500; color: #9ca3af; }
	.hmyt-kit-shop-count-val { font-weight: 700; color: #374151; }
}

body.dark .hmyt-kit-shop-count-val { color: #e5e7eb; }

.hmyt-kit-shop-results {
	position: relative;
	min-height: 120px;
	transition: opacity .18s ease;
}

.hmyt-kit-shop.is-loading .hmyt-kit-shop-results {
	opacity: .55;
	pointer-events: none;
}

.hmyt-kit-shop.is-loading .hmyt-kit-shop-results::after {
	content: '';
	position: absolute;
	top: 36px;
	left: 50%;
	width: 28px;
	height: 28px;
	margin-left: -14px;
	border: 1px solid rgba(99, 102, 241, .2);
	border-top-color: var(--hmyt-shop-accent);
	border-radius: 50%;
	animation: hmyt-kit-shop-spin .75s linear infinite;
	z-index: 5;
}

.hmyt-kit-shop-error {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid #fecaca;
	border-radius: 10px;
	background: #fff1f2;
	color: #9f1239;
	font-size: 13px;
}

.hmyt-kit-shop-error[hidden],
.hmyt-kit-shop [hidden] { display: none !important; }

body.hmyt-kit-shop-sheet-open { overflow: hidden; }

.hmyt-kit-shop-retry {
	flex: 0 0 auto;
	border: 0;
	border-radius: 8px;
	padding: 6px 10px;
	background: #9f1239;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.hmyt-kit-shop-check.is-unavailable,
.hmyt-kit-shop-toggle.is-unavailable { opacity: .55; }

.hmyt-kit-shop-rating-count {
	margin-inline-start: auto;
	font-size: 11px;
	color: #9ca3af;
}

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

.hmyt-kit-shop-skel {
	background: #fff;
	border: 1px solid #f0f0f1;
	border-radius: 16px;
	overflow: hidden;
	padding: 0 0 12px;
}

.hmyt-kit-shop-skel-img {
	width: 100%;
	padding-bottom: 100%;
}

.hmyt-kit-shop-skel-line {
	height: 12px;
	border-radius: 6px;
	margin: 12px 12px 0;
}

.hmyt-kit-shop-skel-line.t { width: 80%; height: 14px; }
.hmyt-kit-shop-skel-line.p { width: 45%; margin-top: 14px; height: 16px; }

.hmyt-kit-shop-skel-img,
.hmyt-kit-shop-skel-line {
	background: #e6ebf2;
	animation: hmyt-kit-shop-skel-pulse 1.3s ease-in-out infinite;
}

@keyframes hmyt-kit-shop-skel-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

body.dark .hmyt-kit-shop-skel { background: #262631; border-color: #3a3a47; }
body.dark .hmyt-kit-shop-skel-img,
body.dark .hmyt-kit-shop-skel-line {
	background: #353542;
}

.hmyt-kit-shop-empty {
	grid-column: 1 / -1;
}

.hmyt-kit-shop-active {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.hmyt-kit-shop-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #eef1f5;
	border-radius: 12px;
	padding: 5px 6px 5px 10px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hmyt-kit-shop-chip:hover { border-color: #dfe4ea; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }

.hmyt-kit-shop-chip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--hmyt-shop-accent) 12%, transparent);
	color: var(--hmyt-shop-accent);
	flex-shrink: 0;
}

.hmyt-kit-shop-chip-info {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
	min-width: 0;
}

.hmyt-kit-shop-chip-label { font-size: 10px; color: #9ca3af; }
.hmyt-kit-shop-chip-name { font-size: 12.5px; font-weight: 600; color: #374151; white-space: nowrap; }

.hmyt-kit-shop-chip .hmyt-kit-shop-chip-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: none;
    min-height: unset;
    padding: 0;
    background: transparent;
    color: #a1a3a8;
    border-radius: 7px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.hmyt-kit-shop-chip-clear:hover { background: #fdecef; color: #ee1844; }

.hmyt-kit-shop-fil-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px;
}

.hmyt-kit-shop-fil-title-row > .hmyt-kit-shop-clear-all {
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	min-height: unset;
	border-radius: 6px;
	font-weight: 600;
	color: var(--hmyt-shop-accent);
	padding: 2px 4px;
	transition: opacity 0.15s ease;
}

.hmyt-kit-shop-clear-all:hover { opacity: 0.75; }

.hmyt-kit-shop-cur { font-size: 10px; font-weight: 400; color: #9ca3af; margin-right: 2px; }

.hmyt-kit-shop-pages {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 26px;
	flex-wrap: wrap;
}

.hmyt-kit-shop-pages .hmyt-kit-shop-page {
	min-width: 35px;
	height: 35px;
	padding: 0 8px;
	display: inline-flex;
	min-height: unset;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #e7eaef;
	border-radius: 40px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	transition: all 0.18s ease;
}

.hmyt-kit-shop-page:hover:not(.is-active):not(.is-disabled) {
	border-color: var(--hmyt-shop-accent);
	color: var(--hmyt-shop-accent);
}

.hmyt-kit-shop-page.is-active {
	background: var(--hmyt-shop-accent);
	border-color: var(--hmyt-shop-accent);
	color: #fff;
	cursor: default;
}

.hmyt-kit-shop-page.is-disabled { opacity: 0.4; pointer-events: none; }

.hmyt-kit-shop-page-dots { color: #9ca3af; padding: 0 4px; }

.hmyt-kit-shop-mobile-bar {
	display: none;
	gap: 8px;
	margin-bottom: 14px;
}

.hmyt-kit-shop-mobile-bar .hmyt-kit-shop-mbtn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 14px;
	background: #fff;
	border: 1px solid #e3e8ee;
	border-radius: 12px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
}

.hmyt-kit-shop-mbtn svg { width: 16px; height: 16px; opacity: 0.8; flex-shrink: 0; }
.hmyt-kit-shop-mbtn.has-value { border-color: var(--hmyt-shop-accent); color: var(--hmyt-shop-accent); }
.hmyt-kit-shop-mbtn.has-value svg { opacity: 1; }

.hmyt-kit-shop-mbtn-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hmyt-kit-shop-mbtn-dot {
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 99px;
	background: var(--hmyt-shop-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	display: none;
	flex-shrink: 0;
}

.hmyt-kit-shop-mbtn.has-value[data-sheet="filter"] .hmyt-kit-shop-mbtn-dot { display: block; }
.hmyt-kit-shop-mbtn.has-value[data-sheet="sort"] .hmyt-kit-shop-mbtn-dot {
	display: block;
	min-width: 7px;
	width: 7px;
	height: 7px;
	padding: 0;
}

.hmyt-kit-shop-sheet-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0, 5, 42, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.hmyt-kit-shop-sheet-overlay.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.hmyt-kit-shop-sheet {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	border-radius: 20px 20px 0 0;
	padding: 14px 0 max(18px, env(safe-area-inset-bottom));
	max-height: 82vh;
	overflow-y: auto;
	transform: translateY(100%);
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
	direction: rtl;
}

.hmyt-kit-shop-sheet-overlay.is-open .hmyt-kit-shop-sheet { transform: translateY(0); }

.hmyt-kit-shop-sheet-handle {
	width: 40px;
	height: 4px;
	background: #d0d4dc;
	border-radius: 2px;
	margin: 0 auto 12px;
}

.hmyt-kit-shop-sheet-title {
	font-size: 15px;
	font-weight: 700;
	padding: 0 14px;
	color: #1c1c25;
	margin: 0 0 14px;
}

.hmyt-kit-shop-sheet-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 14px 14px;
}

.hmyt-kit-shop-sheet-heading .hmyt-kit-shop-sheet-title {
	padding-inline: 0;
	margin: 0;
}

.hmyt-kit-shop-sheet-heading .hmyt-kit-shop-sheet-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	min-height: 28px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: #f2f4f7;
	color: #6b7280;
	line-height: 0;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease;
}

.hmyt-kit-shop-sheet-heading .hmyt-kit-shop-sheet-close:hover { background: #e8ebf0; color: #374151; }
.hmyt-kit-shop-sheet-heading .hmyt-kit-shop-sheet-close svg { width: 15px; height: 15px; pointer-events: none; }
.hmyt-kit-shop-sheet-heading .hmyt-kit-shop-sheet-close:focus-visible { outline: 2px solid var(--hmyt-shop-accent); outline-offset: 2px; }
body.dark .hmyt-kit-shop-sheet-heading .hmyt-kit-shop-sheet-close { background: #353542; color: #f3f4f6; }

.hmyt-kit-shop-sheet-opts { padding: 10px; }

.hmyt-kit-shop-sheet-opts .hmyt-kit-shop-sheet-opt {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 4px;
	background: transparent;
	border: none;
	border-bottom: 1px solid #f0f2f5;
	font-family: inherit;
	font-size: 14px;
	color: #374151;
	cursor: pointer;
}

.hmyt-kit-shop-sheet-opt .hmyt-kit-shop-check-ic { opacity: 0; color: var(--hmyt-shop-accent); }
.hmyt-kit-shop-sheet-opt.is-active { color: var(--hmyt-shop-accent); font-weight: 700; }
.hmyt-kit-shop-sheet-opt.is-active .hmyt-kit-shop-check-ic { opacity: 1; }

.hmyt-kit-shop-sheet .hmyt-kit-shop-filters {
	background: transparent;
	border: none;
	padding: 0;
}
.hmyt-kit-shop-sheet .hmyt-kit-shop-fil-title-row { display: none; }
.hmyt-kit-shop-fil-title-row .hmyt-kit-shop-fil-title { margin-bottom: 0; }

.hmyt-kit-shop-sheet-filter {
	height: 82vh;
	height: min(86dvh, 720px);
	max-height: calc(100dvh - 12px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding-bottom: 0;
	isolation: isolate;
}

.hmyt-kit-shop-sheet-filter > .hmyt-kit-shop-sheet-handle,
.hmyt-kit-shop-sheet-filter > .hmyt-kit-shop-sheet-heading {
	flex: 0 0 auto;
}

.hmyt-kit-shop-sheet-filter > .hmyt-kit-shop-sheet-body {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 0 10px 18px;
}

.hmyt-kit-shop-sheet-footer {
	position: relative;
	z-index: 50;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 12px 10px max(14px, env(safe-area-inset-bottom));
	background: #fff;
	border-top: 1px solid #f0f2f5;
	box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.09);
	isolation: isolate;
}

.hmyt-kit-shop-sheet-footer .hmyt-kit-shop-sheet-apply {
	flex: 1;
	height: 46px;
	border: none;
	border-radius: 12px;
	background: var(--hmyt-shop-accent);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.18s ease;
}

.hmyt-kit-shop-sheet-apply:hover { opacity: 0.92; }

body .hmyt-kit-shop-sheet-footer .hmyt-kit-shop-sheet-clear {
    height: 46px;
    padding: 0 14px;
    background: transparent;
    border: none;
    color: var(--hmyt-shop-accent);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.hmyt-kit-shop-sheet-footer .hmyt-kit-shop-sheet-clear:disabled { opacity: 0.3; cursor: default; }

body.dark .hmyt-kit-shop-sheet-footer { background: #262631; border-color: #3a3a47; }

.hmyt-kit-shop-apply-loader { display: none; vertical-align: middle; line-height: 0; }

.hmyt-kit-shop-sheet-apply.is-loading .hmyt-kit-shop-apply-text { display: none; }
.hmyt-kit-shop-sheet-apply.is-loading .hmyt-kit-shop-apply-loader { display: inline-flex; }

.hmyt-kit-shop-apply-loader > div {
	width: 32px;
	height: 32px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	direction: rtl;
	color: #fff;
}

.hmyt-kit-shop-apply-loader > div > span {
	position: absolute;
	top: 13.2px;
	width: 5.2px;
	height: 5.2px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.6;
}

.hmyt-kit-shop-apply-loader > div > span:nth-child(1) { right: 3.2px; animation: hmyt-shop-ld-start 0.6s ease 0s infinite; }
.hmyt-kit-shop-apply-loader > div > span:nth-child(2) { right: 3.2px; animation: hmyt-shop-ld-between 0.6s ease 0s infinite; }
.hmyt-kit-shop-apply-loader > div > span:nth-child(3) { right: 12.8px; animation: hmyt-shop-ld-between 0.6s ease 0s infinite; }
.hmyt-kit-shop-apply-loader > div > span:nth-child(4) { right: 22.4px; animation: hmyt-shop-ld-end 0.6s ease 0s infinite; }

@keyframes hmyt-shop-ld-start { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 0.6; } }
@keyframes hmyt-shop-ld-between { 0% { transform: translate(0, 0); } 100% { transform: translate(-9.6px, 0); } }
@keyframes hmyt-shop-ld-end { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(0); opacity: 0; } }

@media (max-width: 1024px) {
	.hmyt-kit-shop-sidebar { width: 210px; }
}

@media (max-width: 768px) {
	.hmyt-kit-shop-sidebar { display: none; }
	.hmyt-kit-shop-mobile-bar { display: flex; }
	.hmyt-kit-shop-toolbar .hmyt-kit-shop-sort { display: none; }
	.hmyt-kit-shop-active { display: none; }
	.hmyt-kit-shop-layout { gap: 0; }
}

@media (min-width: 769px) {
	.hmyt-kit-shop-sheet-overlay { display: none; }
}

body.dark .hmyt-kit-shop-filters,
body.dark .hmyt-kit-shop-sort-opts,
body.dark .hmyt-kit-shop-page,
body.dark .hmyt-kit-shop-mbtn,
body.dark .hmyt-kit-shop-chip,
body.dark .hmyt-kit-shop-sheet { background: #262631; border-color: #3a3a47; }

body.dark .hmyt-kit-shop-fil-head,
body.dark .hmyt-kit-shop-sheet-title,
body.dark .hmyt-kit-shop-toggle-label,
body.dark .hmyt-kit-shop-check,
body.dark .hmyt-kit-shop-page,
body.dark .hmyt-kit-shop-mbtn,
body.dark .hmyt-kit-shop-sheet-opt { color: #e5e7eb; }

body.dark .hmyt-kit-shop-fil-group,
body.dark .hmyt-kit-shop-toggle,
body.dark .hmyt-kit-shop-sheet-opt { border-color: #3a3a47; }

body.dark .hmyt-kit-shop-price-label { color: #b9bec8; }
body.dark .hmyt-kit-shop-price-field input { background: #353542; border-color: #3a3a47; color: #fff; }
body.dark .hmyt-kit-shop-price-field input:focus { background: #30303b; }
body.dark .hmyt-kit-shop-price-field input::placeholder { color: #747985; }
body.dark .hmyt-kit-shop-price-unit { color: #9ca3af; border-color: #4a4a58; }
body.dark .hmyt-kit-shop-price-filter > .hmyt-kit-shop-price-apply { background: var(--hmyt-shop-accent, #0d59f1); }
body.dark .hmyt-kit-shop-check-count { background: #3a3a47; color: #9ca3af; }
