/* FOUC prevention — top-level nav stays visible; panels stay out of flow. */

.custom-navigation-widget > nav .custom-menu,
.boostify-navigation--widget .boostify-menu,
.elementor-widget-kavehmegamenu .custom-menu {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.custom-navigation-widget > nav .custom-menu > li,
.boostify-navigation--widget .boostify-menu > li,
.elementor-widget-kavehmegamenu .custom-menu > li {
	display: flex !important;
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: none !important;
	position: relative;
}

.custom-menu > li > .custom-menu-child,
.custom-menu .megamenu,
.custom-menu .megamenu-two,
.custom-menu .megamenu-three,
.boostify-menu .megamenu,
.boostify-menu .megamenu-two,
.boostify-menu .megamenu-three {
	position: absolute !important;
	top: 100%;
	z-index: 9999;
}

html.kaveh-megamenu-loading .custom-menu > li > .custom-menu-child,
html.kaveh-megamenu-loading .custom-menu .sub-mega-menu,
html.kaveh-megamenu-loading .sub-mega-menu,
html.kaveh-megamenu-loading .megamenu,
html.kaveh-megamenu-loading .megamenu-two,
html.kaveh-megamenu-loading .megamenu-three,
body.kaveh-megamenu-loading .custom-menu > li > .custom-menu-child,
body.kaveh-megamenu-loading .custom-menu .sub-mega-menu,
body.kaveh-megamenu-loading .sub-mega-menu,
body.kaveh-megamenu-loading .megamenu,
body.kaveh-megamenu-loading .megamenu-two,
body.kaveh-megamenu-loading .megamenu-three {
	display: none !important;
	transition: none !important;
	animation: none !important;
}
