/* PONTI · /sylwester/ w wersji Black Week (19.11.2026).
   Pasek z odliczaniem, licznik w hero, przyciski sprzedaży w oprawie BW, taśmy między sekcjami.
   Po 30.11.2026 23:59 skrypt w <head> dodaje html.bw-po i wszystko znika samo. */
:root{--bw-h:40px;--bw-foil:linear-gradient(112deg,#7a4f1d 0%,#c98a45 14%,#f7dfb2 24%,#dea061 34%,#8a5b22 48%,#e7b673 62%,#fff0cf 70%,#c48641 82%,#7a4f1d 100%)}
html.bw-po .bwt,html.bw-po .bwh,html.bw-po .bw-tasma{display:none!important}

/* 1. Pasek u góry */
.bwt{position:fixed;inset:0 0 auto 0;z-index:56;height:var(--bw-h);overflow:hidden;background:#000;color:#fff;border-bottom:1px solid rgba(222,160,97,.45)}
.bwt__in{height:100%;display:flex;align-items:center;justify-content:center;gap:18px;padding:0 16px;color:inherit;text-decoration:none;font:500 13px/1 var(--sans);letter-spacing:.02em;white-space:nowrap}
.bwt__tag{padding:5px 8px;border-radius:4px;background:#fff;color:#000;font-weight:700;font-size:11px;letter-spacing:.16em;text-transform:uppercase}
.bwt__txt b{font-weight:700}
.bwt__txt s{color:#9a9a9a;text-decoration-color:#DEA061;margin-left:4px}
.bwt__czas{color:#cfcfcf}
.bwt__czas i{font-style:normal}
.bwt__czas b{color:#fff;font-variant-numeric:tabular-nums;font-weight:600}
.bwt__cta{color:#EDC28F;font-weight:600}
.bwt__in:hover .bwt__cta{text-decoration:underline}
html:not(.bw-po) .top{top:var(--bw-h)}
html:not(.bw-po) body{scroll-padding-top:calc(68px + var(--bw-h))}
html:not(.bw-po){scroll-padding-top:calc(76px + var(--bw-h))}
@media (max-width:700px){.bwt__in{gap:10px;font-size:12px}.bwt__cta{display:none}.bwt__tag{font-size:10px;padding:4px 6px}}
@media (max-width:440px){.bwt__txt s,.bwt__czas i{display:none}.bwt__in{gap:8px}}

/* 2. Licznik w hero */
.bwh{margin:22px 0 26px;display:grid;gap:12px;justify-items:start}
.bwh__lab{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0;font:500 14px/1.3 var(--sans);color:#fff}
.bwh__lab span{padding:5px 9px;border-radius:4px;background:#fff;color:#000;font-weight:700;font-size:11px;letter-spacing:.18em;text-transform:uppercase}
.bwh__lab s{color:rgba(255,255,255,.6);text-decoration-color:#DEA061}
.bwh__licz{display:flex;gap:8px}
.bwh__licz div{min-width:64px;padding:10px 8px 8px;border-radius:10px;background:rgba(0,0,0,.72);border:1px solid rgba(255,255,255,.16);text-align:center;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.bwh__licz b{display:block;font:400 clamp(28px,3.4vw,38px)/1 var(--serif);color:#fff;font-variant-numeric:tabular-nums}
.bwh__licz small{display:block;margin-top:4px;font:600 10px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:#bdbdbd}
@media (max-width:420px){.bwh__licz div{min-width:56px;padding:8px 6px}}

/* 3. Przyciski prowadzące do sprzedaży */
html:not(.bw-po) a.btn[href="#bilety"],
html:not(.bw-po) #form button[type=submit]{color:#000;background:#fff;border:1px solid #fff;
  box-shadow:0 0 0 1px rgba(222,160,97,.9),0 0 0 4px rgba(0,0,0,.55),0 14px 30px rgba(0,0,0,.35);backdrop-filter:none;-webkit-backdrop-filter:none}
html:not(.bw-po) a.btn[href="#bilety"]::before,
html:not(.bw-po) #form button[type=submit]::before{content:"Black Week";position:static;inset:auto;z-index:auto;opacity:1;display:inline-block;
  margin-right:.15em;padding:.42em .6em;border-radius:4px;background:#000;color:#fff;font:700 10.5px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase}
html:not(.bw-po) a.btn[href="#bilety"]::after,
html:not(.bw-po) #form button[type=submit]::after{background:linear-gradient(100deg,transparent,rgba(222,160,97,.5),transparent)}
html:not(.bw-po) a.btn[href="#bilety"]:hover,
html:not(.bw-po) #form button[type=submit]:hover{background:#fff;box-shadow:0 0 0 1px #DEA061,0 0 0 4px rgba(0,0,0,.65),0 18px 36px rgba(0,0,0,.4)}
/* w nagłówku i w dolnym pasku krótka wersja */
html:not(.bw-po) .top a.btn[href="#bilety"]::before,
html:not(.bw-po) .bar a.btn[href="#bilety"]::before{content:"BW";padding:.38em .45em}
html:not(.bw-po) .top a.btn[href="#bilety"],html:not(.bw-po) .bar a.btn[href="#bilety"]{box-shadow:0 0 0 1px rgba(222,160,97,.9)}

/* 4. Taśmy Black Week między sekcjami */
.bw-tasma{position:relative;z-index:4;height:110px;margin:-55px 0;overflow:hidden;pointer-events:none}
.bw-tasma>div{position:absolute;left:-4%;right:-4%;top:31px;height:48px;display:flex;align-items:center;overflow:hidden;
  background:#000;color:#fff;border-top:1px solid rgba(222,160,97,.6);border-bottom:1px solid rgba(222,160,97,.6);transform:rotate(-1.6deg);box-shadow:0 10px 30px rgba(0,0,0,.35)}
.bw-tasma>div+div{background:#fff;color:#000;border-color:#000;transform:rotate(1.2deg);top:37px;z-index:-1;opacity:.95}
.bw-tasma p{display:flex;flex:none;margin:0;font:700 14px/1 var(--sans);letter-spacing:.32em;text-transform:uppercase;white-space:nowrap;animation:bw-tasma 38s linear infinite}
.bw-tasma>div+div p{animation-direction:reverse;animation-duration:46s}
.bw-tasma p span{padding:0 22px}
.bw-tasma p i{font-style:normal;color:#DEA061}
.bw-tasma>div+div p i{color:#9A5B1E}
@keyframes bw-tasma{to{transform:translateX(-50%)}}
@media (max-width:700px){.bw-tasma{height:80px;margin:-40px 0}.bw-tasma>div{height:40px;top:20px}.bw-tasma>div+div{top:25px}.bw-tasma p{font-size:12px;letter-spacing:.26em}}

/* 5. Informacja o minimum przy formularzu */
.bw-min{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--krem-2,#cfc6b2)}

@media (prefers-reduced-motion:reduce){.bw-tasma p{animation:none}}
