/* Live search dropdown — uses site :root tokens from style.css */
.bh-search-live-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 100;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(17, 36, 63, 0.14);
  border: 1px solid var(--bh-border, rgba(0, 0, 0, 0.08));
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 0.5rem 0;
}

.bh-search-live-group-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bh-navy, #001a5e);
  opacity: 0.75;
}

.bh-search-live-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: var(--bh-header-dark, #1a1a1a);
  transition: background 0.15s ease;
}

.bh-search-live-item:hover,
.bh-search-live-item.is-active {
  background: rgba(0, 26, 94, 0.06);
}

.bh-search-live-item mark {
  background: rgba(0, 120, 255, 0.14);
  color: inherit;
  padding: 0;
  border-radius: 2px;
}

.bh-search-live-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(0, 26, 94, 0.08);
}

.bh-search-live-thumb--empty {
  display: inline-block;
}

.bh-search-live-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.bh-search-live-text strong {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bh-navy, #001a5e);
}

.bh-search-live-sub {
  font-size: 0.8rem;
  color: #5c5c5c;
}

.bh-search-live-all {
  display: block;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--bh-border, rgba(0, 0, 0, 0.08));
  font-weight: 600;
  color: var(--bh-accent, #c5007e);
  text-decoration: none;
  font-size: 0.9rem;
}

.bh-search-live-all:hover {
  background: rgba(0, 26, 94, 0.04);
  color: var(--bh-navy, #001a5e);
}

.bh-search-live-empty {
  margin: 0;
  padding: 1rem;
  text-align: center;
  color: #5c5c5c;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .bh-search-live-panel {
    position: fixed;
    left: 4%;
    right: 4%;
    top: auto;
    bottom: 1rem;
    max-height: 50vh;
  }
}
