#tmsearch2,
#tmsearch,
#searchbox {
	position: relative;
}

#header_assets.is-suggest-open,
#btn-search.is-suggest-open {
	z-index: 80;
}

#searchbox.is-searching #searchBtn i {
	visibility: hidden;
}

#searchbox.is-searching #searchBtn::after {
	content: '';
	display: block;
	width: 14px;
	height: 14px;
	margin: 0 auto;
	border: 2px solid #d5dbe3;
	border-top-color: #2e6da4;
	border-radius: 50%;
	animation: onp-suggest-spin .6s linear infinite;
}

@keyframes onp-suggest-spin {
	to { transform: rotate(360deg); }
}

.onp-suggest {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 4000;
	width: 520px;
	max-width: calc(100vw - 24px);
	max-height: 70vh;
	overflow: auto;
	background: #fff;
	border: 1px solid #e6eaf0;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(20, 40, 70, .12);
	text-align: left;
}

.onp-suggest-label {
	padding: 10px 14px 4px;
	color: #6b7580;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.onp-suggest-product,
.onp-suggest-category,
.onp-suggest-all {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	color: #1c2430;
	text-decoration: none;
}

.onp-suggest-product:hover,
.onp-suggest-category:hover,
.onp-suggest-product.is-active,
.onp-suggest-category.is-active,
.onp-suggest-all:hover,
.onp-suggest-all.is-active {
	background: #f4f8fc;
	color: #1c2430;
}

.onp-suggest-product img,
.onp-suggest-ph {
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	object-fit: contain;
	border: 1px solid #eef1f4;
	border-radius: 8px;
	background: #fff;
}

.onp-suggest-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 3px;
}

.onp-suggest-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.onp-suggest-price,
.onp-suggest-path {
	color: #5d6773;
	font-size: 13px;
	font-weight: 500;
}

.onp-suggest-category {
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.onp-suggest-all {
	border-top: 1px solid #eef1f4;
	color: #2e6da4;
	font-size: 13px;
	font-weight: 600;
}

.onp-suggest-empty {
	padding: 14px;
	color: #5d6773;
	font-size: 14px;
}

@media (max-width: 767px) {
	.onp-suggest {
		width: 100%;
	}
	.onp-suggest-product img,
	.onp-suggest-ph {
		width: 48px;
		height: 48px;
		flex-basis: 48px;
	}
}
