/*
 * ttcompare 1.1.0
 *  1) pasek z miniaturkami na dole ekranu (#ttc-bar)
 *  2) tabela porownania (.ttc-compare)
 * Wszystkie klasy z prefiksem ttc- - nie koliduja ze stylami motywu.
 */

/* ============ 1) pasek na dole ============ */

.ttc-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1030;
	background: #fff;
	border-top: 1px solid #dcdcdc;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
	font-family: var(--primary-font, inherit);
	color: var(--body-text-color, #333);
}

.ttc-tab {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 8px 16px;
	border: 0;
	border-bottom: 1px solid #eee;
	background: #f7f7f7;
	color: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	text-align: left;
	cursor: pointer;
}

.ttc-tab:hover {
	background: #f0f0f0;
}

.ttc-tab .material-icons {
	font-size: 20px;
	line-height: 20px;
}

.ttc-tab-title {
	flex: 0 0 auto;
}

.ttc-count {
	flex: 0 0 auto;
	min-width: 38px;
	padding: 0 8px;
	border-radius: 10px;
	background: var(--primary-bg-color, #20308a);
	color: var(--secondary-text-color, #fff);
	font-size: 12px;
	line-height: 20px;
	text-align: center;
}

.ttc-chev {
	margin-left: auto;
	transition: transform .2s ease;
}

.ttc-panel {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 16px 12px;
}

.ttc-items {
	display: flex;
	flex: 0 1 auto;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttc-item,
.ttc-slot {
	position: relative;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 6px;
	box-sizing: border-box;
}

.ttc-item {
	border: 1px solid #ddd;
	background: #fff;
}

.ttc-slot {
	border: 1px dashed #cfcfcf;
	background: #fafafa;
}

.ttc-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 3px;
	box-sizing: border-box;
}

.ttc-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.ttc-x {
	position: absolute;
	top: -8px;
	right: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 1px solid #ccc;
	border-radius: 50%;
	background: #fff;
	color: #555;
	line-height: 1;
	cursor: pointer;
}

.ttc-x .material-icons {
	font-size: 14px;
	line-height: 14px;
}

.ttc-x:hover {
	background: #c0392b;
	border-color: #c0392b;
	color: #fff;
}

.ttc-side {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	min-width: 0;
}

.ttc-msg {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 13px;
	line-height: 18px;
	color: #666;
	text-align: right;
}

.ttc-msg-warn {
	color: #b3261e;
	font-weight: 600;
}

.ttc-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 14px;
}

.ttc-go.disabled {
	opacity: .5;
	cursor: not-allowed;
	pointer-events: none;
}

.ttc-clear {
	padding: 0;
	border: 0;
	background: none;
	color: #666;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.ttc-clear:hover {
	color: #111;
}

/* zwiniety: sama zakladka w lewym dolnym rogu */
.ttc-bar.ttc-min {
	right: auto;
	left: 16px;
	width: auto;
	border: 1px solid #dcdcdc;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	overflow: hidden;
}

.ttc-bar.ttc-min .ttc-panel {
	display: none;
}

.ttc-bar.ttc-min .ttc-tab {
	width: auto;
	border-bottom: 0;
}

.ttc-bar.ttc-min .ttc-chev {
	transform: rotate(180deg);
}

/* miejsce pod paskiem, zeby nie zaslanial stopki */
body.ttc-bar-open {
	padding-bottom: 130px;
}

body.ttc-bar-open.ttc-bar-min {
	padding-bottom: 0;
}

@media (max-width: 767px) {
	.ttc-panel {
		flex-wrap: wrap;
		gap: 10px;
		padding: 10px 12px;
	}

	.ttc-items {
		gap: 8px;
	}

	.ttc-item,
	.ttc-slot {
		width: 52px;
		height: 52px;
	}

	.ttc-side {
		flex: 1 1 100%;
		justify-content: space-between;
	}

	.ttc-msg {
		text-align: left;
	}

	body.ttc-bar-open {
		padding-bottom: 190px;
	}
}

@media print {
	.ttc-bar {
		display: none;
	}
}

/* ============ 2) strona porownania ============ */

.ttc-compare {
	--ttc-label-width: 240px;
	--ttc-line: #e5e5e5;
	--ttc-accent: var(--primary-bg-color, #20308a);
}

.ttc-share {
	margin: 24px 0 0;
	text-align: left;
}

.ttc-compare .ttc-share label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
	color: #20308a;
	text-align: left;
}

.ttc-share-row {
	display: flex;
	gap: 8px;
	max-width: 640px;
}

.ttc-compare .ttc-share input.form-control[readonly] {
	flex: 1 1 auto;
	min-width: 0;
	border: 1px solid #b9c6ee;
	background: #f3f6ff;
	color: #20308a;
	font-size: 14px;
	text-align: left;
	box-shadow: none;
}

.ttc-compare .ttc-share input.form-control[readonly]:focus {
	border-color: #20308a;
	outline: 0;
}

/* przycisk "Kopiuj link": niebieski, napis wysrodkowany */
.ttc-compare .ttc-share .ttc-copy {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	border: 1px solid #20308a;
	background: #20308a;
	color: #fff;
	text-align: center;
	text-indent: 0;
}

.ttc-compare .ttc-share .ttc-copy:hover,
.ttc-compare .ttc-share .ttc-copy:focus {
	border-color: #172266;
	background: #172266;
	color: #fff;
}

.ttc-wrap {
	background: #fff;
	/* bez ramki wokol calosci - lewa/prawa krawedz rysuja same komorki,
	   dzieki temu wiersz grupy cech nie ma bocznych kresek */
	border: 0;
	overflow: hidden;
	overflow: clip; /* clip nie tworzy kontenera przewijania - dzieki temu dziala position: sticky */
}

.ttc-scroll {
	overflow: visible;
}

.ttc-table {
	width: 100%;
	/* separate (nie collapse), zeby ramki przyklejonych komorek przesuwaly sie razem z nimi */
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	background: #fff;
}

.ttc-table th,
.ttc-table td {
	box-sizing: border-box;
	font-weight: inherit;
	vertical-align: middle;
	border-top: 0; /* motyw dodaje border-top kazdej komorce tabeli */
	/* motyw dodaje tez prawa ramke - razem z moja lewa ramka sasiedniej komorki dawala podwojna linie;
	   pionowe linie rysuje tylko lewa ramka kolumny (a prawa krawedz ostatnia kolumna, nizej) */
	border-right: 0;
}

/* gorna sekcja (zdjecie / nazwa / cena / koszyk): bez poziomych kresek,
   tylko linia pod ostatnim wierszem (.ttc-p-buy, .ttc-r-buy .ttc-corner) */
.ttc-table thead th {
	border-top: 0;
	border-bottom: 0;
}

/* tytul strony: odstep od krawedzi */
.ttc-compare .tt-innerpagetitle {
	padding: 22px 24px 14px;
	/* bez niebieskiej linii pod tytulem (dodaje ja motyw) */
	border-bottom: 0;
	margin-bottom: 20px;
}

/* kolumny: etykiety + rowne kolumny produktow */
.ttc-corner,
.ttc-label {
	width: var(--ttc-label-width);
}

/* --- naglowek z produktami: cztery wiersze (zdjecie, nazwa, cena, koszyk) --- */

.ttc-table .ttc-product {
	position: relative;
	padding: 0 18px;
	border-left: 1px solid var(--ttc-line);
	background: #fff;
	text-align: center;
	vertical-align: top;
}

.ttc-table .ttc-p-img {
	padding-top: 28px;
	padding-bottom: 12px;
}

.ttc-table .ttc-p-name {
	padding-top: 6px;
	padding-bottom: 12px;
}

.ttc-table .ttc-p-price {
	padding-bottom: 14px;
}

.ttc-table .ttc-p-buy {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--ttc-line);
}

.ttc-corner {
	background: #fff;
}

.ttc-r-buy .ttc-corner {
	border-bottom: 1px solid var(--ttc-line);
}

/* zewnetrzna ramka: gora (wiersz ze zdjeciami), lewa (etykiety), prawa (ostatnia kolumna) */
.ttc-table .ttc-r-img th {
	border-top: 1px solid var(--ttc-line);
}

.ttc-table .ttc-corner,
.ttc-table .ttc-label {
	border-left: 1px solid var(--ttc-line);
}

.ttc-table .ttc-product:last-child,
.ttc-table .ttc-cell:last-child,
.ttc-table .ttc-foot-cell:last-child {
	border-right: 1px solid var(--ttc-line);
}

.ttc-remove {
	position: absolute;
	top: 6px;
	right: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #888;
	cursor: pointer;
}

.ttc-remove .material-icons {
	font-size: 18px;
	line-height: 18px;
}

.ttc-remove:hover {
	background: #f1f1f1;
	color: #c0392b;
}

.ttc-compare .ttc-thumb {
	display: block;
	width: auto;
	height: 170px;
	margin: 0 auto;
	padding: 0;
}

.ttc-compare .ttc-thumb img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 100%;
	margin: 0 auto;
	object-fit: contain;
}

/* pelna nazwa produktu - bez obcinania, zawijana */
.ttc-name {
	display: block;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--ttc-accent);
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.ttc-name:hover {
	text-decoration: underline;
}

.ttc-price {
	display: block;
	margin: 0;
	float: none;
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
	color: #222;
}

.ttc-price .regular-price {
	margin-left: 6px;
	font-size: 13px;
	font-weight: 400;
	color: #888;
	text-decoration: line-through;
}

.ttc-price .discount-percentage {
	margin-left: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #c0392b;
}

.ttc-cart {
	margin: 0;
}

/* --- przyklejony pasek z nazwami, cenami i "Do koszyka" (tylko szeroki ekran) ---
   Pozycje i szerokosci kolumn ustawia JS (initStickyBar), tu tylko wyglad.
   Na waskim ekranie tabela przewija sie poziomo - pasek jest tam wylaczony. */
.ttc-stickybar {
	position: fixed;
	z-index: 2; /* nisko: nie zaslania rozwijanego menu motywu */
	top: 0;
	left: 0;
	display: grid;
	grid-auto-flow: column;
	align-items: stretch;
	background: #fff;
	border-bottom: 1px solid var(--ttc-line, #e5e5e5);
	box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .3);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: top .5s ease-in-out, opacity .2s ease, visibility .2s;
}

.ttc-stickybar.ttc-sb-on {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.ttc-sb-corner {
	background: #fff;
}

.ttc-sb-col {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 6px;
	min-width: 0;
	padding: 10px 14px;
	border-left: 1px solid var(--ttc-line, #e5e5e5);
}

.ttc-compare .ttc-sb-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	font-weight: 600;
	line-height: 17px;
	color: var(--ttc-accent, #20308a);
	text-decoration: none;
}

.ttc-compare .ttc-sb-name:hover {
	text-decoration: underline;
}

.ttc-sb-buy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.ttc-sb-price {
	min-width: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	color: #222;
	white-space: nowrap;
}

.ttc-sb-old {
	display: block;
	font-size: 12px;
	font-weight: 400;
	line-height: 14px;
	color: #888;
	text-decoration: line-through;
}

.ttc-stickybar .ttc-cart {
	flex: 0 0 auto;
	margin: 0;
}

.ttc-stickybar .ttc-buy {
	padding: 7px 12px;
	font-size: 13px;
	line-height: 18px;
}

.ttc-stickybar .ttc-buy .material-icons {
	font-size: 16px;
	line-height: 16px;
}

@media (max-width: 991px) {
	.ttc-stickybar {
		display: none;
	}
}

@media print {
	.ttc-stickybar {
		display: none;
	}
}

/* --- zwijanie grup cech --- */

.ttc-compare .ttc-group-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	letter-spacing: inherit;
	text-align: left;
	text-transform: inherit;
	color: inherit;
	cursor: pointer;
}

.ttc-group-toggle .material-icons {
	font-size: 22px;
	line-height: 22px;
	transform: rotate(180deg); /* rozwiniete = strzalka w gore */
	transition: transform .2s ease;
}

.ttc-collapsed .ttc-group-toggle .material-icons {
	transform: rotate(0deg);
}

.ttc-table .ttc-group-title:hover {
	background: #e8ebf4;
}

.ttc-table .ttc-row.ttc-folded {
	display: none;
}

/* --- wartosci tak / nie jako ikony; brak danych jako myslnik --- */
.ttc-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.ttc-yes,
.ttc-no {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.ttc-yes {
	background: #e3f6ea;
	color: #1a9a4a;
}

.ttc-yes::before {
	content: "\2714";
}

.ttc-no {
	background: #f1f1f1;
	color: #8a8a8a;
}

.ttc-no::before {
	content: "\2716";
}

.ttc-table td.ttc-cell:empty::before {
	content: "-";
	font-size: 16px;
	color: #b5b5b5;
}

.ttc-buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.ttc-buy .material-icons {
	display: inline-block;
	font-size: 18px;
	line-height: 18px;
}

.ttc-unavailable {
	opacity: .6;
	cursor: not-allowed;
}

/* --- grupy cech --- */

.ttc-table .ttc-group-title {
	padding: 10px 18px;
	/* motyw dodaje komorkom pionowe ramki (lewa/prawa) - tu maja zniknac, zostaje tylko dolna linia */
	border-left: 0;
	border-right: 0;
	border-bottom: 1px solid var(--ttc-line);
	background: #f1f3f8; /* tlo strony */
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	text-align: left;
	text-transform: uppercase;
	color: #444;
}

/* --- wiersze cech: etykieta po prawej stronie, wartosc po lewej, jak na karcie produktu --- */

.ttc-row th,
.ttc-row td {
	padding: 12px 18px;
	border-bottom: 1px solid var(--ttc-line);
	font-size: 14px;
	line-height: 20px;
}

.ttc-label {
	text-align: right;
	color: #444;
	background: #fff;
}

.ttc-cell {
	border-left: 1px solid var(--ttc-line);
	text-align: left;
	color: #222;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.ttc-row:hover .ttc-label,
.ttc-row:hover .ttc-cell {
	background: #fafafa;
}

/* przyciski "Do koszyka" pod tabela - w kazdej kolumnie, tak jak pod zdjeciem */
.ttc-table .ttc-foot-cell {
	padding: 16px 18px;
	border-top: 1px solid var(--ttc-line);
	border-bottom: 1px solid var(--ttc-line);
	border-left: 1px solid var(--ttc-line);
	text-align: center;
}

.ttc-foot .ttc-label {
	border-top: 1px solid var(--ttc-line);
	border-bottom: 1px solid var(--ttc-line);
}

.ttc-unit,
.ttc-pre {
	font-weight: 400;
}

.ttc-empty {
	padding: 20px 18px;
	text-align: center;
	color: #777;
}

.ttc-hidden {
	display: none;
}

.ttc-compare .footer_link {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

/* --- waskie ekrany: przewijanie poziome, etykiety przyklejone do lewej --- */

@media (max-width: 991px) {
	.ttc-compare {
		--ttc-label-width: 150px;
	}

	.ttc-scroll {
		overflow-x: auto;
	}

	.ttc-table {
		min-width: calc(var(--ttc-label-width) + var(--ttc-cols, 2) * 210px);
	}

	.ttc-label,
	.ttc-corner {
		position: sticky;
		left: 0;
		z-index: 1;
		background: #fff;
		box-shadow: 1px 0 0 var(--ttc-line);
	}

	.ttc-row th,
	.ttc-row td {
		padding: 10px 12px;
		font-size: 13px;
	}

	.ttc-group-title {
		position: sticky;
		left: 0;
	}

	.ttc-compare .ttc-thumb {
		height: 130px;
	}
}

/* ============ 3) lewe gorne pole: przelacznik roznic + pomoc ============ */

.ttc-table .ttc-corner-info {
	padding: 24px 20px 20px;
	text-align: left;
	vertical-align: top;
}

/* przelacznik "Pokaz tylko roznice" */
.ttc-diff-toggle {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 18px;
	color: #20308a;
	text-align: left;
	cursor: pointer;
}

.ttc-diff-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ttc-diff-switch {
	position: relative;
	flex: 0 0 auto;
	width: 38px;
	height: 22px;
	border-radius: 11px;
	background: #c9d0e6;
	transition: background .2s ease;
}

.ttc-diff-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
	transition: transform .2s ease;
}

.ttc-diff-toggle input:checked + .ttc-diff-switch {
	background: #20308a;
}

.ttc-diff-toggle input:checked + .ttc-diff-switch::after {
	transform: translateX(16px);
}

.ttc-diff-toggle input:focus-visible + .ttc-diff-switch {
	outline: 2px solid #20308a;
	outline-offset: 2px;
}

.ttc-only-diff .ttc-row.ttc-same {
	display: none;
}

.ttc-nodiff {
	margin: 16px 0 0;
}

/* blok pomocy */
.ttc-help {
	margin-top: 8px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border-radius: 6px;
	background: #f1f3f8;
	font-size: 13px;
	line-height: 18px;
	color: #444;
}

.ttc-help-title {
	font-size: 14px;
	font-weight: 700;
	color: #222;
}

.ttc-help-phone {
	margin-top: 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
	color: #20308a;
	text-decoration: none;
	white-space: nowrap;
}

.ttc-help-phone:hover {
	text-decoration: underline;
}

.ttc-help-hours {
	color: #777;
}

@media (max-width: 991px) {
	.ttc-table .ttc-corner-info {
		padding: 16px 12px;
	}

	.ttc-diff-toggle {
		margin-bottom: 14px;
		font-size: 13px;
	}

	.ttc-help {
		padding: 12px;
	}

	.ttc-help-phone {
		font-size: 16px;
	}
}

/* ============ 4) kolumna "Dodaj produkt" + wyszukiwarka ============ */

.ttc-table .ttc-add {
	padding: 0 18px;
	border-left: 1px solid var(--ttc-line);
	background: #fff;
	vertical-align: top;
}

.ttc-table .ttc-add-img {
	position: relative;
	padding: 28px 18px 12px;
}

/* lista podpowiedzi ma byc nad przyklejonym wierszem z nazwami */
.ttc-table .ttc-add-img:focus-within {
	z-index: 10;
}

.ttc-table .ttc-add-buy {
	border-bottom: 1px solid var(--ttc-line);
}

.ttc-table .ttc-add-cell {
	border-left: 1px solid var(--ttc-line);
	border-bottom: 1px solid var(--ttc-line);
}

.ttc-table .ttc-add-foot {
	padding: 16px 18px;
	border-top: 1px solid var(--ttc-line);
}

.ttc-table .ttc-add:last-child,
.ttc-table .ttc-add-cell:last-child {
	border-right: 1px solid var(--ttc-line);
}

.ttc-add-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 16px 14px 18px;
	border: 2px dashed #b9c6ee;
	border-radius: 8px;
	background: #f7f9ff;
	text-align: center;
}

.ttc-add-plus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #20308a;
	color: #fff;
}

.ttc-add-plus .material-icons {
	font-size: 26px;
	line-height: 26px;
}

.ttc-compare .ttc-add-title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: #20308a;
	text-align: center;
}

.ttc-search {
	position: relative;
	width: 100%;
}

.ttc-compare .ttc-search-input {
	display: block;
	width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #b9c6ee;
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
	color: #222;
	box-shadow: none;
	text-align: left;
}

.ttc-compare .ttc-search-input:focus {
	border-color: #20308a;
	outline: 0;
}

.ttc-add-box.ttc-loading .ttc-search-input {
	background-image: linear-gradient(90deg, #dbe3fb, #fff);
	background-size: 200% 100%;
	animation: ttc-loading 1s linear infinite;
}

@keyframes ttc-loading {
	from { background-position: 100% 0; }
	to { background-position: -100% 0; }
}

.ttc-search-list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 30;
	max-height: 340px;
	margin: 0;
	padding: 4px 0;
	overflow-y: auto;
	border: 1px solid #b9c6ee;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	list-style: none;
	text-align: left;
}

.ttc-search-list[hidden] {
	display: none;
}

.ttc-search-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	cursor: pointer;
}

.ttc-search-item.ttc-active {
	background: #f1f3f8;
}

.ttc-search-item img {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.ttc-search-name {
	flex: 1 1 auto;
	min-width: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 13px;
	line-height: 17px;
	color: #20308a;
}

.ttc-search-price {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	color: #222;
	white-space: nowrap;
}

.ttc-search-none {
	padding: 12px;
	font-size: 13px;
	color: #666;
}

/* pusta strona porownania: samo pole wyszukiwania */
.ttc-add-empty {
	max-width: 420px;
	margin: 0 0 24px;
}

/* ============ 5) sekcja kontaktowa na dole ============ */

.ttc-compare .ttc-contact {
	position: relative;
	display: flex;
	align-items: center;
	gap: 56px;
	margin: 48px 0 8px;
	padding: 48px 56px;
	overflow: hidden;
	border-radius: 14px;
	background: linear-gradient(135deg, #20308a 0%, #172266 100%);
	color: #fff;
	box-shadow: 0 12px 32px rgba(23, 34, 102, .28);
}

/* dekoracyjne kola w tle */
.ttc-compare .ttc-contact::before,
.ttc-compare .ttc-contact::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, .05);
	pointer-events: none;
}

.ttc-compare .ttc-contact::before {
	top: -110px;
	right: -90px;
	width: 340px;
	height: 340px;
}

.ttc-compare .ttc-contact::after {
	bottom: -130px;
	left: 28%;
	width: 260px;
	height: 260px;
}

.ttc-contact-photo,
.ttc-contact-body {
	position: relative;
	z-index: 1;
}

/* lewa kolumna: zdjecie, plakietka, telefon, godziny */
.ttc-contact-photo {
	display: flex;
	flex: 0 0 300px;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ttc-contact-avatar {
	width: 200px;
	height: 200px;
	overflow: hidden;
	border: 6px solid rgba(255, 255, 255, .92);
	border-radius: 50%;
	background: #dbe3fb;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}

.ttc-contact-avatar img,
.ttc-contact-avatar svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ttc-contact-badge {
	position: relative;
	display: inline-block;
	margin-top: -16px;
	padding: 7px 16px;
	border-radius: 20px;
	background: var(--primary-bg-color, #ff5238);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 14px;
	text-transform: uppercase;
	color: #fff;
}

.ttc-compare .ttc-contact .ttc-contact-phone {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	max-width: 100%;
	margin-top: 26px;
	padding: 14px 24px 14px 20px;
	border-radius: 12px;
	background: var(--primary-bg-color, #ff5238);
	/* neutralny, ciemny cien (bez czerwonej poswiaty) */
	box-shadow: 0 8px 22px rgba(6, 10, 40, .5);
	color: #fff;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}

.ttc-compare .ttc-contact .ttc-contact-phone:hover,
.ttc-compare .ttc-contact .ttc-contact-phone:focus {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(6, 10, 40, .6);
	color: #fff;
}

.ttc-contact-phone .material-icons {
	font-size: 34px;
	line-height: 34px;
}

.ttc-contact-phone-text {
	display: block;
	text-align: left;
}

.ttc-contact-phone-label {
	display: block;
	margin-bottom: 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 15px;
	text-transform: uppercase;
	opacity: .92;
}

.ttc-contact-phone-number {
	display: block;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: .01em;
	line-height: 34px;
	white-space: nowrap;
}

.ttc-contact-hours {
	margin-top: 12px;
	font-size: 14px;
	line-height: 20px;
	color: rgba(255, 255, 255, .78);
}

/* prawa kolumna: tekst */
.ttc-contact-body {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.ttc-contact-eyebrow {
	display: block;
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	line-height: 16px;
	text-transform: uppercase;
	color: #ffb4a6;
}

.ttc-compare .ttc-contact .ttc-contact-title {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	text-align: left;
	text-transform: none;
	color: #fff;
}

.ttc-compare .ttc-contact .ttc-contact-title::before,
.ttc-compare .ttc-contact .ttc-contact-title::after {
	content: none;
}

/* pierwsza linia - duza, druga - mniejsza i lzejsza */
.ttc-contact-title-main {
	display: block;
	font-size: 42px;
	font-weight: 700;
	letter-spacing: -.015em;
	line-height: 1.15;
}

.ttc-contact-title-sub {
	display: block;
	margin-top: 8px;
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -.005em;
	line-height: 1.3;
	color: rgba(255, 255, 255, .88);
}

.ttc-compare .ttc-contact .ttc-contact-lead {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	color: #ffd2c9;
}

.ttc-compare .ttc-contact .ttc-contact-text {
	max-width: 660px;
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .86);
}

.ttc-contact-points {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ttc-contact-points li {
	position: relative;
	padding-left: 26px;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: #fff;
}

.ttc-contact-points li::before {
	content: "\2714";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 15px;
	color: #7ee2a8;
}

@media (max-width: 991px) {
	.ttc-compare .ttc-contact {
		gap: 36px;
		padding: 36px 32px;
	}

	.ttc-contact-photo {
		flex-basis: 260px;
	}

	.ttc-contact-avatar {
		width: 160px;
		height: 160px;
	}

	.ttc-contact-phone-number {
		font-size: 26px;
		line-height: 30px;
	}

	.ttc-contact-title-main {
		font-size: 34px;
	}

	.ttc-contact-title-sub {
		font-size: 22px;
	}

	.ttc-compare .ttc-contact .ttc-contact-lead {
		font-size: 20px;
	}
}

@media (max-width: 767px) {
	.ttc-compare .ttc-contact {
		flex-direction: column;
		gap: 26px;
		padding: 32px 20px 28px;
		text-align: center;
	}

	.ttc-contact-photo {
		flex-basis: auto;
		width: 100%;
	}

	.ttc-contact-body {
		align-self: stretch;
		width: 100%;
		text-align: center;
	}

	.ttc-compare .ttc-contact .ttc-contact-title {
		text-align: center;
	}

	.ttc-contact-title-main {
		font-size: 28px;
	}

	.ttc-contact-title-sub {
		font-size: 19px;
	}

	.ttc-compare .ttc-contact .ttc-contact-lead {
		font-size: 19px;
	}

	.ttc-contact-points {
		justify-content: center;
	}
}

@media (max-width: 575px) {
	.ttc-compare .ttc-contact .ttc-contact-phone {
		gap: 12px;
		padding: 12px 18px 12px 14px;
	}

	.ttc-contact-phone .material-icons {
		font-size: 30px;
		line-height: 30px;
	}

	.ttc-contact-phone-number {
		font-size: clamp(20px, 7.4vw, 26px);
		line-height: 30px;
	}

	.ttc-contact-points {
		display: inline-flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		text-align: left;
	}
}

@media print {
	.ttc-compare .ttc-contact {
		display: none;
	}
}
