/* Launch-offer display (see includes/sale-display.php). Only acts inside body.sdo-launch-mode. */

/* PHP-rendered price: label, offer price, later price as plain text. */
.sdo-launch{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.sdo-launch__label{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--k-badge,var(--accent,#ff2e88));color:var(--k-badge-fg,#fff);font-size:12px;font-weight:800;line-height:1.5;text-transform:uppercase;letter-spacing:.02em}
.sdo-launch__price{font-weight:800}
.sdo-launch__after{flex-basis:100%;font-size:13px;font-weight:600;opacity:.8;text-decoration:none}
.sdo-launch-mode del,.sdo-launch-mode ins{text-decoration:none}

/* Cart and checkout blocks: no crossed-out regular price. */
body.sdo-launch-mode .wc-block-components-product-price del,
body.sdo-launch-mode .wc-block-components-product-price__regular{display:none!important}
body.sdo-launch-mode .wc-block-components-product-price ins{text-decoration:none}

/* The « Risparmia … » badge of the blocks is not shown; sale-display.js adds its own label and line instead. */
body.sdo-launch-mode .wc-block-components-sale-badge{display:none!important}
.sdo-launch-note{display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}
.sdo-launch-note__label{display:inline-block;padding:3px 9px;border-radius:999px;background:var(--k-badge,var(--accent,#ff2e88));color:var(--k-badge-fg,#fff);font-size:12px;line-height:1.4;font-weight:800;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap}
.sdo-launch-note__after{font-size:13px;line-height:1.35;font-weight:600;opacity:.85;white-space:nowrap}
body.sdo-launch-mode .wc-block-cart-item__total-price-and-sale-badge-wrapper{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
/* Cart: label and line under the unit price, left aligned, free to wrap. */
body.sdo-launch-mode .wc-block-cart-item__prices{display:flex;flex-wrap:wrap;align-items:baseline}
.wc-block-cart-item__prices .sdo-launch-note{flex-basis:100%;align-items:flex-start;text-align:left;margin:6px 0 4px}
.wc-block-cart-item__prices .sdo-launch-note__after{white-space:normal}
@media (max-width:480px){.sdo-launch-note__after{white-space:normal}}
