.ehb-global-header {
	position: relative;
	z-index: 999;
	width: 100%;
}

.ehb-global-header > [data-elementor-type],
.ehb-global-header .elementor-widget-ehb-header-builder {
	width: 100%;
	max-width: 100%;
}

.ehb-global-header .elementor-widget-ehb-header-builder > .elementor-widget-container {
	box-sizing: border-box;
	max-width: 100%;
}

.ehb-global-header--sticky {
	position: fixed !important;
	top: var(--ehb-global-sticky-offset, 0);
	left: 0;
	right: 0;
	width: 100%;
	z-index: var(--ehb-global-sticky-z-index, 1000);
}

.ehb-global-header--sticky > [data-elementor-type],
.ehb-global-header--sticky .elementor-widget-ehb-header-builder,
.ehb-global-header--sticky .elementor-widget-ehb-header-builder > .elementor-widget-container,
.ehb-global-header--sticky .elementor-widget-ehb-header-builder .elementor-widget-container > .ehb-header-builder {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.ehb-global-header--sticky .ehb-header-builder.has-sticky {
	position: relative !important;
	top: auto;
	left: auto;
	right: auto;
	z-index: auto;
}

.ehb-global-header-placeholder {
	display: block;
	width: 100%;
	height: var(--ehb-global-header-height, 0px);
}

.ehb-header-builder {
	position: relative;
	width: 100%;
}

.ehb-header-builder.has-sticky {
	position: fixed !important;
	top: var(--ehb-sticky-offset, 0);
	left: 0;
	right: 0;
	width: 100%;
	z-index: var(--ehb-sticky-z-index, 1000);
}

html.ehb-lock-scroll,
body.ehb-lock-scroll {
	overflow: hidden;
}

.ehb-header,
.ehb-header__inner {
	width: 100%;
}

.ehb-header {
	margin: 0 auto;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.ehb-header__inner {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0 auto;
	max-width: 100%;
}

@media (max-width: 767px) {
	.ehb-global-header--sticky {
		top: var(--ehb-global-sticky-offset-mobile, var(--ehb-global-sticky-offset, 0)) !important;
	}
}

.ehb-logo {
	display: flex;
	align-items: center;
	min-width: 0;
}

.ehb-logo__link,
.ehb-logo__text {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.ehb-logo img {
	display: block;
	height: auto;
	max-width: 100%;
	object-fit: contain;
}

.ehb-logo__text {
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
}

.ehb-nav--desktop {
	margin-left: auto;
}

.ehb-menu,
.ehb-submenu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ehb-menu {
	display: flex;
	align-items: center;
}

.ehb-menu__item {
	position: relative;
}

.ehb-menu__row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ehb-menu__link,
.ehb-submenu-toggle,
.ehb-offcanvas-close,
.ehb-mobile-toggle {
	transition: all 0.25s ease;
}

.ehb-menu__link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}

.ehb-submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 18px;
	cursor: pointer;
}

.ehb-nav--desktop .ehb-menu {
	background: rgba(12, 9, 18, 0.82);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.ehb-nav--desktop .ehb-menu__link {
	color: #ffffff;
}

.ehb-nav--desktop .ehb-submenu-toggle {
	color: inherit;
}

.ehb-nav--desktop .ehb-submenu {
	position: absolute;
	top: calc(100% + 14px);
	left: 0;
	display: block;
	min-width: 220px;
	padding: 14px 0;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.25s ease;
}

.ehb-nav--desktop .ehb-submenu .ehb-menu__row {
	justify-content: space-between;
	padding: 0 18px;
}

.ehb-nav--desktop .ehb-submenu .ehb-menu__link {
	width: 100%;
	padding: 10px 0;
	color: #111111;
}

.ehb-nav--desktop .ehb-menu__item:hover > .ehb-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ehb-mobile-toggle {
	display: none;
	position: relative;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.ehb-mobile-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.ehb-offcanvas-overlay {
	position: fixed;
	inset: 0;
	z-index: 998;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: all 0.25s ease;
}

.ehb-offcanvas {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	width: min(340px, 100vw);
	height: 100dvh;
	background: #ffffff;
	box-shadow: 18px 0 40px rgba(0, 0, 0, 0.12);
	transform: translateX(-100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
}

.ehb-offcanvas__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.ehb-offcanvas-close {
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

.ehb-nav--offcanvas .ehb-menu {
	display: block;
}

.ehb-nav--offcanvas .ehb-menu__item + .ehb-menu__item {
	margin-top: 6px;
}

.ehb-nav--offcanvas .ehb-menu__row {
	justify-content: space-between;
	min-height: 44px;
}

.ehb-nav--offcanvas .ehb-menu__link {
	color: #111111;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.ehb-nav--offcanvas .ehb-submenu {
	display: none;
	padding: 6px 0 8px 14px;
}

.ehb-nav--offcanvas .ehb-menu__item.is-open > .ehb-submenu {
	display: block;
}

.ehb-nav--offcanvas .ehb-menu__item.is-open > .ehb-menu__row .ehb-submenu-toggle {
	transform: rotate(90deg);
}

.ehb-empty-notice {
	padding: 16px 18px;
	border: 1px dashed #d0d4da;
	border-radius: 12px;
	font-size: 14px;
	color: #5d6672;
}

.ehb-header-builder.is-offcanvas-open .ehb-offcanvas-overlay {
	opacity: 1;
	visibility: visible;
}

.ehb-header-builder.is-offcanvas-open .ehb-offcanvas-overlay[hidden] {
	display: block;
}

.ehb-header-builder.is-offcanvas-open .ehb-offcanvas {
	transform: translateX(0);
}

.ehb-header-builder.is-mobile-mode .ehb-nav--desktop {
	display: none;
}

.ehb-header-builder.is-mobile-mode .ehb-mobile-toggle {
	display: inline-flex;
}

.ehb-header-builder.is-mobile-mode .ehb-header__inner {
	position: relative;
	justify-content: center;
}

.ehb-header-builder.is-mobile-mode .ehb-mobile-toggle {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.ehb-header-builder.is-mobile-mode .ehb-logo {
	margin: 0 auto;
}

.ehb-header-builder:not(.is-mobile-mode) .ehb-offcanvas,
.ehb-header-builder:not(.is-mobile-mode) .ehb-offcanvas-overlay {
	display: none;
}

@media (max-width: 767px) {
	.ehb-header-builder.is-mobile-mode .ehb-header__inner {
		padding-left: 18px !important;
		padding-right: 18px !important;
	}

	.ehb-nav--offcanvas .ehb-menu__link {
		font-size: 17px;
	}
}
