/* ── Hero autocomplete dropdown ─────────────────────────────── */

.mv-hero-ac {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(4, 33, 62, 0.22);
  overflow: hidden;
  z-index: 500;
  animation: mv-ac-in 0.18s ease;
}

@keyframes mv-ac-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Üksik tulemus */
.mv-hero-ac__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: #04213E;
  border-bottom: 1px solid #f0f3f6;
  transition: background 0.15s;
}

.mv-hero-ac__item:last-of-type { border-bottom: none; }

.mv-hero-ac__item:hover,
.mv-hero-ac__item--active {
  background: #f0f8f5;
}

/* Piltide/ikoonide ala */
.mv-hero-ac__thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.mv-hero-ac__icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* Teksti ala */
.mv-hero-ac__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mv-hero-ac__title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mv-hero-ac__title mark {
  background: #d4f5ea;
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

.mv-hero-ac__sub,
.mv-hero-ac__meta {
  font-size: 12px;
  color: #6b7a8d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tüübibädjid */
.mv-hero-ac__badge {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* "Vaata kõiki" link */
.mv-hero-ac__all {
  display: block;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #185FA5;
  background: #f7fafd;
  text-decoration: none;
  border-top: 1px solid #e8eef5;
  transition: background 0.15s;
}

.mv-hero-ac__all:hover { background: #e8eef5; }

/* Olekusõnumid */
.mv-hero-ac__loading,
.mv-hero-ac__empty,
.mv-hero-ac__err {
  padding: 14px 16px;
  font-size: 13px;
  color: #6b7a8d;
  text-align: center;
}

/* Mobiil */
@media (max-width: 600px) {
  .mv-hero-ac__badge { display: none; }
  .mv-hero-ac__sub   { display: none; }
  .mv-hero-ac__item  { padding: 9px 12px; gap: 10px; }
  .mv-hero-ac__thumb,
  .mv-hero-ac__icon  { width: 36px; height: 36px; }
}
