/* Mega Menu Pro — front end */

.mmp-nav {
	--mmp-font: inherit;
	--mmp-dur: 220ms;
	--mmp-panel-w: 1290px;
	--mmp-top-color: #fff;
	--mmp-accent: #ff6b2c;
	--mmp-top-size: 16px;
	--mmp-top-weight: 500;
	--mmp-top-gap: 24px;
	--mmp-top-pad-y: 12px;
	--mmp-align: flex-start;
	--mmp-toggle-align: flex-end;
	--mmp-panel-bg: #fff;
	--mmp-radius: 10px;
	--mmp-shadow: 0 18px 50px rgba(15, 23, 60, .16);
	--mmp-pad-y: 30px;
	--mmp-pad-x: 32px;
	--mmp-offset: 12px;
	--mmp-col-gap: 32px;
	--mmp-group-gap: 18px;
	--mmp-dd-w: 200px;
	--mmp-dd-max: 420px;
	--mmp-heading-color: #1b2140;
	--mmp-heading-hover: #ff6b2c;
	--mmp-heading-size: 17px;
	--mmp-heading-weight: 500;
	--mmp-heading-ls: -0.4px;
	--mmp-heading-gap: 10px;
	--mmp-link-color: #1f2f5c;
	--mmp-link-hover: #ff6b2c;
	--mmp-link-size: 15px;
	--mmp-link-weight: 400;
	--mmp-link-gap: 8px;
	--mmp-bullet: #ff6b2c;
	--mmp-m-width: 360px;
	--mmp-m-bg: #fff;
	--mmp-m-color: #1b2140;
	--mmp-m-border: #e8ebf3;
	--mmp-burger: #fff;
	--mmp-burger-bg: transparent;

	position: relative;
	width: 100%;
	font-family: var(--mmp-font);
}

.mmp-nav *,
.mmp-nav *::before,
.mmp-nav *::after { box-sizing: border-box; }

.mmp-nav ul { list-style: none; margin: 0; padding: 0; }
.mmp-nav li { margin: 0; padding: 0; }
.mmp-nav li::before, .mmp-nav li::marker { content: none; }

.mmp-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Button reset — themes and Elementor kits style <button> heavily */
.mmp-nav button.mmp-sub-toggle,
.mmp-nav button.mmp-group-toggle,
.mmp-nav button.mmp-close {
	-webkit-appearance: none;
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0;
	margin: 0;
	padding: 0 !important;
	min-height: 0;
	font: inherit;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	color: inherit;
}
.mmp-nav button:focus-visible,
.mmp-nav a:focus-visible {
	outline: 2px solid var(--mmp-accent);
	outline-offset: 2px;
}

.mmp-overlay,
.mmp-mobile-head,
.mmp-nav button.mmp-group-toggle { display: none; }

/* ============ Top bar ============ */

.mmp-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: var(--mmp-align);
	column-gap: var(--mmp-top-gap);
}

.mmp-item { position: relative; }
.mmp-menu > .mmp-item.mmp-has-mega { position: static; }

.mmp-link-row { display: flex; align-items: center; gap: 6px; }

.mmp-nav .mmp-top-link {
	display: block;
	padding: var(--mmp-top-pad-y) 0;
	color: var(--mmp-top-color);
	font-size: var(--mmp-top-size);
	font-weight: var(--mmp-top-weight);
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s ease;
}

.mmp-nav .mmp-menu > .mmp-item > .mmp-link-row .mmp-sub-toggle { color: var(--mmp-top-color); transition: color .2s ease; }

.mmp-nav .mmp-menu > .mmp-item:hover > .mmp-link-row > .mmp-top-link,
.mmp-nav .mmp-menu > .mmp-item.mmp-open > .mmp-link-row > .mmp-top-link,
.mmp-nav .mmp-menu > .mmp-item.mmp-current > .mmp-link-row > .mmp-top-link,
.mmp-nav .mmp-menu > .mmp-item:hover > .mmp-link-row > .mmp-sub-toggle,
.mmp-nav .mmp-menu > .mmp-item.mmp-open > .mmp-link-row > .mmp-sub-toggle,
.mmp-nav .mmp-menu > .mmp-item.mmp-current > .mmp-link-row > .mmp-sub-toggle { color: var(--mmp-accent); }

.mmp-nav .mmp-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; }

.mmp-caret {
	display: block;
	width: 0; height: 0;
	border-left: 4.5px solid transparent;
	border-right: 4.5px solid transparent;
	border-top: 5px solid currentColor;
	transition: transform .2s ease;
}
.mmp-item.mmp-open > .mmp-link-row .mmp-caret,
.mmp-group.mmp-open > .mmp-group-head .mmp-caret { transform: rotate(180deg); }

.mmp-nav.mmp-no-caret:not(.mmp-is-mobile) .mmp-sub-toggle {
	position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;
}

/* ============ Panels (shared) ============ */

.mmp-panel {
	position: absolute;
	top: calc(100% + var(--mmp-offset));
	left: 0;
	z-index: 9999;
	background: var(--mmp-panel-bg);
	border-radius: var(--mmp-radius);
	box-shadow: var(--mmp-shadow);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--mmp-dur) ease, transform var(--mmp-dur) ease, visibility 0s linear var(--mmp-dur);
}
.mmp-anim-slide .mmp-panel { transform: translateY(10px); }
.mmp-anim-none .mmp-panel { transition: none; }

/* Invisible bridge so the panel stays open while the mouse crosses the gap */
.mmp-panel::before {
	content: "";
	position: absolute;
	left: 0; right: 0;
	bottom: 100%;
	height: calc(var(--mmp-offset) + 4px);
}

.mmp-item.mmp-open > .mmp-panel,
.mmp-nav:not(.mmp-ready) .mmp-item:hover > .mmp-panel,
.mmp-trigger-hover:not(.mmp-is-mobile) .mmp-item:focus-within > .mmp-panel,
.mmp-nav:not(.mmp-is-mobile) .mmp-dropdown .mmp-item:hover > .mmp-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition-delay: 0s;
}

/* ============ Mega panel ============ */

.mmp-mega { width: min(var(--mmp-panel-w), 100vw); }

.mmp-panel-inner {
	padding: var(--mmp-pad-y) var(--mmp-pad-x);
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.mmp-cols {
	display: grid;
	grid-template-columns: repeat(var(--mmp-cols, 4), minmax(0, 1fr));
	gap: var(--mmp-col-gap);
}
.mmp-is-tablet .mmp-cols { grid-template-columns: repeat(var(--mmp-cols-t, 2), minmax(0, 1fr)); }
.mmp-is-tablet .mmp-col { display: contents; }
.mmp-is-tablet .mmp-group { margin-bottom: 0; }

.mmp-col { display: flex; flex-direction: column; gap: var(--mmp-group-gap); min-width: 0; }

.mmp-group-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.mmp-nav .mmp-heading {
	display: block;
	margin: 0 0 var(--mmp-heading-gap);
	color: var(--mmp-heading-color);
	font-size: var(--mmp-heading-size);
	font-weight: var(--mmp-heading-weight);
	letter-spacing: var(--mmp-heading-ls);
	line-height: 1.15;
	text-decoration: none;
	transition: color .2s ease;
}
.mmp-nav a.mmp-heading:hover { color: var(--mmp-heading-hover); }

.mmp-links { display: flex; flex-direction: column; gap: var(--mmp-link-gap); }
.mmp-sublinks { margin: var(--mmp-link-gap) 0 0 22px !important; }

.mmp-nav .mmp-link {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--mmp-link-color);
	font-size: var(--mmp-link-size);
	font-weight: var(--mmp-link-weight);
	line-height: 1.45;
	text-decoration: none;
	transition: color .2s ease;
}
.mmp-nav .mmp-link:hover,
.mmp-nav .mmp-link.mmp-current { color: var(--mmp-link-hover); }

.mmp-link-text { transition: transform .2s ease; }
.mmp-hover-slide .mmp-link:hover .mmp-link-text { transform: translateX(3px); }
.mmp-hover-underline .mmp-link:hover .mmp-link-text { text-decoration: underline; text-underline-offset: 3px; }

/* Bullets */
.mmp-bullet {
	flex: 0 0 auto;
	display: block;
	width: 12px; height: 12px;
	margin-top: calc((1.45em - 12px) / 2);
	color: var(--mmp-bullet);
	border: 1.5px solid currentColor;
	border-radius: 50%;
	background: radial-gradient(circle, currentColor 0 2px, transparent 2.6px);
}
.mmp-bullet-dot .mmp-bullet { width: 6px; height: 6px; margin: calc((1.45em - 6px) / 2) 3px 0; border: 0; background: currentColor; }
.mmp-bullet-square .mmp-bullet { width: 7px; height: 7px; margin: calc((1.45em - 7px) / 2) 2px 0; border: 0; border-radius: 1px; background: currentColor; }
.mmp-bullet-arrow .mmp-bullet { width: 7px; height: 7px; margin: calc((1.45em - 7px) / 2) 3px 0 0; border: 0; border-top: 2px solid currentColor; border-right: 2px solid currentColor; border-radius: 0; background: none; transform: rotate(45deg); }
.mmp-bullet-check .mmp-bullet { width: 6px; height: 10px; margin: calc((1.45em - 12px) / 2) 3px 0 3px; border: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; border-radius: 0; background: none; transform: rotate(45deg); }
.mmp-bullet-none .mmp-bullet { display: none; }

.mmp-icon { flex: 0 0 auto; width: 1.1em; margin-top: .2em; color: var(--mmp-bullet); font-size: 1em; line-height: 1; text-align: center; }
.mmp-icon.dashicons { width: 16px; height: 16px; font-size: 16px; }

/* ============ Normal dropdown ============ */

.mmp-dropdown {
	width: max-content;
	min-width: var(--mmp-dd-w);
	max-width: min(var(--mmp-dd-max), calc(100vw - 32px));
	padding: 10px 0 !important;
}
.mmp-dd-nowrap .mmp-dropdown { max-width: none; }
.mmp-nav.mmp-dd-nowrap .mmp-dd-link { white-space: nowrap; }
/* Opened near the right edge of the screen: open towards the left instead */
.mmp-dropdown.mmp-flip { left: auto; right: 0; }
.mmp-dropdown .mmp-link-row { justify-content: space-between; padding-right: 14px; }
.mmp-nav .mmp-dd-link {
	flex: 1;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 9px 20px;
	color: var(--mmp-link-color);
	font-size: var(--mmp-link-size);
	font-weight: var(--mmp-link-weight);
	line-height: 1.35;
	text-decoration: none;
	transition: color .2s ease;
}
.mmp-nav .mmp-dd-link:hover,
.mmp-nav .mmp-dd-link.mmp-current { color: var(--mmp-link-hover); }
.mmp-dd-link .mmp-bullet { margin-top: calc((1.35em - 12px) / 2); }
.mmp-bullet-dot .mmp-dd-link .mmp-bullet { margin-top: calc((1.35em - 6px) / 2); }
.mmp-bullet-square .mmp-dd-link .mmp-bullet,
.mmp-bullet-arrow .mmp-dd-link .mmp-bullet { margin-top: calc((1.35em - 7px) / 2); }
.mmp-nav:not(.mmp-dd-bullets) .mmp-dd-link .mmp-bullet { display: none; }
.mmp-hover-slide .mmp-dd-link:hover .mmp-link-text { transform: translateX(3px); }
.mmp-hover-underline .mmp-dd-link:hover .mmp-link-text { text-decoration: underline; text-underline-offset: 3px; }
.mmp-dropdown .mmp-sub-toggle { color: var(--mmp-link-color); }

.mmp-nav:not(.mmp-is-mobile) .mmp-dropdown .mmp-caret { transform: rotate(-90deg); }
.mmp-dropdown .mmp-dropdown { top: -10px; left: 100%; margin-left: 6px; }
.mmp-dropdown .mmp-dropdown.mmp-flip { left: auto; right: 100%; margin-left: 0; margin-right: 6px; }
.mmp-dropdown .mmp-dropdown::before { left: auto; right: 100%; bottom: 0; top: 0; width: 10px; height: auto; }

/* ============ Device visibility ============ */

.mmp-nav:not(.mmp-is-mobile) .mmp-hide-desktop { display: none !important; }
.mmp-nav.mmp-is-mobile .mmp-hide-mobile { display: none !important; }

/* ============ Mobile ============ */

.mmp-nav.mmp-is-mobile { display: flex; justify-content: var(--mmp-toggle-align); }

/* Hamburger: hidden on large screens. Shown only in mobile mode
   (or, before the script runs, by the width-based rule printed in <head>). */
.mmp-nav button.mmp-toggle {
	-webkit-appearance: none;
	appearance: none;
	display: none;
	margin: 0;
	padding: 0 !important;
	min-height: 0;
	border: 0 !important;
	border-radius: 6px;
	box-shadow: none !important;
	background: var(--mmp-burger-bg, transparent) !important;
	color: var(--mmp-burger, #fff) !important;
	font: inherit;
	line-height: 1;
	cursor: pointer;
}
.mmp-nav button.mmp-toggle:hover,
.mmp-nav button.mmp-toggle:focus,
.mmp-nav button.mmp-toggle:active {
	background: var(--mmp-burger-bg, transparent) !important;
	color: var(--mmp-burger, #fff) !important;
}
.mmp-nav.mmp-is-mobile button.mmp-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
}
.mmp-nav:not(.mmp-is-mobile).mmp-ready button.mmp-toggle { display: none !important; }
.mmp-toggle-bars { position: relative; display: block; width: 24px; height: 16px; }
.mmp-toggle-bars span {
	position: absolute; left: 0; right: 0;
	height: 2px; border-radius: 2px;
	background: currentColor;
	transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.mmp-toggle-bars span:nth-child(1) { top: 0; }
.mmp-toggle-bars span:nth-child(2) { top: 7px; }
.mmp-toggle-bars span:nth-child(3) { top: 14px; }
.mmp-mobile-open .mmp-toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.mmp-mobile-open .mmp-toggle-bars span:nth-child(2) { opacity: 0; }
.mmp-mobile-open .mmp-toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Container */
.mmp-is-mobile .mmp-wrap {
	position: fixed;
	z-index: 100000;
	background: var(--mmp-m-bg);
	overflow-y: auto;
	overscroll-behavior: contain;
	visibility: hidden;
	text-align: left;
}
.mmp-is-mobile.mmp-m-offcanvas .mmp-wrap {
	top: 0; bottom: 0;
	width: min(var(--mmp-m-width), 88vw);
	transition: transform .3s ease, visibility 0s linear .3s;
	box-shadow: 0 0 40px rgba(0, 0, 0, .2);
}
.mmp-is-mobile.mmp-m-offcanvas-right .mmp-wrap { right: 0; transform: translateX(100%); }
.mmp-is-mobile.mmp-m-offcanvas-left .mmp-wrap { left: 0; transform: translateX(-100%); }
.mmp-is-mobile.mmp-m-dropdown .mmp-wrap {
	left: 0; right: 0;
	top: var(--mmp-m-top, 70px);
	max-height: calc(100vh - var(--mmp-m-top, 70px));
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}
.mmp-is-mobile.mmp-mobile-open .mmp-wrap {
	visibility: visible;
	transform: none;
	opacity: 1;
	transition-delay: 0s;
}

.mmp-is-mobile .mmp-overlay {
	display: block;
	position: fixed; left: 0; right: 0; bottom: 0; top: 0;
	z-index: 99999;
	background: rgba(8, 14, 36, .5);
	opacity: 0; visibility: hidden;
	transition: opacity .3s ease, visibility 0s linear .3s;
}
.mmp-is-mobile.mmp-m-dropdown .mmp-overlay { top: var(--mmp-m-top, 70px); }
.mmp-is-mobile.mmp-mobile-open .mmp-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }

.mmp-is-mobile.mmp-m-offcanvas .mmp-mobile-head {
	display: flex; justify-content: flex-end;
	padding: 8px 10px;
	border-bottom: 1px solid var(--mmp-m-border);
}
.mmp-nav button.mmp-close { position: relative; width: 40px; height: 40px; color: var(--mmp-m-color); }
.mmp-close span::before,
.mmp-close span::after {
	content: ""; position: absolute; top: 50%; left: 50%;
	width: 20px; height: 2px; margin: -1px 0 0 -10px;
	background: currentColor; border-radius: 2px;
}
.mmp-close span::before { transform: rotate(45deg); }
.mmp-close span::after { transform: rotate(-45deg); }

/* Menu list */
.mmp-is-mobile .mmp-menu { display: block; }
.mmp-is-mobile .mmp-menu > .mmp-item { border-bottom: 1px solid var(--mmp-m-border); }
.mmp-is-mobile .mmp-link-row { justify-content: space-between; gap: 0; }
.mmp-nav.mmp-is-mobile .mmp-top-link {
	flex: 1;
	padding: 15px 20px;
	color: var(--mmp-m-color);
	white-space: normal;
}
.mmp-nav.mmp-is-mobile .mmp-menu > .mmp-item > .mmp-link-row .mmp-sub-toggle { color: var(--mmp-m-color); }
.mmp-nav.mmp-is-mobile .mmp-menu > .mmp-item.mmp-open > .mmp-link-row > * ,
.mmp-nav.mmp-is-mobile .mmp-menu > .mmp-item.mmp-current > .mmp-link-row > .mmp-top-link { color: var(--mmp-accent); }
.mmp-nav.mmp-is-mobile .mmp-sub-toggle,
.mmp-nav.mmp-is-mobile .mmp-group-toggle { width: 52px; height: 50px; flex: 0 0 52px; }

/* Panels become inline accordions */
.mmp-is-mobile .mmp-panel {
	position: static;
	display: none;
	width: auto !important;
	min-width: 0;
	max-height: none;
	left: auto !important;
	margin: 0 !important;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	opacity: 1; visibility: visible; pointer-events: auto;
	transform: none;
	transition: none;
}
.mmp-is-mobile .mmp-panel::before { display: none; }
.mmp-is-mobile .mmp-item.mmp-open > .mmp-panel { display: block; }

.mmp-is-mobile .mmp-panel-inner { padding: 0 20px 10px; max-height: none; overflow: visible; }
.mmp-is-mobile .mmp-cols { display: block; }
.mmp-is-mobile .mmp-col { display: block; }
.mmp-is-mobile .mmp-group { border-top: 1px solid var(--mmp-m-border); }
.mmp-is-mobile .mmp-col:first-child .mmp-group:first-child { border-top: 0; }
.mmp-nav.mmp-is-mobile .mmp-heading {
	flex: 1;
	margin: 0;
	padding: 13px 0;
	font-size: calc(var(--mmp-heading-size) * .94);
	color: var(--mmp-m-color);
}
.mmp-is-mobile .mmp-group-head .mmp-group-toggle { color: var(--mmp-m-color); margin-right: -16px; }
.mmp-nav.mmp-is-mobile.mmp-m-accordion button.mmp-group-toggle { display: inline-flex; align-items: center; justify-content: center; }
.mmp-is-mobile.mmp-m-accordion .mmp-group:not(.mmp-open) > .mmp-links { display: none; }
.mmp-is-mobile.mmp-m-accordion span.mmp-heading { cursor: pointer; }
.mmp-is-mobile .mmp-group > .mmp-links { padding: 0 0 14px; }

.mmp-is-mobile .mmp-dropdown { padding: 0 0 8px !important; }
.mmp-nav.mmp-is-mobile .mmp-dropdown { width: auto; max-width: none; }
.mmp-nav.mmp-is-mobile .mmp-dd-link { white-space: normal; }
.mmp-is-mobile .mmp-dropdown .mmp-link-row { padding-right: 0; }
.mmp-nav.mmp-is-mobile .mmp-dd-link { padding: 10px 20px 10px 32px; }
.mmp-nav.mmp-is-mobile .mmp-dropdown .mmp-dropdown .mmp-dd-link { padding-left: 46px; }

body.mmp-lock { overflow: hidden; }

.mmp-notice { padding: 10px 14px; border: 1px dashed #c3c4c7; font-size: 13px; color: #50575e; background: #fff; }

@media (prefers-reduced-motion: reduce) {
	.mmp-nav *, .mmp-nav *::before, .mmp-nav *::after { transition-duration: 0s !important; }
}
