.product-labels {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 50%;
    transition: opacity .3s ease;
}
.product-label {
    min-width: 12.82vw; /* 50px → 12.82vw */
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    word-break: break-all;
    font-weight: 600;
    line-height: 1.2;
}
.product-label:not(:last-child) {
    margin-bottom: 2.56vw; /* 10px → 2.56vw */
}
.product-label.onsale {
    background-color: var(--wd-primary-color);
    direction: ltr;
}
.product-label.featured {
    background-color: #E22D2D;
}
.product-label.new {
    background-color: #8fd400;
}
.product-label.out-of-stock {
    background-color: var(--bgcolor-white);
    color: var(--color-gray-900);
}
.product-label.attribute-label:not(.label-with-img) {
    background-color: var(--bgcolor-white);
    color: var(--color-gray-900);
}
@media (max-width: 576px) {
    .product-label {
        min-width: 10.26vw; /* 40px → 10.26vw */
    }
    .product-label:not(:last-child) {
        margin-bottom: 0px;
    }
}















@media (min-width: 769px) {
.product-label.new {
    text-align: center;
    line-height: 1.4;
    background-color: #8fd400;
    font-size: 0.7vw;
    color: #ffffff;
    letter-spacing: 0vw;
    font-weight: 400 !important;
    text-transform: capitalize;
    min-width: 3vw;
    padding: 0px 2.4vw !important;
    width: auto;
    min-height: 5.64vw !important;
}
.related-and-upsells .product-labels.labels-rounded {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    left: 1vw;
    top: 1vw;
}



}
