.fls-search-wrap {
	position: relative;
	max-width: 420px;
	width: 100%;
}

.fls-search-form {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 999px;
	padding: 8px;
}

.fls-search-icon {
	position: absolute;
	left: 24px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	color: #666;
	pointer-events: none;
}

.fls-search-input {
	flex: 1;
	border: none;
	outline: none;
	background: #ececec;
	border-radius: 999px;
	padding: 14px 20px 14px 44px;
	font-size: 15px;
	color: #222;
}

.fls-search-input::placeholder {
	color: #9a9a9a;
}

.fls-search-submit-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	padding: 0;
}

.fls-results-panel {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	max-height: 420px;
	overflow-y: auto;
	z-index: 9999;
}

.fls-results-list {
	list-style: none;
	margin: 0;
	padding: 4px;
}

.fls-result-item a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
}

.fls-result-item a:hover,
.fls-result-item.is-active a {
	background: #f5f5f5;
}

.fls-result-thumb {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}

.fls-result-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fls-result-title {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fls-result-sku {
	font-size: 11px;
	color: #888;
}

.fls-result-price {
	font-size: 12px;
	color: #2a6a2a;
}

.fls-result-item.out-of-stock .fls-result-title::after {
	content: ' (Out of stock)';
	color: #c0392b;
	font-weight: 400;
	font-size: 11px;
}

.fls-no-results {
	padding: 14px;
	font-size: 13px;
	color: #777;
	text-align: center;
}
