/*
 * Premium Camper Broker - style wspolne: tokeny, baza, typografia, przyciski, naglowek, menu,
 * stopka, koncowe CTA, karta oferty, formularze, chipy, akordeon.
 * Breakpointy projektu: telefon do 767 px, tablet 768-1099 px, desktop od 1100 px.
 * Kolumny siatek zawsze minmax(0, 1fr) - zero poziomego przewijania na 320-1280 px.
 */

/* ---------- Tokeny ---------- */
:root {
	--biel: #FFFFFF;
	--papier: #F6F3EE;
	--kamien: #E6E1D8;
	--atrament: #121417;
	--atrament-2: #2B2E33;
	--grafit: #5B6069;
	--grafit-jasny: #8A8F98;
	--mosiadz: #C69C3E;
	--mosiadz-ciemny: #8A6B24;
	--mosiadz-jasny: #F4ECD9;
	--zielen: #1E3A32;
	--blad: #9B2C2C;

	--serif: Newsreader, Georgia, 'Times New Roman', serif;
	--sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;

	--r-sm: 4px;
	--r-md: 8px;
	--cien-karty: 0 12px 32px rgba(18, 20, 23, .10);

	--wrap: 1320px;
	--gutter: 60px;
	--header-h: 80px;
	--sec: 120px;      /* sekcja duza */
	--sec-std: 96px;   /* sekcja standardowa i koncowe CTA */
	--gap: 24px;
}
@media (max-width: 1099px) {
	:root { --gutter: 40px; --header-h: 72px; --sec: 96px; --sec-std: 80px; }
}
@media (max-width: 767px) {
	:root { --gutter: 20px; --header-h: 64px; --sec: 72px; --sec-std: 64px; --gap: 20px; }
}

/* Miejsce zajmowane przez pasek admina (jedna zmienna dla wszystkiego, co przyklejone). */
body { --pcb-bar: 0px; }
body.admin-bar { --pcb-bar: 32px; }
@media (max-width: 782px) { body.admin-bar { --pcb-bar: 46px; } }
@media (max-width: 600px) { body.admin-bar { --pcb-bar: 0px; } }
:root { --pcb-sticky-top: calc(var(--pcb-bar, 0px) + var(--header-h) + 1px); }

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
	margin: 0;
	background: var(--biel);
	color: var(--atrament);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
@media (max-width: 767px) { body { font-size: 16px; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--atrament); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mosiadz-ciemny); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mosiadz); outline-offset: 2px; }
::selection { background: var(--mosiadz-jasny); color: var(--atrament); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pcb-skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 12px 16px; background: var(--atrament); color: var(--biel); border-radius: var(--r-sm); text-decoration: none; font-size: 14px; }
.pcb-skip:focus { top: calc(var(--pcb-bar) + 12px); color: var(--biel); }
.pcb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.pcb-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.pcb-main { display: block; min-width: 0; }
.pcb-tnum { font-variant-numeric: tabular-nums; }
.pcb-icon { flex: none; }

/* ---------- Typografia ---------- */
.pcb-serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.pcb-eyebrow { font-size: 12px; line-height: 1; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--grafit); }
.pcb-eyebrow--brass { color: var(--mosiadz-ciemny); }
.pcb-h1, .pcb-h2, .pcb-h3, .pcb-h2-step { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
.pcb-h1 { font-size: 56px; line-height: 1.08; }
.pcb-h2 { font-size: 40px; line-height: 1.15; }
.pcb-h2-step { font-size: 32px; line-height: 1.2; }
.pcb-h3 { font-size: 28px; line-height: 1.25; }
.pcb-h4 { font-family: var(--sans); font-size: 18px; line-height: 1.3; font-weight: 600; }
.pcb-lead { font-size: 20px; line-height: 1.5; }
.pcb-lead-sm { font-size: 17px; line-height: 1.6; color: var(--grafit); text-wrap: pretty; }
.pcb-text { font-size: 17px; line-height: 1.6; color: var(--atrament-2); }
.pcb-muted { color: var(--grafit); }
.pcb-rule { display: block; width: 40px; height: 2px; background: var(--mosiadz); }
@media (max-width: 1099px) {
	.pcb-h1 { font-size: 44px; line-height: 1.1; }
	.pcb-h2 { font-size: 34px; }
	.pcb-h2-step { font-size: 26px; }
	.pcb-h3 { font-size: 26px; }
	.pcb-lead { font-size: 19px; }
}
@media (max-width: 767px) {
	.pcb-h1 { font-size: 36px; }
	.pcb-h2 { font-size: 28px; line-height: 1.2; }
	.pcb-h2-step { font-size: 24px; line-height: 1.25; }
	.pcb-h3 { font-size: 24px; }
	.pcb-lead { font-size: 17px; line-height: 1.55; }
	.pcb-lead-sm, .pcb-text { font-size: 16px; }
	.pcb-br-d { display: none; }
}
@media (max-width: 359px) {
	.pcb-h1, .pcb-h2 { overflow-wrap: anywhere; hyphens: auto; }
	.pcb-h1 { font-size: 32px; }
}
/* Reczne lamanie tytulow (Enter w polu) obowiazuje na desktopie; na telefonie tekst uklada sie sam. */
@media (max-width: 767px) { .pcb-h1 br, .pcb-h2 br, .pcb-cta__lead br { display: none; } }

/* ---------- Przyciski i linki ---------- */
.pcb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	height: 52px; padding: 0 24px; border-radius: var(--r-sm); border: 1px solid transparent;
	font: 500 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
	white-space: nowrap; cursor: pointer; background: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.pcb-btn .pcb-icon { transition: transform .2s; }
.pcb-btn:hover .pcb-btn__arrow { transform: translateX(4px); }
.pcb-btn--sm { height: 44px; padding: 0 20px; }
.pcb-btn--block { width: 100%; }
.pcb-btn--primary { background: var(--atrament); color: var(--biel); border-color: var(--atrament); }
.pcb-btn--primary:hover { background: var(--atrament-2); border-color: var(--atrament-2); color: var(--biel); }
.pcb-btn--gold { background: var(--mosiadz); color: var(--atrament); border-color: var(--mosiadz); }
.pcb-btn--gold:hover { background: var(--mosiadz-ciemny); border-color: var(--mosiadz-ciemny); color: var(--biel); }
.pcb-btn--ghost { background: transparent; color: var(--atrament); border-color: var(--atrament); }
.pcb-btn--ghost:hover { background: var(--atrament); color: var(--biel); }
.pcb-btn--ghost-light { background: transparent; color: var(--biel); border-color: rgba(255, 255, 255, .85); }
.pcb-btn--ghost-light:hover { background: var(--biel); color: var(--atrament); }
.pcb-btn[disabled], .pcb-btn.is-disabled { background: var(--kamien); border-color: var(--kamien); color: var(--grafit); cursor: not-allowed; pointer-events: none; }
.pcb-btn.is-loading { pointer-events: none; }
.pcb-btn.is-loading .pcb-btn__arrow { display: none; }
.pcb-btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: pcb-spin .7s linear infinite; }
@keyframes pcb-spin { to { transform: rotate(360deg); } }
@media (max-width: 359px) { .pcb-btn { white-space: normal; text-align: center; height: auto; min-height: 52px; padding: 10px 16px; line-height: 1.3; } }

.pcb-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; font: 500 15px/1.2 var(--sans); color: var(--atrament); text-decoration: none; }
.pcb-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--mosiadz); transition: width .2s; }
.pcb-link:hover { color: var(--atrament); }
.pcb-link:hover::after, .pcb-link:focus-visible::after { width: 100%; }
@media (max-width: 1099px) {
	.pcb-link { padding: 13px 0; white-space: nowrap; flex: none; }
	.pcb-link::after { bottom: 9px; }
}

/* ---------- Naglowek ---------- */
.pcb-header {
	position: sticky; top: var(--pcb-bar); z-index: 50;
	box-sizing: content-box; height: var(--header-h); background: var(--biel); border-bottom: 1px solid var(--kamien);
	transition: background-color .2s, border-color .2s, color .2s;
}
.pcb-header__in { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 32px; }
.pcb-logo { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; text-decoration: none; }
.pcb-logo__set { display: inline-flex; align-items: center; gap: 14px; }
.pcb-logo__mark { height: 40px; width: auto; }
.pcb-logo__word { height: 30px; width: auto; }
.pcb-logo__set--ciemne { display: none; }
.pcb-nav { display: flex; align-items: center; justify-self: center; gap: 32px; }
.pcb-nav a { padding: 6px 0; border-bottom: 1px solid transparent; font: 500 14px/1 var(--sans); color: inherit; text-decoration: none; white-space: nowrap; transition: border-color .2s; }
.pcb-nav a:hover, .pcb-nav a.is-current { border-bottom-color: var(--mosiadz); color: inherit; }
.pcb-header__actions { display: flex; align-items: center; justify-self: end; gap: 24px; min-width: 0; }
.pcb-header__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 500; color: inherit; text-decoration: none; white-space: nowrap; }
.pcb-header__phone:hover { color: var(--mosiadz-ciemny); }
.pcb-burger { display: none; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; background: transparent; border: 1px solid currentColor; border-radius: var(--r-sm); color: inherit; }

/* Wariant nad hero strony glownej: przezroczysty, bialy po przewinieciu. */
.pcb-header--hero { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; color: var(--biel); }
.pcb-header--hero .pcb-logo__set--jasne { display: none; }
.pcb-header--hero .pcb-logo__set--ciemne { display: inline-flex; }
.pcb-header--hero .pcb-header__phone:hover { color: var(--biel); }
.pcb-header--hero .pcb-header__cta { color: var(--biel); border-color: rgba(255, 255, 255, .85); }
.pcb-header--hero .pcb-header__cta:hover { background: var(--biel); color: var(--atrament); }
.pcb-header--hero .pcb-burger { border-color: rgba(255, 255, 255, .85); }
.pcb-header--hero.is-scrolled { background: var(--biel); border-bottom-color: var(--kamien); color: var(--atrament); }
.pcb-header--hero.is-scrolled .pcb-logo__set--jasne { display: inline-flex; }
.pcb-header--hero.is-scrolled .pcb-logo__set--ciemne { display: none; }
.pcb-header--hero.is-scrolled .pcb-header__phone:hover { color: var(--mosiadz-ciemny); }
.pcb-header--hero.is-scrolled .pcb-header__cta { color: var(--atrament); border-color: var(--atrament); }
.pcb-header--hero.is-scrolled .pcb-header__cta:hover { background: var(--atrament); color: var(--biel); }
.pcb-header--hero.is-scrolled .pcb-burger { border-color: var(--atrament); }

@media (min-width: 1100px) and (max-width: 1279px) {
	.pcb-header__in { grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; }
	.pcb-nav { gap: 22px; }
	.pcb-header__actions { gap: 16px; }
}
@media (max-width: 1099px) {
	.pcb-header__in { display: flex; justify-content: space-between; gap: 16px; }
	.pcb-nav { display: none; }
	.pcb-header__actions { gap: 20px; }
	.pcb-header__phone { font-size: 15px; }
	.pcb-burger { display: inline-flex; }
}
@media (max-width: 767px) {
	.pcb-header__phone, .pcb-header__cta { display: none; }
}
@media (max-width: 359px) {
	.pcb-logo__set { gap: 10px; }
	.pcb-logo__mark { height: 34px; }
	.pcb-logo__word { height: 26px; }
}

/* ---------- Menu na caly ekran (telefon i tablet) ---------- */
.pcb-menu {
	position: fixed; inset: var(--pcb-bar) 0 0 0; z-index: 100;
	display: flex; flex-direction: column; background: var(--biel); color: var(--atrament);
	overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.pcb-menu__bar { flex: none; height: var(--header-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--kamien); }
.pcb-menu .pcb-burger { display: inline-flex; border-color: var(--atrament); }
.pcb-menu__body { flex: 1; display: flex; flex-direction: column; }
.pcb-menu__nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 0; }
.pcb-menu__link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 65px; text-align: center; border-bottom: 1px solid var(--kamien); font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; font-size: 26px; line-height: 1.2; color: var(--atrament); text-decoration: none; }
.pcb-menu__link .pcb-icon { flex: none; color: var(--mosiadz-ciemny); }
.pcb-menu__link::before { content: ""; flex: none; width: 20px; } /* przeciwwaga strzalki: napis na srodku, strzalka tuz za nim */
.pcb-menu__link[aria-current="page"] { color: var(--mosiadz-ciemny); }
.pcb-menu__contact { margin-top: auto; padding: 28px var(--gutter) 24px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.pcb-menu__label { display: none; }
.pcb-menu__btns { display: flex; flex-direction: column; gap: 12px; order: 1; }
.pcb-menu__info { order: 2; display: flex; flex-direction: column; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--kamien); }
.pcb-menu__info a, .pcb-menu__soc a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 15px; line-height: 1.4; color: var(--atrament); text-decoration: none; }
.pcb-menu__phone { font-weight: 500; }
.pcb-menu__hours { display: flex; align-items: center; justify-content: center; min-height: 36px; font-size: 14px; color: var(--grafit); }
.pcb-menu__soc { order: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; }
.pcb-menu__soc a { font-size: 14px; color: var(--atrament-2); }
@media (min-width: 768px) {
	.pcb-menu__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; padding: 24px var(--gutter) 40px; align-items: start; }
	.pcb-menu__nav { padding: 0; }
	.pcb-menu__link { min-height: 85px; font-size: 36px; }
	.pcb-menu__contact { margin-top: 16px; padding: 32px 28px; background: var(--papier); border-radius: var(--r-md); }
	.pcb-menu__label { display: block; margin-bottom: 4px; }
	.pcb-menu__info { order: 0; margin: 0; padding: 0; border: 0; }
	.pcb-menu__phone { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; font-size: 26px !important; line-height: 1.2 !important; }
	.pcb-menu__mail { font-size: 14px !important; }
	.pcb-menu__btns { margin-top: 8px; }
	.pcb-menu__soc { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--kamien); flex-wrap: nowrap; gap: 0 20px; }
}
@media (min-width: 1100px) { .pcb-menu { display: none !important; } }
body.is-menu-open { overflow: hidden; }

/* ---------- Okruszki i naglowek podstrony ---------- */
.pcb-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--grafit); }
.pcb-crumbs a { color: var(--grafit); text-decoration: none; }
.pcb-crumbs a:hover { color: var(--mosiadz-ciemny); }
.pcb-crumbs span[aria-current] { color: var(--atrament); }
@media (max-width: 1099px) {
	.pcb-crumbs { flex-wrap: wrap; row-gap: 0; }
	.pcb-crumbs a, .pcb-crumbs span { display: inline-flex; align-items: center; min-height: 44px; }
}
.pcb-pagehead { padding: 48px 0 64px; }
.pcb-pagehead__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: 24px; align-items: end; }
.pcb-pagehead__main { grid-column: 1 / span 7; min-width: 0; }
.pcb-pagehead__main .pcb-eyebrow { margin-bottom: 16px; }
.pcb-pagehead__side { grid-column: 9 / span 4; min-width: 0; }
@media (max-width: 1099px) {
	.pcb-pagehead { padding: 20px 0 48px; }
	.pcb-pagehead__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 12px; }
	.pcb-pagehead__main, .pcb-pagehead__side { grid-column: 1 / -1; }
	.pcb-pagehead__side { max-width: 560px; }
}
@media (max-width: 767px) {
	.pcb-pagehead { padding: 12px 0 32px; }
	.pcb-pagehead__grid { gap: 16px; margin-top: 8px; }
}

/* ---------- Koncowe CTA ---------- */
.pcb-cta { padding: var(--sec-std) 0; background: var(--biel); color: var(--atrament); border-top: 1px solid var(--kamien); }
.pcb-cta__row { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.pcb-cta__text { max-width: 640px; min-width: 0; }
.pcb-cta__text .pcb-rule { margin-bottom: 24px; }
.pcb-cta__lead { margin-top: 20px; max-width: 548px; font-size: 17px; line-height: 1.6; color: var(--grafit); }
.pcb-cta__actions { display: inline-flex; flex: none; flex-direction: column; align-items: stretch; gap: 20px; }
.pcb-cta__phone { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; color: var(--atrament); text-decoration: none; white-space: nowrap; }
@media (max-width: 1099px) {
	.pcb-cta__row { gap: 40px; }
	.pcb-cta__text { flex: 1; max-width: 400px; }
	.pcb-cta__lead { max-width: none; }
	.pcb-cta__actions { gap: 16px; }
	.pcb-cta__phone { min-height: 44px; }
}
@media (max-width: 767px) {
	.pcb-cta__row { flex-direction: column; align-items: stretch; gap: 32px; }
	.pcb-cta__text { max-width: none; }
	.pcb-cta__lead { margin-top: 16px; font-size: 16px; }
	.pcb-cta__actions { display: flex; gap: 12px; }
}

/* ---------- Stopka ---------- */
.pcb-footer { padding: 72px 0 32px; background: var(--biel); color: var(--atrament); border-top: 1px solid var(--kamien); }
.pcb-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.pcb-footer .pcb-logo { display: flex; width: fit-content; min-height: 0; padding-bottom: 5px; } /* blok logo 45 px jak na planszy */
.pcb-footer__about { margin-top: 24px; max-width: 360px; font-size: 14px; line-height: 1.7; color: var(--atrament-2); }
.pcb-footer__company { margin-top: 24px; font-size: 13px; line-height: 1.7; color: var(--grafit); }
.pcb-footer__col .pcb-eyebrow { margin-bottom: 16px; }
.pcb-footer__links { display: flex; flex-direction: column; align-items: flex-start; }
.pcb-footer__links a, .pcb-footer__soc a, .pcb-footer__credit a { color: var(--atrament-2); text-decoration: none; font-size: 14px; line-height: 2; }
.pcb-footer__links a:hover, .pcb-footer__soc a:hover, .pcb-footer__credit a:hover { color: var(--mosiadz-ciemny); }
.pcb-footer__hours { font-size: 14px; line-height: 2; color: var(--grafit); }
.pcb-footer__bar { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--kamien); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; font-size: 13px; line-height: 1.37; color: var(--grafit); }
.pcb-footer__soc { display: inline-flex; gap: 20px; justify-content: center; }
.pcb-footer__soc a, .pcb-footer__credit a { font-size: 13px; }
.pcb-footer__credit { text-align: right; }
.pcb-footer__credit a { color: inherit; }
@media (max-width: 1099px) {
	.pcb-footer { padding: 64px 0 28px; }
	.pcb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
	.pcb-footer__col .pcb-eyebrow { margin-bottom: 4px; }
	.pcb-footer__links a { display: flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.4; }
	.pcb-footer__hours { display: flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.4; }
	.pcb-footer__bar { margin-top: 40px; padding-top: 16px; grid-template-columns: minmax(0, 1fr) auto; gap: 0 24px; }
	.pcb-footer__soc { gap: 24px; justify-content: flex-end; }
	.pcb-footer__soc a { display: flex; align-items: center; min-height: 44px; line-height: 1.4; }
	.pcb-footer__credit { text-align: left; grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.pcb-footer__links a { overflow-wrap: anywhere; }
	.pcb-footer { padding: 56px 0 24px; }
	.pcb-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.pcb-footer__bar { margin-top: 32px; padding-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
	.pcb-footer__soc { flex-wrap: wrap; gap: 0 24px; justify-content: center; }
	.pcb-footer__credit { text-align: center; }
}

/* ---------- Plakietki i etykiety na zdjeciach ---------- */
.pcb-badge { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 10px; border-radius: var(--r-sm); font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pcb-badge--new { background: var(--zielen); color: var(--biel); }
.pcb-badge--year { background: rgba(255, 255, 255, .85); color: var(--atrament); border: 1px solid var(--kamien); }
.pcb-stamp { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.pcb-stamp--sold { border: 1px solid var(--biel); color: var(--biel); }
/* Rezerwacja na zdjeciach: kolory jak "Sprzedany" (biala ramka, przezroczyste tlo, bialy napis). Lekki cien napisu
   i ciemniejsza nakladka (.32 zamiast .18) trzymaja czytelnosc na jasnych zdjeciach bialych kamperow. */
.pcb-stamp--reserved { border: 1px solid var(--biel); background: transparent; color: var(--biel); text-shadow: 0 1px 2px rgba(18, 20, 23, .45); }

/* ---------- Karta oferty ---------- */
.pcb-card {
	position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0;
	background: var(--biel); border: 1px solid var(--kamien); border-radius: var(--r-md); overflow: hidden;
	color: var(--atrament); transition: box-shadow .3s, transform .3s;
}
.pcb-card:hover, .pcb-card:focus-within { box-shadow: var(--cien-karty); transform: translateY(-2px); }
.pcb-card__media { position: relative; flex: none; aspect-ratio: 4 / 3; background: var(--papier); overflow: hidden; }
.pcb-card__img, .pcb-card__plan { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.pcb-card:hover .pcb-card__img { transform: scale(1.03); }
.pcb-card__plan { position: absolute; inset: 0; object-fit: contain; background: var(--biel); display: none; }
.pcb-card__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--grafit-jasny); }
.pcb-card__overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; }
.pcb-card__overlay--sold { background: rgba(18, 20, 23, .55); }
.pcb-card__overlay--reserved { background: rgba(18, 20, 23, .32); }
.pcb-card__badge { position: absolute; left: 12px; top: 12px; }
.pcb-card__count { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-sm); background: rgba(18, 20, 23, .6); color: var(--biel); font-size: 12px; font-weight: 500; line-height: 1; }
.pcb-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 0 16px; }
.pcb-card__meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; }
.pcb-card__title { margin-top: 8px; min-height: 50px; font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; font-size: 20px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.pcb-card__link { color: inherit; text-decoration: none; }
.pcb-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcb-card__link:focus-visible { outline: none; }
.pcb-card:has(.pcb-card__link:focus-visible) { outline: 2px solid var(--mosiadz); outline-offset: 2px; }
.pcb-card:hover .pcb-card__title { color: var(--mosiadz-ciemny); }
.pcb-card__line { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--grafit); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.5em; }
.pcb-card__line--2 { margin-top: 2px; }
.pcb-card__foot { margin-top: auto; padding: 14px 0 16px; border-top: 1px solid var(--kamien); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pcb-card__price { flex: 1; min-width: 0; }
.pcb-card__amount { font-size: 20px; font-weight: 600; line-height: 1.2; }
.pcb-card__amount--ask { font-size: 16px; font-weight: 500; }
.pcb-card__vat { margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--grafit); }
.pcb-card__arrow { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--kamien); color: var(--atrament); transition: background-color .2s, color .2s; }
.pcb-card:hover .pcb-card__arrow { background: var(--atrament); color: var(--biel); }

/* Przelacznik Brutto / Netto: wybor zapamietany w przegladarce (atrybut na <html> ustawiany przed renderem). */
.pcb-p-netto { display: none; }
html[data-price="netto"] .pcb-p-brutto { display: none; }
html[data-price="netto"] .pcb-p-netto { display: inline; }
/* Brutto / Netto dla elementow blokowych (linie "Cena obejmuje", dopisek netto): widocznosc z atrybutu na <html>, bez JS. */
html:not([data-price="netto"]) [data-pv="netto"], html[data-price="netto"] [data-pv="brutto"] { display: none; }
/* PLN / EUR: kwota w EUR tylko w trybie EUR; opis kursu (.pcb-fx) tez tylko wtedy. */
.pcb-c-eur, .pcb-fx { display: none; }
html[data-cur="eur"] .pcb-c-pln { display: none; }
html[data-cur="eur"] .pcb-c-eur { display: inline; }
html[data-cur="eur"] .pcb-fx { display: block; }
/* Stan przelacznika waluty z atrybutu na <html> (przed startem skryptu, bez mrugniecia). */
html[data-cur="eur"] .pcb-seg__btn[data-cur-set="pln"] { background: none; border-color: transparent; color: var(--grafit); box-shadow: none; }
html[data-cur="eur"] .pcb-seg__btn[data-cur-set="eur"] { background: var(--biel); border-color: var(--kamien); color: var(--atrament); box-shadow: 0 1px 2px rgba(18, 20, 23, .06); }

/* Karta: wariant duzy (strona glowna). */
.pcb-card--lg .pcb-card__body { padding: 0 20px; }
.pcb-card--lg .pcb-card__meta { padding-top: 20px; }
.pcb-card--lg .pcb-card__title { margin-top: 10px; min-height: 55px; font-size: 22px; }
.pcb-card--lg .pcb-card__line { margin-top: 12px; font-size: 14px; }
.pcb-card--lg .pcb-card__line--2 { margin-top: 2px; }
.pcb-card--lg .pcb-card__foot { padding: 16px 0 20px; }
.pcb-card--lg .pcb-card__amount { font-size: 22px; }

/* Karta: sprzedany i rezerwacja. */
.pcb-card--sold .pcb-card__img { filter: grayscale(70%); }
.pcb-card--sold:hover .pcb-card__img { transform: none; }
.pcb-card--sold .pcb-card__title, .pcb-card--sold:hover .pcb-card__title { color: var(--grafit); }
.pcb-card--sold .pcb-card__arrow { color: var(--grafit); }
.pcb-card__call, .pcb-card__similar { position: relative; z-index: 2; }
.pcb-card__call { display: flex; width: fit-content; min-height: 26px; align-items: center; gap: 8px; font-size: 20px; font-weight: 500; line-height: 1.2; color: var(--atrament); text-decoration: none; }
.pcb-card__call::before, .pcb-card__similar::before { content: ""; position: absolute; inset: -6px -10px; }
.pcb-card__similar { display: table; margin-top: 4px; font-size: 12px; line-height: 1.4; color: var(--mosiadz-ciemny); text-decoration: underline; text-underline-offset: 3px; }
.pcb-card__similar:hover, .pcb-card__call:hover { color: var(--mosiadz-ciemny); }

@media (max-width: 1099px) {
	.pcb-card__line { font-size: 14px; }
}
@media (max-width: 767px) {
	.pcb-card__title, .pcb-card--lg .pcb-card__title { min-height: 0; }
}

/* Siatka kart: 3 kolumny, tablet 2, telefon 1. */
.pcb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
@media (max-width: 1099px) { .pcb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pcb-cards { grid-template-columns: minmax(0, 1fr); } }

/* Wiersz trzech kart przewijany w poziomie na tablecie (strona glowna, podobne kampery); na telefonie jedna pod druga. */
@media (min-width: 768px) and (max-width: 1099px) {
	.pcb-cards--row { display: flex; gap: var(--gap); margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.pcb-cards--row::-webkit-scrollbar { display: none; }
	.pcb-cards--row > * { flex: none; width: min(316px, calc(100vw - 2 * var(--gutter) - 48px)); scroll-snap-align: start; height: auto; }
}

/* ---------- Formularze ---------- */
.pcb-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pcb-field > label, .pcb-label { font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--atrament); }
.pcb-req { color: var(--mosiadz-ciemny); }
.pcb-input, .pcb-select, .pcb-textarea {
	width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--kamien); border-radius: var(--r-sm);
	background: var(--biel); font: 400 15px/1.3 var(--sans); color: var(--atrament); appearance: none; -webkit-appearance: none;
	transition: border-color .2s;
}
.pcb-textarea { height: auto; min-height: 140px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.pcb-input::placeholder, .pcb-textarea::placeholder { color: var(--grafit-jasny); opacity: 1; }
.pcb-input:focus, .pcb-select:focus, .pcb-textarea:focus { border-color: var(--atrament); outline: 2px solid var(--mosiadz); outline-offset: 2px; }
.pcb-select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23121417' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.pcb-field.has-error .pcb-input, .pcb-field.has-error .pcb-select, .pcb-field.has-error .pcb-textarea { border-color: var(--blad); }
.pcb-field__error { font-size: 14px; line-height: 1.4; color: var(--blad); }
.pcb-field__help { font-size: 13px; line-height: 1.4; color: var(--grafit); }
.pcb-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--atrament-2); cursor: pointer; }
.pcb-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--atrament); }
.pcb-check a { color: var(--atrament); }
.pcb-form-msg { font-size: 14px; line-height: 1.5; }
.pcb-form-msg:empty { display: none; }
.pcb-form-msg.is-error { color: var(--blad); }
@media (max-width: 1099px) {
	.pcb-input, .pcb-select, .pcb-textarea { font-size: 16px; }
	.pcb-check input { width: 22px; height: 22px; }
}

/* ---------- Chipy, przelaczniki ---------- */
.pcb-chip { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--kamien); background: var(--biel); font: 500 15px/1 var(--sans); color: var(--atrament); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.pcb-chip:hover { border-color: var(--atrament); }
.pcb-chip.is-on, .pcb-chip[aria-pressed="true"] { background: var(--atrament); color: var(--biel); border-color: var(--atrament); }
.pcb-chip--sm { height: 32px; padding: 0 12px; gap: 8px; font-size: 13px; background: var(--papier); border-color: var(--papier); }
.pcb-chip--static { cursor: default; height: 32px; padding: 0 12px; font-size: 14px; font-weight: 400; }
.pcb-chip--static:hover { border-color: var(--kamien); }
@media (max-width: 1099px) { .pcb-chip:not(.pcb-chip--sm):not(.pcb-chip--static) { height: auto; min-height: 44px; } }

.pcb-seg { display: inline-flex; height: 40px; padding: 3px; background: var(--papier); border-radius: var(--r-sm); }
.pcb-seg__btn { display: inline-flex; align-items: center; justify-content: center; flex: 1; padding: 0 14px; border: 1px solid transparent; border-radius: 3px; background: none; font: 500 14px/1 var(--sans); color: var(--grafit); white-space: nowrap; cursor: pointer; }
.pcb-seg__btn.is-on, .pcb-seg__btn[aria-pressed="true"] { background: var(--biel); border-color: var(--kamien); color: var(--atrament); box-shadow: 0 1px 2px rgba(18, 20, 23, .06); }
@media (max-width: 1099px) { .pcb-seg { height: 44px; } }

/* ---------- Akordeon ---------- */
.pcb-acc__item { border-top: 1px solid var(--kamien); }
.pcb-acc__item:last-child { border-bottom: 1px solid var(--kamien); }
.pcb-acc__head { margin: 0; font: inherit; }
.pcb-acc__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 21px 0; background: none; border: 0; text-align: left; font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; color: var(--atrament); cursor: pointer; }
.pcb-acc__q .pcb-icon { transition: transform .2s, color .2s; }
.pcb-acc__item.is-open .pcb-acc__q .pcb-icon { transform: rotate(45deg); color: var(--mosiadz-ciemny); }
.pcb-acc__a { padding: 0 48px 28px 0; max-width: 668px; font-size: 16px; line-height: 1.6; color: var(--grafit); }
.pcb-acc__a p + p { margin-top: 12px; }
@media (max-width: 1099px) { .pcb-acc__q { min-height: 64px; padding: 19px 0; } }
@media (max-width: 767px) {
	.pcb-acc__q { font-size: 18px; gap: 16px; padding: 18px 0; }
	.pcb-acc__a { padding: 0 0 24px; }
}

/* ---------- Sekcje ---------- */
.pcb-sec { padding: var(--sec) 0; }
.pcb-sec--std { padding: var(--sec-std) 0; }
.pcb-sec--papier { background: var(--papier); }
.pcb-sec--line { border-top: 1px solid var(--kamien); }

/* ---------- Tresc z edytora (strony prawne, opis oferty) ---------- */
.pcb-prose { font-size: 17px; line-height: 1.7; color: var(--atrament-2); overflow-wrap: break-word; }
.pcb-prose > * + * { margin-top: 16px; }
.pcb-prose h2 { margin-top: 48px; font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; font-size: 28px; line-height: 1.25; color: var(--atrament); }
.pcb-prose h3 { margin-top: 32px; font-family: var(--sans); font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--atrament); }
.pcb-prose > :first-child { margin-top: 0; }
.pcb-prose ul, .pcb-prose ol { padding-left: 0; list-style: none; }
.pcb-prose li { position: relative; padding-left: 28px; }
.pcb-prose li + li { margin-top: 8px; }
.pcb-prose ul > li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--mosiadz-ciemny); }
.pcb-prose ol { counter-reset: pcb-ol; }
.pcb-prose ol > li { counter-increment: pcb-ol; }
.pcb-prose ol > li::before { content: counter(pcb-ol) "."; position: absolute; left: 0; top: 0; color: var(--mosiadz-ciemny); font-variant-numeric: tabular-nums; }
.pcb-prose a { color: var(--atrament); text-decoration: underline; }
.pcb-prose a:hover { color: var(--mosiadz-ciemny); }
.pcb-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.pcb-prose td, .pcb-prose th { padding: 10px 16px 10px 0; border-top: 1px solid var(--kamien); text-align: left; font-size: 15px; vertical-align: top; }
@media (max-width: 767px) {
	.pcb-prose { font-size: 16px; }
	.pcb-prose h2 { margin-top: 40px; font-size: 24px; }
}

/* ---------- Animacja wejscia (jedna, z poszanowaniem ograniczenia ruchu) ---------- */
html.pcb-anim [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
html.pcb-anim [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html.pcb-anim [data-reveal] { opacity: 1; transform: none; transition: none; }
	.pcb-card, .pcb-card__img, .pcb-btn .pcb-icon { transition: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Pasek trybu testowego (tylko dla zalogowanych) ---------- */
.pcb-testbar { position: fixed; left: 12px; bottom: 12px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 24px); padding: 8px 12px; border-radius: var(--r-sm); background: var(--atrament); color: var(--biel); font-size: 12px; line-height: 1.3; text-decoration: none; }
.pcb-testbar:hover { color: var(--mosiadz); }
@media print { .pcb-header, .pcb-menu, .pcb-footer, .pcb-cta, .pcb-testbar { display: none !important; } }
