.ems-product-badges {
    display: flex;
    flex-direction: column;
    gap: 3px;
    /* position: absolute; */
    /* z-index: 9; */
}
.ems-sp-badges {
    position: absolute;
    display: flex;
    flex-direction: column;
}
.single .ems-product-badges {
    z-index: 9;
}
/* span.ems-badge {
    width: 50%;
    margin-left: -7px;
    position: relative;
    border-radius: 0 !important;
    margin-top: 5px;
} */

/* span.ems-badge:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
    border: 15px solid;
    border-color: #ffffff #ffffff transparent transparent;
} */
 /* span.ems-badge:after{
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    bottom: 0;
    width: 20px;
    background: #fff;
    -ms-transform: skew(15deg, 0deg);
    -webkit-transform: skew(15deg, 0deg);
    transform: skew(30deg, 0deg);
    transition: all .3s ease;
 } */
 span.ems-badge:after {
    content: '';
    position: absolute;
    top: 0;
    right: -18px;
    bottom: 0;
    width: 20px;
    background: var(--bg-color);
    clip-path: polygon(0 0, 100% 0%, 7% 100%, 0% 100%);
}
span.ems-badge {
    /* width: 50%; */
    width: max-content;
    margin-left: -7px;
    position: relative;
    border-radius: 0 !important;
    margin-top: 5px;
    height: 32px;
    line-height: 1;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 11px;
    display: flex;
    align-items: center;
    font-weight: 500;
    padding-right: 20px;
}
.ems-badges-wrap.wrap form {
    margin-bottom: 50px;
}

/* .ems-badge[data-bg-color]:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    bottom: -20px;
    left: 0px;
    z-index: -10;
    border: 10px solid;
    border-color: attr(data-bg-color) transparent transparent transparent;
} */


/* .ems-badge:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    bottom: -20px;
    left: 0px;
    z-index: -10;
    border: 10px solid;
    border-color: #7100e2 transparent transparent transparent;
} */

/* .ems-badge:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    bottom: -20px;
    left: 0px;
    z-index: -10;
    border: 10px solid;
    border-color: var(--bg-color) transparent transparent transparent;
}
 */
