/* Trafaret.ua — футер на всіх сторінках. Кольори й шрифти — як на головній «До / Після». */

.trf-footer {
	--ink: #1D1E1B;
	--sheet: #F8F7F4;
	--stone: #C9C7C0;
	--muted: #8E8C85;
	--rule: #34352F;
	--accent: #E39058;
	--display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--body: "Onest", "Segoe UI", system-ui, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

	background: var(--ink);
	color: var(--stone);
	font: 400 15px/1.6 var(--body);
	padding-inline: clamp(16px, 4vw, 40px);
}
.trf-footer *, .trf-footer *::before, .trf-footer *::after { box-sizing: border-box; }
.trf-footer p { margin: 0; }
.trf-footer ul { list-style: none; margin: 0; padding: 0; }
.trf-footer li { margin: 0; }
.trf-footer a { color: var(--sheet); text-decoration: none; transition: color .2s ease; }
.trf-footer a:hover { color: var(--accent); }
.trf-footer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.trf-footer__wrap { max-width: 1240px; margin-inline: auto; padding-top: clamp(44px, 6vw, 72px); }

.trf-footer__top {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: clamp(28px, 4vw, 56px);
	padding-bottom: clamp(36px, 5vw, 56px);
}

.trf-footer__title {
	font: 500 12px/1.2 var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 16px !important;
}

.trf-footer__brand { display: grid; gap: 22px; align-content: start; max-width: 38ch; }
.trf-footer .trf-footer__logo { font: 700 24px/1 var(--display); color: var(--sheet); letter-spacing: -.01em; }
.trf-footer__about { color: var(--stone); }
.trf-footer__ask { display: grid; gap: 10px; justify-items: start; padding-top: 22px; border-top: 1px solid var(--rule); }
.trf-footer__ask .trf-footer__title { margin-bottom: 2px !important; }
.trf-footer .trf-footer__contact { font: 500 16px/1.4 var(--body); }
.trf-footer .trf-footer__btn {
	margin-top: 6px;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 18px;
	box-shadow: inset 0 0 0 1.5px var(--sheet);
	font: 600 14px/1 var(--body);
}
.trf-footer .trf-footer__btn:hover { background: var(--sheet); color: var(--ink); }

.trf-footer__col ul { display: grid; gap: 9px; }
.trf-footer__col a { font-size: 15px; }
.trf-footer .trf-footer__more { color: var(--accent); font-weight: 600; }
.trf-footer .trf-footer__more:hover { color: var(--sheet); }
.trf-footer__social { margin-top: 32px; }
.trf-footer__social a { font: 500 13px/1.4 var(--mono); letter-spacing: .02em; }

.trf-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
	gap: 10px 28px;
	padding-block: 20px 28px;
	border-top: 1px solid var(--rule);
	font: 400 12.5px/1.5 var(--mono);
	color: var(--muted);
}
.trf-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.trf-footer__legal a { color: var(--muted); }

@media (max-width: 1024px) {
	.trf-footer__top { grid-template-columns: 1fr 1fr; }
	.trf-footer__brand { grid-column: 1 / -1; max-width: 60ch; }
	/* місце під нижню мобільну панель Woodmart — у самому футері, а не білим відступом під ним */
	.trf-footer__bottom { padding-bottom: 84px; }
	body.sticky-toolbar-on { padding-bottom: 0; }
}
@media (max-width: 520px) {
	.trf-footer__top { gap: 32px 20px; }
	.trf-footer__col a { font-size: 14px; }
	.trf-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- способи оплати ---------- */
.trf-footer__pay {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
	padding-block: 18px; border-top: 1px solid var(--rule);
}
.trf-footer__pay .trf-footer__title { margin-bottom: 0 !important; }
.trf-footer__pay ul { display: flex; flex-wrap: wrap; gap: 8px; }
.trf-footer__pay li {
	font: 500 12px/1 var(--mono); color: var(--stone);
	padding: 8px 10px; box-shadow: inset 0 0 0 1px var(--rule); white-space: nowrap;
}

/* Месенджери у футері */
.trf-footer .trf-footer__msg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 4px; }
.trf-footer .trf-footer__msg > span { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.trf-footer .trf-footer__msg-link {
	font: 500 13px/1 var(--mono);
	padding: 7px 10px;
	border: 1px solid var(--rule);
	color: var(--sheet);
}
.trf-footer .trf-footer__msg-link:hover { border-color: var(--accent); color: var(--accent); }
