/* =========================================================================
   Cennik wynajmu kontenerów — zamow-kontener.pl
   Ogólnopolska strona /cennik/ (ceny „od" z agregatu + wyszukiwarka miasta).
   Zgodne z „Wytyczne designu". Tokeny --zk-* pochodzą z globalnego :root
   (zk-ui.css / custom.css) — tu KONSUMOWANE przez var() z fallbackami.
   Prefiks klas .zk-cn__. Wzorce: jak-dobrac-pojemnosc.css (baza, eyebrow,
   H2::after, KANON tabel), jak-to-dziala.css (band wyszukiwarki).

   Zasady kluczowe:
   - #84BF2A (--zk-green) = tylko akcent graficzny; NIGDY tło pod biały tekst
     ani kolor tekstu. Zieleń tekstowa/ikony = --zk-green-dark (#487214).
   - Kolor akcji (CTA) = --zk-red. Pigułka (--zk-r-pill) = WYŁĄCZNIE przyciski.
   - Nagłówki tabel = --zk-green-dark (NIE navy). Kontrast ≥ 4,5:1.
   - Karty = --zk-r-card (12px). Kontrolki/chipsy = --zk-r-control (8px).
   ========================================================================= */

/* ------------------------------------------------------------------- Baza */
.zk-cn {
	--zkcn-soft-shadow: 0 2px 10px rgba(20, 32, 4, .06);
	font-family: var(--zk-font, sans-serif); /* kanon: zk-ui.css (Geist) */
	color: var(--zk-ink, #23291c);
	font-size: 1.02rem;
	line-height: 1.6;
}
.zk-cn, .zk-cn *, .zk-cn *::before, .zk-cn *::after { box-sizing: border-box; }

/* Kontenery poziomu strony: sekcje pełnej szerokości, wyśrodkowane. */
.zk-cn > section {
	max-width: var(--zk-max, 1240px);
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 20px);
	padding-block: clamp(2rem, 4.5vw, 3.5rem);
}

.zk-cn h2 {
	font-size: clamp(1.45rem, 3vw, 2.05rem); /* skala H2 jak na landingu (fix 26.07) */
	line-height: 1.2;
	font-weight: 800;
	margin: 0 0 1.25rem;
	color: var(--zk-ink, #23291c);
}
/* Etykieta-eyebrow nad H2 (wzór: .zk-jp__eyebrow, jak-dobrac-pojemnosc.css). */
.zk-cn__eyebrow {
	display: block;
	font-size: .75rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: .06em;
	color: var(--zk-muted, #5b6152);
	margin-bottom: .5rem;
}
/* Akcent marki pod każdym H2 sekcji: krótka gruba zielona kreska (wzór:
   .zk-jp > section > h2::after). Obejmuje też H2 wspólnego akordeonu FAQ
   (.zk-ui-faq to bezpośrednia sekcja .zk-cn). */
.zk-cn > section > h2:not(.screen-reader-text)::after {
	content: ""; display: block;
	width: 34px; height: 4px; margin-top: .7rem;
	border-radius: 2px; background: var(--zk-green, #84bf2a);
}
.zk-cn p { margin: 0 0 1rem; }
.zk-cn p:last-child { margin-bottom: 0; }
.zk-cn a { color: var(--zk-green-dark, #487214); }

.zk-cn [id] { scroll-margin-top: 120px; }

.zk-cn a:focus-visible,
.zk-cn button:focus-visible,
.zk-cn summary:focus-visible,
.zk-cn [tabindex]:focus-visible {
	outline: 2px solid var(--zk-green-dark, #487214);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------- Hero
   Kompaktowy: breadcrumb + H1 + lead BLUF (z realną ceną). */
.zk-cn__hero {
	background: #fff;
	padding-block: clamp(1.5rem, 3.5vw, 2.5rem);
	border-bottom: 1px solid var(--zk-line, #e6e8e1);
}
.zk-cn__h1 {
	font-size: clamp(1.6rem, 3.6vw, 2.35rem);
	line-height: 1.15; font-weight: 800;
	margin: .35rem 0 1rem; color: var(--zk-ink, #23291c);
	max-width: 26ch;
}
.zk-cn__lead {
	max-width: 72ch; color: var(--zk-ink, #23291c);
	font-size: 1.06rem; margin: 0;
}
.zk-cn__lead strong { color: var(--zk-ink, #23291c); }

/* --------------------------------------------------------------- Tabela
   KANON tabel serwisu: nagłówek = ciemna zieleń marki, uppercase; tabela =
   biała karta 1px --zk-line, radius 12px, cień; zebra parzystych; na mobile →
   karty (thead ukryty, td::before z data-label). Wzór 1:1: .zk-jp__sizing-table
   (assets/jak-dobrac-pojemnosc.css). */
.zk-cn__tablewrap { overflow-x: auto; }

.zk-cn__table {
	width: 100%;
	border-collapse: collapse;
	background: var(--zk-bg, #fff);
	border: 1px solid var(--zk-line, #e6e8e1);
	border-radius: var(--zk-r-card, 12px);
	overflow: hidden;
	box-shadow: var(--zkcn-soft-shadow);
}
.zk-cn__table th {
	background: var(--zk-green-dark, #487214);
	color: #fff;
	text-align: left;
	padding: .9rem 1.05rem;
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.zk-cn__table td {
	padding: .9rem 1.05rem;
	border-top: 1px solid var(--zk-line, #e6e8e1);
	vertical-align: middle;
}
.zk-cn__table tbody tr:nth-child(even) td { background: var(--zk-bg-soft, #f2f4ec); }
.zk-cn__table tbody tr:hover td { background: #eef4e1; }

/* Rozmiary 1:1 z tabelami landingu (fix 26.07 v2): komórki dziedziczą 1.02rem
   z kontenera — bez powiększania boldów (wcześniej 1.05rem robiło różnicę). */
.zk-cn__table-cap strong { color: var(--zk-ink, #23291c); }
/* „Cena brutto" w jednej linii (nagłówek nadaje kolumnie szerokość);
   „Co się zmieści" oddaje nadmiar szerokości (fix 26.07 v3). */
.zk-cn__th-price { white-space: nowrap; }
.zk-cn__th-fits { width: 42%; }
.zk-cn__table-price { width: 1%; }
.zk-cn__table-price strong { color: var(--zk-green-dark, #487214); white-space: nowrap; }
.zk-cn__table-fits { color: var(--zk-muted, #5b6152); }
/* CTA: kolumna kurczy się do przycisku (bez pustej przestrzeni z lewej). */
.zk-cn__table-cta { text-align: right; width: 1%; white-space: nowrap; }
.zk-cn__table a.zk-ui-btn--primary { color: #fff; }

.zk-cn__table-note { margin: .85rem 0 0; font-size: .85rem; color: var(--zk-muted, #5b6152); max-width: 78ch; }

/* -------------------------------------------------- Ceny na inne odpady */
.zk-cn__other-intro { max-width: 72ch; color: var(--zk-ink, #23291c); }

.zk-cn__other-grid {
	list-style: none; margin: 1.5rem 0 0; padding: 0;
	display: grid; gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* Karta = CAŁA klikalna (uwaga Wojtka 26.07: sam link w nazwie był nieczytelny,
   zwłaszcza na mobile). <a> wypełnia kartę, afordancja = linijka „Sprawdź ceny →". */
.zk-cn__other-card {
	background: #fff;
	border: 1px solid var(--zk-line, #e6e8e1);
	border-radius: var(--zk-r-card, 12px);
	box-shadow: var(--zkcn-soft-shadow);
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.zk-cn__other-card:hover { border-color: #bcd39a; transform: translateY(-2px); box-shadow: var(--zk-shadow, 0 18px 40px -12px rgba(20, 32, 4, .26)); }
.zk-cn__other-link,
.zk-cn__other-static {
	display: flex; flex-direction: column; gap: .35rem;
	padding: 1.15rem 1.25rem;
	text-decoration: none;
}
.zk-cn__other-name { font-weight: 700; color: var(--zk-ink, #23291c) !important; font-size: 1rem; margin: 0; }
.zk-cn__other-price { font-size: 1.35rem; font-weight: 800; color: var(--zk-green-dark, #487214); line-height: 1.1; }
.zk-cn__other-more { margin-top: .35rem; font-size: .9rem; font-weight: 700; color: var(--zk-green-dark, #487214) !important; }
.zk-cn__other-card:hover .zk-cn__other-more { text-decoration: underline; }
.zk-cn__other-note { margin: 1.1rem 0 0; font-size: .85rem; color: var(--zk-muted, #5b6152); }

/* --------------------------------------------------- Od czego zależy cena */
.zk-cn__factors-intro { max-width: 72ch; color: var(--zk-ink, #23291c); }

.zk-cn__factors-grid {
	list-style: none; margin: 1.5rem 0 0; padding: 0;
	display: grid; gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.zk-cn__factor-card {
	display: flex; flex-direction: column; gap: .45rem;
	padding: 1.25rem 1.3rem;
	background: var(--zk-bg-soft, #f2f4ec);
	border: 1px solid var(--zk-line, #e6e8e1);
	border-radius: var(--zk-r-card, 12px);
}
.zk-cn__factor-title { font-weight: 800; color: var(--zk-ink, #23291c); font-size: 1.02rem; margin: 0; }
.zk-cn__factor-desc { color: var(--zk-muted, #5b6152); font-size: .92rem; line-height: 1.55; }

/* Box „W każdej cenie" — wyróżnienie treści (tło green-soft). */
.zk-cn__included {
	display: flex; gap: .9rem; align-items: flex-start;
	margin-top: 1.5rem;
	padding: 1.25rem 1.4rem;
	background: var(--zk-bg-green-soft, #eef5e2);
	border: 1px solid #dcecc4;
	border-radius: var(--zk-r-card, 12px);
}
.zk-cn__included-ico { flex: 0 0 auto; width: 2.2rem; height: 2.2rem; color: var(--zk-green-dark, #487214); display: inline-flex; }
.zk-cn__included-ico svg { width: 100%; height: 100%; }
.zk-cn__included-title { font-weight: 800; color: var(--zk-ink, #23291c); margin: 0 0 .5rem; }
.zk-cn__included-list { margin: 0; padding-left: 1.15rem; color: var(--zk-ink, #23291c); font-size: .95rem; line-height: 1.55; }
.zk-cn__included-list li { margin: 0 0 .2rem; }
.zk-cn__included-list li:last-child { margin-bottom: 0; }

/* ----------------------------------------------------- Band wyszukiwarki
   Zielona karta konwersji (tło --zk-bg-green). Tytuł jako <p>. Wzór:
   .zk-jd__search-card (assets/jak-to-dziala.css). */
.zk-cn__search { text-align: center; scroll-margin-top: 120px; }
.zk-cn__search-card {
	max-width: 760px;
	margin: 0 auto;
	background: var(--zk-bg-green, #e8f2d6);
	border: 1px solid #d7e6bf;
	border-radius: var(--zk-r-card, 12px);
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.zk-cn__search-title { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800; color: var(--zk-ink, #23291c); margin: 0 0 .4rem; }
.zk-cn__search-sub { color: var(--zk-ink, #23291c); margin: 0 0 1.5rem; }
.zk-cn__search-widget { max-width: 640px; margin: 0 auto; }

/* FiboSearch (wtyczka) — pole autouzupełniania z wyborem miasta z podpowiedzi:
   chowamy mylące lupy, pole na pełną szerokość, „×" przy prawej krawędzi.
   Wzór: /zamow-online/ i /jak-to-dziala/. */
.zk-cn__search-widget .dgwt-wcas-search-wrapp,
.zk-cn__search-widget .dgwt-wcas-search-form,
.zk-cn__search-widget .dgwt-wcas-sf-wrapp { width: 100% !important; max-width: none !important; }
.zk-cn__search-widget .dgwt-wcas-sf-wrapp { position: relative; }
.zk-cn__search-widget .dgwt-wcas-search-submit,
.zk-cn__search-widget .dgwt-wcas-ico-magnifier { display: none !important; }
.zk-cn__search-widget .dgwt-wcas-search-input {
	width: 100% !important;
	box-sizing: border-box;
	padding-left: 1.1rem !important;
	padding-right: 2.6rem !important;
}
.zk-cn__search-widget .dgwt-wcas-close { right: .8rem !important; left: auto !important; }

.zk-cn__search-alt { margin-top: 1.5rem; color: var(--zk-ink, #23291c); font-size: .95rem; }
.zk-cn__notice { color: var(--zk-muted, #5b6152); font-size: .9rem; }

/* ------------------------------------------------------------------- FAQ
   Pełna szerokość kontenera (standard serwisu) — DRUGA kopia zwężenia 900px
   usunięta 26.07 (pierwsza siedziała wyżej; duplikat przeoczony). */

/* custom.css koloruje linki — wymuś biały tekst/ikonę czerwonego CTA
   (wytyczne 4). Dotyczy przycisków „Sprawdź w swoim mieście" w tabeli. */
.zk-cn .zk-ui-btn--primary,
.zk-cn .zk-ui-btn--primary:hover,
.zk-cn .zk-ui-btn--primary:visited { color: #fff; }

/* ------------------------------------------------------------ Breakpointy */
@media (max-width: 980px) {
	.zk-cn__other-grid { grid-template-columns: 1fr 1fr; }
	.zk-cn__factors-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
	.zk-cn__other-grid,
	.zk-cn__factors-grid { grid-template-columns: 1fr; }

	/* Tabela → karty (thead ukryty, td::before z data-label). Wzór z jak-dobrac. */
	.zk-cn__table,
	.zk-cn__table thead,
	.zk-cn__table tbody,
	.zk-cn__table tr,
	.zk-cn__table td { display: block; width: 100%; }

	.zk-cn__table {
		border: 0; border-radius: 0; overflow: visible;
		box-shadow: none; background: transparent;
	}
	.zk-cn__table tbody tr:nth-child(even) td { background: transparent; }
	.zk-cn__table thead { display: none; }

	.zk-cn__table tr {
		margin-bottom: .85rem;
		border: 1px solid var(--zk-line, #e6e8e1);
		border-radius: var(--zk-r-card, 12px);
		overflow: hidden;
	}
	.zk-cn__table td {
		display: flex; justify-content: space-between; gap: 1rem;
		border-top: 0; border-bottom: 1px solid var(--zk-line, #e6e8e1);
		text-align: right;
	}
	.zk-cn__table td:last-child { border-bottom: 0; }
	.zk-cn__table td::before {
		content: attr(data-label);
		font-weight: 700; color: var(--zk-ink, #23291c);
		text-align: left;
	}
	.zk-cn__table td[data-label=""]::before { content: ""; }
	.zk-cn__table-cta { text-align: left; }
	.zk-cn__table-cta .zk-ui-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.zk-cn * { transition: none !important; }
}
