/* WC Live Search & Filter */

:root {
	--wlsf-bg: #fdfcf8;
	--wlsf-surface: #ffffff;
	--wlsf-text: #1c1c1a;
	--wlsf-muted: #77756f;
	--wlsf-border: #e4e1d9;
	--wlsf-card-bg: #f4f4f4;
	--wlsf-radius: 20px;
	--wlsf-ctrl-radius: 12px;
	--wlsf-ctrl-h: 52px;
	--wlsf-card-surface: #ffffff;
	--wlsf-card-border: #ececec;
	--wlsf-card-radius: 4px;
	--wlsf-btn-bg: #333333;
	--wlsf-btn-bg-hover: #000000;
	--wlsf-star: #f5a623;
	--wlsf-title-font: Georgia, "Times New Roman", serif;
	--wlsf-ease: cubic-bezier(.22, .61, .36, 1);
}

.wlsf-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.wlsf-svg { width: 1em; height: 1em; display: block; flex: none; }

/* Neutralise theme button styles (e.g. Hello Elementor's pink buttons). */
.wlsf-filter button,
.wlsf-filter button:hover,
.wlsf-filter button:focus,
.wlsf-popup button,
.wlsf-popup button:hover,
.wlsf-popup button:focus,
button.wlsf-icon-btn,
button.wlsf-icon-btn:hover,
button.wlsf-icon-btn:focus {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
	min-height: 0;
	padding: 0;
	text-transform: none;
	text-decoration: none;
	width: auto;
	cursor: pointer;
}
.wlsf-filter [hidden],
.wlsf-popup [hidden] { display: none !important; }

.wlsf-filter a,
.wlsf-popup a { text-decoration: none; box-shadow: none; }

.wlsf-filter :focus-visible,
.wlsf-popup :focus-visible,
.wlsf-icon-btn:focus-visible {
	outline: 2px solid var(--wlsf-text);
	outline-offset: 2px;
}

/* ===================================================================
 * Filter: toolbar
 * ================================================================= */

.wlsf-filter {
	box-sizing: border-box;
	color: var(--wlsf-text);
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}
.wlsf-filter *,
.wlsf-filter *::before,
.wlsf-filter *::after { box-sizing: border-box; }

/* Guard against editors that auto-insert <p>/<br> around shortcode output:
   stray <br>/<p> must not become grid cells (that causes the one-column, gappy layout). */
.wlsf-filter br,
.wlsf-filter p:empty { display: none !important; }
.wlsf-filter .wlsf-grid > p,
.wlsf-filter .wlsf-toolbar > p,
.wlsf-filter .wlsf-pills > p { display: contents; }

.wlsf-toolbar {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 36px;
}

.wlsf-search {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 0 35%;
	min-width: 0;
	height: var(--wlsf-ctrl-h);
	padding: 0 12px 0 18px;
	background: var(--wlsf-bg);
	border: 1px solid var(--wlsf-border);
	border-radius: var(--wlsf-ctrl-radius);
	transition: border-color .2s;
}
.wlsf-search:focus-within { border-color: var(--wlsf-text); }

.wlsf-search > .wlsf-svg--search {
	font-size: 20px;
	color: var(--wlsf-muted);
	margin-right: 12px;
}

.wlsf-filter .wlsf-search__input,
.wlsf-filter .wlsf-search__input:focus {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	color: var(--wlsf-text);
	font: inherit;
	font-size: 16px;
}
.wlsf-search__input::placeholder,
.wlsf-popup__input::placeholder { color: var(--wlsf-muted); opacity: 1; }
.wlsf-search__input::-webkit-search-cancel-button,
.wlsf-popup__input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }

.wlsf-filter button.wlsf-search__clear {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 16px;
	color: var(--wlsf-muted);
	transition: background-color .2s, color .2s;
}
.wlsf-filter button.wlsf-search__clear:hover { background: var(--wlsf-border); color: var(--wlsf-text); }

/* Category pills: one row that scrolls sideways (mouse wheel, drag, touch). */
.wlsf-pills {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	flex: 1 1 0;
	min-width: 0;
	padding: 2px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}
.wlsf-pills::-webkit-scrollbar { display: none; }
.wlsf-pills.is-scrollable { cursor: grab; }
.wlsf-pills.is-dragging { cursor: grabbing; user-select: none; }
.wlsf-pills.is-dragging .wlsf-pill { pointer-events: none; }
/* Fade the edge that has more pills hidden behind it. */
.wlsf-pills.has-more-end {
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
}
.wlsf-pills.has-more-start {
	-webkit-mask-image: linear-gradient(to left, #000 calc(100% - 56px), transparent);
	mask-image: linear-gradient(to left, #000 calc(100% - 56px), transparent);
}
.wlsf-pills.has-more-start.has-more-end {
	-webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent);
	mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent);
}

.wlsf-filter button.wlsf-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	height: calc(var(--wlsf-ctrl-h) - 4px);
	padding: 0 20px;
	background: var(--wlsf-bg);
	border: 1px solid var(--wlsf-border);
	border-radius: var(--wlsf-ctrl-radius);
	color: var(--wlsf-text);
	font-size: 15px;
	white-space: nowrap;
	transition: border-color .2s, box-shadow .2s;
}
.wlsf-filter button.wlsf-pill:hover { border-color: #b9b5ab; }
.wlsf-filter button.wlsf-pill.is-active {
	border-color: var(--wlsf-text);
	box-shadow: inset 0 0 0 1px var(--wlsf-text);
}

/* ===================================================================
 * Filter: grid + cards
 * ================================================================= */

.wlsf-filter .wlsf-grid {
	display: grid;
	align-items: stretch;
	width: 100%;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: opacity .2s;
}
.wlsf-filter.is-loading .wlsf-grid { opacity: .45; pointer-events: none; }

.wlsf-filter .wlsf-card {
	float: none;
	width: auto;
	max-width: none;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--wlsf-card-surface);
	border: 1px solid var(--wlsf-card-border);
	border-radius: var(--wlsf-card-radius);
	transition: box-shadow .25s;
}
.wlsf-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.wlsf-card::before, .wlsf-card::marker { content: none; }

.wlsf-card__media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--wlsf-card-bg);
}
.wlsf-card__image-link { display: block; width: 100%; height: 100%; }
.wlsf-filter .wlsf-card__img,
.wlsf-filter .wlsf-card__image-link img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	margin: 0;
	border-radius: 0;
	transition: transform .5s var(--wlsf-ease);
}
.wlsf-card:hover .wlsf-card__img { transform: scale(1.04); }
.wlsf-card.is-sold-out .wlsf-card__img { opacity: .55; filter: grayscale(1); }

.wlsf-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 12px;
	background: var(--wlsf-btn-bg);
	color: #fff;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: .04em;
	text-transform: uppercase;
	pointer-events: none;
}
.wlsf-badge--sale { background: #c0392b; }

.wlsf-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	padding: 0 10px 12px;
	text-align: center;
}

.wlsf-filter .wlsf-card__title {
	margin: 25px 0 12px;
	padding: 0;
	font-family: var(--wlsf-title-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	color: #333;
	letter-spacing: 0;
	text-transform: none;
}
.wlsf-filter .wlsf-card__title a { color: #333; }
.wlsf-filter .wlsf-card__title a:hover { opacity: .75; }

/* Star rating: grey row, with a gold row clipped to the rating width on top. */
.wlsf-stars {
	position: relative;
	display: inline-block;
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 1px;
	color: #ddd;
}
.wlsf-stars::before { content: "\2605\2605\2605\2605\2605"; }
.wlsf-stars::after {
	content: "\2605\2605\2605\2605\2605";
	position: absolute;
	top: 0;
	left: 0;
	width: var(--wlsf-rating, 0%);
	overflow: hidden;
	white-space: nowrap;
	color: var(--wlsf-star);
}

.wlsf-card__price {
	color: rgb(39, 39, 39);
	font-family: Arial, sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 22px;
}
.wlsf-filter .wlsf-card__price del { color: var(--wlsf-muted); font-weight: 400; font-size: .85em; margin-right: 6px; }
.wlsf-filter .wlsf-card__price ins { color: rgb(39, 39, 39); background: none; text-decoration: none; }

.wlsf-card__actions { width: 100%; margin-top: auto; padding-top: 14px; }

.wlsf-filter a.wlsf-btn,
.wlsf-filter a.wlsf-btn:hover,
.wlsf-filter a.wlsf-btn:focus {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 38px;
	margin: 0;
	padding: 0 15px;
	border: 0;
	border-radius: 0;
	background: var(--wlsf-btn-bg);
	color: #fff;
	font-family: Georgia, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 38px;
	letter-spacing: 0;
	text-transform: uppercase;
	opacity: 1;
	transition: background-color .2s;
}
.wlsf-filter a.wlsf-btn:hover { background: var(--wlsf-btn-bg-hover); }
.wlsf-filter a.wlsf-btn.is-disabled { background: #9a9a9a; cursor: default; }
.wlsf-filter a.wlsf-btn::after { content: none; } /* WooCommerce adds icon pseudo-elements on .loading/.added */
.wlsf-btn .wlsf-svg { font-size: 15px; }
.wlsf-btn .wlsf-svg--check { display: none; }
.wlsf-filter a.wlsf-btn.added .wlsf-svg--cart { display: none; }
.wlsf-filter a.wlsf-btn.added .wlsf-svg--check { display: block; }
.wlsf-filter a.wlsf-btn.loading { pointer-events: none; }
.wlsf-filter a.wlsf-btn.loading .wlsf-svg--cart { animation: wlsf-pulse .8s ease-in-out infinite alternate; }
/* WooCommerce injects a "View cart" link after the button; the check icon replaces it. */
.wlsf-card .added_to_cart { display: none !important; }

.wlsf-empty {
	grid-column: 1 / -1;
	padding: 60px 20px;
	text-align: center;
	color: var(--wlsf-muted);
	font-size: 18px;
	list-style: none;
}

.wlsf-more { display: flex; justify-content: center; margin-top: 48px; }
.wlsf-filter button.wlsf-more__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	height: 52px;
	padding: 0 32px;
	border: 1px solid var(--wlsf-text);
	border-radius: var(--wlsf-ctrl-radius);
	background: transparent;
	color: var(--wlsf-text);
	font-size: 16px;
	transition: background-color .2s, color .2s;
}
.wlsf-filter button.wlsf-more__btn:hover { background: var(--wlsf-text); color: var(--wlsf-bg); }
.wlsf-filter button.wlsf-more__btn.is-loading { opacity: .6; pointer-events: none; }

@keyframes wlsf-pulse { to { opacity: .3; } }

/* ===================================================================
 * Header icon
 * ================================================================= */

button.wlsf-icon-btn,
button.wlsf-icon-btn:hover,
button.wlsf-icon-btn:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px;
	color: var(--wlsf-icon-color, currentColor);
	font-size: var(--wlsf-icon-size, 22px);
	line-height: 1;
	vertical-align: middle;
	transition: opacity .2s;
}
button.wlsf-icon-btn:hover { opacity: .7; }
.wlsf-icon-btn__label { font-size: 16px; }

/* ===================================================================
 * Popup
 * ================================================================= */

html.wlsf-lock,
html.wlsf-lock body { overflow: hidden; }

.wlsf-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	color: var(--wlsf-text);
	font-size: 16px;
}
.wlsf-popup[hidden] { display: none; }

.wlsf-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 18, .45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .3s var(--wlsf-ease);
}
.wlsf-popup.is-open .wlsf-popup__overlay { opacity: 1; }

.wlsf-popup__panel {
	position: absolute;
	display: flex;
	flex-direction: column;
	background: var(--wlsf-bg);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
	overflow: hidden;
	transition: transform .32s var(--wlsf-ease), opacity .32s var(--wlsf-ease);
}

/* Side drawer (right / left) */
.wlsf-popup[data-position="right"] .wlsf-popup__panel,
.wlsf-popup[data-position="left"] .wlsf-popup__panel {
	top: 0;
	bottom: 0;
	width: min(560px, 100%);
	padding: 48px 44px 0;
}
.wlsf-popup[data-position="right"] .wlsf-popup__panel { right: 0; transform: translateX(100%); }
.wlsf-popup[data-position="left"] .wlsf-popup__panel { left: 0; transform: translateX(-100%); }

/* Centered modal */
.wlsf-popup[data-position="center"] .wlsf-popup__panel {
	top: 16px;
	left: 50%;
	width: min(1020px, calc(100% - 40px));
	max-height: calc(100% - 32px);
	padding: 52px 60px 0;
	border-radius: 14px;
	opacity: 0;
	transform: translate(-50%, -16px);
}

.wlsf-popup.is-open .wlsf-popup__panel { transform: none; opacity: 1; }
.wlsf-popup.is-open[data-position="center"] .wlsf-popup__panel { transform: translate(-50%, 0); }

.wlsf-popup__head {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: none;
	padding-bottom: 14px;
	border-bottom: 3px solid var(--wlsf-text);
}

.wlsf-popup .wlsf-popup__input,
.wlsf-popup .wlsf-popup__input:focus {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 4px 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	color: var(--wlsf-text);
	font: inherit;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.3;
}

.wlsf-popup button.wlsf-popup__clear {
	flex: none;
	color: var(--wlsf-muted);
	font-size: 20px;
	transition: color .2s;
}
.wlsf-popup button.wlsf-popup__clear:hover { color: var(--wlsf-text); }

.wlsf-popup button.wlsf-popup__close {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-right: -8px;
	border-radius: 50%;
	color: var(--wlsf-text);
	font-size: 26px;
	transition: background-color .2s;
}
.wlsf-popup button.wlsf-popup__close:hover { background: var(--wlsf-border); }

.wlsf-popup__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 32px 0 40px;
	transition: opacity .2s;
}
.wlsf-popup.is-loading .wlsf-popup__list { opacity: .45; }

.wlsf-popup__section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.wlsf-popup .wlsf-popup__title {
	margin: 0;
	padding: 0;
	color: var(--wlsf-text);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.wlsf-popup .wlsf-popup__viewall {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--wlsf-text);
	font-size: 19px;
}
.wlsf-popup__viewall > span:first-child {
	border-bottom: 1px solid currentColor;
	line-height: 1.2;
}
.wlsf-popup__viewall-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #ebeae6;
	font-size: 18px;
	transition: transform .2s var(--wlsf-ease), background-color .2s;
}
.wlsf-popup__viewall:hover .wlsf-popup__viewall-icon { transform: translateX(3px); background: var(--wlsf-border); }

.wlsf-popup .wlsf-popup__list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: opacity .2s;
}
.wlsf-popup .wlsf-result { margin: 0; padding: 0; list-style: none; }
.wlsf-result::before, .wlsf-result::marker { content: none; }

.wlsf-popup .wlsf-result__link {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 8px;
	margin: 0 -8px;
	border-radius: 16px;
	color: var(--wlsf-text);
	transition: background-color .2s;
}
.wlsf-popup .wlsf-result__link:hover { background: rgba(0, 0, 0, .035); }

.wlsf-result__thumb {
	flex: none;
	width: 112px;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	background: var(--wlsf-card-bg);
}
.wlsf-popup .wlsf-result__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
}

.wlsf-result__info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wlsf-result__title { font-size: 21px; font-weight: 500; line-height: 1.3; }
.wlsf-result__price { color: var(--wlsf-muted); font-size: 18px; }
.wlsf-result__price del { opacity: .7; margin-right: 6px; }
.wlsf-result__price ins { text-decoration: none; }
.wlsf-result__stock {
	align-self: flex-start;
	padding: 3px 10px;
	border-radius: 8px;
	background: var(--wlsf-card-bg);
	font-size: 13px;
}

.wlsf-popup .wlsf-empty { padding: 40px 0; text-align: left; font-size: 17px; }

/* Smaller thumbnails in the narrower side drawer */
.wlsf-popup[data-position="right"] .wlsf-result__thumb,
.wlsf-popup[data-position="left"] .wlsf-result__thumb { width: 88px; }
.wlsf-popup[data-position="right"] .wlsf-result__link,
.wlsf-popup[data-position="left"] .wlsf-result__link { gap: 20px; }
.wlsf-popup[data-position="right"] .wlsf-result__title,
.wlsf-popup[data-position="left"] .wlsf-result__title { font-size: 18px; }
.wlsf-popup[data-position="right"] .wlsf-result__price,
.wlsf-popup[data-position="left"] .wlsf-result__price { font-size: 16px; }

/* ===================================================================
 * Responsive
 * ================================================================= */

@media (max-width: 1200px) {
	.wlsf-filter .wlsf-grid { gap: 22px; }
}

@media (max-width: 1024px) {
	.wlsf-search { flex-basis: 40%; }
	.wlsf-filter .wlsf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 767px) {
	:root { --wlsf-ctrl-h: 48px; }

	/* Search on its own row, categories on the next row */
	.wlsf-toolbar { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 22px; }
	.wlsf-search { flex: none; width: 100%; padding: 0 8px 0 14px; }
	.wlsf-search > .wlsf-svg--search { font-size: 18px; margin-right: 10px; }
	.wlsf-filter .wlsf-search__input,
	.wlsf-filter .wlsf-search__input:focus { font-size: 16px; } /* 16px stops iOS zooming on focus */
	.wlsf-pills { flex: none; width: 100%; gap: 8px; }
	.wlsf-filter button.wlsf-pill { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

	.wlsf-filter .wlsf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.wlsf-filter .wlsf-card { padding: 6px; }
	.wlsf-badge { top: 8px; left: 8px; padding: 3px 8px; font-size: 11px; }
	.wlsf-card__body { padding: 0 2px 4px; }
	.wlsf-filter .wlsf-card__title { margin: 16px 0 10px; font-size: 14px; line-height: 1.2; }
	.wlsf-stars { font-size: 13px; margin-bottom: 8px; }
	.wlsf-card__price { font-size: 16px; line-height: 20px; }
	.wlsf-card__actions { padding-top: 10px; }
	.wlsf-filter a.wlsf-btn,
	.wlsf-filter a.wlsf-btn:hover,
	.wlsf-filter a.wlsf-btn:focus { min-height: 36px; padding: 0 6px; font-size: 12px; line-height: 36px; gap: 6px; }
	.wlsf-btn .wlsf-svg { font-size: 13px; }
	.wlsf-more { margin-top: 28px; }
	.wlsf-filter button.wlsf-more__btn { width: 100%; height: 48px; font-size: 15px; }

	/* Popup goes full screen on phones, whatever the position */
	.wlsf-popup .wlsf-popup__panel,
	.wlsf-popup[data-position] .wlsf-popup__panel {
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		max-height: none;
		padding: 20px 16px 0;
		border-radius: 0;
	}
	.wlsf-popup[data-position="center"] .wlsf-popup__panel { transform: translateY(16px); }
	.wlsf-popup.is-open[data-position="center"] .wlsf-popup__panel { transform: none; }

	.wlsf-popup__head { gap: 12px; padding-bottom: 10px; border-bottom-width: 2px; }
	.wlsf-popup .wlsf-popup__input,
	.wlsf-popup .wlsf-popup__input:focus { font-size: 20px; }
	.wlsf-popup button.wlsf-popup__clear { font-size: 16px; }
	.wlsf-popup button.wlsf-popup__close { width: 36px; height: 36px; font-size: 22px; }
	.wlsf-popup__body { padding: 22px 0 28px; }
	.wlsf-popup .wlsf-popup__title { font-size: 20px; }
	.wlsf-popup .wlsf-popup__viewall { font-size: 16px; gap: 8px; }
	.wlsf-popup__viewall-icon { width: 30px; height: 30px; font-size: 16px; }
	.wlsf-popup .wlsf-popup__list { gap: 10px; }
	.wlsf-popup .wlsf-result__link,
	.wlsf-popup[data-position] .wlsf-result__link { gap: 16px; }
	.wlsf-result__thumb,
	.wlsf-popup[data-position] .wlsf-result__thumb { width: 72px; border-radius: 10px; }
	.wlsf-result__title,
	.wlsf-popup[data-position] .wlsf-result__title { font-size: 16px; }
	.wlsf-result__price,
	.wlsf-popup[data-position] .wlsf-result__price { font-size: 14px; }
	.wlsf-result__info { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	.wlsf-popup__panel,
	.wlsf-popup__overlay,
	.wlsf-card__img { transition: none !important; }
}

/* ===================================================================
 * Page mode: filtering the theme's own product grid
 * ================================================================= */

.wlsf-hidden { display: none !important; }

.wlsf-filter[data-mode="page"] .wlsf-toolbar { margin-bottom: 28px; }

.wlsf-page-empty {
	margin: 0 0 28px;
	padding: 48px 20px;
	border: 1px dashed var(--wlsf-border);
	border-radius: var(--wlsf-ctrl-radius);
	color: var(--wlsf-muted);
	font-size: 17px;
	text-align: center;
}

@media (max-width: 767px) {
	.wlsf-filter[data-mode="page"] .wlsf-toolbar { margin-bottom: 18px; }
	.wlsf-page-empty { padding: 32px 16px; font-size: 15px; }
}

/* Other product grids on the page, hidden so products aren't listed twice. */
.wlsf-dupe-hidden { display: none !important; }
