/* Smart search dropdown — theme 92078 (kamar) */
.header,
.header .header-banner,
.header .header-banner .row,
.header .header-banner .col-md-4,
.header .header-banner .search,
.header .header-banner #search-box {
	overflow: visible;
}
.header .header-banner {
	position: relative;
	z-index: 21;
}
.header .header-banner .search,
.header .header-banner #search-box {
	position: relative;
	z-index: 40;
	height: auto;
	min-height: 30px;
}
.header .header-banner .search .search-border,
.header .header-banner #search-box .search-border {
	position: relative;
	overflow: visible;
	width: 100%;
}

.bnc-ss-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 9999;
	display: none;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
	border: 1px solid #eee;
	overflow: hidden;
	max-height: 70vh;
	overflow-y: auto;
	text-align: left;
	min-width: 280px;
}
.bnc-ss-dropdown.is-open {
	display: block;
}
.bnc-ss-dropdown .bnc-ss-panel {
	padding: 6px 0;
}
.bnc-ss-dropdown .bnc-ss-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 16px 4px;
}
.bnc-ss-dropdown .bnc-ss-head .bnc-ss-head-title {
	font-size: 13px;
	font-weight: 700;
	color: #666;
	text-transform: uppercase;
	letter-spacing: .3px;
}
.bnc-ss-dropdown .bnc-ss-head .bnc-ss-head-title i {
	color: #387ffd;
	margin-right: 4px;
}
.bnc-ss-dropdown .bnc-ss-clear {
	background: none;
	border: 0;
	padding: 0;
	font-size: 12px;
	color: #cb4f4f;
	cursor: pointer;
}
.bnc-ss-dropdown .bnc-ss-clear:hover {
	text-decoration: underline;
}
.bnc-ss-dropdown .bnc-ss-tags {
	list-style: none;
	margin: 0;
	padding: 4px 12px 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.bnc-ss-dropdown .bnc-ss-tags .bnc-ss-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	font-size: 13px;
	color: #333;
	background: #f4f4f4;
	border-radius: 20px;
	text-decoration: none;
}
.bnc-ss-dropdown .bnc-ss-tags .bnc-ss-tag i {
	font-size: 11px;
	color: #999;
}
.bnc-ss-dropdown .bnc-ss-tags .bnc-ss-tag:hover,
.bnc-ss-dropdown .bnc-ss-tags .bnc-ss-tag.is-active {
	background: #387ffd;
	color: #fff;
}
.bnc-ss-dropdown .bnc-ss-tags .bnc-ss-tag:hover i,
.bnc-ss-dropdown .bnc-ss-tags .bnc-ss-tag.is-active i {
	color: #fff;
}
.bnc-ss-dropdown .bnc-ss-hint {
	padding: 4px 16px 12px;
	font-size: 12px;
	color: #999;
}
.bnc-ss-dropdown .bnc-ss-list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
	max-height: none;
	border: 0;
	overflow: visible;
}
.bnc-ss-dropdown .bnc-ss-list .bnc-ss-item > a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	text-decoration: none;
	color: #333;
	white-space: normal;
	overflow: visible;
}
.bnc-ss-dropdown .bnc-ss-list .bnc-ss-item > a img {
	width: 46px;
	height: 46px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
	border: 1px solid #eee;
}
.bnc-ss-dropdown .bnc-ss-list .bnc-ss-item > a .bnc-ss-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.bnc-ss-dropdown .bnc-ss-list .bnc-ss-item > a .bnc-ss-name {
	font-size: 14px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bnc-ss-dropdown .bnc-ss-list .bnc-ss-item > a .bnc-ss-code {
	font-size: 12px;
	color: #666;
	margin-top: 2px;
	line-height: 1.3;
}
.bnc-ss-dropdown .bnc-ss-list .bnc-ss-item > a .bnc-ss-price {
	font-size: 13px;
	font-weight: 700;
	color: #cb4f4f;
	margin-top: 2px;
}
.bnc-ss-dropdown .bnc-ss-list .bnc-ss-item > a .bnc-ss-hl,
.bnc-ss-dropdown mark.bnc-ss-hl {
	background: transparent;
	color: #387ffd;
	font-weight: 700;
	padding: 0;
}
.bnc-ss-dropdown .bnc-ss-list .bnc-ss-item > a:hover,
.bnc-ss-dropdown .bnc-ss-list .bnc-ss-item > a.is-active {
	background: #f3f7ff;
	color: #387ffd;
}
.bnc-ss-dropdown .bnc-ss-empty {
	padding: 18px 16px;
	text-align: center;
	color: #999;
	font-size: 14px;
}
.bnc-ss-dropdown .bnc-ss-viewall {
	display: block;
	text-align: center;
	padding: 12px 16px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: #387ffd;
	text-decoration: none;
}
.bnc-ss-dropdown .bnc-ss-viewall:hover {
	filter: brightness(.95);
	color: #fff;
}
.bnc-ss-dropdown .bnc-ss-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 18px 16px;
	color: #888;
	font-size: 14px;
}
.bnc-ss-dropdown .bnc-ss-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid #e0e0e0;
	border-top-color: #387ffd;
	border-radius: 50%;
	animation: bncSsSpin .7s linear infinite;
}
@keyframes bncSsSpin {
	to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
	.header .header-banner .search,
	.header .header-banner #search-box {
		width: 100%;
		float: none;
	}
	.bnc-ss-dropdown {
		left: 0;
		right: 0;
		min-width: 0;
	}
}
