/* Consultar precio · prefijo .ecpc- */

/* Listados: el aviso ocupa el sitio del precio */
.ecpc-precio {
  font-family: var(--ec-cond, 'Barlow Condensed', sans-serif);
  font-weight: 700;
  color: var(--ec-red, #D61016);
  text-transform: none;
}

/* Ficha: mismo aspecto que el bloque de consulta de disponibilidad */
.ecpc-box {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #ddd;
  background: #fff;
}
.ecpc-box__aviso {
  margin: 0 0 .5rem;
  font: 700 32px/1.1 var(--ec-cond, 'Barlow Condensed', sans-serif);
  color: var(--ec-red, #D61016);
}
.ecpc-box__titulo {
  font-weight: 600;
  margin-bottom: .75rem;
}
.ecpc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.ecpc-box__rgpd {
  margin: .75rem 0;
}
.ecpc-resultado {
  margin-top: .75rem;
}

/* Sin cantidad ni botón de añadir al carrito (el stock sí se ve) */
.js-product-actions:has(.ecpc-box) .product-add-to-cart .qty,
.js-product-actions:has(.ecpc-box) .product-add-to-cart .add,
.js-product-actions:has(.ecpc-box) .product-add-to-cart .product-minimal-quantity {
  display: none !important;
}

/* Si además no hay stock, este bloque ya pregunta precio y disponibilidad: fuera el de stock */
.js-product-actions:has(.ecpc-box) #consulta-stock {
  display: none !important;
}
