#wcmg-notif-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* 9998 so the theme's mobile menu overlay (typically 9999+) can appear above */
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 40px 10px 16px;
    font-size: 14px;
    font-weight: 600;
    min-height: 44px;
    box-sizing: border-box;
    flex-wrap: wrap;
}
.wcmg-bar__text { flex: 0 1 auto; text-align: center; }

/* Countdown bar: single line on desktop, stacked on mobile */
@media (max-width: 640px) {
    .wcmg-bar--countdown {
        flex-direction: column;
        padding: 12px 40px 12px 16px;
        gap: 6px;
        text-align: center;
    }
    .wcmg-bar--countdown .wcmg-bar__countdown { order: 1; }
    .wcmg-bar--countdown .wcmg-bar__text      { order: 2; width: 100%; }
    .wcmg-bar--countdown .wcmg-bar__btn       { order: 3; align-self: center; }
}
.wcmg-bar__btn {
    display: inline-block;
    padding: 5px 16px;
    border: 2px solid currentColor;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    color: inherit;
    transition: opacity .2s;
}
.wcmg-bar__btn:hover { opacity: .85; }
.wcmg-bar__btn--highlighted {
    border-radius: 20px;
}
.wcmg-bar__close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    line-height: 1;
}
.wcmg-bar__close:hover { opacity: 1; }

/* Countdown bar */
.wcmg-bar__countdown {
    display: flex;
    align-items: center;
    gap: 6px;
}
.wcmg-cd { display: flex; flex-direction: column; align-items: center; min-width: 36px; }
.wcmg-cd__n { font-size: 18px; font-weight: 700; line-height: 1; }
.wcmg-cd__l { font-size: 9px; font-weight: 400; text-transform: uppercase; opacity: 0.8; }
.wcmg-cd__sep { font-size: 18px; font-weight: 700; padding-bottom: 8px; opacity: .6; }

/* Countdown highlight: dark pill per unit */
.wcmg-cd--highlight {
    background: rgba(0,0,0,.75);
    color: #fff;
    border-radius: 6px;
    padding: 4px 8px;
    min-width: 44px;
}
.wcmg-cd--highlight .wcmg-cd__l { opacity: .7; }

/* Multi bar */
.wcmg-bar__multi-wrap { position: relative; overflow: hidden; flex: 1; text-align: center; }
.wcmg-bar__msg { display: none; }
.wcmg-bar__msg--active { display: block; }
.wcmg-bar__arrow {
    background: none; border: none; cursor: pointer; color: inherit;
    font-size: 22px; line-height: 1; padding: 0 4px; opacity: 0.7;
}
.wcmg-bar__arrow:hover { opacity: 1; }

/* Infinity ticker */
.wcmg-bar--infinity { overflow: hidden; justify-content: flex-start; }
.wcmg-bar__ticker { display: flex; white-space: nowrap; }
.wcmg-bar__ticker span {
    display: inline-block;
    animation: wcmg-ticker 18s linear infinite;
}
@keyframes wcmg-ticker {
    from { transform: translateX(100vw); }
    to   { transform: translateX(-100%); }
}
