/*
 * Tanie Kasy - style motywu.
 *
 * Tokeny siedza w tokens.css, fonty w fonts.css - oba sa kolejkowane osobno
 * i ladowane przed tym plikiem. Tutaj piszemy wylacznie style komponentow,
 * zawsze przez var(--tk-*), nigdy surowymi wartosciami.
 */

/* --- Podstawy przejete z makiety --- */

body {
	font-family: var(--tk-font-base);
	font-size: var(--tk-text-base);
	color: var(--tk-color-ink);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tk-font-base);
	font-weight: var(--tk-weight-bold);
	color: var(--tk-color-ink);
}

h1 { font-size: var(--tk-text-3xl); }
h2 { font-size: var(--tk-text-2xl); }
h3 { font-size: var(--tk-text-xl); }

a {
	color: var(--tk-color-brand);
}

/* --- Sekcje z projektu Figma --- */
/* Kolejne bloki (header, hero, karuzela produktow, kafelki kategorii,
   baner leasingowy, stopka) dokladamy tutaj w miare implementacji. */

/* ==========================================================================
   Naglowek - builder Blocksy ostylowany wg makiety

   Uklad skladamy w Personalizacji -> Nagłówek. Tutaj tylko wyglad.
   Wiersze buildera: [data-row="top"] pasek kontaktu (node 1:1429),
   [data-row="middle"] logo i akcje (1:1433), [data-row="bottom"] menu (1:1445).
   ========================================================================== */

.tk-icon {
	display: block;
	flex: none;
}

/* --- Pasek infolinii nad naglowkiem (1:1351, renderowany hakiem) --- */

.tk-infobar {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 var(--tk-space-md);
	background: var(--tk-color-brand);
	color: var(--tk-color-white);
	font-size: var(--tk-text-sm);
	text-align: center;
}

.tk-infobar strong {
	font-weight: var(--tk-weight-bold);
}

/* --- Wiersz kontaktu (1:1429) --- */

.ct-header [data-row="top"] .ct-container {
	min-height: 40px;
	border-bottom: 1px solid var(--tk-color-border);
}

.tk-header-contact,
.tk-header-trust {
	display: flex;
	align-items: center;
	gap: var(--tk-space-md);
}

.tk-header-contact__item,
.tk-header-trust__item {
	display: flex;
	align-items: center;
	gap: var(--tk-space-2xs);
	font-size: var(--tk-text-sm);
	letter-spacing: -0.28px;
	text-decoration: none;
}

.tk-header-contact__item {
	color: var(--tk-color-ink);
	font-weight: var(--tk-weight-bold);
}

.tk-header-trust__item {
	color: var(--tk-color-brand);
}

.tk-header-trust__item--rating {
	font-weight: var(--tk-weight-bold);
	text-decoration: none;
}

/* Separator w makiecie to linia 1x25 px w kolorze obramowania. */
.tk-header-trust__divider {
	width: 1px;
	height: 25px;
	background: var(--tk-color-border);
}

/* --- Wiersz glowny: logo i akcje (1:1433) --- */

/* Wysokosc wiersza ustawia builder (Row Min Height), tutaj tylko odstepy. */
.ct-header [data-row="middle"] .ct-container {
	gap: var(--tk-space-md);
}

.ct-header [data-row="middle"] [data-items] {
	gap: var(--tk-space-md);
}

.ct-header .site-branding img,
.ct-header .site-branding svg {
	width: 154px;
	height: 100px;
	object-fit: contain;
}

/* --- Pigulki: porownywarka, koszyk, konto (1:1506 / 1:1469 / 170:827) --- */

.tk-pill,
.ct-header .ct-cart-item,
.ct-header .ct-account-item {
	display: inline-flex;
	align-items: center;
	gap: var(--tk-space-2xs);
	height: 50px;
	padding-inline: var(--tk-space-sm);
	border-radius: var(--tk-radius-xl);
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.32px;
	text-decoration: none;
	white-space: nowrap;
}

.tk-pill--outline,
.ct-header .ct-cart-item {
	border: 1px solid var(--tk-color-accent);
}

.ct-header .ct-account-item {
	background: var(--tk-color-surface);
}

/* Porownywarka ma asymetryczne wciecia - licznik siedzi blizej krawedzi. */
.tk-header-compare {
	padding-left: var(--tk-space-md);
	padding-right: var(--tk-space-xs);
}

.tk-pill__badge,
.ct-header .ct-cart-item .ct-dynamic-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	border-radius: var(--tk-radius-sm);
	background: var(--tk-color-accent);
	color: var(--tk-color-white);
	font-size: var(--tk-text-base);
}

/* Wyszukiwarka z makiety to okragly przycisk 50x50 w kolorze tla sekcji. */
.ct-header .ct-header-search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: var(--tk-radius-full);
	background: var(--tk-color-surface);
	color: var(--tk-color-brand);
}

/* --- Pasek kategorii (1:1445) --- */

.ct-header [data-row="bottom"] .ct-container {
	align-content: center;
	height: 100%;
	border-radius: var(--tk-radius-lg);
	background: var(--tk-color-surface);
}

.ct-header .header-menu-1 > ul {
	gap: var(--tk-space-lg);
}

.ct-header .header-menu-1 .ct-menu-link {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.32px;
	text-transform: uppercase;
}

.ct-header .header-menu-1 .sub-menu .ct-menu-link {
	font-size: var(--tk-text-sm);
	font-weight: var(--tk-weight-normal);
	text-transform: none;
}

@media (max-width: 782px) {
	.tk-header-contact,
	.tk-header-trust {
		gap: var(--tk-space-xs);
	}

	.ct-header .site-branding img {
		width: auto;
		height: 60px;
	}
}

/* ==========================================================================
   Sekcje z makiety - wspolne zasady dla blokow core

   Bloki w ukladzie "flow" dostaja od WordPressa margin-block-start (block-gap).
   Nasze sekcje ustawiaja odstepy wlasnym gapem wg makiety, wiec te marginesy
   zerujemy - inaczej kazda sekcja rosnie o 24 px na styk.
   ========================================================================== */

.tk-hero > *,
.tk-hero__main > *,
.tk-hero__side > *,
.tk-usp > *,
.tk-usp__list > *,
.tk-usp__item > *,
.tk-usp__text > * {
	margin-block: 0;
}

/* ==========================================================================
   Przyciski - wzorzec z makiety (px 20 / py 10, radius 72)

   Przycisk wystepuje w dwoch postaciach: jako <a class="tk-btn"> we wlasnych
   blokach i jako wrapper core/button we wzorcach. Stad podwojne selektory.
   ========================================================================== */

a.tk-btn,
.tk-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--tk-space-xs) var(--tk-space-md);
	border: 1px solid transparent;
	border-radius: var(--tk-radius-xl);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.32px;
	line-height: normal;
	text-align: center;
	text-decoration: none;
}

a.tk-btn--white,
.tk-btn--white .wp-block-button__link {
	background: var(--tk-color-white);
	color: var(--tk-color-brand);
}

a.tk-btn--ghost-white,
.tk-btn--ghost-white .wp-block-button__link {
	background: transparent;
	border-color: var(--tk-color-white);
	color: var(--tk-color-white);
}

a.tk-btn--ghost-brand,
.tk-btn--ghost-brand .wp-block-button__link {
	background: transparent;
	border-color: var(--tk-color-brand);
	color: var(--tk-color-brand);
}

/* ==========================================================================
   Hero - slider glowny (1:1524) i boczny (1:1539)

   Oba banery to grupy core z tlem graficznym ustawionym w bloku. Gradient
   z makiety kladziemy pseudoelementem, bo core nie ma nakladki na tle grupy.
   ========================================================================== */

.tk-hero {
	display: grid;
	/* 1060 : 340 px z makiety - proporcja zostaje przy kazdej szerokosci. */
	grid-template-columns: 1060fr 340fr;
	gap: var(--tk-space-md);
	width: min(var(--tk-container), 100% - var(--tk-gutter) * 2);
	margin: var(--tk-space-md) auto 0;
}

.tk-hero--single {
	grid-template-columns: 1fr;
}

.tk-hero__main,
.tk-hero__side {
	position: relative;
	z-index: 0;
	display: flex;
	flex-direction: column;
	gap: var(--tk-space-xs);
	overflow: hidden;
	border-radius: var(--tk-radius-sm);
	/* Tlo ustawia blok inline - tu tylko sposob kadrowania. */
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.tk-hero__side {
	background-position: 60% 40%;
}

.tk-hero__main::before,
.tk-hero__side::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
}

.tk-hero__main {
	justify-content: center;
	min-height: 340px;
	padding-inline: var(--tk-space-2xl);
}

.tk-hero__main::before {
	background: linear-gradient(to left, rgba(85, 198, 242, 0.8), var(--tk-color-brand));
}

.tk-hero__side {
	align-items: center;
	justify-content: flex-end;
	aspect-ratio: 1;
	padding: var(--tk-space-xl);
	text-align: center;
}

.tk-hero__side::before {
	background: linear-gradient(to bottom, rgba(240, 251, 255, 0.9), var(--tk-color-surface));
}

.tk-hero__title {
	max-width: 15ch;
	margin: 0;
	color: var(--tk-color-white);
	font-size: var(--tk-text-3xl);
	line-height: 1.1;
	letter-spacing: -0.96px;
}

.tk-hero__side-title {
	margin: 0;
	color: var(--tk-color-ink);
	font-size: var(--tk-text-2xl);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.64px;
}

.tk-hero__lead {
	margin: 0;
	color: var(--tk-color-white);
	font-size: var(--tk-text-md);
	letter-spacing: -0.36px;
}

.tk-hero__lead--side {
	color: var(--tk-color-ink);
}

.tk-hero__highlight {
	color: var(--tk-color-brand);
}

.tk-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tk-space-xs);
	margin-top: var(--tk-space-sm);
}

.tk-hero__actions--side {
	width: 100%;
}

.tk-hero__actions--side .wp-block-button,
.tk-hero__actions--side > a.tk-btn {
	flex: 1;
}

.tk-hero__actions--side .wp-block-button__link {
	width: 100%;
}

/* ==========================================================================
   Pasek atutow - Sekcja II (1:1555)
   ========================================================================== */

.tk-usp {
	width: min(var(--tk-container), 100% - var(--tk-gutter) * 2);
	margin: var(--tk-space-md) auto 0;
}

.tk-usp__list {
	display: flex;
	align-items: center;
	gap: var(--tk-space-md);
	/* Blok renderuje prawdziwe <ul>, wiec zerujemy domyslne wciecie listy -
	   inaczej pierwsza ikona odjezdza o 40 px od krawedzi kontenera. */
	margin: 0;
	padding: 0;
	list-style: none;
}

.tk-usp__item {
	display: flex;
	flex: 1;
	align-items: center;
	/* Od lewej, zeby pierwsza ikona trzymala linie z krawedzia kontenera. */
	justify-content: flex-start;
	gap: var(--tk-space-sm);
	min-height: 100px;
}

/* Separatory z makiety to linie 1x100 px w kolorze obramowania. */
.tk-usp__item + .tk-usp__item::before {
	content: "";
	align-self: center;
	flex: none;
	width: 1px;
	height: 100px;
	margin-right: var(--tk-space-md);
	background: var(--tk-color-border);
}

.tk-usp__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin: 0;
	border-radius: var(--tk-radius-md);
	background: var(--tk-color-surface);
}

.tk-usp__icon img {
	display: block;
	width: 45px;
	height: 45px;
}

.tk-usp__text {
	display: flex;
	flex-direction: column;
	gap: var(--tk-space-3xs);
}

.tk-usp__title,
.tk-usp__desc {
	margin: 0;
}

.tk-usp__title {
	color: var(--tk-color-brand);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.32px;
}

.tk-usp__desc {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-sm);
	letter-spacing: -0.28px;
}

/* ==========================================================================
   Strona glowna - pelna szerokosc, bo sekcje same pilnuja swojego kontenera
   ========================================================================== */

.tk-home > .alignfull {
	max-width: none;
}

@media (max-width: 1200px) {
	.tk-hero {
		grid-template-columns: 1fr;
	}

	.tk-hero__side {
		aspect-ratio: auto;
		min-height: 260px;
	}

	.tk-usp__list {
		flex-wrap: wrap;
	}

	.tk-usp__item {
		flex: 1 1 280px;
	}

	.tk-usp__item + .tk-usp__item::before {
		display: none;
	}
}

@media (max-width: 782px) {
	.tk-hero__main {
		padding-inline: var(--tk-space-lg);
	}

	.tk-hero__title {
		font-size: var(--tk-text-2xl);
		max-width: none;
	}
}

/* ==========================================================================
   Karuzela produktow - Sekcja III (node 15:1730)
   ========================================================================== */

.tk-carousel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--tk-space-lg);
	padding-block: var(--tk-space-xl);
	background: var(--tk-color-surface);
}

.tk-carousel > * {
	margin-block: 0;
}

/* --- Naglowek sekcji --- */

.tk-carousel__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--tk-space-md);
	width: min(460px, 100% - var(--tk-gutter) * 2);
	text-align: center;
}

.tk-eyebrow {
	padding: 6px 12px;
	border-radius: var(--tk-radius-lg);
	/* Makieta: brand 10%. Trzymamy jako color-mix, zeby szedl za tokenem. */
	background: color-mix(in srgb, var(--tk-color-brand) 10%, transparent);
	color: var(--tk-color-brand);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.32px;
}

.tk-section-title {
	margin: 0;
	color: var(--tk-color-ink);
	font-size: var(--tk-text-2xl);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.64px;
}

.tk-section-lead {
	margin: 0;
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	letter-spacing: -0.32px;
}

/* --- Tor z kafelkami --- */

.tk-carousel__body {
	position: relative;
	width: min(var(--tk-container), 100% - var(--tk-gutter) * 2);
}

.tk-carousel__track {
	display: flex;
	gap: var(--tk-space-md);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-behavior: smooth;
	/* Bez scroll-snap: zarowno "mandatory", jak i "proximity" cofaly pozycje
	   po programowym przewinieciu, przez co strzalki nie dzialaly.
	   Stronicowanie i tak robia strzalki, wiec przyciaganie nic nie wnosilo. */
	/* Pasek przewijania chowamy - nawigacja idzie strzalkami. */
	scrollbar-width: none;
}

.tk-carousel__track::-webkit-scrollbar {
	display: none;
}

/* Strzalki siedza na krawedziach toru, tak jak w makiecie. */
.tk-carousel__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	line-height: 0;
	transform: translateY(-50%);
}

.tk-carousel__arrow--prev {
	left: -25px;
}

.tk-carousel__arrow--next {
	right: -25px;
}

.tk-carousel__arrow[disabled] {
	opacity: 0.35;
	cursor: default;
}

/* --- Kafelek produktu (node 15:1725) --- */

.tk-product {
	position: relative;
	display: flex;
	flex: 0 0 340px;
	flex-direction: column;
	gap: var(--tk-space-xs);
	max-width: 340px;
	padding-bottom: var(--tk-space-md);
	overflow: hidden;
	border-radius: var(--tk-radius-sm);
	background: var(--tk-color-white);
}

.tk-product__badge {
	position: absolute;
	top: var(--tk-space-md);
	right: var(--tk-space-md);
	z-index: 1;
	padding: 5px 10px;
	border-radius: var(--tk-radius-xl);
	color: var(--tk-color-white);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	line-height: normal;
	letter-spacing: -0.32px;
}

.tk-product__badge--new {
	background: var(--tk-color-brand);
}

.tk-product__badge--best {
	background: var(--tk-color-accent);
}

.tk-product__badge--sale {
	background: var(--tk-color-sale);
}

.tk-product__media {
	display: block;
	height: 240px;
	background: var(--tk-color-white);
}

.tk-product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tk-product__body {
	display: flex;
	flex-direction: column;
	gap: var(--tk-space-xs);
	padding-inline: var(--tk-space-md);
}

.tk-product__title {
	margin: 0;
	font-size: var(--tk-text-md);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.36px;
}

.tk-product__title a {
	color: var(--tk-color-ink);
	text-decoration: none;
}

.tk-product__price {
	margin: 0;
	color: var(--tk-color-brand);
	font-size: var(--tk-text-lg);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.42px;
}

/* Woo wstawia przekreslona cene w <del> - w makiecie liczy sie ta aktualna. */
.tk-product__price del {
	margin-right: var(--tk-space-2xs);
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-normal);
	opacity: 0.5;
}

.tk-product__price ins {
	text-decoration: none;
}

.tk-product__actions {
	display: flex;
	flex-direction: column;
	gap: var(--tk-space-xs);
	padding-top: var(--tk-space-sm);
}

.tk-product__compare,
.tk-product__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--tk-space-2xs);
	/* Interlinia motywu rozpychala przyciski o ~6 px ponad makiete. */
	line-height: normal;
	padding: var(--tk-space-xs) var(--tk-space-md);
	border: 1px solid transparent;
	border-radius: var(--tk-radius-xl);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.32px;
	text-align: center;
	text-decoration: none;
}

.tk-product__compare {
	border-color: var(--tk-color-border);
	color: var(--tk-color-ink);
}

.tk-product__cta {
	background: var(--tk-color-surface);
	color: var(--tk-color-brand);
}

.tk-notice {
	padding: var(--tk-space-md);
	border: 1px dashed var(--tk-color-border);
	border-radius: var(--tk-radius-sm);
	color: var(--tk-color-ink);
	text-align: center;
}

@media (max-width: 1200px) {
	.tk-carousel__arrow--prev {
		left: 0;
	}

	.tk-carousel__arrow--next {
		right: 0;
	}
}

@media (max-width: 782px) {
	.tk-product {
		flex-basis: 280px;
	}

	.tk-carousel__arrow {
		display: none;
	}
}

/* ==========================================================================
   Kafelki kategorii - Sekcja IV (node 15:1851)
   ========================================================================== */

.tk-tiles {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--tk-space-lg);
	padding-block: var(--tk-space-2xl);
	background: var(--tk-color-white);
}

.tk-tiles > * {
	margin-block: 0;
}

.tk-tiles__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--tk-space-md);
	width: min(940px, 100% - var(--tk-gutter) * 2);
	text-align: center;
}

/* Nadtytul tej sekcji ma pelne tlo, nie przezroczysty brand jak w karuzeli. */
.tk-eyebrow--surface {
	background: var(--tk-color-surface);
}

.tk-section-lead--wide {
	line-height: 1.4;
}

.tk-tiles__grid {
	display: grid;
	grid-template-columns: repeat(var(--tk-tiles-columns, 3), 1fr);
	gap: var(--tk-space-md);
	width: min(var(--tk-container), 100% - var(--tk-gutter) * 2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tk-tile {
	margin: 0;
}

.tk-tile__link {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: flex-end;
	height: 230px;
	padding: var(--tk-space-lg);
	overflow: hidden;
	border-radius: var(--tk-radius-sm);
	background: var(--tk-color-ink);
	text-decoration: none;
}

.tk-tile__image {
	position: absolute;
	z-index: -2;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Przyciemnienie z makiety - od 20% u gory do 80% u dolu, tryb multiply. */
.tk-tile__link::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(to bottom, rgba(20, 20, 20, 0.2), rgba(20, 20, 20, 0.8));
	mix-blend-mode: multiply;
}

.tk-tile__label {
	color: var(--tk-color-white);
	font-size: var(--tk-text-xl);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.48px;
}

/* ==========================================================================
   Logotypy producentow - Sekcja V (node 114:2)
   ========================================================================== */

.tk-brands {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--tk-space-2xl);
	padding-block: var(--tk-space-lg);
}

.tk-brands > * {
	margin-block: 0;
}

/* Szerokosc kazdego logotypu ustawia blok inline - redakcja zmienia ja suwakiem. */
.tk-brands img {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.tk-brands__link {
	display: block;
	line-height: 0;
}

@media (max-width: 1200px) {
	.tk-tiles__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.tk-brands {
		gap: var(--tk-space-lg);
	}
}

@media (max-width: 782px) {
	.tk-tiles__grid {
		grid-template-columns: 1fr;
	}

	.tk-tile__link {
		height: 180px;
		padding: var(--tk-space-md);
	}
}

/* ==========================================================================
   Warianty przyciskow uzywane w dolnych sekcjach
   ========================================================================== */

a.tk-btn--brand,
.tk-btn--brand .wp-block-button__link {
	background: var(--tk-color-brand);
	color: var(--tk-color-white);
}

a.tk-btn--accent,
.tk-btn--accent .wp-block-button__link {
	background: var(--tk-color-accent);
	color: var(--tk-color-white);
}

/* ==========================================================================
   Baner leasingowy - Sekcja VI (node 114:70)
   ========================================================================== */

.tk-leasing {
	padding-block: var(--tk-space-2xl);
	background: var(--tk-color-white);
}

.tk-leasing > *,
.tk-leasing__box > *,
.tk-about > *,
.tk-about__text > *,
.tk-about__aside > *,
.tk-map > *,
.tk-contact-card > *,
.tk-contact-card__text > *,
.tk-seo > *,
.tk-seo__inner > * {
	margin-block: 0;
}

.tk-leasing__box {
	position: relative;
	z-index: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--tk-space-md);
	width: min(var(--tk-container), 100% - var(--tk-gutter) * 2);
	margin-inline: auto;
	padding: var(--tk-space-2xl) 80px;
	overflow: hidden;
	border-radius: var(--tk-radius-sm);
}

/* Gradient z makiety konczy sie w polowie szerokosci - prawa strona to zdjecie. */
.tk-leasing__box::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(to left, rgba(46, 97, 181, 0.6) 50%, var(--tk-color-brand) 50%);
}

.tk-eyebrow--ghost {
	background: rgba(240, 251, 255, 0.11);
	color: var(--tk-color-surface);
}

.tk-section-title--light {
	color: var(--tk-color-surface);
}

.tk-leasing__text,
.tk-leasing__cta-text {
	max-width: 740px;
	color: var(--tk-color-white);
}

.tk-leasing__text {
	font-size: var(--tk-text-base);
	line-height: 1.4;
	letter-spacing: -0.32px;
}

.tk-leasing__cta-text {
	font-size: var(--tk-text-md);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.36px;
}

/* ==========================================================================
   O nas z mapa serwisu - Sekcja VI (node 114:93)
   ========================================================================== */

.tk-about {
	display: grid;
	/* Makieta: lewa kolumna 700 px, prawa wypelnia reszte, odstep 140 px.
	   Bez tego sekcja byla wysrodkowana i odjezdzala o 60 px od krawedzi
	   kontenera, przez co nie trzymala linii z reszta strony. */
	grid-template-columns: minmax(0, 700px) 1fr;
	gap: var(--tk-space-4xl);
	align-items: center;
	width: min(var(--tk-container), 100% - var(--tk-gutter) * 2);
	margin-inline: auto;
	padding-block: var(--tk-space-2xl);
}

/* Tlo sekcji siega poza kontener - dociagamy je pseudoelementem. */
.tk-about {
	position: relative;
}

.tk-about::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	background: var(--tk-color-surface);
	transform: translateX(-50%);
}

.tk-about__text,
.tk-about__aside {
	display: flex;
	flex-direction: column;
	gap: var(--tk-space-md);
}

.tk-about__title {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-2xl);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.64px;
}

.tk-about__subtitle {
	color: var(--tk-color-brand);
	font-size: var(--tk-text-xl);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.48px;
}

.tk-about__tagline {
	color: var(--tk-color-accent);
	font-size: var(--tk-text-md);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.36px;
}

.tk-about__separator {
	width: 100%;
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--tk-color-border);
	opacity: 1;
}

.tk-about__body {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	line-height: 1.4;
	letter-spacing: -0.32px;
}

.tk-about__actions {
	margin-top: var(--tk-space-xs);
}

/* --- Karta z mapa --- */

.tk-map {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--tk-space-lg);
	padding: var(--tk-space-xl) var(--tk-space-md);
	border-radius: var(--tk-radius-sm);
	background: var(--tk-color-white);
	text-align: center;
}

.tk-map__title {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-xl);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.48px;
}

.tk-map__lead {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	line-height: 1.4;
	letter-spacing: -0.32px;
}

.tk-map__image {
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 300 / 277;
	margin: 0;
}

/* --- Kafelek kontaktu --- */

.tk-contact-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tk-space-xs);
	padding: var(--tk-space-md);
	border-radius: var(--tk-radius-sm);
	background: var(--tk-color-white);
}

.tk-contact-card__icon {
	flex: none;
	margin: 0;
}

.tk-contact-card__icon img {
	display: block;
	width: 45px;
	height: 45px;
}

.tk-about--single {
	grid-template-columns: 1fr;
}

.tk-contact-card__text {
	flex: 1;
	min-width: 140px;
}

.tk-contact-card__title {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-lg);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.42px;
}

.tk-contact-card__desc {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	line-height: 1.4;
	letter-spacing: -0.32px;
}

/* ==========================================================================
   Blok tekstu SEO - Sekcja VII (node 114:235)
   ========================================================================== */

.tk-seo {
	position: relative;
	z-index: 0;
	padding-block: var(--tk-space-2xl);
	background: var(--tk-color-white) center / cover no-repeat;
}

/* Makieta kladzie na zdjeciu prawie bialy gradient - zdjecie ma byc ledwie
   wyczuwalna faktura pod tekstem, nie tlem konkurujacym z trescia. */
.tk-seo::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(to bottom, var(--tk-color-white), rgba(255, 255, 255, 0.95));
}

.tk-seo__inner {
	display: flex;
	flex-direction: column;
	gap: var(--tk-space-sm);
	width: min(var(--tk-container), 100% - var(--tk-gutter) * 2);
	margin-inline: auto;
}

.tk-seo__title {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-xl);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.48px;
}

.tk-seo__subtitle {
	margin-top: var(--tk-space-md);
	color: var(--tk-color-brand);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.32px;
}

.tk-seo__body {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-sm);
	line-height: 1.5;
	letter-spacing: -0.28px;
}

@media (max-width: 1200px) {
	.tk-about {
		grid-template-columns: 1fr;
		gap: var(--tk-space-2xl);
	}

	.tk-leasing__box {
		padding-inline: var(--tk-space-xl);
	}

	.tk-leasing__box::before {
		background: linear-gradient(to left, rgba(46, 97, 181, 0.85), var(--tk-color-brand));
	}
}

/* ==========================================================================
   Stopka - node 116:297 (uklad skladany builderem stopki Blocksy)
   ========================================================================== */

/* Blocksy ustawia tlo wierszy wlasnym dynamicznym CSS-em o wysokiej precyzji,
   wiec celujemy w te same wiersze przez id stopki. */
#footer.ct-footer,
#footer.ct-footer [data-row] {
	background: var(--tk-color-ink);
	color: var(--tk-color-white);
}

.ct-footer [data-row="middle"] .ct-container {
	gap: var(--tk-space-3xl);
	padding-block: var(--tk-space-2xl);
}

.ct-footer a {
	color: var(--tk-color-white);
	text-decoration: none;
}

.ct-footer a:hover {
	color: var(--tk-color-accent);
}

/* Kolumny stopki to menu WordPressa (widzet "Menu nawigacji"), a czwarta to
   blok z danymi firmy - stad dwa zestawy selektorow o tym samym wygladzie. */
#footer.ct-footer .widget-title,
.tk-footer__title {
	margin: 0 0 var(--tk-space-xs);
	padding-bottom: var(--tk-space-xs);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--tk-color-accent);
	font-size: var(--tk-text-sm);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.28px;
}

/* Druga kolumna w kafelku ma dwa bloki - odstep miedzy nimi z makiety. */
.ct-footer .tk-footer__list + .tk-footer__title {
	margin-top: var(--tk-space-lg);
}

#footer.ct-footer ul.widget-menu,
.tk-footer__list {
	display: flex;
	flex-direction: column;
	gap: var(--tk-space-3xs);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--tk-text-sm);
}

#footer.ct-footer ul.widget-menu li,
.tk-footer__list li {
	margin: 0;
	padding: 0;
}

#footer.ct-footer ul.widget-menu li::before {
	content: none;
}

/* Dwa menu w jednej kolumnie (Pomoc + Dokumenty) potrzebuja odstepu. */
#footer.ct-footer .ct-widget + .ct-widget {
	margin-top: var(--tk-space-lg);
}

.tk-footer__address,
.tk-footer__contact {
	margin: 0 0 var(--tk-space-xs);
	color: var(--tk-color-white);
	font-size: var(--tk-text-sm);
	line-height: 1.6;
}

/* Blocksy nadaje widzetom wlasny kolor tekstu, przez co akapity w stopce
   bylyby ciemne na ciemnym tle. */
#footer.ct-footer .ct-widget,
#footer.ct-footer .ct-widget p,
#footer.ct-footer .ct-widget li,
#footer.ct-footer .ct-widget a {
	color: var(--tk-color-white);
}

.tk-footer__contact {
	font-weight: var(--tk-weight-bold);
}

.ct-footer [data-row="bottom"] .ct-container {
	min-height: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ct-footer .ct-footer-copyright {
	font-size: var(--tk-text-xs);
}

@media (max-width: 1200px) {
	.ct-footer [data-row="middle"] .ct-container {
		gap: var(--tk-space-2xl);
	}
}

/* ==========================================================================
   Archiwum produktow - kategoria i sklep

   Karte renderuje Blocksy wg ustawien z Personalizacji, wiec tutaj tylko
   ubieramy ja w jezyk wizualny makiety - ten sam co kafelki w karuzeli.
   ========================================================================== */

/* --- Naglowek archiwum --- */

.tax-product_cat .hero-section,
.post-type-archive-product .hero-section {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: flex-end;
	min-height: 230px;
	padding: var(--tk-space-lg);
	overflow: hidden;
	border-radius: var(--tk-radius-sm);
	background: var(--tk-color-ink);
}

.tax-product_cat .hero-section[data-type="type-2"] figure,
.post-type-archive-product .hero-section[data-type="type-2"] figure {
	position: absolute;
	z-index: -2;
	inset: 0;
	margin: 0;
}

.tax-product_cat .hero-section[data-type="type-2"] img,
.post-type-archive-product .hero-section[data-type="type-2"] img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* To samo przyciemnienie co na kafelkach kategorii - inaczej tytul ginie. */
.tax-product_cat .hero-section::after,
.post-type-archive-product .hero-section::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(to bottom, rgba(20, 20, 20, 0.2), rgba(20, 20, 20, 0.8));
	mix-blend-mode: multiply;
}

.tax-product_cat .page-title,
.post-type-archive-product .page-title {
	margin: 0;
	color: var(--tk-color-white);
	font-size: var(--tk-text-2xl);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.64px;
}

.tk-archive__count {
	margin: 0 0 var(--tk-space-md);
	color: var(--tk-color-brand);
	font-size: var(--tk-text-sm);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.28px;
}

/* --- Siatka kafelkow --- */

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--tk-space-md);
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--tk-space-xs);
	width: auto;
	margin: 0;
	padding-bottom: var(--tk-space-md);
	overflow: hidden;
	border-radius: var(--tk-radius-sm);
	background: var(--tk-color-white);
	text-align: left;
}

.woocommerce ul.products li.product > figure {
	margin: 0;
}

.woocommerce ul.products li.product .ct-media-container {
	display: block;
	height: 240px;
}

.woocommerce ul.products li.product .ct-media-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Elementy tekstowe karty dostaja wciecie z makiety - obrazek zostaje pelnej szerokosci. */
.woocommerce ul.products li.product > :not(figure):not(.tk-product__badge) {
	margin-inline: var(--tk-space-md);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin-block: 0;
	padding: 0;
	font-size: var(--tk-text-md);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.36px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a {
	color: var(--tk-color-ink);
	text-decoration: none;
}

.woocommerce ul.products li.product .price {
	margin: 0;
	color: var(--tk-color-brand);
	font-size: var(--tk-text-lg);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.42px;
}

.woocommerce ul.products li.product .price del {
	margin-right: var(--tk-space-2xs);
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-normal);
	opacity: 0.5;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
}

.woocommerce ul.products li.product .entry-meta {
	margin-block: 0;
	font-size: var(--tk-text-xs);
}

/* Przyciski karty: porownywarka jak obrys, dodanie do koszyka jak pigulka CTA. */
.woocommerce ul.products li.product .tk-product__compare,
.woocommerce ul.products li.product .button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--tk-space-2xs);
	padding: var(--tk-space-xs) var(--tk-space-md);
	border: 1px solid transparent;
	border-radius: var(--tk-radius-xl);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	line-height: normal;
	letter-spacing: -0.32px;
	text-align: center;
	text-decoration: none;
}

/* W DOM-ie Blocksy przycisk koszyka stoi przed porownywarka - w makiecie jest
   odwrotnie, wiec kolejnosc ustawiamy wlasciwoscia order. */
.woocommerce ul.products li.product .tk-product__compare {
	order: 3;
	border-color: var(--tk-color-border);
	color: var(--tk-color-ink);
}

.woocommerce ul.products li.product .ct-woo-card-actions {
	display: flex;
	order: 4;
	margin-top: auto;
	padding-top: var(--tk-space-3xs);
}

.woocommerce ul.products li.product .button {
	flex: 1;
	background: var(--tk-color-surface);
	color: var(--tk-color-brand);
}

/* --- Sortowanie i licznik wynikow --- */

.woocommerce .woo-listing-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--tk-space-sm);
	margin-bottom: var(--tk-space-md);
}

.woocommerce .woocommerce-ordering select {
	padding: var(--tk-space-2xs) var(--tk-space-sm);
	border: 1px solid var(--tk-color-border);
	border-radius: var(--tk-radius-xl);
	font-size: var(--tk-text-sm);
}

@media (max-width: 1200px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Karta produktu

   Uklad (galeria + podsumowanie, zakladki) renderuje Blocksy; tutaj tylko
   typografia, przyciski i odstepy w jezyku makiety.
   ========================================================================== */

.single-product .product-entry-wrapper {
	gap: var(--tk-space-2xl);
	padding-block: var(--tk-space-xl);
}

.single-product .woocommerce-product-gallery img {
	border-radius: var(--tk-radius-sm);
}

.single-product .entry-summary {
	gap: var(--tk-space-sm);
}

.single-product .product_title {
	margin: 0;
	color: var(--tk-color-ink);
	font-size: var(--tk-text-2xl);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.64px;
}

.single-product .entry-summary .price {
	color: var(--tk-color-brand);
	font-size: var(--tk-text-2xl);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.64px;
}

.single-product .entry-summary .price del {
	margin-right: var(--tk-space-2xs);
	color: var(--tk-color-ink);
	font-size: var(--tk-text-lg);
	font-weight: var(--tk-weight-normal);
	opacity: 0.5;
}

.single-product .entry-summary .price ins {
	text-decoration: none;
}

.single-product .woocommerce-product-details__short-description {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	line-height: 1.4;
	letter-spacing: -0.32px;
}

.single-product .ct-product-divider {
	border-color: var(--tk-color-border);
}

/* --- Koszyk --- */

.single-product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--tk-space-xs);
}

.single-product .quantity input,
.single-product .quantity .ct-increase,
.single-product .quantity .ct-decrease {
	border-color: var(--tk-color-border);
}

.single-product .quantity {
	overflow: hidden;
	border-radius: var(--tk-radius-xl);
}

.single-product .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: var(--tk-space-xs) var(--tk-space-2xl);
	border: 0;
	border-radius: var(--tk-radius-xl);
	background: var(--tk-color-brand);
	color: var(--tk-color-white);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	line-height: normal;
	letter-spacing: -0.32px;
}

.single-product .single_add_to_cart_button:hover {
	background: var(--tk-color-accent);
}

.single-product .product_meta {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-sm);
}

.single-product .product_meta a {
	color: var(--tk-color-brand);
	text-decoration: none;
}

/* --- Zakladki --- */

.single-product .woocommerce-tabs {
	padding-block: var(--tk-space-xl);
}

.single-product .wc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tk-space-xs);
	margin: 0 0 var(--tk-space-md);
	padding: 0;
	border: 0;
	list-style: none;
}

.single-product .wc-tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.single-product .wc-tabs li a {
	display: block;
	padding: var(--tk-space-xs) var(--tk-space-md);
	border: 1px solid var(--tk-color-border);
	border-radius: var(--tk-radius-xl);
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	font-weight: var(--tk-weight-bold);
	letter-spacing: -0.32px;
	text-decoration: none;
}

.single-product .wc-tabs li.active a {
	border-color: transparent;
	background: var(--tk-color-surface);
	color: var(--tk-color-brand);
}

.single-product .woocommerce-Tabs-panel {
	color: var(--tk-color-ink);
	font-size: var(--tk-text-base);
	line-height: 1.5;
}

/* --- Produkty powiazane --- */

.single-product .related > h2,
.single-product .upsells > h2 {
	margin-bottom: var(--tk-space-md);
	color: var(--tk-color-ink);
	font-size: var(--tk-text-2xl);
	font-weight: var(--tk-weight-bold);
	line-height: 1.1;
	letter-spacing: -0.64px;
}

@media (max-width: 900px) {
	.single-product .product_title,
	.single-product .entry-summary .price {
		font-size: var(--tk-text-xl);
	}
}
