/* Wygląd "Flow": krem, szałwia i oliwka, Instrument Serif + Inter Tight. Wzorzec: preview/ranking-flow.html */
:root {
    --cream: #ffffff;
    --cream-2: #f5f6f3;
    --paper: #ffffff;
    --line: #e7e9e4;
    --ink: #1f231d;
    --text: #575b52;
    --muted: #7f8278;
    --sage: #b7c3a8;
    --sage-2: #dfe5d6;
    --olive: #5d6a4b;
    --olive-dark: #2f3829;
    --taupe: #c4b39a;
    --beige: #ebe2d1;
    --sky: #a9c1d1;
    --sky-2: #dde7ee;
    --lav: #c9c4d7;
    --lav-2: #e4e1ec;
    --peach: #dcb79b;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: 'Inter Tight', 'Inter', system-ui, sans-serif;
    --body: 'Inter', system-ui, sans-serif;
}

body { background: var(--cream); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
svg { display: block; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--ink); color: var(--cream); border: 0; border-radius: 999px; padding: 7px 7px 7px 20px; font: 500 .9rem/1 var(--body); cursor: pointer; white-space: nowrap; transition: background .2s; }
.pill:hover { background: #000; }
.pill__ic { width: 32px; height: 32px; border-radius: 50%; background: rgba(251, 247, 239, .16); display: grid; place-items: center; flex-shrink: 0; }
.pill__ic svg { width: 16px; height: 16px; }
.pill--sm { padding: 5px 5px 5px 16px; font-size: .82rem; gap: 10px; }
.pill--sm .pill__ic { width: 28px; height: 28px; }
.pill--block { width: 100%; justify-content: space-between; }
.pill--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 11px 20px; }
.pill--ghost:hover { background: var(--ink); color: var(--cream); }
.pill--light { background: var(--cream); color: var(--ink); }
.pill--light:hover { background: #fff; }
.pill--light .pill__ic { background: rgba(31, 35, 29, .1); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.admin-bar .nav { top: 32px; }
.nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.nav__group { display: flex; align-items: center; gap: 26px; font-size: .86rem; color: var(--ink); }
.nav__group .jo-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__group a:not(.pill):hover, .nav__group .current-menu-item > a { color: var(--olive); }
.nav__group--end { justify-content: flex-end; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 600 1.15rem/1 var(--sans); letter-spacing: -.01em; }
.logo em { font: 400 1.35rem/1 var(--serif); font-style: italic; margin-right: 1px; }
.logo__text { text-transform: lowercase; }
.logo__mark { width: 22px; height: 22px; color: var(--olive); }
.logo img { max-height: 40px; width: auto; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); place-items: center; cursor: pointer; justify-self: end; }
.mnav { display: none; }
.nav.is-open .mnav { display: flex; flex-direction: column; gap: 4px; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); }
.mnav .jo-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mnav a:not(.pill) { display: block; padding: 10px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.mnav .pill { margin-top: 12px; align-self: flex-start; }

/* Hero */
.hero { padding: 64px 0 76px; text-align: center; overflow: hidden; }
.crumbs { margin: 0 0 14px; font-size: .82rem; color: var(--muted); }
.crumbs a { color: var(--text); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: '/'; margin-right: 6px; }
.crumbs a:hover { color: var(--olive); }
.hero__kicker { font: 400 clamp(2.3rem, 5vw, 3.7rem)/1.05 var(--serif); color: var(--ink); margin: 0; }
.hero h1 { font: 600 clamp(2.05rem, 4.5vw, 3.45rem)/1.08 var(--sans); letter-spacing: -.025em; margin: 6px auto 20px; }
.hero__lead { max-width: 46ch; margin: 0 auto 28px; font-size: 1rem; }
.hero__note { margin: 14px 0 0; font-size: .78rem; color: var(--muted); }
.hero__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Arc of cards */
.arc { --w: 200px; --h: 270px; --R: 950px; --Z: 700px; --step: 12.5deg; position: relative; height: calc(var(--h) * 1.22); margin-top: 48px; perspective: 1000px; }
.arc__ring { position: absolute; inset: 0; transform-style: preserve-3d; }
.acard { position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); border-radius: 18px; overflow: hidden; background: var(--c); color: var(--ink); transform: translateZ(var(--Z)) rotateY(calc(var(--k) * -1 * var(--step))) translateZ(calc(var(--R) * -1)); }
.acard svg.acard__bg { width: 100%; height: 100%; }
.acard--model::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 58%, rgba(255, 253, 248, .6), transparent 62%); }
.acard__p { position: absolute; left: 50%; bottom: 15%; width: 44%; aspect-ratio: 100 / 170; transform: translateX(-50%); }
.acard__num, .acard__score { position: absolute; top: 12px; border-radius: 999px; padding: 6px 9px; font: 600 .74rem/1 var(--sans); }
.acard__num { left: 12px; background: rgba(255, 253, 248, .92); }
.acard__score { right: 12px; background: var(--ink); color: var(--cream); }
.acard__name { position: absolute; left: 10px; right: 10px; bottom: 11px; font: 600 .76rem/1.2 var(--sans); text-align: center; }
.acard--top { box-shadow: inset 0 0 0 3px var(--paper); }
/* Ilustracje poglądowe z wtyczki (zdjęcie na całą kartę) – jak we wzorcu preview/ranking-flow.html */
.acard__img, .mcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acard--photo::before { display: none; }
.acard--top.acard--photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--paper); pointer-events: none; }
.acard--photo .acard__name { text-shadow: 0 0 10px rgba(255, 255, 255, .85); }
/* Zdjęcia produktów z wtyczki (przezroczysty WebP, produkt przy dolnej krawędzi) i obrazki wyróżniające */
.acard__product { position: absolute; left: 50%; bottom: 8%; width: 80%; height: 80%; object-fit: contain; object-position: 50% 100%; transform: translateX(-50%); filter: drop-shadow(0 10px 12px rgba(31, 35, 29, .16)); }
img.acard__product--wp, img.mcard__product--wp { mix-blend-mode: multiply; filter: none; }

/* Features under the arc */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 40px auto 0; }
.feat { padding: 4px 30px; }
.feat + .feat { border-left: 1px solid var(--line); }
.feat strong { display: block; font: 600 1rem/1.3 var(--sans); color: var(--ink); margin-bottom: 6px; }
.feat p { margin: 0; font-size: .84rem; }

/* Section heads */
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.sec-head h2 { font: 600 clamp(1.85rem, 3.4vw, 2.6rem)/1.15 var(--sans); letter-spacing: -.02em; margin: 0 0 14px; }
.sec-head .kicker { font: 400 1.6rem/1 var(--serif); font-style: italic; color: var(--olive); margin: 0 0 8px; }
.lead { margin: 0; font-size: 1rem; }

/* Bento */
.needs { padding: 110px 0 96px; scroll-margin-top: 68px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bcard { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 310px; padding: 26px; border-radius: 22px; overflow: hidden; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.bcard:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(31, 35, 29, .55); }
.bcard.is-active { box-shadow: 0 0 0 3px var(--olive); }
.bcard__art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 70% 50%); transition: transform .6s ease; }
.bcard:hover .bcard__art { transform: scale(1.03); }
.bcard::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bcard h3 { font: 600 1.4rem/1.2 var(--sans); color: inherit; margin: 0 0 6px; }
.bcard p { margin: 0; font-size: .88rem; max-width: 36ch; }
.bcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .85rem; }
.bcard__more svg { width: 15px; height: 15px; }
.bcard--photo { grid-column: span 8; color: var(--paper); }
.bcard--photo::after { background: linear-gradient(180deg, rgba(31, 35, 29, 0) 36%, rgba(31, 35, 29, .7) 100%), linear-gradient(90deg, rgba(31, 35, 29, .36) 0%, rgba(31, 35, 29, 0) 55%); }
.bcard--beige { grid-column: span 4; background: var(--beige); }
.bcard--beige::after { background: linear-gradient(28deg, var(--beige) 0%, rgba(235, 226, 209, .86) 36%, rgba(235, 226, 209, 0) 66%); }
.bcard--taupe { grid-column: span 4; background: var(--taupe); }
.bcard--taupe::after { background: linear-gradient(28deg, var(--taupe) 0%, rgba(196, 179, 154, .86) 36%, rgba(196, 179, 154, 0) 66%); }
.bcard--olive { grid-column: span 8; background: var(--olive); color: var(--cream); }
.bcard--olive::after { background: linear-gradient(90deg, var(--olive) 0%, rgba(93, 106, 75, .9) 34%, rgba(93, 106, 75, 0) 66%); }
.bento__more { margin: 22px 0 0; text-align: center; font-size: .92rem; }
.bento__more a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Ranking */
.ranking { padding: 100px 0; background: var(--cream-2); scroll-margin-top: 68px; }
.tldr { max-width: 860px; margin: 0 auto 36px; padding: 22px 28px; border-radius: 24px; background: var(--sage-2); color: var(--ink); }
.tldr h3 { margin: 0 0 10px; font: 600 1.05rem/1.3 var(--sans); }
.tldr ul { margin: 0; padding-left: 1.1em; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; font-size: .92rem; }
.tldr a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 22px; }
.seg { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.seg__label { font-size: .78rem; color: var(--muted); padding: 0 8px 0 12px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; font-size: .84rem; color: var(--ink); cursor: pointer; }
.seg button:hover { background: var(--cream-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.status { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; font-size: .86rem; }
.status p { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--sage-2); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 500; cursor: pointer; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mcard { display: grid; grid-template-columns: 180px minmax(0, 1fr) 220px; gap: 0 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 20px; scroll-margin-top: 92px; transition: box-shadow .3s; }
.mcard.is-flash { box-shadow: 0 0 0 3px var(--olive); }
.mcard__media { position: relative; display: grid; place-items: center; min-height: 200px; border-radius: 18px; background: var(--c); overflow: hidden; }
.mcard__media::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, rgba(255, 253, 248, .6), transparent 62%); }
.mcard__media svg { position: relative; width: 82px; height: 140px; }
/* Zdjęcie produktu (wtyczka) albo obrazek wyróżniający; ten drugi stapia białe tło z kolorem karty (--wp wyżej). */
.mcard__product { position: relative; width: auto; height: auto; max-width: 82%; max-height: 230px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(31, 35, 29, .16)); }
.mcard__media--photo::before { display: none; }
.mcard__note { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, .82); color: var(--ink); font: 500 .62rem/1 var(--sans); }
.mcard__num { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 6px 10px; font: 600 .8rem/1 var(--sans); }
.mcard__body { padding: 4px 0; min-width: 0; }
.mcard__top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.brand { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.badge { font-size: .7rem; font-weight: 600; border-radius: 999px; padding: 4px 10px; background: var(--beige); color: var(--ink); }
.badge--top { background: var(--olive); color: var(--cream); }
.mcard__title { font: 600 1.45rem/1.15 var(--sans); letter-spacing: -.01em; margin: 0 0 12px; }
.mcard__title a:hover { color: var(--olive); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.chips li { font-size: .72rem; border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 4px 10px; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.specs div { padding: 0 14px; border-left: 1px solid var(--line); }
.specs div:first-child { padding-left: 0; border-left: 0; }
.specs dt { font-size: .72rem; color: var(--muted); }
.specs dd { margin: 2px 0 0; font: 600 .98rem/1.3 var(--sans); color: var(--ink); white-space: nowrap; }
.mcard__side { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding-left: 24px; border-left: 1px solid var(--line); }
.score { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 4px; }
.score b { font: 400 3.2rem/1 var(--serif); color: var(--ink); }
.score span { font-size: .9rem; color: var(--muted); }
.score small { flex-basis: 100%; font-size: .74rem; color: var(--muted); }
.price { margin: 0; font: 600 1.2rem/1.2 var(--sans); color: var(--ink); }
.price__date { display: block; margin-top: 2px; font: 400 .72rem/1.3 var(--body); color: var(--muted); }
.mcard__parts { margin: -6px 0 0; font-size: .74rem; color: var(--muted); }
.mcard__cost { margin: -6px 0 0; font-size: .78rem; color: var(--text); }
.mcard__src { margin: 12px 0 0; font-size: .74rem; color: var(--muted); }
.mcard__src a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.mcard__src a:hover { color: var(--olive); }
.cmp { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 9px 14px; font-size: .82rem; color: var(--ink); cursor: pointer; user-select: none; }
.cmp input { width: 15px; height: 15px; margin: 0; accent-color: var(--olive); }
.mcard__quote { grid-column: 2 / -1; margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--cream); }
.mcard__quote p { margin: 0 0 8px; font: 400 1.15rem/1.4 var(--serif); font-style: italic; color: var(--ink); }
.mcard__quote footer { font-size: .78rem; color: var(--muted); }
.mcard__quote footer b { color: var(--ink); font-weight: 600; }
.pc { grid-column: 2 / -1; margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.pc summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--olive); }
.pc summary::-webkit-details-marker { display: none; }
.pc summary::after { content: '+'; font-size: 1.1rem; line-height: 1; }
.pc[open] summary::after { content: '–'; }
.pc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
.pc h4 { font: 600 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.pc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: .88rem; color: var(--ink); }
.pc li { display: flex; gap: 8px; }
.pc li::before { flex-shrink: 0; font-weight: 700; }
.pc__plus li::before { content: '+'; color: var(--olive); }
.pc__minus li::before { content: '–'; color: #a4583d; }
.empty { text-align: center; padding: 36px 0 8px; }
.empty p { margin: 0 0 14px; color: var(--ink); }

/* Results */
.results { padding: 100px 0; scroll-margin-top: 68px; }
.stats { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats li { display: flex; flex-direction: column; background: var(--c); border-radius: 20px; padding: 22px 22px 20px; }
.stats b { font: 400 2.6rem/1 var(--serif); color: var(--ink); margin-bottom: 12px; white-space: nowrap; }
.stats span { font-weight: 600; color: var(--ink); font-size: .9rem; }
.stats small { font-size: .8rem; }
.compare__reset { margin: 0 auto 16px; display: flex; }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.table-wrap table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: .88rem; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--cream-2); color: var(--ink); font-weight: 600; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody td:nth-child(2) a { color: var(--ink); font-weight: 600; }
.table-wrap tbody td:nth-child(2) a:hover { color: var(--olive); }
.tscore { display: inline-block; background: var(--sage-2); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-weight: 600; }

/* Guide (treść strony z edytora) */
.guide { padding: 100px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 68px; }
.guide__in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1060px; margin: 0 auto; }
.guide__in--single { grid-template-columns: minmax(0, 1fr); }
.guide__in--single .entry { margin: 0 auto; }
.toc { position: sticky; top: 92px; font-size: .86rem; }
.admin-bar .toc { top: 124px; }
.toc h2 { font: 600 .74rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink); }
.toc a:hover { color: var(--olive); border-left-color: var(--olive); }

.entry { max-width: 700px; color: var(--text); font-size: 1rem; line-height: 1.75; }
.entry > * { margin-top: 0; margin-bottom: 0; }
.entry > * + * { margin-top: 1em; }
.entry h2 { font: 600 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--sans); letter-spacing: -.02em; margin-top: 2.2em; scroll-margin-top: 92px; }
.entry h2:first-child { margin-top: 0; }
.entry h3 { font: 600 1.15rem/1.3 var(--sans); margin-top: 1.6em; scroll-margin-top: 92px; }
.entry strong { color: var(--ink); font-weight: 600; }
.entry a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li + li { margin-top: .35em; }
/* Długie adresy źródeł nie mogą rozpychać strony na telefonie. */
.entry p, .entry li { overflow-wrap: anywhere; }
.entry table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--cream); }
.entry th, .entry td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.entry thead th { background: var(--cream-2); color: var(--ink); font-weight: 600; }
/* Tabele z edytora (blok „Tabela”) i cennik [jo_cennik] z wtyczki – ramka jak .table-wrap w rankingu. */
.entry .wp-block-table, .entry .table-wrap { margin: 1.4em 0 0; overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.entry .wp-block-table table, .entry .table-wrap table { min-width: 560px; background: none; }
/* Tabela z 1–2 kolumnami (np. w polityce prywatności) mieści się na telefonie bez przewijania w bok. */
.entry .wp-block-table table:not(:has(tr > :nth-child(3))) { min-width: 0; }
.entry .wp-block-table th, .entry .wp-block-table td, .entry .table-wrap th, .entry .table-wrap td { padding: 12px 16px; white-space: normal; }
.entry .wp-block-table tbody tr:last-child > *, .entry .table-wrap tbody tr:last-child > * { border-bottom: 0; }
.entry caption, .entry .wp-block-table figcaption { padding: 12px 18px; text-align: left; font-weight: 600; color: var(--ink); }
.jo-cennik { scroll-margin-top: 92px; }
.jo-cennik__lead { margin: 0 0 14px; font-weight: 500; color: var(--ink); }
.entry .jo-cennik .table-wrap { margin-top: 0; }
.entry .jo-cennik td { white-space: nowrap; }
/* „W skrócie” i „Spis treści” (nagłówki #w-skrocie, #spis-tresci z listą pod spodem) – ramki jak we wzorcu preview/pytania.html. */
.entry #w-skrocie, .entry #spis-tresci { letter-spacing: 0; }
.entry #w-skrocie { margin-top: 1.6em; padding: 22px 26px 0; border-radius: 22px 22px 0 0; background: var(--sage-2); font: 600 1.1rem/1.3 var(--sans); }
.entry #w-skrocie + ul { margin-top: 0; padding: 10px 26px 22px calc(26px + 1.1em); border-radius: 0 0 22px 22px; background: var(--sage-2); color: var(--ink); }
.entry #w-skrocie + ul li + li { margin-top: 6px; }
.entry #spis-tresci { margin-top: 24px; padding: 20px 26px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; background: var(--paper); font: 600 .95rem/1.2 var(--sans); }
.entry #spis-tresci + ol { margin-top: 0; padding: 12px 26px 20px calc(26px + 1.2em); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; background: var(--paper); columns: 2; column-gap: 32px; }
.entry #spis-tresci + ol li { break-inside: avoid; margin: 0 0 6px; }
.entry #spis-tresci + ol a { color: var(--text); text-decoration: none; }
.entry #spis-tresci + ol a:hover { color: var(--olive); }
.entry img { border-radius: 18px; height: auto; }
.entry blockquote { margin-left: 0; padding-left: 18px; border-left: 3px solid var(--sage); font: 400 1.3rem/1.4 var(--serif); font-style: italic; color: var(--ink); }

/* FAQ */
.faq { padding: 100px 0; background: var(--cream-2); scroll-margin-top: 68px; }
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: 600 1rem/1.35 var(--sans); margin: 0; }
.faq__ic { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; color: var(--ink); transition: transform .2s; }
.faq__ic svg { width: 14px; height: 14px; }
.faq details[open] .faq__ic { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; }

/* Footer */
.foot { background: var(--olive-dark); color: #cdd2c3; padding: 64px 0 28px; scroll-margin-top: 68px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot .logo { color: var(--cream); }
.foot .logo__mark { color: var(--sage); }
.foot__note { margin: 14px 0 0; font-size: .85rem; max-width: 38ch; }
.foot__title { margin: 0 0 12px; font: 600 .95rem/1.2 var(--sans); color: var(--cream); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.foot a:hover { color: var(--cream); }
.foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(251, 247, 239, .14); font-size: .8rem; }
.foot__cookies { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot__cookies:hover { color: var(--cream); }

/* Baner zgody na pliki cookies (inc/consent.php): karta przyklejona do dołu, position: fixed – nie przesuwa treści (CLS). */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 16px 28px; max-width: 880px; margin: 0 auto; padding: 18px 22px; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px -24px rgba(31, 35, 29, .45); font-size: .86rem; line-height: 1.55; }
.consent__text { flex: 1 1 auto; min-width: 0; }
.consent__text p { margin: 0; }
.consent__title { margin-bottom: 2px !important; font: 600 .95rem/1.3 var(--sans); color: var(--ink); }
.consent a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent__btn { min-width: 128px; min-height: 44px; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); font: 500 .9rem/1 var(--body); cursor: pointer; transition: background .2s; }
.consent__btn:hover { background: #000; }

/* Compare bar */
.cmpbar { position: fixed; left: 50%; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 14px; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 6px 6px 6px 20px; font-size: .88rem; box-shadow: 0 16px 40px -16px rgba(31, 35, 29, .6); transform: translate(-50%, 150%); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; }
.cmpbar.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

/* Zwykłe strony, wpisy, pojedynczy model */
.page-plain { padding: 64px 0 96px; }
.page-plain .wrap { max-width: 808px; }
.page-plain .crumbs ol { justify-content: flex-start; }
.page-plain h1 { font: 600 clamp(2rem, 4vw, 3rem)/1.1 var(--sans); letter-spacing: -.025em; margin: 0 0 28px; }
.page-plain .entry { max-width: 760px; }

/* Strona „Kontakt” (page-kontakt.php) */
.contact__kicker { margin: 0 0 8px; font: 400 1.5rem/1 var(--serif); font-style: italic; color: var(--olive); }
.page-plain.contact h1 { margin-bottom: 14px; }
.contact__lead { margin: 0 0 32px; max-width: 60ch; font-size: 1.05rem; }
.mailcard { padding: 30px 32px; border-radius: 28px; background: radial-gradient(circle at 100% 0, rgba(183, 195, 168, .22), transparent 55%), var(--olive-dark); color: #e9eee2; }
.mailcard__label { margin: 0 0 8px; font: 400 1.35rem/1.1 var(--serif); font-style: italic; color: var(--sage); }
.mailcard__addr { display: inline-block; max-width: 100%; color: #fff; font: 600 clamp(1.35rem, 4.4vw, 2.3rem)/1.15 var(--sans); letter-spacing: -.02em; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 6px; }
.mailcard__addr:hover { text-decoration-color: currentColor; }
.mailcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.pill--outline-light { background: transparent; color: #e9eee2; border: 1px solid rgba(233, 238, 226, .45); padding: 11px 20px; }
.pill--outline-light:hover { background: rgba(233, 238, 226, .12); }
.pill--outline-light.is-done { border-color: var(--sage); color: var(--sage); }
.mailcard__status { font-size: .85rem; color: var(--sage); }
.contact__topics-h { margin: 48px 0 16px; font: 600 1.35rem/1.2 var(--sans); letter-spacing: -.01em; }
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.topic { display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: 22px; background: var(--c); color: var(--ink); }
.topic h3 { margin: 0 0 8px; font: 600 1.05rem/1.25 var(--sans); }
.topic p { margin: 0 0 16px; font-size: .9rem; line-height: 1.55; color: var(--text); }
.topic__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--ink); font-size: .86rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.topic__link svg { width: 14px; height: 14px; }
.contact__entry { margin-top: 48px; }
.post-list { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.post-card h2 { font: 600 1.3rem/1.25 var(--sans); margin: 0; }
.post-card h2 a:hover { color: var(--olive); }
.post-card__meta { margin: 6px 0 8px; font-size: .8rem; color: var(--muted); }
.post-card__meta a { color: var(--ink); }
.post-card__excerpt p { margin: 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.nav-links .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; display: inline-grid; place-items: center; color: var(--ink); background: var(--paper); }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.single-model { padding: 40px 0 96px; background: var(--cream-2); }
.single-model .crumbs ol { justify-content: flex-start; }
.single-model .entry { margin: 40px auto 0; }
.single-model__back { margin-top: 28px; font-size: .9rem; }
.single-model__back a { color: var(--olive); font-weight: 600; }

/* Responsive */
@media (max-width: 1000px) {
    .mcard { grid-template-columns: 150px minmax(0, 1fr); }
    .mcard__side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .mcard__side .pill--block { width: auto; flex: 1 1 200px; }
    .score small { flex-basis: auto; }
    .pc, .mcard__quote { grid-column: 1 / -1; }
    .mcard__parts, .mcard__cost { flex-basis: 100%; text-align: center; margin-top: -8px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .guide__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .toc { position: static; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
}
@media (max-width: 900px) {
    .nav__in { grid-template-columns: 1fr auto; }
    .nav__group { display: none; }
    .burger { display: grid; }
    .arc { --w: 150px; --h: 202px; --R: 712px; --Z: 525px; perspective: 750px; }
    .acard__num, .acard__score { font-size: .66rem; padding: 5px 7px; top: 9px; }
    .acard__num { left: 9px; }
    .acard__score { right: 9px; }
    .acard__name { font-size: .66rem; }
    .bcard--photo, .bcard--olive { grid-column: span 12; }
    .bcard--beige, .bcard--taupe { grid-column: span 6; }
    .foot__grid { grid-template-columns: 1fr 1fr; }
    .foot__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
    .admin-bar .nav { top: 46px; }
}
@media (max-width: 760px) {
    .tldr { padding: 18px 20px; }
    .tldr ul { grid-template-columns: 1fr; }
    .entry #w-skrocie, .entry #spis-tresci { padding: 18px 20px 0; }
    .entry #w-skrocie + ul { padding: 8px 20px 18px calc(20px + 1.1em); }
    .entry #spis-tresci + ol { padding: 10px 20px 18px calc(20px + 1.2em); columns: 1; }
    .topics { grid-template-columns: 1fr; }
    .mailcard { padding: 24px 22px; border-radius: 22px; }
    .contact__topics-h { margin-top: 40px; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .nav.is-open .mnav { padding: 8px 16px 20px; }
    .hero { padding: 40px 0 56px; }
    .hero__lead { font-size: .95rem; }
    .arc { --w: 110px; --h: 150px; --R: 522px; --Z: 385px; perspective: 550px; margin-top: 32px; }
    .acard { border-radius: 12px; }
    .acard__num, .acard__score { font-size: .56rem; padding: 4px 5px; top: 7px; }
    .acard__num { left: 7px; }
    .acard__score { right: 7px; }
    .acard__name { font-size: .56rem; left: 5px; right: 5px; bottom: 7px; }
    .feats { grid-template-columns: 1fr; margin-top: 28px; }
    .feat { padding: 16px 8px; }
    .feat + .feat { border-left: 0; border-top: 1px solid var(--line); }
    .needs, .ranking, .results, .faq, .guide { padding: 64px 0; }
    .sec-head { margin-bottom: 32px; }
    .bcard { min-height: 280px; padding: 22px; }
    .bcard--beige, .bcard--taupe { grid-column: span 12; }
    .bcard--olive { min-height: 380px; }
    .bcard--olive::after { background: linear-gradient(180deg, rgba(93, 106, 75, 0) 24%, rgba(93, 106, 75, .88) 56%, var(--olive) 100%); }
    .seg__label { flex-basis: 100%; text-align: center; padding: 4px 0 2px; }
    .seg { border-radius: 22px; justify-content: center; }
    .mcard { grid-template-columns: 1fr; padding: 14px; }
    .mcard__media { min-height: 170px; margin-bottom: 16px; }
    .mcard__media--photo { min-height: 0; aspect-ratio: 3 / 2; }
    .mcard__img { object-position: 50% 55%; }
    .mcard__media--product { min-height: 230px; }
    .mcard__product { max-height: 200px; }
    .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
    .specs div:nth-child(3) { padding-left: 0; border-left: 0; }
    .mcard__side .pill--block { flex-basis: 100%; }
    .score b { font-size: 2.6rem; }
    .pc__grid { grid-template-columns: 1fr; }
    .stats b { font-size: 2rem; }
    .stats li { padding: 18px; }
    .faq summary { padding: 16px 18px; }
    .faq details p { padding: 0 18px 18px; }
    .foot__grid { grid-template-columns: 1fr; }
    .cmpbar { left: 16px; right: 16px; justify-content: space-between; transform: translateY(150%); }
    .cmpbar.is-on { transform: translateY(0); }
    .page-plain { padding: 40px 0 64px; }
    .consent { left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 22px 22px 0 0; }
    .consent__actions { gap: 8px; }
    .consent__btn { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 600px) {
    .admin-bar .nav { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
