/* Product Sync Pro frontend presentation.
   It never changes image files or product data. Single-product rules remain
   scoped to imported products; v1.50 covers only Home and Shop loop badges. */

/* Supplier tags remain assigned in WooCommerce but are not exposed in the
   product meta row. SKU, category and brand remain visible. */
body.single-product.pcs-imported-product .product_meta .tagged_as {
    display: none !important;
}

/* v1.58 — reliable laptop/desktop Shop badges rendered as real HTML.
   Mobile keeps the existing v1.50 layout unchanged. */
@media only screen and (min-width: 951px) {
    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image {
        position: relative !important;
        isolation: isolate !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image::before,
    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image::after {
        content: none !important;
        display: none !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    .mfn-product-badges .mfn-new-badge,
    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    .mfn-product-badges .onsale,
    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image span.soldout,
    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image span.soldout > h4 {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image > .pcs-loop-badges {
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        position: absolute !important;
        right: 0 !important;
        bottom: 8px !important;
        left: 0 !important;
        z-index: 999999 !important;
        width: 100% !important;
        height: 30px !important;
        margin: 0 !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        pointer-events: none !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image > .pcs-loop-badges > .pcs-loop-badge {
        display: flex !important;
        flex: 0 0 calc(50% - 3px) !important;
        align-items: center !important;
        justify-content: center !important;
        width: calc(50% - 3px) !important;
        min-width: 0 !important;
        max-width: calc(50% - 3px) !important;
        height: 30px !important;
        min-height: 30px !important;
        margin: 0 !important;
        padding: 3px 5px !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-radius: 5px !important;
        box-shadow: none !important;
        color: #fff !important;
        font-family: inherit !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        font-style: normal !important;
        line-height: 12px !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: normal !important;
        overflow: hidden !important;
        overflow-wrap: anywhere !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: none !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image > .pcs-loop-badges > .pcs-loop-badge-incoming {
        background: #00a651 !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image > .pcs-loop-badges > .pcs-loop-badge-online {
        background: #2271b1 !important;
    }
}

@media only screen and (max-width: 950px) {
    html body.woocommerce .pcs-loop-badges {
        display: none !important;
    }
}

/* Match the existing A1Box in-stock pill even if the site-level custom CSS is
   temporarily unavailable. Existing site CSS may override these values. */
body.single-product.pcs-imported-product p.stock.in-stock.pcs-imported-stock-status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 6px 0 14px !important;
    padding: 7px 12px !important;
    box-sizing: border-box !important;
    color: #008f45 !important;
    background: #eef9f3 !important;
    border: 1px solid #cdebd9 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: left !important;
    letter-spacing: 0 !important;
}

body.single-product.pcs-imported-product p.stock.in-stock.pcs-imported-stock-status::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 7px !important;
    width: 7px !important;
    height: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #00a651 !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

/* Remove only redundant vertical spacing around BeTheme's top product block.
   Do not force image dimensions, crop, scale, transform or fixed heights. */
@media only screen and (min-width: 768px) {
    body.single-product.pcs-imported-product .product_wrapper {
        margin-bottom: 12px !important;
        padding-bottom: 0 !important;
    }

    body.single-product.pcs-imported-product .product_wrapper .product_image_wrapper,
    body.single-product.pcs-imported-product .product_wrapper .summary,
    body.single-product.pcs-imported-product .product_wrapper .entry-summary,
    body.single-product.pcs-imported-product .woocommerce-product-gallery {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* v1.44 — optional "Dostupno samo online" channel badge.
   It is presentation-only and appears only on the queried imported product. */
body.single-product.pcs-imported-product .pcs-stock-badges {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 6px 0 14px !important;
    padding: 0 !important;
}

body.single-product.pcs-imported-product .pcs-stock-badges p.stock {
    margin: 0 !important;
}

body.single-product.pcs-imported-product .pcs-online-only-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    box-sizing: border-box !important;
    color: #2271b1 !important;
    background: #eef5ff !important;
    border: 1px solid #c9def5 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: left !important;
    letter-spacing: 0 !important;
}

body.single-product.pcs-imported-product .pcs-online-only-badge::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 7px !important;
    width: 7px !important;
    height: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #2271b1 !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}
/* v1.46 — align stock + online-only badges exactly.
   The existing in-stock rule has higher specificity and may keep its own
   vertical margin inside the flex row, so override both pills together. */
body.single-product.pcs-imported-product .pcs-stock-badges p.stock.in-stock.pcs-imported-stock-status,
body.single-product.pcs-imported-product .pcs-stock-badges .pcs-online-only-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    align-self: center !important;
    box-sizing: border-box !important;
    min-height: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

body.single-product.pcs-imported-product .pcs-stock-badges p.stock.in-stock.pcs-imported-stock-status::before,
body.single-product.pcs-imported-product .pcs-stock-badges .pcs-online-only-badge::before {
    align-self: center !important;
    margin: 0 !important;
}



/* v1.50 — Home uses the same fixed two-row geometry as Shop. */
body.home .shop_slider_ul li.product.pcs-online-only-card .mfn-product-badges::before {
    content: "Dostupno samo online" !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    order: 99 !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 30px !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 3px 10px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #2271b1 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
    text-align: center !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

body.home .shop_slider_ul li.product.pcs-online-only-card.pcs-online-only-lang-en .mfn-product-badges::before {
    content: "Available online only" !important;
}

body.home .shop_slider_ul li.product.pcs-online-only-card.pcs-online-only-lang-de .mfn-product-badges::before {
    content: "Nur online verfügbar" !important;
}

/* Shop archive: keep the proven v1.48 image-row marker, but use one fixed
   second row for every imported card. A1Box puts NOVO / Artikal u dolasku at
   top:15px with a 24px height, so top:45px gives a consistent 6px gap. */
body.woocommerce
.products_wrapper.mfn-woo-products > ul.products > li.product.pcs-online-only-shop-product
> .mfn-li-product-row-image {
    position: relative !important;
}

body.woocommerce
.products_wrapper.mfn-woo-products > ul.products > li.product.pcs-online-only-shop-product
> .mfn-li-product-row-image::after {
    content: "Dostupno samo online" !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 45px !important;
    right: auto !important;
    bottom: auto !important;
    left: 8px !important;
    z-index: 160 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 16px) !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 3px 10px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    color: #ffffff !important;
    background: #2271b1 !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 18px !important;
    text-align: center !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
}

body.woocommerce
.products_wrapper.mfn-woo-products > ul.products > li.product.pcs-online-only-shop-product.pcs-online-only-lang-en
> .mfn-li-product-row-image::after {
    content: "Available online only" !important;
}

body.woocommerce
.products_wrapper.mfn-woo-products > ul.products > li.product.pcs-online-only-shop-product.pcs-online-only-lang-de
> .mfn-li-product-row-image::after {
    content: "Nur online verfügbar" !important;
}

/* On narrow Shop layouts A1Box itself moves "Artikal u dolasku" to the
   second row when NOVO is also present. Only in that case move our marker to
   the third row, avoiding overlap while desktop badges remain fully aligned. */
@media only screen and (max-width: 767px),
       only screen and (orientation: landscape) and (max-width: 950px) and (max-height: 500px) {
    body.woocommerce
    .products_wrapper.mfn-woo-products > ul.products > li.product.pcs-online-only-shop-product.outofstock:has(.mfn-product-badges .mfn-new-badge)
    > .mfn-li-product-row-image::after,
    body.woocommerce
    .products_wrapper.mfn-woo-products > ul.products > li.product.pcs-online-only-shop-product.outofstock:has(.mfn-product-badges .onsale)
    > .mfn-li-product-row-image::after {
        top: 75px !important;
    }
}

/* v1.57 — final laptop/desktop Shop geometry.
   Keep this block last so theme Custom CSS and the earlier compatibility
   positions cannot leave imported cards without their bottom badge row. */
@media only screen and (min-width: 951px) {
    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    .mfn-product-badges .mfn-new-badge,
    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    .mfn-product-badges .onsale {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image {
        position: relative !important;
        isolation: isolate !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image span.soldout,
    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image span.soldout > h4 {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image::before,
    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image::after {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: auto !important;
        bottom: 8px !important;
        width: calc(50% - 11px) !important;
        min-width: 0 !important;
        max-width: calc(50% - 11px) !important;
        height: 30px !important;
        min-height: 30px !important;
        margin: 0 !important;
        padding: 3px 5px !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-radius: 5px !important;
        background-image: none !important;
        box-shadow: none !important;
        color: #fff !important;
        font-family: inherit !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        font-style: normal !important;
        line-height: 12px !important;
        text-align: center !important;
        text-indent: 0 !important;
        white-space: normal !important;
        overflow: hidden !important;
        overflow-wrap: anywhere !important;
        text-overflow: ellipsis !important;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        -webkit-filter: none !important;
        mix-blend-mode: normal !important;
        clip: auto !important;
        clip-path: none !important;
        transform: none !important;
        -webkit-transform: none !important;
        pointer-events: none !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image::before {
        content: "Artikal u dolasku..." !important;
        right: auto !important;
        left: 8px !important;
        z-index: 999999 !important;
        background: #00a651 !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image::after {
        content: "Dostupno samo online" !important;
        right: 8px !important;
        left: auto !important;
        z-index: 999998 !important;
        background: #2271b1 !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product.pcs-online-only-lang-en
    > .mfn-li-product-row-image::after {
        content: "Available online only" !important;
    }

    html body.woocommerce
    ul.products > li.product.pcs-online-only-shop-product.pcs-online-only-lang-de
    > .mfn-li-product-row-image::after {
        content: "Nur online verfügbar" !important;
    }
}

/* v1.58 final safeguard: the real HTML row replaces all desktop
   pseudo-element Shop labels. Keep this rule last in the file. */
@media only screen and (min-width: 951px) {
    html body.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image::before,
    html body.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image::after {
        content: none !important;
        display: none !important;
    }
}

/* v1.60 — BeTheme renders the real loop badges as the first child of .desc.
   A single blue badge is right-aligned; two badges share one equal-width row. */
@media only screen and (min-width: 951px) {
    html body.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .desc > .pcs-loop-badges {
        display: flex !important;
        flex: 0 0 auto !important;
        align-self: stretch !important;
        align-items: stretch !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 24px !important;
        min-height: 24px !important;
        margin: 0 0 18px !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        transform: none !important;
        pointer-events: none !important;
    }

    html body.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .desc > .pcs-loop-badges > .pcs-loop-badge {
        display: inline-flex !important;
        flex: 0 0 calc(50% - 3px) !important;
        align-items: center !important;
        justify-content: center !important;
        width: calc(50% - 3px) !important;
        min-width: 0 !important;
        max-width: calc(50% - 3px) !important;
        height: 24px !important;
        min-height: 24px !important;
        margin: 0 !important;
        padding: 3px 8px !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-radius: 5px !important;
        box-shadow: none !important;
        color: #fff !important;
        font-family: inherit !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        font-style: normal !important;
        line-height: 18px !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: none !important;
    }

    html body.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .desc > .pcs-loop-badges > .pcs-loop-badge-incoming {
        background: #00a651 !important;
    }

    html body.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .desc > .pcs-loop-badges > .pcs-loop-badge-online {
        background: #2271b1 !important;
    }
}

/* v1.61 — product-brand archives use the same imported-card markers.
   Hide NOVO only on imported brand cards and retain the established mobile
   two-row geometry: online-only at the top when in stock, below the incoming
   label when out of stock. */
html body.tax-product_brand.woocommerce #Wrapper
ul.products > li.product.pcs-online-only-shop-product
.mfn-product-badges .mfn-new-badge,
html body.tax-product_brand.woocommerce #Wrapper
ul.products > li.product.pcs-online-only-shop-product
.mfn-product-badges .onsale {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media only screen and (max-width: 767px),
       only screen and (orientation: landscape) and (max-width: 950px) and (max-height: 500px) {
    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product.instock
    > .mfn-li-product-row-image::after {
        top: 15px !important;
    }

    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image::after {
        top: 45px !important;
    }
}

/* v1.65 — mobile/tablet brand archives now use the exact same bottom badge
   geometry as the Shop: incoming on the left, online-only on the right.
   Brand pages previously inherited BeTheme's separate sold-out label plus our
   older top-positioned online badge, which split the two labels vertically. */
@media only screen and (max-width: 950px) {
    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image {
        position: relative !important;
        isolation: isolate !important;
    }

    /* Suppress the theme's own NOVO/sale/sold-out labels on imported brand
       cards only. The replacement pseudo-elements below are deterministic and
       match the working Shop row without touching manually created products. */
    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    .mfn-product-badges .mfn-new-badge,
    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    .mfn-product-badges .onsale,
    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image span.soldout,
    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image span.soldout > h4 {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image::before,
    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image::after {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: auto !important;
        bottom: 8px !important;
        width: calc(50% - 11px) !important;
        min-width: 0 !important;
        max-width: calc(50% - 11px) !important;
        height: 30px !important;
        min-height: 30px !important;
        margin: 0 !important;
        padding: 3px 5px !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-radius: 5px !important;
        background-image: none !important;
        box-shadow: none !important;
        color: #fff !important;
        font-family: inherit !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        font-style: normal !important;
        line-height: 12px !important;
        text-align: center !important;
        text-indent: 0 !important;
        white-space: normal !important;
        overflow: hidden !important;
        overflow-wrap: anywhere !important;
        text-overflow: ellipsis !important;
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        -webkit-filter: none !important;
        mix-blend-mode: normal !important;
        clip: auto !important;
        clip-path: none !important;
        transform: none !important;
        -webkit-transform: none !important;
        pointer-events: none !important;
    }

    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product.outofstock
    > .mfn-li-product-row-image::before {
        content: "Artikal u dolasku..." !important;
        right: auto !important;
        left: 8px !important;
        z-index: 999999 !important;
        background: #00a651 !important;
    }

    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image::after {
        content: "Dostupno samo online" !important;
        right: 8px !important;
        left: auto !important;
        z-index: 999998 !important;
        background: #2271b1 !important;
    }

    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product.pcs-online-only-lang-en.outofstock
    > .mfn-li-product-row-image::before {
        content: "Item arriving..." !important;
    }

    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product.pcs-online-only-lang-de.outofstock
    > .mfn-li-product-row-image::before {
        content: "Artikel im Zulauf..." !important;
    }

    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product.pcs-online-only-lang-en
    > .mfn-li-product-row-image::after {
        content: "Available online only" !important;
    }

    html body.tax-product_brand.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product.pcs-online-only-lang-de
    > .mfn-li-product-row-image::after {
        content: "Nur online verfügbar" !important;
    }
}


/* v1.66 — definitive mobile/tablet Product Brand fix.
   The real HTML badge row is moved into the image wrapper by
   frontend-brand-loop-badges.js. This block intentionally comes last and
   disables all legacy/theme pseudo labels on imported brand cards so there is
   only one source of truth: green left + blue right, exactly like Shop. */
@media only screen and (max-width: 950px) {
    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product {
        position: relative !important;
    }

    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image {
        position: relative !important;
        isolation: isolate !important;
        overflow: visible !important;
    }

    /* Remove BeTheme/custom-CSS legacy labels only on imported brand cards. */
    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product .mfn-product-badges,
    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product .soldout,
    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product .soldout > h4 {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image::before,
    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image::after {
        content: none !important;
        display: none !important;
    }

    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image > .pcs-loop-badges {
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        position: absolute !important;
        top: auto !important;
        right: 0 !important;
        bottom: 8px !important;
        left: 0 !important;
        z-index: 999999 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 30px !important;
        min-height: 30px !important;
        margin: 0 !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        transform: none !important;
        pointer-events: none !important;
    }

    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image > .pcs-loop-badges > .pcs-loop-badge {
        display: inline-flex !important;
        flex: 0 0 calc(50% - 3px) !important;
        align-items: center !important;
        justify-content: center !important;
        width: calc(50% - 3px) !important;
        min-width: 0 !important;
        max-width: calc(50% - 3px) !important;
        height: 30px !important;
        min-height: 30px !important;
        margin: 0 !important;
        padding: 3px 5px !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-radius: 5px !important;
        box-shadow: none !important;
        color: #fff !important;
        font-family: inherit !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        font-style: normal !important;
        line-height: 12px !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: normal !important;
        overflow: hidden !important;
        overflow-wrap: anywhere !important;
        text-overflow: ellipsis !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: none !important;
    }

    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image > .pcs-loop-badges > .pcs-loop-badge-incoming {
        background: #00a651 !important;
    }

    html body.pcs-product-brand-archive.woocommerce #Wrapper
    ul.products > li.product.pcs-online-only-shop-product
    > .mfn-li-product-row-image > .pcs-loop-badges > .pcs-loop-badge-online {
        margin-left: auto !important;
        background: #2271b1 !important;
    }
}
