/* Header search box with instant results (mu-plugins/bs-search-v2). */
.bs-hs {
	position: relative;
	width: 85%;
	margin: 0 auto;
	text-align: left;
}
.bs-hs__field {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 44px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid #c9d3dd;
	border-radius: 12px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.bs-hs__field:focus-within {
	border-color: #0284c7;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, .18);
}
.bs-hs__field svg {
	flex: 0 0 22px;
}
.bs-hs__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0 !important;
	outline: none;
	background: transparent;
	font-size: 16px;
	color: #1f2d3d;
	box-shadow: none !important;
}
.bs-hs__input::-webkit-search-cancel-button {
	cursor: pointer;
}
.bs-hs__panel {
	position: absolute;
	z-index: 1050;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	max-height: min(70vh, 620px);
	overflow-y: auto;
	padding: 8px;
	background: #fff;
	border: 1px solid #e3e8ee;
	border-radius: 12px;
	box-shadow: 0 18px 44px rgba(16, 42, 67, .18);
}
.bs-hs__panel.is-loading {
	opacity: .6;
}
.bs-hs__section + .bs-hs__section {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid #eef1f4;
}
.bs-hs__label {
	padding: 6px 8px 4px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #7a8a99;
}
.bs-hs__note {
	padding: 6px 8px;
	font-size: 13px;
	color: #5a6b7b;
}
.bs-hs__term,
.bs-hs__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 8px;
	color: #1f2d3d;
	text-decoration: none;
}
.bs-hs__term:hover,
.bs-hs__item:hover,
.bs-hs__term.is-active,
.bs-hs__item.is-active {
	background: #f1f8fd;
	color: #1f2d3d;
}
.bs-hs__term {
	justify-content: space-between;
	font-weight: 600;
	font-size: 14px;
}
.bs-hs__term .bs-hs__tcount {
	font-weight: 400;
	font-size: 12.5px;
	color: #7a8a99;
}
.bs-hs__item img {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	object-fit: contain;
	background: #fff;
	border: 1px solid #edf1f5;
	border-radius: 8px;
}
.bs-hs__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.bs-hs__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bs-hs__title mark,
.bs-hs__term mark {
	padding: 0;
	background: none;
	color: #0284c7;
}
.bs-hs__meta {
	font-size: 12px;
	color: #7a8a99;
}
.bs-hs__badge {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 999px;
	font-weight: 500;
}
.bs-hs__badge--stock {
	background: #f1faf4;
	color: #1d7a3e;
}
.bs-hs__badge--deposit {
	background: #e8f4fb;
	color: #075985;
}
.bs-hs__badge--out {
	background: #f4f6f8;
	color: #5a6b7b;
}
.bs-hs__price {
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 700;
	color: #1f2d3d;
	text-align: right;
	white-space: nowrap;
}
.bs-hs__price del {
	display: block;
	font-weight: 400;
	font-size: 12px;
	color: #9aa7b3;
}
.bs-hs__price ins {
	text-decoration: none;
}
.bs-hs__price small {
	display: none;
}
.bs-hs__all {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px;
	border: 0;
	border-radius: 8px;
	background: #0284c7;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.bs-hs__all:hover {
	background: #075985;
}
.bs-hs__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px 8px 8px;
}
.bs-hs__chip {
	padding: 5px 12px;
	border: 1px solid #d6e2ec;
	border-radius: 999px;
	background: #fff;
	color: #1f2d3d;
	font-size: 13px;
	text-decoration: none;
	cursor: pointer;
}
.bs-hs__chip:hover {
	border-color: #0284c7;
	color: #0284c7;
}
.bs-hs__empty {
	padding: 6px 8px 4px;
	font-size: 14px;
	color: #1f2d3d;
}
.bs-hs__empty p {
	margin: 0 0 8px;
}
.bs-hs__help {
	margin-top: 8px !important;
	padding-top: 8px;
	border-top: 1px solid #eef1f4;
	font-size: 13px;
	color: #5a6b7b;
}
.bs-hs__help a {
	color: #0284c7;
	font-weight: 600;
}
@media (max-width: 991px) {
	.bs-hs {
		width: 100%;
	}
	.bs-hs__panel {
		max-height: 65vh;
	}
}
