/* Full-width strip along the top of the image; row-reverse puts the first badge at the right edge. */
.born-promo-badges {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 4;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    line-height: 0;
    pointer-events: none;
}

.born-promo-badge {
    flex: 0 0 auto;
}

.born-promo-badge img {
    display: block;
    width: 100%;
    height: auto;
}

/* Product page: anchor to the gallery; the copy appended to the gallery's Codazon labels is hidden. */
.catalog-product-view .product.media {
    position: relative;
}

.born-promo-badges--product {
    z-index: 1;
}

.gallery-container .label-wrap .born-promo-badges {
    display: none;
}
