/* v268: el COLOR identifica el TIPO de descuento, nunca la tienda.
   Cargado al final para prevalecer sobre v259/v261/v263 sin modificar la densidad v265/v267. */
:root {
  --ch268-discount: #ff0050; /* descuento directo */
  --ch268-coupon: #8546c8; /* cupón de cualquier tienda */
  --ch268-checkout: #ed6826; /* al tramitar el pedido */
  --ch268-combined: #bf7915; /* 3x2, segunda unidad, por cantidad */
}
/* Descuento porcentual directo (sin promoción especial). */
.ch-card-photo .ch-discount:not(.ch-discount-promo):not(.ch261-main-checkout):not(.ch261-main-fixed):not(.ch261-main-coupon):not(.ch261-main-reward),
.ch-card-photo .ch-discount:not([class*=ch261-main-]):not(.ch-discount-promo) {
  background:var(--ch268-discount)!important;color:#fff!important;
}
/* Cupones: Miravia, Amazon, AliExpress... siempre igual. */
.ch-card-photo .ch-discount.ch263-coupon-badge,
.ch-card-photo .ch-discount.ch261-main-coupon {
  background:var(--ch268-coupon)!important;color:#fff!important;
}
/* Descuento individual que se obtiene al pagar. */
.ch-card-photo .ch-discount.ch261-main-checkout {
  background:var(--ch268-checkout)!important;color:#fff!important;
}
/* Combinadas y compras por cantidad (sin alterar precio unitario). */
.ch-card-photo .ch-discount.ch268-kind-combined,
.ch-card-photo .ch-discount.ch261-main-fixed,
.ch-card-photo .ch-quantity-pill {
  background:var(--ch268-combined)!important;color:#fff!important;border-color:var(--ch268-combined)!important;
}
/* Recompensas futuras: no confundir con un descuento directo. */
.ch-card-photo .ch-discount.ch261-main-reward {
  background:#64748b!important;color:#fff!important;
}
/* Caducidad: aviso aparte; no sustituye el código de colores de promociones. */
