/*!
 * AB Stopka v1.0.1 (Adboosters) – malaarchitektura.info.pl
 * Szerokość = .container motywu (max 1630 px z paddingiem 15 px = treść 1600 px, jak reszta strony).
 * Kolory jak w mega menu: #0073e6 tylko jako wypełnienie/akcent (biały na #0073e6 4,57:1),
 * linki #e1e1e1 na #000 (16:1), szare teksty #9e9e9e (7,8:1), linie #262626.
 * Selektory „footer.ab-ft …” celowo mocniejsze niż reguły motywu (footer p, footer ul li a, footer i …).
 */

footer.ab-ft {
	--ab-ft-accent: #0073e6;
	display: block;
	margin: 0;
	padding: 0;
	background: #000;
	color: #e1e1e1;
	font-family: latoregular, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.5;
	text-align: left;
}
footer.ab-ft *,
footer.ab-ft *::before,
footer.ab-ft *::after { box-sizing: border-box; }
footer.ab-ft p,
footer.ab-ft ul,
footer.ab-ft li { margin: 0; padding: 0; border: 0; color: inherit; font-size: inherit; line-height: inherit; list-style: none; }
footer.ab-ft li { position: static; }
footer.ab-ft li::before,
footer.ab-ft li::after { content: none; display: none; }
/* „.ab-ft.ab-ft a” = (0,2,1): mocniej niż „footer ul li:first-child a” (0,1,4) z motywu, słabiej niż reguły elementów niżej */
.ab-ft.ab-ft a { display: inline; padding: 0; margin: 0; border: 0; color: #e1e1e1; text-decoration: none; background: none; }
footer.ab-ft a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
footer.ab-ft .ab-ft-svg { display: block; flex: none; }

/* Układ ---------------------------------------------------------------- */
footer.ab-ft .ab-ft-in {
	/* szerokość i boczne odstępy daje klasa .container motywu */
	padding-top: 56px;
	padding-bottom: 40px;
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr) minmax(200px, 1fr);
	column-gap: 72px;
	row-gap: 40px;
}
footer.ab-ft.ab-ft--noinfo .ab-ft-in { grid-template-columns: minmax(280px, 1fr) minmax(0, 3fr); }
footer.ab-ft.ab-ft--nocats .ab-ft-in { grid-template-columns: minmax(280px, 1fr) minmax(200px, 1fr) minmax(0, 2fr); }
footer.ab-ft.ab-ft--nocats.ab-ft--noinfo .ab-ft-in { grid-template-columns: 1fr; }

/* Kontakt -------------------------------------------------------------- */
footer.ab-ft .ab-ft-logo { display: inline-flex; }
footer.ab-ft .ab-ft-logo img { display: block; width: 150px; height: auto; max-width: 100%; }
footer.ab-ft .ab-ft-logo-t { font-family: poppins_extraboldregular, latoregular, Arial, sans-serif; font-size: 22px; color: #fff; }
footer.ab-ft .ab-ft-firm { margin: 22px 0 10px; font-weight: bold; color: #fff; }
footer.ab-ft .ab-ft-row { display: flex; align-items: center; gap: 14px; min-height: 44px; color: #e1e1e1; text-decoration: none; overflow-wrap: anywhere; }
footer.ab-ft a.ab-ft-row:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--ab-ft-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
footer.ab-ft .ab-ft-row--addr { align-items: flex-start; padding-top: 4px; }
footer.ab-ft .ab-ft-row--addr > span:last-child { padding-top: 6px; }
footer.ab-ft .ab-ft-ico { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--ab-ft-accent); color: #fff; }
footer.ab-ft .ab-ft-lbl.ab-ft-lbl--soc { margin: 26px 0 10px; }
footer.ab-ft .ab-ft-socs { display: flex; flex-wrap: wrap; gap: 10px; }
footer.ab-ft .ab-ft-soc { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #3a3a3a; color: #fff; }
footer.ab-ft .ab-ft-soc:hover { background: var(--ab-ft-accent); border-color: var(--ab-ft-accent); color: #fff; }

/* Nagłówki i listy ----------------------------------------------------- */
footer.ab-ft .ab-ft-h {
	margin: 0 0 14px;
	padding: 0 0 12px;
	border-bottom: 2px solid #fff;
	font-family: poppins_extraboldregular, latoregular, Arial, sans-serif;
	font-size: 17px;
	font-weight: normal;
	line-height: 1.3;
	color: #fff;
}
footer.ab-ft .ab-ft-lbl { margin: 0 0 4px; font-size: 11px; font-weight: bold; letter-spacing: .09em; line-height: 1.6; text-transform: uppercase; color: #9e9e9e; }
footer.ab-ft .ab-ft-lbl a { color: #9e9e9e; }
footer.ab-ft .ab-ft-lbl a:hover { color: #fff; text-decoration: underline; }
footer.ab-ft .ab-ft-grid { display: grid; grid-template-columns: repeat(var(--ab-ft-cc, 2), minmax(0, 1fr)); column-gap: 48px; row-gap: 24px; }
footer.ab-ft .ab-ft-l { display: flex; align-items: center; min-height: 34px; padding: 3px 0; color: #e1e1e1; line-height: 1.3; }
footer.ab-ft .ab-ft-l:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--ab-ft-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
footer.ab-ft .ab-ft-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; font-size: 14px; font-weight: bold; color: #fff; }
footer.ab-ft .ab-ft-all .ab-ft-svg { color: var(--ab-ft-accent); }
footer.ab-ft .ab-ft-all:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--ab-ft-accent); text-underline-offset: 5px; }

/* Dolny pasek ---------------------------------------------------------- */
footer.ab-ft .ab-ft-bar { border-top: 1px solid #262626; }
footer.ab-ft .ab-ft-bar-in { min-height: 72px; padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; }
footer.ab-ft .ab-ft-bar p { font-size: 13px; color: #9e9e9e; }

/* Poniżej 1720 px treść dochodzi do krawędzi okna – tekst © na środku, żeby nie wchodził
   pod pływające przyciski motywu (cookies z lewej, „do góry” z prawej) */
@media (max-width: 1720px) {
	footer.ab-ft .ab-ft-bar-in { justify-content: center; text-align: center; padding-left: 72px; padding-right: 72px; }
}

/* Tablet ≤ 1100 px: kontakt | informacje, kategorie pod spodem ---------- */
@media (max-width: 1100px) {
	footer.ab-ft .ab-ft-in,
	footer.ab-ft.ab-ft--noinfo .ab-ft-in,
	footer.ab-ft.ab-ft--nocats .ab-ft-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
	footer.ab-ft .ab-ft-contact { grid-column: 1; grid-row: 1; }
	footer.ab-ft .ab-ft-info { grid-column: 2; grid-row: 1; }
	footer.ab-ft .ab-ft-cats { grid-column: 1 / -1; grid-row: 2; }
	footer.ab-ft .ab-ft-grid { grid-template-columns: repeat(var(--ab-ft-cc, 2), minmax(0, 1fr)); }
}

/* Telefon ≤ 767 px: jedna kolumna, linki w 2 kolumnach, cele dotyku 44 px */
@media (max-width: 767px) {
	footer.ab-ft .ab-ft-in,
	footer.ab-ft.ab-ft--noinfo .ab-ft-in,
	footer.ab-ft.ab-ft--nocats .ab-ft-in { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-bottom: 8px; row-gap: 0; }
	footer.ab-ft .ab-ft-contact,
	footer.ab-ft .ab-ft-info,
	footer.ab-ft .ab-ft-cats { grid-column: 1; grid-row: auto; }
	footer.ab-ft .ab-ft-contact { order: 1; padding: 32px 0; margin: 0 -20px; padding-left: 20px; padding-right: 20px; border-bottom: 1px solid #262626; }
	footer.ab-ft .ab-ft-cats { order: 2; padding-top: 32px; }
	footer.ab-ft .ab-ft-info { order: 3; padding: 32px 0 24px; }
	footer.ab-ft .ab-ft-grid { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
	footer.ab-ft .ab-ft-ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
	footer.ab-ft .ab-ft-l { min-height: 44px; }
	footer.ab-ft .ab-ft-li-all { grid-column: 1 / -1; }
	footer.ab-ft .ab-ft-bar-in { padding-bottom: 88px; }
}
