:root {
	--wi-spn-accent: #36a9e1;
	--wi-spn-accent-text: #ffffff;
	--wi-spn-text: #333333;
	--wi-spn-muted: #5f676a;
	--wi-spn-surface: #ffffff;
	--wi-spn-panel-bg: #ffffff;
	--wi-spn-surface-strong: #f8f9fb;
	--wi-spn-image-bg: #f4f5f7;
	--wi-spn-line: #d9dde3;
	--wi-spn-button-surface: #f5f5f5;
	--wi-spn-button-hover: #1979aa;
	--wi-spn-button-active: #166d99;
	--wi-spn-button-text: #333333;
	--wi-spn-radius: 30px;
	--wi-spn-shadow: 0 18px 42px rgba(17, 26, 26, 0.07);
}

.wi-spn,
.wi-spn * {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

.wi-spn {
	max-width: 1380px;
	margin: 0 auto;
	color: var(--wi-spn-text);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.wi-spn__toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	margin-bottom: 1rem;
}

.wi-spn__search {
	position: relative;
	flex: 0 1 420px;
	max-width: 420px;
}

.wi-spn__search--sidebar,
.wi-spn__search--drawer {
	flex: none;
	max-width: none;
	width: 100%;
}

.wi-spn__actions {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	flex: 0 0 auto;
}

.wi-spn__search-input,
.wi-spn__mobile-cascade select {
	width: 100%;
	min-height: 56px;
	border: 1px solid var(--wi-spn-line);
	border-radius: 999px;
	background: var(--wi-spn-surface);
	color: var(--wi-spn-text);
	padding: 0 18px;
	font-size: 1rem;
}

.wi-spn__search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 20;
	background: var(--wi-spn-surface);
	border: 1px solid var(--wi-spn-line);
	border-radius: 18px;
	box-shadow: var(--wi-spn-shadow);
	padding: 8px;
	max-height: 420px;
	overflow: auto;
}

.wi-spn__search-result {
	display: grid;
	grid-template-columns: 52px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 10px;
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
}

.wi-spn__search-result:hover {
	background: var(--wi-spn-surface-strong);
}

.wi-spn__search-result img {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 12px;
	background: var(--wi-spn-image-bg);
}

.wi-spn__drawer-trigger,
.wi-spn__apply-button,
.wi-spn__reset-button {
	border: 0;
	border-radius: 999px;
	padding: 0 24px;
	min-height: 54px;
	font-weight: 700;
	cursor: pointer;
}

.wi-spn__drawer-trigger,
.wi-spn__apply-button {
	background: var(--wi-spn-button-surface) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__drawer-trigger:hover,
.wi-spn__drawer-trigger:focus-visible,
.wi-spn__apply-button:hover,
.wi-spn__apply-button:focus-visible {
	background: var(--wi-spn-button-hover) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__drawer-trigger:active,
.wi-spn__apply-button:active {
	background: var(--wi-spn-button-active) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__reset-button {
	background: var(--wi-spn-surface-strong);
	color: var(--wi-spn-text);
}

.wi-spn__layout {
	display: grid;
	grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
}

.wi-spn__sidebar,
.wi-spn__content,
.wi-spn__drawer-panel {
	background: var(--wi-spn-panel-bg);
	border: 1px solid var(--wi-spn-line);
	border-radius: var(--wi-spn-radius);
	box-shadow: var(--wi-spn-shadow);
}

.wi-spn__sidebar {
	padding: 18px 18px 20px;
	position: sticky;
	top: 1rem;
	max-height: calc(100vh - 2rem);
	overflow: auto;
}

.wi-spn__sidebar::-webkit-scrollbar {
	width: 10px;
}

.wi-spn__sidebar::-webkit-scrollbar-thumb {
	background: rgba(51, 51, 51, 0.16);
	border-radius: 999px;
}

.wi-spn__panel + .wi-spn__panel {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--wi-spn-line);
}

.wi-spn__search + .wi-spn__panel {
	margin-top: 22px;
}

.wi-spn__panel-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border: 0;
	background: var(--wi-spn-button-surface) !important;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--wi-spn-button-text) !important;
	border-radius: 10px;
	cursor: pointer;
}

.wi-spn__panel-toggle:hover,
.wi-spn__panel-toggle:focus-visible {
	background: var(--wi-spn-button-hover) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__panel-toggle:active,
.wi-spn__panel-toggle.is-open:active {
	background: var(--wi-spn-button-active) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__panel-toggle::after {
	content: "+";
	font-size: 1.15rem;
}

.wi-spn__panel-toggle.is-open::after {
	content: "−";
}

.wi-spn__panel-body {
	margin-top: 12px;
}

.wi-spn__panel-toggle span {
	display: block;
	padding-left: 4px;
}

.wi-spn__term-list,
.wi-spn__category-tree,
.wi-spn__category-tree ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wi-spn__term-list li + li,
.wi-spn__category-tree li + li {
	margin-top: 12px;
}

.wi-spn__term-list label,
.wi-spn__category-item label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--wi-spn-muted);
	line-height: 1.2;
	cursor: pointer;
	padding-right: 52px;
}

.wi-spn__category-item {
	position: relative;
}

.wi-spn__category-item--depth-0 {
	padding-bottom: 4px;
}

.wi-spn__category-item--depth-0 + .wi-spn__category-item--depth-0 {
	margin-top: 16px;
}

.wi-spn__category-item--depth-0 > label span {
	font-weight: 700;
	color: var(--wi-spn-text);
}

.wi-spn__category-item--depth-1 > label span,
.wi-spn__category-item--depth-2 > label span,
.wi-spn__category-item--depth-3 > label span {
	font-weight: 500;
}

.wi-spn__term-list--large span {
	font-size: 1.05rem;
}

.wi-spn__term-list em,
.wi-spn__category-item em {
	margin-left: auto;
	font-style: normal;
	font-size: 0.95rem;
	color: var(--wi-spn-muted);
}

.wi-spn__category-tree ul {
	margin-top: 14px;
	margin-left: 14px;
	padding-left: 18px;
	border-left: 1px solid var(--wi-spn-line);
}

.wi-spn__category-toggle {
	position: absolute;
	top: -3px;
	right: 0;
	transform: none;
	width: 34px;
	height: 34px;
	padding: 0 0 5px;
	border: 0;
	border-radius: 10px;
	background: var(--wi-spn-button-surface) !important;
	color: var(--wi-spn-button-text) !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	z-index: 3;
}

.wi-spn__category-toggle:hover,
.wi-spn__category-toggle:focus-visible {
	background: var(--wi-spn-button-hover) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__category-toggle:active,
.wi-spn__category-toggle.is-open:active {
	background: var(--wi-spn-button-active) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__category-toggle::before {
	content: "+";
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
}

.wi-spn__category-toggle.is-open::before {
	content: "−";
}

.wi-spn__category-item--depth-0 > .wi-spn__category-toggle {
	background: var(--wi-spn-button-surface) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__category-item--depth-1 > .wi-spn__category-toggle,
.wi-spn__category-item--depth-2 > .wi-spn__category-toggle,
.wi-spn__category-item--depth-3 > .wi-spn__category-toggle {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--wi-spn-surface-strong) !important;
	color: var(--wi-spn-muted) !important;
	top: 0;
	z-index: 3;
}

.wi-spn__category-item--depth-1 > .wi-spn__category-toggle:hover,
.wi-spn__category-item--depth-1 > .wi-spn__category-toggle:focus-visible,
.wi-spn__category-item--depth-2 > .wi-spn__category-toggle:hover,
.wi-spn__category-item--depth-2 > .wi-spn__category-toggle:focus-visible,
.wi-spn__category-item--depth-3 > .wi-spn__category-toggle:hover,
.wi-spn__category-item--depth-3 > .wi-spn__category-toggle:focus-visible {
	background: var(--wi-spn-button-hover) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__category-item--depth-1 > .wi-spn__category-toggle::before,
.wi-spn__category-item--depth-2 > .wi-spn__category-toggle::before,
.wi-spn__category-item--depth-3 > .wi-spn__category-toggle::before {
	font-size: 1rem;
}

.wi-spn__category-item.has-children > ul {
	position: relative;
	z-index: 1;
}

.wi-spn__helper {
	margin: 0;
	color: var(--wi-spn-muted);
	font-size: 0.95rem;
}

.wi-spn__price-slider {
	display: grid;
	gap: 14px;
}

.wi-spn__price-values {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.95rem;
}

.wi-spn__price-track {
	position: relative;
	height: 28px;
}

.wi-spn__price-track::before {
	content: "";
	position: absolute;
	top: 12px;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--wi-spn-line);
	border-radius: 999px;
}

.wi-spn__price-progress {
	position: absolute;
	top: 12px;
	height: 4px;
	background: var(--wi-spn-accent);
	border-radius: 999px;
}

.wi-spn__price-track input[type="range"] {
	position: absolute;
	inset: 0;
	width: 100%;
	margin: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
}

.wi-spn__price-track input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--wi-spn-accent);
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px rgba(54, 169, 225, 0.18);
	pointer-events: auto;
	cursor: pointer;
}

.wi-spn__price-track input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--wi-spn-accent);
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px rgba(54, 169, 225, 0.18);
	pointer-events: auto;
	cursor: pointer;
}

.wi-spn__content {
	padding: 20px 20px 22px;
	overflow: hidden;
}

.wi-spn__results-meta {
	margin-bottom: 20px;
	color: var(--wi-spn-muted);
	font-size: 0.95rem;
}

.wi-spn__grid {
	display: grid;
	gap: 1.5rem;
}

.wi-spn__grid--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wi-spn__grid--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wi-spn__grid--cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wi-spn__card {
	background: var(--wi-spn-surface);
	border: 1px solid var(--wi-spn-line);
	border-radius: 26px;
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.wi-spn__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 30px rgba(17, 26, 26, 0.08);
}

.wi-spn__card-link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.wi-spn__card-media {
	padding: 0;
}

.wi-spn__card-media-inner {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	background: transparent;
	border-radius: 0;
	overflow: hidden;
}

.wi-spn__card-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: transparent;
	border-radius: 0;
}

.wi-spn__card-body {
	padding: 12px 24px 10px;
	min-height: 126px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 10px;
}

.wi-spn__card-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
	color: var(--wi-spn-accent);
}

.wi-spn__card-price {
	font-weight: 800;
	font-size: 1.02rem;
	color: #000000;
}

.wi-spn__card-actions {
	padding: 0 24px 20px;
	margin-top: 0;
}

.wi-spn__card-actions .button,
.wi-spn__card-actions .added_to_cart,
.wi-spn__card-actions a.button,
.wi-spn__card-actions a.add_to_cart_button,
.wi-spn__card-actions a.product_type_simple,
.wi-spn__card-actions a.product_type_variable,
.wi-spn__card-actions a.product_type_external,
.wi-spn__card-actions a.product_type_grouped {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px !important;
	padding: 14px 20px !important;
	margin: 0 !important;
	border-radius: 14px;
	background: var(--wi-spn-button-surface) !important;
	border: 1px solid var(--wi-spn-button-surface) !important;
	color: var(--wi-spn-button-text) !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	line-height: 1.1 !important;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: none !important;
	text-transform: capitalize !important;
}

.wi-spn__card-actions .button:hover,
.wi-spn__card-actions .added_to_cart:hover,
.wi-spn__card-actions a.button:hover,
.wi-spn__card-actions a.add_to_cart_button:hover,
.wi-spn__card-actions a.product_type_simple:hover,
.wi-spn__card-actions a.product_type_variable:hover,
.wi-spn__card-actions a.product_type_external:hover,
.wi-spn__card-actions a.product_type_grouped:hover {
	background: var(--wi-spn-button-hover) !important;
	border-color: var(--wi-spn-button-hover) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__card-actions .button:active,
.wi-spn__card-actions .added_to_cart:active,
.wi-spn__card-actions a.button:active,
.wi-spn__card-actions a.add_to_cart_button:active,
.wi-spn__card-actions a.product_type_simple:active,
.wi-spn__card-actions a.product_type_variable:active,
.wi-spn__card-actions a.product_type_external:active,
.wi-spn__card-actions a.product_type_grouped:active {
	background: var(--wi-spn-button-active) !important;
	border-color: var(--wi-spn-button-active) !important;
	color: var(--wi-spn-button-text) !important;
}

.wi-spn__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 24px;
}

.wi-spn-single-quote {
	margin: 22px 0;
}

.wi-spn-single-quote .button,
.wi-spn-single-quote__button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 24px !important;
	border-radius: 12px;
	background: var(--wi-spn-button-surface, #36a9e1) !important;
	border: 1px solid var(--wi-spn-button-surface, #36a9e1) !important;
	color: var(--wi-spn-button-text, #ffffff) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.wi-spn-single-quote .button:hover,
.wi-spn-single-quote .button:focus-visible,
.wi-spn-single-quote__button:hover,
.wi-spn-single-quote__button:focus-visible {
	background: var(--wi-spn-button-hover, #1979aa) !important;
	border-color: var(--wi-spn-button-hover, #1979aa) !important;
	color: var(--wi-spn-button-text, #ffffff) !important;
}

.wi-spn__page-list {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.wi-spn__page-button {
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--wi-spn-line);
	border-radius: 999px;
	background: var(--wi-spn-surface);
	color: var(--wi-spn-text);
	cursor: pointer;
	font-weight: 700;
}

.wi-spn__page-ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 44px;
	color: var(--wi-spn-muted);
	font-weight: 700;
}

.wi-spn__page-button.is-active {
	background: var(--wi-spn-accent);
	border-color: var(--wi-spn-accent);
	color: var(--wi-spn-accent-text);
}

.wi-spn__empty {
	padding: 64px 20px;
	background: var(--wi-spn-surface-strong);
	border-radius: 24px;
	text-align: center;
}

.wi-spn__drawer {
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.wi-spn__drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 26, 26, 0.38);
}

.wi-spn__drawer-panel {
	position: absolute;
	inset: 0 auto 0 0;
	width: min(92vw, 420px);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-radius: 0 28px 28px 0;
	transform: translateX(-100%);
	transition: transform 0.24s ease;
}

.wi-spn__drawer.is-open .wi-spn__drawer-panel {
	transform: translateX(0);
}

.wi-spn__drawer-header,
.wi-spn__drawer-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.wi-spn__drawer-close {
	border: 0;
	background: transparent;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.wi-spn__drawer-form {
	display: grid;
	gap: 16px;
	overflow: auto;
	padding-right: 4px;
}

.wi-spn__mobile-cascade,
.wi-spn__mobile-select {
	display: grid;
	gap: 10px;
}

.wi-spn__mobile-cascade label span,
.wi-spn__mobile-select span {
	color: var(--wi-spn-muted);
	font-size: 0.92rem;
}

.wi-spn.is-loading .wi-spn__grid-shell {
	opacity: 0.56;
	pointer-events: none;
}

@media (min-width: 992px) {
	.wi-spn__toolbar {
		display: none;
	}

	.wi-spn__drawer-trigger {
		display: none;
	}
}

@media (max-width: 991px) {
	.wi-spn__toolbar {
		justify-content: flex-start;
		margin-bottom: 1rem;
	}

	.wi-spn__actions {
		width: 100%;
	}

	.wi-spn__layout {
		grid-template-columns: 1fr;
	}

	.wi-spn__sidebar {
		display: none;
	}

	.wi-spn__content {
		padding: 16px;
	}

	.wi-spn__drawer-trigger {
		min-width: 160px;
		padding-inline: 20px;
	}

	.wi-spn__grid--cols-3,
	.wi-spn__grid--cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.wi-spn__toolbar {
		margin-bottom: 1rem;
	}

	.wi-spn__search-input,
	.wi-spn__mobile-cascade select {
		min-height: 52px;
	}

	.wi-spn__drawer-trigger {
		min-width: 100%;
		min-height: 52px;
		padding-inline: 18px;
	}

	.wi-spn__results-meta {
		margin-bottom: 14px;
	}

	.wi-spn__grid,
	.wi-spn__grid--cols-2,
	.wi-spn__grid--cols-3,
	.wi-spn__grid--cols-4 {
		grid-template-columns: 1fr;
	}

	.wi-spn__card-body {
		min-height: 0;
	}
}
