/* Explain: CSS styling for the promotional countdown bar. */
/* רצועת מבצע עם ספירה לאחור */
.promo-bar {
    position: relative;
    z-index: 51;
    background: linear-gradient(135deg, #0B1E3D 0%, #1E40AF 58%, #14305F 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(61, 255, 136, 0.28);
}

.promo-bar[hidden] {
    display: none;
}

.promo-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem 1rem;
    padding-block: 0.6rem;
    text-align: center;
}

.promo-bar__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(61, 255, 136, 0.16);
    border: 1px solid rgba(61, 255, 136, 0.42);
    color: #B8FFD6;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
}

.promo-bar__text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.promo-bar__timer {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.promo-bar__seg {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.6rem;
    padding: 0.22rem 0.45rem;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    line-height: 1;
}

.promo-bar__seg b {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--neon-color);
}

.promo-bar__seg small {
    margin-top: 0.16rem;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
}

.promo-bar__note {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.promo-bar__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    background: var(--neon-color);
    color: #06281A;
    font-weight: 700;
    font-size: 0.88rem;
    flex-shrink: 0;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.promo-bar__cta:hover {
    background: #2EE878;
    transform: translateY(-1px);
}

.promo-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.promo-bar__icon[hidden] {
    display: none;
}

.promo-bar__icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

@media (max-width: 640px) {
    .promo-bar__text {
        flex-basis: 100%;
        font-size: 0.85rem;
    }

    .promo-bar__cta {
        flex: 1;
    }
}