/* ==========================================================================
   CABAIA promotion bar: offer + block-digit countdown + "J'en profite" link
   Markup: cb_promo_bar_html() (server-rendered values), ticked by assets/js/promo-bar.js.
   The bar sits in the normal flow above the sticky header, so --cb-header-h is unchanged.
   ========================================================================== */

.cb-promo-bar {
    padding: 0;
    overflow: hidden;
    background: var(--cb-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 16px;
}

.cb-promo-bar .cb-promo-bar__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 40px;
    padding: 6px 16px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.cb-promo-bar .cb-promo-bar__link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
    text-decoration: none;
}

.cb-promo-bar__text {
    font-weight: 600;
    letter-spacing: .01em;
}

.cb-promo-bar__timer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-variant-numeric: tabular-nums;
}

.cb-promo-bar__lead {
    margin-right: 4px;
    font-weight: 400;
    opacity: .85;
}

.cb-promo-bar__unit {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    min-width: 38px;
    height: 24px;
    padding: 0 6px;
    border-radius: 4px;
    background: #fff;
    color: var(--cb-blue);
    line-height: 24px;
}

.cb-promo-bar__num {
    font-size: 14px;
    font-weight: 700;
}

.cb-promo-bar__lbl {
    font-size: 10px;
    font-weight: 500;
    color: var(--cb-deep);
    opacity: .7;
}

.cb-promo-bar__cta {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.cb-promo-bar__link:hover .cb-promo-bar__cta {
    text-decoration-thickness: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .cb-promo-bar [data-cb-promo-unit="s"] {
        display: none;
    }
}

@media (max-width: 767px) {
    .cb-promo-bar .cb-promo-bar__link {
        gap: 8px;
        min-height: 36px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .cb-promo-bar__more,
    .cb-promo-bar__lead {
        display: none;
    }

    .cb-promo-bar__timer {
        gap: 3px;
    }

    .cb-promo-bar__unit {
        min-width: 0;
        height: 22px;
        padding: 0 4px;
        border-radius: 3px;
        line-height: 22px;
    }

    .cb-promo-bar__num {
        font-size: 13px;
    }

    .cb-promo-bar__lbl {
        font-size: 9px;
    }
}

@media (max-width: 359px) {
    .cb-promo-bar__cta-label {
        display: none;
    }
}
