/*---------------------------------------------------------------------------------------------------------------------
	Top bar
---------------------------------------------------------------------------------------------------------------------*/
.nf-topbar {
	background-color: #016fd0;
	font-size: 14px;
}
.nf-topbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
}
.nf-contact {
	display: flex;
	flex-wrap: wrap;
	column-gap: 2rem;
}
.nf-contact a,
.nf-contact a:hover {
	color: #fff;
	line-height: 32px;
	white-space: nowrap;
}
.nf-contact a:hover {
	opacity: 0.85;
}
.nf-contact svg,
.nf-contact i {
	margin-right: 6px;
}
.nf-topbar .social-links a {
	margin: 0 0 0 6px;
}

/*---------------------------------------------------------------------------------------------------------------------
	Navbar
---------------------------------------------------------------------------------------------------------------------*/
.nf-nav {
	position: sticky;
	top: 0;
	z-index: 1030;
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nf-nav > .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
}
.nf-logo img {
	display: block;
	width: 210px;
	height: auto;
}
.nf-menu,
.nf-links {
	height: 100%;
}
.nf-links {
	display: flex;
	margin: 0;
	padding: 0;
}
.nf-links > li {
	display: flex;
	align-items: center;
}
.nf-link {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 14px;
	border: 0;
	background: none;
	color: #111;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.2s ease;
}
.nf-link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 18px;
	height: 3px;
	border-radius: 3px;
	background-color: #f70c16;
	transform: scaleX(0);
	transition: transform 0.2s ease;
}
.nf-link:hover,
.nf-link.active,
.nf-dropdown:hover > .nf-link,
.nf-dropdown.open > .nf-link {
	color: #016fd0;
}
.nf-link:hover::after,
.nf-link.active::after,
.nf-dropdown:hover > .nf-link::after,
.nf-dropdown.open > .nf-link::after {
	transform: scaleX(1);
}
.nf-caret {
	width: 7px;
	height: 7px;
	margin: -3px 0 0 8px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.nf-burger,
.nf-close,
.nf-overlay {
	display: none;
}

/* dropdown product cards */
.nf-cards {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
.nf-cards a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	border: 1px solid #e4e9f0;
	border-radius: 12px;
	background-color: #fff;
	color: #111;
	text-align: center;
	font-weight: 500;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.nf-cards a:hover {
	color: #016fd0;
	border-color: #016fd0;
	box-shadow: 0 8px 20px rgba(1, 111, 208, 0.18);
	transform: translateY(-3px);
}
.nf-cards img {
	max-width: 100%;
	object-fit: contain;
}

/*---------------------------------------------------------------------------------------------------------------------
	Desktop
---------------------------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 992px) {
	.nf-panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 24px 15px;
		border-top: 1px solid #e4e9f0;
		background-color: #f5f8fc;
		box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	}
	.nf-dropdown:hover > .nf-panel,
	.nf-dropdown:focus-within > .nf-panel,
	.nf-dropdown.open > .nf-panel {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
	.nf-cards li {
		width: 220px;
		margin: 0 10px;
	}
	.nf-cards a {
		padding: 16px;
		font-size: 15px;
	}
	.nf-cards img {
		height: 90px;
		margin-bottom: 12px;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.nf-logo img {
		width: 160px;
	}
	.nf-link {
		padding: 0 8px;
		font-size: 13px;
	}
	.nf-link::after {
		left: 8px;
		right: 8px;
	}
}

/*---------------------------------------------------------------------------------------------------------------------
	Tablet and mobile: slide-in menu
---------------------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 991px) {
	.nf-topbar {
		font-size: 12px;
	}
	.nf-topbar .container {
		justify-content: center;
		min-height: 36px;
	}
	.nf-topbar .nf-contact {
		justify-content: center;
		column-gap: 1.25rem;
	}
	.nf-topbar .social-links,
	.nf-topbar .nf-label {
		display: none;
	}
	.nf-nav > .container {
		height: 64px;
	}
	.nf-logo img {
		width: 170px;
	}
	.nf-burger,
	.nf-close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 0;
		border-radius: 8px;
		background-color: #016fd0;
		color: #fff;
		font-size: 20px;
		cursor: pointer;
	}
	.nf-close {
		margin: 12px 16px 4px auto;
		background-color: #f0f3f8;
		color: #111;
	}
	.nf-overlay {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background-color: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s;
	}
	.nf-menu {
		position: fixed;
		top: 0;
		right: 0;
		width: 340px;
		max-width: 86vw;
		height: 100vh;
		height: 100dvh;
		overflow-y: auto;
		background-color: #fff;
		box-shadow: -8px 0 24px rgba(0, 0, 0, 0.18);
		transform: translateX(105%);
		visibility: hidden;
		transition: transform 0.3s ease, visibility 0.3s;
	}
	.nf-nav.open .nf-menu {
		transform: translateX(0);
		visibility: visible;
	}
	.nf-nav.open .nf-overlay {
		opacity: 1;
		visibility: visible;
	}
	body.nf-lock {
		overflow: hidden;
	}
	.nf-links {
		display: block;
		height: auto;
		padding: 0 16px 32px;
	}
	.nf-links > li {
		display: block;
		border-bottom: 1px solid #edf0f5;
	}
	.nf-link {
		justify-content: space-between;
		width: 100%;
		height: auto;
		min-height: 52px;
		padding: 0 4px;
		font-size: 16px;
		text-align: left;
	}
	.nf-link::after {
		display: none;
	}
	.nf-caret {
		margin-right: 6px;
	}
	.nf-dropdown.open > .nf-link .nf-caret {
		transform: rotate(225deg);
	}
	.nf-panel {
		display: none;
		padding: 4px 0 16px;
	}
	.nf-dropdown.open > .nf-panel {
		display: block;
	}
	.nf-cards {
		justify-content: flex-start;
		margin: 0 -5px;
	}
	.nf-cards li {
		width: 50%;
		padding: 5px;
	}
	.nf-cards a {
		padding: 10px 6px;
		font-size: 13px;
	}
	.nf-cards img {
		height: 56px;
		margin-bottom: 6px;
	}
}
