/* Allow the longer label to wrap within narrow product images. */
.woocommerce span.onsale,
.wc-block-components-product-sale-badge {
    box-sizing: border-box;
    max-width: calc(100% - 16px);
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}
.wc-block-components-product-sale-badge__text {
    white-space: normal;
}
