/* Temporary product promotions: Classic only; state comes from server quotes. */
body.md-classic-refresh .md-promo-price { display:flex; flex-direction:column; justify-content:center; gap:2px; min-width:0; min-height:44px; line-height:1.2; }
body.md-classic-refresh .md-promo-price s { color:#9f3a37; font-size:clamp(.78rem,6cqw,.9rem); font-weight:650; text-decoration-thickness:1px; white-space:nowrap; }
body.md-classic-refresh .md-promo-price strong { font-size:clamp(.84rem,7.8cqw,1.05rem); font-weight:850; white-space:nowrap; }
body.md-classic-refresh .md-promo-price small { color:var(--menu-muted,#56616d); font-size:.78rem; font-weight:500; }
body.md-classic-refresh .md-public-item:has(.md-promo-price) { container-type:inline-size; }
body.md-classic-refresh .md-product-promo-badge { position:absolute; bottom:8px; left:8px; max-width:calc(100% - 16px); padding:4px 7px; border:1px solid #4c8875; border-radius:7px; background:#e4f3ed; color:#125940; font-size:.75rem; font-weight:800; line-height:1.3; z-index:2; pointer-events:none; }
/* Keep both amounts legible when a narrow card cannot fit them beside the CTA. */
@container (max-width:132px) {
  body.md-classic-refresh .md-public-item-buy:has(.md-promo-price) { grid-template-columns:minmax(0,1fr); }
  body.md-classic-refresh .md-public-item-buy:has(.md-promo-price) .md-add-to-cart-btn { justify-self:end; }
  body.md-classic-refresh .md-public-item-buy .md-promo-price { min-height:0; }
  body.md-classic-refresh .md-public-item-buy .md-promo-price strong { font-size:1rem; }
}
body.md-classic-refresh .md-promotion-detail { margin-top:6px; }
body.md-classic-refresh .md-promotion-detail[hidden] { display:none; }
body.md-classic-refresh .md-promotion-detail .md-promo-price strong { font-size:1.25rem; }

body.md-classic-refresh .md-promo-modal-badge { display:inline-block; margin-left:8px; padding:3px 6px; border:1px solid #4c8875; border-radius:6px; background:#e4f3ed; color:#125940; font-size:.72rem; vertical-align:middle; }
