/* Sugerencias del buscador del header */
.bh-suggest { max-width: 760px; margin: 0 auto; font-family: var(--bh-font); color: var(--bh-texto); }
.bh-suggest [hidden] { display: none !important; }
.bh-suggest-idle { padding-top: 16px; }
.bh-suggest-label { margin: 0 0 10px; font: 500 11px/1 var(--bh-font); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.bh-suggest-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.bh-suggest-chips li { margin: 0; }
.bh-suggest-chips a {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid rgba(35, 67, 63, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .55);
	color: var(--bh-texto) !important;
	font: 400 13.5px/1.2 var(--bh-font);
	text-decoration: none !important;
	transition: background-color .2s ease, border-color .2s ease;
}
.bh-suggest-chips a:hover { background: #fff; border-color: var(--bh-verde); }

.bh-suggest-results {
	margin-top: 14px;
	max-height: min(62vh, 560px);
	overflow-y: auto;
	padding: 8px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 24px 50px -30px rgba(35, 67, 63, .55);
	overscroll-behavior: contain;
}
.bh-suggest mark { display: inline !important; margin: 0 !important; padding: 0 !important; background: none !important; color: inherit !important; font-weight: 600; }

.bh-sg-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 6px 10px; border-bottom: 1px solid rgba(35, 67, 63, .1); margin-bottom: 6px; }
.bh-sg-cat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #FDF1F1;
	color: var(--bh-texto) !important;
	font: 400 13.5px/1.2 var(--bh-font);
	text-decoration: none !important;
}
.bh-sg-cat span { font-size: 11.5px; opacity: .6; }
.bh-sg-cat:hover, .bh-sg-cat.is-active { background: var(--bh-rosa); }

.bh-sg-products { list-style: none; margin: 0; padding: 0; }
.bh-sg-products li { margin: 0; }
.bh-sg-product {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 8px;
	border-radius: 4px;
	color: var(--bh-texto) !important;
	text-decoration: none !important;
	transition: background-color .15s ease;
}
.bh-sg-product:hover, .bh-sg-product.is-active { background: #FDF1F1; }
.bh-sg-product img { width: 56px !important; height: 70px !important; margin: 0 !important; border-radius: 4px; object-fit: cover; background: #F4EEEC; }
.bh-sg-name { font: 400 15px/1.35 var(--bh-font); }
.bh-sg-price { font: 500 14.5px/1.2 var(--bh-font); white-space: nowrap; }
.bh-sg-price small { font-size: 11.5px; font-weight: 400; opacity: .65; }

.bh-sg-all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 6px;
	padding: 14px 12px;
	border-top: 1px solid rgba(35, 67, 63, .1);
	color: var(--bh-verde) !important;
	font: 500 12px/1.2 var(--bh-font);
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none !important;
}
.bh-sg-all:hover, .bh-sg-all.is-active { background: #F3F7F5; }
.bh-sg-empty, .bh-sg-loading { margin: 0; padding: 18px 14px; font: 400 14.5px/1.55 var(--bh-font); text-align: center; }
.bh-sg-empty a { color: var(--bh-verde) !important; text-decoration: underline; text-underline-offset: 3px; }
.bh-sg-loading { display: flex; align-items: center; justify-content: center; gap: 10px; opacity: .75; }
.bh-sg-loading span { width: 16px; height: 16px; border: 2px solid rgba(35, 67, 63, .2); border-top-color: var(--bh-verde); border-radius: 50%; animation: bh-sg-spin .7s linear infinite; }
@keyframes bh-sg-spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
	.bh-suggest-results { max-height: 60vh; padding: 6px; }
	.bh-sg-product { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; }
	.bh-sg-product img { width: 48px !important; height: 60px !important; grid-row: span 2; }
	.bh-sg-name { font-size: 14.5px; align-self: end; }
	.bh-sg-price { align-self: start; font-size: 13.5px; }
}
