/* Suggerimenti della barra di ricerca in alto (desktop) — stessi stili del menu dell'hero della home
   (richiesta jmagrini #84). Generato dalle regole `.sp-home-dark-v1 .hsearch-dropdown / .search-suggestion*`
   di home-dark-v1.css, con lo scope della barra in alto. Solo desktop: sotto 992px la barra non c'è. */
.as-top-header .as-header-search-box { position: relative; }

.as-top-header .as-header-search-box .hsearch-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #0b151e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(1, 216, 192, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  max-height: 410px;
  overflow-y: auto;
  z-index: 9999;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.as-top-header .as-header-search-box .hsearch-dropdown::-webkit-scrollbar {
  width: 6px;
}
.as-top-header .as-header-search-box .hsearch-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}
.as-top-header .as-header-search-box .hsearch-group-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.48);
  padding: 8px 10px 4px;
}
.as-top-header .as-header-search-box .search-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: none;
  background: none;
  padding: 8px 10px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-ui);
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  box-sizing: border-box;
}
.as-top-header .as-header-search-box .search-suggestion:hover,
.as-top-header .as-header-search-box .search-suggestion.search-suggestion--active {
  background: rgba(1, 216, 192, 0.14);
  text-decoration: none;
  color: #ffffff;
}
.as-top-header .as-header-search-box .search-suggestion__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.as-top-header .as-header-search-box .search-suggestion__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.as-top-header .as-header-search-box .search-suggestion__icon--city {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.16);
}
.as-top-header .as-header-search-box .search-suggestion__icon--region {
  color: #34d399;
  background: rgba(52, 211, 153, 0.16);
}
.as-top-header .as-header-search-box .search-suggestion:hover .search-suggestion__icon--city,
.as-top-header .as-header-search-box .search-suggestion.search-suggestion--active .search-suggestion__icon--city {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.28);
}
.as-top-header .as-header-search-box .search-suggestion:hover .search-suggestion__icon--region,
.as-top-header .as-header-search-box .search-suggestion.search-suggestion--active .search-suggestion__icon--region {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.28);
}
.as-top-header .as-header-search-box .search-suggestion__thumb {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}
.as-top-header .as-header-search-box .search-suggestion__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.as-top-header .as-header-search-box .search-suggestion__label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}
.as-top-header .as-header-search-box .search-suggestion__subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}
.as-top-header .as-header-search-box .search-suggestion__tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.as-top-header .as-header-search-box .search-suggestion__arrow {
  margin-left: 6px;
  color: var(--as-teal);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.as-top-header .as-header-search-box .search-suggestion:hover .search-suggestion__arrow,
.as-top-header .as-header-search-box .search-suggestion.search-suggestion--active .search-suggestion__arrow {
  opacity: 1;
  transform: translateX(0);
}
.as-top-header .as-header-search-box .hsearch-dropdown-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 6px;
  padding-top: 6px;
}
.as-top-header .as-header-search-box .hsearch-dropdown-footer a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(1, 216, 192, 0.08);
  color: var(--as-teal);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  box-sizing: border-box;
}
.as-top-header .as-header-search-box .hsearch-dropdown-footer a:hover {
  background: rgba(1, 216, 192, 0.18);
  color: #ffffff;
  text-decoration: none;
}
.as-top-header .as-header-search-box .hsearch-empty {
  padding: 20px 14px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}
.as-top-header .as-header-search-box .search-suggestion { gap: 14px; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
.as-top-header .as-header-search-box .search-suggestion .search-suggestion__thumb,
.as-top-header .as-header-search-box .search-suggestion .search-suggestion__icon { width: 48px; height: 48px; border-radius: 8px; flex: none; background: #052C43; object-fit: cover; }
.as-top-header .as-header-search-box .search-suggestion .search-suggestion__icon,
.as-top-header .as-header-search-box .search-suggestion .search-suggestion__icon--city,
.as-top-header .as-header-search-box .search-suggestion .search-suggestion__icon--region { color: rgba(255,255,255,.72); background: #052C43; }
.as-top-header .as-header-search-box .search-suggestion .search-suggestion__icon svg { width: 17px; height: 17px; }
.as-top-header .as-header-search-box .search-suggestion__thumb { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.as-top-header .as-header-search-box .search-suggestion__thumb--artist,
.as-top-header .as-header-search-box .search-suggestion__icon--artist { border-radius: 50% !important; }
.as-top-header .as-header-search-box .search-suggestion__label { font-family: var(--font-display, 'Fira Sans'); font-weight: 700; font-size: 15.5px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.as-top-header .as-header-search-box .search-suggestion__subtitle { font-size: 12px; color: rgba(255,255,255,.72); }
.as-top-header .as-header-search-box .search-suggestion__subtitle--pin { display: flex !important; align-items: center; gap: 4px; }
.as-top-header .as-header-search-box .search-suggestion__subtitle--pin svg,
.as-top-header .as-header-search-box .search-suggestion__subtitle--pin svg { width: 12px !important; height: 12px !important; min-width: 12px; color: inherit !important; stroke: currentColor !important; fill: none !important; stroke-width: 2; flex: none; }

/* nella barra in alto: sotto la barra, larghezza fissa, sopra l'header (z-index 1050) */
.as-top-header .as-header-search-box .hsearch-dropdown { top: calc(100% + 8px); left: 0; right: auto; width: 560px; max-width: calc(100vw - 32px); z-index: 1060; }
@media (max-width: 991.98px) {
  .as-top-header .as-header-search-box .hsearch-dropdown { display: none !important; }
}
