/*!
 * Footer Experience 2.0 — horizontal layout optimization
 * Keep v19 artwork/branding; use horizontal space before vertical.
 */
.site-footer.footer-v19.footer-fe20 {
	--fe20-gap-x: clamp(0.85rem, 1.6vw, 1.5rem);
	--fe20-gap-y: 1rem;
	padding-top: 3.25rem !important;
	min-height: 0 !important;
}

.site-footer.footer-v19.footer-fe20 .footer-grid {
	display: grid !important;
	grid-template-columns:
		minmax(12rem, 1.25fr)
		minmax(8.5rem, 1fr)
		minmax(8.5rem, 1fr)
		minmax(10rem, 1.15fr)
		minmax(8.5rem, 1fr) !important;
	gap: var(--fe20-gap-y) var(--fe20-gap-x) !important;
	align-items: start;
	max-width: 76rem;
	margin-inline: auto;
	width: 100%;
	padding: 1.35rem 1.5rem !important;
	grid-auto-flow: row;
}

/* Promote Shop / Plan / Support into the same row as brand + season */
.site-footer.footer-fe20 .footer-he2-links {
	display: contents !important;
}

.site-footer.footer-fe20 .footer-brand {
	grid-column: auto;
	max-width: none;
	min-width: 0;
	order: 1;
}

.site-footer.footer-fe20 .footer-he2-col[data-footer-region="pyrocore-footer-shop"] {
	order: 2;
	min-width: 0;
}

.site-footer.footer-fe20 .footer-he2-col[data-footer-region="pyrocore-footer-plan-safety"] {
	order: 3;
	min-width: 0;
}

.site-footer.footer-fe20 .footer-season-col {
	order: 4;
	min-width: 0;
}

.site-footer.footer-fe20 .footer-he2-col[data-footer-region="pyrocore-footer-support"] {
	order: 5;
	min-width: 0;
}

.site-footer.footer-fe20 .footer-bottom-widgets {
	grid-column: 1 / -1;
	order: 6;
}

.site-footer.footer-fe20 .footer-title {
	margin: 0 0 0.45rem !important;
	line-height: 1.2;
}

.site-footer.footer-fe20 .footer-he2-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.3rem;
}

.site-footer.footer-fe20 .footer-he2-col a,
.site-footer.footer-fe20 .footer-email-action {
	display: inline-flex;
	align-items: center;
	min-height: 1.75rem;
	line-height: 1.3;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.site-footer.footer-fe20 .footer-brand .brand-wordmark {
	margin-bottom: 0.55rem;
}

.site-footer.footer-fe20 .footer-brand p {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	line-height: 1.35;
}

.site-footer.footer-fe20 .footer-season-col p {
	margin: 0 0 0.4rem;
	font-size: 0.92rem;
	line-height: 1.35;
}

.site-footer.footer-fe20 .footer-season-col .btn {
	margin-top: 0.35rem;
	min-height: 2.5rem;
	padding: 0.55rem 1rem;
}

/* Social links — never mash labels together */
.site-footer.footer-fe20 .socials {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.75rem;
	margin: 0.35rem 0 0;
}

.site-footer.footer-fe20 .socials a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0.35rem 0.7rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.site-footer.footer-fe20 .socials a[href="#"],
.site-footer.footer-fe20 .socials a[href=""] {
	display: none !important;
}

.site-footer.footer-fe20 .socials a:focus-visible {
	outline: 2px solid #ffc437;
	outline-offset: 2px;
}

.site-footer.footer-fe20 .footer-copy {
	margin-top: 1.25rem !important;
	padding: 0.85rem 0 !important;
}

/* Large desktop — keep centered compact band */
@media (min-width: 1280px) {
	.site-footer.footer-v19.footer-fe20 .footer-grid {
		max-width: 78rem;
	}
}

/* Tablet — two rows ok */
@media (max-width: 1100px) {
	.site-footer.footer-v19.footer-fe20 {
		padding-top: 2.75rem !important;
		min-height: 0 !important;
	}

	.site-footer.footer-v19.footer-fe20 .footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		padding: 1.25rem !important;
	}

	.site-footer.footer-fe20 .footer-brand {
		grid-column: 1 / -1;
	}

	.site-footer.footer-fe20 .footer-season-col {
		grid-column: auto;
	}
}

/* Mobile — stack */
@media (max-width: 620px) {
	.site-footer.footer-v19.footer-fe20 {
		padding-top: 2.25rem !important;
		min-height: 0 !important;
	}

	.site-footer.footer-v19.footer-fe20 .footer-grid {
		grid-template-columns: 1fr !important;
		gap: 1.1rem !important;
		padding: 1.1rem 1rem !important;
	}

	.site-footer.footer-fe20 .footer-brand,
	.site-footer.footer-fe20 .footer-season-col,
	.site-footer.footer-fe20 .footer-he2-col {
		grid-column: auto;
		order: initial;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-footer.footer-fe20 .socials a {
		transition: none !important;
	}
}
