/* BSH v0.1.6 - Flatsome's original sale bubble is a sibling of our badge.
   Hide it ONLY when our replacement badge actually exists. */
.badge-container:has(.bsh-campaign-item) .badge:not(.bsh-campaign-item) {
    display: none !important;
}

/* BSH Kampanjbadges v0.1.6 – enda badgen på nedsatta Flatsome-produkter. */
.badge.bsh-campaign-item {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
}
.badge.bsh-campaign-item > .badge-inner.bsh-sale-badge {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 12px 16px !important;
    border-radius: 3px !important;
    background: #171717 !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    white-space: nowrap;
    text-transform: uppercase;
    gap: 2px;
}
.badge.bsh-campaign-item .bsh-badge-heading {font-size:11px!important;line-height:1.1!important;}
.badge.bsh-campaign-item .bsh-badge-value {font-size:inherit!important;line-height:1.2!important;}
@media (max-width: 767px) {
    .badge.bsh-campaign-item > .badge-inner.bsh-sale-badge {
        font-size: 13px !important;
        padding: 9px 11px !important;
    }
    .badge.bsh-campaign-item .bsh-badge-heading {font-size:9px!important;}
}

/* v0.1.6: Endast Black Week i mobila produktlistor – samma matt som godkant pa dev.
   Klassen sitter pa var egen badge, inte pa body. */
@media screen and (max-width: 767px) {
    body:not(.single-product) .badge.bsh-campaign-item.bsh-blackweek-item > .badge-inner.bsh-sale-badge {
        font-size: 12px !important;
        padding: 9px 11px !important;
        gap: 2px !important;
    }
    body:not(.single-product) .badge.bsh-campaign-item.bsh-blackweek-item .bsh-badge-heading {
        font-size: 8px !important;
        line-height: 1.05 !important;
    }
    body:not(.single-product) .badge.bsh-campaign-item.bsh-blackweek-item .bsh-badge-value {
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
    }
}
