/* baylan-ukraine 2026-08-27 R1.7: header autosuggest dropdown.
   Container geometry (.bl-suggest positioning) already lives in baylan-shell.css;
   this file only styles the content rendered by baylan-search.js. */

.bl-suggest {
  max-height: min(60vh, 420px);
  overflow-y: auto;
}

.bl-suggest-item {
  display: flex;
  align-items: center;
  gap: var(--bl-space-3);
  padding: var(--bl-space-2) var(--bl-space-3);
  border-top: var(--bl-hairline);
  color: var(--bl-color-text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
}
.bl-suggest-item:first-child { border-top: 0; }

.bl-suggest-item:hover,
.bl-suggest-item.is-active {
  background: var(--bl-color-bg-soft, #f2f5f8);
}
.bl-suggest-item.is-active {
  outline: 2px solid var(--bl-color-accent);
  outline-offset: -2px;
}

.bl-suggest-thumb {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: var(--bl-hairline);
  background: #fff;
}

.bl-suggest-item-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bl-suggest-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.bl-suggest-price {
  font-weight: 700;
  white-space: nowrap;
}
.bl-suggest-price-old {
  margin-left: var(--bl-space-2);
  font-weight: 400;
  color: var(--bl-alpha-text-55);
  text-decoration: line-through;
}

.bl-suggest-all {
  display: block;
  padding: var(--bl-space-3);
  border-top: var(--bl-hairline);
  color: var(--bl-color-accent);
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.bl-suggest-all:hover,
.bl-suggest-all.is-active {
  background: var(--bl-color-bg-soft, #f2f5f8);
}
.bl-suggest-all.is-active {
  outline: 2px solid var(--bl-color-accent);
  outline-offset: -2px;
}
