/* Shared, scoped sale styles. The regular site is unchanged without an active sale. */
html.sale-no-nav-transition body > nav {
    transition: none !important;
}
html.sale-preoffset body {
    padding-top: var(--sale-banner-offset, 0px);
}
html.sale-preoffset body > nav {
    top: calc(15px + var(--sale-banner-offset, 0px));
}
.has-premium-sale {
    --sale-accent: #e76969;
    --sale-background: #303030;
    --sale-text: #fff;
}
.sale-banner, .sale-announcement {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sale-text);
    font-family: inherit;
    line-height: 1.5;
    font-weight: 400;
}
/* Full-width strip above the fixed navigation, except on Premium. */
.sale-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1100;
    flex-wrap: wrap;
    gap: 4px 28px;
    padding: 10px 20px;
    background: var(--sale-background);
    border-bottom: 1px solid #ffffff1a;
    border-radius: 0;
    text-align: center;
}
.sale-copy { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; }
.sale-title { font-size: .875rem; font-weight: 500; }
.sale-banner .sale-title { color: var(--sale-accent); }
.sale-message { font-size: .875rem; font-weight: 400; }
.sale-countdown { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.sale-countdown-label { font-size: .8125rem; opacity: .7; font-weight: 400; }
.sale-countdown-value { font-size: .875rem; font-variant-numeric: tabular-nums; font-weight: 500; }
/* A restrained offer summary in the premium hero. */
.hero-content .sale-announcement {
    flex-direction: column;
    gap: 14px;
    margin: 28px auto 0;
    padding: 24px;
    max-width: 580px;
    background: var(--sale-background);
    border: 1px solid #ffffff14;
    border-radius: 12px;
}
.sale-announcement .sale-copy { flex-direction: column; align-items: center; gap: 6px; }
.sale-announcement .sale-title { color: var(--sale-accent); font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.sale-announcement .sale-message { font-size: clamp(1.1rem, 3vw, 1.35rem); line-height: 1.4; font-weight: 500; }
.sale-announcement .sale-countdown { padding-top: 12px; border-top: 1px solid #ffffff12; }
.sale-price .sale-original-price { color: #b0b0b0; font-size: .55em; font-weight: 400; white-space: nowrap; }
.sale-price .sale-discounted-price { color: var(--sale-accent); white-space: nowrap; }
.comparison-table .sale-price .sale-original-price { font-size: .9em; }
.comparison-table .sale-price .sale-discounted-price { font-size: 1.1em; font-weight: 600; }
@media (max-width: 676px) {
    .sale-banner { gap: 4px 16px; padding: 8px 12px; }
    .sale-banner .sale-copy { flex-basis: 100%; gap: 2px 8px; }
    .sale-banner .sale-title, .sale-banner .sale-message { font-size: .8125rem; }
    .sale-banner .sale-countdown-label, .sale-banner .sale-countdown-value { font-size: .8125rem; }
    .hero-content .sale-announcement { margin-left: 16px; margin-right: 16px; padding: 20px 16px; }
}
