.wsa-product-search {
	--wsa-search-border: #d9dee7;
	--wsa-search-text: #122033;
	--wsa-search-muted: #66758a;
	--wsa-search-surface: #ffffff;
	--wsa-search-surface-alt: #f5f7fb;
	--wsa-search-accent: #1e5aa6;
	--wsa-search-accent-hover-bg: rgba(30, 90, 166, 0.08);
	--wsa-search-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
	position: relative;
}

.wsa-product-search__heading {
	color: var(--wsa-search-text);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin: 0 0 0.7rem;
	text-transform: uppercase;
}

.wsa-product-search__form {
	align-items: stretch;
	background: var(--wsa-search-surface);
	border: 1px solid var(--wsa-search-border);
	border-radius: 999px;
	box-shadow: var(--wsa-search-shadow);
	display: flex;
	gap: 0;
	overflow: hidden;
	position: relative;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.wsa-product-search__form::after {
	background: linear-gradient(90deg, rgba(30, 90, 166, 0) 0%, rgba(30, 90, 166, 0.24) 40%, rgba(30, 90, 166, 0) 100%);
	content: '';
	inset: auto 0 0 0;
	height: 2px;
	opacity: 0;
	position: absolute;
	transition: opacity 160ms ease;
}

.wsa-product-search__form:focus-within {
	border-color: rgba(30, 90, 166, 0.32);
	box-shadow: 0 0 0 4px rgba(30, 90, 166, 0.08), var(--wsa-search-shadow);
}

.wsa-product-search__field:focus-visible {
	outline: none;
}

.wsa-product-search.is-open .wsa-product-search__form::after,
.wsa-product-search.is-loading .wsa-product-search__form::after {
	opacity: 1;
}

.wsa-product-search__field-wrap {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
}

.wsa-product-search__field {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	box-shadow: none;
	color: var(--wsa-search-text);
	font-family: "FUTURA Book", Arial, sans-serif;
	font-size: 1rem;
	height: 58px;
	line-height: 1.4;
	margin: 0;
	min-width: 0;
	padding: 0 9.6rem 0 1.3rem;
	width: 100%;
}

.wsa-product-search__field::-webkit-search-decoration,
.wsa-product-search__field::-webkit-search-cancel-button,
.wsa-product-search__field::-webkit-search-results-button,
.wsa-product-search__field::-webkit-search-results-decoration {
	-webkit-appearance: none;
	display: none;
}

.wsa-product-search__field::placeholder {
	color: #7b8a96;
}

.wsa-product-search__clear {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--wsa-search-muted);
	cursor: pointer;
	display: inline-flex;
	font-size: 1.5rem;
	height: 2rem;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 5.5rem;
	width: 2rem;
	z-index: 2;
	transition: opacity 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.wsa-product-search__clear:hover,
.wsa-product-search__clear:focus-visible {
	background: var(--wsa-search-accent-hover-bg);
	color: var(--wsa-search-accent);
	outline: none;
}

.wsa-product-search.is-loading .wsa-product-search__clear {
	opacity: 0;
	pointer-events: none;
}

.wsa-product-search__submit {
	align-items: center;
	align-self: center;
	aspect-ratio: 1 / 1;
	appearance: none !important;
	-webkit-appearance: none !important;
	background: #fff !important;
	background-image: none !important;
	border: 1px solid var(--wsa-search-accent) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	color: var(--wsa-search-accent) !important;
	cursor: pointer;
	display: inline-flex !important;
	flex: 0 0 46px;
	height: auto !important;
	justify-content: center !important;
	line-height: 1 !important;
	margin: 0 !important;
	max-height: none !important;
	max-width: 46px !important;
	min-height: 0 !important;
	min-width: 46px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute;
	right: 6px;
	top: 6px;
	bottom: 6px;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
	vertical-align: middle !important;
	width: 46px !important;
	z-index: 1;
}

.wsa-product-search__submit:hover,
.wsa-product-search__submit:focus-visible {
	background: var(--wsa-search-accent-hover-bg);
	outline: none;
}

.wsa-product-search__status {
	border: 2px solid rgba(30, 90, 166, 0.16);
	border-radius: 50%;
	border-top-color: var(--wsa-search-accent);
	display: none;
	height: 18px;
	pointer-events: none;
	position: absolute;
	right: 60px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	z-index: 1;
}

.wsa-product-search.is-loading .wsa-product-search__status {
	animation: wsa-product-search-spin 0.72s linear infinite;
	display: block;
}

.wsa-product-search__submit-icon {
	align-items: center;
	display: inline-flex;
	height: 1.2rem;
	justify-content: center;
	width: 1.2rem;
}

.wsa-product-search__submit::before {
	display: none;
}

.wsa-product-search__submit-icon svg {
	display: block;
	fill: none;
	height: 100%;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.9;
	width: 100%;
}

.wsa-product-search__submit-text {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

@keyframes wsa-product-search-spin {
	from {
		transform: translateY(-50%) rotate(0deg);
	}

	to {
		transform: translateY(-50%) rotate(360deg);
	}
}

.wsa-product-search__panel {
	background: var(--wsa-search-surface);
	border: 1px solid rgba(23, 48, 65, 0.08);
	border-radius: 22px;
	box-shadow: var(--wsa-search-shadow);
	left: 0;
	margin-top: 0.9rem;
	max-height: min(70vh, 38rem);
	overflow-y: auto;
	padding: 0.9rem;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 9999;
}

.wsa-product-search__section + .wsa-product-search__section {
	margin-top: 0.85rem;
}

.wsa-product-search__section-label {
	color: var(--wsa-search-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 0.65rem;
	padding: 0 0.2rem;
	text-transform: uppercase;
}

.wsa-product-search__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.wsa-product-search__chip {
	background: var(--wsa-search-surface-alt);
	border: 1px solid rgba(13, 107, 120, 0.1);
	border-radius: 999px;
	color: var(--wsa-search-text);
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 0.55rem 0.85rem;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.wsa-product-search__chip:hover,
.wsa-product-search__chip:focus-visible {
	background: rgba(13, 107, 120, 0.08);
	border-color: rgba(13, 107, 120, 0.2);
	color: var(--wsa-search-accent);
	outline: none;
}

.wsa-product-search__results {
	display: grid;
	gap: 0.65rem;
}

.wsa-product-search__result {
	align-items: start;
	border: 1px solid transparent;
	border-radius: 18px;
	color: inherit;
	display: grid;
	gap: 0.9rem;
	grid-template-columns: auto 1fr;
	padding: 0.8rem;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.wsa-product-search__result:hover,
.wsa-product-search__result:focus-visible {
	background: var(--wsa-search-surface-alt);
	border-color: rgba(13, 107, 120, 0.12);
	outline: none;
	transform: translateY(-1px);
}

.wsa-product-search__result-media {
	border-radius: 14px;
	height: 72px;
	overflow: hidden;
	width: 72px;
}

.wsa-product-search__result-media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.wsa-product-search__result-body {
	min-width: 0;
}

.wsa-product-search__result-title {
	color: var(--wsa-search-text);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.wsa-product-search__result-meta {
	color: var(--wsa-search-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.78rem;
	gap: 0.55rem;
	line-height: 1.4;
	margin-top: 0.3rem;
}

.wsa-product-search__result-meta-item {
	align-items: center;
	display: inline-flex;
	gap: 0.35rem;
}

.wsa-product-search__result-excerpt {
	color: #50606d;
	font-size: 0.88rem;
	line-height: 1.55;
	margin-top: 0.38rem;
}

.wsa-product-search__result-price {
	color: var(--wsa-search-accent);
	font-size: 0.92rem;
	font-weight: 700;
	margin-top: 0.45rem;
}

.wsa-product-search__result-price .amount {
	color: inherit;
}

.wsa-product-search__footer {
	border-top: 1px solid rgba(23, 48, 65, 0.08);
	margin-top: 0.85rem;
	padding-top: 0.85rem;
}

.wsa-product-search__view-all,
.wsa-product-search__empty-link {
	color: var(--wsa-search-accent);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}

.wsa-product-search__view-all:hover,
.wsa-product-search__view-all:focus-visible,
.wsa-product-search__empty-link:hover,
.wsa-product-search__empty-link:focus-visible {
	text-decoration: underline;
}

.wsa-product-search__empty {
	padding: 1rem 0.2rem 0.45rem;
}

.wsa-product-search__empty-title {
	color: var(--wsa-search-text);
	font-size: 0.98rem;
	font-weight: 700;
	margin-bottom: 0.45rem;
}

.wsa-product-search mark {
	background: rgba(240, 198, 69, 0.45);
	border-radius: 0.22rem;
	color: inherit;
	padding: 0 0.15em;
}

.wsa-product-search-page-suggestions {
	align-items: center;
	background: linear-gradient(135deg, rgba(13, 107, 120, 0.07) 0%, rgba(17, 75, 110, 0.03) 100%);
	border: 1px solid rgba(13, 107, 120, 0.12);
	border-radius: 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin: 0 0 1.4rem;
	padding: 1rem 1.1rem;
}

.wsa-product-search-page-suggestions__label {
	color: var(--wsa-search-text);
	font-size: 0.9rem;
	font-weight: 700;
}

.wsa-product-search-page-suggestions__list {
	display: flex;
	flex: 1 1 20rem;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.wsa-product-search-page-suggestions__link {
	background: #fff;
	border: 1px solid rgba(13, 107, 120, 0.1);
	border-radius: 999px;
	color: var(--wsa-search-text);
	font-size: 0.84rem;
	font-weight: 600;
	padding: 0.5rem 0.8rem;
	text-decoration: none;
}

.wsa-product-search-page-suggestions__link:hover,
.wsa-product-search-page-suggestions__link:focus-visible {
	border-color: rgba(13, 107, 120, 0.22);
	color: var(--wsa-search-accent);
	outline: none;
}

@media (max-width: 767px) {
	.wsa-product-search__form {
		border-radius: 999px;
	}

	.wsa-product-search__field {
		height: 54px;
		padding-right: 9.1rem;
	}

	.wsa-product-search__submit {
		height: auto;
		top: 6px;
		bottom: 6px;
		right: 6px;
		max-height: none !important;
		max-width: 42px !important;
		min-height: 0 !important;
		min-width: 42px !important;
		width: 42px;
	}

	.wsa-product-search__status {
		right: 56px;
	}

	.wsa-product-search__clear {
		right: 5rem;
	}

	.wsa-product-search__panel {
		border-radius: 18px;
		padding: 0.8rem;
	}

	.wsa-product-search__result {
		grid-template-columns: 56px 1fr;
	}

	.wsa-product-search__result-media {
		height: 56px;
		width: 56px;
	}
}
