.wbw-label {
    position: absolute;
    z-index: 10;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 0.5);
}

.wbw-label-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.wbw-label-parallelogram {
    width: 150px;
    height: 40px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

.wbw-label-parallelogram .wbw-label-text {
    line-height: 40px;
}

.wbw-label-parallelogram.wbw-label-top-right {
    top: 10px;
    right: -35px;
}

.wbw-label-parallelogram.wbw-label-top-left {
    top: 10px;
    left: -35px;
    transform: rotate(-45deg);
}

.wbw-label-parallelogram.wbw-label-bottom-right {
    bottom: 10px;
    right: -35px;
    transform: rotate(-45deg);
}

.wbw-label-parallelogram.wbw-label-bottom-left {
    bottom: 10px;
    left: -35px;
    transform: rotate(45deg);
}

.wbw-label-rectangle {
    width: auto;
    min-width: 60px;
    height: auto;
    padding: 5px 15px;
    border-radius: 3px;
    transform: none;
}

.wbw-label-rectangle .wbw-label-text {
    line-height: 1.4;
}

.wbw-label-rectangle.wbw-label-top-right {
    top: 10px;
    right: 10px;
}

.wbw-label-rectangle.wbw-label-top-left {
    top: 10px;
    left: 10px;
}

.wbw-label-rectangle.wbw-label-bottom-right {
    bottom: 10px;
    right: 10px;
}

.wbw-label-rectangle.wbw-label-bottom-left {
    bottom: 10px;
    left: 10px;
}

.wbw-label-banner-top {
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 8px 10px;
    transform: none;
    border-radius: 0;
}

.wbw-label-banner-top .wbw-label-text {
    line-height: 1.4;
}

.wbw-label-banner-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 8px 10px;
    transform: none;
    border-radius: 0;
}

.wbw-label-banner-bottom .wbw-label-text {
    line-height: 1.4;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce div.product div.images,
.woocommerce #content div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce-page #content div.product div.images {
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product .wbw-label-parallelogram,
.woocommerce-page ul.products li.product .wbw-label-parallelogram {
    top: 8px;
}

.woocommerce ul.products li.product .wbw-label-parallelogram.wbw-label-top-right,
.woocommerce-page ul.products li.product .wbw-label-parallelogram.wbw-label-top-right {
    right: -38px;
}

.woocommerce ul.products li.product .wbw-label-parallelogram.wbw-label-top-left,
.woocommerce-page ul.products li.product .wbw-label-parallelogram.wbw-label-top-left {
    left: -38px;
}

.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery .wbw-label-parallelogram {
    top: 15px;
}

.woocommerce-product-gallery .wbw-label-parallelogram.wbw-label-top-right {
    right: -35px;
}

.woocommerce-product-gallery .wbw-label-parallelogram.wbw-label-top-left {
    left: -35px;
}

@media (max-width: 768px) {
    .wbw-label-parallelogram {
        width: 120px;
        height: 35px;
        font-size: 11px !important;
    }
    
    .wbw-label-parallelogram .wbw-label-text {
        line-height: 35px;
    }
    
    .wbw-label-parallelogram.wbw-label-top-right {
        right: -30px;
    }
    
    .wbw-label-parallelogram.wbw-label-top-left {
        left: -30px;
    }
    
    .wbw-label-rectangle {
        padding: 4px 10px;
        font-size: 11px !important;
    }
    
    .wbw-label-banner-top,
    .wbw-label-banner-bottom {
        padding: 6px 8px;
        font-size: 11px !important;
    }
}
