:root {
	--fonu-filter-accent: #ffcc00;
	--fonu-filter-ink: #212121;
	--fonu-filter-muted: #62676d;
	--fonu-filter-border: #dfe2e5;
	--fonu-filter-surface: #ffffff;
	--fonu-filter-soft: #f6f7f8;
	--fonu-filter-success: #2e7d32;
	--fonu-filter-danger: #b42318;
	--fonu-filter-focus: rgb(255 204 0 / 42%);
}

.fonu-product-toolbar {
	align-items: center;
	background: var(--fonu-filter-surface);
	border: 1px solid var(--fonu-filter-border);
	border-radius: 8px;
	box-sizing: border-box;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin: 12px 0 16px;
	min-height: 64px;
	padding: 10px 12px 10px 16px;
	width: 100%;
}

.shop-loop-before > .short_intro {
	box-sizing: border-box;
	padding-left: 1px;
	width: 100%;
}

.fonu-product-toolbar__summary {
	align-items: baseline;
	color: var(--fonu-filter-ink);
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 4px 7px;
	line-height: 1.3;
	min-width: 0;
}

.fonu-product-toolbar__count {
	font-size: 14px;
	font-weight: 800;
}

.fonu-product-toolbar__context {
	color: var(--fonu-filter-muted);
	font-size: 13px;
	overflow-wrap: anywhere;
}

.fonu-product-toolbar__actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
	justify-content: flex-end;
	margin-left: auto;
	min-width: 0;
}

.fonu-product-toolbar__filter-toggle {
	display: none;
}

.sidebar-overlay[data-fonu-filter-overlay] {
	display: none;
}

.fonu-product-toolbar__ordering {
	align-items: center;
	display: flex;
	gap: 9px;
	margin: 0;
	width: auto;
}

.fonu-product-toolbar__sort-label {
	color: var(--fonu-filter-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	margin: 0;
	white-space: nowrap;
}

.fonu-product-toolbar .orderby,
.fonu-product-toolbar__category-select select {
	appearance: none;
	background-color: var(--fonu-filter-surface);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212121' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6'/%3E%3C/svg%3E");
	background-position: right 11px center;
	background-repeat: no-repeat;
	background-size: 14px 14px;
	border: 1px solid #8c9298;
	border-radius: 6px;
	box-shadow: none;
	color: var(--fonu-filter-ink);
	color-scheme: light;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	min-height: 44px;
	min-width: 170px;
	padding: 8px 34px 8px 11px;
}

.fonu-product-toolbar .orderby:hover,
.fonu-product-toolbar__category-select select:hover {
	background-color: var(--fonu-filter-soft);
	border-color: #555b61;
}

.fonu-product-toolbar .orderby option,
.fonu-product-toolbar__category-select select option {
	background: var(--fonu-filter-surface);
	color: var(--fonu-filter-ink);
	font-size: 14px;
	font-weight: 400;
}

.fonu-product-toolbar .orderby {
	background-position: calc(50% + 52px) calc(50% - 1px);
	height: 44px;
	padding-bottom: 0;
	padding-left: 18px;
	padding-top: 0;
	text-align: center;
	text-align-last: center;
}

.fonu-product-toolbar .orderby:has(option[value="date"]:checked) {
	background-position: calc(50% + 37px) calc(50% - 1px);
}

.fonu-product-toolbar .orderby option {
	text-align: left;
}

.fonu-product-toolbar__category-select select:disabled {
	background-color: #f1f2f3;
	color: #6b7075;
	cursor: not-allowed;
}

.fonu-product-toolbar__ordering::before,
.fonu-product-toolbar__ordering::after {
	content: none !important;
	display: none !important;
}

.fonu-product-toolbar .orderby:focus-visible,
.fonu-product-toolbar__category-select select:focus-visible,
.fonu-product-toolbar button:focus-visible,
.fonu-filter-panel button:focus-visible,
.fonu-filter-panel input:focus-visible,
.fonu-filter-panel summary:focus-visible {
	box-shadow: 0 0 0 3px var(--fonu-filter-focus);
	outline: 2px solid var(--fonu-filter-ink);
	outline-offset: 2px;
}

.fonu-product-toolbar__category-select {
	min-width: min(420px, 100%);
}

.fonu-device-picker {
	align-items: center;
	display: grid;
	gap: 8px 12px;
	grid-template-columns: max-content minmax(0, 1fr);
	width: 100%;
}

.fonu-device-picker__label {
	color: var(--fonu-filter-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.fonu-device-picker select {
	min-width: 0;
	text-overflow: ellipsis;
	width: 100%;
}

.fonu-filter-panel__clear {
	background: transparent;
	border: 0;
	color: #464b50;
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	min-height: 36px;
	padding: 6px 4px;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.fonu-filter-panel__clear:hover {
	color: #000000;
}

.fonu-filter-feedback {
	align-items: center;
	background: #fff5f3;
	border: 1px solid #f1b5ad;
	border-radius: 6px;
	color: #7a271a;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	gap: 12px;
	justify-content: space-between;
	margin: -4px 0 16px;
	padding: 10px 12px;
}

.fonu-filter-feedback[hidden] {
	display: none;
}

.fonu-filter-feedback button {
	background: var(--fonu-filter-surface);
	border: 1px solid #d98276;
	border-radius: 5px;
	color: #7a271a;
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	min-height: 36px;
	padding: 6px 10px;
	white-space: nowrap;
}

.fonu-filter-panel {
	box-sizing: border-box;
}

.fonu-filter-panel__header {
	align-items: center;
	border-bottom: 1px solid var(--fonu-filter-border);
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	padding: 0 0 13px;
}

.fonu-filter-panel__header-actions {
	align-items: center;
	display: flex;
	gap: 8px;
	margin-left: auto;
}

.fonu-filter-panel__active-count,
.fonu-filter-group__selected {
	align-items: center;
	background: var(--fonu-filter-accent);
	border-radius: 5px;
	color: var(--fonu-filter-ink);
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	height: 24px;
	justify-content: center;
	line-height: 1;
	min-width: 24px;
	padding: 0 7px;
}

.fonu-product-toolbar__filter-count[hidden],
.fonu-filter-panel__active-count[hidden],
.fonu-filter-group__selected[hidden],
.fonu-filter-panel__clear[hidden],
.fonu-filter-panel__footer-clear[hidden] {
	display: none !important;
}

.fonu-filter-panel__close {
	align-items: center;
	background: transparent;
	border: 1px solid var(--fonu-filter-border);
	border-radius: 6px;
	color: var(--fonu-filter-ink);
	cursor: pointer;
	display: none;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

.fonu-filter-panel__close svg {
	fill: currentColor;
	height: 22px;
	width: 22px;
}

.fonu-filter-panel .sidebar-content {
	height: auto !important;
	padding: 0 !important;
}

.fonu-filter-panel .widget,
.fonu-filter-panel .widget_wpc_filters_widget,
.fonu-filter-panel .wpc-filters-main-wrap,
.fonu-filter-panel .wpc-filters-widget-wrapper {
	background: transparent;
	border: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
}

.fonu-filter-panel .wpc-filters-scroll-container {
	overflow: visible;
}

.fonu-filter-group {
	border-bottom: 1px solid var(--fonu-filter-border);
	margin: 0;
	padding: 0;
}

.fonu-filter-group:first-child {
	border-top: 0;
}

.fonu-filter-group__summary {
	align-items: center;
	color: var(--fonu-filter-ink);
	cursor: pointer;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto auto;
	list-style: none;
	min-height: 50px;
	padding: 3px 2px;
	user-select: none;
}

.fonu-filter-group__summary::-webkit-details-marker {
	display: none;
}

.fonu-filter-group__summary::marker {
	display: none;
}

.fonu-filter-group__summary:hover .wpc-filter-title {
	color: #000000;
}

.fonu-filter-group .widget-title,
.fonu-filter-group .wpc-filter-title {
	color: var(--fonu-filter-ink);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0;
	padding: 0;
}

.fonu-filter-group__chevron {
	fill: currentColor;
	height: 20px;
	transition: transform 160ms ease;
	width: 20px;
}

.fonu-filter-group[open] .fonu-filter-group__chevron {
	transform: rotate(180deg);
}

.fonu-filter-group .wpc-filter-content {
	padding: 0 0 9px;
}

.fonu-filter-group .wpc-filters-ul-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fonu-filter-group .wpc-term-item {
	margin: 0;
	padding: 0;
}

.fonu-filter-group .wpc-term-item.wpc-more-hidden {
	display: none;
}

.fonu-filter-group .wpc-term-item-content-wrapper {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 20px minmax(0, 1fr);
	min-height: 44px;
	position: relative;
}

.fonu-filter-group .wpc-attr-checkbox {
	appearance: none;
	background-color: var(--fonu-filter-surface);
	border: 1.5px solid #8c9298;
	border-radius: 4px;
	cursor: pointer;
	height: 20px;
	margin: 0;
	position: static;
	width: 20px;
}

.fonu-filter-group .wpc-attr-checkbox:checked {
	background-color: var(--fonu-filter-accent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23212121' d='m7.8 14.2-4-4 1.5-1.5 2.5 2.5 6.9-6.9 1.5 1.5z'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	border-color: #8b7000;
}

.fonu-filter-group .wpc-term-item-content-wrapper label {
	align-items: center;
	color: #34383c;
	cursor: pointer;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	line-height: 1.35;
	margin: 0;
	min-height: 44px;
	min-width: 0;
	padding: 5px 1px 5px 0;
	width: 100%;
}

.fonu-filter-group .wpc-filter-link {
	min-width: 0;
	overflow-wrap: anywhere;
}

.fonu-filter-group .wpc-term-count {
	color: var(--fonu-filter-muted);
	font-size: 12px;
	font-weight: 600;
	margin-left: auto;
	white-space: nowrap;
}

.fonu-filter-swatch {
	border: 1px solid rgb(0 0 0 / 18%);
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 65%);
	flex: 0 0 17px;
	height: 17px;
	width: 17px;
}

.fonu-filter-group .wpc-term-disabled {
	display: none;
}

.fonu-filter-group .wpc-see-more-control {
	align-items: center;
	background: transparent;
	border: 0;
	color: #34383c;
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	min-height: 44px;
	padding: 6px 2px;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.fonu-filter-panel__footer {
	display: none;
}

.fonu-filter-panel .sidebar-usps {
	display: none;
}

.archive-products {
	min-height: 180px;
	position: relative;
	transition: opacity 140ms ease;
}

.archive-products ul.products.products-container {
	justify-content: flex-start;
}

@media (max-width: 575px) {
	.archive-products ul.products.products-container {
		justify-content: center;
	}
}

.archive-products.is-filter-loading {
	opacity: 0.52;
	pointer-events: none;
}

.archive-products.is-filter-loading::after {
	animation: fonu-filter-spin 700ms linear infinite;
	background: var(--fonu-filter-surface);
	border: 3px solid #e1e4e7;
	border-radius: 50%;
	border-top-color: #8b7000;
	box-shadow: 0 1px 4px rgb(0 0 0 / 12%);
	content: '';
	height: 28px;
	position: absolute;
	right: 14px;
	top: 14px;
	width: 28px;
	z-index: 4;
}

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

@media (min-width: 992px) {
	.archive-products ul.products > li.product-col.product.type-product > .product-inner > .product-image {
		margin-left: auto;
		margin-right: auto;
	}

	.fonu-filter-panel {
		align-self: flex-start;
		border-right: 1px solid var(--fonu-filter-border);
		display: flex;
		flex-direction: column;
		max-height: calc(100vh - 32px);
		padding-right: 18px;
		position: sticky !important;
		top: 16px;
	}

	.admin-bar .fonu-filter-panel {
		max-height: calc(100vh - 64px);
		top: 48px;
	}

	.fonu-filter-panel .sidebar-content {
		overflow-x: hidden;
		overflow-y: auto;
		padding-right: 5px !important;
		scrollbar-color: #b7bcc1 transparent;
		scrollbar-width: thin;
	}
}

@media (max-width: 991px) {
	.archive-products ul.products.products-container {
		align-items: stretch;
	}

	.archive-products ul.products > li.product-col.product.type-product {
		display: flex;
	}

	.archive-products ul.products > li.product-col.product.type-product > .product-inner {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		min-width: 0;
		width: 100%;
	}

	.archive-products ul.products > li.product-col.product.type-product .product-content {
		min-width: 0;
	}

	.archive-products ul.products > li.product-col.product.type-product .product-loop-title {
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		display: -webkit-box;
		height: 3.6em;
		min-height: 3.6em;
		overflow: hidden;
	}

	.fonu-product-toolbar {
		align-items: stretch;
		flex-direction: column;
		gap: 9px;
		margin: 10px 0 14px;
		min-height: 0;
		padding: 11px;
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0px);
		z-index: 35;
	}

	.fonu-product-toolbar__summary {
		justify-content: space-between;
		width: 100%;
	}

	.fonu-product-toolbar__actions {
		align-items: stretch;
		display: grid;
		gap: 8px;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
		margin-left: 0;
		width: 100%;
	}

	.fonu-product-toolbar__filter-toggle {
		align-items: center;
		background: var(--fonu-filter-surface);
		border: 1px solid #8c9298;
		border-radius: 6px;
		box-shadow: none;
		color: var(--fonu-filter-ink);
		cursor: pointer;
		display: flex;
		font-size: 14px;
		font-weight: 700;
		gap: 7px;
		justify-content: center;
		min-height: 46px;
		padding: 0 11px;
		width: 100%;
	}

	.fonu-product-toolbar__filter-toggle:hover {
		background: var(--fonu-filter-soft);
		border-color: #555b61;
	}

	.fonu-product-toolbar .filter-toggler-icon {
		fill: none;
		height: 20px;
		margin: 0;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 2;
		width: 20px;
	}

	.fonu-product-toolbar__filter-count {
		align-items: center;
		background: rgb(33 33 33 / 10%);
		border: 1px solid rgb(33 33 33 / 30%);
		border-radius: 4px;
		color: var(--fonu-filter-ink);
		display: inline-flex;
		font-size: 11px;
		height: 22px;
		justify-content: center;
		min-width: 22px;
		padding: 0 5px;
	}

	.fonu-product-toolbar__ordering {
		display: block;
		width: 100%;
	}

	.fonu-product-toolbar__sort-label {
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.fonu-product-toolbar .orderby,
	.fonu-product-toolbar__category-select select {
		font-size: 14px;
		height: 46px;
		min-height: 46px;
		min-width: 0;
		text-overflow: ellipsis;
		width: 100%;
	}

	.fonu-product-toolbar__category-select {
		grid-column: 1 / -1;
		min-width: 0;
		width: 100%;
	}

	.fonu-product-toolbar__actions--device-picker .fonu-product-toolbar__filter-toggle {
		grid-column: 1 / -1;
	}

	body.fonu-filter-body-lock {
		overflow: hidden;
		position: fixed;
		width: 100%;
	}

	html.fonu-filter-sheet-open .page-wrapper,
	html.fonu-filter-sheet-open #main,
	html.fonu-filter-sheet-open .header-wrapper {
		left: 0 !important;
		transform: none !important;
	}

	.sidebar-overlay[data-fonu-filter-overlay] {
		appearance: none;
		background: rgb(25 27 29 / 58%);
		border: 0;
		bottom: 0;
		display: block !important;
		height: auto;
		left: 0;
		opacity: 0;
		padding: 0;
		pointer-events: none;
		position: fixed;
		right: 0;
		top: 0;
		transition: opacity 180ms ease;
		visibility: hidden;
		width: auto;
		z-index: 8998;
	}

	.sidebar-overlay[data-fonu-filter-overlay].is-active {
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
	}

	.fonu-filter-panel.mobile-sidebar {
		background: var(--fonu-filter-surface);
		border: 0;
		border-radius: 8px 8px 0 0;
		bottom: 0 !important;
		box-shadow: 0 -12px 36px rgb(0 0 0 / 22%);
		display: flex !important;
		flex-direction: column;
		height: min(90dvh, 760px) !important;
		left: 50% !important;
		margin: 0 !important;
		max-height: min(90dvh, 760px);
		max-width: 560px;
		overflow: hidden;
		padding: 0 !important;
		pointer-events: none;
		position: fixed !important;
		right: auto !important;
		top: auto !important;
		transform: translate3d(-50%, 102%, 0) !important;
		transition: transform 220ms ease;
		visibility: visible;
		width: 100% !important;
		z-index: 8999;
	}

	.fonu-filter-panel.mobile-sidebar.is-open {
		pointer-events: auto;
		transform: translate3d(-50%, 0, 0) !important;
	}

	.fonu-filter-panel__header {
		background: var(--fonu-filter-surface);
		flex: 0 0 auto;
		min-height: 64px;
		padding: 12px 14px;
	}

	.fonu-filter-panel__header .fonu-filter-panel__clear {
		display: none;
	}

	.fonu-filter-panel__close {
		display: inline-flex;
	}

	.fonu-filter-panel .sidebar-content {
		flex: 1 1 auto;
		overscroll-behavior: contain;
		overflow-x: hidden;
		overflow-y: auto;
		padding: 0 14px !important;
		-webkit-overflow-scrolling: touch;
	}

	.fonu-filter-group__summary {
		min-height: 54px;
	}

	.fonu-filter-group .wpc-term-item-content-wrapper,
	.fonu-filter-group .wpc-term-item-content-wrapper label {
		min-height: 48px;
	}

	.fonu-filter-panel__footer {
		align-items: center;
		background: var(--fonu-filter-surface);
		border-top: 1px solid var(--fonu-filter-border);
		display: grid;
		flex: 0 0 auto;
		gap: 9px;
		grid-template-columns: minmax(96px, auto) minmax(0, 1fr);
		padding: 11px 14px max(11px, env(safe-area-inset-bottom));
	}

	.fonu-filter-panel__footer-clear {
		background: var(--fonu-filter-surface);
		border: 1px solid #bdc2c7;
		border-radius: 6px;
		color: var(--fonu-filter-ink);
		cursor: pointer;
		font-size: 13px;
		font-weight: 800;
		min-height: 48px;
		padding: 8px 12px;
	}

	.fonu-filter-panel__apply {
		align-items: center;
		background: var(--fonu-filter-accent);
		border: 1px solid #c49d00;
		border-radius: 6px;
		color: var(--fonu-filter-ink);
		cursor: pointer;
		display: inline-flex;
		font-size: 14px;
		font-weight: 800;
		justify-content: center;
		min-height: 48px;
		padding: 9px 14px;
		position: relative;
	}

	.fonu-filter-panel__footer-clear[hidden] + .fonu-filter-panel__apply {
		grid-column: 1 / -1;
	}

	.fonu-filter-panel__apply:hover {
		background: #ffd633;
	}

	.fonu-filter-panel__apply.is-loading {
		cursor: wait;
		padding-right: 42px;
	}

	.fonu-filter-panel__apply.is-loading::after {
		animation: fonu-filter-spin 700ms linear infinite;
		border: 2px solid rgb(33 33 33 / 25%);
		border-radius: 50%;
		border-top-color: var(--fonu-filter-ink);
		content: '';
		height: 18px;
		position: absolute;
		right: 14px;
		width: 18px;
	}
}

@media (max-width: 420px) {
	.fonu-product-toolbar {
		padding: 9px;
	}

	.fonu-product-toolbar__actions {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
	}

	.fonu-product-toolbar__filter-toggle,
	.fonu-product-toolbar .orderby,
	.fonu-product-toolbar__category-select select {
		font-size: 14px;
		padding-left: 8px;
		padding-right: 34px;
	}

	.fonu-product-toolbar .orderby {
		padding-left: 18px;
	}

	.fonu-product-toolbar__filter-toggle {
		padding-left: 8px;
		padding-right: 8px;
	}

	.fonu-filter-panel__footer {
		grid-template-columns: minmax(88px, auto) minmax(0, 1fr);
		padding-left: 10px;
		padding-right: 10px;
	}

	.fonu-filter-panel__footer-clear,
	.fonu-filter-panel__apply {
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.archive-products,
	.fonu-filter-group__chevron,
	.fonu-filter-panel.mobile-sidebar,
	.sidebar-overlay[data-fonu-filter-overlay] {
		transition: none !important;
	}

	.archive-products.is-filter-loading::after,
	.fonu-filter-panel__apply.is-loading::after {
		animation-duration: 1.4s;
	}
}
