
.nad-fvm,
.nad-fvm * {
	box-sizing: border-box;
}

.nad-fvm {
	--nad-fvm-blue: #1379b8;
	--nad-fvm-red: #ef233c;
	--nad-fvm-border: #e4e4e4;
	--nad-fvm-text: #222;
	position: relative;
	width: var(--nad-fvm-width, 222px);
	max-width: 100%;
	font-size: 14px;
	line-height: 1.35;
	z-index: 60;
}

.nad-fvm__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 0;
	background: var(--nad-fvm-blue);
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: none;
}

.nad-fvm__heading:hover,
.nad-fvm__heading:focus {
	background: var(--nad-fvm-blue);
	color: #fff;
	box-shadow: none;
	outline: 2px solid transparent;
}

.nad-fvm__hamburger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.nad-fvm__hamburger span {
	display: block;
	width: 13px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.nad-fvm__title {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nad-fvm__chevron {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s ease;
}

.nad-fvm.is-open .nad-fvm__chevron {
	transform: rotate(225deg) translate(-1px, -1px);
}

.nad-fvm__panel {
	width: 100%;
	background: #fff;
	border: 1px solid var(--nad-fvm-border);
	border-top: 0;
	box-shadow: 0 8px 25px rgba(0, 0, 0, .09);
}

.nad-fvm--dropdown .nad-fvm__panel {
	position: absolute;
	top: 100%;
	left: 0;
}

.nad-fvm--static .nad-fvm__panel {
	position: static;
	box-shadow: none;
}

.nad-fvm__panel[hidden] {
	display: none !important;
}

.nad-fvm__list,
.nad-fvm__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
}

.nad-fvm__list > li {
	position: relative;
	margin: 0;
	border-bottom: 1px solid var(--nad-fvm-border);
}

.nad-fvm__list > li:last-child {
	border-bottom: 0;
}

.nad-fvm__list li > a {
	display: flex;
	align-items: center;
	min-height: 36px;
	padding: 8px 36px 8px 12px;
	color: var(--nad-fvm-text);
	font-weight: 400;
	line-height: 1.35;
	text-decoration: none;
	background: #fff;
	transition: color .15s ease, background .15s ease, padding-left .15s ease;
}

.nad-fvm__list li > a:hover,
.nad-fvm__list li.current-menu-item > a,
.nad-fvm__list li.current-menu-ancestor > a {
	color: var(--nad-fvm-blue);
	background: #f7fafc;
	padding-left: 15px;
}

.nad-fvm__list > li.menu-item-has-children::after {
	content: "";
	position: absolute;
	top: 15px;
	right: 14px;
	width: 7px;
	height: 7px;
	border-top: 1.5px solid #999;
	border-right: 1.5px solid #999;
	transform: rotate(45deg);
	pointer-events: none;
}

.nad-fvm__list .sub-menu {
	position: absolute;
	top: -1px;
	left: 100%;
	display: none;
	min-width: 220px;
	border: 1px solid var(--nad-fvm-border);
	box-shadow: 5px 8px 22px rgba(0,0,0,.1);
}

.nad-fvm__list .sub-menu li {
	position: relative;
	margin: 0;
	border-bottom: 1px solid var(--nad-fvm-border);
}

.nad-fvm__list .sub-menu li:last-child {
	border-bottom: 0;
}

.nad-fvm__list li:hover > .sub-menu,
.nad-fvm__list li:focus-within > .sub-menu {
	display: block;
}

.nad-fvm__item-hidden {
	display: none !important;
}

.nad-fvm__more {
	margin: 0;
	padding: 0;
	border-bottom: 0 !important;
}

.nad-fvm__more-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	min-height: 39px;
	margin: 0;
	padding: 8px 12px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--nad-fvm-blue);
	font: inherit;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: none;
}

.nad-fvm__more-button:hover,
.nad-fvm__more-button:focus {
	background: #f7fafc;
	color: var(--nad-fvm-red);
	box-shadow: none;
}

.nad-fvm__more-icon {
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s ease;
}

.nad-fvm__more.is-expanded .nad-fvm__more-icon {
	transform: rotate(225deg) translate(-1px, -1px);
}

.nad-submenu-toggle {
	display: none;
}

.nad-fvm-notice {
	padding: 10px 12px;
	border-left: 4px solid #dba617;
	background: #fff8e5;
	color: #443b1f;
	font-size: 13px;
}

@media (min-width: 850px) {
	.nad-fvm--dropdown:not(.is-open):hover .nad-fvm__panel {
		display: block !important;
	}
}

@media (max-width: 849px) {
	.nad-fvm {
		width: 100%;
	}

	.nad-fvm--dropdown .nad-fvm__panel {
		position: static;
		box-shadow: none;
	}

	.nad-fvm__list > li.menu-item-has-children::after {
		display: none;
	}

	.nad-fvm__list .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		border: 0;
		border-top: 1px solid var(--nad-fvm-border);
		box-shadow: none;
	}

	.nad-fvm__list li.is-submenu-open > .sub-menu {
		display: block;
	}

	.nad-fvm__list .sub-menu a {
		padding-left: 28px;
		background: #fafafa;
	}

	.nad-fvm__list .sub-menu .sub-menu a {
		padding-left: 42px;
	}

	.nad-submenu-toggle {
		position: absolute;
		top: 0;
		right: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 36px;
		margin: 0;
		padding: 0;
		border: 0;
		border-left: 1px solid var(--nad-fvm-border);
		border-radius: 0;
		background: transparent;
		color: #555;
		cursor: pointer;
		box-shadow: none;
	}

	.nad-submenu-toggle::before {
		content: "+";
		font-size: 20px;
		font-weight: 400;
		line-height: 1;
	}

	.is-submenu-open > .nad-submenu-toggle::before {
		content: "−";
	}
}
