/* BF v2 - premium/funky varianta BF slajdu (jen lokalni navrh, 27. 11. 2026). Aktivni jen s html.is-bf.bf-v2 */
html.bf-v2 .hpx-hero .hpx-slide-sale {
  --gold1: #f6dc9b; --gold2: #d9a24a; --gold3: #8e5a1e;
  background:
    radial-gradient(ellipse 55% 70% at 80% 45%, rgba(217,162,74,.22) 0%, rgba(217,162,74,0) 62%),
    radial-gradient(ellipse 40% 50% at 8% 95%, rgba(142,90,30,.25) 0%, rgba(142,90,30,0) 70%),
    #0d0806;
  color: #faf6ee;
}
/* zrnitost */
html.bf-v2 .hpx-slide-sale::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* velky lusk pres pozadi */
html.bf-v2 .bf2-pod { position: absolute; z-index: 0; right: -6%; top: 6%; width: min(62vw, 980px); transform: rotate(-24deg); opacity: .16; filter: sepia(1) saturate(2.2) brightness(.9); pointer-events: none; }
html.bf-v2 .hpx-slide-sale .hpx-inner { padding-bottom: 110px; }

/* stitek BLACK FRIDAY */
html.bf-v2 .hpx-bf-tag { background: transparent; color: var(--gold1); border: 1px solid rgba(246,220,155,.5); letter-spacing: .32em; font-size: 12px; padding: 8px 16px 8px 18px; }
html.bf-v2 .hpx-bf-tag::before { content: "✦"; margin-right: 10px; color: var(--gold2); }

/* -25 % zlatou folii */
html.bf-v2 .hpx-hero .hpx-slide-sale .hpx-big { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 22px; }
html.bf-v2 .hpx-slide-sale .hpx-big b {
  font-size: clamp(110px, 14vw, 230px); letter-spacing: -.065em; line-height: .82; padding-right: .06em;
  background: linear-gradient(100deg, var(--gold3) 0%, var(--gold2) 22%, var(--gold1) 38%, #fff6dc 46%, var(--gold1) 54%, var(--gold2) 72%, var(--gold3) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: bf2-shine 5s ease-in-out infinite; filter: drop-shadow(0 18px 40px rgba(217,162,74,.25));
}
@keyframes bf2-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
html.bf-v2 .hpx-slide-sale .hpx-big span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 40px); color: #faf6ee; }
html.bf-v2 .hpx-slide-sale .hpx-lead { color: rgba(250,246,238,.72); }

/* tlacitko */
html.bf-v2 .hpx-hero .hpx-slide-sale .hpx-button-gold {
  background: linear-gradient(135deg, var(--gold1), var(--gold2) 55%, #b97a2c); color: #1a0f08; border: 0;
  box-shadow: 0 14px 34px -12px rgba(217,162,74,.7), inset 0 1px 0 rgba(255,255,255,.5); font-weight: 700;
}
html.bf-v2 .hpx-hero .hpx-slide-sale .hpx-button-gold:hover { filter: brightness(1.08); background: linear-gradient(135deg, var(--gold1), var(--gold2) 55%, #b97a2c); }

/* odpocet v dlazdicich */
html.bf-v2 .hpx-bf-left { display: none; }
html.bf-v2 .bf2-count { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-family: var(--sans); }
html.bf-v2 .bf2-count > small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(250,246,238,.55); margin-right: 6px; line-height: 1.3; }
html.bf-v2 .bf2-tile { min-width: 66px; padding: 10px 8px 8px; border-radius: 14px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(246,220,155,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
html.bf-v2 .bf2-tile b { display: block; font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: #fff6dc; }
html.bf-v2 .bf2-tile i { display: block; margin-top: 5px; font-style: normal; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); }

/* tocici pecet */
html.bf-v2 .bf2-seal { position: absolute; z-index: 4; width: 150px; height: 150px; left: -28px; bottom: -34px; pointer-events: none; }
html.bf-v2 .bf2-seal svg { width: 100%; height: 100%; animation: bf2-spin 18s linear infinite; }
html.bf-v2 .bf2-seal text { font-family: var(--sans); font-size: 12px; font-weight: 700; fill: #1a0f08; }
html.bf-v2 .bf2-seal::after { content: "−25"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--sans); font-weight: 800; font-size: 40px; letter-spacing: -.04em; color: #1a0f08; }
@keyframes bf2-spin { to { transform: rotate(360deg); } }

/* produkty: kremove karty, zlaty okraj */
html.bf-v2 .hpx-slide-sale .hpx-products { position: relative; z-index: 2; }
html.bf-v2 .hpx-slide-sale .hpx-product {
  background: linear-gradient(180deg, #fffaf0, #f3e6cf); border-radius: 22px; padding: 12px 12px 14px;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.9), 0 0 0 1px rgba(246,220,155,.35);
}
html.bf-v2 .hpx-slide-sale .hpx-product b { font-size: 20px; color: #0d0806; }

/* bezici pas */
html.bf-v2 .bf2-marquee { position: absolute; z-index: 3; left: -2%; right: -2%; bottom: 58px; overflow: hidden; transform: rotate(-1.6deg); background: linear-gradient(90deg, #b97a2c, var(--gold1) 50%, #b97a2c); box-shadow: 0 14px 30px -14px rgba(0,0,0,.8); }
html.bf-v2 .bf2-marquee div { display: flex; width: max-content; animation: bf2-run 28s linear infinite; }
html.bf-v2 .bf2-marquee span { padding: 11px 0; font-family: var(--sans); font-size: 14px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #1a0f08; white-space: nowrap; }
html.bf-v2 .bf2-marquee span::after { content: "✦"; margin: 0 22px; }
@keyframes bf2-run { to { transform: translateX(-50%); } }
html.bf-v2 .hpx-hero .hpx-dots { z-index: 5; }

@media (prefers-reduced-motion: reduce) {
  html.bf-v2 .bf2-marquee div, html.bf-v2 .bf2-seal svg, html.bf-v2 .hpx-slide-sale .hpx-big b { animation: none; }
}
@media (max-width: 900px) {
  html.bf-v2 .bf2-pod { width: 120vw; right: -40%; top: 2%; opacity: .12; }
  html.bf-v2 .hpx-slide-sale .hpx-inner { padding-bottom: 112px; }
  html.bf-v2 .hpx-slide-sale .hpx-big b { font-size: 104px; }
  html.bf-v2 .hpx-slide-sale .hpx-big span { font-size: 26px; }
  html.bf-v2 .bf2-seal { position: absolute; width: 92px; height: 92px; left: auto; right: -4px; bottom: auto; top: -10px; }
  html.bf-v2 .hpx-slide-sale .hpx-copy { position: relative; }
  html.bf-v2 .bf2-seal text { font-size: 13px; }
  html.bf-v2 .bf2-seal::after { font-size: 24px; }
  html.bf-v2 .bf2-count { gap: 7px; margin-top: 18px; }
  html.bf-v2 .bf2-count > small { display: none; }
  html.bf-v2 .bf2-tile { min-width: 0; flex: 1; padding: 9px 4px 7px; }
  html.bf-v2 .bf2-tile b { font-size: 24px; }
}
/* zalomeni 'na vsechno / z prave vanilky' */
html.bf-v2 .hpx-slide-sale .hpx-big span br { display: inline !important; }
html.bf-v2 .hpx-slide-sale .hpx-product b del { font-size: 13px; color: rgba(13,8,6,.5); }
/* pecet vedle nadpisu (desktop) */
@media (min-width: 901px) {
  html.bf-v2 .hpx-slide-sale .hpx-copy { position: relative; }
  html.bf-v2 .bf2-seal { left: auto; bottom: auto; top: -18px; right: -40px; width: 132px; height: 132px; }
  html.bf-v2 .bf2-seal::after { font-size: 34px; }
}
/* tenky pas uplne dole, tecky a sipky nad nim */
html.bf-v2 .bf2-marquee { bottom: 0; transform: none; left: 0; right: 0; }
html.bf-v2 .bf2-marquee span { padding: 7px 0; font-size: 12px; }
html.bf-v2 .bf2-marquee span::after { margin: 0 18px; }
html.bf-v2 .hpx-hero .hpx-dots { bottom: 48px; }
html.bf-v2 .hpx-hero .hpx-arrow { bottom: 40px; }
@media (max-width: 900px) {
  html.bf-v2 .bf2-marquee { bottom: 0; }
  html.bf-v2 .bf2-marquee span { font-size: 11px; padding: 6px 0; }
  html.bf-v2 .hpx-hero .hpx-dots { bottom: 40px; }
  html.bf-v2 .hpx-slide-sale .hpx-inner { padding-bottom: 84px; }
}
/* bile pozadi fotek (cukr) splyne s kremovou kartou */
html.bf-v2 .hpx-slide-sale .hpx-product img { mix-blend-mode: multiply; }
