/* kb-search.css (2026-10-19) — Amazon-style instant search dropdown. */
.kb-search-suggest {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 1400;
  background: #fff;
  border: 1px solid #d6dde4;
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.18);
  max-height: 460px;
  overflow-y: auto;
  padding: 6px 0;
}
.kb-search-suggest.is-open { display: block; }

.kb-sg-group { padding: 2px 0; }
.kb-sg-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7683;
  padding: 8px 14px 4px;
}
.kb-sg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  color: #16202b;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
}
.kb-sg-item:hover,
.kb-sg-item.is-active { background: #f2f5f8; }

.kb-sg-icon {
  width: 30px;
  height: 30px;
  flex: none;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}
.kb-sg-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-sg-mark { background: transparent; color: #0b6ea8; font-weight: 700; }
.kb-sg-meta {
  flex: none;
  font-size: 11px;
  color: #7a858f;
  background: #f4f6f8;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.kb-sg-history { color: #4a5560; }
.kb-sg-all {
  display: block;
  padding: 10px 14px;
  border-top: 1px solid #eceff2;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #0b6ea8;
  text-decoration: none;
}
.kb-sg-all:hover { background: #f2f5f8; }
.kb-sg-empty { padding: 14px; font-size: 13px; color: #6b7683; }

/* ensure the search form is a positioning context */
form.kb-search,
form.shop-search,
.kb-search-form,
form[data-kb-search] { position: relative; }

/* the panel lives inside .kb-search-shell in some themes */
.kb-search-shell { position: relative; }
