/* =========================================================
   HEADER
   ========================================================= */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 1px 0 rgba(17, 49, 73, 0.08);
}

.site-header.is-scrolled {
	box-shadow: 0 10px 24px rgba(17, 49, 73, 0.12);
}

.header-main__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 88px;
	gap: 2rem;
}

.brand {
	display: block;
	width: 310px;
	max-width: 24vw;
}

.brand img {
	display: block;
	width: 100%;
	height: auto;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin-left: auto;
	position: relative;
}

.utility-link,
.search-label {
	color: #536576;
	font-size: 0.74rem;
	text-decoration: none;
}

.utility-link:hover {
	text-decoration: underline;
}

.utility-separator {
	width: 1px;
	height: 16px;
	background: #bdc9d3;
}

.search-box {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.search-box input {
	position: absolute;
	right: 34px;
	width: 0;
	height: 38px;
	padding: 0;
	opacity: 0;
	pointer-events: none;
	background: #fff;
	border: 1px solid #cbd7df;
	border-radius: 12px;
	transition:
		width 0.2s ease,
		padding 0.2s ease,
		opacity 0.2s ease;
}

.search-box.is-open input {
	width: 190px;
	padding: 0 0.8rem;
	opacity: 1;
	pointer-events: auto;
}

.search-box.is-open .search-label {
	opacity: 0;
}

.icon-btn {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	color: #274054;
	background: transparent;
	border: 0;
}

.icon-btn i {
	font-size: 1.15rem;
}

.social-link {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	color: #fff;
	font-size: 0.8rem;
	text-decoration: none;
	border-radius: 4px;
}

.social-link--facebook {
	background: #355fa8;
}

.social-link--instagram {
	background: linear-gradient(135deg, #7646c5, #ea4e78, #f3a24a);
}

/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.social-link {
	display: inline-grid;
	flex: 0 0 42px;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #fff;
	font-size: 1.35rem;
	line-height: 1;
	text-decoration: none;
	border-radius: 12px;
	box-shadow: 0 5px 12px rgba(17, 49, 73, 0.12);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
}

.social-link i {
	display: block;
	color: inherit;
	font-size: inherit;
	line-height: 1;
}

.social-link--facebook {
	background: #355fa8;
}

.social-link--instagram {
	background: linear-gradient(
		135deg,
		#7646c5 0%,
		#d94681 50%,
		#f3a24a 100%
	);
}

.social-link--youtube {
	background: #ff0033;
}

.social-link:hover {
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(17, 49, 73, 0.2);
}

.social-link:focus-visible {
	color: #fff;
	outline: 3px solid rgba(44, 188, 231, 0.4);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.social-link {
		transition: none;
	}

	.social-link:hover {
		transform: none;
	}
}



.header-contact {
	min-height: 38px;
	padding-inline: 1rem;
	font-size: 0.77rem;
}

/* =========================================================
   ZOEKEN IN HEADER
   ========================================================= */

.search-box {
	position: relative;
	display: block;
	flex: 0 1 auto;
	margin: 0;
}

.search-box .search-form {
	display: flex;
	align-items: stretch;
	width: clamp(160px, 16vw, 220px);
	height: 42px;
	margin: 0;
	padding: 0;
}

.search-box input[type="text"] {
	position: static;
	right: auto;
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 42px;
	margin: 0;
	padding: 0 14px;
	opacity: 1;
	color: #173047;
	font-family: var(--font-sans, "Dax-Regular", sans-serif);
	font-size: 0.88rem;
	line-height: 1;
	pointer-events: auto;
	background: #fff;
	border: 1px solid #d7e0e7;
	border-right: 0;
	border-radius: 12px 0 0 12px;
	outline: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.search-box input[type="text"]::placeholder {
	color: #778794;
	opacity: 1;
}

.search-box input[type="text"]:focus {
	border-color: #5f9fca;
	box-shadow: 0 0 0 3px rgba(95, 159, 202, 0.16);
}

.search-box .search-submit {
	display: grid;
	flex: 0 0 44px;
	place-items: center;
	width: 44px;
	height: 42px;
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	background: #ed7c15;
	border: 1px solid #ed7c15;
	border-radius: 0 12px 12px 0;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.search-box .search-submit:hover,
.search-box .search-submit:focus-visible {
	background: #173047;
	border-color: #173047;
}

.search-box .search-submit:focus-visible {
	outline: 3px solid rgba(95, 159, 202, 0.3);
	outline-offset: 2px;
}


/* =========================================================
   WINKELWAGEN IN HEADER
   ========================================================= */

#cart-mobile {
	position: relative;
	top: auto;
	right: auto;
	z-index: auto;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.sticky #cart-mobile {
	top: auto;
}

#cart-mobile a {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: #173047;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	background: #fff;
	border: 1px solid #d7e0e7;
	border-radius: 12px;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

#cart-mobile a:hover {
	background: #eaf3f9;
	border-color: #b8ccd9;
	transform: translateY(-2px);
}

#cart-mobile img {
	display: block;
	width: 23px;
	height: 23px;
	object-fit: contain;
	filter: invert(20%) sepia(19%) saturate(1040%)
		hue-rotate(165deg) brightness(91%) contrast(92%);
}

#cart-mobile .number {
	position: absolute;
	top: -7px;
	right: -7px;
	display: grid;
	place-items: center;
	min-width: 21px;
	height: 21px;
	padding: 0 5px;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1;
	background: #ed7c15;
	border: 2px solid #fff;
	border-radius: 999px;
}


/* =========================================================
   MENUKNOP
   ========================================================= */

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-width: 46px;
	min-height: 42px;
	padding: 0 clamp(10px, 1.5vw, 15px);
	color: #173047;
	font-family: var(--font-head);
	font-size: var(--fs-sm);
	font-weight: 700;
	background: #fff;
	border: 1px solid #d7e0e7;
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.menu-toggle__bars {
	position: relative;
	display: block;
	width: 21px;
	height: 14px;
}

.menu-toggle__bars span {
	position: absolute;
	right: 0;
	left: 0;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
	transition:
		top 0.2s ease,
		transform 0.2s ease,
		opacity 0.2s ease;
}

.menu-toggle__bars span:nth-child(1) {
	top: 0;
}

.menu-toggle__bars span:nth-child(2) {
	top: 6px;
}

.menu-toggle__bars span:nth-child(3) {
	top: 12px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
	top: 6px;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
	top: 6px;
	transform: rotate(-45deg);
}


/* =========================================================
   MENU ALGEMEEN
   ========================================================= */

.nav-shell {
	position: static;
	background: transparent;
	border: 0;
}

.nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 190;
	display: block;
	padding: 0;

	opacity: 0;
	visibility: hidden;
	background: rgba(12, 31, 45, 0.64);
	border: 0;
	cursor: default;
	backdrop-filter: blur(2px);
	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}

.menu-open .nav-overlay {
	opacity: 1;
	visibility: visible;
}

body.menu-open {
	overflow: hidden;
}

.nav-item {
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-item__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.nav-link {
	color: #536576;
	text-decoration: none;
	transition:
		color 0.2s ease,
		background-color 0.2s ease;
}


/* =========================================================
   DESKTOP MEGAMENU
   ========================================================= */

@media (min-width: 960px) {
	.primary-nav {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		z-index: 220;
		width: 100%;
		max-height: calc(100vh - 0px);
		max-height: calc(100dvh - 0px);
		overflow-x: hidden;
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		overscroll-behavior: contain;
		scrollbar-gutter: stable;
		-webkit-overflow-scrolling: touch;
		background: #fff;
		border-top: 1px solid #e3e9ee;
		box-shadow: 0 24px 45px rgba(17, 49, 73, 0.18);
		transform: translateY(-12px);
		transition:
			opacity 0.25s ease,
			visibility 0.25s ease,
			transform 0.25s ease;
		scrollbar-width: thin;
		scrollbar-color: #8eb3dd #edf2f5;
	}

	.menu-open .primary-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav::-webkit-scrollbar {
		width: 10px;
	}

	.primary-nav::-webkit-scrollbar-track {
		background: #edf2f5;
	}

	.primary-nav::-webkit-scrollbar-thumb {
		background: #8eb3dd;
		border: 2px solid #edf2f5;
		border-radius: 999px;
	}

	.primary-nav::-webkit-scrollbar-thumb:hover {
		background: #67a63e;
	}

	.mobile-nav-head {
		position: sticky;
		top: 0;
		z-index: 40;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		width: 100%;
		min-height: 72px;
		padding: 10px clamp(20px, 4vw, 58px);
		background: rgba(255, 255, 255, 0.96);
		border-bottom: 1px solid #e1e9ee;
		backdrop-filter: blur(10px);
	}

	.mobile-nav-head strong {
		display: none;
	}

	.mobile-nav-close {
		display: grid;
		place-items: center;
		width: clamp(44px, 4vw, 52px);
		height: clamp(44px, 4vw, 52px);
		padding: 0;
		color: #fff;
		background: #173047;
		border: 0;
		border-radius: 50%;
		box-shadow: 0 10px 24px rgba(23, 48, 71, 0.25);
		cursor: pointer;
		transition:
			color 0.2s ease,
			background-color 0.2s ease,
			transform 0.2s ease,
			box-shadow 0.2s ease;
	}

	.mobile-nav-close i {
		font-size: clamp(1.4rem, 2vw, 1.75rem);
		line-height: 1;
	}

	.mobile-nav-close:hover {
		color: #173047;
		background: #dceaf4;
		box-shadow: 0 12px 28px rgba(23, 48, 71, 0.3);
		transform: rotate(90deg);
	}

	.mobile-nav-close:focus-visible {
		outline: 3px solid #67a63e;
		outline-offset: 4px;
	}

	.mega-menu-inner {
		width: min(1440px, calc(100% - 40px));
		margin: 0 auto;
		padding:
			clamp(22px, 3vw, 38px)
			clamp(10px, 2vw, 28px)
			clamp(30px, 5vw, 60px);
	}

	.nav-level-1 {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		align-items: stretch;
		gap: clamp(14px, 2vw, 26px);
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.nav-level-1 > .nav-item {
		position: relative;
		display: flex;
		flex-direction: column;
		min-width: 0;
		padding: clamp(20px, 2.5vw, 30px);
		overflow: hidden;
		background: #f3f6f8;
		border: 1px solid #dde6ec;
		border-radius: 18px;
		box-shadow: 0 12px 30px -26px rgba(23, 48, 71, 0.45);
		transition:
			transform 0.2s ease,
			background-color 0.2s ease,
			border-color 0.2s ease,
			box-shadow 0.2s ease;
	}

	.nav-level-1 > .nav-item::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 5px;
		background: #8eb3dd;
	}

	.nav-level-1 > .nav-item:nth-child(5n + 1)::before {
		background: #67a63e;
	}

	.nav-level-1 > .nav-item:nth-child(5n + 2)::before {
		background: #5f9fca;
	}

	.nav-level-1 > .nav-item:nth-child(5n + 3)::before {
		background: #ed7c15;
	}

	.nav-level-1 > .nav-item:nth-child(5n + 4)::before {
		background: #c86d7f;
	}

	.nav-level-1 > .nav-item:nth-child(5n + 5)::before {
		background: #7866a8;
	}

	.nav-level-1 > .nav-item:hover {
		background: #fff;
		border-color: #c9d9e4;
		box-shadow: 0 18px 36px -25px rgba(23, 48, 71, 0.48);
		transform: translateY(-3px);
	}

	.nav-level-1 > .nav-item > .nav-item__row > .nav-link,
	.nav-level-1 > .nav-item > .nav-link {
		display: block;
		min-height: auto;
		margin: 0 0 14px;
		padding: 0;
		color: #173047;
		font-family: var(--font-head);
		font-size: clamp(1rem, 0.92rem + 0.25vw, 1.18rem);
		font-weight: 800;
		line-height: 1.3;
		white-space: normal;
		text-decoration: none;
	}

	.nav-level-1 > .nav-item.current > .nav-item__row > .nav-link,
	.nav-level-1 > .nav-item > .nav-item__row > .nav-link:hover,
	.nav-level-1 > .nav-item > .nav-link:hover {
		color: var(--green-dark, #4f8c32);
	}

	.nav-level-2,
	.nav-level-3 {
		position: static;
		display: block;
		width: 100%;
		min-width: 0;
		max-height: none;
		margin: 0;
		padding: 0;
		overflow: visible;
		opacity: 1;
		visibility: visible;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		transform: none;
		list-style: none;
	}

	.nav-level-2 .nav-item,
	.nav-level-3 .nav-item {
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
	}

	.nav-level-2 .nav-link,
	.nav-level-3 .nav-link {
		position: relative;
		display: block;
		width: 100%;
		min-height: auto;
		padding: 7px 0 7px 17px;
		color: #5b6c7b;
		font-family: var(--font-sans);
		font-size: clamp(0.84rem, 0.8rem + 0.12vw, 0.94rem);
		font-weight: 500;
		line-height: 1.45;
		white-space: normal;
		text-decoration: none;
	}

	.nav-level-2 .nav-link::before,
	.nav-level-3 .nav-link::before {
		content: "";
		position: absolute;
		top: 14px;
		left: 1px;
		width: 6px;
		height: 6px;
		background: #8eb3dd;
		border-radius: 50%;
		transition: transform 0.2s ease;
	}

	.nav-level-2 .nav-link:hover,
	.nav-level-3 .nav-link:hover,
	.nav-level-2 .current > .nav-item__row > .nav-link {
		color: #173047;
		background: transparent;
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	.nav-level-2 .nav-link:hover::before,
	.nav-level-3 .nav-link:hover::before {
		background: #67a63e;
		transform: scale(1.35);
	}

	.nav-level-3 {
		padding-left: 13px;
	}

	.mobile-nav-foot {
		display: none;
	}

	/* Losse submenuknoppen zijn alleen voor mobiel */
	.nav-item__row > .submenu-toggle:not(.nav-link--submenu) {
		display: none;
	}

	/*
	 * Een hoofditem zonder URL blijft op desktop als titel staan.
	 * De pijl en klikfunctie zijn hier niet nodig, omdat alle
	 * onderliggende menuitems al zichtbaar zijn in het megamenu.
	 */
	.nav-item__row > .nav-link--submenu.submenu-toggle {
		display: block;
		width: 100%;
		min-width: 0;
		min-height: auto;
		padding: 0;
		text-align: left;
		background: transparent;
		border: 0;
		cursor: default;
		pointer-events: none;
	}

	.nav-link--submenu .chev {
		display: none;
	}
}


/* =========================================================
   KLEINERE LAPTOPS
   ========================================================= */

@media (min-width: 960px) and (max-width: 1199.98px) {
	.nav-level-1 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}


/* =========================================================
   MOBIEL MENU
   ========================================================= */

@media (max-width: 959.98px) {
	
		.nav-item.has-children > .nav-item__row {
		cursor: pointer;
		transition: background-color 0.2s ease;
	}

	.nav-item.has-children > .nav-item__row:hover {
		background: #f3f7fa;
	}

	.nav-item.has-children.is-open > .nav-item__row {
		background: #e9f2f7;
	}

	.nav-item.has-children.is-open > .nav-item__row > .nav-link {
		color: var(--green-dark, #4f8c32);
	}
	
	
	.header-main__inner {
		min-height: 74px;
		gap: 1rem;
	}

	.brand {
		width: 240px;
		max-width: 70vw;
	}

	

	.utility-link,
	.utility-separator,
	.search-box,
	.social-link,
	.header-contact {
		
	}

	.menu-toggle {
		width: 44px;
		min-width: 44px;
		height: 44px;
		min-height: 44px;
		padding: 0;
		border-radius: 12px;
	}

	.menu-toggle__text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.primary-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		z-index: 220;
		width: min(390px, 90vw);
		max-height: none;
		height: 100vh;
		height: 100dvh;
		overflow-x: hidden;
		overflow-y: auto;
		opacity: 1;
		visibility: visible;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		background: #fff;
		border: 0;
		box-shadow: -14px 0 30px rgba(0, 0, 0, 0.2);
		transform: translateX(105%);
		transition: transform 0.28s ease;
	}

	.menu-open .primary-nav {
		transform: translateX(0);
	}

	.mobile-nav-head {
		position: sticky;
		top: 0;
		z-index: 20;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 70px;
		padding: 12px 18px;
		background: rgba(255, 255, 255, 0.96);
		border-bottom: 1px solid #e2e8ed;
		backdrop-filter: blur(10px);
	}

	.mobile-nav-head strong {
		display: block;
		color: #173047;
		font-family: var(--font-head);
		font-size: var(--fs-md);
		font-weight: 800;
	}

	.mobile-nav-close {
		display: grid;
		place-items: center;
		width: 42px;
		height: 42px;
		padding: 0;
		color: #173047;
		font-size: 1.5rem;
		background: #fff;
		border: 1px solid #dce4e9;
		border-radius: 50%;
		cursor: pointer;
	}

	.mega-menu-inner {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.mobile-nav-foot {
		display: grid;
		padding: 18px;
		background: #f3f7fa;
		border-top: 1px solid #e2e8ed;
	}

	.nav-level-1 {
		display: block;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.nav-item {
		margin: 0;
		background: #fff;
		border-bottom: 1px solid #e8edf1;
	}

	.nav-item__row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 50px;
		gap: 0;
		min-height: 52px;
	}

	.nav-item:not(.has-children) > .nav-item__row {
		grid-template-columns: 1fr;
	}

	.nav-level-1 > .nav-item > .nav-item__row > .nav-link,
	.nav-level-1 > .nav-item > .nav-link,
	.nav-level-2 .nav-link {
		display: flex;
		align-items: center;
		width: 100%;
		min-height: 52px;
		padding: 10px 18px;
		color: #31485b;
		font-family: var(--font-sans);
		font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
		font-weight: 700;
		line-height: 1.3;
		text-decoration: none;
	}

	.nav-level-1 > .nav-item.current > .nav-item__row > .nav-link,
	.nav-level-1 > .nav-item.current > .nav-link {
		color: var(--green-dark, #4f8c32);
	}

	.nav-item__row > .nav-link {
		transition:
			color 0.16s ease,
			background-color 0.16s ease,
			box-shadow 0.16s ease;
	}

	.nav-level-2 .nav-item.current > .nav-item__row > .nav-link,
	.nav-level-3 .nav-item.current > .nav-item__row > .nav-link {
		color: var(--green-dark, #4f8c32);
		font-weight: 800;
		background: #eef7e8;
		box-shadow: inset 4px 0 0 var(--green, #67b64a);
	}

	.nav-level-2 .nav-link.is-pressed,
	.nav-level-3 .nav-link.is-pressed,
	.nav-item:not(.has-children) > .nav-item__row > .nav-link.is-pressed {
		color: #fff;
		background: var(--green, #67b64a);
		box-shadow: inset 4px 0 0 var(--green-dark, #4f8c32);
	}

	.submenu-toggle {
		display: grid;
		place-items: center;
		width: 50px;
		min-height: 52px;
		padding: 0;
		color: #31485b;
		background: transparent;
		border: 0;
		border-left: 1px solid #e8edf1;
		cursor: pointer;
	}

	/* Hoofditem zonder URL: de volledige mobiele rij is de knop */
	.nav-item__row > .nav-link--submenu.submenu-toggle {
		grid-column: 1 / -1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-width: 0;
		min-height: 52px;
		padding: 10px 18px;
		color: #31485b;
		font-family: var(--font-sans);
		font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
		font-weight: 700;
		line-height: 1.3;
		text-align: left;
		background: transparent;
		border: 0;
		cursor: pointer;
	}

	.submenu-toggle .chev {
		display: block;
		font-size: 1.1rem;
		transition: transform 0.22s ease;
	}

	.nav-item.is-open > .nav-item__row .submenu-toggle .chev {
		transform: rotate(180deg);
	}

	.nav-level-2,
	.nav-level-3 {
		position: static;
		width: 100%;
		min-width: 0;
		max-height: 0;
		margin: 0;
		padding: 0;
		overflow: hidden;
		opacity: 1;
		visibility: visible;
		background: #f3f7fa;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		transform: none;
		list-style: none;
		transition: max-height 0.3s ease;
	}

	.nav-item.is-open > .nav-level-2,
	.nav-item.is-open > .nav-level-3 {
		max-height: 1600px;
	}

	.nav-level-2 .nav-item {
		margin: 0;
		background: transparent;
		border-bottom: 1px solid #e3eaf0;
	}

	.nav-level-2 .nav-item__row {
		min-height: 48px;
	}

	.nav-level-2 .nav-link {
		min-height: 48px;
		padding-left: 30px;
		font-size: 0.94rem;
		font-weight: 500;
	}

	.nav-level-3 {
		background: #eaf1f6;
	}

	.nav-level-3 .nav-link {
		padding-left: 46px;
		font-size: 0.9rem;
	}
}


/* =========================================================
   MINDER BEWEGING
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
	.primary-nav,
	.nav-overlay,
	.menu-toggle__bars span,
	.nav-level-2,
	.nav-level-3,
	.submenu-toggle .chev,
	.mobile-nav-close,
	.nav-level-1 > .nav-item,
	.nav-level-2 .nav-link::before,
	.nav-level-3 .nav-link::before {
		transition: none;
	}

	.mobile-nav-close:hover,
	.nav-level-1 > .nav-item:hover {
		transform: none;
	}
}
/* =========================================================
   NIEUWE DESKTOP MEGAMENU-INDELING
   ========================================================= */

.mega-nav-head {
	display: none;
}

@media (min-width: 960px) {
	/* Bovenbalk */
	.mega-nav-head {
		position: sticky;
		top: 0;
		z-index: 50;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: clamp(66px, 6vw, 78px);
		padding:
			clamp(10px, 1.5vw, 16px)
			clamp(20px, 4vw, 48px);
		background: rgba(255, 255, 255, 0.97);
		border-bottom: 1px solid #e1e9ee;
		backdrop-filter: blur(12px);
	}

	.mega-nav-shortcuts {
		display: flex;
		align-items: center;
		gap: clamp(18px, 3vw, 42px);
	}

	.mega-nav-shortcut {
		display: inline-flex;
		align-items: center;
		gap: 12px;
		color: #173047;
		font-family: var(--font-head);
		font-size: clamp(0.95rem, 0.8rem + 0.35vw, 1.15rem);
		font-weight: 800;
		text-decoration: none;
		transition: color 0.2s ease;
	}

	.mega-nav-shortcut__icon {
		display: grid;
		place-items: center;
		width: clamp(42px, 4vw, 52px);
		height: clamp(42px, 4vw, 52px);
		color: #fff;
		font-size: clamp(1.25rem, 2vw, 1.6rem);
		background: #8eb2dd;
		border-radius: 12px;
		transition:
			background-color 0.2s ease,
			transform 0.2s ease;
	}

	.mega-nav-shortcut:hover {
		color: #3b9638;
	}

	.mega-nav-shortcut:hover .mega-nav-shortcut__icon {
		background: #67b546;
		transform: translateY(-2px);
	}

	/* De oude desktop-sluitbalk verbergen */
	.primary-nav > .mobile-nav-head {
		display: none;
	}

	.mega-nav-head .mobile-nav-close {
		position: static;
		flex: 0 0 auto;
	}

	/* Grid met menukaarten en logo */
	.mega-menu-inner {
		width: min(1600px, calc(100% - 40px));
		margin: 0 auto;
		padding:
			clamp(28px, 4vw, 48px)
			0
			clamp(38px, 5vw, 64px);
	}

	.mega-menu-grid {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: clamp(18px, 2vw, 26px);
		align-items: stretch;
	}

	.mega-menu-grid > .nav-level-1 {
		display: contents;
	}

	.nav-level-1 > .nav-item {
		min-height: clamp(220px, 20vw, 290px);
	}

	.nav-item--home {
		order: -100;
	}

	.nav-item--contact {
		order: 90;
	}

	.mega-menu-logo-card {
		order: 100;
		display: grid;
		place-items: center;
		min-height: clamp(170px, 15vw, 220px);
		padding: clamp(20px, 3vw, 34px);
		overflow: hidden;
		background: #dff2fa;
		border: 1px solid #cce4ef;
		border-top: 5px solid #8eb2dd;
		border-radius: 18px;
		text-decoration: none;
		box-shadow: 0 12px 30px -26px rgba(23, 48, 71, 0.45);
		transition:
			background-color 0.2s ease,
			transform 0.2s ease,
			box-shadow 0.2s ease;
	}

	.mega-menu-logo-card img {
		display: block;
		width: min(100%, 230px);
		height: auto;
	}

	.mega-menu-logo-card:hover {
		background: #fff;
		transform: translateY(-3px);
		box-shadow: 0 18px 36px -25px rgba(23, 48, 71, 0.48);
	}
}


/* Drie kolommen op kleinere laptops */
@media (min-width: 960px) and (max-width: 1199.98px) {
	.mega-menu-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Home en Contact niet als desktopkaart tonen */
@media (min-width: 960px) {
	.nav-level-1 > .nav-item--home,
	.nav-level-1 > .nav-item--contact {
		display: none;
	}
}


/* Mobiele menu blijft zoals het nu is */
@media (max-width: 959.98px) {
	.mega-nav-head,
	.mega-menu-logo-card {
		display: none;
	}

	.mega-menu-grid {
		display: block;
	}

	.mega-menu-grid > .nav-level-1 {
		display: flex;
		flex-direction: column;
	}

	.nav-item--home {
		order: -100;
	}

	.nav-item--contact {
		order: 100;
	}
}
/* =========================================================
   SOCIALS EN WINKELWAGEN
   ========================================================= */

.header-mobile-tools {
	display: contents;
}

/* Oude absolute positionering uitschakelen */
#cart-mobile {
	position: static;
	inset: auto;
	z-index: auto;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
}

#cart-mobile a {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: #173047;
	line-height: 1;
	text-decoration: none;
	background: #fff;
	border: 1px solid #d7e2ea;
	border-radius: 12px;
	box-shadow: 0 5px 12px rgba(17, 49, 73, 0.12);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

#cart-mobile img {
	display: block;
	width: 24px;
	height: 24px;
	filter: none;
}

#cart-mobile .number {
	position: absolute;
	top: -7px;
	right: -7px;
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	background: #f27c0b;
	border: 2px solid #fff;
	border-radius: 999px;
}

#cart-mobile a:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(17, 49, 73, 0.2);
}


/* =========================================================
   MOBIEL: RECHTS OVER DE BANNER
   ========================================================= */

@media (max-width: 959.98px) {

	.site-header,
	.header-main,
	.header-main__inner,
	.header-actions {
		overflow: visible;
	}

	.header-main__inner {
		position: relative;
	}

	/*
	 * De groep wordt rechts onder de header geplaatst.
	 * Daardoor verschijnt deze rechts over de hero/banner.
	 */
	.header-mobile-tools {
		position: absolute;
	top: calc(100% + clamp(14px, 5vw, 24px));
        right: clamp(1px, 6vw, -1px);
		z-index: 80;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	/* Overschrijft eventueel eerder display:none */
	.header-mobile-tools .social-link {
		display: grid;
		flex: 0 0 42px;
		width: 42px;
		height: 42px;
	}

	.header-mobile-tools #cart-mobile {
		display: block;
		flex: 0 0 42px;
		width: 42px;
		height: 42px;
	}

	/* Verberg de knoppen wanneer het mobiele menu geopend is */
	body.menu-open .header-mobile-tools {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.header-mobile-tools {
		transition:
			opacity 0.2s ease,
			visibility 0.2s ease;
	}
}


/* Op zeer smalle schermen iets compacter */
@media (max-width: 479.98px) {

	.header-mobile-tools {
		right: 2px;
		gap: 6px;
	}

	.header-mobile-tools .social-link,
	.header-mobile-tools #cart-mobile,
	.header-mobile-tools #cart-mobile a {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}

	.header-mobile-tools .social-link {
		font-size: 1.25rem;
	}

	.header-mobile-tools #cart-mobile img {
		width: 22px;
		height: 22px;
	}
	
}

@media (max-width: 959.98px) {
	.header-contact {
		display: none;
	}
}
/* =========================================================
   GESLOTEN MENU MAG GEEN KLIKKEN OPVANGEN
   ========================================================= */

body:not(.menu-open) #primary-navigation {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Ook alle verborgen links volledig uitschakelen */

body:not(.menu-open) #primary-navigation * {
	pointer-events: none !important;
}

/* Overlay mag gesloten ook niets opvangen */

body:not(.menu-open) .nav-overlay {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Geopend megamenu */

body.menu-open #primary-navigation {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

body.menu-open .nav-overlay {
	visibility: visible !important;
	pointer-events: auto !important;
}
