.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    position: relative;
}

.wcpb-product-bubble {
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 20px);
    min-height: 42px;
    padding: 8px 12px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
}

/* Product-grid bubbles are positioned over the product image. */
.wcpb-product-bubble--loop {
    position: absolute;
}

/* Single-product bubbles sit naturally above the product title. */
.wcpb-product-bubble--single {
    position: static;
    width: auto;
    margin: 0 0 16px;
}

.wcpb-position-top-left {
    top: 10px;
    left: 10px;
}

.wcpb-position-top-centre {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.wcpb-position-top-right {
    top: 10px;
    right: 10px;
}

.wcpb-position-middle-left {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.wcpb-position-middle-centre {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wcpb-position-middle-right {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.wcpb-position-bottom-left {
    bottom: 30px;
    left: 10px;
}

.wcpb-position-bottom-centre {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.wcpb-position-bottom-right {
    right: 10px;
    bottom: 30px;
}

.wcpb-product-bubble.uk-background-default.uk-dark {
    color: #222;
}

.wcpb-product-bubble.uk-background-default.uk-light {
    color: #fff;
}

.wcpb-clear-expiry-row {
	margin-top: -12px !important;
}

@media (max-width: 640px) {
    .wcpb-product-bubble {
        min-height: 36px;
        padding: 6px 9px;
        font-size: 12px;
    }
}