/* Sitewide footer shell �?hide Woodmart/Elementor footers, flush into WellLeaf footer */
body.wl-has-header .wd-footer,
body.wl-has-header .wd-prefooter,
body.wl-has-header .wd-copyrights,
body.wl-has-header .elementor-location-footer,
body.wl-has-header footer.wd-footer {
	display: none !important;
}

.wl-footer.footer.kv-footer {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.wl-footer .list-unstyled {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wl-footer a {
	text-decoration: none;
}

.wl-footer .footer-block__image-wrapper img {
	display: block;
	width: 100%;
	height: auto;
}

/* Founder badge sits on the top edge of the green footer */
body.wl-home .ctr-founder {
	overflow: visible !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

body.wl-home .ctr-founder__attribution {
	bottom: 0;
	z-index: 5;
}

body.wl-home .wl-disclaimer {
	display: none !important;
}

/* Soften Woodmart page wrapper bottom spacing above custom footer */
body.wl-has-header .main-page-wrapper,
body.wl-has-header .wd-page-content {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* Match footer link / social / newsletter hover dynamics */
.wl-footer .wl-infobox__list a,
.wl-footer .wl-infobox__body a {
	transition: color 0.15s ease;
}

.wl-footer .wl-infobox__list a:hover,
.wl-footer .wl-infobox__body a:focus-visible,
.wl-footer .wl-infobox__social:hover,
.wl-footer .wl-infobox__social:focus-visible {
	color: var(--wl-accent, #99f6e4);
}

/* Highlight product card when arriving via footer deep-link */
.wl-collection__item.is-hash-target {
	outline: 2px solid #375b2b;
	outline-offset: 6px;
	border-radius: 12px;
	transition: outline-color 0.3s ease;
}

/* Footer scroll reveal �?snappier sitewide */
.wl-footer .scroll-trigger.animate--slide-in {
	opacity: 0;
	transform: translateY(1.25rem);
	will-change: opacity, transform;
}

.wl-footer .scroll-trigger.scroll-trigger--offscreen.animate--slide-in {
	opacity: 0;
	transform: translateY(1.25rem);
	animation: none !important;
}

.wl-footer .scroll-trigger.animate--slide-in:not(.scroll-trigger--offscreen) {
	animation: wl-footer-slide-in 0.42s cubic-bezier(0, 0, 0.2, 1) forwards;
	animation-delay: calc(var(--animation-order, 0) * 40ms);
}

@keyframes wl-footer-slide-in {
	from {
		opacity: 0;
		transform: translateY(1.25rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wl-footer .scroll-trigger.animate--slide-in,
	.wl-footer .scroll-trigger.scroll-trigger--offscreen.animate--slide-in,
	.wl-footer .scroll-trigger.animate--slide-in:not(.scroll-trigger--offscreen) {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}
