/* ==========================================
   PROMO COUNTDOWN BAR - Sticky on scroll
   Plugin: Countdown Banner by Soft-Komp
   Version: 2.0.0
   UWAGA: Całkowicie nowe nazwy CSS!
========================================== */

.promo-countdown-bar {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: #fff;
    padding: 0;
    box-shadow: 0 4px 20px rgba(155, 89, 182, 0.3);
    margin: 0;
    border-radius: 12px;
}

/* Sticky state - aktywuje się przez JavaScript */
.promo-countdown-bar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    margin: 0;
    border-radius: 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.promo-countdown-bar__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-countdown-bar__content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.promo-countdown-bar__text {
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
}

.promo-countdown-bar__text strong {
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.promo-countdown-bar__deadline {
    font-size: 1.2em;
}

.promo-countdown-bar__timer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25em;
margin: 0.25em;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-countdown-bar__timer-display {
    font-weight: 700;
    font-size: 1.3em;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    color: #ffd700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1024px) {
    .promo-countdown-bar {
        padding: 0.65rem 1rem;
    box-shadow: none;
opacity:0;
height: 0;
}

.promo-countdown-bar.is-sticky {
    opacity:1;
z-index: 30000;
top: 74px;
height: inherit;
}
    
    .promo-countdown-bar__content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .promo-countdown-bar__text {
        font-size: 0.95rem;
    }
    
    .promo-countdown-bar__timer {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
display: none;
    }
    
    .promo-countdown-bar__timer-display {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .promo-countdown-bar {
        padding: 0.525rem 0.75rem;
    }
    
    .promo-countdown-bar__text {
        font-size: 0.875rem;
    }
    
    .promo-countdown-bar__timer {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}
