/**
 * Pro WP Farms — sticky header auto-hide (#mf-sticky-nav).
 * Only while Divi has the section stuck at the top (.et_pb_sticky / .et_pb_sticky--top).
 * Shown state uses transform:none (not translate 0) so no containing block is created for
 * fixed descendants; will-change is set only while hidden.
 */
#mf-sticky-nav.et_pb_sticky.pwf-header-shown,
#mf-sticky-nav.et_pb_sticky--top.pwf-header-shown,
#mf-sticky-nav.et_pb_sticky.pwf-header-hidden,
#mf-sticky-nav.et_pb_sticky--top.pwf-header-hidden {
	transition: transform .28s ease, background-color .3s ease, box-shadow .3s ease, color .3s ease;
}

#mf-sticky-nav.et_pb_sticky.pwf-header-shown,
#mf-sticky-nav.et_pb_sticky--top.pwf-header-shown {
	transform: none;
}

#mf-sticky-nav.et_pb_sticky.pwf-header-hidden:not(.et_pb_sticky--bottom):not(.et_pb_sticky_placeholder),
#mf-sticky-nav.et_pb_sticky--top.pwf-header-hidden:not(.et_pb_sticky_placeholder) {
	transform: translate3d(0, -100%, 0);
	will-change: transform;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	#mf-sticky-nav.et_pb_sticky.pwf-header-shown,
	#mf-sticky-nav.et_pb_sticky--top.pwf-header-shown,
	#mf-sticky-nav.et_pb_sticky.pwf-header-hidden,
	#mf-sticky-nav.et_pb_sticky--top.pwf-header-hidden {
		transition: none;
	}
}
