/* Badge positioning for VAMA's image wrapper and standard WooCommerce loops. */
ul.products li.product,
ul.products li.product .product-thumbnail > a,
.custom-image-box {
    position: relative;
}
ul.products li.product .product-thumbnail > a {
    display: block;
}
span.vama-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: calc(100% - 20px);
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 5px 10px;
    box-sizing: border-box;
    border: 0;
    border-radius: 5px;
    background: #008000;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-transform: none;
    pointer-events: none;
}
