/* --- IBIF Promotion Labels --- */

/* ========================================
   BANER NA KARCIE PRODUKTU
   (pod przyciskiem Do Koszyka, pelna szerokosc)
   ======================================== */
.ibif-promo-product-banner {
    width: 100%;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.ibif-promo-banner-link {
    display: block;
    width: 100%;
    line-height: 0;
}

.ibif-promo-banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.ibif-promo-banner-text {
    width: 100%;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 8px;
}

/* ========================================
   LABELE NA MINIATURKACH
   (badge w liscie flag)
   ======================================== */
.product-flag.ibif-promo-flag {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 3px;
    padding: 3px 8px !important;
    line-height: 1.3;
    white-space: nowrap;
}

/* Maly baner-obrazek na miniaturce (prawy gorny rog) */
.ibif-promo-miniature-banner {
    position: absolute;
    top: 5px;
    right: 5px;
    max-width: 80px;
    max-height: 80px;
    z-index: 3;
    pointer-events: none;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* ========================================
   RESPONSYWNOSC
   ======================================== */
@media (max-width: 767px) {
    .ibif-promo-miniature-banner {
        max-width: 55px;
        max-height: 55px;
    }
    .ibif-promo-banner-text {
        font-size: 13px;
        padding: 10px 15px;
    }
}
