.ts-search-autocomplete-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 480px;
  overflow-y: auto;
  margin-top: 6px;
  scrollbar-width: thin;
}

.ts-search-autocomplete-results.is-open {
  display: block;
}

.ts-search-autocomplete-results::-webkit-scrollbar {
  width: 6px;
}

.ts-search-autocomplete-results::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.ts-search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.ts-search-result-item:last-child {
  border-bottom: none;
}

.ts-search-result-item:hover,
.ts-search-result-item.is-active {
  background: #f5f5f5;
}

.ts-search-result-thumb {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
}

.ts-search-result-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ts-search-result-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eaeaea 25%, #f2f2f2 25%, #f2f2f2 50%, #eaeaea 50%, #eaeaea 75%, #f2f2f2 75%, #f2f2f2 100%);
  background-size: 8px 8px;
}

.ts-search-result-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ts-search-result-title {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ts-search-result-type {
  font-size: 12px;
  color: #888;
  text-transform: capitalize;
}

.ts-search-no-results {
  padding: 12px 14px;
  color: #888;
  font-size: 14px;
}
