.eztech-header {
	--ez-header-bg: #0a0b0d;
	position: relative;
	z-index: 1000;
	width: 100%;
	background: var(--ez-header-bg);
	color: #fff;
}
.eztech-header[data-sticky="yes"] {
	position: sticky;
	top: 0;
}
.admin-bar .eztech-header[data-sticky="yes"] {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .eztech-header[data-sticky="yes"] {
		top: 46px;
	}
}
.elementor-editor-active .eztech-header[data-sticky="yes"] {
	position: relative;
	top: 0;
}
.eztech-header.is-stuck .eztech-header__main {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Top bar */
.eztech-header__top {
	min-height: 41px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.875rem;
}
.eztech-header__top .eztech-container {
	display: flex;
	justify-content: flex-end;
}
.eztech-header__toplist {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 40px;
}
.eztech-header__toplink {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #ccc;
}
.eztech-header__toplink:hover {
	color: var(--ez-primary);
}
.eztech-header__topicon {
	width: 18px;
	height: 18px;
}
.eztech-header__search {
	position: relative;
	display: flex;
	align-items: center;
}
.eztech-header__search-toggle {
	display: inline-flex;
	padding: 4px;
	background: none;
	border: 0;
	color: #ccc;
	cursor: pointer;
}
.eztech-header__search-toggle:hover {
	color: var(--ez-primary);
}
.eztech-header__search-form {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 5;
	width: 260px;
	padding: 8px;
	background: #14181a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
}
.eztech-header__search-form[hidden] {
	display: none;
}
.eztech-header__search-form input {
	width: 100%;
	padding: 6px 10px;
	background: #0a0b0d;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	color: #fff;
	font: inherit;
}

/* Main row */
.eztech-header__main {
	min-height: 76px;
	background: var(--ez-header-bg);
}
.eztech-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}
.eztech-header__logo {
	display: inline-flex;
	flex: 0 0 auto;
}
.eztech-header__logo img {
	width: auto;
	max-height: 44px;
}
.eztech-header__nav {
	flex: 1 1 auto;
}
.eztech-menu--desktop {
	display: flex;
	align-items: center;
	gap: 4px;
}
.eztech-menu__item {
	position: relative;
}
.eztech-menu__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: none;
	border: 0;
	color: #fff;
	font: inherit;
	font-size: 1rem;
	cursor: pointer;
}
.eztech-menu__link:hover,
.eztech-menu__item.is-current > .eztech-menu__link {
	color: var(--ez-primary);
}
.eztech-menu__caret {
	width: 7px;
	height: 7px;
	margin-top: -3px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}
.eztech-menu__toggle[aria-expanded="true"] .eztech-menu__caret {
	margin-top: 3px;
	transform: rotate(-135deg);
}
.eztech-submenu {
	display: none;
}
.eztech-menu__toggle[aria-expanded="true"] + .eztech-submenu {
	display: block;
}
.eztech-menu--desktop .eztech-submenu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	min-width: 300px;
	padding: 10px;
	background: #14181a;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.eztech-submenu__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 8px;
	color: #fff;
}
.eztech-submenu__link:hover {
	background: rgba(73, 212, 147, 0.1);
}
.eztech-submenu__icon {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
}
.eztech-submenu__text {
	display: flex;
	flex-direction: column;
}
.eztech-submenu__title {
	font-weight: 500;
}
.eztech-submenu__desc {
	color: #aaa;
	font-size: 0.8125rem;
}

/* Auth buttons */
.eztech-header__auth {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}
.eztech-header__btn {
	display: inline-block;
	padding: 8px 18px;
	border: 1px solid var(--ez-primary);
	border-radius: 8px;
	font-size: 0.9375rem;
	line-height: 1.4;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.eztech-header__btn--primary {
	background: var(--ez-primary);
	color: #04130c !important;
}
.eztech-header__btn--primary:hover {
	background: #3cbf80;
}
.eztech-header__btn--ghost {
	background: transparent;
	color: var(--ez-primary) !important;
}
.eztech-header__btn--ghost:hover {
	background: rgba(73, 212, 147, 0.12);
}

/* Burger */
.eztech-header__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 10px;
	background: none;
	border: 0;
	cursor: pointer;
}
.eztech-header__burger span {
	display: block;
	height: 2px;
	background: #fff;
	border-radius: 2px;
}

/* Mobile drawer */
.eztech-drawer {
	position: fixed;
	inset: 0;
	z-index: 1100;
	background: rgba(0, 0, 0, 0.6);
}
.eztech-drawer[hidden] {
	display: none;
}
.eztech-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 88vw);
	padding: 64px 20px 24px;
	overflow-y: auto;
	background: #0a0b0d;
	color: #fff;
}
.eztech-drawer__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	background: none;
	border: 0;
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}
.eztech-drawer__login {
	display: block;
	margin-bottom: 16px;
}
.eztech-menu--mobile {
	display: block;
}
.eztech-menu--mobile .eztech-menu__link {
	width: 100%;
	justify-content: space-between;
	padding: 12px 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.eztech-menu--mobile .eztech-submenu {
	padding: 4px 0 4px 8px;
}
.eztech-drawer__social {
	display: flex;
	gap: 16px;
	margin-top: 24px;
}
.eztech-drawer__social a {
	color: var(--ez-primary);
}

@media (max-width: 991.98px) {
	.eztech-header__nav,
	.eztech-header__auth {
		display: none;
	}
	.eztech-header__burger {
		display: flex;
	}
	.eztech-header__top {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.eztech-menu__caret {
		transition: none;
	}
}
