/* ============================================================
   PLUSH promotion — product cards (category / search / related).
   Loaded site-wide through the header event (extension/plush
   event/promo.header). so_xtore's own markup is untouched; only
   its colours / sizes are overridden here.
   ============================================================ */

:root { --plush-purple: #8E17A0; } /* same value as --magenta in plush-product.css (primary buttons) */

/* Sale badge: PLUSH purple instead of black. Text comes from the thumb event
   (-35%, percent from config). The theme gives it a fixed height with no
   vertical centering, so centre the text with flex. */
html body .label-product.label-sale,
html body .product-layout .label-product.label-sale {
  background: var(--plush-purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0 10px;
  line-height: 1;
  white-space: nowrap;
}

/* Countdown tiles (Дни / Часа / Мин / Сек): PLUSH purple instead of black. */
html body .product-layout .countdown_box .time-item,
html body .products-list .product-layout .product-item-container .left-block .countdown_box .countdown_inner .time-item {
  background: var(--plush-purple);
}

/* Mobile (<= 480px): slightly smaller badge. Countdown tiles keep so_xtore's
   own layout (min-width 40px each) — "Часа" fits in a 40px tile. */
@media (max-width: 480px) {
  html body .label-product.label-sale { font-size: 11px; padding: 0 8px; }
}
