/* VapEsence 10/11/2026 (v3) - Precio de oferta visible (modulo vapesenceofertastock >= 1.1.1).
   El modulo pinta <div class="vx-oferta"> con precio anterior tachado, precio final, pildora "-21 %" y la nota
   "Oferta hasta fin de existencias". Con :has() se oculta el precio normal solo cuando existe ese bloque
   (sin soporte de :has() se verian ambos, nunca ninguno). */

html body .vx-oferta {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
  line-height: 1.2;
}

html body .vx-oferta .vx-oferta__fila {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 8px;
  row-gap: 2px;
}

html body .vx-oferta .vx-oferta__antes {
  order: 1;
  color: #8a94a3;
  font-size: 13px;
  font-weight: 500;
  text-decoration: line-through;
}

html body .vx-oferta .vx-oferta__ahora {
  order: 2;
  color: #d92b4b;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}

html body .vx-oferta .vx-oferta__pildora {
  order: 3;
  align-self: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #d92b4b;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

html body .vx-oferta .vx-oferta__nota {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

/* miniaturas: se oculta el precio normal y se centra el contenedor */
html body .product-price-and-shipping:has(> .vx-oferta) {
  text-align: center !important;
  justify-content: center !important;
}

html body .product-price-and-shipping:has(> .vx-oferta) > :not(.vx-oferta) {
  display: none !important;
}

/* ficha y vista rapida */
html body .product-prices:has(> .vx-oferta) > div:has(.current-price) {
  display: none !important;
}

html body .product-prices > .vx-oferta {
  order: 1;
  width: auto;
  text-align: left;
}

html body .product-prices > .vx-oferta .vx-oferta__fila {
  justify-content: flex-start;
  column-gap: 12px;
}

html body .product-prices > .vx-oferta .vx-oferta__antes {
  font-size: 18px;
}

html body .product-prices > .vx-oferta .vx-oferta__ahora {
  font-size: 32px;
}

html body .product-prices > .vx-oferta .vx-oferta__pildora {
  padding: 3px 10px;
  font-size: 14px;
}

html body .product-prices > .vx-oferta .vx-oferta__nota {
  margin-top: 5px;
  font-size: 13px;
  text-align: left;
}

@media (max-width: 575.98px) {
  html body .product-prices > .vx-oferta .vx-oferta__ahora {
    font-size: 28px;
  }

  html body .product-prices > .vx-oferta .vx-oferta__antes {
    font-size: 16px;
  }
}

/* pie de pagina: bloque "Quienes somos" alineado a la izquierda */
html body #iqithtmlandbanners-block-1,
html body #iqithtmlandbanners-block-1 p,
html body #iqithtmlandbanners-block-1 .rte-content {
  text-align: left !important;
}
