/* Catalog Filters for Flatsome – front end
 * Per-site values come from the admin as CSS variables:
 * --fcf-accent, --fcf-on-accent, --fcf-ink, --fcf-on-ink, --fcf-radius, --fcf-max, --fcf-sticky, --fcf-side.
 *
 * Look: a "spec sheet". White, fine rules between sections, true-to-type controls
 * (checkboxes, round colour swatches, mosaic size icons); the accent only marks what is chosen.
 */

/* Marker read by fcf-front.js to know this file was not stripped by an optimiser. */
:root { --fcf-css: 1; }

body.fcf-page {
	--fcf-text: #15191d;
	--fcf-muted: #6b737b;
	--fcf-line: #e3e6e8;
	--fcf-control: #8c949b;
	--fcf-chip-line: #d5dade;
	--fcf-card-line: #dde1e4;
	--fcf-hover: #f4f6f7;
	--fcf-hover-line: #9aa3aa;
	--fcf-glyph: #a9b3ba;
	--fcf-r: calc(var(--fcf-radius, 10px) * 0.6);
	--fcf-tint: #eef7f6;
	/* How far a row's highlight reaches past the text edge (= its inner padding). */
	--fcf-row-x: 10px;
}
@supports (color: color-mix(in srgb, red 10%, white)) {
	body.fcf-page { --fcf-tint: color-mix(in srgb, var(--fcf-accent) 7%, #fff); }
}

/* ------------------------------------------------------------------ */
/* Layout (Flatsome). Self-contained so it does not depend on which    */
/* theme classes an optimiser keeps.                                   */
/* ------------------------------------------------------------------ */

body.fcf-page.fcf-maxw .category-page-row {
	max-width: var(--fcf-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
body.fcf-page .fcf-bottom-content { clear: both; }
html.fcf-js body.fcf-page .filter-button { display: none !important; }

@media (min-width: 850px) {
	body.fcf-page .category-page-row {
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		/* Breathing room from the screen edges when the window is about as wide as the max width. */
		padding-left: clamp(8px, 1.6vw, 24px);
		padding-right: clamp(8px, 1.6vw, 24px);
		box-sizing: border-box;
	}
	body.fcf-page .category-page-row > .col.large-3 {
		flex: 0 0 var(--fcf-side, 280px);
		max-width: var(--fcf-side, 280px);
		padding-right: 10px;
	}
	body.fcf-page .category-page-row > .col.large-9 {
		flex: 1 1 0;
		max-width: none;
		min-width: 0;
	}
	/* The extra room each side lets the row highlights reach past the text edge without being clipped. */
	body.fcf-page #shop-sidebar {
		position: sticky;
		top: var(--fcf-sticky, 90px);
		max-height: calc(100vh - var(--fcf-sticky, 90px) - 16px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
		scrollbar-color: transparent transparent;
		/* Flatsome gives .col-inner width: 100%; auto lets the negative margins widen it. */
		width: auto;
		max-width: none;
		margin-left: calc(-1 * var(--fcf-row-x));
		margin-right: calc(-1 * var(--fcf-row-x));
		padding: 0 var(--fcf-row-x) 24px;
	}
	/* Scrollbar only while the pointer is over the filters. */
	body.fcf-page #shop-sidebar:hover { scrollbar-color: #d5d9de transparent; }
	body.fcf-page #shop-sidebar::-webkit-scrollbar { width: 6px; }
	body.fcf-page #shop-sidebar::-webkit-scrollbar-thumb { border-radius: 3px; background: transparent; }
	body.fcf-page #shop-sidebar:hover::-webkit-scrollbar-thumb { background: #d5d9de; }
	body.admin-bar.fcf-page #shop-sidebar {
		top: calc(var(--fcf-sticky, 90px) + 32px);
		max-height: calc(100vh - var(--fcf-sticky, 90px) - 48px);
	}
	/* Product grid columns (do not rely on the theme's column classes being present). */
	body.fcf-page .shop-container .products.large-columns-2 > .col { flex-basis: 50%; max-width: 50%; }
	body.fcf-page .shop-container .products.large-columns-3 > .col { flex-basis: 33.3333%; max-width: 33.3333%; }
	body.fcf-page .shop-container .products.large-columns-4 > .col { flex-basis: 25%; max-width: 25%; }
	body.fcf-page .shop-container .products.large-columns-5 > .col { flex-basis: 20%; max-width: 20%; }
	body.fcf-page .shop-container .products.large-columns-6 > .col { flex-basis: 16.6666%; max-width: 16.6666%; }
}
@media (max-width: 849px) {
	body.fcf-page .category-page-row > .col.large-3 { display: none; }
	body.fcf-page .category-page-row > .col.large-9 { flex-basis: 100%; max-width: 100%; }
}

/* ------------------------------------------------------------------ */
/* Subcategories: own strip above the filters + products row, so the   */
/* filter panel always starts level with the first products.           */
/* ------------------------------------------------------------------ */

body.fcf-page .fcf-subcats-row {
	display: block;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}
body.fcf-page.fcf-maxw .fcf-subcats-row { max-width: var(--fcf-max) !important; }
body.fcf-page .fcf-subcats-row + .category-page-row { padding-top: 20px; }
body.fcf-page .fcf-subcats { padding: 30px 15px 0; color: var(--fcf-text); }
body.fcf-page .fcf-subcats .fcf-subcats-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.fcf-page .fcf-subcats .fcf-subcats-list > li { margin: 0; padding: 0; list-style: none; }
body.fcf-page .fcf-subcats a.fcf-subcat {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	padding: 5px 14px 5px 5px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--fcf-card-line);
	border-radius: var(--fcf-r);
	color: var(--fcf-text);
	text-decoration: none;
	transition: border-color 0.15s, background-color 0.15s;
}
body.fcf-page .fcf-subcats a.fcf-subcat:not(.has-img) { padding-left: 14px; }
body.fcf-page .fcf-subcats .fcf-subcat-media {
	flex: none;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: calc(var(--fcf-r) * 0.7);
	background: var(--fcf-hover);
}
body.fcf-page .fcf-subcats img.fcf-subcat-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}
body.fcf-page .fcf-subcats .fcf-subcat-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body.fcf-page .fcf-subcats .fcf-subcat-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
body.fcf-page .fcf-subcats .fcf-subcat-count { font-size: 12.5px; line-height: 1.3; color: var(--fcf-muted); }
body.fcf-page .fcf-subcats .fcf-subcat-arrow { flex: none; margin-left: 4px; color: var(--fcf-muted); transition: transform 0.15s, color 0.15s; }
body.fcf-page .fcf-subcats a.fcf-subcat:focus-visible { outline: 2px solid var(--fcf-accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
	body.fcf-page .fcf-subcats a.fcf-subcat:hover { border-color: var(--fcf-hover-line); background: var(--fcf-hover); color: var(--fcf-text); }
	body.fcf-page .fcf-subcats a.fcf-subcat:hover .fcf-subcat-arrow { color: var(--fcf-text); transform: translateX(2px); }
}
@media (min-width: 850px) {
	body.fcf-page .fcf-subcats-row {
		padding-left: clamp(8px, 1.6vw, 24px);
		padding-right: clamp(8px, 1.6vw, 24px);
	}
}
@media (max-width: 849px) {
	body.fcf-page .fcf-subcats { padding-top: 20px; }
	body.fcf-page .fcf-subcats-row + .category-page-row { padding-top: 16px; }
	/* One swipeable line that runs to the screen edges. */
	body.fcf-page .fcf-subcats .fcf-subcats-list {
		flex-wrap: nowrap;
		margin: 0 -15px;
		padding: 2px 15px 4px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x proximity;
		scroll-padding-left: 15px;
		scrollbar-width: none;
	}
	body.fcf-page .fcf-subcats .fcf-subcats-list::-webkit-scrollbar { display: none; }
	body.fcf-page .fcf-subcats .fcf-subcats-list > li { flex: none; max-width: 85%; scroll-snap-align: start; }
}

/* ------------------------------------------------------------------ */
/* Resets against theme styles                                         */
/* ------------------------------------------------------------------ */

.fcf button,
.fcf-toolbar button,
.fcf-drawer button {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.fcf ul,
.fcf li,
.fcf .fcf-options,
.fcf .fcf-options > li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.fcf a,
.fcf-toolbar a,
.fcf-drawer a {
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.fcf :focus-visible,
.fcf-toolbar :focus-visible,
.fcf-drawer :focus-visible {
	outline: 2px solid var(--fcf-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ------------------------------------------------------------------ */
/* Panel                                                               */
/* ------------------------------------------------------------------ */

.fcf {
	color: var(--fcf-text);
	font-size: 14px;
	line-height: 1.35;
}
/* 44px + rule, the same as the results row next to it: one line across the page. */
.fcf .fcf-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	box-sizing: content-box;
	height: 44px;
	border-bottom: 1px solid var(--fcf-line);
}
.fcf .fcf-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.fcf .fcf-clear { font-size: 13px; font-weight: 500; color: var(--fcf-ink, var(--fcf-accent)); }
.fcf .fcf-clear:hover { color: var(--fcf-ink, var(--fcf-accent)); text-decoration: underline; }

.fcf .fcf-group { padding: 18px 0; border-bottom: 1px solid var(--fcf-line); }
.fcf .fcf-group:last-child { border-bottom: 0; }
.fcf .fcf-group-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: var(--fcf-text);
}
.fcf .fcf-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 9px;
	background: var(--fcf-ink, var(--fcf-accent));
	color: var(--fcf-on-ink, #fff);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	font-variant-numeric: tabular-nums;
	/* Centre the digit itself, not the font's line box (each font puts digits at a different height). */
	text-box: trim-both cap alphabetic;
}
.fcf .fcf-chevron {
	width: 16px;
	height: 16px;
	margin-left: auto;
	color: var(--fcf-muted);
	transition: transform 0.25s ease;
}
.fcf .fcf-group.is-collapsed .fcf-chevron { transform: rotate(-90deg); }
.fcf .fcf-group-body {
	display: grid;
	grid-template-rows: 1fr;
	margin: 0 calc(-1 * var(--fcf-row-x));
	transition: grid-template-rows 0.28s ease;
}
.fcf .fcf-group.is-collapsed .fcf-group-body { grid-template-rows: 0fr; }
.fcf .fcf-group-inner { overflow: hidden; min-height: 0; padding: 0 var(--fcf-row-x); }
.fcf .fcf-options { padding: 8px 0 0; }

/* Shared option row */
.fcf .fcf-opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--fcf-text);
	transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.fcf a.fcf-opt:hover { color: var(--fcf-text); }
.fcf .fcf-opt.is-disabled { opacity: 0.4; cursor: default; }
.fcf .fcf-opt-label { min-width: 0; }
.fcf .fcf-opt.is-active .fcf-opt-label { font-weight: 600; }
.fcf .fcf-opt-sub { font-size: 12px; color: var(--fcf-muted); white-space: nowrap; }
.fcf .fcf-count {
	margin-left: auto;
	padding-left: 8px;
	font-size: 12.5px;
	color: var(--fcf-muted);
	font-variant-numeric: tabular-nums;
}
.fcf .fcf-opt-icon { display: block; flex: none; width: var(--fcf-icon, 24px); height: var(--fcf-icon, 24px); object-fit: contain; }

/* Rows: list (checkboxes), tiles (sizes), swatches (colours). The highlight reaches
   --fcf-row-x past the text edge, which stays aligned with the section titles. */
.fcf .fcf-style-list .fcf-options,
.fcf .fcf-style-tiles .fcf-options,
.fcf .fcf-style-swatches .fcf-options { display: flex; flex-direction: column; gap: 2px; margin: 0 calc(-1 * var(--fcf-row-x)); }
.fcf .fcf-style-list .fcf-opt,
.fcf .fcf-style-tiles .fcf-opt,
.fcf .fcf-style-swatches .fcf-opt {
	min-height: 36px;
	padding: 0 var(--fcf-row-x);
	box-sizing: border-box;
	border-radius: var(--fcf-r);
	font-size: 14px;
}
@media (hover: hover) and (pointer: fine) {
	.fcf .fcf-style-list a.fcf-opt:hover,
	.fcf .fcf-style-tiles a.fcf-opt:hover,
	.fcf .fcf-style-swatches a.fcf-opt:hover { background: var(--fcf-hover); }
	.fcf .fcf-style-list a.fcf-opt:hover .fcf-box { border-color: #5f686f; }
	.fcf .fcf-style-list a.fcf-opt.is-active:hover .fcf-box { border-color: var(--fcf-accent); }
}

/* List: checkbox */
.fcf .fcf-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	border: 1.5px solid var(--fcf-control);
	border-radius: 4px;
	background: #fff;
	transition: background-color 0.15s, border-color 0.15s;
}
.fcf .fcf-box svg { width: 12px; height: 12px; color: var(--fcf-on-accent); opacity: 0; transform: scale(0.5); transition: opacity 0.15s, transform 0.15s; }
.fcf .fcf-opt.is-active .fcf-box { background: var(--fcf-accent); border-color: var(--fcf-accent); }
.fcf .fcf-opt.is-active .fcf-box svg { opacity: 1; transform: none; }

/* Tiles: mosaic icon (more tesserae for smaller sizes) + size, the second line always underneath */
.fcf .fcf-style-tiles .fcf-opt { min-height: 48px; padding-top: 6px; padding-bottom: 6px; gap: 12px; }
.fcf .fcf-style-tiles .fcf-opt.is-active { background: var(--fcf-tint); }
.fcf .fcf-tile-visual {
	display: block;
	flex: none;
	width: 24px;
	height: 24px;
	color: var(--fcf-glyph);
	transition: color 0.15s;
}
.fcf .fcf-tile-visual svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.fcf .fcf-opt.is-active .fcf-tile-visual { color: var(--fcf-accent); }
.fcf .fcf-tile-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; line-height: 1.25; }
.fcf .fcf-check {
	display: none;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 20px;
	height: 20px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--fcf-accent);
	color: var(--fcf-on-accent);
}
.fcf .fcf-check svg { width: 12px; height: 12px; }
.fcf .fcf-style-tiles .fcf-opt.is-active .fcf-check { display: inline-flex; }
.fcf .fcf-style-tiles .fcf-opt.is-active .fcf-count { display: none; }

/* Swatches: round colour dots, one per row */
.fcf .fcf-style-swatches .fcf-opt { min-height: 38px; gap: 12px; }
.fcf .fcf-style-swatches .fcf-opt.is-active { background: var(--fcf-tint); }
.fcf .fcf-swatch {
	--fcf-sw: #ddd;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--fcf-sw);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
	color: #fff;
	transition: box-shadow 0.15s;
}
.fcf .fcf-swatch.is-light { color: #111; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.22); }
.fcf .fcf-swatch.is-multi { background: conic-gradient(from 200deg, #3b82c4, #2fa37a, #e2c46a, #d9825b, #9b6bc7, #3b82c4); }
.fcf .fcf-swatch.is-empty { background: repeating-linear-gradient(45deg, #f1f2f3 0 3px, #e2e4e7 3px 6px); color: #111; }
.fcf .fcf-swatch svg { width: 12px; height: 12px; opacity: 0; transition: opacity 0.15s; filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.25)); }
.fcf .fcf-swatch.is-light svg { filter: none; }
.fcf .fcf-style-swatches .fcf-opt.is-active .fcf-swatch { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 2px #fff, 0 0 0 3.5px var(--fcf-accent); }
.fcf .fcf-style-swatches .fcf-opt.is-active .fcf-swatch svg { opacity: 1; }
.fcf .fcf-style-swatches .fcf-opt-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Chips, for filters set to that style */
.fcf .fcf-style-chips .fcf-options { display: flex; flex-wrap: wrap; gap: 6px; }
.fcf .fcf-style-chips .fcf-opt {
	gap: 7px;
	min-height: max(32px, calc(var(--fcf-icon, 24px) + 10px));
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid var(--fcf-chip-line);
	border-radius: var(--fcf-r);
	background: #fff;
	font-size: 13.5px;
	white-space: nowrap;
}
.fcf .fcf-style-chips .fcf-opt.has-icon { padding-left: 6px; }
.fcf .fcf-style-chips .fcf-opt.is-active {
	border-color: var(--fcf-accent);
	box-shadow: inset 0 0 0 1px var(--fcf-accent);
	background: var(--fcf-tint);
}
.fcf .fcf-style-chips .fcf-count { margin-left: -2px; padding-left: 0; font-size: 12px; }
@media (hover: hover) and (pointer: fine) {
	.fcf .fcf-style-chips a.fcf-opt:hover { border-color: var(--fcf-hover-line); background: var(--fcf-hover); }
	.fcf .fcf-style-chips a.fcf-opt.is-active:hover { border-color: var(--fcf-accent); background: var(--fcf-tint); }
}
.fcf .fcf-chip-icon { display: block; flex: none; width: var(--fcf-icon, 24px); height: var(--fcf-icon, 24px); object-fit: contain; }

/* "Pill" shape (Design & texts → Shape of options): chips, active-filter chips and the
   mobile filter button become pills instead of rounded rectangles. */
.fcf-shape-pill .fcf .fcf-style-chips .fcf-opt,
.fcf-shape-pill .fcf-toolbar .fcf-chip,
.fcf-shape-pill .fcf-toolbar .fcf-fab { border-radius: 999px; }

/* ------------------------------------------------------------------ */
/* Results row above the products                                      */
/* ------------------------------------------------------------------ */

.fcf-toolbar {
	position: relative;
	margin: 0 0 24px;
	border-bottom: 1px solid var(--fcf-line);
	color: var(--fcf-text);
}
.fcf-toolbar .fcf-toolbar-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	min-height: 44px;
	padding: 8px 0;
	box-sizing: border-box;
}
.fcf-toolbar .fcf-results { margin: 0; font-size: 14px; line-height: 20px; color: var(--fcf-muted); }
.fcf-toolbar .fcf-results strong { color: var(--fcf-text); font-weight: 600; }
.fcf-toolbar .fcf-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; line-height: 1.2; }
.fcf-toolbar .fcf-chips::before {
	content: "";
	align-self: center;
	width: 1px;
	height: 16px;
	margin-right: 4px;
	background: var(--fcf-line);
}
.fcf-toolbar .fcf-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 8px 0 10px;
	box-sizing: border-box;
	border: 1px solid var(--fcf-chip-line);
	border-radius: var(--fcf-r);
	background: #fff;
	color: var(--fcf-text);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	transition: background-color 0.15s, border-color 0.15s;
}
.fcf-toolbar .fcf-chip svg { width: 14px; height: 14px; color: var(--fcf-muted); transition: color 0.15s; }
.fcf-toolbar .fcf-chip:hover { background: var(--fcf-hover); border-color: var(--fcf-hover-line); color: var(--fcf-text); }
.fcf-toolbar .fcf-chip:hover svg { color: var(--fcf-text); }
.fcf-toolbar .fcf-chip-dot {
	--fcf-sw: #ddd;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--fcf-sw);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.fcf-toolbar .fcf-chip-dot.is-multi { background: conic-gradient(from 200deg, #3b82c4, #2fa37a, #e2c46a, #d9825b, #9b6bc7, #3b82c4); }
.fcf-toolbar .fcf-chips-clear { padding: 4px 2px; font-size: 13px; font-weight: 500; line-height: 20px; color: var(--fcf-ink, var(--fcf-accent)); }
.fcf-toolbar .fcf-chips-clear:hover { text-decoration: underline; color: var(--fcf-ink, var(--fcf-accent)); }

/* Loading: a thin bar runs along the rule. */
.fcf-toolbar .fcf-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	overflow: hidden;
	opacity: 0;
	transition: opacity 0.2s;
}
.fcf-toolbar .fcf-progress::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40%;
	background: var(--fcf-accent);
	animation: fcf-bar 1s ease-in-out infinite;
}
@keyframes fcf-bar {
	from { transform: translateX(-100%); }
	to { transform: translateX(260%); }
}
body.fcf-loading .fcf-toolbar .fcf-progress { opacity: 1; }
body.fcf-page .shop-container .products { transition: opacity 0.2s; }
body.fcf-loading .shop-container .products { opacity: 0.45; pointer-events: none; }

.fcf-toolbar .fcf-fab { display: none; }

/* ------------------------------------------------------------------ */
/* Empty state                                                         */
/* ------------------------------------------------------------------ */

.fcf-empty {
	padding: 56px 16px;
	border: 1px solid var(--fcf-line);
	border-radius: var(--fcf-r);
	text-align: center;
	color: var(--fcf-muted);
}
.fcf-empty svg { width: 44px; height: 44px; margin-bottom: 10px; color: var(--fcf-glyph); }
.fcf-empty p { margin: 0 0 16px; color: var(--fcf-text); }

.fcf-btn,
.fcf-drawer .fcf-btn,
.fcf-empty .fcf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	box-sizing: border-box;
	border-radius: var(--fcf-r);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}
.fcf-empty .fcf-btn,
.fcf-drawer .fcf-btn-primary {
	background: var(--fcf-ink, var(--fcf-accent));
	color: var(--fcf-on-ink, #fff);
}
.fcf-empty .fcf-btn:hover { color: var(--fcf-on-ink, #fff); filter: brightness(0.94); }

/* ------------------------------------------------------------------ */
/* Mobile drawer                                                       */
/* ------------------------------------------------------------------ */

.fcf-drawer[hidden] { display: none; }
.fcf-drawer {
	position: fixed;
	inset: 0;
	/* Above chat / WhatsApp bubbles while the panel is open. */
	z-index: 2147483647;
	color: var(--fcf-text);
}
.fcf-drawer .fcf-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(21, 25, 29, 0.5);
	opacity: 0;
	transition: opacity 0.25s;
}
.fcf-drawer .fcf-drawer-sheet {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	max-height: 88vh;
	max-height: 88dvh;
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
	transform: translateY(100%);
	transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
	outline: none;
}
.fcf-drawer.is-open .fcf-drawer-backdrop { opacity: 1; }
.fcf-drawer.is-open .fcf-drawer-sheet { transform: none; }
.fcf-drawer .fcf-drawer-head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	height: 56px;
	padding: 0 56px;
	border-bottom: 1px solid var(--fcf-line);
}
.fcf-drawer .fcf-drawer-grip {
	position: absolute;
	top: 7px;
	left: 50%;
	width: 36px;
	height: 4px;
	margin-left: -18px;
	border-radius: 2px;
	background: var(--fcf-chip-line);
}
.fcf-drawer .fcf-drawer-head strong { font-size: 16px; font-weight: 600; }
.fcf-drawer .fcf-drawer-x {
	position: absolute;
	top: 6px;
	right: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--fcf-text);
}
.fcf-drawer .fcf-drawer-x:active { background: var(--fcf-hover); }
.fcf-drawer .fcf-drawer-x svg { width: 18px; height: 18px; }
.fcf-drawer .fcf-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 0 20px 8px;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #d5d9de transparent;
}
.fcf-drawer .fcf-drawer-body .fcf-head { display: none; }
.fcf-drawer .fcf .fcf-group-toggle { font-size: 15px; }
.fcf-drawer .fcf .fcf-style-list .fcf-opt,
.fcf-drawer .fcf .fcf-style-swatches .fcf-opt { min-height: 44px; font-size: 15px; gap: 12px; }
.fcf-drawer .fcf .fcf-style-tiles .fcf-opt { min-height: 50px; font-size: 15px; }
.fcf-drawer .fcf .fcf-box { width: 18px; height: 18px; }
.fcf-drawer .fcf .fcf-style-chips .fcf-opt { min-height: max(40px, calc(var(--fcf-icon, 24px) + 12px)); padding: 0 14px; font-size: 14.5px; }
.fcf-drawer .fcf .fcf-style-chips .fcf-opt.has-icon { padding-left: 8px; }
.fcf-drawer .fcf-drawer-foot {
	display: flex;
	flex: none;
	gap: 10px;
	padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--fcf-line);
	background: #fff;
}
.fcf-drawer .fcf-btn { flex: 1; }
.fcf-drawer .fcf-btn[hidden] { display: none; }
.fcf-drawer .fcf-btn-primary { flex: 2; }
.fcf-drawer .fcf-btn-ghost { border: 1px solid var(--fcf-chip-line); background: #fff; color: var(--fcf-text); }
html.fcf-lock,
html.fcf-lock body { overflow: hidden; }

@media (max-width: 849px) {
	/* Filter button at the top of the product list, next to the result count. */
	.fcf-toolbar {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 12px;
		margin-bottom: 16px;
		padding-bottom: 14px;
	}
	.fcf-toolbar .fcf-toolbar-row { display: contents; }
	.fcf-toolbar .fcf-fab {
		order: -2;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		height: 44px;
		padding: 0 14px;
		box-sizing: border-box;
		border: 1px solid var(--fcf-chip-line);
		border-radius: var(--fcf-r);
		background: #fff;
		color: var(--fcf-text);
		font-size: 14px;
		font-weight: 600;
		line-height: 1;
	}
	.fcf-toolbar .fcf-fab:active { background: var(--fcf-hover); }
	.fcf-toolbar .fcf-fab svg { width: 18px; height: 18px; }
	.fcf-toolbar .fcf-fab-count {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 20px;
		height: 20px;
		padding: 0 6px;
		box-sizing: border-box;
		border-radius: 10px;
		background: var(--fcf-ink, var(--fcf-accent));
		color: var(--fcf-on-ink, #fff);
		font-size: 11.5px;
		font-weight: 600;
		line-height: 1;
		font-variant-numeric: tabular-nums;
		text-box: trim-both cap alphabetic;
	}
	.fcf-toolbar .fcf-results { order: -1; }
	.fcf-toolbar .fcf-chips { flex-basis: 100%; }
	.fcf-toolbar .fcf-chips::before { display: none; }
	.fcf-toolbar .fcf-chip { height: 32px; padding: 0 8px 0 11px; }

	/* While scrolling the products only the filter button floats, centred under the
	   site header (JS adds .is-fixed). The strip itself is invisible and lets clicks
	   through, so the products next to the button stay clickable. */
	.fcf-toolbar.is-fixed {
		position: fixed;
		top: var(--fcf-mtop, 0px);
		left: 0;
		right: 0;
		z-index: 98;
		justify-content: center;
		margin: 0;
		padding: 10px 15px 0;
		background: none;
		border: 0;
		pointer-events: none;
		animation: fcf-drop 0.18s ease-out;
	}
	.fcf-toolbar.is-fixed .fcf-results,
	.fcf-toolbar.is-fixed .fcf-chips,
	.fcf-toolbar.is-fixed .fcf-progress { display: none; }
	/* Readable on any background: light glass, thin outline and a two-layer shadow. */
	.fcf-toolbar.is-fixed .fcf-fab {
		pointer-events: auto;
		background: rgba(255, 255, 255, 0.94);
		border-color: rgba(17, 24, 39, 0.14);
		box-shadow: 0 10px 28px -8px rgba(16, 24, 40, 0.38), 0 2px 6px rgba(16, 24, 40, 0.14);
	}
	@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
		.fcf-toolbar.is-fixed .fcf-fab {
			background: rgba(255, 255, 255, 0.82);
			-webkit-backdrop-filter: saturate(1.8) blur(12px);
			backdrop-filter: saturate(1.8) blur(12px);
		}
	}
	html.fcf-lock .fcf-toolbar.is-fixed { visibility: hidden; }
}

@keyframes fcf-drop {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.fcf *,
	.fcf-drawer *,
	.fcf-toolbar *,
	.fcf-subcats * { transition: none !important; animation: none !important; }
}
