/**
 * SGE — Desktop header layout (logo left, nav center, icons right).
 * Mobile/tablet: sge-mobile-header.css
 */

@media (min-width: 1025px) {
	.elementor-location-header.elementor-99,
	header.elementor-99,
	[data-elementor-type="header"].elementor-99 {
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Elementor post-99: accent_5 outer shell + 10px vertical padding on the inner row */
	.elementor-99 .elementor-element.elementor-element-6c9c502,
	.elementor-99 .elementor-element.elementor-element-6c9c502:not(.elementor-motion-effects-element-type-background),
	.elementor-99 .elementor-element.elementor-element-6c9c502 > .elementor-motion-effects-container > .elementor-motion-effects-layer,
	.elementor-99 .elementor-element.elementor-element-6c9c502.vamtam-sticky-header--transparent-header,
	.elementor-99 .elementor-element.elementor-element-6c9c502.vamtam-sticky-header--spacer {
		--padding-top: 0px !important;
		--padding-bottom: 0px !important;
		padding-block: 0 !important;
		margin: 0 !important;
		background-color: var(--sge-chrome-bg, #1a1a1a) !important;
		background-image: none !important;
	}

	.elementor-99 .elementor-element.elementor-element-50474d8 {
		--padding-top: 0px !important;
		--padding-bottom: 0px !important;
		--padding-left: 0px !important;
		--padding-right: 0px !important;
		--min-height: 0px !important;
		position: relative;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		width: 100% !important;
		height: 4rem;
		min-height: 4rem !important;
		padding: 0 clamp(1.25rem, 4vw, 4.375rem) !important;
		background: transparent !important;
	}

	.elementor-99 .elementor-element.elementor-element-6c9c502 {
		padding-inline: 0 !important;
	}

	.elementor-99 .elementor-element.elementor-element-21bbe1b,
	.elementor-99 .elementor-element.elementor-element-f5c2738,
	.elementor-99 .elementor-element.elementor-element-c1d5ea2 {
		margin: 0 !important;
		padding: 0 !important;
	}

	.elementor-99 .elementor-element.elementor-element-sgeheadnav .elementor-widget-container,
	.elementor-99 .elementor-element.elementor-element-23a7fbf .elementor-widget-container {
		margin: 0 !important;
		padding: 0 !important;
	}

	body:not(.elementor-editor-active) .elementor-99 .elementor-element.elementor-element-6c9c502.vamtam-sticky-header:not(.vamtam-sticky-header--spacer),
	body:not(.elementor-editor-active) .elementor-99 .elementor-element.elementor-element-6c9c502.vamtam-sticky-header--spacer {
		height: 4rem !important;
		min-height: 4rem !important;
		max-height: 4rem !important;
		overflow: hidden !important;
	}

	[data-elementor-type="header"] {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* Logo — left (match inner row side padding used by search icons) */
	.elementor-99 .elementor-element.elementor-element-f5c2738 {
		position: absolute;
		left: clamp(1.25rem, 4vw, 4.375rem);
		top: 50%;
		z-index: 3;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		width: auto !important;
		max-width: min(18rem, 30vw) !important;
		flex: 0 0 auto !important;
		transform: translateY(-50%);
		pointer-events: none;
	}

	.elementor-99 .elementor-element.elementor-element-f5c2738 a,
	.elementor-99 .elementor-element.elementor-element-f5c2738 .elementor-widget-container {
		pointer-events: auto;
	}

	.elementor-99 .elementor-element.elementor-element-f5c2738 .elementor-widget-container,
	.elementor-99 .elementor-element.elementor-element-f5c2738 a {
		display: flex !important;
		justify-content: flex-start !important;
		width: auto !important;
		margin: 0 !important;
	}

	.elementor-99 .elementor-element.elementor-element-23a7fbf img,
	.elementor-99 .elementor-element.elementor-element-f5c2738 .sge-brand-logo {
		margin: 0 !important;
	}

	/* Nav — viewport center (above icon chrome so Client / Gallery stay clickable) */
	.elementor-99 .elementor-element.elementor-element-21bbe1b {
		position: absolute;
		left: 50%;
		top: 50%;
		z-index: 5;
		display: flex !important;
		justify-content: center !important;
		width: auto !important;
		max-width: min(64vw, 52rem);
		transform: translate(-50%, -50%);
		pointer-events: none;
	}

	.elementor-99 .elementor-element.elementor-element-21bbe1b > *,
	.elementor-99 .elementor-element.elementor-element-21bbe1b .elementor-nav-menu,
	.elementor-99 .elementor-element.elementor-element-21bbe1b .elementor-nav-menu a,
	.elementor-99 .elementor-element.elementor-element-21bbe1b .elementor-item {
		pointer-events: auto;
	}

	.elementor-99 .elementor-element.elementor-element-sgeheadnav {
		flex: 0 1 auto !important;
		width: auto !important;
		pointer-events: auto;
		position: relative;
		z-index: 1;
	}

	.elementor-99 .elementor-element.elementor-element-sgeheadnav .elementor-menu-toggle {
		display: none !important;
	}

	.elementor-99 .elementor-element.elementor-element-sgeheadnav .elementor-nav-menu--main,
	.elementor-99 .elementor-element.elementor-element-sgeheadnav .elementor-nav-menu {
		justify-content: center !important;
	}

	/* Right chrome — search / account / cart (don't steal clicks from nav) */
	.elementor-99 .elementor-element.elementor-element-c1d5ea2 {
		position: relative;
		z-index: 3;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: max-content !important;
		margin-left: auto;
		pointer-events: none;
	}

	.elementor-99 .elementor-element.elementor-element-c1d5ea2 > *,
	.elementor-99 .elementor-element.elementor-element-c1d5ea2 a,
	.elementor-99 .elementor-element.elementor-element-c1d5ea2 button,
	.elementor-99 .elementor-element.elementor-element-c1d5ea2 .elementor-widget-container,
	.elementor-99 .elementor-element.elementor-element-c1d5ea2 .dgwt-wcas-search-wrapp,
	.elementor-99 .elementor-element.elementor-element-c1d5ea2 .sge-search {
		pointer-events: auto;
	}
}

/* SGE Products dropdown */
.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children {
	position: relative;
}

/* White caret next to Products */
.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children > .elementor-item .sub-arrow,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children > a .sub-arrow {
	color: #ffffff !important;
}

.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children > .elementor-item .sub-arrow i,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children > a .sub-arrow i,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children > .elementor-item .sub-arrow svg,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children > a .sub-arrow svg,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children > .elementor-item .sub-arrow svg path,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children > a .sub-arrow svg path {
	color: #ffffff !important;
	fill: #ffffff !important;
}

.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children > .sub-menu {
	position: absolute;
	left: 50%;
	top: calc(100% + 0.9rem) !important;
	z-index: 40;
	display: block;
	min-width: 15.5rem;
	margin: 0;
	padding: 0.55rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(17, 17, 17, 0.08);
	box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 0.35rem);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children:hover > .sub-menu,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.elementor-99 .elementor-element.elementor-element-sgeheadnav .sub-menu .menu-item {
	display: block;
	width: 100%;
	background: transparent !important;
}

.elementor-99 .elementor-element.elementor-element-sgeheadnav .sub-menu a.elementor-sub-item,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .sub-menu a {
	display: block;
	width: 100%;
	padding: 0.55rem 1rem;
	white-space: nowrap;
	color: #111 !important;
	background: transparent !important;
	text-align: left;
	font-size: 0.92rem;
	font-weight: 400;
	line-height: 1.35;
}

/* Active = bold text only (no dark strip) */
.elementor-99 .elementor-element.elementor-element-sgeheadnav .sub-menu .current-menu-item > a,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .sub-menu .current_page_item > a,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .sub-menu a.elementor-item-active,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .sub-menu a.highlighted {
	background: transparent !important;
	background-color: transparent !important;
	color: #111 !important;
	font-weight: 700 !important;
}

.elementor-99 .elementor-element.elementor-element-sgeheadnav .sub-menu a:hover,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .sub-menu a:focus {
	background: transparent !important;
	font-weight: 700 !important;
	color: #111 !important;
}

.elementor-99 .elementor-element.elementor-element-21bbe1b {
	overflow: visible !important;
}

.elementor-99 .elementor-element.elementor-element-sgeheadnav,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .elementor-nav-menu--main,
.elementor-99 .elementor-element.elementor-element-sgeheadnav .elementor-nav-menu {
	overflow: visible !important;
}