/* css/f2l-blackweek.css
   Fusion2Life Black Week(end) 2026 (2026.11.18.) – menüsor, Shop/termékoldal fejléce, popup, futó macska, teszt sáv.
   Saját fájl: a template CSS-éhez nem nyúl. Csak akkor töltődik be, ha a Black Week látható (inc/f2l_blackweek_config.php),
   és minden szabály a body.f2l-bw26* osztályok vagy a saját .bw26-* elemek alatt van.
   Színek a Black Friday slider képéből: éjkék #0b0b27, piros #d12326 / neon #ff2b3a, arany #ffb21e. */

/* ===================== Menüsor ===================== */
body.f2l-bw26--menu #header .mega-menu > section.menu-list-items {
    position: relative;
    background: linear-gradient(180deg, #1b1848 0%, #0d0c2b 100%);
    box-shadow: 0 14px 34px rgba(4, 4, 22, .5), inset 0 0 0 1px rgba(255, 255, 255, .07);
}

body.f2l-bw26--menu #header .mega-menu > section.menu-list-items::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 43, 58, 0) 0%, #ff2b3a 16%, #ffb21e 50%, #ff2b3a 84%, rgba(255, 43, 58, 0) 100%);
    box-shadow: 0 0 14px rgba(255, 43, 58, .8);
    pointer-events: none;
}

body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li > a,
body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li > a i,
body.f2l-bw26--menu #header .shpping-cart .cart-btn i.icon {
    color: #f1effa;
}

body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li > a:hover,
body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li > a:hover i,
body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li.active > a,
body.f2l-bw26--menu #header .shpping-cart .cart-btn:hover i.icon {
    color: #ffb21e;
}

body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li > a:focus-visible,
body.f2l-bw26--menu #header .shpping-cart .cart-btn:focus-visible,
body.f2l-bw26--menu #header .fllang:focus-visible {
    outline: 2px solid #ffb21e !important; /* typography.css: a, button, input { outline: none !important } */
    outline-offset: 3px;
}

/* lenyíló menük */
body.f2l-bw26--menu #header .mega-menu .drop-down-multilevel {
    background: #120f33;
    border-top: 2px solid #ff2b3a;
    box-shadow: 0 16px 30px rgba(4, 4, 22, .45);
}

body.f2l-bw26--menu #header .mega-menu .drop-down-multilevel a {
    color: #f1effa;
}

body.f2l-bw26--menu #header .mega-menu .drop-down-multilevel li:hover,
body.f2l-bw26--menu #header .mega-menu .drop-down-multilevel li.active a {
    background: rgba(255, 43, 58, .14);
}

body.f2l-bw26--menu #header .mega-menu .drop-down-multilevel a:hover {
    color: #ffb21e;
}

/* kosár jelvény */
body.f2l-bw26--menu #header .shpping-cart .cart-btn strong.item {
    color: #fff;
    background: #ff2b3a;
}

/* Shop menüpont: piros kapszula arany % jellel (csak a fő menüsorban, asztali nézetben) */
@media (min-width: 992px) {
    body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li > a[href$="/store"] {
        position: relative;
        margin: 0 6px;
        padding: 9px 18px;
        color: #fff;
        background: #d12326;
        border-radius: 999px;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 18px rgba(255, 43, 58, .55);
        transition: background-color .2s ease;
    }

    body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li > a[href$="/store"]:hover {
        color: #fff;
        background: #e8323a;
    }

    body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li > a[href$="/store"]::after {
        content: '%';
        position: absolute;
        top: -9px;
        right: -7px;
        width: 20px;
        height: 20px;
        font-family: inherit;
        font-size: 11px;
        font-weight: 700;
        line-height: 20px;
        text-align: center;
        color: #0b0b27;
        background: linear-gradient(135deg, #ffe08a 0%, #ffb21e 55%, #e07a00 100%);
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    }
}

/* mobil menü */
@media (max-width: 991px) {
    body.f2l-bw26--menu #header .mega-menu > section.menu-list-items {
        box-shadow: none;
    }

    body.f2l-bw26--menu #header .mega-menu .menu-links {
        background: #100e30;
    }

    body.f2l-bw26--menu #header .mega-menu .menu-mobile-collapse-trigger:before,
    body.f2l-bw26--menu #header .mega-menu .menu-mobile-collapse-trigger:after,
    body.f2l-bw26--menu #header .mega-menu .menu-mobile-collapse-trigger span {
        background: #ffb21e;
    }

    body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li > a[href$="/store"] {
        color: #ffb21e !important; /* responsive.css: .header.text-dark ... color: #fff !important */
    }

    body.f2l-bw26--menu #header .mega-menu .menu-bar > .menu-links > li > a[href$="/store"]::after {
        content: ' %';
        font-weight: 700;
    }
}

/* ===================== Shop / termékoldal felső képe ===================== */
body.f2l-bw26--banner .page-title.bg-overlay-black-60::before {
    background:
        linear-gradient(90deg, rgba(11, 11, 39, .96) 0%, rgba(11, 11, 39, .86) 26%, rgba(11, 11, 39, .3) 56%, rgba(11, 11, 39, 0) 76%),
        url('/images/blackweek/f2l-bw26-banner.jpg') 64% 58% / cover no-repeat,
        #0b0b27;
}

body.f2l-bw26--banner .page-title > [id^="jarallax-container"] {
    display: none !important;
}

body.f2l-bw26--banner .page-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 43, 58, 0) 0%, #ff2b3a 20%, #ffb21e 50%, #ff2b3a 80%, rgba(255, 43, 58, 0) 100%);
    box-shadow: 0 0 14px rgba(255, 43, 58, .8);
    pointer-events: none;
}

@media (max-width: 767px) {
    body.f2l-bw26--banner .page-title.bg-overlay-black-60::before {
        background:
            linear-gradient(90deg, rgba(11, 11, 39, .92) 0%, rgba(11, 11, 39, .55) 55%, rgba(11, 11, 39, .1) 100%),
            url('/images/blackweek/f2l-bw26-banner.jpg') 88% 55% / cover no-repeat,
            #0b0b27;
    }
}

/* ===================== Popup ===================== */
.bw26-popup:not([open]) { display: none; } /* régi böngésző <dialog> nélkül: ne jelenjen meg az oldal alján */

.bw26-popup {
    width: min(92vw, 460px);
    max-width: none;
    max-height: calc(100vh - 24px);
    margin: auto;
    padding: 0;
    color: #f1effa;
    background: transparent;
    border: 0;
    overflow: auto;
    overscroll-behavior: contain;
    font: inherit; /* a sablon betűi (body: Poppins 14px) */
}

.bw26-popup::backdrop {
    background: rgba(5, 5, 22, .74);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    overflow: hidden;
    overscroll-behavior: contain;
}

.bw26-popup[open] { opacity: 1; }

@starting-style {
    .bw26-popup[open] { opacity: 0; }
}

.bw26-popup { transition: opacity .35s ease-out; }

@media (prefers-reduced-motion: no-preference) {
    .bw26-popup { transition: opacity .35s ease-out, transform .45s cubic-bezier(.2, .8, .2, 1); }
    .bw26-popup[open] { transform: none; }
    @starting-style {
        .bw26-popup[open] { transform: translateY(16px) scale(.98); }
    }
}

.bw26-popup__inner {
    position: relative;
    padding-top: 162px;
}

.bw26-popup__katze {
    position: absolute;
    top: 0;
    right: 70px;
    z-index: 2;
    width: 120px;
    height: auto;
    overflow: visible;
    pointer-events: none;
}

.bw26-popup__card {
    position: relative;
    overflow: hidden;
    padding: 30px 28px 28px;
    background: radial-gradient(130% 95% at 88% 0%, #2c266b 0%, #16143f 46%, #0b0b27 100%);
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .07);
}

.bw26-popup__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 43, 58, 0) 0%, #ff2b3a 18%, #ffb21e 50%, #ff2b3a 82%, rgba(255, 43, 58, 0) 100%);
    box-shadow: 0 0 14px rgba(255, 43, 58, .85);
}

.bw26-deko {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bw26-popup__text { position: relative; z-index: 1; max-width: 330px; }

.bw26-popup__x-form { position: absolute; top: 12px; right: 12px; z-index: 3; margin: 0; }

.bw26-popup .bw26-popup__x {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    color: #f1effa;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

.bw26-popup .bw26-popup__x:hover { background: rgba(255, 255, 255, .12); border-color: #ffb21e; }

.bw26-popup .bw26-marke {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.4;
    color: #a9acd0;
}

.bw26-popup .bw26-marke { padding-right: 44px; }

.bw26-marke__name { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; color: #f1effa; } /* mint a sablon .section-title h6 */
.bw26-marke time { display: inline-flex; align-items: center; gap: 12px; }
.bw26-marke time::before { content: ''; width: 1px; height: 14px; background: #ffb21e; }

.bw26-popup .bw26-popup__titel {
    margin: 0 0 12px;
    color: #f1effa !important; /* betű és méret a sablon h3-ából; gym.css: h1-h6 color !important */
    text-transform: none;
    text-wrap: balance;
}

.bw26-popup .bw26-popup__lead {
    margin: 0 0 22px;
    color: #cfd0ea; /* betű és méret a sablon p-jéből */
}

.bw26-popup .bw26-cd-titel { margin: 0 0 6px; font-size: 14px; line-height: 1.4; color: #a9acd0; }
.bw26-cd { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 20px; }
.bw26-cd__teil { display: flex; flex-direction: column; align-items: flex-start; }

.bw26-cd__zahl {
    font-family: 'Montserrat', sans-serif; /* mint a sablon h2: Montserrat 700, 32px */
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
    font-variant-numeric: tabular-nums;
}

.bw26-cd__zahl { color: #f1effa; }
.bw26-cd__einheit { margin-top: 2px; font-size: 13px; line-height: 1.3; color: #a9acd0; }

.bw26-popup__aktion { margin-top: 26px; }

.bw26-popup .bw26-btn {
    margin: 0; /* betű, méret, kitöltés a sablon .button osztályából */
    box-shadow: 0 0 22px rgba(255, 43, 58, .45);
}

.bw26-popup .bw26-btn:hover,
.bw26-popup .bw26-btn:focus { color: #fff; background: #e8323a; border-color: #e8323a; } /* a sablon .button:hover sötétkékje a sötét popupon nem látszana */
.bw26-popup__zu { margin: 0; }

/* "*Nur solange der Vorrat reicht" – jól láthatóan, a sablon betűméretével */
.bw26-popup .bw26-vorrat { margin: 14px 0 0; font-weight: 700; color: #ffb21e; }
.bw26-popup .bw26-btn-leise { margin: 0; color: #f1effa; background: transparent; border: 1px solid rgba(241, 239, 250, .55); }
.bw26-popup .bw26-btn-leise:hover { color: #0b0b27; background: #f1effa; border-color: #f1effa; }

.bw26-popup .bw26-btn:focus-visible,
.bw26-popup .bw26-popup__x:focus-visible,
.bw26-katze:focus-visible,
.bw26-test a:focus-visible,
.bw26-test button:focus-visible {
    outline: 3px solid #ffb21e !important; /* typography.css: a, button, input { outline: none !important } */
    outline-offset: 3px;
}

.bw26-lid { transform-box: fill-box; transform-origin: center; }
.bw26-schwanz { transform-box: view-box; transform-origin: 292px 263px; }

@media (prefers-reduced-motion: no-preference) {
    .bw26-popup[open] .bw26-lid { animation: bw26-blinzeln 4.2s ease-in-out 3; }
    .bw26-popup[open] .bw26-schwanz { animation: bw26-schwanz-p 2.4s ease-in-out 3; }
}

@media (max-width: 480px) {
    .bw26-deko-gold,
    .bw26-deko-rot { display: none; } /* keskeny kijelzőn a gomb és a számláló alá kerülne */
    .bw26-popup .bw26-marke { flex-direction: column; align-items: flex-start; gap: 2px; }
    .bw26-marke time::before { display: none; }
}

@media (max-width: 420px) {
    .bw26-popup__inner { padding-top: 130px; }
    .bw26-popup__katze { right: 62px; width: 96px; }
    .bw26-popup__card { padding: 26px 20px 22px; }
}

/* ===================== Futó macska (vissza a tetejére) ===================== */
body.f2l-bw26-katze-an #back-to-top { display: none !important; } /* a JS teszi a body-ra, ha a macska tényleg ott van */

.bw26-katze {
    position: fixed;
    right: 14px;
    bottom: 22px;
    z-index: 990;
    width: 116px;
    height: 75px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    visibility: hidden;
    transform: translateX(160%);
    transition: transform .95s cubic-bezier(.3, .6, .3, 1), visibility 0s linear .95s;
}

.bw26-katze.is-da {
    visibility: visible;
    transform: none;
    transition: transform .95s cubic-bezier(.3, .6, .3, 1), visibility 0s;
}

@media (max-width: 767px) {
    .bw26-katze { right: 8px; bottom: 74px; width: 94px; height: 60px; }
}

.bw26-katze__svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 3px 5px rgba(0, 0, 0, .3));
}

.bw26-katze.is-weg .bw26-katze__svg { transform: scaleX(-1); }

.bw26-katze__tipp {
    position: absolute;
    right: 100%;
    top: 50%;
    margin-right: 6px;
    padding: 7px 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: #f1effa;
    background: #0b0b27;
    border-radius: 3px;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .2s ease;
    pointer-events: none;
}

.bw26-katze:hover .bw26-katze__tipp,
.bw26-katze:focus-visible .bw26-katze__tipp { opacity: 1; }

.bw26-katze.is-rennt .bw26-katze__tipp,
.bw26-katze.is-rennt .bw26-k-pfeil { opacity: 0; }

.bw26-k-pfeil { transition: opacity .2s ease; }
.bw26-bein { transform-box: view-box; }
.bw26-bein-a { transform-origin: 52px 51px; }
.bw26-bein-b { transform-origin: 59px 51px; }
.bw26-bein-c { transform-origin: 90px 51px; }
.bw26-bein-d { transform-origin: 97px 51px; }
.bw26-k-schwanz { transform-box: view-box; transform-origin: 101px 41px; }
.bw26-k-auge { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
    .bw26-katze.is-rennt .bw26-bein-a { animation: bw26-vorne .34s linear infinite; }
    .bw26-katze.is-rennt .bw26-bein-b { animation: bw26-vorne .34s linear infinite -.17s; }
    .bw26-katze.is-rennt .bw26-bein-c { animation: bw26-hinten .34s linear infinite; }
    .bw26-katze.is-rennt .bw26-bein-d { animation: bw26-hinten .34s linear infinite -.17s; }
    .bw26-katze.is-rennt .bw26-k-koerper { animation: bw26-hopp .17s ease-in-out infinite alternate; }
    .bw26-katze.is-rennt .bw26-k-schwanz { animation: bw26-schwanz-k .34s ease-in-out infinite; }
    .bw26-katze.is-ruht .bw26-k-schwanz { animation: bw26-schwanz-k 2.2s ease-in-out 3; }
    .bw26-katze.is-ruht .bw26-k-auge { animation: bw26-blinzeln 3.6s ease-in-out 2 .8s; }
    .bw26-katze:hover .bw26-k-schwanz { animation: bw26-schwanz-k 1s ease-in-out infinite; }
}

@media (prefers-reduced-motion: reduce) {
    .bw26-katze {
        opacity: 0;
        transform: none;
        transition: opacity .3s ease, visibility 0s linear .3s;
    }

    .bw26-katze.is-da {
        opacity: 1;
        transition: opacity .3s ease, visibility 0s;
    }

    .bw26-katze.is-weg .bw26-katze__svg { transform: none; }
}

@keyframes bw26-vorne {
    0%, 100% { transform: rotate(30deg); }
    50% { transform: rotate(-32deg); }
}

@keyframes bw26-hinten {
    0%, 100% { transform: rotate(-28deg); }
    50% { transform: rotate(30deg); }
}

@keyframes bw26-hopp {
    from { transform: translateY(0); }
    to { transform: translateY(-3px); }
}

@keyframes bw26-schwanz-k {
    0%, 100% { transform: rotate(-6deg); }
    50% { transform: rotate(8deg); }
}

@keyframes bw26-schwanz-p {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(5deg); }
}

@keyframes bw26-blinzeln {
    0%, 88%, 96%, 100% { transform: scaleY(1); }
    92% { transform: scaleY(.08); }
}

/* ===================== Teszt sáv (csak a teszt IP-kről, 'test' módban) ===================== */
.bw26-test {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 10050;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    max-width: calc(100vw - 140px);
    padding: 8px 12px;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.35;
    color: #f1effa;
    background: rgba(11, 11, 39, .95);
    border: 1px solid rgba(255, 178, 30, .6);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

@media (max-width: 767px) {
    .bw26-test { left: 8px; bottom: 72px; max-width: calc(100vw - 110px); }
}

.bw26-test__badge {
    padding: 2px 7px;
    font-weight: 700;
    color: #0b0b27;
    background: #ffb21e;
    border-radius: 3px;
}

.bw26-test__nav { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; }
.bw26-test a { color: #f1effa; text-decoration: underline; text-underline-offset: 3px; }
.bw26-test a:hover { color: #ffb21e; }
.bw26-test a[aria-current="true"] { color: #ffb21e; font-weight: 600; text-decoration: none; }

.bw26-test .bw26-test__btn {
    margin: 0;
    padding: 4px 9px;
    font: inherit;
    color: #f1effa;
    background: transparent;
    border: 1px solid rgba(241, 239, 250, .4);
    border-radius: 3px;
    cursor: pointer;
}

.bw26-test .bw26-test__btn:hover { border-color: #ffb21e; color: #ffb21e; }

/* ======================= "Készlet erejéig" a Shop / termékoldal fejlécében és a BF slide-on ======================= */
body.f2l-bw26--banner .page-title-name::after {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #0b0b27;
    background: #ffb21e;
    border-radius: 3px;
    box-shadow: 0 0 18px rgba(255, 178, 30, .35);
}

.rev-slider > .bw26-vorrat--slider {
    position: absolute;
    left: 50%;
    bottom: 6%;
    z-index: 30;
    margin: 0;
    padding: 6px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 1.2vw, 18px);
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    color: #0b0b27;
    background: #ffb21e;
    border-radius: 3px;
    box-shadow: 0 0 18px rgba(255, 178, 30, .35);
    transform: translateX(-50%);
    pointer-events: none;
    transition: opacity .3s ease;
}

/* 992 px fölött a kezdőlapi piros sáv (.action-box) 40 px-szel a slider aljára lóg: fölé kerül */
@media (min-width: 992px) {
    .rev-slider > .bw26-vorrat--slider { bottom: calc(40px + 3%); }
}

/* 'zuerst' módban (BF slide + rendes slide-ok) csak a BF slide alatt látszik */
.rev-slider:has(li.active-revslide:not([data-bw26])) > .bw26-vorrat--slider { opacity: 0; }

/* MÓDOSÍTÁS 2026.11.20. - "Starterpaket mellé +1 ajándék roller" sor a popupban (élő szakasz, $dba_bw26_starter) */
.bw26-popup .bw26-starter {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: -8px 0 22px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.45;
    color: #f1effa;
    background: rgba(255, 178, 30, .10);
    border: 1px solid rgba(255, 178, 30, .45);
    border-radius: 6px;
}
.bw26-popup .bw26-starter__ico { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #ffb21e; }
