/* ==========================================================================
   Tomex: karta produktu (woocommerce/single-product.php, content-single-product.php,
   template-parts/produkt/). Wyglad 1:1 z dotychczasowej karty z Elementora (wartosci
   przeniesione z arkuszy tomex-core i blokow HTML szablonow 197, 230, 310), poprawiona
   responsywnosc i drobiazgi opisane przy regulach ("Poprawka:").
   Wszystko w zakresie body.tx-karta. Kolory i kroje jak dotad na karcie (biala karta,
   Outfit w nazwie i cenach, Poppins w tresci), bez tokenow ciemnej strony glownej.
   ========================================================================== */

/* --- Podstawa (zastepuje reguly bazowe Elementora: box-sizing, linki, obrazy) --- */

body.tx-karta .tp,
body.tx-karta .tp *,
body.tx-karta .tp *::before,
body.tx-karta .tp *::after {
	box-sizing: border-box;
}

body.tx-karta .tp a {
	text-decoration: none;
	box-shadow: none;
}

/* Cien obrazkow (0 0 30px) zostaje jak dotad: dodaje go Astra (.ast-article-single img). */
body.tx-karta .tp img {
	max-width: 100%;
	height: auto;
	border: 0;
	border-radius: 0;
}

/* Kontener strony Astry jest od pewnej szerokosci flexem: karta zajmuje cala jego szerokosc
   (inaczej przy 1024 px szerokosc liczyla sie z tresci i strona przewijala sie w bok). */
body.tx-karta .site-content > .ast-container > .tp-main {
	flex: 1 1 100%;
	width: 100%;
	min-width: 0;
}

body.tx-karta .tp a:focus-visible,
body.tx-karta .tp button:focus-visible,
body.tx-karta .tp summary:focus-visible,
body.tx-karta .tp input:focus-visible {
	outline: 3px solid #5c8a2e;
	outline-offset: 2px;
}

body.tx-karta .tp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* --- Gorny pas: zdjecia z lewej, zakup z prawej ---------------------------- */
/* Dotad kontener Elementora: tresc do 1390 px, od gory 128 px (telefon 80 px),
   dwie kolumny po 50% z marginesem wewnetrznym 10 px, ponizej 768 px jedna pod druga. */

body.tx-karta .tp-top {
	padding-top: 128px;
}

body.tx-karta .tp-top__inner {
	display: flex;
	flex-wrap: wrap;
	max-width: 1390px;
	margin: 0 auto;
}

body.tx-karta .tp-top__media,
body.tx-karta .tp-top__summary {
	display: flex;
	flex-direction: column;
	width: 50%;
	min-width: 0;
	padding: 10px;
}

@media (max-width: 767px) {
	body.tx-karta .tp-top {
		padding-top: 80px;
	}

	body.tx-karta .tp-top__media,
	body.tx-karta .tp-top__summary {
		width: 100%;
	}
}

/* --- Galeria ---------------------------------------------------------------- */

body.tx-karta .tp-gallery {
	max-width: 640px;
}

body.tx-karta .tp-gallery__stage {
	position: relative;
	overflow: hidden;
	border: 1px solid #e6e8e0;
	border-radius: 14px;
	background: #f7f7f4;
	/* Poprawka: przesuwanie palcem miedzy zdjeciami nie blokuje przewijania strony w pionie. */
	touch-action: pan-y;
}

body.tx-karta .tp-gallery__slide {
	display: none;
}

body.tx-karta .tp-gallery__slide.is-active {
	display: block;
}

body.tx-karta .tp .tp-gallery__img {
	display: block;
	width: 100%;
	height: auto;
}

/* Strzalki po bokach zdjecia (gdy zdjec jest wiecej niz jedno, polecenie wlasciciela 2026-10-12).
   Zawsze widoczne (takze na telefonie, cel 44 px), biale kolka z cieniem, nacisniecie lekko pomniejsza. */
body.tx-karta .tp-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -22px 0 0;
	padding: 0;
	border: 1px solid rgb(21 25 18 / 0.08);
	border-radius: 50%;
	background: rgb(255 255 255 / 0.94);
	color: #151912;
	box-shadow: 0 1px 2px rgb(21 25 18 / 0.08), 0 8px 20px -8px rgb(21 25 18 / 0.35);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease, box-shadow 150ms ease;
}

body.tx-karta .tp-gallery__nav--prev {
	left: 12px;
}

body.tx-karta .tp-gallery__nav--next {
	right: 12px;
}

body.tx-karta .tp-gallery__nav svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.25;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.tx-karta .tp-gallery__nav:active {
	transform: scale(0.94);
}

body.tx-karta .tp .tp-gallery__nav:focus-visible {
	outline: 3px solid #2f6d14;
	outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
	body.tx-karta .tp-gallery__nav:hover {
		background: #ffffff;
		box-shadow: 0 1px 2px rgb(21 25 18 / 0.1), 0 12px 26px -10px rgb(21 25 18 / 0.45);
	}
}

@media (min-width: 1024px) {
	body.tx-karta .tp-gallery__nav {
		width: 48px;
		height: 48px;
		margin-top: -24px;
	}

	body.tx-karta .tp-gallery__nav--prev {
		left: 16px;
	}

	body.tx-karta .tp-gallery__nav--next {
		right: 16px;
	}
}

body.tx-karta .tp-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

body.tx-karta .tp-gallery__thumb {
	flex: 0 0 68px;
	width: 68px;
	min-width: 0;
	aspect-ratio: 1 / 1;
	padding: 0;
	overflow: hidden;
	border: 2px solid #e6e8e0;
	border-radius: 8px;
	background: none;
	line-height: 0;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

body.tx-karta .tp .tp-gallery__thumb img {
	display: block;
	width: 100%;
	height: auto;
	padding: 4px;
}

@media (max-width: 767px) {
	body.tx-karta .tp-gallery__thumbs {
		gap: 7px;
	}

	body.tx-karta .tp-gallery__thumb {
		flex-basis: 52px;
		width: 52px;
		border-radius: 7px;
	}
}

body.tx-karta .tp-gallery__thumb.is-active {
	border-color: #84c447;
}

/* Licznik „1 / 2” w rogu zdjecia: tylko na telefonie, gdzie zastepuje rzad miniatur (2026-10-12). */
body.tx-karta .tp-gallery__count {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgb(21 25 18 / 0.72);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}

@media (min-width: 768px) {
	body.tx-karta .tp-gallery__count {
		display: none;
	}
}

@media (max-width: 767px) {
	body.tx-karta .tp-gallery__thumbs {
		display: none;
	}
}

@media (hover: hover) and (pointer: fine) {
	body.tx-karta .tp-gallery__thumb:hover {
		border-color: #b6d68a;
	}
}

/* --- Kolumna zakupu (2026-10-12, polecenie wlasciciela) ---------------------------------
   Kolejnosc: okruszki (tylko od 768 px), plakietka, nazwa, ocena, cena z jednostka, ilosc i „Dodaj do
   koszyka”, zamowienie telefoniczne, platnosc i odbior. Wszystko w jednej szerokosci (dotad ceny 560 px,
   reszta szerzej). Na telefonie ciasne, rowne odstepy: cena i przycisk blisko pierwszego ekranu. */

body.tx-karta .tp-head,
body.tx-karta .tp-buy,
body.tx-karta .tp-phone,
body.tx-karta .tp-trust {
	width: 100%;
	max-width: 620px;
}

body.tx-karta .tp-head {
	font-family: 'Poppins', Manrope, sans-serif;
}

body.tx-karta .tp-head svg {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.tx-karta .tp-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 14px;
	/* Poprawka: odcien ciemniej niz dotad (#999, kontrast 2,8:1), czytelnosc 4,5:1. */
	color: #767676;
	font-size: 12px;
	line-height: 1.65;
}

/* Pole klikniecia 44 px wysokosci bez zmiany ukladu (margines ujemny znosi padding). */
body.tx-karta .tp-crumbs a {
	display: inline-block;
	margin: -12px -4px;
	padding: 12px 4px;
	color: #767676;
	transition: color 0.2s;
}

/* Poprawka: zielen do tekstu na bialym (6,3:1); jasna zielen marki miala 2,1:1. */
body.tx-karta .tp-crumbs a:hover {
	color: #2f6d14;
}

body.tx-karta .tp-head .tp-crumbs__sep {
	width: 9px;
	height: 9px;
	stroke-width: 2.4;
	opacity: 0.6;
}

/* Bez plakietek odstep nad nazwa jak dotad (pusty pas plakietek mial 10 px marginesu).
   Padding, nie margines: margines zlalby sie z dolnym marginesem okruszkow. */
body.tx-karta .tp-crumbs + .tp-title {
	padding-top: 10px;
}

body.tx-karta .tp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

/* Plakietki (2026-10-12, polecenie wlasciciela): pigulka jak w duzych sklepach, napis zdaniowy
   (zasada etykiet z DESIGN.md), przy certyfikacie wypelniona pieczec z bialym ptaszkiem.
   Zielen do tekstu na jasnym tle: kontrast 5,8:1 zmierzony w przegladarce (dotad jasna zielen #5c8a2e, 3,9:1). */
body.tx-karta .tp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 30px;
	padding: 4px 12px 4px 7px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: 'Poppins', Manrope, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

body.tx-karta .tp-badge--best {
	padding-left: 12px;
	background: #84c447;
	color: #0b1406;
}

body.tx-karta .tp-badge--cert {
	border-color: #d3e9bd;
	background: #f1f8ea;
	color: #2f6d14;
}

body.tx-karta .tp-head .tp-badge svg {
	width: 18px;
	height: 18px;
	stroke: none;
}

body.tx-karta .tp-head .tp-seal {
	fill: currentColor;
}

body.tx-karta .tp-head .tp-seal__check {
	fill: none;
	stroke: #ffffff;
	stroke-width: 2.4;
}

/* Nazwa: najwyzej dwie linie (rowno lamane), o stopien lzejsza niz dotad (900, polecenie wlasciciela). */
body.tx-karta .tp-title {
	margin: 0 0 2px;
	color: #1a1a1a;
	font-family: 'Outfit', sans-serif;
	font-size: clamp(28px, 2.6vw, 38px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.5px;
	text-wrap: balance;
}

/* Ocena: link do opinii na tej karcie, cel dotyku 44 px. */
body.tx-karta .tp-rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: #1a1a1a;
	line-height: 1.4;
}

body.tx-karta .tp-head .tp-rating__logo {
	display: block;
	width: 17px;
	height: 17px;
	stroke: none;
}

body.tx-karta .tp-rating__stars {
	display: inline-flex;
	gap: 2px;
	color: #f59e0b;
}

body.tx-karta .tp-head .tp-star {
	width: 16px;
	height: 16px;
	fill: currentColor;
	stroke: none;
}

body.tx-karta .tp-head .tp-star path[stroke] {
	stroke: currentColor;
}

body.tx-karta .tp-rating__score {
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 700;
}

body.tx-karta .tp-rating__count {
	color: #6b6b6b;
	font-size: 13px;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: #d4d4d4;
	text-underline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
	body.tx-karta .tp-rating:hover .tp-rating__count {
		color: #2f6d14;
		text-decoration-color: currentColor;
	}
}

body.tx-karta .tp .tp-rating:focus-visible {
	outline: 3px solid #2f6d14;
	outline-offset: 2px;
	border-radius: 6px;
}

/* Cena jak na kafelkach sklepu: duza kwota i jednostka („1 750 zl / tona”); po zmianie ilosci produkt.js
   wpisuje kwote za cala ilosc („3 500 zl / 2 tony”). Liczby o stalej szerokosci, zeby przy przeliczaniu
   nic nie skakalo. */
body.tx-karta .tp-price {
	margin: 8px 0 18px;
	padding-top: 14px;
	border-top: 1px solid #ececec;
	line-height: 1.4;
}

body.tx-karta .tp-price__main {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 0;
}

body.tx-karta .tp-price__amount {
	color: #1a1a1a;
	font-family: 'Outfit', sans-serif;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.5px;
	font-variant-numeric: tabular-nums;
}

body.tx-karta .tp-price__unit {
	color: #4a4a4a;
	font-size: 17px;
	font-weight: 500;
}

body.tx-karta .tp-price__sub {
	margin: 4px 0 0;
	color: #6b6b6b;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

body.tx-karta .tp-price__bag {
	margin: 8px 0 0;
	color: #4a4a4a;
	font-size: 15px;
}

body.tx-karta .tp-price__bag strong {
	color: #1a1a1a;
	font-family: 'Outfit', sans-serif;
	font-size: 17px;
	font-weight: 700;
}

/* Dostepnosc przy cenie (dotad pod ramka telefonu). Czerwien do tekstu na bialym: 5,9:1. */
body.tx-karta .tp-price .stock {
	margin: 10px 0 0;
	color: #c62828;
	font-size: 15px;
	font-weight: 700;
}

body.tx-karta .tp-variant {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin-bottom: 16px;
	padding: 10px 14px;
	border: 1px dashed #ddd;
	border-radius: 8px;
	color: #6b6b6b;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.65;
	transition: border-color 0.2s, color 0.2s;
}

body.tx-karta .tp-variant:hover,
body.tx-karta .tp-variant:focus-visible {
	border-color: #84c447;
	color: #2f6d14;
}

/* --- Przelacznik formy wegla: luzem / workowany (prosba z 2026-10-14) --------------------
   Ten sam wegiel w dwoch formach to dwa produkty i dwa adresy, wiec przelacznik to dwa linki (forma.php).
   Rozmowca: „proste, zrozumiale, glupio odporne, niewielkie, ale zeby sie ktos skapnal”. Dlatego maly,
   jasny przelacznik w jednej ramce (jak w telefonie), a nie kafelki: biala „wybrana” czesc z zielonym kolkiem
   na jasnoszarym tle. Nie konkuruje z cena i z „Dodaj do koszyka”, ale kolko i ramka mowia, ze to wybor.
   Zaznaczenie (::before listy) stoi tam, gdzie wskazuje data-wybor; po dotknieciu drugiej formy produkt.js
   od razu przestawia data-wybor (zaznaczenie przesuwa sie, zanim przyjdzie druga karta) i cofa je po
   powrocie przyciskiem Wstecz. Na telefonie cala szerokosc kolumny, od 1024 px najwyzej 440 px.
   W kazdej czesci jeden niski rzad: kolko, grafika formy z kategorii sklepu, nazwa i cena w dwoch liniach
   (rozmowca: grafika z boku, nie nad tekstem, jak najnizej). Polowa przelacznika ma na telefonie 150-176 px,
   a „Workowany” pogrubiony 88 px (14 px), dlatego grafika i odstepy maleja z szerokoscia ekranu:
   od 390 px grafika 32 px, 360-389 px 26 px i ciasniej, ponizej 360 px bez grafiki, od 1024 px 36 px. */

body.tx-karta .tp-forma {
	margin: 0 0 16px;
}

body.tx-karta .tp-forma__title {
	margin: 0 0 6px;
	color: #5a5f55;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

body.tx-karta .tp-forma__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3px;
	margin: 0;
	padding: 3px;
	border: 1px solid var(--tx-line-light);
	border-radius: 14px;
	background: #f1f2ee;
	list-style: none;
}

/* Zaznaczenie: biala czesc pod wybrana forma, przesuwa sie przy zmianie. */
body.tx-karta .tp-forma__list::before {
	content: "";
	position: absolute;
	top: 3px;
	bottom: 3px;
	left: 3px;
	width: calc(50% - 4.5px);
	border: 1px solid #d3d7cb;
	border-radius: 11px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgb(21 25 18 / 0.08), 0 2px 6px -2px rgb(21 25 18 / 0.12);
	transition: transform 220ms var(--tx-ease);
}

body.tx-karta .tp-forma[data-wybor="workowany"] .tp-forma__list::before {
	transform: translateX(calc(100% + 3px));
}

body.tx-karta .tp-forma__item {
	display: flex;
	min-width: 0;
	margin: 0;
}

body.tx-karta .tp .tp-forma__opt {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	align-items: center;
	gap: 6px;
	min-width: 0;
	min-height: 46px;
	padding: 6px 6px 6px 8px;
	border-radius: 11px;
	color: var(--tx-ink-2);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: color var(--tx-fast) var(--tx-ease), transform var(--tx-fast) var(--tx-ease);
}

body.tx-karta .tp .tp-forma__opt[data-tp-forma]:active {
	transform: scale(0.98);
}

body.tx-karta .tp .tp-forma__opt:focus-visible {
	outline: 3px solid var(--tx-green-ink);
	outline-offset: 2px;
}

body.tx-karta .tp-forma__radio {
	flex: none;
	width: 14px;
	height: 14px;
	border: 2px solid var(--tx-ink-2);
	border-radius: 50%;
	background: #ffffff;
	transition: border-color var(--tx-fast) var(--tx-ease), box-shadow var(--tx-fast) var(--tx-ease);
}

/* Astra daje kazdemu obrazkowi we wpisie rozmyty cien 30 px (.ast-article-single img), ktory na szarej ramce
   wygladal jak jasny kwadrat pod grafika; grafiki form sa przezroczyste i stoja bez cienia. */
body.tx-karta .tp .tp-forma__img {
	display: block;
	flex: none;
	width: 32px;
	height: 32px;
	margin: 0;
	object-fit: contain;
	box-shadow: none;
}

body.tx-karta .tp-forma__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

body.tx-karta .tp-forma__name {
	font-family: var(--tx-font-display);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
}

body.tx-karta .tp-forma__price {
	color: var(--tx-ink-2);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

body.tx-karta .tp-forma__price--brak {
	color: #c62828;
	white-space: normal;
}

/* Wybrana forma: ciemna, pogrubiona nazwa, zielona cena i kolko wypelnione zielenia. */
body.tx-karta .tp-forma[data-wybor="luzem"] .tp-forma__opt[data-forma="luzem"],
body.tx-karta .tp-forma[data-wybor="workowany"] .tp-forma__opt[data-forma="workowany"] {
	color: var(--tx-ink);
	cursor: default;
}

body.tx-karta .tp-forma[data-wybor="luzem"] [data-forma="luzem"] .tp-forma__name,
body.tx-karta .tp-forma[data-wybor="workowany"] [data-forma="workowany"] .tp-forma__name {
	font-weight: 700;
}

body.tx-karta .tp-forma[data-wybor="luzem"] [data-forma="luzem"] .tp-forma__price,
body.tx-karta .tp-forma[data-wybor="workowany"] [data-forma="workowany"] .tp-forma__price {
	color: var(--tx-green-ink);
}

body.tx-karta .tp-forma[data-wybor="luzem"] [data-forma="luzem"] .tp-forma__price--brak,
body.tx-karta .tp-forma[data-wybor="workowany"] [data-forma="workowany"] .tp-forma__price--brak {
	color: #c62828;
}

body.tx-karta .tp-forma[data-wybor="luzem"] [data-forma="luzem"] .tp-forma__radio,
body.tx-karta .tp-forma[data-wybor="workowany"] [data-forma="workowany"] .tp-forma__radio {
	border-color: var(--tx-green-ink);
	box-shadow: inset 0 0 0 2px #ffffff, inset 0 0 0 7px var(--tx-green-ink);
}

@media (hover: hover) and (pointer: fine) {
	body.tx-karta .tp .tp-forma__opt[data-tp-forma]:hover {
		color: var(--tx-ink);
	}

	body.tx-karta .tp-forma__opt[data-tp-forma]:hover .tp-forma__radio {
		border-color: var(--tx-green-ink);
	}
}

/* Telefony 360-389 px: mniejsza grafika, kolko i odstepy, zeby pogrubiony „Workowany” zmiescil sie w calosci. */
@media (max-width: 389px) {
	body.tx-karta .tp .tp-forma__opt {
		gap: 5px;
		padding: 6px 4px 6px 6px;
	}

	body.tx-karta .tp-forma__radio {
		width: 12px;
		height: 12px;
	}

	body.tx-karta .tp-forma[data-wybor="luzem"] [data-forma="luzem"] .tp-forma__radio,
	body.tx-karta .tp-forma[data-wybor="workowany"] [data-forma="workowany"] .tp-forma__radio {
		box-shadow: inset 0 0 0 2px #ffffff, inset 0 0 0 6px var(--tx-green-ink);
	}

	body.tx-karta .tp .tp-forma__img {
		width: 26px;
		height: 26px;
	}
}

/* Bardzo waskie telefony (ponizej 360 px): bez grafiki, slowa maja pierwszenstwo. */
@media (max-width: 359px) {
	body.tx-karta .tp .tp-forma__img {
		display: none;
	}

	body.tx-karta .tp-forma__name {
		font-size: 13px;
	}
}

@media (min-width: 1024px) {
	body.tx-karta .tp-forma {
		max-width: 440px;
	}

	body.tx-karta .tp .tp-forma__opt {
		gap: 8px;
		padding: 6px 10px;
	}

	body.tx-karta .tp-forma__radio {
		width: 16px;
		height: 16px;
	}

	body.tx-karta .tp-forma[data-wybor="luzem"] [data-forma="luzem"] .tp-forma__radio,
	body.tx-karta .tp-forma[data-wybor="workowany"] [data-forma="workowany"] .tp-forma__radio {
		box-shadow: inset 0 0 0 2px #ffffff, inset 0 0 0 8px var(--tx-green-ink);
	}

	body.tx-karta .tp .tp-forma__img {
		width: 36px;
		height: 36px;
	}

	body.tx-karta .tp-forma__name {
		font-size: 15px;
	}

	body.tx-karta .tp-forma__price {
		font-size: 13px;
	}
}

/* Przejscie miedzy forma luzem i workowana (View Transitions miedzy dokumentami): strona przenika sie
   w miejscu. Tylko miedzy dwiema formami tego samego wegla (inne przejscia miedzy kartami pomija produkt.js
   w zdarzeniu pageswap) i tylko bez ograniczenia ruchu. Przegladarki bez tej funkcji otwieraja druga karte
   zwyczajnie. */
@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}
}

::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 180ms;
}

/* --- Formularz koszyka WooCommerce: ilosc i „Dodaj do koszyka” ------------------------
   Pole ilosci (wtyczka plus/minus, napis w kg z tomex-core) i przycisk maja style z tomex-core
   (add_to_cart_css, z !important), dlatego nadpisanie tez z !important, tylko na karcie.
   Od 1024 px ilosc i przycisk w jednym rzedzie, ponizej jedno pod drugim na cala szerokosc.
   Przycisk stoi spokojnie (bez pulsowania z tomex-core), reaguje na dotyk. */

body.tx-karta .tp-buy form.cart {
	gap: 10px !important;
	margin: 0 !important;
}

/* Clearfix motywu (::before i ::after formularza) w ukladzie flex staje sie pustym elementem i dodaje
   odstep: 10 px przesuniecia pola ilosci od lewej krawedzi kolumny. */
body.tx-karta .tp-buy form.cart::before,
body.tx-karta .tp-buy form.cart::after {
	content: none !important;
	display: none !important;
}

body.tx-karta .tp-buy .qib-button-wrapper {
	width: 100% !important;
	height: 56px !important;
	margin: 0 !important;
	border-radius: 12px !important;
	background: #f6f7f3 !important;
	border-color: #e3e5de !important;
}

/* Minus i plus jednej wielkosci: znak z wtyczki („-” to krotki lacznik) zastapiony w CSS prawdziwym
   minusem; przyciski dostaja etykiety dla czytnikow w produkt.js. */
body.tx-karta .tp-buy .qib-button-wrapper .qib-button {
	width: 56px !important;
	height: 56px !important;
	font-size: 0 !important;
	-webkit-tap-highlight-color: transparent;
}

body.tx-karta .tp-buy .qib-button-wrapper .qib-button::before {
	font-family: 'Poppins', sans-serif;
	font-size: 26px;
	font-weight: 500;
	line-height: 1;
}

body.tx-karta .tp-buy .qib-button-wrapper .minus::before {
	content: '\2212';
}

body.tx-karta .tp-buy .qib-button-wrapper .plus::before {
	content: '+';
}

/* tomex-core daje po najechaniu bialy znak na jasnej zieleni (2,1:1); tu ciemny znak (8,9:1). */
body.tx-karta .tp-buy .qib-button-wrapper .qib-button:hover {
	color: #0b1406 !important;
}

body.tx-karta .tp .tp-buy .qib-button:focus-visible {
	outline: 3px solid #2f6d14 !important;
	outline-offset: -3px !important;
}

body.tx-karta .tp-buy .qib-button-wrapper .wqpmb_quantity,
body.tx-karta .tp-buy .tomex-qty-display {
	height: 56px !important;
}

body.tx-karta .tp-buy .tomex-qty-display {
	font-size: 19px !important;
	font-variant-numeric: tabular-nums;
}

body.tx-karta .tp-buy form.cart .single_add_to_cart_button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	width: 100% !important;
	height: 58px !important;
	margin: 0 !important;
	border-radius: 12px !important;
	background: #84c447 !important;
	color: #0b1406 !important;
	font-family: 'Outfit', sans-serif !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	letter-spacing: 0.6px !important;
	box-shadow: 0 1px 2px rgb(21 25 18 / 0.12), 0 10px 24px -14px rgb(76 130 30 / 0.7) !important;
	animation: none !important;
	transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease !important;
}

/* Ikona torby przed napisem (maska SVG w kolorze napisu; napis i przycisk WooCommerce bez zmian). */
body.tx-karta .tp-buy form.cart .single_add_to_cart_button::before {
	content: '';
	flex: none;
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1.2 13.2a1 1 0 0 1-1 1.1H5.8a1 1 0 0 1-1-1.1L6 7z'/%3E%3Cpath d='M9 7V6a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l1.2 13.2a1 1 0 0 1-1 1.1H5.8a1 1 0 0 1-1-1.1L6 7z'/%3E%3Cpath d='M9 7V6a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.tx-karta .tp-buy form.cart .single_add_to_cart_button:hover {
	background: #78b83c !important;
	transform: none !important;
	box-shadow: 0 1px 2px rgb(21 25 18 / 0.12), 0 12px 26px -14px rgb(76 130 30 / 0.8) !important;
}

body.tx-karta .tp-buy form.cart .single_add_to_cart_button:active {
	transform: scale(0.98) !important;
}

body.tx-karta .tp .tp-buy form.cart .single_add_to_cart_button:focus-visible {
	outline: 3px solid #2f6d14 !important;
	outline-offset: 3px !important;
}

@media (min-width: 1024px) {
	body.tx-karta .tp-buy form.cart {
		flex-direction: row !important;
		align-items: stretch !important;
	}

	body.tx-karta .tp-buy .qib-button-wrapper {
		flex: 0 0 200px !important;
		width: 200px !important;
		height: 58px !important;
	}

	body.tx-karta .tp-buy .qib-button-wrapper .qib-button,
	body.tx-karta .tp-buy .qib-button-wrapper .wqpmb_quantity,
	body.tx-karta .tp-buy .tomex-qty-display {
		height: 58px !important;
	}

	body.tx-karta .tp-buy form.cart .single_add_to_cart_button {
		flex: 1 1 auto !important;
		width: auto !important;
	}
}

/* --- Zamow telefonicznie, pod przyciskiem ----------------------------------------------
   Jeden numer, duzy, caly klikalny (48 px). Stan obok: w godzinach biura zielona kropka z delikatnym
   rozchodzacym sie kregiem i „Aktualnie odbieramy” (produkt.js), poza nimi szara kropka i godziny. */

body.tx-karta .tp-phone {
	margin-top: 14px;
	padding: 12px 16px 10px;
	border: 1.5px solid #d6ebc2;
	border-radius: 12px;
	background: #f5fbf0;
	font-family: 'Poppins', sans-serif;
	line-height: 1.4;
}

body.tx-karta .tp-phone__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 12px;
}

body.tx-karta .tp-phone__label {
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
}

body.tx-karta .tp-phone__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #5c5c5c;
	font-size: 13px;
	font-weight: 600;
}

body.tx-karta .tp-phone.is-open .tp-phone__status {
	color: #2f6d14;
}

body.tx-karta .tp-phone__dot {
	position: relative;
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #9e9e9e;
}

body.tx-karta .tp-phone.is-open .tp-phone__dot {
	background: #4caf1f;
}

body.tx-karta .tp-phone.is-open .tp-phone__dot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #4caf1f;
	animation: tp-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes tp-ping {
	0% { transform: scale(1); opacity: 0.55; }
	75%, 100% { transform: scale(2.8); opacity: 0; }
}

body.tx-karta .tp-phone__link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	margin-top: 4px;
	color: #1a1a1a;
	font-family: 'Outfit', sans-serif;
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	transition: color 0.15s ease;
}

body.tx-karta .tp-phone__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #84c447;
	color: #0b1406;
}

body.tx-karta .tp-phone__icon svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

@media (hover: hover) and (pointer: fine) {
	body.tx-karta .tp-phone__link:hover {
		color: #2f6d14;
	}
}

body.tx-karta .tp .tp-phone__link:focus-visible {
	outline: 3px solid #2f6d14;
	outline-offset: 3px;
	border-radius: 8px;
}

/* --- Platnosc przy dostawie, odbior osobisty (bez zmian tresci) --------------------- */

body.tx-karta .tp-trust {
	display: flex;
	flex-direction: row;
	gap: 0;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
	font-family: 'Poppins', sans-serif;
	line-height: 1.65;
}

body.tx-karta .tp-trust__item {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 12px;
	padding: 6px 12px 6px 0;
}

body.tx-karta .tp-trust__item + .tp-trust__item {
	padding-left: 12px;
	border-left: 1px solid #f0f0f0;
}

body.tx-karta .tp .tp-trust__img {
	flex-shrink: 0;
	width: auto;
	height: 56px;
	margin: 0;
	box-shadow: none;
}

body.tx-karta .tp-trust__icon {
	flex-shrink: 0;
	width: 40px;
	font-size: 28px;
	line-height: 1;
	text-align: center;
}

body.tx-karta .tp-trust__main {
	display: block;
	color: #1a1a1a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

body.tx-karta .tp-trust__sub {
	display: block;
	margin-top: 2px;
	color: #6b6b6b;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

/* --- Telefon: bez okruszkow, ciasne odstepy, licznik zdjec zamiast miniatur ---------- */

@media (max-width: 767px) {
	body.tx-karta .tp-crumbs {
		display: none;
	}

	body.tx-karta .tp-crumbs + .tp-title {
		padding-top: 0;
	}

	body.tx-karta .tp-top__summary {
		padding-top: 14px;
	}

	body.tx-karta .tp-badges {
		margin-bottom: 8px;
	}

	body.tx-karta .tp-title {
		font-size: clamp(24px, 6.6vw, 28px);
		line-height: 1.15;
	}

	body.tx-karta .tp-price {
		margin: 4px 0 14px;
		padding-top: 12px;
	}

	body.tx-karta .tp-price__amount {
		font-size: 34px;
	}

	body.tx-karta .tp-phone {
		margin-top: 12px;
	}

	body.tx-karta .tp-phone__link {
		font-size: 28px;
	}
}

@media (max-width: 480px) {
	body.tx-karta .tp-trust {
		flex-direction: column;
		gap: 8px;
	}

	body.tx-karta .tp-trust__item {
		justify-content: flex-start;
		padding: 0;
	}

	body.tx-karta .tp-trust__item + .tp-trust__item {
		padding-top: 8px;
		padding-left: 0;
		border-top: 1px solid #f0f0f0;
		border-left: none;
	}

	body.tx-karta .tp .tp-trust__img {
		height: 48px;
	}
}

/* --- Dolna czesc: kontener jak dotad w Elementorze ------------------------- */
/* Margines 10 px, tresc do 1390 px (tablet do 1024, telefon do 767), odstep 20 px. */

body.tx-karta .tp-bottom {
	padding: 10px;
}

body.tx-karta .tp-bottom__inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 1390px;
	margin: 0 auto;
}

@media (max-width: 1024px) {
	body.tx-karta .tp-bottom__inner {
		max-width: 1024px;
	}
}

@media (max-width: 767px) {
	body.tx-karta .tp-bottom__inner {
		max-width: 767px;
	}
}

/* --- Twarde fakty ------------------------------------------------------------ */

body.tx-karta .tp-facts {
	width: 100%;
	max-width: 850px;
	margin: 40px auto;
	padding: 0 15px;
	font-family: 'Poppins', Manrope, sans-serif;
}

body.tx-karta .tp-facts__lead {
	margin: 0 0 22px;
	color: #3f3f3f;
	font-family: Manrope, system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.7;
	text-align: left;
}

body.tx-karta .tp-facts__title {
	margin: 0 0 25px;
	color: #1a1a1a;
	font-family: 'Outfit', sans-serif;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.5px;
	text-align: center;
	text-transform: uppercase;
	text-wrap: balance;
}

body.tx-karta .tp-facts__title span {
	color: #84c447;
}

body.tx-karta .tp-facts__table {
	margin: 0;
	padding: 0 20px;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

body.tx-karta .tp-facts__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid #f0f0f0;
	line-height: 1.65;
}

body.tx-karta .tp-facts__row:last-child {
	border-bottom: none;
}

body.tx-karta .tp-facts__label {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	color: #555;
	font-size: 15px;
	font-weight: 600;
}

body.tx-karta .tp-facts__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	font-size: 30px;
	line-height: 1;
}

body.tx-karta .tp-facts__value {
	max-width: 60%;
	margin: 0;
	color: #1a1a1a;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	text-align: right;
}

body.tx-karta .tp-facts__sub {
	display: block;
	margin-top: 2px;
	color: #777;
	font-size: 12px;
	font-weight: 500;
}

body.tx-karta .tp-facts__source {
	margin: 14px 2px 0;
	color: #777;
	font-family: Manrope, system-ui, sans-serif;
	font-size: 13px;
	line-height: 1.6;
}

@media (max-width: 600px) {
	body.tx-karta .tp-facts__title {
		font-size: 24px;
	}

	body.tx-karta .tp-facts__table {
		padding: 0 12px;
	}

	body.tx-karta .tp-facts__row {
		gap: 10px;
		padding: 16px 0;
	}

	body.tx-karta .tp-facts__label {
		gap: 8px;
		width: 50%;
		font-size: 13px;
	}

	body.tx-karta .tp-facts__icon {
		width: 32px;
		height: 32px;
		font-size: 25px;
	}

	body.tx-karta .tp-facts__value {
		width: 50%;
		font-size: 14px;
	}

	body.tx-karta .tp-facts__sub {
		font-size: 11px;
	}
}

/* --- Dol karty wegla (dotad [tomex_dol_produktu]) ---------------------------- */

body.tx-karta .tp-more {
	display: flow-root;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 20px 30px;
	color: #1a1a1a;
	font-family: 'Poppins', sans-serif;
}

body.tx-karta .tp-more__section {
	margin: 64px auto 0;
}

body.tx-karta .tp-more__origin,
body.tx-karta .tp-more__weight,
body.tx-karta .tp-faq,
body.tx-karta .tp-calc {
	max-width: 900px;
}

body.tx-karta .tp-kicker {
	display: block;
	margin-bottom: 10px;
	color: #84c447;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.65;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

/* Odstep pod naglowkami 0,7 em: tyle dawala dotad regula Astry .woocommerce-js h2. */
body.tx-karta .tp-more__h2 {
	margin: 0 0 0.7em;
	color: #1a1a1a;
	font-size: 32px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.5px;
}

body.tx-karta .tp-more__h3 {
	margin: 0 0 8px;
	color: #1a1a1a;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.3;
}

body.tx-karta .tp-more__p {
	margin: 0 0 14px;
	color: #444;
	font-size: 16px;
	line-height: 1.7;
}

body.tx-karta .tp-more__aside {
	margin: 18px 0 0;
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}

body.tx-karta .tp-more__aside a,
body.tx-karta .tp-more__p a,
body.tx-karta .tp-card a,
body.tx-karta .tp-contact__hours a {
	display: inline-block;
	margin: -12px -3px;
	padding: 12px 3px;
}

body.tx-karta .tp-more__aside a,
body.tx-karta .tp-more__p a,
body.tx-karta .tp-card a {
	color: #2f6d14;
	font-weight: 700;
	text-decoration: underline;
}

body.tx-karta .tp-more__grid2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

body.tx-karta .tp-more__grid3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

body.tx-karta .tp-card {
	padding: 24px;
	border: 1px solid #ececec;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

body.tx-karta .tp-card p {
	margin: 0;
	color: #555;
	font-size: 15px;
	line-height: 1.65;
}

body.tx-karta .tp-card--yes {
	border: 2px solid #84c447;
	background: #f7fcf1;
}

body.tx-karta .tp-card__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: #84c447;
	color: #fff;
	font-size: 18px;
	font-weight: 900;
}

body.tx-karta .tp-card__mark--grey {
	background: #e8e8e8;
	color: #666;
}

/* Kalkulator ilosci na sezon */

body.tx-karta .tp-calc {
	padding: 34px 28px;
	border: 2px solid #84c447;
	border-radius: 24px;
	background: #f7fcf1;
}

body.tx-karta .tp-calc__step {
	margin: 18px 0 10px;
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.65;
}

body.tx-karta .tp-calc__range {
	display: flex;
	align-items: center;
	gap: 16px;
}

body.tx-karta .tp-calc__range input[type="range"] {
	flex: 1 1 auto;
	height: 44px;
	accent-color: #84c447;
	cursor: pointer;
}

body.tx-karta .tp-calc__range output {
	flex: 0 0 auto;
	min-width: 96px;
	padding: 8px 10px;
	border: 2px solid #cfe6b2;
	border-radius: 12px;
	background: #fff;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.65;
	text-align: center;
}

body.tx-karta .tp-calc__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

body.tx-karta .tp-calc__choices button {
	min-height: 48px;
	padding: 10px 20px;
	border: 2px solid #cfe6b2;
	border-radius: 999px;
	background: #fff;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	/* 1em = 16 px, dziedziczone takze przez podpis (small), jak dotad. */
	line-height: 1em;
	cursor: pointer;
}

body.tx-karta .tp-calc__choices button[aria-pressed="true"] {
	border-color: #84c447;
	background: #84c447;
	color: #fff;
}

body.tx-karta .tp-calc__choices button small {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 600;
	opacity: 0.7;
}

body.tx-karta .tp-calc__result {
	margin-top: 22px;
	padding: 22px;
	border: 1px solid #dcedc8;
	border-radius: 18px;
	background: #fff;
	line-height: 1.65;
}

body.tx-karta .tp-calc__result[hidden] {
	display: none;
}

body.tx-karta .tp-calc__tons {
	margin-bottom: 4px;
	font-size: 22px;
	font-weight: 900;
}

body.tx-karta .tp-calc__tons strong,
body.tx-karta .tp-calc__sum strong {
	color: #5a9424;
}

body.tx-karta .tp-calc__sum {
	color: #333;
	font-size: 17px;
	font-weight: 700;
}

body.tx-karta .tp-calc__bags {
	margin-top: 4px;
	color: #555;
	font-size: 15px;
}

body.tx-karta .tp-calc__runs {
	margin-top: 10px;
	color: #666;
	font-size: 14px;
}

body.tx-karta .tp-calc__add {
	min-height: 52px;
	margin-top: 16px;
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: #1a1a1a;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
	cursor: pointer;
}

body.tx-karta .tp-calc__note {
	margin: 12px 0 0;
	color: #777;
	font-size: 13px;
	line-height: 1.65;
}

body.tx-karta .tp-calc__how {
	margin-top: 18px;
}

body.tx-karta .tp-calc__how summary {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #2f6d14;
	font-size: 14px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

body.tx-karta .tp-calc__how summary::-webkit-details-marker {
	display: none;
}

body.tx-karta .tp-calc__how summary::after {
	content: '+';
	margin-left: 6px;
	font-weight: 900;
}

body.tx-karta .tp-calc__how[open] summary::after {
	content: '−';
}

body.tx-karta .tp-calc__how p {
	margin: 6px 0 0;
	color: #777;
	font-size: 13px;
	line-height: 1.6;
}

/* Nagrania z kotla */

body.tx-karta .tp-clip {
	display: flex;
	flex-direction: column;
}

body.tx-karta .tp-clip__frame {
	aspect-ratio: 1 / 1;
	margin-bottom: 14px;
	overflow: hidden;
	border-radius: 20px;
	background: #f2f2f2;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.tx-karta .tp-clip__frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.tx-karta .tp-clip p {
	margin: 0;
	color: #555;
	font-size: 15px;
	line-height: 1.6;
}

/* Waga */

body.tx-karta .tp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

body.tx-karta .tp-chips li {
	margin: 0;
	padding: 10px 16px;
	border: 1px solid #cfe6b2;
	border-radius: 999px;
	background: #f7fcf1;
	color: #3f691a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.65;
}

/* Opinie Google (2026-10-12, polecenia wlasciciela): opinie tekstem jak na stronie glownej (gwiazdki,
   tresc, zdjecie profilowe, imie), na zwyklym bialym tle, kazda w cienkiej ramce, jak na kartach produktow
   duzych sklepow (bez ciemnego pasu). Cztery od razu, reszta pod „Zobacz wiecej opinii” (natywne
   <details>). Nic nie rusza sie samo (dotad dwie tasmy zrzutow jechaly bez konca).
   Siatka: telefon 1, od 640 px 2, od 1200 px 4 w rzedzie. */

/* Gwiazdki oceny w gorze karty przewijaja tutaj: sekcja zatrzymuje sie pod stalym naglowkiem strony. */
body.tx-karta #opinie {
	scroll-margin-top: 130px;
}

@media (max-width: 767px) {
	body.tx-karta #opinie {
		scroll-margin-top: 88px;
	}
}

/* Znak Google zawsze obok naglowka (na telefonie tez, bez osobnej linii), naglowek lamany rowno. */
body.tx-karta .tp-reviews .tp-more__h2 {
	min-width: 0;
	margin: 0;
	text-wrap: balance;
}

body.tx-karta .tp-reviews__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 26px;
}

body.tx-karta .tp-reviews__logo {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
}

body.tx-karta .tp-reviews .tp-quotes {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tx-karta .tp-reviews .tp-quote {
	display: flex;
	min-width: 0;
	margin: 0;
	padding: 0;
}

body.tx-karta .tp-reviews .tp-quote__fig {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	margin: 0;
	padding: 22px;
	border: 1px solid #e0e3da;
	border-radius: 16px;
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 1px 2px rgb(21 25 18 / 0.04);
}

/* Gwiazdki i znak Google na gorze, potem tresc, na dole autor: uklad, ktory klient zna z Google. */
body.tx-karta .tp-reviews .tp-quote__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

body.tx-karta .tp-reviews .tp-quote__stars {
	display: inline-flex;
	gap: 1px;
	color: #fbbc04;
}

body.tx-karta .tp-reviews .tp-quote__stars svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

body.tx-karta .tp-reviews .tp-quote__g {
	flex: none;
	width: 24px;
	height: 24px;
}

/* Astra stylizuje blockquote (ramka z lewej, wciecie, kursywa): tu zwykly tekst opinii. */
body.tx-karta .tp-reviews blockquote.tp-quote__text {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #1a1a1a;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.6;
	quotes: none;
}

body.tx-karta .tp-reviews blockquote.tp-quote__text::before,
body.tx-karta .tp-reviews blockquote.tp-quote__text::after {
	content: none;
}

body.tx-karta .tp-reviews .tp-quote__text p {
	margin: 0;
	color: inherit;
	font: inherit;
	text-wrap: pretty;
}

body.tx-karta .tp-reviews .tp-quote__who {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #eceee8;
	font-size: 16px;
	text-align: left;
}

body.tx-karta .tp .tp-reviews .tp-quote__avatar {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	background: #f6f7f2;
	box-shadow: none;
}

body.tx-karta .tp-reviews .tp-quote__name {
	display: grid;
	justify-items: start;
	gap: 3px;
	min-width: 0;
}

body.tx-karta .tp-reviews .tp-quote__name strong {
	overflow-wrap: anywhere;
	color: #1a1a1a;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
}

body.tx-karta .tp-reviews .tp-quote__src {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #2f6d14;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}

body.tx-karta .tp-reviews .tp-quote__src svg {
	flex: none;
	width: 14px;
	height: 14px;
}

/* „Zobacz wiecej opinii”: przycisk z obrysem jak na stronie glownej, strzalka obraca sie po otwarciu. */
body.tx-karta .tp-reviews__more {
	margin-top: 22px;
}

body.tx-karta .tp-reviews__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: fit-content;
	min-height: 48px;
	margin: 0 auto;
	padding: 12px 22px;
	border: 2px solid #d3d7cb;
	border-radius: 14px;
	background: #fff;
	color: #1a1a1a;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.15;
	list-style: none;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), border-color 150ms ease, background-color 150ms ease;
}

body.tx-karta .tp-reviews__toggle::-webkit-details-marker {
	display: none;
}

body.tx-karta .tp-reviews__toggle::marker {
	content: '';
}

body.tx-karta .tp-reviews__toggle:active {
	transform: scale(0.97);
}

body.tx-karta .tp .tp-reviews__toggle:focus-visible {
	outline: 3px solid #2f6d14;
	outline-offset: 3px;
}

body.tx-karta .tp-reviews__close,
body.tx-karta .tp-reviews__more[open] .tp-reviews__open {
	display: none;
}

body.tx-karta .tp-reviews__more[open] .tp-reviews__close {
	display: inline;
}

body.tx-karta .tp-reviews__chev {
	flex: none;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: #2f6d14;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.tx-karta .tp-reviews__more[open] .tp-reviews__chev {
	transform: rotate(180deg);
}

body.tx-karta .tp-reviews .tp-quotes--more {
	margin-top: 22px;
}

/* Otwarcie listy: krotkie wejscie kart (tylko przezroczystosc i przesuniecie, bez zmiany ukladu). */
@media (prefers-reduced-motion: no-preference) {
	body.tx-karta .tp-reviews__more[open] .tp-quotes--more {
		animation: tp-quotes-in 240ms cubic-bezier(0.23, 1, 0.32, 1) both;
	}
}

@keyframes tp-quotes-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

@media (hover: hover) and (pointer: fine) {
	body.tx-karta .tp-reviews__toggle:hover {
		border-color: #2f6d14;
		background: #f6f7f2;
	}
}

body.tx-karta .tp-reviews .tp-more__aside {
	margin: 20px 0 0;
	text-align: center;
}


body.tx-karta .tp-reviews__nowrap {
	white-space: nowrap;
}

@media (min-width: 640px) {
	body.tx-karta .tp-reviews .tp-quotes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	body.tx-karta .tp-reviews .tp-quotes {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Pytania */

body.tx-karta .tp-faq__item {
	border-bottom: 1px solid #ececec;
}

/* Wysokosc pytania jak dotad: 52 px tresci plus 2 x 14 px marginesu (stary arkusz liczyl
   min-height bez marginesu wewnetrznego). */
body.tx-karta .tp-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 80px;
	padding: 14px 2px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.65;
	list-style: none;
	cursor: pointer;
}

body.tx-karta .tp-faq__item summary::-webkit-details-marker {
	display: none;
}

body.tx-karta .tp-faq__sign {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f2f2f2;
	color: #555;
	font-weight: 800;
}

body.tx-karta .tp-faq__item[open] .tp-faq__sign {
	background: #84c447;
	color: #fff;
}

body.tx-karta .tp-faq__item p {
	margin: 0 0 16px;
	padding: 0 44px 0 2px;
	color: #555;
	font-size: 15px;
	line-height: 1.7;
}

/* Kontakt */

body.tx-karta .tp-contact {
	padding: 40px 24px;
	border: 1px solid #ececec;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	text-align: center;
}

body.tx-karta .tp-contact .tp-more__p {
	max-width: 640px;
	margin: 0 auto 20px;
}

body.tx-karta .tp-contact__tel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 14px 34px;
	border-radius: 999px;
	background: #84c447;
	/* Poprawka: ciemny tekst na zieleni (kontrast 8,9:1, jak "Dodaj do koszyka"); bialy mial 2,1:1. */
	color: #0b1406;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.65;
}

body.tx-karta .tp-contact__hours {
	margin: 14px 0 0;
	color: #666;
	font-size: 14px;
	line-height: 1.65;
}

body.tx-karta .tp-contact__hours a {
	color: #2f6d14;
	font-weight: 700;
}

body.tx-karta .tp-contact__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 18px;
}

body.tx-karta .tp-contact__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 9px 20px;
	border: 2px solid #e0e0e0;
	border-radius: 999px;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.65;
}

@media (max-width: 992px) {
	body.tx-karta .tp-more__h2 {
		font-size: 27px;
	}

	body.tx-karta .tp-more__grid3 {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 700px) {
	body.tx-karta .tp-more {
		padding: 0 15px 20px;
	}

	body.tx-karta .tp-more__section {
		margin-top: 46px;
	}

	body.tx-karta .tp-more__h2 {
		font-size: 23px;
	}

	body.tx-karta .tp-more__grid2,
	body.tx-karta .tp-more__grid3 {
		grid-template-columns: 1fr;
	}

	body.tx-karta .tp-calc {
		padding: 26px 18px;
	}

	/* Poprawka: odpowiedzi kalkulatora na telefonie na cala szerokosc (rowne, wieksze pola dotyku). */
	body.tx-karta .tp-calc__choices button {
		flex: 1 1 auto;
	}

	body.tx-karta .tp-calc__tons {
		font-size: 19px;
	}

	body.tx-karta .tp-calc__range output {
		min-width: 84px;
		font-size: 17px;
	}

	body.tx-karta .tp-reviews__head {
		gap: 12px;
		margin-bottom: 18px;
	}

	body.tx-karta .tp-reviews__logo {
		width: 28px;
		height: 28px;
	}

	body.tx-karta .tp-reviews .tp-quote__fig {
		padding: 20px 18px;
	}
}

/* --- Zobacz tez: kafelek sklepu ----------------------------------------------------- */
/* Kafelek to template-parts/shop/tile.php (ten sam co na /sklep/ i w kategoriach). Wartosci
   przeniesione z assets/css/sklep.css, ktory jest przypiety do strony sklepu (body.tx-sklep .tk).
   ZMIANA WYGLADU KAFELKA: w sklep.css i tutaj naraz. Siatka jak w sklepie: 2 w rzedzie na telefonie,
   4 od 768 px, przy powiekszonym pismie sama 1 i 2. */

body.tx-karta .tp-related {
	margin-top: 44px;
	color: var(--tx-ink);
	font-family: var(--tx-font-body);
	line-height: 1.6;
}

/* Na telefonie sekcja zajmuje tez 10 px marginesu dolnej czesci karty z kazdej strony: siatka ma
   wtedy szerokosc jak w sklepie (360 px: 328 px, dwa kafelki po 158 px), przyciski mieszcza sie w linii. */
@media (max-width: 767px) {
	body.tx-karta .tp-related {
		margin-inline: -10px;
	}
}

body.tx-karta .tp-related__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--tx-line-light);
}

body.tx-karta .tp-related__icon {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgb(47 109 20 / 0.1);
	color: var(--tx-green-ink);
}

body.tx-karta .tp-related__icon .th-icon {
	width: 22px;
	height: 22px;
}

body.tx-karta .tp .tp-related__title {
	margin: 0;
	color: var(--tx-ink);
	font-family: var(--tx-font-display);
	font-size: var(--tx-fs-h3);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

body.tx-karta .tp-related .th-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

body.tx-karta .tp-related .tk-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

body.tx-karta .tp-related ul.products.tk-grid {
	--tk-gap: 12px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(max(9.5rem, (100% - 3 * var(--tk-gap)) / 4), 1fr));
	gap: var(--tk-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tx-karta .tp-related ul.products.tk-grid::before,
body.tx-karta .tp-related ul.products.tk-grid::after {
	display: none;
	content: none;
}

@media (min-width: 768px) {
	body.tx-karta .tp-related ul.products.tk-grid {
		--tk-gap: 16px;
	}
}

@media (min-width: 1280px) {
	body.tx-karta .tp-related ul.products.tk-grid {
		--tk-gap: 20px;
	}
}

body.tx-karta .tp-related ul.products li.product.tk-tile {
	container-type: inline-size;
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	clear: none;
	width: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--tx-line-light);
	border-radius: var(--tx-r-lg);
	background: #ffffff;
	color: var(--tx-ink);
	text-align: left;
	box-shadow: 0 1px 2px rgb(21 25 18 / 0.06), 0 14px 30px -20px rgb(21 25 18 / 0.35);
	transition: transform var(--tx-base) var(--tx-ease), box-shadow var(--tx-base) var(--tx-ease);
}

body.tx-karta .tp-related ul.products li.product a:focus-visible {
	outline: 3px solid var(--tx-green-ink);
	outline-offset: 3px;
}

body.tx-karta .tp-related .tk-tile__media {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: #ffffff;
}

body.tx-karta .tp-related ul.products li.product .tk-tile__img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	box-shadow: none;
	transition: transform 600ms var(--tx-ease), filter var(--tx-base) var(--tx-ease);
}

body.tx-karta .tp-related .tk-tile__fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: var(--tx-paper);
	color: var(--tx-ink-2);
}

body.tx-karta .tp-related .tk-tile__fallback .th-icon {
	width: 40%;
	height: 40%;
}

body.tx-karta .tp-related .tk-tile__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	padding: 14px 12px;
	border-top: 1px solid var(--tx-line-light);
}

body.tx-karta .tp-related ul.products li.product .tk-tile__name {
	margin: 0;
	padding: 0;
	color: var(--tx-ink);
	font-family: var(--tx-font-display);
	font-size: clamp(1rem, 0.8rem + 2.6cqi, 1.25rem);
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
	text-wrap: pretty;
}

/* Cel dotyku 44 px bez zmiany ukladu. */
body.tx-karta .tp-related .tk-tile__name a {
	display: inline-block;
	margin-block: -12px;
	padding-block: 12px;
	color: var(--tx-ink);
	text-decoration: none;
	overflow-wrap: anywhere;
}

body.tx-karta .tp-related .tk-tile__stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 6px 0 0;
	color: var(--tx-alert-ink);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
}

body.tx-karta .tp-related .tk-tile__stock::before {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

body.tx-karta .tp-related ul.products li.product .tk-tile__price {
	display: block;
	margin: 10px 0 0;
	color: var(--tx-green-ink);
	font-family: var(--tx-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}

body.tx-karta .tp-related .tk-tile__amount {
	font-size: clamp(1.375rem, 0.95rem + 5.4cqi, 2.125rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

body.tx-karta .tp-related .tk-tile__amount .woocommerce-Price-amount,
body.tx-karta .tp-related .tk-tile__amount bdi {
	color: inherit;
	font: inherit;
}

body.tx-karta .tp-related .tk-tile__amount del {
	margin-right: 6px;
	color: var(--tx-ink-2);
	font-size: 0.6em;
	font-weight: 600;
	opacity: 1;
}

body.tx-karta .tp-related .tk-tile__amount ins {
	text-decoration: none;
}

body.tx-karta .tp-related .tk-tile__unit {
	font-size: clamp(0.9375rem, 0.8rem + 1.6cqi, 1.125rem);
	font-weight: 600;
}

body.tx-karta .tp-related .tk-tile__second {
	margin: 6px 0 0;
	color: var(--tx-ink-2);
	font-size: 0.875rem;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
}

body.tx-karta .tp-related ul.products li.product .tk-tile__second strong {
	display: inline;
	color: var(--tx-ink);
	font-weight: 700;
	white-space: nowrap;
}

body.tx-karta .tp-related ul.products li.product.is-out .tk-tile__price {
	color: var(--tx-ink-2);
}

body.tx-karta .tp-related ul.products li.product.is-out .tk-tile__img {
	filter: grayscale(0.7);
	opacity: 0.85;
}

body.tx-karta .tp-related .tk-tile__actions {
	display: grid;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
}

body.tx-karta .tp-related .tk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
	width: 100%;
	min-height: 48px;
	padding: 0.7em 0.6em;
	border: 2px solid transparent;
	border-radius: var(--tx-r);
	font-family: var(--tx-font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
	cursor: pointer;
	user-select: none;
	transition:
		background-color var(--tx-fast) var(--tx-ease),
		border-color var(--tx-fast) var(--tx-ease),
		color var(--tx-fast) var(--tx-ease),
		transform var(--tx-fast) var(--tx-ease);
}

body.tx-karta .tp-related .tk-btn:active {
	transform: scale(0.97);
}

body.tx-karta .tp-related .tk-btn--primary {
	border-color: var(--tx-green-press);
	background: var(--tx-green);
	color: var(--tx-on-green);
}

body.tx-karta .tp-related .tk-btn--call {
	min-height: 44px;
	border-color: var(--tx-line-light);
	background: transparent;
	color: var(--tx-ink);
	font-variant-numeric: tabular-nums;
}

body.tx-karta .tp-related .tk-btn--call .th-icon {
	width: 18px;
	height: 18px;
	color: var(--tx-green-ink);
}

@container (max-width: 179px) {
	body.tx-karta .tp-related .tk-btn {
		padding-inline: 0.45em;
		font-size: 0.875rem;
	}

	body.tx-karta .tp-related .tk-btn--call .th-icon {
		width: 16px;
		height: 16px;
	}
}

@container (min-width: 260px) {
	body.tx-karta .tp-related .tk-tile__body {
		padding: 18px 20px 20px;
	}

	body.tx-karta .tp-related .tk-tile__second {
		font-size: 0.9375rem;
	}

	body.tx-karta .tp-related .tk-btn--primary {
		font-size: 1rem;
	}
}

@media (hover: hover) and (pointer: fine) {
	body.tx-karta .tp-related ul.products li.product.tk-tile:hover {
		box-shadow: 0 1px 2px rgb(21 25 18 / 0.08), 0 22px 40px -22px rgb(21 25 18 / 0.45);
		transform: translateY(-3px);
	}

	body.tx-karta .tp-related ul.products li.product.tk-tile:hover .tk-tile__img {
		transform: scale(1.04);
	}

	body.tx-karta .tp-related .tk-tile__name a:hover {
		color: var(--tx-green-ink);
	}

	body.tx-karta .tp-related .tk-btn--primary:hover {
		border-color: var(--tx-green-hover);
		background: var(--tx-green-hover);
	}

	body.tx-karta .tp-related .tk-btn--call:hover {
		border-color: var(--tx-ink);
		color: var(--tx-ink);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.tx-karta .tp-related .tk-btn:active,
	body.tx-karta .tp-related ul.products li.product.tk-tile:hover,
	body.tx-karta .tp-related ul.products li.product.tk-tile:hover .tk-tile__img {
		transform: none;
	}
}

/* --- Produkt niedostepny (etap 2 planu z 2026-10-12) ------------------------------------
   Zdjecia czarno-biale z duzym napisem „Brak w magazynie” i pod cena jeden dostepny produkt
   („Polecamy podobny produkt”, kafelek sklepu ulozony poziomo). Wszystko wynika ze stanu w WooCommerce,
   wiec po powrocie towaru karta wraca do zwyklego wygladu sama. */

body.tx-karta .tp .tp-gallery.is-brak .tp-gallery__img,
body.tx-karta .tp .tp-gallery.is-brak .tp-gallery__thumb img {
	filter: grayscale(1);
}

/* Napis na srodku zdjecia, miedzy strzalkami galerii (strzalka 44 px od krawedzi 12-16 px, do tego 8 px odstepu);
   bialy na prawie czarnym (ok. 17:1). */
body.tx-karta .tp-gallery__brak {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: max-content;
	max-width: calc(100% - 136px);
	padding: 0.45em 0.9em;
	border: 2px solid rgb(255 255 255 / 0.92);
	border-radius: var(--tx-r);
	background: rgb(21 25 18 / 0.9);
	color: #ffffff;
	font-family: 'Outfit', sans-serif;
	font-size: clamp(1.375rem, 0.95rem + 2.2vw, 2.25rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-align: center;
	text-wrap: balance;
	box-shadow: 0 12px 32px -12px rgb(0 0 0 / 0.55);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
	body.tx-karta .tp-gallery__brak {
		font-size: 1.5rem;
	}
}

body.tx-karta .tp-rec {
	margin: 0 0 18px;
}

body.tx-karta .tp .tp-rec__title {
	margin: 0 0 10px;
	color: #1a1a1a;
	font-family: 'Outfit', sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

body.tx-karta .tp-rec ul.products.tp-rec__list {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tx-karta .tp-rec ul.products.tp-rec__list::before,
body.tx-karta .tp-rec ul.products.tp-rec__list::after {
	display: none;
	content: none;
}

body.tx-karta .tp-rec ul.products li.product.tk-tile {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	align-items: center;
	float: none;
	clear: none;
	width: auto;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--tx-line-light);
	border-radius: var(--tx-r-lg);
	background: #ffffff;
	color: var(--tx-ink);
	text-align: left;
	box-shadow: 0 1px 2px rgb(21 25 18 / 0.06), 0 14px 30px -20px rgb(21 25 18 / 0.35);
	transition: box-shadow var(--tx-base) var(--tx-ease), transform var(--tx-base) var(--tx-ease);
}

body.tx-karta .tp-rec .tk-tile__media {
	display: block;
	align-self: center;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	background: #ffffff;
}

body.tx-karta .tp-rec ul.products li.product .tk-tile__img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	box-shadow: none;
}

body.tx-karta .tp-rec .tk-tile__fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: var(--tx-paper);
	color: var(--tx-ink-2);
}

body.tx-karta .tp-rec .tk-tile__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 12px 14px 14px;
	border-left: 1px solid var(--tx-line-light);
}

body.tx-karta .tp-rec ul.products li.product .tk-tile__name {
	margin: 0;
	padding: 0;
	color: var(--tx-ink);
	font-family: var(--tx-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	text-wrap: pretty;
}

/* Cel dotyku 44 px bez zmiany ukladu. */
body.tx-karta .tp-rec .tk-tile__name a {
	display: inline-block;
	margin-block: -12px;
	padding-block: 12px;
	color: var(--tx-ink);
	overflow-wrap: anywhere;
}

body.tx-karta .tp-rec ul.products li.product .tk-tile__price {
	display: block;
	margin: 6px 0 0;
	color: var(--tx-green-ink);
	font-family: var(--tx-font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}

body.tx-karta .tp-rec .tk-tile__amount {
	font-size: 1.375rem;
	font-weight: 700;
	white-space: nowrap;
}

body.tx-karta .tp-rec .tk-tile__amount .woocommerce-Price-amount,
body.tx-karta .tp-rec .tk-tile__amount bdi {
	color: inherit;
	font: inherit;
}

body.tx-karta .tp-rec .tk-tile__second {
	margin: 4px 0 0;
	color: var(--tx-ink-2);
	font-size: 0.875rem;
	line-height: 1.4;
	font-variant-numeric: tabular-nums;
}

body.tx-karta .tp-rec ul.products li.product .tk-tile__second strong {
	display: inline;
	color: var(--tx-ink);
	font-weight: 700;
	white-space: nowrap;
}

body.tx-karta .tp-rec .tk-tile__actions {
	margin-top: 10px;
}

body.tx-karta .tp-rec .tk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 0.7em 1em;
	border: 2px solid var(--tx-green-press);
	border-radius: var(--tx-r);
	background: var(--tx-green);
	color: var(--tx-on-green);
	font-family: var(--tx-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	transition:
		background-color var(--tx-fast) var(--tx-ease),
		border-color var(--tx-fast) var(--tx-ease),
		transform var(--tx-fast) var(--tx-ease);
}

body.tx-karta .tp-rec .tk-btn:active {
	transform: scale(0.97);
}

/* Telefon jest tuz pod blokiem (ramka „Zamow telefonicznie”), w kafelku zostaje sam „Zobacz produkt”. */
body.tx-karta .tp-rec .tk-btn.tk-btn--call {
	display: none;
}

body.tx-karta .tp-rec ul.products li.product a:focus-visible {
	outline: 3px solid var(--tx-green-ink);
	outline-offset: 3px;
}

body.tx-karta .tp-rec .tk-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (min-width: 480px) {
	body.tx-karta .tp-rec ul.products li.product.tk-tile {
		grid-template-columns: 136px minmax(0, 1fr);
	}

	body.tx-karta .tp-rec .tk-tile__body {
		padding: 14px 18px 16px;
	}

	body.tx-karta .tp-rec ul.products li.product .tk-tile__name {
		font-size: 1.0625rem;
	}

	body.tx-karta .tp-rec .tk-tile__amount {
		font-size: 1.5rem;
	}

	body.tx-karta .tp-rec .tk-btn {
		width: auto;
		align-self: flex-start;
		padding-inline: 1.4em;
	}
}

@media (hover: hover) and (pointer: fine) {
	body.tx-karta .tp-rec ul.products li.product.tk-tile:hover {
		box-shadow: 0 1px 2px rgb(21 25 18 / 0.08), 0 22px 40px -22px rgb(21 25 18 / 0.45);
	}

	body.tx-karta .tp-rec .tk-tile__name a:hover {
		color: var(--tx-green-ink);
	}

	body.tx-karta .tp-rec .tk-btn:hover {
		border-color: var(--tx-green-hover);
		background: var(--tx-green-hover);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.tx-karta .tp-rec .tk-btn:active {
		transform: none;
	}
}

/* --- Ograniczony ruch: bez animacji ------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	body.tx-karta .tp *,
	body.tx-karta .tp *::before,
	body.tx-karta .tp *::after {
		transition-duration: 0s !important;
	}

	body.tx-karta .tp-phone.is-open .tp-phone__dot::after {
		animation: none;
		display: none;
	}

	body.tx-karta .tp-buy form.cart .single_add_to_cart_button:active,
	body.tx-karta .tp .tp-forma__opt[data-tp-forma]:active {
		transform: none !important;
	}

	body.tx-karta .tp-forma__list::before {
		transition: none;
	}
}
