/* ==========================================================================
   Merchant — instant search suggestions (assets/js/search.js, inc/search.php)
   ========================================================================== */
.wbs-panel {
	position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0;
	max-height: min(76vh, 640px); overflow-y: auto; overscroll-behavior: contain;
	background: #fff; border: 1px solid var(--wb-line); border-radius: var(--wb-radius);
	box-shadow: var(--wb-shadow-lg); text-align: left;
}
.wbs-list { list-style: none; margin: 0; padding: 6px; }
.wbs-group { padding: 10px 10px 4px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wb-muted); }
.wbs-cats ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; padding: 0 6px; }
.wbs-opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--wb-radius-sm); color: var(--wb-text); text-decoration: none; }
.wbs-opt[aria-selected="true"], .wbs-opt:hover { background: var(--wb-surface); }
.wbs-opt--cat { padding: 6px 12px; border: 1px solid var(--wb-line-strong); border-radius: 999px; font-size: 0.84rem; font-weight: 700; }
.wbs-opt--cat[aria-selected="true"], .wbs-opt--cat:hover { border-color: var(--wb-accent); color: var(--wb-accent); background: var(--wb-accent-soft); }
.wbs-thumb { flex: none; width: 56px; height: 56px; border-radius: 8px; background: var(--wb-surface); overflow: hidden; }
.wbs-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.wbs-body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.wbs-name { font-size: 0.88rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wbs-sku { font-size: 0.74rem; color: var(--wb-muted); }
.wbs-price { flex: none; font-size: 0.92rem; text-align: right; }
.wbs-price .price, .wbs-price { font-weight: 800; }
.wbs-price del { display: block; font-size: 0.74rem; font-weight: 500; color: var(--wb-muted); }
.wbs-price ins { text-decoration: none; color: var(--wb-accent); }
.wbs-empty { padding: 12px 10px; font-size: 0.86rem; color: var(--wb-muted); }
.wbs-list > li:last-child { position: sticky; bottom: -6px; margin: 4px -6px -6px; padding: 0 6px 6px; background: #fff; border-top: 1px solid var(--wb-line); }
.wbs-opt--all { justify-content: center; margin-top: 6px; padding: 12px 10px; font-size: 0.88rem; font-weight: 800; color: var(--wb-accent); }
.wbs-opt mark { background: none; color: inherit; font-weight: 800; }
@media (max-width: 640px) {
	.wbs-panel { max-height: 62vh; }
	.wbs-thumb { width: 48px; height: 48px; }
	.wbs-price { font-size: 0.84rem; }
}
