.kc-pdb-badges {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
}
.kc-pdb-badge-slot { display: inline-flex; }
.kc-pdb-badges .kc-pdb-badge-slot > .yith-wcbm-badge {
    position: relative !important;
    inset: auto !important;
    height: 36px !important;
    margin: 0 !important;
    transform: none !important;
    border: 1px solid #fff;
    box-sizing: border-box;
    font-size: 10px;
}
.kc-pdb-badges .yith-wcbm-badge-115783,
.kc-pdb-badges .yith-wcbm-badge-115786,
.kc-pdb-badges .yith-wcbm-badge-115787,
.kc-pdb-badges .yith-wcbm-badge-115788 { width: 78px !important; }
.kc-pdb-badges .yith-wcbm-badge-115785 { width: 82px !important; }
.kc-pdb-badges .yith-wcbm-badge-115784 { width: 36px !important; }
.kc-pdb-badges .yith-wcbm-badge p { margin: 0; }
.kc-pdb-badges .yith-wcbm-badge .yith-wcbm-badge-text,
.kc-pdb-badges .yith-wcbm-badge .yith-wcbm-badge-text :is(p, span) {
    font-size: 10px !important;
    line-height: 1.15 !important;
}
/* Anchor badges to the full media frame, independently of the image dimensions. */
.thumbnail-wrapper > .container-image-and-badge,
.kc-home-product-card__image > .container-image-and-badge {
    position: static;
}
.kc-home-product-card__image > .container-image-and-badge {
    width: 100%;
    height: 100%;
}
.kc-product-gallery__main .kc-pdb-badges { bottom: 38px; }
