/* Filter/search layer extracted from the main stylesheet. */
#visd-service-wrapper .visd-tagbar:empty {
  display: none;
}

.visd-search-suggestions button.visd-sugg-item {
  font-size: 0.8em;
}

/* Robustness: WordPress can inject empty <p> tags into control labels. */
#visd-service-wrapper button.flex.w-full.items-center.justify-between.gap-3 {
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
}

#visd-service-wrapper button.flex.w-full.items-center.justify-between.gap-3 p:empty {
  display: none !important;
}

#visd-service-wrapper button.flex.w-full.items-center.justify-between.gap-3 p {
  margin: 0 !important;
}

/* Search suggestions (type-ahead). */
.visd-search-suggestions .visd-sugg-meta {
  padding: 8px 10px;
  font-size: 12px;
  color: #475569;
}

.visd-search-suggestions .visd-sugg-head {
  padding: 6px 10px 4px;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
}

.visd-search-suggestions .visd-sugg-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: #0f172a;
}

.visd-search-suggestions .visd-sugg-item.is-hover,
.visd-search-suggestions .visd-sugg-item:hover {
  background: rgba(15, 23, 42, 0.04);
}

@media (max-width: 767px) {
  input#visd-filter-search {
    width: 160px !important;
  }
}
