/**
 * Overlay de configurador publico (paginas origen: trends, marketplace).
 * Capa fija encima del contenido; iframe ocupa el area util bajo la barra de cierre.
 */
.vhivhe-configurator-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.55);
}

.vhivhe-configurator-overlay__toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Solo la X sobre la barra: sin caja de boton visible (hit area amplio para tactil). */
.vhivhe-configurator-overlay__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1rem;
  min-height: 1rem;
  padding: 0;
  border: none;
  border-radius: 0.25rem;
  color: #f8fafc;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.vhivhe-configurator-overlay__close:hover {
  color: #fff;
  opacity: 0.85;
}

.vhivhe-configurator-overlay__close:focus-visible {
  outline: 2px solid rgba(248, 250, 252, 0.45);
  outline-offset: 3px;
}

.vhivhe-configurator-overlay__frame-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #fff;
}

.vhivhe-configurator-overlay__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
