/* ============================================================
   Cel Jest Blisko – system projektowy
   Minimalizm: brak ramek i kafli, delikatny pastelowy gradient,
   duża typografia Roboto nastawiona na czytanie.
   Struktura budowana światłem i włoskowymi liniami, nie pudełkami.
   ============================================================ */

:root {
    /* Tekst */
    --ink:        #1a1a17;
    --ink-soft:   #4a4740;
    --muted:      #86817a;
    --muted-2:    #a9a49c;

    /* Tło i linie */
    --bg:         #fdfcfa;
    --line:       rgba(26, 26, 23, .1);
    --line-soft:  rgba(26, 26, 23, .06);
    --wash:       rgba(26, 26, 23, .025);

    /* Akcent */
    --gold:       #c9a227;
    --gold-ink:   #8a6f14;

    --danger:     #b42318;
    --success:    #216e4e;

    /* Typografia */
    --font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Rytm */
    --wrap: 1180px;
    --wrap-narrow: 720px;
    --pill: 999px;
    --t: .25s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 22px;      /* jedna wielkość dla całego tekstu w serwisie */
    line-height: 1.66;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Pastelowy gradient – nieruchomy, ledwie widoczny */
    background-color: var(--bg);
    background-image:
        radial-gradient(70% 50% at 8% -5%, rgba(201, 162, 39, .10) 0%, transparent 62%),
        radial-gradient(60% 45% at 95% 2%, rgba(139, 164, 204, .13) 0%, transparent 60%),
        radial-gradient(75% 55% at 50% 105%, rgba(206, 168, 168, .10) 0%, transparent 65%),
        linear-gradient(178deg, #fdfcfa 0%, #faf8f7 40%, #f7f7f8 72%, #fbf9f6 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px;
}

/* ---------- Skala nagłówków ---------- */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -.032em;
    line-height: 1.03;
    margin: 0 0 .4em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 7.5vw, 5.4rem); letter-spacing: -.042em; line-height: .97; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.038em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.026em; line-height: 1.16; }
h4 { font-size: 1.1rem; letter-spacing: -.018em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: 4rem 0; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Układ ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(22px, 5vw, 48px); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(60px, 8vw, 120px) 0; }
.section-tight { padding: clamp(36px, 5vw, 68px) 0; }
.section-soft { background: var(--wash); }
.section-dark { background: transparent; }

.stack > * + * { margin-top: 1.2rem; }
.center { text-align: center; }

.grid { display: grid; gap: clamp(30px, 4vw, 54px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 7vw, 100px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr !important; }
    .cart-layout aside { position: static !important; }
}

/* ---------- Elementy typograficzne ---------- */
.eyebrow {
    display: block;
    font-size: .95rem; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--gold-ink);
    margin: 0 0 16px;
}
.eyebrow::before { display: none; }
.eyebrow-plain { color: var(--muted); }

.lead {
    font-size: 1.375rem;      /* 22 px – jak reszta tekstu */
    font-weight: 400;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 60ch;
    letter-spacing: -.008em;
}
.muted { color: var(--muted); }
.small { font-size: 1.375rem; }
.tiny { font-size: 1.25rem; }   /* drobny druk: zgody, adnotacje */

.section-head { margin-bottom: clamp(34px, 4.5vw, 60px); }
.section-head .lead { margin-top: -.1em; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

.mark { font-style: normal; background: linear-gradient(transparent 64%, rgba(201, 162, 39, .45) 64%); }

/* ---------- Przyciski: jeden pełny, reszta to tekst ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 32px;
    font-family: var(--font); font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em;
    border: 0; border-radius: var(--pill);
    background: var(--ink); color: #fdfcfa;
    cursor: pointer; text-align: center;
    transition: opacity var(--t), transform var(--t), background var(--t), color var(--t);
}
.btn:hover { transform: translateY(-2px); opacity: .88; }
.btn .ic { width: 19px; height: 19px; }

.btn-gold { background: var(--gold); color: var(--ink); font-weight: 600; }
.btn-gold:hover { background: #d4ac2e; }

.btn-ghost { background: transparent; color: var(--ink); padding: 15px 4px; }
.btn-ghost:hover { color: var(--gold-ink); transform: none; box-shadow: inset 0 -2px 0 0 var(--gold); }

.btn-light { background: var(--ink); color: #fdfcfa; }
.btn-light:hover { background: var(--gold); color: var(--ink); }

.btn-sm { padding: 11px 22px; font-size: 1.15rem; }
.btn-ghost.btn-sm { padding: 10px 3px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .35; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 500; font-size: 1.25rem;
    box-shadow: inset 0 -1px 0 0 var(--line);
    padding-bottom: 3px;
    transition: box-shadow var(--t), gap var(--t), color var(--t);
}
.link-arrow:hover { box-shadow: inset 0 -2px 0 0 var(--gold); gap: 14px; color: var(--gold-ink); }
.link-arrow .ic { width: 16px; height: 16px; }

/* ---------- Nagłówek strony ---------- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(253, 252, 250, .82);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 82px; }

.brand {
    display: flex; align-items: center; gap: 12px;
    font-weight: 700; letter-spacing: -.035em; font-size: 1.5rem; white-space: nowrap;
}
.brand .dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex: none; }

.nav { display: flex; align-items: center; gap: clamp(18px, 1.9vw, 28px); margin-left: auto; }
.nav a {
    position: relative; padding: 4px 0;
    font-size: 1.1rem; font-weight: 400; color: var(--ink-soft);
    white-space: nowrap;
    transition: color var(--t);
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); font-weight: 500; }
.nav a.is-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
    height: 2px; background: var(--gold);
}
.nav a.nav-shop { font-weight: 700; color: var(--ink); box-shadow: inset 0 -2px 0 0 var(--gold); }
.nav a.nav-shop:hover { box-shadow: inset 0 -3px 0 0 var(--gold); }
.nav a.nav-shop.is-active::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 15px; margin-left: 22px; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border: 0; background: none;
    cursor: pointer; color: var(--ink-soft); position: relative;
    transition: color var(--t), transform var(--t);
}
.icon-btn:hover { color: var(--ink); transform: translateY(-1px); }
.cart-count {
    position: absolute; top: -2px; right: -4px;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--gold); color: var(--ink);
    font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center;
    border-radius: var(--pill);
}
.nav-toggle { display: none; }

@media (max-width: 1150px) {
    .nav {
        position: fixed; inset: 82px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
        background: var(--bg); border-bottom: 1px solid var(--line);
        padding: 10px clamp(22px, 5vw, 48px) 34px;
        transform: translateY(-160%); transition: transform var(--t);
        max-height: calc(100vh - 82px); overflow-y: auto;
    }
    .nav.is-open { transform: translateY(0); }
    .nav a { padding: 16px 0; font-size: 1.5rem; white-space: normal; font-weight: 500; letter-spacing: -.03em; border-bottom: 1px solid var(--line-soft); }
    .nav a.is-active::after { display: none; }
    .nav a.nav-shop { box-shadow: none; color: var(--gold-ink); }
    .nav-toggle { display: inline-flex; }
    .header-actions { margin-left: auto; }
}

/* ---------- Otwarcie strony (zamiast banera) ---------- */
.intro { padding: clamp(56px, 10vw, 130px) 0 clamp(36px, 5vw, 64px); }
.intro h1 { max-width: 15ch; margin-bottom: .26em; }
.intro .lead { font-size: clamp(1.2rem, 1.9vw, 1.55rem); max-width: 52ch; }
.intro .btn-row { margin-top: 40px; }
.intro-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: end; }
.intro-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 4px 4px; filter: grayscale(.2); }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .intro-portrait { display: none; } }

/* Zachowane dla podstron, które nadal używają .hero */
.hero { position: relative; padding: clamp(50px, 8vw, 96px) 0 clamp(20px, 3vw, 40px); background: none; color: inherit; min-height: 0; display: block; }
.hero-media { display: none; }
.hero-inner { padding: 0; }
.hero h1 { color: var(--ink); max-width: 16ch; }
.hero .lead { color: var(--ink-soft); max-width: 54ch; }
.hero .eyebrow { color: var(--gold-ink); }
.hero .btn-row { margin-top: 34px; }
.hero-compact { padding-bottom: 0; }

/* ---------- Tematy: zwykłe linki, nie pigułki ---------- */
.cat-bar { border-bottom: 1px solid var(--line-soft); }
.cat-bar-inner {
    display: flex; gap: clamp(18px, 2.6vw, 34px); align-items: center;
    padding-top: 18px; padding-bottom: 18px;
    overflow-x: auto; scrollbar-width: none;
}
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-pill {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 4px 0; font-size: 1.25rem; font-weight: 400; color: var(--muted);
    border: 0; background: none; border-radius: 0;
    transition: color var(--t), box-shadow var(--t);
}
.cat-pill .ic { display: none; }
.cat-pill:hover { color: var(--ink); transform: none; }
.cat-pill.is-active { color: var(--ink); font-weight: 700; background: none; box-shadow: inset 0 -2px 0 0 var(--gold); }
.cat-pill-ghost { margin-left: auto; color: var(--muted-2); font-size: 1.15rem; border: 0; }
.cat-pill-ghost .ic { display: inline-block; width: 14px; height: 14px; }

/* ---------- Strumień ---------- */
.feed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(36px, 6vw, 90px); align-items: start; }
@media (max-width: 1000px) { .feed-layout { grid-template-columns: 1fr; } }

.feed-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 20px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 34px);
    padding-bottom: 0; border-bottom: 0;
}
.feed-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.feed-head p { margin: 0; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; font-size: .95rem; color: var(--muted-2); }

.feed-item {
    display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px;
    padding: clamp(30px, 4vw, 46px) 0; border-top: 1px solid var(--line-soft); border-bottom: 0;
}
.feed-item:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 760px) { .feed-item { grid-template-columns: 1fr; gap: 20px; } }

.feed-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--wash); border: 0; }
.feed-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.feed-media:hover img { transform: scale(1.04); }
.feed-play {
    position: absolute; inset: 0; display: grid; place-items: center;
    color: #fff; transition: transform var(--t);
    filter: drop-shadow(0 3px 16px rgba(0, 0, 0, .55));
}
.feed-play .ic { width: 52px; height: 52px; stroke-width: 1; }
.feed-media:hover .feed-play { transform: scale(1.08); }
.feed-time {
    position: absolute; right: 12px; bottom: 12px;
    background: none; padding: 0; border-radius: 0;
    color: #fff; font-size: 1rem; font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .85);
}

.feed-body { display: flex; flex-direction: column; min-width: 0; }
.feed-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 11px;
    font-size: .95rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted-2); margin-bottom: 13px;
}
.feed-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.feed-cat { color: var(--gold-ink); font-weight: 700; }
.feed-cat:hover { box-shadow: inset 0 -2px 0 0 var(--gold); }
.feed-own { color: var(--muted); border: 0; padding: 0; }

.feed-title { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; margin: 0 0 15px; font-family: var(--font); }
.feed-title a { background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 2px;
    background-repeat: no-repeat; background-position: 0 100%; transition: background-size var(--t); }
.feed-title a:hover { background-size: 100% 2px; }

.feed-take { margin-bottom: 18px; padding-left: 0; }
.feed-take::before { display: none; }
.feed-take-label {
    display: block; font-size: .95rem; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px;
}
.feed-take-label .ic { display: none; }
.feed-take p { margin: 0; font-size: 1.375rem; font-weight: 400; line-height: 1.62; color: var(--ink-soft); }

.feed-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; font-size: 1.25rem; }
.feed-source { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 1.25rem; }
.feed-source .ic { width: 15px; height: 15px; }

/* Przypięte: złota linia i etykieta, bez podkładki */
.feed-pinned { position: relative; background: none; box-shadow: none; padding: 22px 0 0; margin-bottom: 8px; border-top: 2px solid var(--gold); }
.feed-pinned .feed-item { border-top: 0; padding-top: 0; }
.feed-pinned-label {
    display: block; background: none; color: var(--gold-ink); padding: 0; margin: 0 0 20px;
    font-size: .95rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.feed-pinned-label .ic { display: none; }

/* ---------- Kolumna boczna ---------- */
.feed-side { position: sticky; top: 122px; display: flex; flex-direction: column; gap: clamp(34px, 4vw, 48px); }
@media (max-width: 1000px) { .feed-side { position: static; } }
.side-box { border: 0; padding: 0; background: none; }
.side-box h3 { font-size: 1.3rem; margin-bottom: .4em; }
.side-box-dark { background: none; border: 0; color: inherit; }
.side-box-dark h3 { color: var(--ink); }
.side-box-dark .small, .side-box-dark .eyebrow { color: var(--gold-ink); }
.side-box-dark p.small { color: var(--ink-soft); }
.side-paths { display: flex; flex-direction: column; }
.side-paths a {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 0; border-bottom: 1px solid var(--line-soft);
    font-size: 1.375rem; font-weight: 400; transition: padding-left var(--t), color var(--t);
}
.side-paths a:last-child { border-bottom: 0; }
.side-paths a:hover { padding-left: 8px; color: var(--gold-ink); }
.side-paths .ic { color: var(--gold-ink); flex: none; width: 17px; height: 17px; }

/* ---------- Komentarz autora ---------- */
.my-take { position: relative; background: none; padding: 0 0 0 clamp(22px, 3vw, 34px); margin: 0 0 clamp(34px, 4vw, 52px); border: 0; border-left: 2px solid var(--gold); }
.my-take::after { display: none; }
.my-take-label { display: block; font-size: .95rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 16px; }
.my-take-label .ic { display: none; }
.my-take .prose { font-size: 1.375rem; font-weight: 400; color: var(--ink); line-height: 1.68; }
.my-take-sign { display: block; margin-top: 20px; font-size: 1.25rem; color: var(--muted); }

.source-line {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: 1.25rem; color: var(--muted); margin: 0 0 30px;
    padding-bottom: 0; border-bottom: 0;
}
.source-line a { color: var(--gold-ink); box-shadow: inset 0 -1px 0 0 var(--gold); }
.source-line a:hover { box-shadow: inset 0 -2px 0 0 var(--gold); }
.source-line .ic { width: 16px; height: 16px; flex: none; }

/* ---------- Karty: obraz i tekst, bez obudowy ---------- */
.card { display: flex; flex-direction: column; background: none; border: 0; height: 100%; }
.card:hover { transform: none; box-shadow: none; }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--wash); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 20px 0 0; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.32rem; margin-bottom: .3em; }
.card:hover h3 { color: var(--gold-ink); }
.card p { font-size: 1.375rem; font-weight: 400; color: var(--muted); line-height: 1.55; }
.card-foot {
    margin-top: auto; padding-top: 18px;
    display: flex; align-items: center; gap: 12px;
    font-size: .95rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
}
.card-foot .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

.badge {
    position: absolute; top: 12px; left: 12px;
    display: inline-flex; align-items: center; gap: 7px;
    background: none; padding: 0; border-radius: 0;
    color: #fff; font-size: .92rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .85);
}
.badge-gold { background: none; color: var(--gold); left: auto; right: 12px; }
.badge .ic { width: 13px; height: 13px; }

.tag {
    display: inline-flex; align-items: center; padding: 3px 0;
    font-size: 1.25rem; font-weight: 400; color: var(--muted);
    border: 0; border-radius: 0; background: none; box-shadow: inset 0 -1px 0 0 var(--line);
    transition: color var(--t), box-shadow var(--t);
}
a.tag:hover { color: var(--ink); box-shadow: inset 0 -2px 0 0 var(--gold); }
.tag-gold { color: var(--gold-ink); background: none; box-shadow: inset 0 -1px 0 0 var(--gold); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.card-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; background: none; border: 0; }
.card-feature .card-media { aspect-ratio: 16 / 10; height: auto; }
.card-feature .card-body { padding: 0; justify-content: center; }
.card-feature h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.card-feature p { font-size: 1.05rem; }
@media (max-width: 860px) { .card-feature { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Ścieżki ---------- */
.path-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(24px, 3vw, 44px); background: none; border: 0; }
.path-tile { display: flex; flex-direction: column; gap: 12px; padding: 26px 0 0; background: none; border: 0; border-top: 2px solid var(--ink); transition: border-color var(--t); }
.path-tile:hover { background: none; color: inherit; border-top-color: var(--gold); }
.path-tile:hover h3 { color: var(--gold-ink); }
.path-icon { display: none; }
.path-tile h3 { font-size: 1.22rem; margin: 0; }
.path-tile p { font-size: 1.25rem; font-weight: 400; margin: 0; color: var(--muted); }
.path-tile .go { margin-top: auto; padding-top: 18px; font-size: .95rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------- Filary ---------- */
.pillar { display: flex; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line-soft); transition: padding-left var(--t); }
.pillar:hover { padding-left: 10px; }
.pillar-icon { color: var(--gold-ink); flex: none; padding-top: 5px; }
.pillar h3 { margin-bottom: .16em; font-size: 1.5rem; }
.pillar p { margin: 0; font-size: 1.375rem; font-weight: 400; color: var(--muted); }

/* ---------- Serie ---------- */
.series-item { display: flex; align-items: baseline; gap: 22px; padding: 24px 0; border-bottom: 0; border-top: 1px solid var(--line-soft); transition: padding-left var(--t); }
.series-item:hover { padding-left: 12px; }
.series-num { font-size: .9rem; font-weight: 700; color: var(--gold); flex: none; width: 34px; }
.series-item h3 { font-size: 1.4rem; margin: 0 0 .1em; }
.series-item p { margin: 0; font-size: 1.25rem; font-weight: 400; color: var(--muted); }
.series-count { margin-left: auto; font-size: .95rem; color: var(--muted-2); white-space: nowrap; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Newsletter ---------- */
.newsletter { background: none; color: inherit; border-top: 1px solid var(--line); }
.newsletter h2 { color: var(--ink); max-width: 14ch; }
.newsletter .lead { color: var(--ink-soft); }
.newsletter-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .newsletter-inner { grid-template-columns: 1fr; } }

.subscribe-form { display: flex; flex-direction: column; gap: 18px; }
.subscribe-form input[type="email"], .subscribe-form input[type="text"] { background: none; border-bottom-color: var(--line); color: var(--ink); }
.subscribe-form input::placeholder { color: var(--muted-2); }
.subscribe-form input:focus { background: none; border-bottom-color: var(--gold); }
.subscribe-form .tiny { color: var(--muted); }
.subscribe-form a { color: var(--gold-ink); text-decoration: underline; }

/* ---------- Formularze: podkreślenia zamiast pól ---------- */
.field { margin-bottom: 26px; }
.field label, .label {
    display: block; margin-bottom: 7px;
    font-size: .95rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="url"], input[type="date"], input[type="datetime-local"],
input[type="search"], select, textarea {
    width: 100%; padding: 10px 2px;
    font-family: inherit; font-size: 1.375rem; font-weight: 400; color: var(--ink);
    background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
    transition: border-color var(--t);
}
input:hover, select:hover, textarea:hover { border-bottom-color: var(--muted-2); }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: none; border-bottom-color: var(--gold); border-bottom-width: 2px; padding-bottom: 9px; }
textarea { min-height: 150px; resize: vertical; line-height: 1.65; }
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2386817a' stroke-width='1.6' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 2px center; padding-right: 30px;
}
.field-error input, .field-error select, .field-error textarea { border-bottom-color: var(--danger); }
.error-msg { display: block; margin-top: 8px; font-size: 1.15rem; color: var(--danger); }
.hint { display: block; margin-top: 8px; font-size: 1.15rem; font-weight: 400; color: var(--muted); }

.check { display: flex; align-items: flex-start; gap: 13px; font-size: 1.25rem; font-weight: 400; color: var(--ink-soft); line-height: 1.55; }
.check input[type="checkbox"], .check input[type="radio"] { width: 18px; height: 18px; margin: 4px 0 0; flex: none; accent-color: var(--gold); }
.check a { text-decoration: underline; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Filtry ---------- */
.filters {
    display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: flex-end;
    padding: 0 0 26px; background: none; border: 0; border-bottom: 1px solid var(--line);
    border-radius: 0; margin-bottom: 44px;
}
.filters .field { margin: 0; min-width: 140px; flex: 1 1 140px; }
.filters .field label { font-size: .92rem; letter-spacing: .16em; }
.filters select, .filters input { padding: 9px 2px; font-size: 1.25rem; background: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 40px; }
.chip {
    padding: 3px 0; font-size: 1.25rem; font-weight: 400;
    border: 0; background: none; color: var(--muted); border-radius: 0;
    transition: color var(--t), box-shadow var(--t);
}
.chip:hover { color: var(--ink); transform: none; }
.chip.is-active { background: none; color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 0 var(--gold); }

/* ---------- Artykuł ---------- */
.article-header { padding: clamp(44px, 6vw, 88px) 0 clamp(24px, 3vw, 40px); }
.article-header h1 { max-width: 19ch; font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.article-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
    font-size: 1.25rem; color: var(--muted); margin-top: 26px;
}
.article-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

.article-cover { margin: 0 0 clamp(34px, 5vw, 58px); }
.article-cover img { width: 100%; border-radius: 4px; }

.prose { font-size: 1.375rem; font-weight: 400; line-height: 1.78; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--ink); margin-top: 2.2em; }
.prose h3 { font-size: 1.45rem; color: var(--ink); margin-top: 1.8em; }
.prose a { color: var(--gold-ink); box-shadow: inset 0 -1px 0 0 var(--gold); }
.prose a:hover { background: none; box-shadow: inset 0 -2px 0 0 var(--gold); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .5em; }
.prose blockquote {
    margin: 2.2em 0; padding: 0 0 0 30px; border-left: 2px solid var(--gold);
    font-size: 1.55rem; font-weight: 400; line-height: 1.42; letter-spacing: -.022em; color: var(--ink);
}
.prose img { margin: 2.2em 0; border-radius: 4px; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; background: var(--wash); padding: 2px 6px; border: 0; border-radius: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 12px 14px 12px 0; border: 0; border-bottom: 1px solid var(--line-soft); text-align: left; }
.prose th { background: none; font-weight: 700; }

.video { position: relative; padding-bottom: 56.25%; height: 0; background: #000; border-radius: 4px; overflow: hidden; margin-bottom: clamp(28px, 4vw, 44px); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.takeaways { background: none; box-shadow: none; border: 0; border-left: 2px solid var(--gold); padding: 0 0 0 30px; margin: 2.4em 0; }
.takeaways h3 { font-size: .95rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1em; }
.takeaways ul { margin: 0; padding-left: 1.1em; }
.takeaways li { margin-bottom: .6em; font-size: 1.375rem; font-weight: 400; }

.transcript { margin-top: 3.4rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.transcript summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; align-items: center; gap: 12px; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::before { content: "+"; color: var(--gold-ink); font-size: 1.4rem; font-weight: 400; }
.transcript[open] summary::before { content: "–"; }
.transcript .body { margin-top: 1.4rem; font-size: 1.25rem; font-weight: 400; color: var(--muted); line-height: 1.85; white-space: pre-wrap; }

.locked { text-align: center; padding: clamp(40px, 6vw, 70px) 0; background: none; border-radius: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.locked .ic { width: 34px; height: 34px; color: var(--gold-ink); margin: 0 auto 18px; }

.share { display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap; margin-top: 3.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.share span { font-size: .95rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sklep ---------- */
.product-card .card-media { aspect-ratio: 4 / 5; }
.price { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.price-old { font-size: 1.25rem; color: var(--muted-2); text-decoration: line-through; font-weight: 400; margin-left: 10px; }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; } }
.product-gallery img { width: 100%; border: 0; border-radius: 4px; }
.product-buy { background: none; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 30px 0; margin-top: 30px; }

.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--pill); width: fit-content; overflow: hidden; background: none; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty input { width: 48px; height: 46px; border: 0; text-align: center; padding: 0; background: none; }
.qty input:focus { border: 0; padding: 0; }

/* ---------- Tabele ---------- */
.table-wrap { overflow-x: auto; background: none; border: 0; border-radius: 0; }
table.data { width: 100%; border-collapse: collapse; font-size: 1.25rem; min-width: 620px; }
table.data th, table.data td { padding: 15px 18px 15px 0; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data th {
    background: none; font-size: .92rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap;
    border-bottom-color: var(--line);
}
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: none; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

.status {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0; border: 0; background: none; border-radius: 0;
    font-size: 1.15rem; font-weight: 500; letter-spacing: .04em; text-transform: none;
    color: var(--muted); white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.status-new, .status-awaiting { color: #a1720a; background: none; }
.status-paid, .status-active, .status-published { color: var(--success); background: none; }
.status-cancelled, .status-blocked { color: var(--danger); background: none; }
.status-draft, .status-pending { color: var(--muted-2); }

/* ---------- Komunikaty ---------- */
.flash-stack { position: fixed; top: 96px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: min(400px, calc(100vw - 44px)); }
.flash {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 17px 22px; background: var(--ink); color: #fdfcfa; border-radius: 10px;
    font-size: 1.25rem; box-shadow: 0 18px 50px rgba(26, 26, 23, .2);
    animation: flashIn .32s cubic-bezier(.4, 0, .2, 1);
}
.flash-success { background: var(--success); }
.flash-error { background: var(--danger); }
.flash button { background: none; border: 0; color: inherit; cursor: pointer; opacity: .7; padding: 0; margin-left: auto; font-size: 1.2rem; line-height: 1; }
@keyframes flashIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

.notice { padding: 0 0 0 24px; background: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; font-size: 1.375rem; font-weight: 400; }
.notice-gold { background: none; border-left-color: var(--gold); }

.empty { padding: clamp(50px, 7vw, 86px) 0; text-align: center; background: none; border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; color: var(--muted); font-weight: 400; font-size: 1.375rem; }
.empty .ic { width: 34px; height: 34px; margin: 0 auto 16px; color: var(--muted-2); }

/* ---------- Paginacja ---------- */
.pagination { display: flex; gap: 8px 20px; justify-content: center; margin-top: 60px; flex-wrap: wrap; align-items: center; }
.pagination a, .pagination span {
    min-width: auto; height: auto; padding: 4px 2px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 0; background: none; font-size: 1.25rem; color: var(--muted);
    transition: color var(--t), box-shadow var(--t);
}
.pagination a:hover { color: var(--ink); transform: none; box-shadow: inset 0 -2px 0 0 var(--gold); }
.pagination .current { background: none; color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 0 var(--gold); }

/* ---------- Cele ---------- */
.goal { background: none; box-shadow: none; border: 0; border-top: 2px solid var(--ink); padding: 26px 0 0; height: 100%; }
.goal h3 { font-size: 1.35rem; margin-bottom: .2em; }
.progress { height: 3px; background: var(--line); margin: 22px 0 9px; overflow: hidden; border-radius: 0; }
.progress > i { display: block; height: 100%; background: var(--gold); border-radius: 0; }

/* ---------- Stopka ---------- */
.site-footer { background: #14140f; color: #a8a29e; padding: clamp(60px, 8vw, 100px) 0 36px; }
.site-footer a { color: #d9d5cc; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 1.25rem; font-weight: 400; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 1.25rem; font-weight: 400; max-width: 34ch; }
.socials { display: flex; gap: 18px; margin-top: 24px; }
.socials a { width: auto; height: auto; border: 0; display: inline-flex; transition: color var(--t), transform var(--t); }
.socials a:hover { background: none; color: var(--gold); transform: translateY(-2px); }
.footer-bottom {
    margin-top: 58px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 1.15rem; font-weight: 400;
}

/* ---------- Panel administracyjny ---------- */
.admin-body {
    background: #faf9f7; background-image: none;
    /* Panel to narzędzie pracy – tabele i formularze potrzebują większej gęstości
       niż część publiczna. Skala mniejsza, ale wciąż czytelna. */
    font-size: 17px;
}
.admin-body .lead, .admin-body .small, .admin-body .prose,
.admin-body .notice, .admin-body .check, .admin-body .empty { font-size: 1.05rem; }
.admin-body .tiny, .admin-body .hint, .admin-body .error-msg { font-size: .92rem; }
.admin-body table.data { font-size: 1rem; }
.admin-body input, .admin-body select, .admin-body textarea { font-size: 1.05rem; }
.admin-body .btn { font-size: 1.02rem; padding: 12px 24px; }
.admin-body .btn-sm { font-size: .92rem; padding: 9px 18px; }
.admin-body .status { font-size: .9rem; }
.admin-body .tag { font-size: .95rem; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: #14140f; color: #a8a29e; padding: 26px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { color: #fff; padding: 0 26px 26px; }
.admin-nav { display: flex; flex-direction: column; }
.admin-nav a {
    display: flex; align-items: center; gap: 13px; padding: 12px 26px;
    font-size: .96rem; font-weight: 400; transition: background var(--t), color var(--t);
    border-left: 2px solid transparent;
}
.admin-nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.admin-nav a.is-active { background: none; border-left-color: var(--gold); color: #fff; font-weight: 500; }
.admin-nav .ic { width: 18px; height: 18px; flex: none; }
.admin-nav .group { padding: 22px 26px 8px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #57534e; font-weight: 700; }
.admin-nav .count { margin-left: auto; background: none; color: var(--gold); font-size: .82rem; font-weight: 700; padding: 0; }

.admin-main { padding: 34px 40px 70px; min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; flex-wrap: wrap; }
.admin-top h1 { font-size: 2.2rem; margin: 0; }
.admin-top .btn-row { margin-left: auto; }

.panel { background: none; border: 0; border-radius: 0; padding: 0; margin-bottom: clamp(34px, 4vw, 52px); }
.panel + .panel { padding-top: clamp(30px, 3.5vw, 44px); border-top: 1px solid var(--line-soft); }
.panel > h2, .panel > h3 { font-size: 1.25rem; margin-bottom: 22px; }
/* Białe powierzchnie tylko w panelu administracyjnym – tam pomagają w pracy */
.admin-body .panel { background: #fff; border-radius: 10px; padding: 30px; margin-bottom: 26px; }
.admin-body .panel + .panel { border-top: 0; padding-top: 30px; }
.panel-head { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { margin: 0; }
.panel-head .btn-row { margin-left: auto; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line-soft); margin-bottom: 28px; }
.stat { background: #fff; border: 0; border-radius: 0; padding: 24px 26px; }
.stat .k { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.stat .v { font-size: 2.4rem; font-weight: 800; letter-spacing: -.045em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat .s { font-size: .84rem; font-weight: 400; color: var(--muted); margin-top: 3px; }
.stat-gold { border: 0; }
.stat-gold .v { color: var(--gold-ink); }

.admin-grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 1100px) { .admin-grid-2 { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 1000px) { .form-grid { grid-template-columns: 1fr; } }

.inline-form { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field { margin: 0; }

.thumb { width: 58px; height: 42px; object-fit: cover; border: 0; border-radius: 4px; background: var(--wash); }
.cover-preview { border: 0; margin-bottom: 16px; border-radius: 6px; overflow: hidden; }
.cover-preview img { width: 100%; }

@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-side { position: static; height: auto; }
    .admin-main { padding: 26px 20px 52px; }
}

/* ---------- Logowanie ---------- */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 44px 22px; background: none; }
.auth-card { width: 100%; max-width: 420px; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.auth-card .brand { justify-content: center; margin-bottom: 34px; }
.auth-card h1 { font-size: 2.4rem; text-align: center; margin-bottom: .2em; }
.auth-card .lead { text-align: center; font-size: 1.02rem; margin: 0 auto 34px; }
.auth-foot { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-soft); text-align: center; font-size: .95rem; color: var(--muted); }

/* ---------- Strona błędu ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 44px 24px; }
.error-page .code { font-size: clamp(5rem, 17vw, 10rem); font-weight: 800; letter-spacing: -.07em; line-height: .9; color: var(--gold); opacity: .28; }
.error-page h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 18px 0 .35em; }

/* ---------- Drobiazgi ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--ink); color: #fff; padding: 13px 22px; border-radius: var(--pill); }
.skip-link:focus { left: 14px; top: 14px; }

@media print {
    .site-header, .site-footer, .flash-stack, .btn, .cat-bar { display: none !important; }
    body { font-size: 12pt; background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important; transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
