header {
	background-color: #3A474F;
	color: #fff;
	height: 120px;
}

header nav {
	background-color: #fff;
	border-radius: 16px 16px 0 0;
}

header .navbar {
	padding: 0;
}

header .navbar a {
	font-weight: 400;
	font-size: 16px;
	line-height: 130%;
	padding: 0;
	color: #395D6E;
	display: flex;
}

header .navbar .primary-menu-item {
	padding: 36px 0;
}

body.not-at-top header .navbar .primary-menu-item {
	padding: 24px 0;
}

.dropdown-megamenu::after, .my-account-menu > a::after {
	content: url('../img/menu-chevron.svg');
	border: none;
	vertical-align: -2px;
	margin-left: 2px;
}

body.not-at-top .navbar {
	padding: 0;
	backdrop-filter: blur(25px);
	background-color: rgba(255, 255, 255, 0.8);
}

body.not-at-top .navbar.active {
	background-color: #fff;
}

body:not(.not-at-top) .fixed-top {
	position: static;
	top: -100px;
	transition: all 0.5s;
}

body.not-at-top .menu-inner .mega-menu-wrapper {
	top: 68px;
}

.menu-inner.active .mega-menu-wrapper {
	height: fit-content;
	padding: 30px 0 50px 0;
	border-bottom: 1px solid #E1E3E4;
	border-radius: 0 0 16px 16px;
}

.mega-menu-wrapper {
	height: 0;
	position: absolute;
	background-color: #fff;
	width: 100vw;
	top: 120px;
	left: 0;
	z-index: 10;
	padding: 0;
	transition: all 0.2s;
	overflow: hidden;
}

.cart-wrapper {
	position: relative;
}

.cart-wrapper span {
	position: absolute;
	top: -9px;
	right: -5px;
	width: 24px;
	height: 24px;
	color: #fff;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	line-height: 136.3%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 3px;
	font-weight: 900;
}

.cart-wrapper span:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #33444c;
	border: 2px solid #fff;
	border-radius: 50%;
	z-index: -1;
}

.cart-wrapper:not(.empty-cart) span:before {
	background: #de0202;
}


.mega-menu-inner .item-col > * {
	display: block;
	transition: all 0.2s;
}

.mega-menu-inner .item-col {
	flex: 0 0 calc(20% - 20px);
}

.mega-menu-inner {
	gap: 25px;
	flex-wrap: wrap;
}

.mega-menu-inner .parent-item {
	font-weight: bold;
	margin-bottom: 10px;
}

.mega-menu-inner .child-item {
	margin-bottom: 5px;
	font-size: 14px;
}

.not-at-top .fixed-top {
	top: 0;
	transition: all 0.5s;
}

.admin-bar:not(.not-at-top) .menu-inner .mega-menu-wrapper {
	top: 152px;
}

.admin-bar.not-at-top .fixed-top {
	top: 32px;
}

.admin-bar:not(.not-at-top) .fixed-top {

}

.sub-header-wrapper {
	padding: 11px 0;
	font-size: 12px;
}

.sub-header-wrapper .left-wrapper {
	gap: 32px;
}

.sub-header-wrapper .left-wrapper a {
	font-weight: 500;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.5);
}

.search-wrapper {
	margin-left: 32px;
}

.search-wrapper a rect, .cart-wrapper a rect {
	fill: transparent;
	transition: all 0.2s;
}

.menu-inner {
	gap: 32px;
}

.my-account-menu {
	position: relative;
}

.my-account-menu .sub-menu {
	max-height: 0;
	position: absolute;
	transition: max-height 0.2s;
	overflow: hidden;
	z-index: 10;
	top: calc(100% - 20px);
	left: -25px;
}

.sub-menu-inner {
	padding: 10px 25px;
	border-radius: 16px;
	border: 1px solid #E1E3E4;
	background-color: #fff;
}

.sub-menu-inner a {
	display: block;
	white-space: nowrap;
	margin-bottom: 10px;
}

header .right-wrapper {
	display: flex
}

.navbar-toggler {
	padding: 0;
	border: none;
	z-index: 9999;
	margin-left: 8px;
}

.scroll-lock {
	overflow: hidden;
	height: 100vh;
}

.navbar-collapse.collapsing {
	transition: none !important;
}

.navbar-toggler:focus {
	box-shadow: none;
}

.cart-wrapper {
	margin-left: 16px;
}

.close-icon {
	display: none;
}

.navbar-toggler[aria-expanded="true"] .close-icon {
	display: block;
}

.navbar-toggler[aria-expanded="true"] .open-icon {
	display: none;
}

.header-search:not(.active) {
	display: none;
}

body .header-search.active {
	display: block;
}

.header-search .aws-search-field {
	border-radius: 50px 0 0 50px !important;
}

.header-search .aws-form-btn {
	border-radius: 0 50px 50px 0 !important;
}

body header .aws-container .aws-search-form {
	position: relative;
	right: 0;
	top: unset;
	width: unset;
}

@media (hover: hover) and (pointer: fine) {
	.search-wrapper a:hover rect, .cart-wrapper a:hover rect {
		fill: #E1E3E4;
		transition: all 0.2s;
	}
	
	.mega-menu-inner .item-col > *:hover {
		opacity: 0.8;
	}
	
	.my-account-menu:hover .sub-menu {
		max-height: 500px;
		transition: max-height 0.2s;
	}
}

@media (max-width: 1199px) {
	
}

@media (max-width: 992px) {
	/* .sub-header-wrapper .left-wrapper {
		order: 2;
	} */
	
	/* .sub-header-wrapper .right-wrapper {
		order: 1;
	} */
	
	.navbar-toggler {
		margin-right: unset;
	}
	
	.navbar-toggler[aria-expanded="false"] {
		transform: unset;
	}
}

@media (max-width: 767px) {
	/* header .left-wrapper, header .right-wrapper {
		white-space: nowrap;
	} */
	
	.sub-header-wrapper {
		/* overflow-x: auto;
		overflow-y: auto;
		scrollbar-width: none;
		-ms-overflow-style: none; */
		padding: 16px 0;
	}
	
	header .left-wrapper {
		overflow-x: auto;
		overflow-y: auto;
		scrollbar-width: none;
		-ms-overflow-style: none;
		white-space: nowrap;
	}
	
	.sub-header-wrapper::-webkit-scrollbar {
		display: none;
	}
	
	header .right-wrapper {
		margin-left: 0;
		padding-right: 15px;
		display: flex;
		align-items: flex-end;
		justify-content: center;
	}
	
	header .right-wrapper .location-wrapper {
		margin-right: 0;
		margin-top: 15px;
	}
	
	.navbar-brand img {
		max-width: 115px;
		height: auto;
	}
	
	.navbar-collapse.show {
		width: 100vw;
		height: 100vh;
		position: fixed;
		top: 0;
		left: 0;
		background-color: #fff;
		z-index: 999;
		overflow-y: auto;
		padding: 50px 15px;
	}
	
	body.not-at-top .menu-inner .mega-menu-wrapper {
		top: unset;
	}
	
	header .navbar, body.not-at-top .navbar {
		padding: 8px 0;
	}
	
	header {
		height: 132px;
	}
	
	.cart-wrapper svg {
		width: 32px;
		height: 32px;
	}
	
	.cart-wrapper {
		margin-left: auto;
	}
	
	.navbar-toggler[aria-expanded="true"] {
		position: absolute;
		right: 20px;
		top: 20px;
		left: unset;
	}
	
	.menu-inner {
		flex-direction: column;
	}
	
	header .navbar .primary-menu-item {
		padding: 8px 0;
	}
	
	.menu-inner {
		overflow-y: auto;
		gap: unset;
		padding: 0 0 100px 0;
	}
	
	.mega-menu-wrapper {
		height: fit-content;
		position: relative;
		top: unset;
		left: unset;
		width: 100%;
	}
	
	.mega-menu-inner .item-col {
		flex: 0 0 100%;
	}
	
	.search-wrapper {
		display: none !important;
	}
}











