.grid-item:has(> .desktop-filter-wrapper > #filter.j3f) {
	background: transparent;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

#filter.j3f {
	--j3f-accent: var(--j3f-brand, hsla(var(--j-color-scheme-brand-primary-h, 221), var(--j-color-scheme-brand-primary-s, 39%), var(--j-color-scheme-brand-primary-l, 11%), var(--j-color-scheme-brand-primary-a, 1)));
	--j3f-accent-fg: hsla(var(--j-color-scheme-brand-primary-foreground-h, 0), var(--j-color-scheme-brand-primary-foreground-s, 0%), var(--j-color-scheme-brand-primary-foreground-l, 100%), var(--j-color-scheme-brand-primary-foreground-a, 1));
	--j3f-card: hsla(var(--j-color-scheme-background-primary-h, 0), var(--j-color-scheme-background-primary-s, 0%), var(--j-color-scheme-background-primary-l, 100%), var(--j-color-scheme-background-primary-a, 1));
	--j3f-text: hsla(var(--j-color-scheme-foreground-primary-h, 215), var(--j-color-scheme-foreground-primary-s, 25%), var(--j-color-scheme-foreground-primary-l, 17%), var(--j-color-scheme-foreground-primary-a, 1));
	--j3f-muted: hsla(var(--j-color-scheme-foreground-tertiary-h, 220), var(--j-color-scheme-foreground-tertiary-s, 9%), var(--j-color-scheme-foreground-tertiary-l, 46%), var(--j-color-scheme-foreground-tertiary-a, 1));
	--j3f-line: hsla(var(--j-color-scheme-background-border-h, 220), var(--j-color-scheme-background-border-s, 13%), var(--j-color-scheme-background-border-l, 13%), var(--j-color-scheme-background-border-a, .12));
	--j3f-soft: hsla(var(--j-color-scheme-background-secondary-h, 240), var(--j-color-scheme-background-secondary-s, 12%), var(--j-color-scheme-background-secondary-l, 95%), var(--j-color-scheme-background-secondary-a, 1));
	--j3f-ring: hsla(var(--j-color-scheme-brand-primary-h, 221), var(--j-color-scheme-brand-primary-s, 39%), var(--j-color-scheme-brand-primary-l, 11%), .12);
	--j3f-ctrl-border: hsla(var(--j-color-scheme-background-border-h, 220), var(--j-color-scheme-background-border-s, 13%), var(--j-color-scheme-background-border-l, 13%), .3);
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	background: var(--j3f-card);
	border: 1px solid var(--j3f-line);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	padding: 4px 0 0;
	font-size: 14px;
	color: var(--j3f-text);
	position: relative;
	overflow: hidden;
}

#filter.j3f > * {
	flex: 0 0 auto;
	min-width: 0;
}

#filter.j3f .j3f-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px 12px;
	border-bottom: 1px solid var(--j3f-line);
	position: relative;
}

#filter.j3f .j3f-title {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--j3f-text);
	flex: 1;
	min-width: 0;
}

#filter.j3f .j3f-title .filter-title-text {
	background: none;
	padding: 0;
}

#filter.j3f .j3f-reset {
	background: none;
	border: 1px solid var(--j3f-line);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--j3f-muted);
	cursor: pointer;
	transition: color .15s, border-color .15s, background .15s;
	line-height: 1.4;
}

#filter.j3f .j3f-reset:hover {
	color: #dc2626;
	border-color: #fecaca;
	background: #fef2f2;
}

html:not(.mobile-filter-active) #filter.j3f .j3f-x {
	display: none;
}

#filter.j3f .j3f-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 12px 16px 2px;
}

#filter.j3f .j3f-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	background: var(--j3f-soft);
	border: 1px solid var(--j3f-line);
	border-radius: 999px;
	padding: 4px 8px 4px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--j3f-text);
	cursor: pointer;
	transition: background .15s, border-color .15s;
	line-height: 1.5;
}

#filter.j3f .j3f-chip:hover {
	background: #fef2f2;
	border-color: #fecaca;
}

#filter.j3f .j3f-chip__x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--j3f-line);
	color: var(--j3f-muted);
	font-size: 12px;
	line-height: 1;
	transition: background .15s, color .15s;
}

#filter.j3f .j3f-chip:hover .j3f-chip__x {
	background: #dc2626;
	color: #fff;
}

#filter.j3f .j3f-body {
	padding: 4px 8px 8px;
}

#filter.j3f .j3f-sec {
	border-bottom: 1px solid var(--j3f-line);
	padding: 2px 0;
}

#filter.j3f .j3f-sec:last-child {
	border-bottom: 0;
}

#filter.j3f .j3f-sec__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	background: none;
	border: 0;
	padding: 12px 10px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--j3f-text);
	text-align: left;
	border-radius: 8px;
	transition: background .15s;
}

#filter.j3f .j3f-sec__head:hover {
	background: var(--j3f-soft);
}

#filter.j3f .j3f-sec__chev {
	flex: 0 0 auto;
	color: var(--j3f-muted);
	transition: transform .2s ease;
}

#filter.j3f .j3f-sec.is-closed .j3f-sec__chev {
	transform: rotate(-90deg);
}

#filter.j3f .j3f-sec__body {
	padding: 2px 6px 12px;
}

#filter.j3f .j3f-sec.is-closed .j3f-sec__body {
	display: none;
}

#filter.j3f .j3f-opts {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

#filter.j3f .j3f-opts--scroll {
	max-height: 264px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--j3f-ctrl-border) transparent;
	padding-right: 4px;
}

#filter.j3f .j3f-opts--scroll::-webkit-scrollbar {
	width: 6px;
}

#filter.j3f .j3f-opts--scroll::-webkit-scrollbar-thumb {
	background: var(--j3f-ctrl-border);
	border-radius: 999px;
}

#filter.j3f .j3f-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	border-radius: 8px;
	cursor: pointer;
	margin: 0;
	transition: background .12s;
	-webkit-user-select: none;
	user-select: none;
}

#filter.j3f .j3f-opt:hover {
	background: var(--j3f-soft);
}

#filter.j3f .j3f-opt[hidden] {
	display: none;
}

#filter.j3f .j3f-opt__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

#filter.j3f .j3f-opt__box {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--j3f-ctrl-border);
	border-radius: 5px;
	background: var(--j3f-card);
	color: var(--j3f-accent-fg);
	transition: background .15s, border-color .15s;
}

#filter.j3f .j3f-opt__input[type="radio"] + .j3f-opt__box {
	border-radius: 50%;
}

#filter.j3f .j3f-opt__box svg {
	opacity: 0;
	transform: scale(.6);
	transition: opacity .15s, transform .15s;
}

#filter.j3f .j3f-opt__input:checked + .j3f-opt__box {
	background: var(--j3f-accent);
	border-color: var(--j3f-accent);
}

#filter.j3f .j3f-opt__input:checked + .j3f-opt__box svg {
	opacity: 1;
	transform: scale(1);
}

#filter.j3f .j3f-opt__input:focus-visible + .j3f-opt__box {
	outline: 2px solid var(--j3f-accent);
	outline-offset: 2px;
}

#filter.j3f .j3f-opt__label {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13.5px;
	color: var(--j3f-text);
	line-height: 1.4;
}

#filter.j3f .j3f-opt__input:checked ~ .j3f-opt__label {
	font-weight: 600;
}

#filter.j3f .j3f-opt__count {
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 600;
	color: var(--j3f-muted);
	background: var(--j3f-soft);
	border-radius: 999px;
	padding: 2px 8px;
	line-height: 1.5;
}

#filter.j3f .j3f-search {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 9px;
	padding: 8px 10px;
	margin: 2px 2px 10px;
	color: var(--j3f-muted);
	background: var(--j3f-soft);
	transition: border-color .15s, box-shadow .15s, background .15s;
}

#filter.j3f .j3f-search:focus-within {
	background: var(--j3f-card);
	border-color: var(--j3f-accent);
	box-shadow: 0 0 0 3px var(--j3f-ring);
}

#filter.j3f .j3f-search input {
	border: 0;
	outline: 0;
	background: none;
	width: 100%;
	font-size: 13px;
	color: var(--j3f-text);
	padding: 0;
}

#filter.j3f .j3f-stars {
	display: inline-flex;
	gap: 2px;
	font-size: 15px;
	line-height: 1;
}

#filter.j3f .j3f-star {
	color: var(--j3f-ctrl-border);
}

#filter.j3f .j3f-star.is-on {
	color: #f59e0b;
}

#filter.j3f .j3f-selectwrap {
	padding: 2px;
}

#filter.j3f .j3f-select {
	width: 100%;
	border: 1px solid transparent;
	border-radius: 9px;
	padding: 8px 10px;
	font-size: 13.5px;
	color: var(--j3f-text);
	background: var(--j3f-soft);
	transition: border-color .15s, box-shadow .15s, background .15s;
}

#filter.j3f .j3f-select:focus {
	background: var(--j3f-card);
	border-color: var(--j3f-accent);
	box-shadow: 0 0 0 3px var(--j3f-ring);
	outline: 0;
}

#filter.j3f .j3f-price {
	padding: 6px 2px 0;
}

#filter.j3f .j3f-range {
	position: relative;
	height: 30px;
	margin: 4px 8px 10px;
}

#filter.j3f .j3f-range__track {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 4px;
	margin-top: -2px;
	background: var(--j3f-line);
	border-radius: 999px;
}

#filter.j3f .j3f-range__fill {
	position: absolute;
	top: 0;
	bottom: 0;
	background: var(--j3f-accent);
	border-radius: 999px;
}

#filter.j3f .j3f-range__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 30px;
	margin: 0;
	background: none;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
	outline: none;
}

#filter.j3f .j3f-range__input[data-bound="min"] {
	z-index: 4;
}

#filter.j3f .j3f-range__input[data-bound="max"] {
	z-index: 3;
}

#filter.j3f .j3f-range__input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--j3f-card);
	border: 2px solid var(--j3f-accent);
	box-shadow: 0 1px 3px rgba(16, 24, 40, .2);
	cursor: grab;
	transition: transform .12s;
}

#filter.j3f .j3f-range__input::-webkit-slider-thumb:hover {
	transform: scale(1.12);
}

#filter.j3f .j3f-range__input::-moz-range-thumb {
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--j3f-card);
	border: 2px solid var(--j3f-accent);
	box-shadow: 0 1px 3px rgba(16, 24, 40, .2);
	cursor: grab;
}

#filter.j3f .j3f-range__input::-moz-range-track {
	background: none;
}

#filter.j3f .j3f-price__fields {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 2px;
}

#filter.j3f .j3f-field {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 4px;
	border: 1px solid transparent;
	border-radius: 9px;
	padding: 7px 10px;
	margin: 0;
	background: var(--j3f-soft);
	transition: border-color .15s, box-shadow .15s, background .15s;
}

#filter.j3f .j3f-field:focus-within {
	background: var(--j3f-card);
	border-color: var(--j3f-accent);
	box-shadow: 0 0 0 3px var(--j3f-ring);
}

#filter.j3f .j3f-field__cur {
	font-size: 12px;
	color: var(--j3f-muted);
	flex: 0 0 auto;
}

#filter.j3f .j3f-field .j3f-price-input {
	border: 0;
	outline: 0;
	background: none;
	width: 100%;
	min-width: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--j3f-text);
	padding: 0;
	text-align: center;
}

#filter.j3f .j3f-field__sep {
	color: var(--j3f-muted);
	flex: 0 0 auto;
}

#filter.j3f .j3f-mbar {
	display: none;
}

html.mobile-filter-active #filter.j3f .j3f-mbar {
	display: block;
	position: sticky;
	bottom: 0;
	padding: 10px 12px;
	background: var(--j3f-card);
	border-top: 1px solid var(--j3f-line);
}

html.mobile-filter-active #filter.j3f .j3f-mbar__btn {
	width: 100%;
	height: 44px;
	border: 0;
	border-radius: 10px;
	background: var(--j3f-accent);
	color: var(--j3f-accent-fg);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

#filter.j3f.j3f-loading .j3f-head::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	height: 2px;
	width: 40%;
	background: var(--j3f-accent);
	border-radius: 999px;
	animation: j3f-bar 1s ease-in-out infinite;
}

@keyframes j3f-bar {
	0% { left: 0; width: 12%; }
	50% { left: 42%; width: 32%; }
	100% { left: 96%; width: 8%; }
}

.main-products-wrapper.j3f-grid-loading {
	opacity: .45;
	pointer-events: none;
	transition: opacity .2s;
}

html.mobile-filter-active #filter.j3f {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	height: 100%;
	display: flex;
	flex-direction: column;
}

html.mobile-filter-active #filter.j3f .j3f-body {
	flex: 1;
	overflow-y: auto;
}
