/* Sitewide footer shell — hide Woodmart/Elementor footers, flush into Cata-Kor footer */
body.ck-has-catakor-header .wd-footer,
body.ck-has-catakor-header .wd-prefooter,
body.ck-has-catakor-header .wd-copyrights,
body.ck-has-catakor-header .elementor-location-footer,
body.ck-has-catakor-header footer.wd-footer {
	display: none !important;
}

.ck-footer.footer.kv-footer {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

.ck-footer .list-unstyled {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ck-footer a {
	text-decoration: none;
}

.ck-footer .footer-block__image-wrapper img {
	display: block;
	width: 100%;
	height: auto;
}

/* Founder badge sits on the top edge of the green footer */
body.ck-catakor-home .ctr-founder {
	overflow: visible !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

body.ck-catakor-home .ctr-founder__attribution {
	bottom: 0;
	z-index: 5;
}

body.ck-catakor-home .ck-disclaimer {
	display: none !important;
}

/* Soften Woodmart page wrapper bottom spacing above custom footer */
body.ck-has-catakor-header .main-page-wrapper,
body.ck-has-catakor-header .wd-page-content {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* Match catakor footer link / social / newsletter hover dynamics */
.ck-footer.footer.kv-footer .footer-block--menu .list-menu__item--link {
	transition: color 0.15s ease;
}

.ck-footer.footer.kv-footer .footer-block--menu .list-menu__item--link:hover,
.ck-footer.footer.kv-footer .footer-block--menu .list-menu__item--link:focus-visible {
	color: #e2f78e;
}

.ck-footer .footer__social {
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.ck-footer .footer__social:hover,
.ck-footer .footer__social:focus-visible {
	background: #d2ee74;
	transform: translateY(-1px);
}

.ck-footer .newsletter-form__field-wrapper .field #Subscribe {
	transition: background-color 0.15s ease;
}

.ck-footer .newsletter-form__field-wrapper .field #Subscribe:hover,
.ck-footer .newsletter-form__field-wrapper .field #Subscribe:focus-visible {
	background: #d2ee74;
}

/* Highlight product card when arriving via footer deep-link */
.ck-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 */
.ck-footer .scroll-trigger.animate--slide-in {
	opacity: 0;
	transform: translateY(1.25rem);
	will-change: opacity, transform;
}

.ck-footer .scroll-trigger.scroll-trigger--offscreen.animate--slide-in {
	opacity: 0;
	transform: translateY(1.25rem);
	animation: none !important;
}

.ck-footer .scroll-trigger.animate--slide-in:not(.scroll-trigger--offscreen) {
	animation: ck-footer-slide-in 0.42s cubic-bezier(0, 0, 0.2, 1) forwards;
	animation-delay: calc(var(--animation-order, 0) * 40ms);
}

@keyframes ck-footer-slide-in {
	from {
		opacity: 0;
		transform: translateY(1.25rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ck-footer .scroll-trigger.animate--slide-in,
	.ck-footer .scroll-trigger.scroll-trigger--offscreen.animate--slide-in,
	.ck-footer .scroll-trigger.animate--slide-in:not(.scroll-trigger--offscreen) {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}
