:root {
	--wfp-border: #e8edf4;
	--wfp-surface: #ffffff;
	--wfp-text: #14213d;
	--wfp-muted: #7f8aa3;
	--wfp-accent: #121a2f;
	--wfp-accent-contrast: #ffffff;
	--wfp-primary: #1976e8;
	--wfp-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
	--wfp-radius: 14px;
	--wfp-gap: 12px;
}

.widget-area .wfp-filter-form--desktop {
	display: block;
}

.wfp-mobile-inject {
	display: none;
	margin: 0 0 20px;
}

.wfp-mobile-trigger,
.wfp-mobile-drawer,
.wfp-mobile-overlay {
	display: none;
}

button.wfp-mobile-trigger,
button.wfp-mobile-drawer__close,
button.wfp-price-range__handle {
	-webkit-appearance: none;
	appearance: none;
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	min-width: 0;
	min-height: 0;
}

.wfp-filter-form {
	display: block;
	width: 100%;
	background: var(--wfp-surface);
	border: 1px solid var(--wfp-border);
	border-radius: var(--wfp-radius);
	box-shadow: var(--wfp-shadow);
	padding: 20px;
}

.wfp-filter-form__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	padding-bottom: 8px;
	min-height: 36px;
	border-bottom: 1px solid var(--wfp-border);
}

.wfp-filter-form__title {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.2;
	color: var(--wfp-text);
}

.wfp-clear-all-inline {
	border: 0;
	background: transparent !important;
	color: var(--wfp-muted);
	font-size: 12px;
	font-weight: 600;
	padding: 0;
	line-height: 1;
	white-space: nowrap;
	flex-shrink: 0;
	cursor: pointer;
	box-shadow: none;
}

.wfp-filter-groups {
	display: grid;
	gap: var(--wfp-gap);
}

.wfp-filter-group {
	border: 1px solid var(--wfp-border);
	border-radius: 12px;
	background: #ffffff;
	overflow: visible; /* required: slider handles must not be clipped */
}


/* ── Inter-section separator ─────────────────────────────────────────────── */
/* border-bottom on each .wfp-filter-group card = line BETWEEN sections,     */
/* never inside a section. Last card has no bottom separator.                  */
.wfp-filter-groups .wfp-filter-group {
	border-bottom: 1px solid #e8e8e8;
}

.wfp-filter-groups .wfp-filter-group:last-child {
	border-bottom: 1px solid var(--wfp-border); /* restore native card border */
}

.wfp-filter-group__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	border: 0;
	background: transparent;
	padding: 14px 14px 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--wfp-text);
	cursor: pointer;
	text-align: left;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	border-radius: 0;
}

.wfp-filter-group__toggle::after {
	content: "+";
	font-size: 20px;
	line-height: 1;
}

.wfp-filter-group.is-open .wfp-filter-group__toggle::after {
	content: "\2212";
}

.wfp-filter-group__body {
	padding: 0 14px 14px;
}

.wfp-term-list,
.wfp-choice-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.wfp-term-list .wfp-term-list {
	margin-top: 10px;
	padding-left: 16px;
	border-left: 1px solid var(--wfp-border);
}

.wfp-choice {
	display: block;
}

.wfp-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.wfp-choice__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	border: 1px solid var(--wfp-border);
	border-radius: 999px;
	background: #fff;
	color: var(--wfp-text);
	transition: all 0.2s ease;
	cursor: pointer;
}

.wfp-choice input:checked + .wfp-choice__content {
	background: var(--wfp-accent);
	color: var(--wfp-accent-contrast);
	border-color: var(--wfp-accent);
}

.wfp-choice__count {
	font-size: 12px;
	line-height: 1;
	color: var(--wfp-muted);
	background: #f6f8fb;
	border-radius: 999px;
	padding: 4px 8px;
}

.wfp-filter-group__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px 10px;
}

.wfp-filter-group__heading {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--wfp-text);
}

.wfp-filter-group__head + .wfp-filter-group__body {
	padding-top: 0;
}

.wfp-category-global-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid var(--wfp-primary);
	border-radius: 8px;
	background: var(--wfp-primary) !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.wfp-category-global-toggle:hover {
	border-color: var(--wfp-primary);
	background: #1669cf !important;
}

.wfp-category-tree {
	display: block;
}

.wfp-category-tree.is-collapsed {
	display: none;
}

.wfp-category-tree .wfp-term-list .wfp-term-list {
	margin-top: 0;
	padding-left: 0;
	border-left: 0;
}

.wfp-term-list--root {
	gap: 0;
}

.wfp-category-node {
	display: grid;
	gap: 1px;
}

.wfp-category-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 6px;
}

.wfp-category-option {
	display: block;
	min-width: 0;
}

.wfp-category-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.wfp-category-option__content {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
	padding: 4px 0;
	color: var(--wfp-text);
	cursor: pointer;
	transition: color 0.18s ease;
}

.wfp-category-option__label {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14px;
	line-height: 1.28;
	color: inherit;
}

.wfp-category-option__count {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	padding: 2px 7px;
	border: 1px solid var(--wfp-border);
	border-radius: 999px;
	font-size: 11px;
	line-height: 1;
	color: var(--wfp-muted);
	background: #fff;
}

.wfp-category-option input:checked + .wfp-category-option__content {
	color: var(--wfp-primary);
	font-weight: 600;
}

.wfp-category-option input:checked + .wfp-category-option__content .wfp-category-option__count {
	border-color: rgba(25, 118, 232, 0.22);
	background: rgba(25, 118, 232, 0.08);
	color: var(--wfp-primary);
}

.wfp-category-toggle {
	position: relative;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.wfp-category-toggle::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid var(--wfp-muted);
	border-bottom: 1.5px solid var(--wfp-muted);
	transform: translate(-50%, -60%) rotate(45deg);
	transition: transform 0.2s ease;
}

.wfp-category-node.is-open > .wfp-category-row .wfp-category-toggle::before {
	transform: translate(-50%, -35%) rotate(225deg);
}

.wfp-category-children {
	display: none;
	padding-left: 10px;
	margin-left: 4px;
	border-left: 1px solid rgba(20, 33, 61, 0.08);
}

.wfp-category-node.is-open > .wfp-category-children {
	display: block;
}

.wfp-category-children .wfp-term-list {
	gap: 0;
}

.wfp-category-children .wfp-category-option__label {
	font-size: 13px;
	color: #566178;
}

.wfp-category-children .wfp-category-option input:checked + .wfp-category-option__content .wfp-category-option__label {
	color: var(--wfp-primary);
}

.wfp-stock-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.wfp-stock-option {
	display: block;
}

.wfp-stock-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.wfp-stock-option__content {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	color: var(--wfp-text);
	cursor: pointer;
}

.wfp-stock-option__box {
	position: relative;
	width: 16px;
	height: 16px;
	border: 1.5px solid #c7d1e0;
	border-radius: 4px;
	background: #fff;
	flex-shrink: 0;
}

.wfp-stock-option__label {
	font-size: 14px;
	line-height: 1.3;
	color: inherit;
}

.wfp-stock-option input:checked + .wfp-stock-option__content {
	color: var(--wfp-primary);
	font-weight: 600;
}

.wfp-stock-option input:checked + .wfp-stock-option__content .wfp-stock-option__box {
	border-color: var(--wfp-primary);
	background: rgba(25, 118, 232, 0.08);
}

.wfp-stock-option input:checked + .wfp-stock-option__content .wfp-stock-option__box::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border-right: 2px solid var(--wfp-primary);
	border-bottom: 2px solid var(--wfp-primary);
	transform: rotate(45deg);
}

.wfp-brand-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.wfp-brand-option {
	display: block;
}

.wfp-brand-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.wfp-brand-option__content {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	color: var(--wfp-text);
	cursor: pointer;
}

.wfp-brand-option__media {
	width: 34px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wfp-brand-option__media img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.wfp-brand-option__fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f3f6fb;
	color: var(--wfp-muted);
	font-size: 11px;
	font-weight: 700;
}

.wfp-brand-option__label {
	min-width: 0;
	font-size: 14px;
	line-height: 1.35;
}

.wfp-brand-option__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	padding: 3px 8px;
	border: 1px solid var(--wfp-border);
	border-radius: 999px;
	font-size: 11px;
	line-height: 1;
	color: var(--wfp-muted);
	background: #fff;
}

.wfp-brand-option input:checked + .wfp-brand-option__content .wfp-brand-option__label {
	color: var(--wfp-primary);
	font-weight: 600;
}

.wfp-brand-option input:checked + .wfp-brand-option__content .wfp-brand-option__count {
	border-color: rgba(25, 118, 232, 0.22);
	background: rgba(25, 118, 232, 0.08);
	color: var(--wfp-primary);
}

.wfp-swatch-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* ── Text-swatch chips (Option A — compact inline buttons) ───────────────── */
.wfp-text-swatch-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px 0 2px;
}

.wfp-text-swatch {
	display: inline-flex;
}

/* Hidden real checkbox — kept in DOM for form serialization */
.wfp-text-swatch input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
	height: 0;
}

/* Visible chip button */
.wfp-text-swatch__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	padding: 5px 12px;
	border: 1.5px solid var(--wfp-border);
	border-radius: 6px;
	background: #fff;
	color: var(--wfp-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
	user-select: none;
	transition:
		background 0.18s ease,
		border-color 0.18s ease,
		color 0.18s ease,
		box-shadow 0.18s ease;
}

.wfp-text-swatch__btn:hover {
	border-color: var(--wfp-primary);
	color: var(--wfp-primary);
}

/* Selected state — blue background + white text */
.wfp-text-swatch input[type="checkbox"]:checked + .wfp-text-swatch__btn,
.wfp-text-swatch__btn[aria-pressed="true"] {
	background: var(--wfp-primary);
	border-color: var(--wfp-primary);
	color: #fff;
	box-shadow: 0 2px 6px rgba(25, 118, 232, 0.30);
}


.wfp-swatch {
	display: inline-flex;
}

.wfp-swatch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.wfp-swatch__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px 6px 6px;
	border: 1px solid var(--wfp-border);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	transition: all 0.2s ease;
}

.wfp-swatch__dot {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.wfp-swatch input:checked + .wfp-swatch__chip {
	border-color: var(--wfp-accent);
	box-shadow: inset 0 0 0 1px var(--wfp-accent);
}

.wfp-price-range {
	display: grid;
	gap: 14px;
}

.wfp-price-range__slider-shell {
	position: relative;
	height: 28px;
	display: flex;
	align-items: center;
	touch-action: none;
	/* Extra horizontal space so handles are never clipped at the track edges.
	   Use padding only — NO negative margin (negative margin causes lateral
	   shift of the whole filter panel on mobile). */
	padding: 0 10px;
	box-sizing: content-box;
}


.wfp-price-range__track,
.wfp-price-range__progress {
	position: absolute;
	left: 0;
	right: 0;
	height: 4px;
	border-radius: 999px;
	top: 50%;
	transform: translateY(-50%);
}

.wfp-price-range__track {
	background: #d6dbe4;
}

.wfp-price-range__progress {
	left: var(--wfp-range-start, 0%);
	right: calc(100% - var(--wfp-range-end, 100%));
	background: #1b2438;
	height: 8px;
}

.wfp-price-range__handle {
	position: absolute;
	left: var(--wfp-handle-left, 0%);
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	margin-left: -9px;
	border-radius: 50%;
	border: 3px solid #1d79ef !important;
	background: #ffffff !important;
	box-shadow: 0 2px 8px rgba(29, 121, 239, 0.22);
	cursor: grab;
	padding: 0 !important;
	z-index: 2;
	font-size: 0;
	line-height: 0;
	color: transparent;
	touch-action: none;
}

.wfp-price-range__handle::before {
	content: "";
	position: absolute;
	inset: -10px;
}

.wfp-price-range__handle:focus-visible {
	outline: 2px solid rgba(29, 121, 239, 0.35);
	outline-offset: 3px;
}

.wfp-price-range__handle.is-dragging {
	cursor: grabbing;
}

.wfp-price-range__handle[data-role="max-handle"] {
	left: var(--wfp-handle-right, 100%);
}

.wfp-price-range__values {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	font-weight: 700;
	color: var(--wfp-text);
}

.wfp-price-range__values span {
	min-width: 48px;
}

.wfp-active-filters-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 18px;
}

.wfp-active-filters-wrap.is-empty {
	display: none;
}

.wfp-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wfp-filter-chip,
.wfp-clear-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--wfp-border);
	border-radius: 999px;
	background: #fff;
	color: var(--wfp-text);
	cursor: pointer;
	font-size: 13px;
}

.wfp-filter-chip__remove {
	font-size: 16px;
	line-height: 1;
}

.wfp-grid-loading {
	position: relative;
	pointer-events: none;
}

.wfp-grid-loading::after {
	content: attr(data-wfp-loading);
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.76);
	color: var(--wfp-text);
	font-weight: 700;
}

.widget-area .widget {
	margin-bottom: 24px;
}

.wfp-widget-shell .widget-title {
	display: none;
}

.wfp-mobile-drawer__header {
	display: none;
}

footer#colophon,
footer.site-footer {
	display: block !important;
	width: 100% !important;
	float: none !important;
	clear: both !important;
	position: relative !important;
}

@media (min-width: 769px) {
	.wfp-filter-form--mobile {
		display: none;
	}

	.wfp-filter-group__toggle {
		cursor: default;
	}

	.wfp-filter-group__toggle::after {
		display: none;
	}
}

@media (max-width: 768px) {
	.widget-area .wfp-filter-form--desktop,
	#secondary .wfp-widget-shell {
		display: none !important;
	}

	.wfp-mobile-inject {
		display: block;
		position: relative;
	}

	body.wfp-mobile-drawer-open {
		overflow: hidden;
	}

	.wfp-mobile-trigger {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		width: 100%;
		padding: 12px 0;
		border: 0;
		border-top: 1px solid var(--wfp-border);
		border-bottom: 1px solid var(--wfp-border);
		background: transparent;
		color: var(--wfp-muted);
		font-size: 14px;
		font-weight: 600;
		text-align: left;
		cursor: pointer;
		-webkit-appearance: none;
		appearance: none;
		box-shadow: none;
		border-radius: 0;
	}

	.wfp-mobile-trigger__icon {
		font-size: 15px;
		line-height: 1;
	}

	.wfp-mobile-inject.is-open .wfp-mobile-trigger {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.wfp-mobile-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(18, 26, 47, 0.34);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s ease, visibility 0.25s ease;
		z-index: 9998;
	}

	.wfp-mobile-drawer {
		display: block;
		position: fixed;
		inset: 0 auto 0 0;
		width: min(88vw, 360px);
		height: 100vh;
		padding: 0;
		background: #ffffff;
		box-shadow: 18px 0 40px rgba(15, 23, 42, 0.18);
		transform: translateX(-100%);
		transition: transform 0.28s ease;
		z-index: 9999;
		overflow-y: auto;
		padding-bottom: env(safe-area-inset-bottom, 0);
	}

	.wfp-mobile-inject.is-open .wfp-mobile-overlay {
		opacity: 1;
		visibility: visible;
	}

	.wfp-mobile-inject.is-open .wfp-mobile-drawer {
		transform: translateX(0);
	}

	.wfp-filter-form--mobile {
		display: block;
		min-height: 100%;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		width: 100%;
		max-width: 100%;
		overflow-x: hidden; /* prevent lateral shift on mobile touch */

		padding: 0 0 calc(44px + env(safe-area-inset-bottom, 0));
	}

	.wfp-mobile-drawer__header {
		display: flex;
		justify-content: flex-end;
		padding: 14px 18px;
		border-bottom: 1px solid var(--wfp-border);
	}

	.wfp-mobile-drawer__close {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		border: 0;
		background: transparent;
		color: var(--wfp-text);
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
		-webkit-appearance: none;
		appearance: none;
		box-shadow: none;
		border-radius: 0;
	}

	.wfp-filter-form--mobile .wfp-filter-form__header {
		padding: 14px 18px 8px;
		margin-bottom: 8px;
	}

	.wfp-filter-form--mobile .wfp-filter-groups {
		padding: 0 18px;
		gap: 12px;
		padding-bottom: calc(36px + env(safe-area-inset-bottom, 0));
	}

	.wfp-filter-form--mobile .wfp-filter-group {
		border: 0;
		border-radius: 0;
		background: transparent;
		/* Re-add the inter-section separator (border:0 above removes it) */
		border-bottom: 1px solid #e8e8e8;
	}

	.wfp-filter-form--mobile .wfp-filter-group:last-child {
		border-bottom: 0;
	}


	.wfp-filter-form--mobile .wfp-filter-group__toggle {
		padding: 0 0 12px;
		font-size: 16px;
		cursor: default;
	}

	.wfp-filter-form--mobile .wfp-filter-group__toggle::after {
		display: none;
	}

	.wfp-filter-form--mobile .wfp-filter-group__body {
		padding: 0;
	}

	.wfp-filter-form--mobile .wfp-price-range {
		gap: 12px;
	}

	.wfp-filter-form--mobile .wfp-field input {
		border-radius: 4px;
	}

	.wfp-filter-form--mobile .wfp-choice__content {
		border-radius: 6px;
		padding: 10px 12px;
	}

	.wfp-filter-form--mobile .wfp-term-list,
	.wfp-filter-form--mobile .wfp-choice-list {
		gap: 8px;
	}

	.wfp-filter-form--mobile .wfp-filter-group__head {
		padding: 0 0 8px;
	}

	.wfp-filter-form--mobile .wfp-filter-group__heading {
		font-size: 16px;
	}

	.wfp-filter-form--mobile .wfp-category-global-toggle {
		width: 22px;
		height: 22px;
	}

	.wfp-filter-form--mobile .wfp-category-option__content,
	.wfp-filter-form--mobile .wfp-brand-option__content {
		padding: 5px 0;
	}

	.wfp-filter-form--mobile .wfp-category-children {
		padding-left: 8px;
		margin-left: 3px;
	}

	.wfp-filter-form--mobile .wfp-brand-option__content {
		grid-template-columns: 32px minmax(0, 1fr) auto;
		gap: 8px;
	}

	.wfp-filter-form--mobile .wfp-stock-option__content {
		padding: 4px 0;
	}
}

@keyframes wfp-slide-down {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

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

/* ────────────────────────────────────────────────────────────
   Toggle Switch — On Sale & Featured
   ──────────────────────────────────────────────────────────── */

.wfp-toggle-block {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	padding: 2px 0;
}

.wfp-toggle-block__label {
	font-size: 14px;
	color: var(--wfp-text);
	line-height: 1.35;
	flex: 1 1 auto;
	min-width: 0;
}

.wfp-toggle-wrap {
	flex-shrink: 0;
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.wfp-toggle-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.wfp-toggle-thumb {
	display: block;
	width: 44px;
	height: 24px;
	background: #c5cdd9;
	border-radius: 100px;
	position: relative;
	transition: background 0.25s ease;
	cursor: pointer;
}

.wfp-toggle-thumb::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
	transition: transform 0.25s ease;
}

.wfp-toggle-input:checked + .wfp-toggle-thumb {
	background: var(--wfp-primary);
}

.wfp-toggle-input:checked + .wfp-toggle-thumb::after {
	transform: translateX(20px);
}

.wfp-toggle-input:focus-visible + .wfp-toggle-thumb {
	outline: 2px solid rgba(25, 118, 232, 0.5);
	outline-offset: 2px;
}

/* ────────────────────────────────────────────────────────────
   Sort By Select
   ──────────────────────────────────────────────────────────── */

.wfp-sortby-select {
	display: block;
	width: 100%;
	padding: 10px 14px;
	font-size: 14px;
	color: var(--wfp-text);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237f8aa3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
	border: 1px solid var(--wfp-border);
	border-radius: 10px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.wfp-sortby-select:focus {
	outline: none;
	border-color: #b9c6da;
	box-shadow: 0 0 0 3px rgba(25, 118, 232, 0.1);
}

/* ────────────────────────────────────────────────────────────
   Star Rating
   ──────────────────────────────────────────────────────────── */

.wfp-rating-list .wfp-choice__label {
	display: flex;
	align-items: center;
	gap: 6px;
}

.wfp-stars {
	display: inline-block;
	font-size: 15px;
	letter-spacing: 1px;
	color: #d4d4d4;
	line-height: 1;
	transition: color 0.15s ease;
}

.wfp-stars-text {
	font-size: 13px;
	color: var(--wfp-muted);
}

.wfp-choice input:checked + .wfp-choice__content .wfp-stars {
	color: #f4b400;
}

.wfp-choice input:checked + .wfp-choice__content .wfp-stars-text {
	color: var(--wfp-accent);
	font-weight: 600;
}

.wfp-choice--rating:hover .wfp-stars {
	color: #f4b400;
}

/* ────────────────────────────────────────────────────────────
   Swatch — admin color enhancements
   ──────────────────────────────────────────────────────────── */

.wfp-swatch__dot {
	/* Color set via inline style from get_swatch_style() */
	border: 1.5px solid rgba(0, 0, 0, 0.1);
	transition: outline 0.15s ease, outline-offset 0.15s ease;
}

.wfp-swatch input:checked + .wfp-swatch__chip .wfp-swatch__dot {
	outline: 2.5px solid var(--wfp-accent);
	outline-offset: 2px;
}

@media (max-width: 768px) {
	.wfp-show-more-btn {
		font-size: 14px;
	}

	.wfp-toggle-block {
		padding: 4px 0;
	}

	.wfp-sortby-select {
		padding: 12px 14px;
	}
}

