/* Black Friday deals page, renewed for 2026: a black banner with GardenSite's red and green as accents, a countdown
   whose numbers drop in as they change, and a slow sheen across the banner. Both movements stop for anyone who asks
   their device to reduce motion. */

.bf-banner {
    --bf-red: #900;
    --bf-red-bright: #c4161c;
    --bf-green: #1f821c;
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(120% 140% at 85% 10%, #262626 0%, #0b0b0b 55%, #000 100%);
    border-bottom: 6px solid var(--bf-red);
}
/* A thin green line above the red one, as on the site's own header. */
.bf-banner::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--bf-green); }
/* The sheen: a soft band of light that crosses the banner every few seconds. */
.bf-banner::after {
    content: ""; position: absolute; top: -50%; bottom: -50%; left: -40%; width: 30%; pointer-events: none;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.07) 45%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.07) 55%, transparent 100%);
    transform: rotate(8deg); animation: bf-sheen 7s ease-in-out infinite;
}
@keyframes bf-sheen { 0% { left: -40%; } 60%, 100% { left: 130%; } }

.bf-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 64px; }
.bf-copy { flex: 1 1 420px; max-width: 620px; }

.bf-year { display: inline-block; margin: 0 0 10px; padding: 2px 10px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; font-size: 0.85rem; letter-spacing: 0.2em; color: #d9d9d9; }
.bf-banner h1 { margin: 0 0 16px; color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.bf-banner h1 .bf-black { display: inline-block; padding: 0 0.18em; background: #fff; color: #000; }
.bf-banner h1 .bf-deals { color: var(--bf-red-bright); }
.bf-when { margin: 0 0 20px; color: #d9d9d9; font-size: 1.15rem; line-height: 1.45; }

.bf-code { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; padding: 12px 16px; border: 1px dashed rgba(255, 255, 255, 0.5); border-radius: 6px; color: #fff; }
.bf-code-amount { font-family: 'Bitter', 'Bitter Fallback', Arial, sans-serif; font-weight: 700; font-size: 1.6rem; color: #fff; }
.bf-code-info { color: #d9d9d9; }
.bf-code-word { padding: 4px 10px; background: #fff; color: #000; border-radius: 4px; letter-spacing: 0.08em; font-size: 1.1rem; user-select: all; }

.bf-countdown { flex: 0 1 auto; text-align: center; }
.bf-countdown-label { margin: 0 0 10px; color: #d9d9d9; font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; }
.bf-countdown-units { display: flex; gap: 10px; justify-content: center; }
.bf-unit { display: flex; flex-direction: column; align-items: center; min-width: 78px; padding: 12px 8px 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-top: 3px solid var(--bf-red-bright); border-radius: 6px; overflow: hidden; }
.bf-number { display: block; font-family: 'Bitter', 'Bitter Fallback', Arial, sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.bf-number.bf-tick { animation: bf-drop 0.35s ease-out; }
@keyframes bf-drop { from { transform: translateY(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
.bf-unit-label { margin-top: 6px; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: #bfbfbf; }

/* The tab at the foot of the banner that jumps to the deals. */
.bf-to-deals {
    position: absolute; z-index: 1; left: 50%; bottom: 0; transform: translateX(-50%);
    display: flex; align-items: center; justify-content: center; width: 64px; height: 34px;
    background: var(--bf-red); color: #fff; border-radius: 34px 34px 0 0;
}
.bf-to-deals svg { width: 22px; height: 22px; margin-top: 6px; stroke: currentColor; }
.bf-to-deals:hover, .bf-to-deals:focus-visible { background: var(--bf-red-bright); color: #fff; }
.bf-to-deals:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 767.98px) {
    .bf-inner { padding-top: 36px; padding-bottom: 56px; gap: 24px; }
    .bf-countdown { flex: 1 1 100%; }
    .bf-unit { min-width: 0; flex: 1 1 0; }
    .bf-number { font-size: 2rem; }
    .bf-when { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .bf-banner::after { animation: none; display: none; }
    .bf-number.bf-tick { animation: none; }
}

/* The deals, in line with the rest of the site. */
.bf-deals-wrap { padding-top: 40px; }
.bf-deals-wrap .product-info { text-align: center; margin-bottom: 24px; }
.bf-deals-wrap .product-info h2 { font-size: 2rem; }
.bf-deals-wrap .product-info p { font-size: 1.1rem; margin: 0; }
.bf-deals-wrap .footer-info { border-top: 1px solid #d9d9d9; padding-top: 40px; margin: 48px auto; max-width: 900px; }
 