.pjs-pf {
	--pjs-pf-bg: #ffffff;
	--pjs-pf-surface: #f8fafc;
	--pjs-pf-surface-strong: #f1f5f9;
	--pjs-pf-text: #1e293b;
	--pjs-pf-muted: #64748b;
	--pjs-pf-label: #6b7280;
	--pjs-pf-border: #e2e8f0;
	--pjs-pf-accent: #d97706;
	--pjs-pf-accent-hover: #b45309;
	--pjs-pf-accent-soft: #fef3c7;
	--pjs-pf-accent-text: #92400e;
	--pjs-pf-accent-grad: linear-gradient(135deg, #f59e0b, #d97706);
	--pjs-pf-danger: #b42318;
	--pjs-pf-danger-soft: #fef3f2;
	--pjs-pf-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
	--pjs-pf-radius: 12px;
	--pjs-pf-radius-sm: 8px;
	--pjs-pf-focus: 0 0 0 3px rgba(217, 119, 6, 0.18);
	box-sizing: border-box;
	clear: both;
	color: var(--pjs-pf-text);
	font-size: 15px;
	line-height: 1.45;
	margin: 0 0 24px;
	position: relative;
	width: 100%;
}

.pjs-pf *,
.pjs-pf *::before,
.pjs-pf *::after,
.pjs-pf-pagination *,
.pjs-pf-grid-status * {
	box-sizing: border-box;
}

.pjs-pf [hidden],
.pjs-pf-pagination[hidden],
.pjs-pf-grid-status[hidden] {
	display: none !important;
}

.pjs-product-filter-active .page-load-status {
	display: none !important;
}

.pjs-pf button,
.pjs-pf input {
	font: inherit;
}

.pjs-pf button {
	-webkit-tap-highlight-color: transparent;
}

.pjs-pf button:focus-visible,
.pjs-pf input:focus-visible,
.pjs-pf-pagination button:focus-visible,
.pjs-pf-retry:focus-visible {
	box-shadow: var(--pjs-pf-focus);
	outline: 2px solid transparent;
	outline-offset: 2px;
}

/* --- Toolbar / filter bar --- */

.pjs-pf-toolbar {
	align-items: center;
	background: var(--pjs-pf-bg);
	border: 1px solid var(--pjs-pf-border);
	border-radius: var(--pjs-pf-radius);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: space-between;
	margin-bottom: 16px;
	padding: 14px 16px;
}

.pjs-pf-toolbar-main {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 0;
}

.pjs-pf-toolbar-side {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-left: auto;
}

.pjs-pf-title {
	align-items: center;
	color: var(--pjs-pf-text);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	white-space: nowrap;
}

.pjs-pf-title svg {
	fill: none;
	height: 14px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 14px;
}

.pjs-pf-active-badge {
	align-items: center;
	background: var(--pjs-pf-accent-grad);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	height: 18px;
	justify-content: center;
	line-height: 18px;
	min-width: 18px;
	padding: 0 5px;
}

.pjs-pf-open,
.pjs-pf-more {
	align-items: center;
	background: var(--pjs-pf-accent-grad);
	border: none;
	border-radius: 999px;
	box-shadow: 0 1px 6px rgba(217, 119, 6, 0.35);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 6px;
	letter-spacing: 0.4px;
	line-height: 1.4;
	margin: 0;
	padding: 6px 15px;
	text-transform: uppercase;
	transition: transform 0.15s, box-shadow 0.15s;
}

.pjs-pf-open:hover,
.pjs-pf-more:hover {
	box-shadow: 0 3px 10px rgba(217, 119, 6, 0.5);
	color: #fff;
	transform: translateY(-1px);
}

.pjs-pf:not(.pjs-pf-ready) .pjs-pf-open,
.pjs-pf:not(.pjs-pf-ready) .pjs-pf-more {
	visibility: hidden;
}

.pjs-pf-chevron {
	display: inline-block;
	font-size: 10px;
	line-height: 1;
	transition: transform 0.25s;
}

.pjs-pf-show-all .pjs-pf-more .pjs-pf-chevron {
	transform: rotate(180deg);
}

.pjs-pf-hint {
	color: var(--pjs-pf-muted);
	font-size: 12px;
	max-width: 340px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pjs-pf-summary {
	align-items: baseline;
	color: var(--pjs-pf-muted);
	display: flex;
	font-size: 13px;
	gap: 4px;
	white-space: nowrap;
}

.pjs-pf-summary strong {
	color: var(--pjs-pf-text);
	font-size: 15px;
	font-weight: 700;
}

.pjs-pf-refreshing {
	background: var(--pjs-pf-accent-soft);
	border-radius: 999px;
	color: var(--pjs-pf-accent-text);
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	white-space: nowrap;
}

.pjs-pf-chips {
	display: flex;
	flex-basis: 100%;
	flex-wrap: wrap;
	gap: 6px;
}

.pjs-pf-chips:empty {
	display: none;
}

.pjs-pf-chip {
	align-items: center;
	background: var(--pjs-pf-accent-soft);
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--pjs-pf-accent-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 500;
	gap: 3px;
	line-height: 1.3;
	max-width: 100%;
	min-height: 28px;
	padding: 4px 9px 4px 11px;
	transition: border-color 0.15s;
}

.pjs-pf-chip:hover {
	border-color: var(--pjs-pf-accent);
}

.pjs-pf-chip span {
	align-items: center;
	display: inline-flex;
	font-size: 15px;
	height: 15px;
	justify-content: center;
	line-height: 1;
	width: 15px;
}

.pjs-pf-clear {
	background: transparent;
	border: 0;
	color: var(--pjs-pf-accent);
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	margin: 0;
	padding: 0;
	text-decoration: underline;
	white-space: nowrap;
}

.pjs-pf-clear:hover {
	color: var(--pjs-pf-accent-hover);
}

/* --- Panel --- */

.pjs-pf-panel {
	background: var(--pjs-pf-bg);
	border: 1px solid var(--pjs-pf-border);
	border-radius: var(--pjs-pf-radius);
	padding: 16px 18px;
	position: relative;
}

.pjs-pf-panel-head {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}

.pjs-pf-eyebrow {
	color: var(--pjs-pf-label);
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-bottom: 3px;
	text-transform: uppercase;
}

.pjs-pf-panel h2 {
	color: var(--pjs-pf-text);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

.pjs-pf-close {
	align-items: center;
	background: var(--pjs-pf-surface);
	border: 1px solid var(--pjs-pf-border);
	border-radius: 50%;
	color: var(--pjs-pf-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 22px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 2px;
	width: 36px;
}

/* --- Search --- */

.pjs-pf-search-wrap {
	margin-bottom: 16px;
	max-width: 460px;
}

.pjs-pf-search-wrap > label {
	color: var(--pjs-pf-label);
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.pjs-pf-search-field {
	position: relative;
}

.pjs-pf-search-field > span {
	border: 2px solid var(--pjs-pf-muted);
	border-radius: 50%;
	height: 13px;
	left: 16px;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY(-60%);
	width: 13px;
	z-index: 1;
}

.pjs-pf-search-field > span::after {
	background: var(--pjs-pf-muted);
	content: "";
	height: 2px;
	position: absolute;
	right: -6px;
	top: 9px;
	transform: rotate(45deg);
	width: 7px;
}

.pjs-pf .pjs-pf-search-field input {
	appearance: none;
	-webkit-appearance: none;
	background: var(--pjs-pf-bg);
	border: 1px solid var(--pjs-pf-border);
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	color: var(--pjs-pf-text);
	height: 44px;
	margin: 0;
	padding: 0 18px 0 44px !important;
	transition: border-color 0.2s, box-shadow 0.2s;
	width: 100%;
}

.pjs-pf .pjs-pf-search-field input:focus {
	border-color: var(--pjs-pf-accent);
	box-shadow: var(--pjs-pf-focus);
}

.pjs-pf .pjs-pf-search-field input::placeholder {
	color: var(--pjs-pf-muted);
	opacity: 0.75;
}

/* --- Facets --- */

.pjs-pf-facets {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pjs-pf-facet {
	border: 0;
	border-left: 1px solid var(--pjs-pf-border);
	margin: 0;
	min-width: 0;
	padding: 0 0 0 16px;
}

.pjs-pf-facet:first-child,
.pjs-pf-facet:nth-child(4n + 1) {
	border-left: 0;
	padding-left: 0;
}

.pjs-pf-facet legend {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	width: 100%;
}

.pjs-pf .pjs-pf-facet-toggle {
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	color: var(--pjs-pf-label);
	cursor: default;
	display: flex;
	font-size: 11px;
	font-weight: 600;
	gap: 7px;
	letter-spacing: 0.5px;
	line-height: 1.4;
	margin: 0;
	min-height: 0;
	padding: 0;
	text-align: left;
	text-transform: uppercase;
	width: 100%;
}

.pjs-pf-facet-toggle .pjs-pf-facet-selection {
	margin-left: auto;
}

.pjs-pf-facet-toggle .pjs-pf-chevron {
	display: none;
}

.pjs-pf-facet-selection {
	color: var(--pjs-pf-accent);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
}

.pjs-pf-options {
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-height: 212px;
	overflow: auto;
	overscroll-behavior: contain;
	padding: 1px 5px 1px 1px;
	scrollbar-color: var(--pjs-pf-border) transparent;
	scrollbar-width: thin;
}

.pjs-pf-option {
	align-items: center;
	border-radius: 7px;
	color: var(--pjs-pf-text);
	cursor: pointer;
	display: grid;
	font-size: 13px;
	font-weight: 400;
	gap: 8px;
	grid-template-columns: 18px minmax(0, 1fr) auto;
	min-height: 32px;
	padding: 4px 6px;
	transition: background-color 130ms ease, opacity 130ms ease;
}

.pjs-pf-option:hover {
	background: var(--pjs-pf-surface);
}

.pjs-pf-option input {
	appearance: none;
	background: var(--pjs-pf-bg);
	border: 1.5px solid var(--pjs-pf-border);
	border-radius: 5px;
	cursor: pointer;
	height: 18px;
	margin: 0;
	position: relative;
	width: 18px;
}

.pjs-pf-option input:checked {
	background: var(--pjs-pf-accent);
	border-color: var(--pjs-pf-accent);
}

.pjs-pf-option input:checked::after {
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	height: 9px;
	left: 5px;
	position: absolute;
	top: 2px;
	transform: rotate(45deg);
	width: 5px;
}

.pjs-pf-option input:disabled {
	cursor: not-allowed;
}

.pjs-pf-option-empty {
	opacity: 0.4;
}

.pjs-pf-option-empty:has(input:checked) {
	opacity: 0.75;
}

.pjs-pf-option-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pjs-pf-option-count {
	color: var(--pjs-pf-muted);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	font-weight: 400;
	min-width: 22px;
	opacity: 0.8;
	text-align: right;
}

.pjs-pf-option-swatch {
	grid-template-columns: 18px 25px minmax(0, 1fr) auto;
}

.pjs-pf-swatch {
	background-color: var(--pjs-pf-surface-strong);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
	height: 24px;
	width: 24px;
}

/* --- Ranges --- */

.pjs-pf-range {
	padding: 2px 4px 8px;
}

.pjs-pf-range-values {
	align-items: center;
	color: var(--pjs-pf-muted);
	display: flex;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	justify-content: space-between;
	margin-bottom: 16px;
}

.pjs-pf-facet-active .pjs-pf-range-values {
	color: var(--pjs-pf-accent);
}

.pjs-pf-range-values span {
	opacity: 0.5;
	padding: 0 5px;
}

.pjs-pf-range-track {
	background: var(--pjs-pf-border);
	border-radius: 999px;
	height: 4px;
	margin: 0 8px;
	position: relative;
}

.pjs-pf-range-fill {
	background: var(--pjs-pf-accent-grad);
	border-radius: inherit;
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.pjs-pf-range-track input[type="range"] {
	appearance: none;
	-webkit-appearance: none;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	height: 30px;
	left: -8px;
	margin: 0;
	outline: none;
	padding: 0;
	pointer-events: none;
	position: absolute;
	top: -13px;
	width: calc(100% + 16px);
}

.pjs-pf-range-track input[type="range"]::-webkit-slider-runnable-track {
	background: transparent;
	border: 0;
	height: 4px;
}

.pjs-pf-range-track input[type="range"]::-moz-range-track {
	background: transparent;
	border: 0;
	height: 4px;
}

.pjs-pf-range-track input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	-webkit-appearance: none;
	background: var(--pjs-pf-bg);
	border: 2px solid #d97706;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	cursor: grab;
	height: 18px;
	margin-top: -7px;
	pointer-events: auto;
	transition: transform 0.15s, box-shadow 0.15s;
	width: 18px;
}

.pjs-pf-range-track input[type="range"]::-webkit-slider-thumb:hover {
	box-shadow: 0 2px 8px rgba(217, 119, 6, 0.5);
	transform: scale(1.15);
}

.pjs-pf-range-track input[type="range"]:active::-webkit-slider-thumb {
	cursor: grabbing;
}

.pjs-pf-range-track input[type="range"]::-moz-range-thumb {
	background: var(--pjs-pf-bg);
	border: 2px solid #d97706;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	cursor: grab;
	height: 14px;
	pointer-events: auto;
	width: 14px;
}

.pjs-pf-range-track input[type="range"]:focus-visible::-webkit-slider-thumb {
	box-shadow: var(--pjs-pf-focus);
}

.pjs-pf-range-track input[type="range"]:focus-visible::-moz-range-thumb {
	box-shadow: var(--pjs-pf-focus);
}

/* --- Panel footer (mobile apply) --- */

.pjs-pf-panel-foot {
	align-items: center;
	border-top: 1px solid var(--pjs-pf-border);
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
	padding-top: 16px;
}

.pjs-pf-apply {
	align-items: center;
	background: var(--pjs-pf-accent-grad);
	border: none;
	border-radius: 999px;
	box-shadow: 0 1px 6px rgba(217, 119, 6, 0.35);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 600;
	gap: 4px;
	justify-content: center;
	min-height: 44px;
	padding: 9px 20px;
}

.pjs-pf-apply:hover {
	box-shadow: 0 3px 10px rgba(217, 119, 6, 0.5);
	color: #fff;
}

.pjs-pf-clear-panel {
	margin-right: auto;
}

/* --- Status / fallbacks --- */

.pjs-pf-fallback,
.pjs-pf-noscript {
	background: #fffaeb;
	border: 1px solid #fedf89;
	border-radius: var(--pjs-pf-radius-sm, 8px);
	color: #7a2e0e;
	margin: 0 0 20px;
	padding: 12px 14px;
}

.pjs-pf-grid-status {
	background: var(--pjs-pf-surface, #f8fafc);
	border: 1px solid var(--pjs-pf-border, #e2e8f0);
	border-radius: var(--pjs-pf-radius, 12px);
	color: var(--pjs-pf-text, #1e293b);
	margin: 16px 0;
	padding: 18px;
	text-align: center;
	width: 100%;
}

.pjs-pf-grid-status-error {
	background: var(--pjs-pf-danger-soft, #fef3f2);
	border-color: color-mix(in srgb, var(--pjs-pf-danger, #b42318), transparent 55%);
	color: var(--pjs-pf-danger, #b42318);
}

.pjs-pf-retry {
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 7px;
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	margin-left: 12px;
	padding: 6px 12px;
}

.pjs-pf-products-loading {
	animation: pjs-pf-grid-pulse 1.1s ease-in-out infinite alternate;
	pointer-events: none;
	transition: opacity 160ms ease;
}

@keyframes pjs-pf-grid-pulse {
	from {
		opacity: 0.45;
	}

	to {
		opacity: 0.25;
	}
}

.pjs-pf-grid-wrap-loading {
	position: relative;
}

/* --- Pagination --- */

.pjs-pf-pagination {
	clear: both;
	margin: 28px 0 8px;
	width: 100%;
}

.pjs-pf-pagination ul {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pjs-pf-pagination li {
	margin: 0;
	padding: 0;
}

.pjs-pf-pagination button {
	align-items: center;
	background: var(--pjs-pf-bg, #fff);
	border: 1px solid var(--pjs-pf-border, #e2e8f0);
	border-radius: 8px;
	color: var(--pjs-pf-text, #1e293b);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	height: 40px;
	justify-content: center;
	min-width: 40px;
	padding: 7px 11px;
}

.pjs-pf-pagination button:hover:not(:disabled) {
	border-color: var(--pjs-pf-accent, #d97706);
	color: var(--pjs-pf-accent, #d97706);
}

.pjs-pf-pagination button:disabled {
	cursor: not-allowed;
	opacity: 0.42;
}

.pjs-pf-pagination .pjs-pf-page-current {
	background: var(--pjs-pf-accent, #d97706);
	border-color: var(--pjs-pf-accent, #d97706);
	color: #fff;
}

.pjs-pf-page-ellipsis {
	color: var(--pjs-pf-muted, #64748b);
	min-width: 28px;
	text-align: center;
}

/* --- Desktop: collapsed by default, inline expand --- */

.pjs-pf-more-facets {
	align-items: center;
	background: transparent;
	border: 1px dashed var(--pjs-pf-border, #e2e8f0);
	border-radius: var(--pjs-pf-radius-sm, 8px);
	color: var(--pjs-pf-muted, #64748b);
	cursor: pointer;
	display: none;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	gap: 7px;
	justify-content: center;
	padding: 10px 14px;
}

.pjs-pf-more-facets:hover {
	border-color: var(--pjs-pf-accent, #d97706);
	color: var(--pjs-pf-accent, #d97706);
}

.pjs-pf-facets-expanded .pjs-pf-more-facets .pjs-pf-chevron {
	transform: rotate(180deg);
}

@media (min-width: 900px) {
	.pjs-pf-open,
	.pjs-pf-close,
	.pjs-pf-backdrop,
	.pjs-pf-panel-head,
	.pjs-pf-panel-foot {
		display: none;
	}

	.pjs-pf:not(.pjs-pf-show-all) .pjs-pf-panel {
		display: none;
	}

	/* Secondary (non-primary) facets stay hidden until expanded, unless
	   they carry an active selection. */
	.pjs-pf:not(.pjs-pf-facets-expanded) .pjs-pf-facets .pjs-pf-facet:not(.pjs-pf-facet-primary):not(.pjs-pf-facet-active) {
		display: none;
	}

	.pjs-pf-has-secondary .pjs-pf-more-facets {
		display: inline-flex;
		grid-column: 1 / -1;
		justify-self: start;
	}
}

@media (max-width: 1100px) and (min-width: 700px) {
	.pjs-pf-facets {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.pjs-pf-facet:nth-child(4n + 1) {
		border-left: 1px solid var(--pjs-pf-border);
		padding-left: 16px;
	}

	.pjs-pf-facet:nth-child(3n + 1) {
		border-left: 0;
		padding-left: 0;
	}
}

/* --- Mobile: off-canvas panel --- */

@media (max-width: 899px) {
	html.pjs-pf-scroll-lock,
	html.pjs-pf-scroll-lock body {
		overflow: hidden !important;
		overscroll-behavior: none;
	}

	.pjs-pf {
		margin-bottom: 20px;
	}

	.pjs-pf-more,
	.pjs-pf-hint {
		display: none;
	}

	.pjs-pf-toolbar {
		padding: 12px;
	}

	.pjs-pf-chips {
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 2px;
		scrollbar-width: none;
	}

	.pjs-pf-chips::-webkit-scrollbar {
		display: none;
	}

	.pjs-pf-chip {
		flex: 0 0 auto;
	}

	.pjs-pf-backdrop {
		background: rgba(11, 18, 32, 0.56);
		inset: 0;
		position: fixed;
		z-index: 99998;
	}

	.pjs-pf-panel {
		border: 0;
		border-radius: 0;
		bottom: 0;
		box-shadow: var(--pjs-pf-shadow);
		display: flex;
		flex-direction: column;
		left: 0;
		max-height: 100dvh;
		overflow: hidden;
		padding: max(18px, env(safe-area-inset-top)) 18px max(14px, env(safe-area-inset-bottom));
		position: fixed;
		right: 0;
		top: 0;
		transform: translateX(102%);
		transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 220ms;
		visibility: hidden;
		z-index: 99999;
	}

	.pjs-pf-panel-open .pjs-pf-panel {
		transform: translateX(0);
		visibility: visible;
	}

	.pjs-pf-panel-head {
		flex: 0 0 auto;
		margin-bottom: 14px;
	}

	.pjs-pf-search-wrap {
		flex: 0 0 auto;
		margin-bottom: 14px;
		max-width: none;
	}

	.pjs-pf-facets {
		display: block;
		flex: 1 1 auto;
		margin: 0 -8px;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 0 8px 18px;
	}

	.pjs-pf-facet,
	.pjs-pf-facet:first-child,
	.pjs-pf-facet:nth-child(4n + 1) {
		border-bottom: 1px solid var(--pjs-pf-border);
		border-left: 0;
		padding: 4px 0;
	}

	.pjs-pf-facet legend {
		margin: 0;
	}

	.pjs-pf .pjs-pf-facet-toggle {
		cursor: pointer;
		font-size: 12px;
		min-height: 48px;
		padding: 2px 4px;
	}

	.pjs-pf-facet-toggle .pjs-pf-chevron {
		color: var(--pjs-pf-muted);
		display: inline-block;
		transition: transform 0.25s;
	}

	.pjs-pf-facet-toggle[aria-expanded="true"] .pjs-pf-chevron {
		transform: rotate(180deg);
	}

	.pjs-pf-facet-collapsed .pjs-pf-options,
	.pjs-pf-facet-collapsed .pjs-pf-range {
		display: none;
	}

	.pjs-pf-facet .pjs-pf-options {
		padding-bottom: 12px;
	}

	.pjs-pf-facet .pjs-pf-range {
		padding-bottom: 16px;
		padding-top: 8px;
	}

	.pjs-pf-options {
		max-height: none;
		overflow: visible;
	}

	.pjs-pf-option {
		min-height: 42px;
	}

	.pjs-pf-panel-foot {
		background: var(--pjs-pf-bg);
		flex: 0 0 auto;
		margin: 0 -18px calc(-1 * max(14px, env(safe-area-inset-bottom)));
		padding: 12px 18px max(14px, env(safe-area-inset-bottom));
		position: relative;
		z-index: 2;
	}

	.pjs-pf-apply {
		min-width: min(64%, 280px);
	}
}

@media (max-width: 480px) {
	.pjs-pf-toolbar-main {
		gap: 8px;
	}

	.pjs-pf-refreshing {
		display: none;
	}

	.pjs-pf-pagination .pjs-pf-page-prev,
	.pjs-pf-pagination .pjs-pf-page-next {
		font-size: 0;
	}

	.pjs-pf-pagination .pjs-pf-page-prev::before {
		content: "‹";
		font-size: 20px;
	}

	.pjs-pf-pagination .pjs-pf-page-next::before {
		content: "›";
		font-size: 20px;
	}
}

/* --- Dark mode (neutral greys + amber accent, matching Last Chance) --- */

@media (prefers-color-scheme: dark) {
	.pjs-pf,
	.pjs-pf-pagination,
	.pjs-pf-grid-status {
		--pjs-pf-bg: #1e1e1e;
		--pjs-pf-surface: #2a2a2a;
		--pjs-pf-surface-strong: #333333;
		--pjs-pf-text: #e2e8f0;
		--pjs-pf-muted: #94a3b8;
		--pjs-pf-label: #9ca3af;
		--pjs-pf-border: #333333;
		--pjs-pf-accent: #f59e0b;
		--pjs-pf-accent-hover: #fbbf24;
		--pjs-pf-accent-soft: #78350f;
		--pjs-pf-accent-text: #fde68a;
		--pjs-pf-danger: #ff928a;
		--pjs-pf-danger-soft: #3a2022;
		--pjs-pf-focus: 0 0 0 3px rgba(245, 158, 11, 0.3);
		color-scheme: dark;
	}
}

.dark .pjs-pf,
.dark .pjs-pf-pagination,
.dark .pjs-pf-grid-status,
[data-theme="dark"] .pjs-pf,
[data-theme="dark"] .pjs-pf-pagination,
[data-theme="dark"] .pjs-pf-grid-status {
	--pjs-pf-bg: #1e1e1e;
	--pjs-pf-surface: #2a2a2a;
	--pjs-pf-surface-strong: #333333;
	--pjs-pf-text: #e2e8f0;
	--pjs-pf-muted: #94a3b8;
	--pjs-pf-label: #9ca3af;
	--pjs-pf-border: #333333;
	--pjs-pf-accent: #f59e0b;
	--pjs-pf-accent-hover: #fbbf24;
	--pjs-pf-accent-soft: #78350f;
	--pjs-pf-accent-text: #fde68a;
	--pjs-pf-danger: #ff928a;
	--pjs-pf-danger-soft: #3a2022;
	--pjs-pf-focus: 0 0 0 3px rgba(245, 158, 11, 0.3);
	color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
	.pjs-pf *,
	.pjs-pf *::before,
	.pjs-pf *::after,
	.pjs-pf-products-loading {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
