.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce div.product,
.woocommerce-page div.product {
    position: relative;
}
.nplw-labels {
    position: absolute;
    z-index: 25;
    pointer-events: none;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 95%;
}
.nplw-context-single { z-index: 35; }
.nplw-pos-top-left { top: 10px; left: 10px; justify-content: flex-start; }
.nplw-pos-top-right { top: 10px; right: 10px; justify-content: flex-end; }
.nplw-pos-bottom-left { bottom: 10px; left: 10px; justify-content: flex-start; }
.nplw-pos-bottom-right { bottom: 10px; right: 10px; justify-content: flex-end; }
.nplw-pos-center { top: 50%; left: 50%; transform: translate(-50%, -50%); justify-content: center; }
.nplw-label {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 5px 9px;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: .01em;
    text-align: center;
    box-shadow: 0 2px 7px rgba(0,0,0,.14);
}
.nplw-label-text { display: inline-block; }
.nplw-type-label { border-radius: 2px; }
.nplw-type-rounded { border-radius: 999px; padding: 7px 12px; }
.nplw-type-circle {
    width: 64px;
    height: 64px;
    padding: 6px;
    border-radius: 999px;
    box-shadow: 0 2px 7px rgba(0,0,0,.16);
}
.nplw-type-ribbon {
    position: relative;
    border-radius: 0;
    padding: 8px 14px;
}
.nplw-type-ribbon:after {
    content: "";
    position: absolute;
    right: -12px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 12px solid var(--nplw-bg, currentColor);
    opacity: .35;
}
.nplw-type-corner {
    position: relative;
    min-width: 110px;
    padding: 6px 26px;
    transform: rotate(-45deg);
    transform-origin: left top;
    border-radius: 0;
}
.nplw-pos-top-left .nplw-type-corner { margin-top: 18px; margin-left: -24px; }
.nplw-pos-top-right .nplw-type-corner { transform: rotate(45deg); margin-top: 18px; margin-right: -24px; }
.nplw-type-flag {
    position: relative;
    min-height: 76px;
    width: 28px;
    padding: 6px 4px 16px;
    border-radius: 0;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: .08em;
}
.nplw-type-flag:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    margin: auto;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 10px solid var(--nplw-bg, currentColor);
    opacity: .32;
}
.nplw-type-image {
    background: transparent !important;
    box-shadow: none;
    padding: 0;
}
.nplw-type-image img {
    display: block;
    max-width: 84px;
    max-height: 84px;
}
