/**
 * B&J Flight Deck — white dropdown below the ORIGINAL Elementor Header B2.
 * The existing header, mega-menu and mobile drawer keep their design.
 */
.bj-live-search[hidden],
.bj-live-search [hidden] { display: none !important; }
.bj-live-search {
	position: fixed;
	z-index: 99990;
	left: 0;
	right: 0;
	width: 100%;
	max-height: min(75vh, 760px);
	overflow: auto;
	background: #fff;
	color: #063649;
	box-shadow: 0 10px 24px rgba(6, 54, 73, .08);
	border-bottom: 1px solid #e9eef0;
	box-sizing: border-box;
}
.bj-live-search,
.bj-live-search * { box-sizing: border-box; }
.bj-live-search__inner {
	width: calc(100% - 40px);
	max-width: 1280px;
	margin: 0 auto;
	padding: 20px 0;
}
.bj-live-search__form {
	display: flex;
	align-items: center;
	height: 48px;
	width: 100%;
	gap: 12px;
	padding: 0 16px;
	border: 1px solid #007aa6;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
}
.bj-live-search__form:focus-within {
	/* One coherent active field: no concentric Elementor + custom outlines. */
	outline: none;
	border-color: #007aa6;
	box-shadow: 0 0 0 2px rgba(0, 122, 166, .09);
}
.bj-live-search__magnifier {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
	color: #68696e;
}
.bj-live-search__magnifier svg {
	width: 20px;
	height: 20px;
	display: block;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
}
.bj-live-search__form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: #063649;
	padding: 0;
	height: 44px;
	line-height: 1.4;
	font-size: 16px;
	font-family: inherit;
	box-shadow: none;
	-webkit-appearance: none;
}
/* Elementor's global input:focus rules otherwise render a second blue box
   inside the B&J search field. Scope this reset to this one new component. */
.bj-live-search .bj-live-search__form input[type="search"],
.bj-live-search .bj-live-search__form input[type="search"]:focus,
.bj-live-search .bj-live-search__form input[type="search"]:focus-visible {
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
}
.bj-live-search__form input[type="search"]::-webkit-search-cancel-button { display: none; }
.bj-live-search__form button {
	flex: 0 0 auto;
	width: 32px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #68696e;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	border-radius: 5px;
	box-shadow: none;
}
.bj-live-search__form button:hover { color: #007aa6; background: #f6f8f9; }
.bj-live-search :is(button, a):focus-visible { outline: 2px solid #007aa6; outline-offset: 2px; }
/* Flight Deck §03.7: Elementor Kit H3 / anchor typography must not leak
   into our compact live results panel. ID-scoped rules override kit styles
   without changing headings, anchors or cards elsewhere on the website. */
#bj-live-search .bj-live-search__results {
	padding: 14px 0 0;
	font-family: inherit;
}
#bj-live-search .bj-live-search__section {
	display: block;
	margin: 0 0 16px;
	padding: 0;
}
#bj-live-search .bj-live-search__label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	color: #68696e;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: .045em;
	text-transform: uppercase;
}
#bj-live-search .bj-live-search__results a,
#bj-live-search .bj-live-search__results a:visited {
	color: #063649;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none;
}
#bj-live-search a.bj-live-search__suggestion,
#bj-live-search a.bj-live-search__category {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 38px;
	padding: 7px 8px;
	border-radius: 6px;
}
#bj-live-search a.bj-live-search__suggestion::before,
#bj-live-search a.bj-live-search__category::before {
	content: '';
	display: block;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
#bj-live-search a.bj-live-search__suggestion::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2368696e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.5'/%3E%3Cpath d='m15.6 15.6 4.5 4.5'/%3E%3C/svg%3E");
}
#bj-live-search a.bj-live-search__category::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2368696e' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='.8'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='.8'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='.8'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='.8'/%3E%3C/svg%3E");
}
#bj-live-search a.bj-live-search__suggestion:hover,
#bj-live-search a.bj-live-search__category:hover,
#bj-live-search a.bj-live-search__product:hover {
	color: #007aa6;
	background: #f6f8f9;
}
#bj-live-search a.bj-live-search__product {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	min-height: 56px;
	padding: 6px 8px;
	border-radius: 6px;
}
#bj-live-search .bj-live-search__image {
	width: 44px;
	height: 44px;
	object-fit: contain;
	background: #fff;
	border-radius: 6px;
}
#bj-live-search .bj-live-search__product-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
#bj-live-search .bj-live-search__sku {
	color: #68696e;
	font-size: 11px;
	line-height: 1.35;
}
#bj-live-search .bj-live-search__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: #063649;
}
#bj-live-search .bj-live-search__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	color: #063649;
	font-size: 14px;
	font-weight: 600;
	text-align: right;
}
#bj-live-search .bj-live-search__price .bj-live-search__amount {
	color: inherit;
}
#bj-live-search .bj-live-search__price .bj-live-search__vat-label {
	color: #68696e;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	white-space: nowrap;
}
#bj-live-search a.bj-live-search__all,
#bj-live-search a.bj-live-search__all:visited {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 14px 8px 4px;
	border-top: 1px solid #e6e6e6;
	color: #007aa6;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}
#bj-live-search a.bj-live-search__all:hover {
	color: #007aa6;
	text-decoration: underline;
}
#bj-live-search .bj-live-search__empty {
	margin: 4px 0 18px;
	color: #063649;
	font-size: 14px;
	line-height: 1.5;
}
@media (max-width: 1023px) {
	.bj-live-search__inner { width: calc(100% - 56px); }
}
@media (max-width: 639px) {
	.bj-live-search__inner { width: calc(100% - 32px); padding: 16px 0 20px; }
	.bj-live-search { max-height: 75dvh; }
	.bj-live-search__form { gap: 8px; padding: 0 10px; }
	.bj-live-search__form input[type="search"] { font-size: 16px; }
	#bj-live-search a.bj-live-search__product { grid-template-columns: 40px minmax(0,1fr); }
	#bj-live-search .bj-live-search__price { grid-column: 2; text-align: left; align-items: flex-start; }
	#bj-live-search .bj-live-search__image { width: 40px; height: 40px; }
}
