/* PEI-style dash nav on PXSE preview. Colors follow this PXSE combo; corners stay square. */

.pei-header.site-header {
	z-index: 1080;
	padding: 0.5rem 0;
}

.pei-header .header-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 90px;
}

.pei-header .header-left,
.pei-header .header-right {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.pei-header .site-logo {
	max-width: 270px;
}

.pei-header .site-logo img {
	width: auto !important;
	max-width: 270px;
	height: auto !important;
	max-height: 80px;
	display: block;
}

@media (min-width: 768px) {
	.pei-header .site-logo img {
		max-height: 90px;
	}
}

.pei-header .header-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.pei-header .nav-list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 0;
	margin: 0;
}

.pei-header .nav-item {
	position: relative;
}

.pei-header .nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 8px;
	text-decoration: none;
	color: #2c2c2c;
	font-size: 13px;
	font-weight: 600;
	border-radius: 0;
	transition: all 0.3s ease;
	white-space: nowrap;
	font-family: var(--bs-font-sans-serif);
}

.pei-header .nav-link:hover,
.pei-header .nav-link.active {
	background: #00994e;
	color: #ffffff;
}

.pei-header .nav-arrow {
	font-size: 11px;
}

.pei-header .dropdown-menu-box {
	position: absolute;
	top: calc(100% + 0px);
	left: 0;
	min-width: 270px;
	max-width: 340px;
	background: #fff;
	border-radius: 0;
	border: 1px solid #00994e;
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.16);
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.28s ease;
	z-index: 20;
}

.pei-header .nav-item:hover .dropdown-menu-box,
.pei-header .nav-item:focus-within .dropdown-menu-box {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.pei-header .nav-item:last-child .dropdown-menu-box,
.pei-header .nav-item:nth-last-child(2) .dropdown-menu-box {
	left: auto;
	right: 0;
}

.pei-header .dropdown-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	padding: 12px 14px;
	border-radius: 0;
	color: #2c2c2c;
	font-size: 15px;
	font-weight: 500;
	transition: all 0.25s ease;
}

.pei-header .dropdown-link i,
.pei-header .nav-arrow i,
.pei-header .mobile-submenu a i,
.pei-header .support-item i,
.pei-header .mobile-dropdown-toggle i,
.pei-header .mobile-menu-close i {
	font-family: "Font Awesome 6 Free", "Font Awesome 7 Free" !important;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
}

.pei-header .dropdown-link i.fa-regular,
.pei-header .mobile-submenu a i.fa-regular {
	font-weight: 400 !important;
}

.pei-header .dropdown-link i.fa-solid,
.pei-header .nav-arrow i.fa-solid,
.pei-header .mobile-submenu a i.fa-solid,
.pei-header .support-item i.fa-solid,
.pei-header .mobile-dropdown-toggle i.fa-solid,
.pei-header .mobile-menu-close i.fa-solid {
	font-weight: 900 !important;
}

.pei-header .dropdown-link i.fa-brands,
.pei-header .mobile-submenu a i.fa-brands {
	font-family: "Font Awesome 6 Brands", "Font Awesome 7 Brands" !important;
	font-weight: 400 !important;
}

.pei-header .dropdown-link i {
	width: 18px;
	text-align: center;
	color: #00994e;
	font-size: 15px;
}

.pei-header button.dropdown-link {
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
}

.pei-header .dropdown-link:hover {
	background: #00994e;
	color: #ffffff;
}

.pei-header .dropdown-link:hover i {
	color: #ffffff;
}

.pei-header .header-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 16px;
	border-radius: 0;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	background: #f3724c;
	color: #ffffff;
	white-space: nowrap;
	text-transform: uppercase;
}

.pei-header .header-btn-primary:hover {
	background: color-mix(in srgb, #f3724c, black 12%);
	color: #ffffff;
}

.pei-header .mobile-menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 10px 8px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-shadow: none;
}

.pei-header .mobile-menu-toggle span {
	display: block;
	width: 22px;
	height: 3px;
	background: #f3724c;
	border-radius: 0;
}

.pei-header .mobile-nav-panel {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	width: min(380px, 100%);
	height: 100vh;
	background: #fff;
	z-index: 10000;
	box-shadow: -12px 0 30px rgba(0, 0, 0, 0.14);
	overflow: hidden;
}

.pei-header .mobile-nav-panel.show {
	display: block;
}

.pei-header .mobile-nav-inner {
	height: 100%;
	overflow-y: auto;
	padding: 20px 16px 28px;
}

.pei-header .mobile-dropdown-item {
	border: 1px solid #00994e;
	border-radius: 0;
	margin-bottom: 12px;
	overflow: hidden;
	background: #fff;
}

.pei-header .mobile-dropdown-toggle {
	width: 100%;
	border: none;
	background: transparent;
	padding: 15px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 16px;
	font-weight: 700;
	color: #2c2c2c;
}

.pei-header .mobile-dropdown-item.active .mobile-dropdown-toggle i {
	transform: rotate(180deg);
}

.pei-header .mobile-dropdown-toggle i {
	transition: transform 0.3s ease;
	color: #00994e;
}

.pei-header .mobile-submenu {
	display: none;
	padding: 0 10px 10px;
}

.pei-header .mobile-dropdown-item.active .mobile-submenu {
	display: block;
}

.pei-header .mobile-submenu a {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	padding: 12px;
	border-radius: 0;
	color: #2c2c2c;
	font-size: 15px;
	font-weight: 500;
}

.pei-header .mobile-submenu a i {
	width: 18px;
	text-align: center;
	color: #00994e;
}

.pei-header .mobile-submenu a:hover {
	background: #00994e;
	color: #fff;
}

.pei-header .mobile-submenu a:hover i {
	color: #fff;
}

.pei-header .mobile-nav-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.pei-header .mobile-menu-top {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 14px;
}

.pei-header .mobile-menu-close {
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 0;
	background: #00994e;
	color: #fff;
	font-size: 18px;
}

.pei-header .support-footer {
	margin-top: 12px;
	padding: 14px 16px;
	background: #00994e;
	border-radius: 0;
}

.pei-header .support-heading {
	width: 100%;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 6px;
}

.pei-header .support-row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.pei-header .support-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.pei-header .support-item a {
	color: #fff;
	text-decoration: none;
}

/* iPad landscape is 1024–1376px. The desktop row (logo + 5 links + button) needs ~1220px and does not wrap, so it paints over the logo. Keep the hamburger through iPad Pro. */
@media (max-width: 1399px) {
	.pei-header .header-nav {
		display: none;
	}

	.pei-header .header-right .header-btn-primary {
		display: none;
	}

	.pei-header .mobile-menu-toggle {
		display: flex;
	}

	.pei-header .header-wrap {
		min-height: 80px;
	}
}

html.menu-open,
body.menu-open {
	overflow: hidden;
}
