/* v291 - caducidad compacta SOLO en el carrusel Ofertas destacadas. */
.ch291-featured-expiry{display:none}
.ch-home .ch258-deals .ch-card-photo .ch-ribbon{display:none!important}
.ch-home .ch258-deals .ch-card-body .ch289-card-expiry{display:none!important}
.ch-home .ch258-deals .ch-card-body .ch291-featured-expiry{
 display:block!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;
 white-space:nowrap;font-size:10px!important;line-height:1.22!important;
 font-weight:700;margin:1px 0 2px!important;flex-shrink:0;
 color:#A65C17;
}
.ch-home .ch258-deals .ch-card-body .ch291-expiry-today{color:#CE2939!important}
.ch-home .ch258-deals .ch-card-body .ch291-expiry-tomorrow{color:#B86713!important}
.ch-home .ch258-deals .ch-card-body .ch291-expiry-future{color:#8D5B42!important;font-weight:600}


/* v462 — Caducidad bajo la imagen, sin cubrir el producto.
   La fotografía mantiene el descuento en su esquina; se reserva una franja
   inferior para la fecha, también en tarjetas sin fecha para alinearlas.
   Se conserva el tratamiento especial de Ofertas destacadas v291. */
.ch-card .ch-card-photo {
  padding-bottom: 29px !important;
}
.ch-card .ch-card-photo .ch-ribbon {
  top: auto !important;
  bottom: 5px !important;
  left: 8px !important;
  right: auto !important;
  z-index: 2;
  max-width: calc(100% - 16px);
  box-sizing: border-box;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 10px;
  line-height: 15px;
  background: #fff0dc;
  color: #a7520a;
  font-weight: 800;
  box-shadow: none;
}
.ch-card .ch-card-photo .ch-ribbon-today,
.ch-card .ch-card-photo .ch-ribbon:where([class*="today"]) {
  background: #fff0f2;
  color: #b5203c;
}
/* Las destacadas ya muestran la fecha en el cuerpo, sin cinta superpuesta. */
.ch-home .ch258-deals .ch-card .ch-card-photo {
  padding-bottom: 6px !important;
}
.ch-home .ch258-deals .ch-card .ch-card-photo .ch-ribbon {
  display: none !important;
}
@media (max-width: 560px) {
  .ch-card .ch-card-photo { padding-bottom: 27px !important; }
  .ch-card .ch-card-photo .ch-ribbon { bottom: 4px !important; font-size: 9px; line-height: 14px; }
  .ch-home .ch258-deals .ch-card .ch-card-photo { padding-bottom: 6px !important; }
}
