/* Sugerencias del buscador del header.
   El formulario usaba overflow:hidden (vitrelum-v2.css); se libera para que el
   desplegable no se corte y se redondean los extremos directamente. */
.hv-header-search.hv-has-suggest {
  position: relative;
  overflow: visible;
}
.hv-header-search.hv-has-suggest input[type="search"] {
  border-radius: 10.5px 0 0 10.5px;
}
.hv-header-search.hv-has-suggest button {
  border-radius: 0 10.5px 10.5px 0;
}

.hv-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1300;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--hvm-line, #e6eaf2);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(20, 48, 77, 0.16);
  text-align: left;
}
.hv-suggest[hidden] {
  display: none;
}
.hv-suggest__list {
  margin: 0;
  padding: 6px;
  list-style: none;
}
.hv-suggest__item {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hv-suggest__link {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--hvm-ink, #14253a);
  text-decoration: none;
}
.hv-suggest__item.is-active .hv-suggest__link,
.hv-suggest__link:hover {
  background: var(--hvm-soft, #f3f6fb);
}
.hv-suggest__thumb {
  width: 52px;
  height: 52px;
  object-fit: contain; /* las imágenes de producto nunca se recortan */
  background: #fff;
  border: 1px solid var(--hvm-line, #e6eaf2);
  border-radius: 8px;
}
.hv-suggest__name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.hv-suggest__name mark {
  padding: 0;
  background: var(--hvm-tint, #fff3d6);
  color: inherit;
  border-radius: 2px;
}
.hv-suggest__meta {
  display: block;
  margin-top: 2px;
  color: var(--hvm-muted, #5d6b85);
  font-size: 11px;
  line-height: 1.3;
}
.hv-suggest__price {
  font-size: 13px;
  font-weight: 800;
  color: var(--hvm-navy, #14304d);
  white-space: nowrap;
}
.hv-suggest__price del {
  display: none;
}
.hv-suggest__price ins {
  text-decoration: none;
}
.hv-suggest__out {
  color: #b3261e;
  font-size: 11px;
  font-weight: 700;
}
.hv-suggest__all {
  display: block;
  padding: 12px 16px;
  border-top: 1px solid var(--hvm-line, #e6eaf2);
  color: var(--hvm-navy, #14304d);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.hv-suggest__all:hover,
.hv-suggest__all.is-active {
  background: var(--hvm-soft, #f3f6fb);
}
.hv-suggest__status {
  padding: 18px 16px;
  color: var(--hvm-muted, #5d6b85);
  font-size: 13px;
  text-align: center;
}
.hv-suggest__status small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

@media (max-width: 767px) {
  .hv-suggest {
    max-height: 60vh;
  }
  .hv-suggest__link {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .hv-suggest__thumb {
    width: 44px;
    height: 44px;
  }
  .hv-suggest__price {
    grid-column: 2;
  }
}
