/**
 * Corsur Sticky Footer — styles applied via JS class hooks.
 */

/* Fixed: pinned to viewport bottom */
.csf-footer-fixed {
	position: fixed !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	z-index: var(--csf-z, 999) !important;
	margin: 0 !important;
}

body.csf-mode-fixed {
	box-sizing: border-box;
	padding-bottom: var(--csf-footer-h, 0px);
	overflow-x: clip;
}

/* Layout: push footer to page bottom */
html.csf-layout-root,
body.csf-mode-layout {
	min-height: 100%;
}

.csf-layout-wrap {
	min-height: 100vh;
	display: flex !important;
	flex-direction: column !important;
}

.csf-footer-layout {
	margin-top: auto !important;
	flex-shrink: 0;
}

/* Mobile override */
@media (max-width: 767px) {
	body.csf-disable-mobile .csf-footer-fixed {
		position: static !important;
		width: auto !important;
	}

	body.csf-disable-mobile.csf-mode-fixed {
		padding-bottom: 0 !important;
	}

	body.csf-disable-mobile .csf-layout-wrap {
		display: block !important;
		min-height: 0 !important;
	}

	body.csf-disable-mobile .csf-footer-layout {
		margin-top: 0 !important;
	}
}
