/* Promo Banner Frontend Styles */

.pbm-promo-banner {
    padding: 5px 20px;
    text-align: center;
    position: relative;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    /* Kolory są teraz ustawiane dynamicznie przez inline style */
}

.pbm-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pbm-discount-text {
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pbm-copy-btn {
    padding: 3px 10px;
    font-size: 14px;
    line-height: 20px;
    margin-left: 5px;
    font-weight: 600;
    color: inherit;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    cursor: pointer;
}

.pbm-copy-btn:hover {
    background: rgba(255,255,255,0.25);
}

.pbm-copy-notice {
    position: absolute;
    right: 10px;
    top: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 20px;
}

.pbm-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pbm-countdown-label {
    font-size: 14px;
    font-weight: 400;
}

.pbm-countdown-timer {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pbm-countdown-timer span {
    font-weight: 700;
}

/* Responsywność */
@media (max-width: 768px) {
    .pbm-banner-content {
        flex-direction: column;
        gap: 5px;
    }

    .pbm-discount-text {
        font-size: 16px;
    }

    .pbm-countdown {
        flex-direction: column;
        gap: 5px;
    }

    .pbm-countdown-timer {
        font-size: 14px;
    }
}

/* Animacja pojawiania się */
@keyframes pbm-slide-down {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pbm-promo-banner {
    animation: pbm-slide-down 0.5s ease-out;
}

