/* Keep the live logo, navigation drawers and WooCommerce header widgets. */
body.gg-midnight #masthead {
	border-block-end: 1px solid var(--ggm-border);
	background: var(--ggm-bg);
}

body.gg-midnight #masthead .elementor-element-380fc11 {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	background: var(--ggm-bg) !important;
}

body.gg-midnight #masthead .elementor-element-380fc11 > .e-con-inner {
	--container-max-width: var(--ggm-content-width, 1680px);
	width: calc(100% - 2 * var(--ggm-content-gutter, 30px));
	max-width: var(--ggm-content-width, 1680px);
	min-height: 80px;
	margin-inline: auto;
	align-items: center;
	justify-content: space-between;
	gap: clamp(12px, 3vw, 42px);
}

body.gg-midnight #masthead :is(.elementor-shape-bottom, .elementor-element-ad4be38, .elementor-element-833af07) {
	display: none !important;
}

@media (min-width: 1024px) {
	body.gg-midnight #masthead .elementor-element-6f54bf4 {
		display: none;
	}
}

body.gg-midnight #masthead .elementor-element-66de67c {
	--width: auto;
	padding: 0;
}

body.gg-midnight #masthead .elementor-element-6c9ca0b {
	--container-widget-width: auto;
	width: auto;
}

body.gg-midnight #masthead .hfe-site-logo .hfe-site-logo-container img.hfe-site-logo-img {
	width: auto !important;
	max-width: 200px;
	height: 49px;
	object-fit: contain;
}

body.gg-midnight #masthead .elementor-element-e400244 {
	--width: auto;
	flex: 1 1 0;
	min-width: 0;
	max-width: 690px;
	padding: 0;
}

body.gg-midnight #masthead .elementor-widget-fibosearch,
body.gg-midnight #masthead .dgwt-wcas-search-wrapp {
	width: 100%;
	max-width: none;
}

body.gg-midnight #masthead .elementor-element-8c34ef6 {
	--width: auto;
	--gap: 14px;
	flex: 0 0 auto;
	padding: 0;
}

body.gg-midnight :is(#masthead, .gg-home__search) .dgwt-wcas-search-wrapp input[type="search"] {
	min-height: 48px;
	height: 48px;
	font-size: 16px;
	border-radius: 8px;
	background: #f8fafc;
	color: #0c1d31;
}

body.gg-midnight :is(#masthead, .gg-home__search) input.dgwt-wcas-search-input::placeholder {
	color: #42546a !important;
	opacity: 1;
}

body.gg-midnight :is(#masthead, .gg-home__search) .dgwt-wcas-sf-wrapp {
	border-radius: 8px;
	background: transparent;
}

body.gg-midnight :is(#masthead, .gg-home__search) .dgwt-wcas-has-submit input[type="search"] {
	padding-inline-start: 39px !important;
}

body.gg-midnight :is(#masthead, .gg-home__search) .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
	inset-inline: 3px auto;
	inset-block: 3px auto;
	width: 32px;
	min-width: 32px;
	height: 42px;
	min-height: 0;
	padding: 0;
	border-radius: 5px;
	background: transparent;
}

body.gg-midnight :is(#masthead, .gg-home__search) .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover {
	background: #dceaf5;
}

body.gg-midnight :is(#masthead, .gg-home__search) .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::before {
	display: none;
}

body.gg-midnight :is(#masthead, .gg-home__search) .dgwt-wcas-search-submit svg path {
	fill: #0c1d31;
}

body.gg-midnight #masthead .site-header-cart.menu > a,
body.gg-midnight #masthead .site-header-account > a {
	color: var(--ggm-text);
}

body.gg-midnight #masthead .elementor-element-fa0bfe6 {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	border-block-start: 1px solid var(--ggm-border);
	background: var(--ggm-bg) !important;
}

body.gg-midnight #masthead .elementor-element-fa0bfe6 > .e-con-inner {
	--container-max-width: var(--ggm-content-width, 1680px);
	width: calc(100% - 2 * var(--ggm-content-gutter, 30px));
	max-width: var(--ggm-content-width, 1680px);
	margin-inline: auto;
}

body.gg-midnight #masthead .elementor-element-fa0bfe6 .main-navigation ul.menu > li {
	padding-block: 0;
}

body.gg-midnight #masthead .elementor-element-fa0bfe6 .main-navigation ul.menu > li > a {
	display: flex;
	align-items: center;
	min-height: 50px;
	color: var(--ggm-text) !important;
	font-size: 16px;
	font-weight: 650;
	letter-spacing: 0;
}

body.gg-midnight #masthead .elementor-element-fa0bfe6 .main-navigation ul.menu > li > a:is(:hover, :focus-visible),
body.gg-midnight #masthead .elementor-element-fa0bfe6 .main-navigation .current-menu-item > a {
	color: var(--ggm-accent) !important;
}

body.gg-midnight #masthead .gg-storefront-platforms ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0 clamp(8px, 1.5vw, 23px);
	margin: 0;
	padding: 0;
	list-style: none;
}

body.gg-midnight #masthead .gg-storefront-platforms a {
	display: flex;
	align-items: center;
	min-height: 50px;
	padding: 6px 14px;
	color: var(--ggm-text);
	font-size: clamp(15px, 1.3vw, 18px);
	font-weight: 650;
	line-height: 1.2;
	text-transform: none;
}

body.gg-midnight #masthead .gg-storefront-platforms a:is(:hover, :focus-visible) {
	color: var(--ggm-accent);
}

@media (max-width: 767px) {
	body.gg-midnight #masthead .elementor-element-380fc11 > .e-con-inner {
		position: relative;
		width: 100%;
		min-height: 64px;
		gap: 0;
	}

	body.gg-midnight #masthead .elementor-element-66de67c {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}

	body.gg-midnight #masthead .hfe-site-logo .hfe-site-logo-container img.hfe-site-logo-img {
		height: 36px;
	}

	body.gg-midnight #masthead .elementor-element-6f54bf4 {
		position: absolute;
		inset-inline-start: var(--ggm-content-gutter, 15px);
	}

	body.gg-midnight #masthead .menu-mobile-nav-button {
		display: grid;
		width: 44px;
		height: 44px;
		place-items: center start;
	}

	body.gg-midnight #masthead .elementor-element-8c34ef6 {
		margin-inline: auto var(--ggm-content-gutter, 15px);
	}
}
