/* BF-04: Чорна пʼятниця 25.11-30.11.2026.
   Файл підключає header.tpl тільки в ці дати (body.bf2026), 01.12 сайт сам повертається до звичайного вигляду.
   Плашка: чорний "розріз" (варіант власника 25.11). */

/* ── Строка вгорі: замість звичайної, клікабельна, веде на /specials/ ── */
.bf2026 #running-banner { display: none !important; }

#bf-ticker {
    position: relative;
    display: flex;
    align-items: center;
    height: 34px;
    overflow: hidden;
    background: #040810;
    color: #FFD800;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    border-bottom: 1px solid #FFD800;
}
#bf-ticker:hover, #bf-ticker:focus { color: #FFD800; text-decoration: none; }
/* затухання зліва, як було у звичайної строки */
#bf-ticker::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, #040810, rgba(4, 8, 16, 0));
}

#bf-ticker .bf-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    animation: bf-scroll 45s linear infinite;
}
#bf-ticker:hover .bf-track { animation-play-state: paused; }

#bf-ticker .bf-item { padding: 0 18px; }
#bf-ticker .bf-item::after {
    content: "\2702";            /* ножиці: ріжемо ціни */
    color: #ffffff;
    margin-left: 36px;
    font-size: 14px;
}

#bf-ticker .bf-cta {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 18px 0 16px;
    background: #FFD800;
    color: #040810;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 2;
}
/* затухання справа, перед кнопкою */
#bf-ticker .bf-cta::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 60px;
    pointer-events: none;
    background: linear-gradient(270deg, #040810, rgba(4, 8, 16, 0));
}

@keyframes bf-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    #bf-ticker .bf-track { animation: none; }
}
@media (max-width: 575px) {
    #bf-ticker { font-size: 11px; letter-spacing: 0.08em; }
    #bf-ticker .bf-item { padding: 0 12px; }
    #bf-ticker .bf-item::after { margin-left: 24px; }
    #bf-ticker .bf-cta { padding: 0 12px; font-size: 11px; }
    #bf-ticker::before, #bf-ticker .bf-cta::before { width: 36px; }
}

/* ── Плашка знижки, варіант 1 "Розріз": чорний цінник, жовтий відсоток, пунктир з ножицями ── */
.bf2026 .stickers-ns .special {
    position: relative;
    justify-content: center;
    min-width: 92px;
    padding: 27px 12px 7px;
    border-radius: 4px 0 6px 0;
    background: linear-gradient(90deg, #FFD800 50%, transparent 0) 0 20px / 6px 1px repeat-x, #040810;
    color: #FFD800;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    box-shadow: 0 3px 10px rgba(4, 8, 16, 0.28);
}
.bf2026 .stickers-ns .special::before {
    content: "BLACK FRIDAY";
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    text-align: center;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
}
.bf2026 .stickers-ns .special::after {
    content: "\2702";
    position: absolute;
    top: 14px;
    left: 7px;
    padding: 0 3px;
    background: #040810;
    color: #FFD800;
    font-size: 13px;
    line-height: 12px;
    letter-spacing: 0;
}

@media (max-width: 575px) {
    .bf2026 .stickers-ns .special { min-width: 76px; font-size: 18px; padding: 24px 9px 6px; }
    .bf2026 .stickers-ns .special::before { font-size: 8px; letter-spacing: 0.1em; }
    .bf2026 .stickers-ns .special { background-position: 0 18px, 0 0; }
    .bf2026 .stickers-ns .special::after { top: 13px; left: 4px; font-size: 11px; line-height: 10px; }
}

/* ── /specials/: заголовок акції ── */
.bf2026 .bf-head { margin: 6px 0 28px; }
.bf2026 .title_top.bf-title {
    display: inline-block;
    margin: 0;
    padding: 10px 20px;
    border-radius: 4px;
    background: #040810;
    color: #FFD800;
    font-size: 40px;
    line-height: 1.1;
}
.bf2026 .bf-sub {
    margin: 10px 0 0;
    color: #3a3d45;
    font-size: 16px;
}
@media (max-width: 575px) {
    .bf2026 .bf-head { margin: 0 0 20px; }
    .bf2026 .title_top.bf-title { font-size: 24px; padding: 8px 14px; }
    .bf2026 .bf-sub { font-size: 14px; }
}
