/* Wspólna stopka sklepu: marka, zakupy, pomoc i komplet danych formalnych. */
.spesarro-footer {
	--footer-bg: #26170f;
	--footer-bg-soft: #352218;
	--footer-text: #f7f1e8;
	--footer-muted: #cdbfb1;
	--footer-accent: #d1aa73;
	--footer-line: rgba(247, 241, 232, .16);
	background:
		radial-gradient(circle at 8% 8%, rgba(145, 66, 30, .2), transparent 31rem),
		linear-gradient(135deg, var(--footer-bg-soft), var(--footer-bg) 55%);
	border-top: 3px solid var(--footer-accent);
	color: var(--footer-text);
	font-family: var(--sp-font-sans, "Montserrat", Arial, sans-serif);
	font-size: 15px;
	line-height: 1.55;
}

.spesarro-footer,
.spesarro-footer * {
	box-sizing: border-box;
}

.spesarro-footer__inner {
	margin-inline: auto;
	max-width: 1320px;
	padding: clamp(3rem, 6vw, 5.25rem) clamp(1.25rem, 4vw, 3rem) 1.5rem;
}

.spesarro-footer__grid {
	display: grid;
	gap: clamp(2.25rem, 4vw, 4.5rem);
	grid-template-columns: minmax(17rem, 1.45fr) repeat(3, minmax(9.5rem, 1fr));
}

.spesarro-footer a {
	color: inherit;
	text-decoration: none;
	text-underline-offset: .2em;
}

.spesarro-footer a:hover {
	color: var(--footer-accent);
}

.spesarro-footer a:focus-visible {
	border-radius: 2px;
	outline: 3px solid var(--footer-accent);
	outline-offset: 4px;
}

.spesarro-footer__brand-link {
	align-items: center;
	display: inline-flex;
	min-height: 44px;
}

.spesarro-footer__logo {
	display: block;
	height: auto;
	max-width: 100%;
	width: clamp(11.5rem, 18vw, 14.25rem);
}

.spesarro-footer__claim {
	color: var(--footer-muted);
	font-family: var(--sp-font-serif, "Cormorant", Georgia, serif);
	font-size: 1.28rem;
	line-height: 1.3;
	margin: 1.15rem 0 1.4rem;
}

.spesarro-footer__contact,
.spesarro-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.spesarro-footer__contact {
	display: grid;
	gap: .65rem;
}

.spesarro-footer__contact li {
	align-items: first baseline;
	column-gap: .65rem;
	display: grid;
	grid-template-columns: 4.6rem minmax(0, 1fr);
}

.spesarro-footer__contact li > span {
	color: var(--footer-accent);
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.55;
	text-transform: uppercase;
}

.spesarro-footer__contact a {
	display: block;
	line-height: 1.55;
	min-height: 44px;
	text-decoration: underline;
	text-decoration-color: rgba(209, 170, 115, .45);
}

.spesarro-footer__contact address {
	font-style: normal;
	line-height: 1.55;
}

.spesarro-footer__brand-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem 1.35rem;
	margin-top: 1rem;
}

.spesarro-footer__brand-actions a {
	align-items: center;
	color: var(--footer-text);
	display: inline-flex;
	font-size: .875rem;
	font-weight: 500;
	min-height: 44px;
	text-decoration: underline;
	text-decoration-color: rgba(209, 170, 115, .45);
	text-underline-offset: .2em;
}

.spesarro-footer__column h2 {
	color: var(--footer-accent);
	font-family: var(--sp-font-sans, "Montserrat", Arial, sans-serif);
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: .13em;
	line-height: 1.3;
	margin: .4rem 0 .75rem;
	text-transform: uppercase;
}

.spesarro-footer__links a {
	align-items: center;
	border-bottom: 1px solid transparent;
	display: flex;
	gap: .5rem;
	justify-content: space-between;
	min-height: 44px;
}

.spesarro-footer__links a:hover {
	border-bottom-color: var(--footer-line);
}

.spesarro-footer__links a span {
	color: var(--footer-accent);
	opacity: 0;
	transform: translateX(-.35rem);
	transition: opacity .18s ease, transform .18s ease;
}

.spesarro-footer__links a:hover span,
.spesarro-footer__links a:focus-visible span {
	opacity: 1;
	transform: translateX(0);
}

.spesarro-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: 1.25rem;
}

.spesarro-footer__social > a {
	align-items: center;
	border: 1px solid var(--footer-line);
	display: inline-flex;
	font-size: .875rem;
	gap: .45rem;
	min-height: 44px;
	padding: .45rem .7rem;
}

.spesarro-footer__social > a:hover {
	background: rgba(247, 241, 232, .07);
	border-color: var(--footer-accent);
}

.spesarro-footer__social-icon,
.spesarro-footer__social-icon svg {
	display: block;
	height: 18px;
	width: 18px;
}

.spesarro-footer__social-icon svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
}

.spesarro-footer__social-icon path,
.spesarro-footer__icon-dot {
	fill: currentColor;
	stroke: none;
}

.spesarro-footer__bottom {
	align-items: flex-end;
	border-top: 1px solid var(--footer-line);
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	margin-top: clamp(2.5rem, 5vw, 4.5rem);
	padding-top: 1.4rem;
}

.spesarro-footer__company {
	display: grid;
	gap: .3rem;
	max-width: 44rem;
}

.spesarro-footer__company strong {
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: .025em;
}

.spesarro-footer__company span,
.spesarro-footer__formal {
	color: var(--footer-muted);
	font-size: .875rem;
}

.spesarro-footer__company i {
	font-style: normal;
	margin-inline: .4rem;
}

.spesarro-footer__formal {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .2rem 1.2rem;
	justify-content: flex-end;
}

.spesarro-footer__formal a {
	align-items: center;
	display: inline-flex;
	min-height: 44px;
	text-decoration: underline;
	text-decoration-color: rgba(209, 170, 115, .45);
}

#platnosci,
#dostawa,
#reklamacje,
#odstapienie {
	scroll-margin-top: 7rem;
}

@media (max-width: 1024px) {
	.spesarro-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.spesarro-footer__brand {
		border-bottom: 1px solid var(--footer-line);
		grid-column: 1 / -1;
		padding-bottom: 2rem;
	}

	.spesarro-footer__column:last-child {
		grid-column: 1 / -1;
	}

	.spesarro-footer__column:last-child .spesarro-footer__links {
		display: grid;
		gap: 0 2rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.spesarro-footer__inner {
		padding-inline: 1.15rem;
	}

	.spesarro-footer__grid {
		gap: 2rem 1.4rem;
	}

	.spesarro-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: .85rem;
	}

	.spesarro-footer__formal {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.spesarro-footer__grid {
		grid-template-columns: 1fr;
	}

	.spesarro-footer__brand,
	.spesarro-footer__column:last-child {
		grid-column: auto;
	}

	.spesarro-footer__column {
		border-top: 1px solid var(--footer-line);
		padding-top: 1.25rem;
	}

	.spesarro-footer__column:nth-child(2) {
		border-top: 0;
		padding-top: 0;
	}

	.spesarro-footer__column:last-child .spesarro-footer__links {
		display: block;
	}

	.spesarro-footer__contact li {
		grid-template-columns: 4.4rem minmax(0, 1fr);
	}

	.spesarro-footer__company strong {
		line-height: 1.55;
	}
}

@media (prefers-reduced-motion: reduce) {
	.spesarro-footer__links a span {
		transition: none;
	}
}
