/* ==========================================================================
   LUMEN — elementy sklepu (nagłówek z koszykiem, katalog, PDP, kasa, statusy)
   ========================================================================== */
.hdr-actions { display: flex; align-items: center; gap: .6rem; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: border-color .2s; }
.cart-btn:hover { border-color: var(--ink); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--cta); color: var(--cta-ink); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cart-count[data-zero="1"] { display: none; }
.nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 960px) { .nav-toggle { display: none; } }
@media (max-width: 959px) {
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; box-shadow: 0 20px 30px -20px rgb(24 36 28 / .3); }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
}

/* koszyk (szuflada) */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgb(14 20 16 / .5); display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer__panel { width: min(440px, 100%); height: 100%; background: var(--paper); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: drawerIn .3s var(--ease); }
@keyframes drawerIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.drawer__body { flex: 1; overflow: auto; padding: 1rem 1.25rem; display: grid; gap: .9rem; align-content: start; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); display: grid; gap: .75rem; background: #fff; }
.cart-line { display: grid; grid-template-columns: 54px 1fr auto; gap: .9rem; align-items: center; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.cart-line img { width: 54px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-sm); }
.cart-line b { display: block; font-size: .98rem; line-height: 1.3; }
.cart-line small { color: var(--muted); font-size: .85rem; }
.cart-line .rm { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; min-height: 44px; }
.cart-empty { color: var(--muted); text-align: center; padding: 2rem 0; }
.cart-sum { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; }
.cart-note { font-size: .85rem; color: var(--muted); }
.toast-top { position: fixed; z-index: 95; left: 50%; top: 84px; translate: -50% 0; background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-lg); max-width: calc(100% - 2rem); }
.toast-top[hidden] { display: none; }

/* podstrony */
.subhero { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--cream); border-bottom: 1px solid var(--line); }
.subhero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.6rem); font-weight: 600; line-height: 1.05; }
.subhero h1 em { font-style: italic; color: var(--gold-text); }
.subhero .lead { margin-top: .8rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; list-style: none; }
.crumbs a { color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-2); }
.section-sm { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }

.cover-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 3px 7px 7px 3px; box-shadow: var(--shadow); background: var(--green); }

/* katalog */
.feature-main { display: grid; gap: 1.5rem; align-items: center; background: var(--green); color: #f4efe4; border-radius: 26px; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 860px) { .feature-main { grid-template-columns: 240px 1fr; gap: 3rem; } }
.feature-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 0%, rgb(227 196 138 / .2), transparent 70%); }
.feature-main h2 { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); font-weight: 600; line-height: 1.05; }
.feature-main p { color: #d7dccf; }
.feature-main .eyebrow { color: var(--gold-light); }
.feature-main .book { margin: 0 auto; width: min(220px, 70%); }
.feature-main .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.feature-main .btn--ghost { --_fg: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .35); }
.feature-main .btn--ghost:hover { --_bg: rgb(255 255 255 / .08); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; font-variant-numeric: lining-nums tabular-nums; }
.price-line strong { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.price-line s { color: var(--muted); font-weight: 700; }
.feature-main .price-line s { color: #aab3a5; }
.price-line small { font-size: .82rem; color: var(--muted); }
.feature-main .price-line small { color: #aab3a5; }
.grid-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column; gap: .7rem; transition: transform .25s var(--ease), box-shadow .25s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard__cover { display: block; padding: .6rem 1.4rem 0; }
.pcard h3 { font-size: 1.05rem; line-height: 1.3; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; }
.pcard p { font-size: .92rem; color: var(--ink-2); }
.pcard__meta { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; padding-top: .3rem; }
.pcard__foot strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.btn--add { min-height: 44px; padding: .5rem 1rem; font-size: .92rem; }
.group-head { display: flex; justify-content: space-between; align-items: end; gap: .5rem 1rem; margin: 3rem 0 1.25rem; flex-wrap: wrap; }
.group-head h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem); font-weight: 600; }
.group-head p { color: var(--muted); max-width: 56ch; }

/* PDP */
.pdp { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .pdp { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; } .pdp__media { position: sticky; top: calc(var(--header-h) + 20px); } }
.pdp__media { display: grid; justify-items: center; gap: 1rem; }
.pdp__media .book { margin: 0; width: min(300px, 70%); }
.pdp h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 1.7rem + 2vw, 3.2rem); font-weight: 600; line-height: 1.05; }
.pdp__copy { display: grid; gap: 1.1rem; }
.pdp__buy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .9rem; box-shadow: var(--shadow-sm); }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.pills li { font-size: .82rem; font-weight: 700; padding: .35rem .7rem; border-radius: 99px; background: var(--green-soft); color: var(--green-2); }
.pdp-block { display: grid; gap: 1rem; margin-top: 2.5rem; }
.pdp-block h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); font-weight: 600; line-height: 1.1; }
.pdp-block > p { color: var(--ink-2); }
.toc-list { list-style: none; display: grid; border-top: 1px solid var(--line); }
.toc-list li { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.toc-list li > span:first-child { color: var(--gold-text); font-weight: 800; font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.toc-list small { display: block; color: var(--muted); font-size: .88rem; }
.steps-list { display: grid; gap: 1rem; counter-reset: s; list-style: none; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: .9rem; }
.steps-list li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--gold-light); display: grid; place-items: center; font-weight: 800; }
.steps-list b { display: block; }
.steps-list span { color: var(--ink-2); font-size: .98rem; }
.peek { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.peek button { all: unset; cursor: zoom-in; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.peek button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.peek img { width: 100%; aspect-ratio: 210/297; object-fit: cover; }
.sticky-buy { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); background: rgb(255 253 248 / .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: flex; gap: 1rem; align-items: center; transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy b { display: block; line-height: 1.2; }
.sticky-buy small { color: var(--muted); }
.sticky-buy .btn { margin-left: auto; min-height: 50px; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* kasa */
.co-head { padding-top: 2rem; }
.co-head h1 { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem); font-weight: 600; }
.co-head p { color: var(--ink-2); }
.co-field { display: grid; gap: .4rem; }
.co-field label { font-weight: 700; font-size: .95rem; }
.co-field input { min-height: 52px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: .7rem 1rem; background: var(--paper); font-size: 1rem; }
.co-field input:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgb(47 75 56 / .15); }
.co-field small { color: var(--muted); font-size: .85rem; }
.is-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgb(155 59 42 / .12) !important; }
.err { color: var(--danger); font-size: .88rem; font-weight: 600; }
.terms { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; font-size: .92rem; color: var(--ink-2); cursor: pointer; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.terms input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--green-2); }
.terms.is-err { border-color: var(--danger); background: #fdf1ee; }
.code-row { display: flex; gap: .5rem; }
.code-row input { flex: 1; min-width: 0; min-height: 46px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: .5rem .8rem; text-transform: uppercase; font: inherit; }
.code-row button { min-height: 46px; padding: 0 1rem; border-radius: 10px; border: 1.5px solid var(--green-2); background: #fff; font-weight: 700; cursor: pointer; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font: inherit; font-size: .92rem; min-height: 32px; justify-self: start; }
.trust-list { list-style: none; display: grid; gap: .45rem; font-size: .9rem; color: var(--ink-2); }
.trust-list li { display: flex; gap: .55rem; align-items: center; }
.trust-list svg { width: 18px; height: 18px; color: var(--green-2); flex: none; }
.oto-banner { background: var(--green); color: #f4efe4; border-radius: var(--radius); padding: 1rem 1.25rem; display: grid; gap: .3rem; }
.oto-banner b { color: var(--gold-light); }
.tom-pick { display: grid; gap: .6rem; border: 0; padding: 0; margin: 0; }
.tom-opt { display: grid; grid-template-columns: 22px 46px 1fr auto; gap: .8rem; align-items: center; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.tom-opt:has(input:checked) { border-color: var(--cta); background: #fffaf0; }
.tom-opt input { accent-color: var(--green-2); width: 20px; height: 20px; margin: 0; }
.tom-opt img { width: 46px; aspect-ratio: 3/4; object-fit: cover; border-radius: 3px; }
.tom-opt b { display: block; font-size: .95rem; line-height: 1.3; }
.tom-opt small { color: var(--muted); }
.bump img { width: 88px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-sm); }
.line img { width: 56px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }

/* statusy */
.status { max-width: 760px; margin-inline: auto; padding-block: 2.5rem 4rem; display: grid; gap: 1.25rem; }
.status h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 1.7rem + 2vw, 3rem); font-weight: 600; text-align: center; line-height: 1.05; }
.status .lead { text-align: center; margin-inline: auto; }
.status-ico { justify-self: center; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.status-ico svg { width: 32px; height: 32px; }
.status-ico.ok { background: #e3f0e6; color: var(--ok); }
.status-ico.warn { background: #fbefe4; color: #9a5a1c; }
.status-ico.info { background: var(--green-soft); color: var(--green-2); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 1rem + 1vw, 1.6rem); display: grid; gap: .9rem; }
.card h2 { font-size: 1.1rem; font-weight: 800; }
.dl-row { display: grid; grid-template-columns: 44px 1fr auto; gap: .9rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); }
.dl-row img { width: 44px; aspect-ratio: 3/4; object-fit: cover; border-radius: 3px; }
.dl-row b { display: block; line-height: 1.3; }
.dl-row small { color: var(--muted); font-size: .85rem; word-break: break-word; }
@media (max-width: 520px) { .dl-row { grid-template-columns: 44px 1fr; } .dl-row .btn { grid-column: 1 / -1; } }
.line-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-variant-numeric: tabular-nums; }
.line-row.total { border-top: 1px solid var(--line); padding-top: .8rem; font-weight: 800; font-size: 1.1rem; }
.meta-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .9rem; }
.badge-st { font-size: .75rem; font-weight: 800; padding: .25rem .6rem; border-radius: 99px; background: var(--cream); }
.badge-st.paid { background: #e3f0e6; color: var(--ok); }
.help { background: var(--cream); border-radius: var(--radius); padding: 1.1rem 1.25rem; font-size: .95rem; color: var(--ink-2); }
.help ul { margin: .5rem 0 0 1.1rem; display: grid; gap: .3rem; }
.actions-c { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* treść */
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--ink); max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); font-weight: 600; margin-top: 2em; line-height: 1.15; }
.prose h3 { font-size: 1.2rem; font-weight: 800; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .4em; }
.prose a { color: var(--green-2); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; }
.prose th { background: var(--cream); }
.prose img { border-radius: 12px; }
.prose blockquote { border-left: 4px solid var(--gold); padding: .2rem 0 .2rem 1rem; color: var(--ink-2); }
.article { max-width: 760px; margin-inline: auto; }
.article h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3.3rem); font-weight: 600; line-height: 1.05; }
.article-hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 18px; margin: 1.5rem 0; }
.summary-box { background: var(--green-soft); border-radius: 14px; padding: 1rem 1.2rem; margin-top: 1.25rem; }
.posts { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card > div { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .5rem; align-content: start; }
.post-card time { font-size: .82rem; color: var(--muted); font-weight: 700; }
.post-card h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
.post-card p { color: var(--ink-2); font-size: .95rem; }
.post-card .more { color: var(--green-2); font-weight: 700; font-size: .92rem; }
.related-products { margin-top: 3rem; display: grid; gap: 1rem; background: var(--cream); border-radius: 22px; padding: 1.5rem; }
.related-products .grid-cards { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* kontakt */
.contact-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr .8fr; gap: 2.5rem; } }
.contact-grid textarea { min-height: 160px; }
.flash { padding: .9rem 1rem; border-radius: 12px; background: var(--green-soft); color: var(--green); font-weight: 600; }
.hidden { display: none !important; }

/* cookies */
.cookies { position: fixed; z-index: 85; left: 1rem; right: 1rem; bottom: 1rem; max-width: 520px; background: var(--ink); color: #eae4d6; border-radius: 16px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow-lg); display: none; gap: .8rem; font-size: .92rem; }
.cookies.is-open { display: grid; }
.cookies a { color: var(--gold-light); }
.cookies .row { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookies button { min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / .3); background: transparent; color: #fff; font-weight: 700; cursor: pointer; }
.cookies button.primary { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.foot-link-btn { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; }
.foot-link-btn:hover { color: #fff; text-decoration: underline; }

/* ---------- Hero visual v2: jeden panel ze zdjęciem, okładka na środku, cena w rogu ---------- */
.hv { position: relative; isolation: isolate; aspect-ratio: 4 / 4.6; width: 100%; max-width: 560px; justify-self: center; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.hv__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(38% 34% at 50% 44%, rgb(255 238 205 / .55), rgb(255 238 205 / .12) 60%, transparent 75%), linear-gradient(180deg, rgb(22 36 27 / .3) 0%, rgb(22 36 27 / .5) 55%, rgb(18 30 22 / .86) 100%); }
@media (max-width: 559px) { .hv__chips li:nth-child(3) { display: none; } }
.hv__book { width: 46%; margin-top: -6%; transform: perspective(1200px) rotateY(-10deg) rotateX(2deg); transition: transform .6s var(--ease); filter: drop-shadow(0 30px 34px rgb(0 0 0 / .45)); }
.hv:hover .hv__book { transform: perspective(1200px) rotateY(-4deg) rotateX(1deg); }
.hv__book img { width: 100%; height: auto; border-radius: 3px 8px 8px 3px; display: block; }
.hv__book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6%; z-index: 1; border-radius: 3px 0 0 3px; background: linear-gradient(90deg, rgb(0 0 0 / .45), rgb(255 255 255 / .12) 55%, rgb(0 0 0 / .12)); }
.hv__book { position: relative; }
.hv__price { position: absolute; top: 18px; right: 18px; background: var(--paper); border-radius: 16px; padding: .7rem .95rem .75rem; display: grid; gap: .25rem; box-shadow: 0 12px 30px -10px rgb(0 0 0 / .45); }
.hv__tag { justify-self: start; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cta-ink); background: var(--cta); border-radius: 999px; padding: .2rem .55rem; white-space: nowrap; }
.hv__amount { display: flex; align-items: baseline; gap: .45rem; font-variant-numeric: lining-nums tabular-nums; }
.hv__amount strong { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--ink); }
.hv__amount s { color: var(--muted); font-weight: 700; font-size: .95rem; }
.hv__chips { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; padding: 0 1rem; list-style: none; }
.hv__chips li { display: inline-flex; align-items: center; gap: .4rem; background: rgb(255 253 248 / .14); color: #f4efe4; border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: .4rem .75rem; font-size: .82rem; font-weight: 700; }
.hv__chips svg { width: 16px; height: 16px; color: var(--gold-light); }
@media (max-width: 559px) {
  .hv { aspect-ratio: 4 / 4.4; border-radius: 22px; }
  .hv__book { width: 50%; }
  .hv__price { top: 12px; right: 12px; padding: .55rem .75rem .6rem; }
  .hv__amount strong { font-size: 1.6rem; }
  .hv__chips { bottom: 12px; }
  .hv__chips li { font-size: .76rem; padding: .32rem .6rem; }
}
@media (prefers-reduced-motion: reduce) { .hv__book, .hv:hover .hv__book { transform: none; } }

/* ---------- Hero v3: czysty mockup e-booka (okładka 3D + 2 strony ze środka), bez zdjęcia ---------- */
.mk { position: relative; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1 / 1; border-radius: 32px;
  background: radial-gradient(60% 55% at 50% 42%, #fffdf7 0%, #f6efe1 55%, #ece2cd 100%); box-shadow: inset 0 0 0 1px rgb(214 202 178 / .6); overflow: hidden; }
.mk::before { content: ""; position: absolute; inset: auto -10% -35% -10%; height: 60%; background: radial-gradient(50% 50% at 50% 50%, rgb(183 138 62 / .14), transparent 70%); }
.mk__stage { position: absolute; inset: 0; display: grid; place-items: center; }
.mk__page { position: absolute; width: 34%; border-radius: 4px; background: #fff; box-shadow: 0 18px 40px -16px rgb(24 36 28 / .45), 0 2px 6px rgb(24 36 28 / .08); top: 27%; }
.mk__page--l { left: 12%; transform: rotate(-9deg); }
.mk__page--r { right: 12%; transform: rotate(8deg); }
.mk__book { position: relative; z-index: 2; width: 42%; margin-top: 4%; transform: perspective(1400px) rotateY(-14deg); transform-origin: 40% 50%; transition: transform .6s var(--ease);
  /* krawędź stron po prawej */
  box-shadow: 2px 1px 0 #f4efe4, 4px 2px 0 #e7dfcf, 6px 3px 0 #f4efe4, 8px 4px 0 #ddd3bf, 10px 5px 0 #efe8da, 26px 30px 40px -14px rgb(24 36 28 / .55);
  border-radius: 2px 6px 6px 2px; }
.mk:hover .mk__book { transform: perspective(1400px) rotateY(-7deg); }
.mk__book img { display: block; width: 100%; height: auto; border-radius: 2px 6px 6px 2px; }
.mk__book::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, rgb(0 0 0 / .42), rgb(255 255 255 / .14) 55%, rgb(0 0 0 / .1)); }
.mk__book::after { content: ""; position: absolute; inset: 0; border-radius: 2px 6px 6px 2px; background: linear-gradient(110deg, rgb(255 255 255 / .2), transparent 38%); }
.mk__floor { position: absolute; z-index: 1; bottom: 13%; left: 50%; width: 46%; height: 18px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(24 36 28 / .28), transparent); filter: blur(2px); }
.mk__price { position: absolute; z-index: 3; top: 22px; left: 22px; background: #fff; border-radius: 16px; padding: .75rem 1rem .8rem; display: grid; gap: .3rem; box-shadow: 0 14px 30px -14px rgb(24 36 28 / .4), 0 0 0 1px rgb(214 202 178 / .6); }
.mk__tag { justify-self: start; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.mk__amount { display: flex; align-items: baseline; gap: .5rem; font-variant-numeric: lining-nums tabular-nums; }
.mk__amount strong { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--ink); }
.mk__amount s { color: var(--muted); font-weight: 700; font-size: .95rem; }
@media (max-width: 559px) {
  .mk { border-radius: 24px; }
  .mk__price { top: 14px; left: 14px; padding: .55rem .8rem .6rem; }
  .mk__amount strong { font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) { .mk__book, .mk:hover .mk__book { transform: none; } }
@media (max-width: 559px) {
  .mk__page { width: 38%; top: 30%; }
  .mk__page--l { left: 3%; transform: rotate(-10deg); }
  .mk__page--r { right: 3%; transform: rotate(9deg); }
  .mk__book { width: 46%; }
}

/* dokumenty: formularz odstąpienia (generowany przez legal_document_content) */
.prose .scaffold-legal-field { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: end; }
.prose .scaffold-legal-field-line { border-bottom: 1px solid var(--line-2); min-height: 1.4em; }
.prose .scaffold-legal-field-hint { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); }
.prose table { display: table; }
@media (max-width: 700px) { .prose table { display: block; } }

/* ---------- Hero v4 (wg wzoru): tablet z okładką, karta „Dobór knota”, cena, rząd cech ---------- */
.hero { background: radial-gradient(60% 70% at 78% 40%, #f3e9d6 0%, rgb(248 243 233 / .6) 45%, transparent 75%), var(--paper); }
.hero::before { display: none; }
.hx { display: grid; gap: 1.6rem; width: 100%; max-width: 620px; justify-self: center; }
.hx__scene { position: relative; aspect-ratio: 1 / .92; }
.hx__scene::before { content: ""; position: absolute; inset: 8% 4% 2% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 246 226 / .95), rgb(243 233 214 / .0)); }
.hx__scene::after { content: ""; position: absolute; left: 14%; right: 18%; bottom: 3%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgb(60 45 25 / .28), transparent); filter: blur(4px); }
.hx__card { position: absolute; z-index: 1; right: 0; top: 16%; width: 46%; background: #fffdf8; border-radius: 4px; padding: 7% 5% 6%; transform: rotate(4deg); box-shadow: 0 22px 40px -18px rgb(60 45 25 / .45), 0 1px 0 rgb(0 0 0 / .04); display: grid; gap: .6rem; }
.hx__card-title { font-family: var(--font-display); font-size: clamp(1.1rem, .9rem + .8vw, 1.6rem); font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: .6rem; }
.hx__card-title::after { content: ""; flex: 1; height: 1.5px; background: var(--gold); opacity: .7; }
.hx__card img { width: 100%; height: auto; border-radius: 2px; }
.hx__tablet { position: absolute; z-index: 2; left: 8%; top: 6%; width: 52%; aspect-ratio: 900 / 1274; padding: 3.2%; border-radius: 9% / 6.5%; background: linear-gradient(145deg, #3a3a38, #141413 55%, #2b2b29); transform: rotate(-5deg); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .12), 0 40px 60px -24px rgb(40 30 15 / .6), 0 10px 18px -8px rgb(40 30 15 / .35); }
.hx__tablet::before { content: ""; position: absolute; top: 1.4%; left: 50%; width: 3%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: #2a2a2a; box-shadow: inset 0 0 0 1px #000; }
.hx__screen { position: relative; width: 100%; height: 100%; border-radius: 6.5% / 4.5%; overflow: hidden; background: var(--green); }
.hx__screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgb(255 255 255 / .16), transparent 35%); }
.hx__price { position: absolute; z-index: 3; top: 0; right: 2%; background: #fff; border-radius: 20px; padding: .8rem 1.1rem 1rem; display: grid; gap: .45rem; box-shadow: 0 18px 36px -16px rgb(60 45 25 / .45); }
.hx__tag { justify-self: start; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cta-ink); background: var(--cta); border-radius: 999px; padding: .3rem .75rem; }
.hx__amount { display: flex; align-items: baseline; gap: .55rem; font-variant-numeric: lining-nums tabular-nums; }
.hx__amount strong { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; line-height: 1; color: var(--ink); }
.hx__amount s { color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.hx__feats { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 0; list-style: none; }
.hx__feats li { display: inline-flex; align-items: center; gap: .55rem; padding: 0 1.2rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.hx__feats li + li { border-left: 1.5px solid var(--gold); }
.hx__feats svg { width: 22px; height: 22px; color: var(--ink-2); }
@media (max-width: 559px) {
  .hx__price { padding: .6rem .8rem .7rem; border-radius: 16px; }
  .hx__amount strong { font-size: 1.7rem; }
  .hx__amount s { font-size: 1rem; }
  .hx__tag { font-size: .62rem; }
  .hx__feats li { font-size: 1rem; padding: 0 .7rem; }
  .hx__feats svg { width: 18px; height: 18px; }
}
.hx__card { top: 24%; }
.hx__feats { flex-wrap: nowrap; }
.hx__feats li { font-size: 1.05rem; padding: 0 .9rem; white-space: nowrap; font-variant-numeric: lining-nums; }
@media (max-width: 559px) { .hx__feats li { font-size: .9rem; padding: 0 .55rem; gap: .35rem; } .hx__feats svg { width: 16px; height: 16px; } }
@media (max-width: 599px) {
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .pcard { padding: .75rem; gap: .5rem; }
  .pcard__cover { padding: .3rem .6rem 0; }
  .pcard p { display: none; }
  .pcard h3 { font-size: .95rem; }
  .pcard__foot { flex-direction: column; align-items: stretch; gap: .45rem; }
  .pcard__foot .btn { width: 100%; }
  .bump { grid-template-columns: 64px 1fr; gap: .8rem; padding: 1rem .9rem; }
  .bump img { width: 64px; }
  .bump__top { display: block; line-height: 1.35; }
  .bump__top input { display: inline-block; vertical-align: -5px; margin-right: .4rem; }
}

/* ---------- Oferta: zdjęcie w tle z zielonym overlayem + jasna kompozycja (tablet, strona, pliki) ---------- */
.offer-photo { position: relative; isolation: isolate; overflow: hidden; }
.offer-photo__bg { position: absolute; inset: 0; z-index: -1; }
.offer-photo__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.offer-photo__bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 45% at 22% 55%, rgb(227 196 138 / .16), transparent 70%),
              linear-gradient(180deg, rgb(22 36 27 / .82) 0%, rgb(22 36 27 / .88) 50%, rgb(18 30 22 / .95) 100%); }
.ox { position: relative; width: 100%; max-width: 480px; justify-self: center; aspect-ratio: 1 / 1.02; }
.ox::before { content: ""; position: absolute; inset: 4% 0 8% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 241 212 / .42), rgb(255 241 212 / .1) 60%, transparent); }
.ox__page { position: absolute; z-index: 1; right: 4%; top: 6%; width: 50%; border-radius: 4px; background: #fff; transform: rotate(7deg); box-shadow: 0 26px 46px -18px rgb(0 0 0 / .65); }
.ox__tablet { left: 6%; top: 3%; width: 54%; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .28), 0 0 0 1px rgb(255 255 255 / .06), 0 40px 60px -22px rgb(0 0 0 / .75); }
.ox__files { position: absolute; z-index: 3; left: 50%; bottom: 0; translate: -50% 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none; width: max-content; max-width: 100%; }
.ox__files li { display: inline-flex; align-items: center; gap: .5rem; background: var(--paper); color: var(--ink); border-radius: 12px; padding: .45rem .7rem .45rem .45rem; font-weight: 700; font-size: .85rem; box-shadow: 0 12px 24px -12px rgb(0 0 0 / .6); white-space: nowrap; }
.ox__ext { font-size: .66rem; font-weight: 800; letter-spacing: .06em; color: #fff; background: #b4372b; border-radius: 6px; padding: .28rem .4rem; }
.ox__ext--x { background: #1f7a45; }
@media (max-width: 959px) { .ox { max-width: 400px; } }
@media (max-width: 559px) { .ox__files li { font-size: .78rem; padding: .35rem .55rem .35rem .35rem; } .ox { aspect-ratio: 1 / 1.08; } }
.ox::before { inset: -2% -6% 6% -6%; background: radial-gradient(closest-side, rgb(255 238 205 / .62), rgb(255 238 205 / .22) 55%, transparent 100%); filter: blur(6px); }
.ox__tablet { box-shadow: inset 0 0 0 2px rgb(255 255 255 / .38), 0 0 0 1px rgb(0 0 0 / .4), 0 40px 60px -22px rgb(0 0 0 / .75); background: linear-gradient(145deg, #4a4a47, #1c1c1b 55%, #3a3a37); }
.ox__files { flex-wrap: nowrap; bottom: 2%; }
@media (max-width: 420px) { .ox__files { flex-wrap: wrap; } }
.toc-box { margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: .98rem; }
.toc-box ol { margin: .5rem 0 0 1.2rem; display: grid; gap: .3rem; }
.toc-box a { color: var(--green-2); }
.prose h2[id], .prose h3[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose ol ol { list-style: lower-alpha; margin-top: .45em; padding-left: 1.4em; gap: .25em; }
.prose li > ol { margin-bottom: .2em; }
.prose ol ol > li::marker { content: counter(list-item, lower-alpha) ") "; }

/* ---------- Regulamin: załącznik — wzór formularza odstąpienia ---------- */
.prose .scaffold-legal-appendix { margin-top: 3rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow-sm); }
.prose .scaffold-legal-appendix > * + * { margin-top: 1rem; }
.prose .scaffold-legal-appendix h2 { margin-top: 0; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); }
.prose .scaffold-legal-appendix-note { font-size: .92rem; color: var(--muted); font-style: italic; }
.prose .scaffold-legal-appendix-address { background: var(--cream); border-radius: 12px; padding: .9rem 1.1rem; line-height: 1.6; font-size: .98rem; }
.prose .scaffold-legal-appendix-address strong { display: inline-block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .2rem; }
.prose .scaffold-legal-appendix-intro { font-weight: 500; }
.prose .scaffold-legal-field { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .25rem .75rem; margin-top: 1.15rem; }
.prose .scaffold-legal-field-label { font-weight: 600; font-size: .98rem; flex: 0 1 auto; }
.prose .scaffold-legal-field-hint { order: 3; flex-basis: 100%; font-size: .85rem; color: var(--muted); margin-top: -.1rem; }
.prose .scaffold-legal-field-line { flex: 1 1 220px; min-height: 1.6em; border-bottom: 1.5px dotted var(--line-2); grid-column: auto; }
.prose .scaffold-legal-appendix-footnote { margin-top: 1.5rem !important; font-size: .85rem; color: var(--muted); }
@media print { .prose .scaffold-legal-appendix { box-shadow: none; border: 0; padding: 0; } }


/* ---------- HERO v5: scena-zdjęcie (wg referencji) + nowy znacznik promocji ---------- */
.hx { max-width: 660px; gap: 1.1rem; }
.hx__scene--photo { aspect-ratio: 856 / 655; }
.hx__scene--photo::before, .hx__scene--photo::after { display: none; }
.hx__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-mask-image: radial-gradient(120% 115% at 62% 45%, #000 62%, transparent 92%);
          mask-image: radial-gradient(120% 115% at 62% 45%, #000 62%, transparent 92%); }
.hx__deal { position: absolute; z-index: 3; top: 1%; right: 0; display: grid; gap: .3rem; padding: .7rem 1rem .75rem 1.05rem;
  background: rgb(255 253 248 / .94); border: 1px solid rgb(183 138 62 / .45); border-radius: 14px;
  box-shadow: 0 18px 36px -20px rgb(60 45 25 / .55), inset 0 0 0 3px rgb(255 253 248), inset 0 0 0 4px rgb(183 138 62 / .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-variant-numeric: lining-nums tabular-nums; }
.hx__deal-top { display: inline-flex; align-items: center; gap: .45rem; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.hx__deal-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 3px rgb(227 160 60 / .22); }
.hx__deal-price { display: flex; align-items: baseline; gap: .55rem; }
.hx__deal-price strong { font-family: var(--font-display); font-size: 2.35rem; font-weight: 700; line-height: .95; color: var(--green); }
.hx__deal-price s { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--muted); text-decoration-thickness: 1.5px; }
.hx__deal-note { font-size: .74rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 559px) {
  .hx__deal { top: -2%; padding: .5rem .7rem .55rem; border-radius: 12px; gap: .2rem; }
  .hx__deal-top { font-size: .58rem; letter-spacing: .12em; }
  .hx__deal-price strong { font-size: 1.7rem; }
  .hx__deal-price s { font-size: .95rem; }
  .hx__deal-note { font-size: .64rem; }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
  .hx { max-width: none; margin-right: calc(-1 * clamp(0rem, 4vw - 1rem, 4rem)); }
}
.hx__scene--photo { margin-top: clamp(2.6rem, 1.8rem + 2vw, 3.6rem); }
.hx__deal { top: auto; bottom: 100%; right: 6%; translate: 0 38%; grid-template-columns: auto auto; column-gap: .9rem; align-items: center; }
.hx__deal-top { grid-column: 1 / -1; }
.hx__deal-price { grid-column: 1; }
.hx__deal-note { grid-column: 2; max-width: 9.5rem; line-height: 1.3; padding-left: .9rem; border-left: 1px solid rgb(183 138 62 / .35); }
@media (max-width: 559px) {
  .hx__scene--photo { margin-top: 2.6rem; }
  .hx__deal { right: 2%; translate: 0 45%; column-gap: .6rem; }
  .hx__deal-note { max-width: 7.2rem; padding-left: .6rem; }
}
.hx__photo {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 84%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.04fr .96fr; }
  .hx { margin-right: calc(-1 * clamp(0rem, 7vw - 2.5rem, 6rem)); }
}


/* ---------- blog: long-form blocks (batch 2) ---------- */
.prose .key-box { margin: 1.6rem 0; padding: 1.1rem 1.3rem; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); }
.prose .key-box strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--green); margin-bottom: .4rem; }
.prose .key-box ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.prose .post-cta { margin: 2rem 0; padding: 1.3rem 1.4rem; border-radius: 18px; background: var(--green); color: #f3efe6; display: grid; gap: .6rem; justify-items: start; }
.prose .post-cta p { margin: 0; color: rgb(243 239 230 / .88); }
.prose .post-cta .post-cta__title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--gold-light); line-height: 1.15; }
.prose .post-cta .btn { color: var(--cta-ink); text-decoration: none; margin-top: .2rem; }
.prose .read-also { margin: 2.2rem 0 0; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.prose .read-also strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .5rem; }
.prose .read-also ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.prose .read-also a { color: var(--green-2); font-weight: 600; }

/* blog list: banners are 1600x900 — show them whole */
.post-card img { aspect-ratio: 16/9; object-fit: cover; object-position: center; height: auto; display: block; background: var(--green); }
