/* Black Friday 2026: sitewide banner, badge, cart savings, sale hero.
 * Loaded only while the event runs (inc/black-friday.php). Same fonts as
 * the site; a dark band and the existing orange accent. */

.shoprv-bf-banner {
    background: #111;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    line-height: 1.3;
    text-align: center;
    padding: 9px 16px;
}

.shoprv-bf-banner__link,
.shoprv-bf-banner__link:visited {
    color: #fff;
    text-decoration: none;
}

.shoprv-bf-banner__link:hover,
.shoprv-bf-banner__link:focus-visible {
    text-decoration: underline;
}

.shoprv-bf-banner__link span {
    color: var(--wp--preset--color--orange, #f26b21);
}

.shoprv-bf-badge {
    background: #111;
}

.shoprv-bf-savings th,
.shoprv-bf-savings td {
    color: var(--wp--preset--color--orange-soft-ink, #b4470f);
    font-weight: 700;
}

/* Sale hero: the existing hero in a dark band. Countdown and search sit
 * above the fold at 375px. */
.shoprv-bf-hero {
    background: #111;
}

.shoprv-bf-hero .shoprv-hero__title,
.shoprv-bf-hero .shoprv-hero__sub {
    color: #fff;
}

.shoprv-bf-hero__eyebrow {
    background: var(--wp--preset--color--orange, #f26b21);
    color: #fff;
}

.shoprv-bf-countdown {
    display: flex;
    gap: 10px;
    margin: 4px 0 18px;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shoprv-bf-countdown__unit {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
    min-width: 58px;
    text-align: center;
}

.shoprv-bf-countdown__unit b {
    display: block;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.shoprv-bf-hero__cta,
.shoprv-bf-hero__cta:visited {
    display: inline-block;
    margin-top: 14px;
    color: var(--wp--preset--color--orange, #f26b21);
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
}

.shoprv-bf-hero__cta:hover,
.shoprv-bf-hero__cta:focus-visible {
    text-decoration: underline;
}

.shoprv-home-cats__bf {
    display: block;
    color: var(--wp--preset--color--orange-soft-ink, #b4470f);
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 600px) {
    .shoprv-bf-countdown { gap: 6px; margin-bottom: 12px; }
    .shoprv-bf-countdown__unit { min-width: 0; flex: 1; padding: 4px 6px; font-size: 12px; }
    .shoprv-bf-countdown__unit b { font-size: 20px; }
}

/* Was-price grey and smaller, sale price plain: the two must read as
 * clearly different numbers. */
.shoprv-pdp-buybox__price del,
.shoprv-card__price del {
    color: #767676;
    font-weight: 400;
    font-size: 0.8em;
    margin-right: 4px;
}

.shoprv-pdp-buybox__price ins,
.shoprv-card__price ins {
    text-decoration: none;
}
