/* ============================================================
   btk-special-pages — landingi Fazy A (Wydawnictwo / Autor / Serie)
   Kolory i typografia wyłącznie z tokenów motywu (--wp--preset--color--*).
   Kafle produktów, ceny i karuzele pochodzą z motywu (theme.css) —
   tu tylko elementy specyficzne dla landingów.
   ============================================================ */
.btk-sp {
	--sp-line2: #DDD6C9;
	--sp-r: 12px;
	--sp-r-lg: 20px;
	--sp-r-btn: 14px;
	--sp-r-btn-sm: 11px;
	--sp-sh: 0 1px 4px rgba(32, 36, 45, .06);
	--sp-sh-hover: 0 8px 22px rgba(32, 36, 45, .12);
	--sp-glow: 0 4px 14px rgba(4, 120, 87, .25);
	color: var(--wp--preset--color--ink);
}
/* Kontener treści landingów/Kreatora. padding-inline MOBILE-FIRST: na telefonie
   min. 16px odstępu od krawędzi, płynnie do 24px na szerszych ekranach — bez tego
   treść (hero, tekst redakcyjny, sekcje) przywierała do krawędzi na wąskich ekranach.
   Wspólny dla Faz A/B/C, więc poprawia wszystkie landingi jednakowo (poprzednio
   stałe 20px; clamp jest bezpiecznym nadzbiorem: ~16–24px). */
.btk-sp-wrap { max-width: 1180px; margin: 0 auto; padding-block: 0; padding-inline: clamp(16px, 4vw, 24px); }
.btk-sp h1, .btk-sp h2, .btk-sp h3 { letter-spacing: -.02em; font-weight: 800; margin: 0; }
.btk-sp :focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.btk-sp-dot { color: var(--wp--preset--color--accent); }

/* ---------- przyciski (ULTIMATE UI: radius 14 / sm 11, NIE pill) ---------- */
.btk-sp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: var(--sp-r-btn); padding: 11px 22px; font-weight: 700;
	font-size: 14px; letter-spacing: -.01em; text-align: center; text-decoration: none;
	cursor: pointer; transition: background .12s ease, color .12s ease, filter .12s ease;
}
.btk-sp-btn svg { width: 1.1em; height: 1.1em; }
.btk-sp-btn--primary { background: var(--wp--preset--color--accent); color: #fff; box-shadow: var(--sp-glow); }
.btk-sp-btn--primary:hover { background: var(--wp--preset--color--accent-ink); color: #fff; }
.btk-sp-btn--secondary { background: transparent; color: var(--wp--preset--color--accent); border: 1.5px solid var(--wp--preset--color--accent); }
.btk-sp-btn--secondary:hover { background: var(--wp--preset--color--accent); color: #fff; }
.btk-sp-btn--tonal { background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--accent-ink); }
.btk-sp-btn--tonal:hover { background: var(--wp--preset--color--accent); color: #fff; }

/* ---------- breadcrumb ---------- */
.btk-sp-crumb { font-size: 12.5px; color: var(--wp--preset--color--muted); padding: 14px 0 0; }
.btk-sp-crumb a { color: inherit; text-decoration: none; }
.btk-sp-crumb a:hover { color: var(--wp--preset--color--accent); }
.btk-sp-crumb span { color: var(--wp--preset--color--ink); font-weight: 600; }

/* ---------- „more" pod siatką ---------- */
.btk-sp-more { text-align: center; margin-top: 22px; }

/* ---------- pill / role / meta ---------- */
.btk-sp-role { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.btk-sp-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btk-sp-pill {
	display: inline-flex; align-items: center; gap: 6px; background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--line); border-radius: 99px; padding: 6px 13px;
	font-size: 12.5px; font-weight: 700; color: var(--wp--preset--color--ink);
}
.btk-sp-pill svg { width: 14px; height: 14px; color: var(--wp--preset--color--accent); }
.btk-sp-pill b { color: var(--wp--preset--color--accent-ink); font-variant-numeric: tabular-nums; }

/* ---------- HERO autora ---------- */
.btk-sp-ahero { background: var(--wp--preset--color--warm); border-bottom: 1px solid var(--wp--preset--color--line); padding: 26px 0; }
.btk-sp-ahero__in { display: grid; grid-template-columns: 132px 1fr; gap: 26px; align-items: center; }
.btk-sp-ahero__ava { width: 132px; height: 132px; border-radius: 20px; display: grid; place-items: center; color: #fff; font-size: 40px; font-weight: 800; box-shadow: 0 2px 8px rgba(32, 36, 45, .2); }
.btk-sp-ahero__in h1 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.1; margin: 6px 0 0; }
.btk-sp-ahero .btk-sp-role { color: var(--wp--preset--color--accent-ink); }
@media (max-width: 640px) {
	.btk-sp-ahero__in { grid-template-columns: 88px 1fr; gap: 16px; }
	.btk-sp-ahero__ava { width: 88px; height: 88px; font-size: 28px; border-radius: 16px; }
}

/* ---------- HERO wydawnictwa (indygo; płaski — brandbook, bez gradientów) ---------- */
.btk-sp-puhero { background: var(--wp--preset--color--premium, #312E81); color: #fff; padding: 28px 0; }
.btk-sp-puhero__in { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; }
.btk-sp-puhero__logo { width: 96px; height: 96px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; font-size: 22px; font-weight: 800; text-align: center; line-height: 1.05; padding: 8px; overflow: hidden; }
.btk-sp-puhero__logo--img { padding: 0; background: #fff; }
.btk-sp-puhero__img { width: 100%; height: 100%; object-fit: contain; }
.btk-sp-puhero h1 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.1; margin: 4px 0 6px; color: #fff; }
.btk-sp-puhero p { margin: 0; opacity: .9; font-size: 14px; max-width: 66ch; line-height: 1.6; }
.btk-sp-puhero .btk-sp-pill { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.btk-sp-puhero .btk-sp-pill svg, .btk-sp-puhero .btk-sp-pill b { color: #fff; }
@media (max-width: 640px) {
	.btk-sp-puhero__in { grid-template-columns: 72px 1fr; gap: 14px; }
	.btk-sp-puhero__logo { width: 72px; height: 72px; font-size: 18px; }
}

/* ---------- HERO landingu (pas full-bleed; płaskie kolory — brandbook, bez gradientów) ---------- */
.btk-sp-lhero__band { padding: 34px 0 30px; color: #fff; background: var(--wp--preset--color--accent-ink, #04543E); position: relative; overflow: hidden; }
.btk-sp-lhero__in { position: relative; z-index: 2; }
.btk-sp-eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: .82; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.btk-sp-lhero__in h1 { font-size: clamp(27px, 4.4vw, 42px); margin: 8px 0; line-height: 1.06; color: #fff; max-width: 22ch; }
.btk-sp-lhero__in p { margin: 0; opacity: .92; max-width: 56ch; font-size: 14.5px; }
.btk-sp-lhero .btk-sp-pill { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btk-sp-lhero .btk-sp-pill svg, .btk-sp-lhero .btk-sp-pill b { color: #fff; }
.btk-sp-lhero__cta { margin-top: 18px; }
.btk-sp-lhero__cta .btk-sp-btn--primary { background: #fff; color: var(--wp--preset--color--accent-ink); box-shadow: none; }
.btk-sp-lhero__cta .btk-sp-btn--primary:hover { background: rgba(255, 255, 255, .88); color: var(--wp--preset--color--accent-ink); }

/* ---------- duża karta „bestseller" (feature/deal) ---------- */
.btk-sp-feature {
	background: var(--wp--preset--color--card);
	border: 1.5px solid color-mix(in srgb, var(--wp--preset--color--promo) 22%, var(--wp--preset--color--line));
	border-radius: var(--sp-r-lg); padding: 22px; display: grid; grid-template-columns: 170px 1fr;
	gap: 24px; align-items: center; position: relative; overflow: hidden;
}
.btk-sp-feature__cov { position: relative; display: block; }
.btk-sp-feature__img { width: 170px; height: auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(32, 36, 45, .2); }
.btk-sp-feature__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--promo); display: inline-flex; align-items: center; gap: 6px; }
.btk-sp-feature__body h3 { font-size: 22px; line-height: 1.15; margin: 6px 0 4px; }
.btk-sp-feature__body h3 a { color: inherit; text-decoration: none; }
.btk-sp-feature__a { font-size: 13.5px; color: var(--wp--preset--color--muted); margin-bottom: 8px; }
.btk-sp-feature__price { font-size: 22px; font-weight: 800; margin: 10px 0 2px; }
.btk-sp-feature__price .btk-cover-line, .btk-sp-feature__price .btk-lowest-line { display: block; font-size: 11.5px; font-weight: 500; color: var(--wp--preset--color--muted); }
.btk-sp-feature__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
@media (max-width: 700px) { .btk-sp-feature { grid-template-columns: 120px 1fr; padding: 16px; gap: 16px; } .btk-sp-feature__img { width: 120px; } }

/* ---------- karty serii (indeks) — z wachlarzem okładek ---------- */
.btk-sp-serindex { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .btk-sp-serindex { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .btk-sp-serindex { grid-template-columns: repeat(2, 1fr); } }
/* Telefon: wachlarz 150px nie mieści się w 2 kolumnach → zwężamy wachlarz,
   padding i gap, by karty NIE wychodziły poza ekran (od ~360px wzwyż). */
@media (max-width: 560px) {
	.btk-sp-serindex { gap: 12px; }
	.btk-sp-sercard { padding: 12px; }
	.btk-sp-fan { width: 118px; height: 94px; margin: 4px auto 8px; }
	.btk-sp-fan__c { width: 50px; }
	.btk-sp-fan__c--1 { left: 0; }
	.btk-sp-fan__c--2 { left: 34px; }
	.btk-sp-fan__c--3 { right: 0; }
}
.btk-sp-sercard {
	background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--sp-r); padding: 16px; display: flex; flex-direction: column; gap: 6px;
	text-align: center; text-decoration: none; color: inherit; min-width: 0;
	transition: transform .15s ease, box-shadow .15s ease;
}
.btk-sp-sercard:hover { transform: translateY(-2px); box-shadow: var(--sp-sh-hover); }
.btk-sp-sercard__n { font-size: 15px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.btk-sp-sercard__m { font-size: 12.5px; color: var(--wp--preset--color--muted); }
.btk-sp-sercard__m b { color: var(--wp--preset--color--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.btk-sp-sercard__ct { align-self: center; background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--accent-ink); border-radius: 6px; padding: 3px 9px; font-size: 11px; font-weight: 700; }
/* CTA dosunięty do dołu — przyciski wyrównane niezależnie od długości tytułu/metryki */
.btk-sp-sercard__go { margin-top: auto; }
.btk-sp-fan { position: relative; height: 118px; width: 150px; margin: 6px auto 10px; }
.btk-sp-fan__c { position: absolute; width: 64px; aspect-ratio: 2/3; top: 12px; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(32, 36, 45, .2); background: var(--wp--preset--color--warm); }
.btk-sp-fan__c img { width: 100%; height: 100%; object-fit: cover; display: block; }
.btk-sp-fan__c--1 { left: 2px; transform: rotate(-9deg); z-index: 1; }
.btk-sp-fan__c--2 { left: 43px; top: 2px; z-index: 3; }
.btk-sp-fan__c--3 { right: 2px; transform: rotate(9deg); z-index: 2; }

/* ---------- alfabet serii ---------- */
/* Alfabet stoi teraz NAD siatką serii (poprawka właściciela N6, 2026-08-02) —
   margines dolny oddziela go od kart; górny mniejszy, bo nagłówek sekcji ma własny. */
.btk-sp-alphawrap { margin-top: 10px; margin-bottom: 22px; }
.btk-sp-alphawrap__h { font-size: 18px; margin-bottom: 12px; }
.btk-sp-alpha { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.btk-sp-alpha__l { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--wp--preset--color--line); border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--wp--preset--color--muted); background: var(--wp--preset--color--card); font-family: inherit; }
button.btk-sp-alpha__l { cursor: pointer; transition: background .12s ease, color .12s ease, border-color .12s ease; }
button.btk-sp-alpha__l:not(.is-active):hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
.btk-sp-alpha__l--all { width: auto; padding: 0 12px; }
.btk-sp-alpha__l.is-active { background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--accent-ink); border-color: var(--wp--preset--color--accent); }
.btk-sp-alpha__l.is-off { opacity: .4; }

/* ---------- podobni autorzy ---------- */
.btk-sp-authors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 820px) { .btk-sp-authors { grid-template-columns: repeat(2, 1fr); } }
.btk-sp-authcard { background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--line); border-radius: var(--sp-r); padding: 16px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.btk-sp-authcard:hover { transform: translateY(-2px); box-shadow: var(--sp-sh-hover); }
.btk-sp-authcard__ava { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; font-size: 16px; }
.btk-sp-authcard b { font-size: 14px; display: block; line-height: 1.2; }
.btk-sp-authcard small { font-size: 11.5px; color: var(--wp--preset--color--muted); }

/* ---------- pas CTA / newsletter (pas na całą szerokość treści, jak boxy
   sekcji; formularz i tekst wyśrodkowane — decyzja właściciela 2026-07-20) ---------- */
.btk-sp-ctaband {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 7%, var(--wp--preset--color--card));
	border: 1.5px solid color-mix(in srgb, var(--wp--preset--color--accent) 20%, var(--wp--preset--color--line));
	border-radius: var(--sp-r-lg); padding: 30px 24px; margin: 8px 0 0;
	text-align: center;
}
.btk-sp-ctaband > div { max-width: 560px; margin: 0 auto; }
.btk-sp-ctaband h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.btk-sp-ctaband p { margin: 6px 0 0; font-size: 12.5px; color: var(--wp--preset--color--muted); }
.btk-sp-ctaband__form { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-top: 14px; }
.btk-sp-ctaband__row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 440px; }
.btk-sp-ctaband__row input { flex: 1; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 11px 18px; font-size: 13.5px; font-family: inherit; min-width: 210px; background: var(--wp--preset--color--card); color: var(--wp--preset--color--ink); }
/* zgoda: label jako blok z absolutnym checkboxem — NIE flex (flex rozbija długi
   tekst z linkiem na osobne itemy; LEKCJE 2026-07-14) */
.btk-sp-ctaband__consent { display: block; position: relative; padding-left: 26px; max-width: 440px; font-size: 11px; line-height: 1.5; color: var(--wp--preset--color--muted); text-align: left; cursor: pointer; }
.btk-sp-ctaband__consent input { position: absolute; left: 0; top: 2px; margin: 0; accent-color: var(--wp--preset--color--accent); }
.btk-sp-ctaband__consent a { color: var(--wp--preset--color--accent); }

/* ---------- stany puste ---------- */
.btk-sp-empty { padding: 60px 0; text-align: center; color: var(--wp--preset--color--muted); }
.btk-sp-empty h1 { font-size: 24px; margin-bottom: 8px; color: var(--wp--preset--color--ink); }
.btk-sp-empty a { color: var(--wp--preset--color--accent); }

/* ============================================================
   FAZA B — landingi kuratorskie (Promocje / Bestsellery / Nowości)
   ============================================================ */

/* ---------- warianty hero + CTA (płaskie tokeny marki) ---------- */
.btk-sp-lhero__band--promo { background: var(--wp--preset--color--promo, #9D2257); }
.btk-sp-lhero__band--amber { background: var(--wp--preset--color--amber, #B45309); }
/* Zapowiedzi (etap 3c): indygo = rodzina „termin", nie „cena". */
.btk-sp-lhero__band--premium { background: var(--wp--preset--color--premium, #312E81); }
.btk-sp-lhero__band--premium .btk-sp-lhero__cta .btk-sp-btn--primary { color: var(--wp--preset--color--premium, #312E81); }
.btk-sp-lhero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.btk-sp-lhero__band--promo .btk-sp-lhero__cta .btk-sp-btn--primary { color: var(--wp--preset--color--promo, #9D2257); }
.btk-sp-btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.btk-sp-btn--ghost:hover { background: rgba(255, 255, 255, .24); color: #fff; }

/* ---------- licznik końca promocji ---------- */
.btk-sp-countdown { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.btk-sp-countdown__lbl { font-size: 12.5px; font-weight: 700; opacity: .9; letter-spacing: .03em; }
.btk-sp-cdboxes { display: flex; gap: 8px; }
.btk-sp-cdbox { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; padding: 7px 12px; text-align: center; min-width: 56px; }
.btk-sp-cdbox b { display: block; font-size: 22px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.btk-sp-cdbox span { font-size: 9.5px; text-transform: uppercase; letter-spacing: .1em; opacity: .82; }

/* ---------- strefa cenowa (banery: tekst + okładki na pełną wysokość kafla;
   płaskie tinty tokenów — brandbook, bez gradientów) ---------- */
.btk-sp-pricezone { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .btk-sp-pricezone { grid-template-columns: 1fr; } }
.btk-sp-pz {
	display: grid; grid-template-columns: 1.1fr 150px; gap: 8px; align-items: center;
	background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--sp-r-lg); overflow: hidden; text-decoration: none; color: inherit;
	transition: transform .15s ease, box-shadow .15s ease;
}
.btk-sp-pz:hover { transform: translateY(-2px); box-shadow: var(--sp-sh-hover); }
.btk-sp-pz__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; min-width: 0; }
.btk-sp-pz__amt { font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.btk-sp-pz__lbl { font-size: 12.5px; color: var(--wp--preset--color--muted); }
.btk-sp-pz--a { background: var(--wp--preset--color--accent-soft); }
.btk-sp-pz--a .btk-sp-pz__amt { color: var(--wp--preset--color--accent-ink); }
.btk-sp-pz--b { background: var(--wp--preset--color--promo-soft); }
.btk-sp-pz--b .btk-sp-pz__amt { color: var(--wp--preset--color--promo); }
.btk-sp-pz--c { background: var(--wp--preset--color--premium-soft); }
.btk-sp-pz--c .btk-sp-pz__amt { color: var(--wp--preset--color--premium); }
.btk-sp-pz__go { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--wp--preset--color--accent); display: inline-flex; align-items: center; gap: 6px; }
.btk-sp-pz__go svg { width: 13px; height: 13px; flex: none; }
.btk-sp-pz:hover .btk-sp-pz__go { text-decoration: underline; }
/* wachlarz okładek strefy (jak karty serii) — okładki w całości, nie przycinane */
.btk-sp-pz .btk-sp-fan { height: 132px; width: 138px; margin: 0 auto; justify-self: center; }
.btk-sp-pz .btk-sp-fan__c { width: 66px; }
.btk-sp-pz .btk-sp-fan__c img { width: 100%; height: auto; }
@media (max-width: 520px) { .btk-sp-pz { grid-template-columns: 1fr; } .btk-sp-pz .btk-sp-fan { display: none; } }

/* ---------- promocja tygodnia (deal) ---------- */
.btk-sp-feature--deal .btk-sp-feature__cov { position: relative; }
/* płaski badge rabatu (zamiast diagonalnej taśmy motywu — ta odstaje na dużej okładce) */
.btk-sp-feature__badge {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	background: var(--wp--preset--color--promo); color: #fff;
	font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums;
	padding: 4px 9px; border-radius: 8px; letter-spacing: .01em;
}
.btk-sp-deal__timer { font-size: 12px; font-weight: 700; color: var(--wp--preset--color--promo); display: inline-flex; align-items: center; gap: 6px; }
.btk-sp-deal__timer svg { width: 14px; height: 14px; }

/* ---------- podium TOP 1-2-3 ---------- */
.btk-sp-podium { display: grid; grid-template-columns: 1fr 1.16fr 1fr; gap: 16px; align-items: end; }
@media (max-width: 700px) { .btk-sp-podium { grid-template-columns: 1fr; gap: 12px; } }
.btk-sp-pod {
	background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--sp-r-lg); padding: 22px 16px 16px; text-align: center; position: relative;
	display: flex; flex-direction: column; gap: 6px; align-items: center;
	transition: transform .15s ease, box-shadow .15s ease;
}
.btk-sp-pod:hover { transform: translateY(-2px); box-shadow: var(--sp-sh-hover); }
.btk-sp-pod--1 { border-color: var(--wp--preset--color--accent); box-shadow: var(--sp-glow); padding-top: 28px; }
.btk-sp-pod__medal {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	width: 34px; height: 34px; border-radius: 50%; background: var(--wp--preset--color--warm);
	border: 1.5px solid var(--wp--preset--color--line); color: var(--wp--preset--color--muted);
	display: grid; place-items: center; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums;
}
.btk-sp-pod--1 .btk-sp-pod__medal { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #fff; width: 40px; height: 40px; font-size: 17px; top: -18px; }
.btk-sp-pod__cov { width: 120px; margin: 4px auto 8px; display: block; }
.btk-sp-pod--1 .btk-sp-pod__cov { width: 140px; }
.btk-sp-pod__cov img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(32, 36, 45, .2); display: block; }
.btk-sp-pod__t { font-size: 14.5px; font-weight: 700; line-height: 1.25; color: inherit; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btk-sp-pod__a { font-size: 12px; color: var(--wp--preset--color--muted); }
.btk-sp-pod__price { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; margin: 4px 0 6px; }
.btk-sp-pod__price del { color: var(--wp--preset--color--muted); font-weight: 400; font-size: 12px; }
.btk-sp-pod__price ins { text-decoration: none; color: var(--wp--preset--color--promo); }
/* na podium tylko cena główna — linie okładkowej/Omnibus zaciemniałyby kartę */
.btk-sp-pod__price .btk-cover-line, .btk-sp-pod__price .btk-lowest-line { display: none; }
.btk-sp-pod .btk-sp-btn { width: 100%; }

/* ---------- ranking z numeracją ---------- */
.btk-sp-ranking ul.products li.product { position: relative; }
.btk-sp-rank {
	position: absolute; top: 6px; left: 6px; z-index: 3; min-width: 30px; height: 30px; padding: 0 7px;
	border-radius: 9px; background: rgba(4, 84, 62, .92); color: #fff; display: grid; place-items: center;
	font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums;
}
/* P.P.3 pkt 5: numer pozycji koliduje z flagami btk-flags. Flaga „Bestseller"
   na stronie rankingu jest redundantna (wg makiety znika), reszta stosu flag
   schodzi pod badge numeru. */
.btk-sp-ranking .btk-flag--bestseller { display: none; }
.btk-sp-ranking ul.products li.product .btk-flags--tile { top: 44px; left: 8px; }

/* ---------- toolbar: segment okresu + zakładki kategorii ---------- */
.btk-sp-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 10px; }
.btk-sp-seg { display: inline-flex; background: var(--wp--preset--color--warm); border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 3px; gap: 2px; }
.btk-sp-seg a { color: var(--wp--preset--color--muted); border-radius: 9px; padding: 7px 16px; font-size: 13px; font-weight: 700; text-decoration: none; }
.btk-sp-seg a.is-on { background: var(--wp--preset--color--card); color: var(--wp--preset--color--ink); box-shadow: var(--sp-sh); }
.btk-sp-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.btk-sp-tabbtn { border: 1.5px solid var(--wp--preset--color--line); background: var(--wp--preset--color--card); color: var(--wp--preset--color--muted); border-radius: 99px; padding: 8px 18px; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.btk-sp-tabbtn.is-on { background: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); color: var(--wp--preset--color--card); }
.btk-sp-tabbtn:not(.is-on):hover { border-color: var(--wp--preset--color--ink); color: var(--wp--preset--color--ink); }
@media (max-width: 760px) { .btk-sp-tabs { margin-left: 0; } }
.btk-sp-subline { font-size: 13px; color: var(--wp--preset--color--muted); margin: -6px 0 16px; max-width: 70ch; }
.btk-sp-subline b { color: var(--wp--preset--color--ink); }

/* ---------- chipy formatu ---------- */
.btk-sp-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 2px 0 6px; }
.btk-sp-chip {
	display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--card); color: var(--wp--preset--color--muted); border-radius: 99px;
	padding: 8px 15px; font-size: 13px; font-weight: 700; text-decoration: none;
}
.btk-sp-chip svg { width: 15px; height: 15px; }
.btk-sp-chip.is-on { background: var(--wp--preset--color--accent-soft); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-ink); }
.btk-sp-chip:not(.is-on):hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }

/* ---------- chip daty premiery na kaflu ---------- */
.btk-sp-datechip {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
	background: var(--wp--preset--color--warm); color: var(--wp--preset--color--muted);
	border-radius: 6px; padding: 3px 8px; font-size: 10.5px; font-weight: 700; line-height: 1.4;
}
.btk-sp-datechip svg { width: 12px; height: 12px; }
.btk-sp-datechip--pre { background: var(--wp--preset--color--premium-soft); color: var(--wp--preset--color--premium); }

/* ---------- kafle zapowiedzi (rail bez koszyka) ----------
   Karta kafla, kadr okładki 2:3 i gap toru przychodzą Z MOTYWU (.woocommerce
   ul.products li.product …) — tor jest opakowany w `div.woocommerce` dokładnie
   tak, jak robi to shortcode [products]. Nie duplikujemy tu tła/ramki/okładki:
   poprawka właściciela 2026-08-05 („kafle zapowiedzi się zlewają") wzięła się
   właśnie z braku wrappera, a druga kopia stylu ukryłaby kolejny taki rozjazd.
   Zostaje wyłącznie to, czego kafel Woo nie zna: plakietka formatu, tytuł,
   autor, cena przypięta do dołu i przycisk przedpremierowy. */
.btk-sp-pre__cov { display: block; }
.btk-sp-fmt { align-self: flex-start; background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--accent-ink); border-radius: 6px; padding: 3px 9px; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.btk-sp-pre__t { font-size: 14px; font-weight: 700; line-height: 1.25; color: inherit; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.btk-sp-pre__a { font-size: 12px; color: var(--wp--preset--color--muted); margin-top: -2px; }
.btk-sp-pre__p { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: auto; }
.btk-sp-pre .btk-sp-btn { width: 100%; padding: 7px 10px; font-size: 13px; border-radius: var(--sp-r-btn-sm); margin-top: 0; }

/* ---------- zasady przedsprzedaży (landing Zapowiedzi, etap 3c) ---------- */
.btk-sp-rules { display: grid; gap: 14px; }
@media (min-width: 780px) { .btk-sp-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.btk-sp-rule {
	display: flex; gap: 12px; align-items: flex-start;
	background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--sp-r-lg); padding: 16px 18px;
}
.btk-sp-rule__i {
	flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
	background: var(--wp--preset--color--premium-soft); color: var(--wp--preset--color--premium);
}
.btk-sp-rule__i svg { width: 18px; height: 18px; }
.btk-sp-rule__t { display: block; font-size: 14.5px; margin-bottom: 3px; }
.btk-sp-rule__x { display: block; font-size: 13px; color: var(--wp--preset--color--muted); line-height: 1.6; }
.btk-sp-rule__x a { color: var(--wp--preset--color--accent); }
/* Dark: premium-soft to ciemne indygo — ikona musi być jasna, inaczej znika
   indygo na indygo (ta sama pułapka co notice info w motywie). */
html[data-theme="dark"] .btk-sp-rule__i,
html[data-theme="dark"] .btk-sp-datechip--pre { color: #C7CCF5; }
@media (prefers-color-scheme: dark) {
	html:not([data-theme="light"]) .btk-sp-rule__i,
	html:not([data-theme="light"]) .btk-sp-datechip--pre { color: #C7CCF5; }
}

/* ---------- notka „jak liczymy ranking" ---------- */
.btk-sp-note { background: var(--wp--preset--color--warm); border: 1px solid var(--wp--preset--color--line); border-radius: var(--sp-r-lg); padding: 18px 22px; margin-top: 26px; }
.btk-sp-note h3 { font-size: 16px; margin-bottom: 6px; }
.btk-sp-note p { margin: 0; font-size: 13px; color: var(--wp--preset--color--muted); line-height: 1.65; }

@media (prefers-reduced-motion: reduce) {
	.btk-sp * { scroll-behavior: auto !important; }
	.btk-sp-sercard, .btk-sp-authcard, .btk-sp-btn, .btk-sp-pz, .btk-sp-pod { transition: none; }
}

/* ============================================================
   FAZA C — Kreator stron specjalnych (bloki: Baner + Tekst redakcyjny)
   Mobile-first: bazowe reguły są „telefonowe", desktop tylko podnosi skalę.
   Reużywa hero (.btk-sp-lhero), przycisków (.btk-sp-btn) i wrap Faz A/B —
   tu tylko elementy specyficzne dla bloków Kreatora. Zero poziomego overflow:
   obrazy max-width:100%/height:auto; details w obrębie .btk-sp-wrap.
   ============================================================ */

/* --- rytm pionowy między blokami (pierwszy blok flush pod headerem) --- */
.btk-sp-block + .btk-sp-block { margin-top: 28px; }

/* --- baner Kreatora: hero przez .btk-sp-lhero + opcjonalny obraz w pasie --- */
.btk-sp-cban__media { margin-top: 14px; }
/* height:auto KONIECZNE — wp_get_attachment_image dokłada width/height (Woo 10.9.x),
   bez tego okładka/grafika zniekształca się na wąskim ekranie (research „(6)"). */
.btk-sp-cban__img {
	display: block; width: 100%; max-width: 100%; height: auto;
	border-radius: var(--sp-r-lg); box-shadow: 0 8px 22px rgba(32, 36, 45, .18);
}

/* --- tekst redakcyjny (proza — węższa kolumna dla czytelności) --- */
.btk-sp-editorial { max-width: 760px; }
.btk-sp-editorial__h { font-size: clamp(20px, 3vw, 26px); line-height: 1.2; margin: 0 0 12px; }
.btk-sp-editorial__body { font-size: 15px; line-height: 1.7; color: var(--wp--preset--color--ink); overflow-wrap: anywhere; }
.btk-sp-editorial__body > :first-child { margin-top: 0; }
.btk-sp-editorial__body > :last-child { margin-bottom: 0; }
.btk-sp-editorial__body p { margin: 0 0 1em; }
.btk-sp-editorial__body h2, .btk-sp-editorial__body h3 { font-size: 18px; line-height: 1.25; margin: 1.4em 0 .5em; }
.btk-sp-editorial__body ul, .btk-sp-editorial__body ol { margin: 0 0 1em; padding-left: 1.4em; }
.btk-sp-editorial__body li { margin: 0 0 .35em; }
.btk-sp-editorial__body a { color: var(--wp--preset--color--accent); text-decoration: underline; overflow-wrap: anywhere; }
.btk-sp-editorial__body a:hover { color: var(--wp--preset--color--accent-ink); }
/* obrazy wklejone w treść też bez zniekształceń na mobile */
.btk-sp-editorial__body img { max-width: 100%; height: auto; border-radius: var(--sp-r); }
.btk-sp-editorial__body blockquote {
	margin: 0 0 1em; padding: 4px 0 4px 16px;
	border-left: 3px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--muted);
}

/* --- sekcja zwijana: natywny <details> (dostępny, działa bez JS) --- */
.btk-sp-editorial__d {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--sp-r-lg);
	background: var(--wp--preset--color--card);
	padding: 0 16px;
}
.btk-sp-editorial__sum {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	list-style: none; cursor: pointer; margin: 0; padding: 15px 0;
	font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3;
	color: var(--wp--preset--color--ink);
}
.btk-sp-editorial__sum::-webkit-details-marker { display: none; } /* usuń natywny trójkąt */
.btk-sp-editorial__chev { display: inline-flex; flex: none; color: var(--wp--preset--color--muted); transition: transform .15s ease; }
.btk-sp-editorial__d[open] .btk-sp-editorial__chev { transform: rotate(180deg); }
.btk-sp-editorial__d[open] .btk-sp-editorial__sum { border-bottom: 1px solid var(--wp--preset--color--line); }
.btk-sp-editorial__d .btk-sp-editorial__body { padding: 14px 0 18px; }
.btk-sp-editorial__sum:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 4px; border-radius: 6px; }

/* --- podium Kreatora (blok „Podium / Ranking"): TOP 1-2-3 jako duże karty motywu
   (btk_bigcard_html, numer pozycji .btk-bigcard__n) w KARUZELI btk_carousel_wrap
   (.btk-car .btk-rank--big — swipe + strzałki, jak ranking na stronie głównej), pod
   nimi lista rankingu (.btk-sp-ranking). Styl karty/karuzeli = theme.css. .btk-sp-cpodium
   poniżej to już tylko FALLBACK, gdy motyw (btk_carousel_wrap) nieaktywny: 2 kolumny na
   mobile (1 kolumna rozdymała okładkę), od 700px trójka w rzędzie. --- */
.btk-sp-cpodium { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.btk-sp-cpodium + .btk-sp-ranking,
.btk-sp-block--podium .btk-car + .btk-sp-ranking { margin-top: 24px; }

/* --- desktop: podnosimy odstępy i skalę typografii (mobile-first → w górę) --- */
@media (min-width: 700px) {
	.btk-sp-block + .btk-sp-block { margin-top: 44px; }
	.btk-sp-cban__media { margin-top: 20px; }
	.btk-sp-editorial__body { font-size: 15.5px; }
	.btk-sp-editorial__d { padding: 0 22px; }
	.btk-sp-editorial__sum { font-size: 17px; padding: 17px 0; }
	.btk-sp-cpodium { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
	/* Karuzela podium = dokładnie TOP 3 (podium_cards): 3 karty wypełniają rząd na
	   desktopie, zamiast wąskiej 5-up karuzeli rankingu (theme) ze świecącą pustką po
	   prawej (uwaga właściciela z przeglądu na komputerze). Mobile bez zmian (2-up swipe). */
	.btk-sp-block--podium .btk-car .btk-rank--big > .btk-bigcard { flex: 1 1 calc((100% - 2 * 16px) / 3); min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.btk-sp-editorial__chev { transition: none; }
}

/* komunikat zapisu do newslettera na landingach (0.12.4) */
.btk-sp-ctaband__msg { margin: 10px 0 0; font-size: 13.5px; font-weight: 600; }
.btk-sp-ctaband__msg.is-ok { color: var(--wp--preset--color--accent-ink); }
.btk-sp-ctaband__msg.is-err { color: #B42318; }
