.suggest-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 100%;
  width: min(420px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  background: var(--surface);
  border: 1px solid var(--linea);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  max-height: 360px;
  overflow: auto;
  z-index: var(--z-dropdown);
  font-family: var(--font-family-sans);
  font-optical-sizing: auto;
  font-style: normal;
}

.suggest-dropdown.suggest-dropdown--top {
  top: auto;
  bottom: calc(100% + 12px);
  width: 100%;
  max-width: none;
  max-height: min(42vh, 360px);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(16, 18, 24, 0.16);
}

.suggest-dropdown .sg-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.suggest-dropdown .sg-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--search-suggest-image-bg, var(--color-surface-soft));
}

.suggest-dropdown .sg-item .sg-text {
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.suggest-dropdown .sg-item.is-active,
.suggest-dropdown .sg-item:hover {
  background: var(--color-surface-soft);
}

@media (max-width: 991.98px) {
  .searchbar--mobile .suggest-dropdown {
    width: 100%;
    max-width: none;
  }
}
