/*
 * Stickerly Tools — style frontu.
 * Paleta zgodna z identyfikacją wizualną Stickerly 2.0.
 * Ładowane tylko na stronie produktu.
 */

:root {
	--st-granat: #344a90;
	--st-granat-hover: #2b3d78;
	--st-granat-gleboki: #1f2c58;
	--st-blekit: #6f83c7;
	--st-blekit-jasny: #e8ecf8;
	--st-grafit: #181b22;
	--st-szary: #606775;
	--st-border: #dce1ea;
	--st-tlo-chlodne: #f6f8fc;
	--st-biel: #ffffff;
	--st-promien: 12px;
}

.st-zakladka {
	color: var(--st-szary);
	font-size: 15px;
	line-height: 1.75;
}

.st-zakladka > *:first-child {
	margin-top: 0;
}

.st-zakladka > *:last-child {
	margin-bottom: 0;
}

.st-zakladka h2,
.st-zakladka h3,
.st-zakladka h4 {
	color: var(--st-grafit);
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 600;
}

.st-zakladka h2 {
	font-size: 22px;
	margin: 1.7em 0 0.6em;
}

.st-zakladka h3 {
	font-size: 18px;
	margin: 1.5em 0 0.5em;
}

.st-zakladka h4 {
	font-size: 16px;
	margin: 1.3em 0 0.4em;
}

.st-zakladka a {
	color: var(--st-granat);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.st-zakladka a:hover {
	color: var(--st-granat-hover);
}

.st-zakladka strong,
.st-zakladka b {
	color: var(--st-grafit);
	font-weight: 600;
}

/* ---- listy ---- */

.st-zakladka ul {
	list-style: none;
	margin: 1.1em 0;
	padding: 0;
}

.st-zakladka ul li {
	position: relative;
	padding-left: 1.7em;
	margin-bottom: 0.55em;
}

.st-zakladka ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--st-blekit);
}

.st-zakladka ol {
	margin: 1.1em 0 1.1em 1.2em;
	padding: 0;
}

.st-zakladka ol li {
	margin-bottom: 0.55em;
	padding-left: 0.3em;
}

/* ---- tabela parametrów ---- */

.st-zakladka table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.4em 0;
	border: 1px solid var(--st-border);
	border-radius: var(--st-promien);
	overflow: hidden;
	font-size: 14px;
}

.st-zakladka table th,
.st-zakladka table td {
	padding: 13px 18px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--st-border);
}

.st-zakladka table thead th {
	background: var(--st-granat);
	color: #fff;
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--st-border);
}

.st-zakladka table tbody tr:last-child th,
.st-zakladka table tbody tr:last-child td {
	border-bottom: 0;
}

.st-zakladka table tbody tr:nth-child(even) {
	background: var(--st-tlo-chlodne);
}

/* Pierwsza kolumna to zwykle nazwa parametru. */
.st-zakladka table tbody td:first-child,
.st-zakladka table tbody th:first-child {
	color: var(--st-grafit);
	font-weight: 600;
	width: 32%;
}


/* ---- obrazki w opisie ---- */

/* Po poszerzeniu layoutu do pełnej szerokości obrazki w opisie rozpychały
   się na całą kolumnę. Ograniczamy je i wyśrodkowujemy — jeden wygląd
   dla wszystkich produktów, bez ruszania treści. */
.st-zakladka img {
	display: block;
	max-width: min(100%, 720px);
	height: auto;
	margin: 1.6em auto;
	border-radius: var(--st-promien);
	border: 1px solid var(--st-border);
}

/* Obrazek w akapicie z tekstem opływającym zostaje jak jest. */
.st-zakladka .alignleft,
.st-zakladka .alignright {
	margin: 0.4em 1.4em 1.2em 0;
	max-width: min(50%, 420px);
}

.st-zakladka .alignright {
	margin: 0.4em 0 1.2em 1.4em;
}

/* Ikony i emotki wewnątrz tekstu nie są obrazkami blokowymi. */
.st-zakladka img.emoji,
.st-zakladka p img[width]:not([width="0"]) {
	border: 0;
}

.st-zakladka img.emoji {
	display: inline;
	margin: 0 0.1em;
	max-width: 1em;
	border-radius: 0;
}

/* ---- FAQ: akordeon ---- */

.st-faq {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 1.2em;
}

.st-faq__pozycja {
	border: 1px solid var(--st-border);
	border-radius: var(--st-promien);
	background: var(--st-biel);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.st-faq__pozycja[open] {
	border-color: var(--st-blekit);
	box-shadow: 0 2px 14px rgba(52, 74, 144, 0.08);
}

.st-faq__pytanie {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
	color: var(--st-grafit);
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	transition: color 0.15s ease;
	user-select: none;
}

.st-faq__pytanie::-webkit-details-marker {
	display: none;
}

.st-faq__pytanie::after {
	content: "";
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background:
		linear-gradient(var(--st-granat), var(--st-granat)) center/9px 1.5px no-repeat,
		linear-gradient(var(--st-granat), var(--st-granat)) center/1.5px 9px no-repeat,
		var(--st-blekit-jasny);
	transition: transform 0.26s ease, background-color 0.2s ease;
}

.st-faq__pozycja[open] > .st-faq__pytanie {
	color: var(--st-granat);
}

.st-faq__pozycja[open] > .st-faq__pytanie::after {
	transform: rotate(135deg);
	background:
		linear-gradient(var(--st-granat), var(--st-granat)) center/9px 1.5px no-repeat,
		var(--st-blekit-jasny);
}

.st-faq__pytanie:hover {
	color: var(--st-granat-hover);
}

.st-faq__odpowiedz {
	padding: 0 20px 18px;
	color: var(--st-szary);
	font-size: 14px;
	line-height: 1.75;
}

.st-faq__odpowiedz > *:first-child {
	margin-top: 0;
}

.st-faq__odpowiedz > *:last-child {
	margin-bottom: 0;
}

/* ---- mobile ---- */

@media (max-width: 549px) {
	.st-zakladka {
		font-size: 14px;
	}

	.st-zakladka h2 {
		font-size: 19px;
	}

	.st-zakladka h3 {
		font-size: 17px;
	}

	/* Tabela parametrów na telefonie: zamiast ucinania w poziomie
	   każdy wiersz staje się kartą etykieta/wartość i rośnie w pionie. */
	.st-zakladka table,
	.st-zakladka table tbody,
	.st-zakladka table tr,
	.st-zakladka table td,
	.st-zakladka table th {
		display: block;
		width: 100%;
	}

	.st-zakladka table thead {
		display: none;
	}

	.st-zakladka table tbody tr {
		padding: 10px 14px;
		border-bottom: 1px solid var(--st-border);
	}

	.st-zakladka table tbody tr:last-child {
		border-bottom: 0;
	}

	.st-zakladka table tbody td,
	.st-zakladka table tbody th {
		border: 0;
		padding: 2px 0;
		width: auto;
	}

	.st-zakladka table tbody td:first-child,
	.st-zakladka table tbody th:first-child {
		width: auto;
		font-size: 12px;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		color: var(--st-granat);
	}

	.st-zakladka img {
		max-width: 100%;
		margin: 1.2em auto;
	}

	.st-zakladka .alignleft,
	.st-zakladka .alignright {
		float: none;
		max-width: 100%;
		margin: 1.2em auto;
	}

	.st-faq__pytanie {
		font-size: 14px;
		padding: 14px 16px;
		gap: 12px;
	}

	.st-faq__odpowiedz {
		padding: 0 16px 15px;
	}
}


/* ---- podobne produkty ---- */

.st-podobne {
	margin: 3em 0 1em;
}

.st-podobne__tytul {
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 22px;
	font-weight: 600;
	color: var(--st-grafit);
	margin: 0 0 1.1em;
}

@media (max-width: 549px) {
	.st-podobne {
		margin: 2em 0 0.5em;
	}

	.st-podobne__tytul {
		font-size: 19px;
		margin-bottom: 0.8em;
	}
}


/* ---- opis kategorii ---- */

/* Krótki wstęp nad siatką produktów. */
.st-kat-wstep {
	max-width: 860px;
	margin: 0 0 1.6em;
	color: var(--st-szary);
	font-size: 15px;
	line-height: 1.75;
}

.st-kat-wstep > *:last-child {
	margin-bottom: 0;
}

/* Właściwa treść SEO pod produktami — ten sam styl co zakładki produktu. */
.st-kat-opis {
	margin: 3em 0 1em;
	padding-top: 2.4em;
	border-top: 1px solid var(--st-border);
}

@media (max-width: 549px) {
	.st-kat-opis {
		margin: 2em 0 0.5em;
		padding-top: 1.8em;
	}
}
