/* Strona marki [antalex_marka] — inc/strona-marki.php. Stylistyka katalogu i konfiguratora (12.2026). */
.sm {
	--sm-pom: hsl(27, 96%, 50%);
	--sm-pom-ciemny: hsl(24, 92%, 42%);
	--sm-tekst: #1f2328;
	--sm-tekst-2: #5b636b;
	--sm-linia: #e3e7eb;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 16px 48px;
	color: var(--sm-tekst);
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
}
.sm h2 { margin: 0 0 14px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.25; color: var(--sm-tekst); text-align: left; }
.sm section { margin: 0 0 44px; scroll-margin-top: 90px; }

/* Wstęp */
.sm-wstep { max-width: 860px; }
.sm .sm-lead { margin: 0 0 16px; font-size: 18px; color: var(--sm-tekst); }
.sm .sm-fakty { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.sm .sm-fakty li { margin: 0; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--sm-linia); font-size: 14px; font-weight: 600; line-height: 1.3; }
.sm .sm-fakty li:first-child, .sm .sm-fakty li:nth-child(2) { border-color: #f6c79c; color: var(--sm-pom-ciemny); }
.sm-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.sm-przycisk { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 10px; background: var(--sm-pom); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; box-shadow: 0 6px 16px hsla(27, 96%, 50%, .28); }
.sm-przycisk:hover { background: var(--sm-pom-ciemny); }
.sm-przycisk--drugi { background: #fff; color: var(--sm-tekst) !important; border: 1px solid #d5dbe1; box-shadow: none; }
.sm-przycisk--drugi:hover { background: #fffaf5; border-color: var(--sm-pom); }

/* Dobór: konfigurator w trybie osadzonym (sama marka) */
.sm .sm-dobor .znajdz-belke--model { max-width: none; }

/* Modele — karty katalogu bez filtrów */
.sm .kb-statyczny { container-type: inline-size; }
.sm .kb-statyczny .kb-grupa__tytul { display: none !important; }
.sm .kb-statyczny .kb-karty { display: grid !important; }

/* Tabela */
.sm-tabela__przewijanie { overflow-x: auto; border: 1px solid var(--sm-linia); border-radius: 14px; background: #fff; }
.sm-tabela table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; }
.sm-tabela th, .sm-tabela td { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--sm-linia); text-align: left; vertical-align: top; }
.sm-tabela th { background: #f6f7f9; font-size: 13px; font-weight: 700; color: var(--sm-tekst-2); white-space: nowrap; }
.sm-tabela tbody tr:last-child td { border-bottom: 0; }
.sm-tabela td a { color: var(--sm-tekst); font-weight: 700; text-decoration: none; }
.sm-tabela td a:hover { color: var(--sm-pom-ciemny); text-decoration: underline; }
.sm-tabela td:nth-child(n+4) { white-space: nowrap; }
.sm .sm-gen { display: block; font-size: 13px; color: var(--sm-tekst-2); font-weight: 400; }
.sm .sm-kody { font-size: 13px; color: var(--sm-pom-ciemny); font-weight: 600; }

/* Bliźniaki */
.sm-blizn ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.sm-blizn li { margin: 0; padding: 10px 14px; border: 1px solid var(--sm-linia); border-radius: 10px; background: #fff; }
.sm-blizn a { color: var(--sm-tekst); font-weight: 600; }
.sm-blizn .sm-kody { display: block; margin-top: 2px; }

/* FAQ */
.sm-faq details { margin: 0 0 8px; border: 1px solid var(--sm-linia); border-radius: 12px; background: #fff; }
.sm-faq summary { padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.sm-faq summary::-webkit-details-marker { display: none; }
.sm-faq summary::after { content: "+"; float: right; color: var(--sm-pom); font-weight: 700; }
.sm-faq details[open] summary::after { content: "–"; }
.sm-faq details p { margin: 0; padding: 0 18px 16px; color: var(--sm-tekst-2); }

@media (max-width: 600px) {
	.sm { padding: 0 0 32px; }
	.sm .sm-lead { font-size: 16px; }
	.sm-tabela th, .sm-tabela td { padding: 8px 10px; font-size: 14px; }
}

/* „Inne modele Citroena” — strona modelu (CPT belka), pod listą wersji; antalex_marka_inne_modele_html() */
.sm-inne { max-width: 1180px; margin: 40px auto 24px; padding: 0 16px; text-align: center; font-size: 16px; }
.sm-inne h2 { margin: 0 0 14px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.25; color: #1f2328; text-align: center; }
.sm-inne .sm-inne__lista { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.sm-inne .sm-inne__lista li { margin: 0; padding: 0; list-style: none; }
.sm-inne .sm-inne__lista a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid #e3e7eb; border-radius: 999px; background: #fff; color: #1f2328; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; }
.sm-inne .sm-inne__lista a:hover { border-color: hsl(27, 96%, 50%); color: hsl(24, 92%, 42%); background: #fffaf5; }
.sm-inne .sm-inne__marka { margin: 0; }
.sm-inne .sm-inne__marka a { color: hsl(24, 92%, 42%); font-weight: 700; text-decoration: none; }
.sm-inne .sm-inne__marka a:hover { text-decoration: underline; }
