/* Badges in the Elementor product card and product gallery. */
.product-image-wrapper[data-gp-product-id],
.product-gallery-grid,
.product-mobile-img-wrapper {
    position: relative;
}

.product-image-wrapper[data-gp-product-id] > span.has-badge.onsale,
.product-gallery-grid > span.has-badge.onsale,
.product-mobile-img-wrapper > span.has-badge.onsale {
    position: absolute;
    top: 12px;
    right: auto;
    bottom: auto;
    left: 12px;
    z-index: 3;
    display: inline-block;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 6px 10px;
    border-radius: 0;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}
