/* Explicit typography prevents a theme's old sale bubble/serif rules from leaking in. */
body .onsale.tgsa-badge,
body .wc-block-components-product-sale-badge.tgsa-badge {
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: calc(100% - 24px);
    padding: 9px 13px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #d71920 !important;
    color: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.25 !important;
    letter-spacing: .015em !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    pointer-events: none;
}
body .onsale.tgsa-badge { position: absolute; top: 12px !important; left: 12px !important; right: auto !important; bottom: auto !important; z-index: 3; }
body ul.products li.product .onsale.tgsa-badge { left: auto !important; right: 12px !important; }
body .tgsa-badge .wc-block-components-product-sale-badge__text { font: inherit !important; color: inherit !important; }
body .tgsa-badge.tgsa-badge--hidden { display: none !important; }
@media (max-width: 480px) {
    body .onsale.tgsa-badge,
    body .wc-block-components-product-sale-badge.tgsa-badge { padding: 7px 10px !important; font-size: 12px !important; }
}
