/* Stopka (template-parts/footer-amix.php). Desktop: 5 kolumn + 3 karty. Mobile: ta sama treść w jednej kolumnie, grupy linków zwijane. */

.amx-ft {
	--ft-red: #c8102e;
	--ft-bg: #141414;
	--ft-card: #1e1e1e;
	--ft-bottom: #0b0b0b;
	--ft-muted: #b9b9b4;
	--ft-gold: #f5c542;
	--ft-green: #17703a;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--ft-bg) !important;
	color: #fff;
	font-family: Rubik, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}
footer.footerv1.amx-ft { padding-top: 0 !important; }
.amx-ft *, .amx-ft *::before, .amx-ft *::after { box-sizing: border-box; }
.amx-ft p, .amx-ft h2, .amx-ft ul { margin: 0; padding: 0; }
.amx-ft h2, .amx-ft h3 { color: #fff; font-family: Rubik, Arial, sans-serif; } /* motyw nadaje nagłówkom ciemny kolor */
.amx-ft .amx-ft-shop h2, .amx-ft .amx-ft-news h2 { color: #fff !important; }
.amx-ft ul { list-style: none; }
.amx-ft a { color: inherit; text-decoration: none; }
.amx-ft a:focus-visible, .amx-ft button:focus-visible { outline: 3px solid var(--ft-gold); outline-offset: 2px; }
.amx-ft__in { max-width: 1272px; margin: 0 auto; padding: 0 16px; }
.amx-ft-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.amx-ft-m { display: none; }

/* Pasek zaufania */
.amx-ft-trust { background: #fff; color: #161616; border-top: 1px solid #ececea; }
.amx-ft .amx-ft-trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 auto; padding: 16px; } /* .amx-ft ul zeruje marginesy - tu przywracamy wyśrodkowanie */
.amx-ft-trust__list a { display: flex; align-items: center; gap: 14px; min-height: 44px; color: #161616; }
.amx-ft-trust__list a:hover strong { color: var(--ft-red); }
.amx-ft-trust__ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: #fde8ea; color: var(--ft-red); }
.amx-ft-trust__ico .amx-ft-ico { width: 22px; height: 22px; }
.amx-ft-trust strong { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; }
.amx-ft-trust small { display: block; color: #5f5f5a; font-size: 13.5px; line-height: 1.35; }

/* Newsletter */
.amx-ft-news { background: var(--ft-red); }
.amx-ft-news__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.amx-ft-news h2 { color: #fff; font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 6px; }
.amx-ft-news p { color: #fff; font-size: 15.5px; }
.amx-ft-news__form form { margin: 0; }
.amx-ft-news__form .mc4wp-form-fields { display: flex; gap: 10px; }
.amx-ft-news__form .mc4wp-form-fields > * { margin: 0 !important; }
.amx-ft .amx-ft-news__form input[type="email"] { flex: 1 1 auto; width: auto; min-width: 0; min-height: 52px; margin: 0; padding: 0 16px; border: 0; border-radius: 12px; background: #fff; color: #161616; font: 400 16px Rubik, Arial, sans-serif; }
.amx-ft .amx-ft-news__form button[type="submit"], .amx-ft .amx-ft-news__form input[type="submit"] {
	flex: none; width: auto; height: auto; min-height: 52px; padding: 0 28px; border: 0; border-radius: 12px; background: #161616; color: #fff;
	font: 700 16px Rubik, Arial, sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none;
}
.amx-ft .amx-ft-news__form button[type="submit"]:hover { background: #000; }
.amx-ft-news__note { margin-top: 10px !important; font-size: 13px !important; }
.amx-ft-news__note a { color: #fff; font-weight: 700; text-decoration: underline; }
.amx-ft-news .mc4wp-response { margin-top: 10px; }
.amx-ft-news .mc4wp-alert p { display: inline-block; padding: 6px 12px; border-radius: 8px; background: rgba(0, 0, 0, .22); font-weight: 700; }

/* Główna część */
.amx-ft-main { padding: 44px 0 32px; }
.amx-ft-grid { display: grid; grid-template-columns: 1.15fr 1.1fr 1fr 1fr 1fr; gap: 32px; }
.amx-ft-logo { display: inline-block; color: #fff; font-size: 42px; font-weight: 900; font-style: italic; letter-spacing: -.02em; line-height: 1; }
.amx-ft-logo img { display: block; width: 100%; max-width: 244px; height: auto; }
/* Logotypy dostawy, punktów i płatności - obrazki z gotowymi kafelkami */
.amx-ft .amx-ft-logos { display: block; max-width: 100%; height: auto; margin: 2px 0 4px; }
.amx-ft .amx-ft-logos--pay { width: 100%; max-width: 443px; }
/* style2.css rozciąga każdy obrazek w stopce na 100% (!important) - logotypy w naturalnym rozmiarze, najwyżej szerokość kolumny */
footer.footerv1.amx-ft .amx-ft-logos, footer.footerv1.amx-ft .amx-ft-logo img { width: auto !important; max-width: 100% !important; height: auto; }
footer.footerv1.amx-ft .amx-ft-logo img { max-width: 244px !important; }
.amx-ft-brand__txt { margin-top: 14px !important; color: var(--ft-muted); font-size: 15px; line-height: 1.55; }
.amx-ft-rates { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.amx-ft-rates a { display: inline-flex; align-items: baseline; gap: 6px; min-height: 26px; font-size: 14.5px; }
.amx-ft-rates__src { font-weight: 800; }
.amx-ft-rates__n { color: var(--ft-muted); }
.amx-ft-rates a:hover strong { text-decoration: underline; }
.amx-ft-star { color: var(--ft-gold); }
.amx-ft-social { display: flex; gap: 10px; margin-top: 18px !important; }
.amx-ft-social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #262626; color: #fff; transition: background .15s; }
.amx-ft-social a:hover { background: var(--ft-red); }
.amx-ft-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.amx-ft-partner { display: block; margin-top: 22px; padding: 16px 18px; border: 1px solid #2c2c2c; border-radius: 14px; background: var(--ft-card); transition: border-color .15s; }
.amx-ft-partner:hover { border-color: var(--ft-gold); }
.amx-ft-partner__h { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.3; }
.amx-ft-partner__h .amx-ft-ico { width: 20px; height: 20px; margin-top: 1px; color: var(--ft-gold); }
.amx-ft-partner__txt { display: block; margin-top: 8px; color: var(--ft-muted); font-size: 14px; line-height: 1.5; }
.amx-ft-partner__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--ft-gold); font-weight: 800; }

.amx-ft-h { display: inline-block; margin-bottom: 18px !important; padding-bottom: 8px; border-bottom: 2px solid var(--ft-red); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; }
.amx-ft-contact__lbl { color: var(--ft-muted); font-size: 13.5px; }
.amx-ft-contact__nums { display: flex; flex-direction: column; margin-bottom: 14px !important; }
.amx-ft-contact__nums a { font-size: 18px; font-weight: 800; letter-spacing: .01em; line-height: 1.45; }
.amx-ft-contact__nums a:hover { color: var(--ft-gold); }
.amx-ft-contact__m { display: none; }
.amx-ft-contact__rows { display: flex; flex-direction: column; gap: 6px; }
.amx-ft-contact__rows li, .amx-ft-contact__rows a { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.amx-ft-contact__rows a:hover span { text-decoration: underline; }
.amx-ft-group__btn { display: block; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: default; }
.amx-ft-group__btn .amx-ft-ico { display: none; }
.amx-ft-group__list { display: flex; flex-direction: column; gap: 4px; }
.amx-ft-group__list a { display: inline-flex; align-items: center; min-height: 34px; color: #e9e9e6; font-size: 15.5px; }
.amx-ft-group__list a:hover { color: #fff; text-decoration: underline; }

/* Karty */
.amx-ft-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.amx-ft-card { padding: 22px; border-radius: 16px; background: var(--ft-card); }
.amx-ft-shop { display: flex; gap: 16px; align-items: flex-start; }
.amx-ft-shop__ico { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--ft-red); }
.amx-ft-shop__ico .amx-ft-ico { width: 24px; height: 24px; }
.amx-ft-shop h2 { font-size: 18px; font-weight: 800; line-height: 1.3; }
.amx-ft-shop__addr { margin-top: 4px !important; }
.amx-ft-shop__hours, .amx-ft-shop__txt { color: var(--ft-muted); font-size: 14.5px; }
.amx-ft-shop__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }
.amx-ft-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid #4a4a46; border-radius: 12px; color: #fff; font-weight: 700; }
.amx-ft-btn:hover { border-color: #fff; }
.amx-ft-btn--light { border-color: #fff; background: #fff; color: #161616 !important; }
.amx-ft-btn--light:hover { background: #ececea; }
.amx-ft-cap { display: flex; align-items: center; gap: 8px; margin-bottom: 12px !important; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.amx-ft-cap--sm { margin: 14px 0 10px !important; color: var(--ft-muted); font-size: 12px; }
.amx-ft-cap--ok .amx-ft-ico { width: 20px; height: 20px; color: #34c06a; }
.amx-ft-ship__txt { margin-top: 10px !important; color: var(--ft-muted); font-size: 14px; }
.amx-ft-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.amx-ft-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 800; line-height: 1; white-space: nowrap; }
.amx-ft-chip--white { background: #fff; color: #161616; font-weight: 700; }
.amx-ft-chip--inpost { background: #ffcd00; color: #161616; }
.amx-ft-chip--dpd { background: #dc0032; color: #fff; font-size: 16px; }
.amx-ft-chip--zabka { background: #00a650; color: #fff; }
.amx-ft-chip--dino { background: #fff; color: #e30613; }
.amx-ft-chip--kaufland { background: #e10915; color: #fff; }
.amx-ft-chip--shell { background: #fbce07; color: #dd1d21; }
.amx-ft-pay--blik { font-weight: 900; }
.amx-ft-pay--visa { color: #1a1f71; font-weight: 900; font-style: italic; }
.amx-ft-pay--p24 { color: #d13239; font-weight: 900; }
.amx-ft-pay--tpay { color: #1d3c8f; font-weight: 900; }
.amx-ft-pay--twisto { color: #5a2d82; font-weight: 800; }
.amx-ft-pay--inpost { background: #ffcd00 !important; }

/* Dolny pasek */
.amx-ft-bottom { padding: 22px 0 26px; background: var(--ft-bottom); color: var(--ft-muted); font-size: 14px; }
.amx-ft-docs { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-bottom: 10px !important; }
.amx-ft-docs a, .amx-ft-cookies { display: inline-flex; align-items: center; min-height: 32px; color: #e9e9e6; font-size: 15px; }
.amx-ft-cookies { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.amx-ft-docs a:hover, .amx-ft-cookies:hover { color: #fff; text-decoration: underline; }
.amx-ft-copy { margin-top: 4px !important; }
.amx-ft-top { display: none; }

/* Strony z własnym pasem newslettera (promocje, nowości) */
.amx-pr-page .amx-ft-news { display: none; }

@media (max-width: 1100px) {
	.amx-ft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.amx-ft-cards { grid-template-columns: 1fr 1fr; }
	.amx-ft-shop { grid-column: 1 / -1; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
	.amx-ft { font-size: 14.5px; }
	.amx-ft-d { display: none; }
	.amx-ft-m { display: inline; }
	.amx-ft .amx-ft-trust__list { grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 14px 16px; }
	.amx-ft-trust__list a { align-items: flex-start; gap: 10px; }
	.amx-ft-trust__ico { width: 40px; height: 40px; border-radius: 10px; }
	.amx-ft-trust__ico .amx-ft-ico { width: 19px; height: 19px; }
	.amx-ft-trust strong { font-size: 14px; }
	.amx-ft-trust small { font-size: 12.5px; }

	.amx-ft-news__in { grid-template-columns: 1fr; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
	.amx-ft-news h2 { font-size: 22px; }
	.amx-ft-news p { font-size: 14.5px; }
	.amx-ft-news__form .mc4wp-form-fields { flex-direction: column; }
	.amx-ft .amx-ft-news__form input[type="email"], .amx-ft .amx-ft-news__form button[type="submit"] { width: 100%; min-height: 54px; }

	.amx-ft-main { padding: 26px 0 20px; }
	.amx-ft-main > .amx-ft__in { display: flex; flex-direction: column; gap: 14px; }
	.amx-ft-grid, .amx-ft-brand, .amx-ft-cards { display: contents; }
	.amx-ft-logo { order: 1; font-size: 34px; }
	footer.footerv1.amx-ft .amx-ft-logo img { max-width: 220px !important; }
	.amx-ft-brand__txt { order: 2; margin: -6px 0 4px !important; font-size: 14.5px; }
	.amx-ft-contact { order: 3; padding: 18px 16px; border-radius: 16px; background: var(--ft-card); }
	.amx-ft-group { order: 4; }
	.amx-ft-partner { order: 5; margin: 6px 0 0; }
	.amx-ft-shop { order: 6; }
	.amx-ft-rates { order: 7; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
	.amx-ft-social { order: 8; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 !important; }
	.amx-ft-ship { order: 9; }
	.amx-ft-pay { order: 10; }

	.amx-ft-rates a { display: grid; grid-template-columns: auto 1fr; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: var(--ft-card); row-gap: 0; }
	.amx-ft-rates__src { grid-column: 1 / -1; color: var(--ft-muted); font-weight: 400; font-size: 13.5px; }
	.amx-ft-rates strong { font-size: 18px; margin-left: 6px; }
	.amx-ft-rates__n { grid-column: 1 / -1; font-size: 13px; }
	.amx-ft-social a { width: 100%; height: 50px; }

	.amx-ft-contact .amx-ft-h { border: 0; padding: 0; margin-bottom: 12px !important; }
	.amx-ft-contact__d { display: none; }
	.amx-ft-contact__m { display: flex; flex-direction: column; gap: 10px; }
	.amx-ft-call { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; border-radius: 12px; background: #2a2a2a; }
	.amx-ft-call.is-main { background: var(--ft-red); }
	.amx-ft-call .amx-ft-ico { width: 20px; height: 20px; }
	.amx-ft-call small { display: block; font-size: 13px; opacity: .9; }
	.amx-ft-call strong { display: block; font-size: 18px; font-weight: 800; line-height: 1.2; }
	.amx-ft-contact__more { color: var(--ft-muted); font-size: 13.5px; }
	.amx-ft-contact__more a { color: #fff; text-decoration: underline; }
	.amx-ft-contact__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
	.amx-ft-contact__rows a { justify-content: center; min-height: 48px; border: 1px solid #4a4a46; border-radius: 12px; font-weight: 700; }
	.amx-ft-contact__rows li.amx-ft-d { display: none; }
	.amx-ft-contact__rows li { display: block; min-height: 0; }
	.amx-ft-contact__rows a { width: 100%; }
	.amx-ft-shop__links .amx-ft-btn { width: 100%; }

	.amx-ft-group { border-top: 1px solid #2c2c2c; }
	.amx-ft-group:last-of-type { border-bottom: 1px solid #2c2c2c; }
	.amx-ft-group .amx-ft-h { display: block; margin: 0 !important; padding: 0; border: 0; font-size: 16px; letter-spacing: 0; text-transform: none; }
	.amx-ft-group__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; cursor: pointer; }
	.amx-ft-group__btn .amx-ft-ico { display: block; width: 20px; height: 20px; transition: transform .2s; }
	.amx-ft-group.is-open .amx-ft-group__btn .amx-ft-ico { transform: rotate(180deg); }
	.amx-ft-group__list { display: none; padding-bottom: 12px; }
	.amx-ft-group.is-open .amx-ft-group__list { display: flex; }
	.amx-ft-group__list a { min-height: 44px; }

	.amx-ft-card { padding: 18px 16px; }
	.amx-ft-shop { flex-direction: column; gap: 10px; }
	.amx-ft-shop__ico { display: none; }
	.amx-ft-shop h2 { display: flex; align-items: center; gap: 8px; }
	.amx-ft-shop__links { display: grid; grid-template-columns: 1fr 1fr; }
	.amx-ft-ship__txt { display: none; }
	.amx-ft-chip { min-height: 32px; padding: 0 10px; font-size: 13px; }

	.amx-ft-bottom { padding: 18px 0 22px; }
	.amx-ft-docs { gap: 2px 22px; }
	.amx-ft-top { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin-top: 18px; border: 1px solid #3a3a37; border-radius: 12px; color: #fff; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) { .amx-ft-group__btn .amx-ft-ico { transition: none; } }

/* Logotypy dostawy, punktów i płatności: białe kafelki z logo w SVG / PNG 2x (ostre na retina) */
.amx-ft .amx-ft-tiles { display: grid; gap: 6px; list-style: none; margin: 2px 0 4px; padding: 0; }
.amx-ft .amx-ft-tiles--pay { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.amx-ft .amx-ft-tiles--pts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.amx-ft .amx-ft-tiles--ship { display: flex; flex-wrap: wrap; }
.amx-ft .amx-ft-tile { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; margin: 0; padding: 0 8px; border-radius: 7px; background: #fff; color: #161616; overflow: hidden; }
footer.footerv1.amx-ft .amx-ft-tile img { display: block; width: auto !important; max-width: 100% !important; object-fit: contain; }
.amx-ft .amx-ft-tiles--ship .amx-ft-tile { padding: 0 14px; }
.amx-ft .amx-ft-tile--inpost { background: #ffcb00; }
.amx-ft .amx-ft-tile--dpd { background: #dc0032; color: #fff; font: 700 19px/1 Arial, sans-serif; letter-spacing: -.02em; }
.amx-ft .amx-ft-tile--text { font-size: 13px; font-weight: 700; white-space: nowrap; }
.amx-ft .amx-ft-tile--text svg { width: 13px; height: 17px; fill: #161616; flex: none; }
.amx-ft .amx-ft-tile--dino { color: #e30613; font: italic 900 19px/1 Arial, sans-serif; letter-spacing: -.03em; }
.amx-ft-logo { display: inline-flex; align-items: center; gap: 12px; }
footer.footerv1.amx-ft .amx-ft-logo img { width: auto !important; max-width: none !important; }
footer.footerv1.amx-ft .amx-ft-logo .amx-ft-logo__amix { height: 38px; }
footer.footerv1.amx-ft .amx-ft-logo .amx-ft-logo__cambio { height: 12px; }
@media (max-width: 900px) {
	.amx-ft .amx-ft-tile { height: 36px; padding: 0 6px; }
	footer.footerv1.amx-ft .amx-ft-logo .amx-ft-logo__amix { height: 38px; }
	footer.footerv1.amx-ft .amx-ft-logo .amx-ft-logo__cambio { height: 14px; }
}

/* Stopka: jedno logo Amix + CambioLabs i jedna grafika punktów DPD Pickup (zamiast osobnych kafli) */
footer.footerv1.amx-ft .amx-ft-pts-img { display: block; width: auto !important; max-width: 100% !important; height: auto; margin: 2px 0 4px; }
footer.footerv1.amx-ft .amx-ft-logo .amx-ft-logo__all { height: 40px; width: auto !important; max-width: 100% !important; }
