.bigbaa-header-search-bar {
	display: block;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	padding: 14px 15px;
}

.bigbaa-header-search-bar__inner {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
}

.bigbaa-header-search-bar__form {
	display: flex;
	align-items: center;
}

.bigbaa-header-search-bar__form input[type='search'] {
	flex: 1;
	padding: 10px 16px;
	font-size: 15px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-right: none;
	border-radius: 999px 0 0 999px;
	outline: none;
}

.bigbaa-header-search-bar__form input[type='search']:focus {
	border-color: #f96812;
}

.bigbaa-header-search-bar__form button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 48px;
	background: #101010;
	border: none;
	border-radius: 0 999px 999px 0;
	color: #fff;
	cursor: pointer;
}

.bigbaa-header-search-bar__form button svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.bigbaa-header-search-bar__results {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
	padding: 16px;
	z-index: 200;
	max-height: 70vh;
	overflow-y: auto;
}

.bigbaa-header-search-bar__results.is-open {
	display: block;
}

/* Search bar replaces the icon+modal at every width — most of this
   store's traffic is mobile, so the always-visible bar needs to be there
   too, not just on desktop.
   !important is required here — search.php's <li> carries Bootstrap's
   `.d-sm-block` utility class, which is itself `display: block !important`
   at the ≥768px breakpoint, and beats a plain display:none regardless of
   selector specificity. */
li:has(> a[href='#search']) {
	display: none !important;
}

@media (max-width: 767px) {
	.bigbaa-header-search-bar {
		padding: 10px 12px;
	}

	.bigbaa-header-search-bar__form input[type='search'] {
		padding: 9px 14px;
		font-size: 14px;
	}

	.bigbaa-header-search-bar__form button {
		width: 42px;
		height: 42px;
	}
}
