.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-radius: 0 0 4px 4px;
  max-height: 400px;
  overflow-y: auto;
}

.search-dropdown[hidden] {
  display: none;
}

.search-dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s;
}

.search-dropdown__item:hover,
.search-dropdown__item--active {
  background-color: #f5f5f5;
}

.search-dropdown__thumb {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 2px;
}

.search-dropdown__thumb--empty {
  width: 40px;
  height: 40px;
  background: #f0f0f0;
  flex-shrink: 0;
  border-radius: 2px;
}

.search-dropdown__info {
  display: flex;
  justify-content: space-between;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search-dropdown__name {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-dropdown__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  font-size: 13px;
  color: #e11;
  font-weight: 600;
  margin-top: 2px;
}

.search-dropdown__price del {
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 500;
}

.search-dropdown__all {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--color-secondary);
  border-top: 1px solid #e0e0e0;
  text-align: center;
  text-decoration: none;
}

.search-dropdown__all:hover {
  background-color: #f5f5f5;
}

.search-dropdown__empty {
  padding: 12px;
  color: #888;
  font-size: 14px;
  text-align: center;
}

.top__search {
  position: relative;
}
