/* CMS product badge: shared by homepage sliders and catalog/search cards. */
.product-card-image,
.commerce-image {
    position: relative;
}

.product-card-image > .mg-product-card-badge,
.commerce-image > .mg-product-card-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    display: block;
    max-width: calc(100% - 20px);
    margin: 0;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(18, 18, 18, 0.78);
    color: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
    font-family: "Barlow", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    pointer-events: none;
}
