.widget_fp_product_filtering,
.fppf,
.fppf * {
	box-sizing: border-box;
}

.widget_fp_product_filtering,
.fppf,
.fppf__form {
	min-width: 0;
	width: 100%;
}

.fppf {
	font-size: 14px;
	line-height: 1.5;
	color: #202124;
}

.fppf__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 0 12px;
	border-bottom: 2px solid var(--fppf-accent);
}

.fppf__heading-title,
.fppf__heading-actions {
	display: flex;
	align-items: center;
}

.fppf__heading-title {
	gap: 9px;
	min-width: 0;
}

.fppf__heading-actions {
	flex: 0 0 auto;
	gap: 10px;
}

.fppf__heading-title > svg {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--fppf-accent);
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.fppf__heading h2 {
	margin: 0;
	overflow: hidden;
	font-size: 20px;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fppf__reset {
	color: var(--fppf-accent);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fppf__drawer-close {
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #202124;
}

.fppf__drawer-close svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
}

.fppf__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 10px;
	border: 1px solid #dce1e6;
	border-color: color-mix(in srgb, var(--fppf-accent) 24%, #dce1e6);
	border-radius: 8px;
	background: #f5f7f9;
	background: color-mix(in srgb, var(--fppf-accent) 7%, white);
}

.fppf__chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 6px 10px;
	border: 1px solid #d7dde3;
	border-radius: 999px;
	background: #fff;
	color: #202124;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.fppf__chip:hover {
	border-color: var(--fppf-accent);
	color: var(--fppf-accent);
}

.fppf__chip span[aria-hidden] {
	font-size: 19px;
	line-height: 1;
}

.fppf__group {
	display: block;
	float: none;
	width: 100%;
	max-width: 100%;
	min-inline-size: 0;
	margin: 0;
	padding: 18px 0;
	overflow: visible;
	border: 0;
	border-bottom: 1px solid #dde1e5;
}

.fppf__group legend {
	display: block;
	float: none;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 0 9px;
	overflow: visible;
	color: #202124;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	text-indent: 0;
}

#secondary .fppf .fppf__group > legend {
	position: static !important;
	inset: auto !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 0 9px !important;
	transform: none !important;
	text-indent: 0 !important;
}

.fppf select,
.fppf input[type="search"],
.fppf input[type="number"] {
	display: block;
	width: 100%;
	min-height: 46px;
	margin: 0 !important;
	border: 1px solid #aeb4ba;
	border-radius: 6px;
	background-color: #fff;
	color: #202124;
	font-family: inherit;
	font-size: 14px;
	line-height: normal !important;
	text-indent: 0;
}

.fppf select {
	height: 46px !important;
	padding: 10px 34px 10px 12px !important;
	overflow: visible !important;
	text-overflow: ellipsis;
}

.fppf input[type="search"],
.fppf input[type="number"] {
	padding: 10px 12px !important;
}

.fppf select:focus-visible,
.fppf input:focus-visible,
.fppf button:focus-visible,
.fppf a:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--fppf-accent) 35%, white);
	outline-offset: 2px;
}

.fppf__options {
	display: grid;
	gap: 2px;
}

.fppf__options label {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 6px 2px;
	cursor: pointer;
}

.fppf__options input {
	width: 20px;
	height: 20px;
	accent-color: var(--fppf-accent);
}

.fppf__options small {
	color: #5f6368;
	font-size: 12px;
}

.fppf__more {
	min-height: 44px;
	padding: 8px 0;
	border: 0;
	background: transparent;
	color: var(--fppf-accent);
	font-weight: 700;
	text-align: left;
}

.fppf__price > div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: end;
	gap: 8px;
}

.fppf__price label {
	min-width: 0;
	color: #5f6368;
	font-size: 12px;
	line-height: 1.4;
}

.fppf__price input {
	margin-top: 4px !important;
}

.fppf__apply {
	width: 100%;
	min-height: 48px;
	margin-top: 18px;
	border: 0;
	border-radius: 6px;
	background: var(--fppf-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.fppf__apply:disabled {
	cursor: wait;
	opacity: .68;
}

.fppf-search {
	position: relative;
}

.fppf-search__results {
	position: absolute;
	z-index: 30;
	top: calc(100% + 4px);
	right: 0;
	left: 0;
	max-height: 280px;
	overflow: auto;
	border: 1px solid #aeb4ba;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(32, 33, 36, .16);
}

.fppf-search__results button {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	padding: 9px 11px;
	border: 0;
	border-bottom: 1px solid #edf0f2;
	background: #fff;
	color: #202124;
	text-align: left;
}

.fppf-search__results button:hover,
.fppf-search__results button:focus {
	background: #f5f7f8;
}

.fppf-search__selected {
	margin-top: 8px;
	padding: 8px 10px;
	border: 1px solid #dce1e6;
	border-radius: 6px;
	background: #f5f7f9;
	background: color-mix(in srgb, var(--fppf-accent) 7%, white);
	font-weight: 700;
}

.fppf.is-loading .fppf-search input {
	background-image: linear-gradient(90deg, transparent, #edf0f2, transparent);
	background-size: 200% 100%;
	animation: fppf-load 1s linear infinite;
}

.fppf.is-updating {
	cursor: progress;
	opacity: .68 !important;
	pointer-events: none;
	transition: opacity 180ms cubic-bezier(.16, 1, .3, 1);
}

.site-main.fppf-results-loading {
	cursor: progress;
	pointer-events: none;
}

.site-main.fppf-results-loading > * {
	opacity: .28 !important;
	filter: saturate(.72) !important;
	transition: opacity 180ms cubic-bezier(.16, 1, .3, 1), filter 180ms cubic-bezier(.16, 1, .3, 1);
}

.fppf-loader[hidden] {
	display: none !important;
}

.fppf-loader {
	position: fixed;
	z-index: 100100;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	gap: 12px;
	width: max-content;
	max-width: calc(100vw - 32px);
	padding: 14px 18px;
	transform: translate(-50%, -50%);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(16, 24, 40, .22);
	color: #202124;
	pointer-events: none;
	animation: fppf-loader-in 220ms cubic-bezier(.16, 1, .3, 1) both;
}

.fppf-loader__spinner {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border: 3px solid color-mix(in srgb, var(--fppf-loader-accent) 18%, #e4e7eb);
	border-top-color: var(--fppf-loader-accent);
	border-radius: 50%;
	animation: fppf-spin 760ms linear infinite;
}

.fppf-loader__copy {
	display: grid;
	gap: 2px;
	min-width: 0;
	max-width: min(300px, calc(100vw - 104px));
	line-height: 1.35;
}

.fppf-loader__copy strong {
	overflow: hidden;
	font-size: 14px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fppf-loader__copy span {
	color: #5f6368;
	font-size: 12px;
}

@keyframes fppf-load {
	to { background-position: -200% 0; }
}

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

@keyframes fppf-loader-in {
	from {
		opacity: 0;
		transform: translate(-50%, -48%) scale(.96);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

@media (max-width: 992px) {
	body.woocommerce.archive.fppf-filtering-available #secondary,
	body.wc-active.search-results.fppf-filtering-available #secondary,
	body.page-template-template-woocommerce-archives.fppf-filtering-available #secondary {
		left: -100vw !important;
		width: min(360px, calc(100vw - 52px)) !important;
		padding: 0 24px 24px !important;
	}

	body.woocommerce.archive.fppf-filtering-available.filter-open #secondary,
	body.wc-active.search-results.fppf-filtering-available.filter-open #secondary,
	body.page-template-template-woocommerce-archives.fppf-filtering-available.filter-open #secondary {
		left: 0 !important;
	}

	body.fppf-filtering-available.filter-open .filters.close-drawer {
		display: none !important;
	}

	.fppf {
		padding: 0 0 24px;
	}

	.fppf__heading {
		position: sticky;
		top: 0;
		z-index: 5;
		width: calc(100% + 48px);
		margin: 0 -24px;
		padding: 14px 16px 14px 24px;
		border-bottom: 1px solid #dce1e6;
		border-bottom-color: color-mix(in srgb, var(--fppf-accent) 22%, #dce1e6);
		background: #f5f7f9;
		background: color-mix(in srgb, var(--fppf-accent) 7%, white);
	}

	.fppf__heading-title {
		gap: 10px;
	}

	.fppf__heading-title > svg {
		width: 22px;
		height: 22px;
	}

	.fppf__heading h2 {
		font-size: 18px;
	}

	.fppf__drawer-close {
		display: grid;
		margin: -6px 0 -6px 2px;
	}

	.fppf__drawer-close:hover,
	.fppf__drawer-close:focus-visible {
		background: #fff;
	}

	.fppf__chips {
		margin-top: 16px;
	}

	.fppf__form > .fppf__group:first-of-type {
		padding-top: 16px;
	}

	.fppf select,
	.fppf input[type="search"],
	.fppf input[type="number"] {
		min-height: 50px;
		font-size: 16px;
	}

	.fppf select {
		height: 50px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.fppf__apply {
		position: sticky;
		z-index: 4;
		bottom: max(12px, env(safe-area-inset-bottom));
		min-height: 54px;
		border-radius: 10px;
		box-shadow: 0 10px 28px rgba(16, 24, 40, .2);
	}
}

@media (prefers-reduced-motion: reduce) {
	.fppf *,
	.fppf.is-updating,
	.site-main.fppf-results-loading,
	.site-main.fppf-results-loading > *,
	.fppf-loader,
	.fppf-loader__spinner {
		animation: none !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
