/* One compact offer banner across every shared-header page. */
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar {
    --compact-offer-bg: #edf3f9;
    --compact-offer-ink: #183e62;
    --compact-offer-price: #183e62;
    --compact-offer-muted: #375d7b;
    --compact-offer-link: #0c568e;
    background: var(--compact-offer-bg) !important;
    color: var(--compact-offer-ink) !important;
    border: 0;
    border-bottom: 1px solid #d2dfec;
    box-shadow: none;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html.weekend-sale-active[data-weekend-brand="idt"] body .weekend-sale-bar {
    --compact-offer-bg: #123b2d;
    --compact-offer-ink: #fff;
    --compact-offer-price: #ffd79b;
    --compact-offer-muted: #d7e5dc;
    --compact-offer-link: #fff;
    border-bottom-color: #123b2d;
}
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1140px;
    min-height: 58px;
    margin: 0 auto;
    padding: 10px 16px;
    gap: 10px 24px;
}
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__message { display: grid; gap: 1px; }
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__message > strong {
    color: var(--compact-offer-muted);
    font: 600 11px/1.5 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0;
}
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__message > .weekend-sale-bar__hook {
    display: block;
    color: var(--compact-offer-ink);
    font: 650 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-kicker,
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__deadline > small { display: none; }
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__price { display: block; }
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__price > span { display: none; }
html.weekend-sale-active[data-weekend-brand="idt"] body .weekend-sale-bar__price > span { display: inline !important; font-size: 10px; color: var(--compact-offer-muted); margin-right: 4px; }
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__price > div { display: inline; }
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__price strong {
    color: var(--compact-offer-price) !important;
    font: 750 18px/1.4 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0;
}
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__price > small {
    display: block !important;
    color: var(--compact-offer-muted);
    font-size: 10px;
    line-height: 1.5;
}
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__deadline {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
}
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__deadline > span { color: var(--compact-offer-muted); font-size: 11px; }
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__deadline > strong {
    color: var(--compact-offer-ink);
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    font: 600 12px/1.5 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: .01em;
    font-variant-numeric: tabular-nums;
}
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    color: var(--compact-offer-link) !important;
    background: none !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 32px;
    padding: 5px 0;
    gap: 7px;
    font: 650 12px/1.5 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-decoration: underline;
    text-underline-offset: 4px;
    transform: none;
}
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__action:hover { opacity: .85; transform: none; }
html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__action:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 767px) {
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__inner {
        display: grid;
        grid-template-columns: minmax(0,1fr) auto auto;
        grid-template-areas: "message message message" "price deadline action";
        justify-content: stretch;
        min-height: 0;
        padding: 9px 16px;
        gap: 7px 12px;
    }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__message { grid-area: message; grid-template-columns: auto minmax(0,1fr); align-items: baseline; gap: 8px; }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__message > strong { font-size: 10px; white-space: nowrap; }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__message > .weekend-sale-bar__hook { font-size: 12px; line-height: 1.4; }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__price { grid-area: price; text-align: left; }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__price strong { font-size: 16px; }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__price > small { font-size: 9px; }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__deadline { grid-area: deadline; }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__deadline > span,
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__deadline > strong { font-size: 10px; }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__action { grid-area: action; display: inline-flex; font-size: 11px; gap: 5px; min-height: 36px; padding: 7px 0; }
}
@media (max-width: 359px) {
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__inner { padding-inline: 12px; gap: 7px 9px; }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__deadline > span { display: none; }
    html.weekend-sale-active[data-weekend-brand] body .weekend-sale-bar__action { font-size: 10px; }
}

/* The separate plan-selector offer header is intentionally outside this scope. */
html.weekend-sale-active body main:has(> .weekend-sale-bar) > .fomo-offer-rail:not(.fomo-overlay-rail) { display: none !important; }
body:not(.homepage-refresh):not(.idt-home-refresh) main > .fomo-offer-rail:not(.fomo-overlay-rail) {
    --compact-rail-ink: #183e62;
    background: #edf3f9;
    color: var(--compact-rail-ink);
    border: 0;
    box-shadow: none;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html[data-fomo-brand="idt"] body:not(.idt-home-refresh) main > .fomo-offer-rail:not(.fomo-overlay-rail) { background: #123b2d; --compact-rail-ink: #fff; }
body:not(.homepage-refresh):not(.idt-home-refresh) main > .fomo-offer-rail:not(.fomo-overlay-rail) .fomo-offer-rail__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1140px;
    min-height: 44px;
    padding: 10px 16px;
    gap: 10px 20px;
}
body:not(.homepage-refresh):not(.idt-home-refresh) main > .fomo-offer-rail:not(.fomo-overlay-rail) .fomo-offer-rail__message { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
body:not(.homepage-refresh):not(.idt-home-refresh) main > .fomo-offer-rail:not(.fomo-overlay-rail) :is(.fomo-offer-rail__copy, .fomo-offer-rail__trust) { display: none; }
body:not(.homepage-refresh):not(.idt-home-refresh) main > .fomo-offer-rail:not(.fomo-overlay-rail) :is(.fomo-offer-rail__eyebrow, .fomo-offer-rail__headline, .fomo-offer-rail__status, .fomo-offer-rail__clock-label) {
    color: var(--compact-rail-ink);
    font-family: inherit;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    margin: 0;
}
body:not(.homepage-refresh):not(.idt-home-refresh) main > .fomo-offer-rail:not(.fomo-overlay-rail) .fomo-offer-rail__clock { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; box-shadow: none; }
body:not(.homepage-refresh):not(.idt-home-refresh) main > .fomo-offer-rail:not(.fomo-overlay-rail) .fomo-countdown__unit { min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
body:not(.homepage-refresh):not(.idt-home-refresh) main > .fomo-offer-rail:not(.fomo-overlay-rail) .fomo-countdown__value { color: var(--compact-rail-ink); font-size: 13px; }
body:not(.homepage-refresh):not(.idt-home-refresh) main > .fomo-offer-rail:not(.fomo-overlay-rail) .fomo-countdown__label { color: var(--compact-rail-ink); font-size: 9px; }
