/* Black Week catalog labels. These apply to native WooCommerce templates and
   Elementor Product Price widgets using WC_Product::get_price_html(). */
.lzbw-catalog-price-label {
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 5px 10px;
    margin: 6px 0 2px;
    border: 1px solid #0a8739;
    border-radius: 6px;
    background: var(--lzbw-catalog-green, #078a30);
    color: var(--lzbw-catalog-text, #fff) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: .015em;
    text-decoration: none;
    white-space: normal;
}
.lzbw-catalog-image-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9;
    max-width: calc(100% - 20px);
    padding: 7px 10px;
    border-radius: 6px;
    background: var(--lzbw-catalog-red, #c81726);
    color: var(--lzbw-catalog-text, #fff) !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: 0 4px 14px rgba(0,0,0,.16);
    pointer-events: none;
}
/* Keep image badges attached to the gallery/card rather than the viewport. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
    position: relative;
}
.woocommerce div.product .price .lzbw-catalog-price-label,
.woocommerce ul.products .price .lzbw-catalog-price-label {
    text-decoration: none;
}
@media (max-width:600px) {
    .lzbw-catalog-image-badge {top:7px;left:7px;padding:5px 8px;font-size:11px}
    .lzbw-catalog-price-label {font-size:11px !important;padding:4px 8px}
}

/* A single-page badge is before the gallery in the WooCommerce template.
   Keep it in the normal flow instead of positioning against the whole page. */
body.single-product .lzbw-catalog-image-badge {position:relative;top:auto;left:auto;display:table;margin:6px 0 12px;}
