/* VisioPro Design 2026 — native Astra Header presentation only. */

body.vp-design-2026 #masthead,
body.vp-design-2026 #masthead .ast-primary-header-bar {
	background: rgba(255, 255, 255, 0.98);
}

body.vp-design-2026 #masthead {
	position: relative;
	z-index: 99;
	border-bottom: 1px solid rgba(228, 231, 236, 0.9);
	box-shadow: 0 8px 28px rgba(16, 24, 40, 0.06);
}

body.vp-design-2026 #masthead .site-primary-header-wrap {
	width: min(calc(100% - 48px), var(--vpd-container));
	max-width: var(--vpd-container);
	min-height: 88px;
	margin-inline: auto;
}

body.vp-design-2026 #masthead .ast-primary-header-bar .ast-builder-grid-row {
	min-height: 88px;
	align-items: center;
}

body.vp-design-2026 #masthead .site-header-primary-section-left,
body.vp-design-2026 #masthead .site-header-primary-section-center,
body.vp-design-2026 #masthead .site-header-primary-section-right,
body.vp-design-2026 #masthead .site-branding,
body.vp-design-2026 #masthead .custom-logo-link {
	align-items: center;
}

/*
 * VisioPro Setup prints smaller logo limits in a late inline stylesheet with
 * !important. These exact, scoped declarations are intentionally important:
 * without matching importance, the v1.0.1 logo dimensions cannot win.
 */
body.vp-design-2026 #masthead img.custom-logo {
	--vpd-header-logo-max-width: 172px;
	--vpd-header-logo-max-height: 60px;
	max-width: var(--vpd-header-logo-max-width) !important;
	max-height: var(--vpd-header-logo-max-height) !important;
}

body.vp-design-2026 #masthead .ast-desktop .main-header-menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: clamp(18px, 1.8vw, 28px);
	white-space: nowrap;
}

body.vp-design-2026 #masthead .ast-desktop .main-header-menu > .menu-item > .menu-link {
	min-height: 52px;
	color: var(--vpd-navy-900);
	font-size: 15px;
	font-weight: 650;
	letter-spacing: -0.01em;
	transition: color 180ms ease;
}

body.vp-design-2026 #masthead .ast-desktop .main-header-menu > .menu-item > .menu-link::after {
	height: 2px;
	bottom: 7px;
	background: var(--vpd-red-700);
}

body.vp-design-2026 #masthead .ast-desktop .main-header-menu > .menu-item > .menu-link:hover,
body.vp-design-2026 #masthead .ast-desktop .main-header-menu > .menu-item > .menu-link:focus-visible,
body.vp-design-2026 #masthead .ast-desktop .main-header-menu > .current-menu-item > .menu-link,
body.vp-design-2026 #masthead .ast-desktop .main-header-menu > .current-menu-ancestor > .menu-link {
	color: var(--vpd-red-700);
}

body.vp-design-2026 #masthead .ast-desktop .main-header-menu .sub-menu {
	min-width: 248px;
	padding: 10px;
	border: 1px solid var(--vpd-border);
	border-radius: 12px;
	background: var(--vpd-white);
	box-shadow: 0 22px 54px rgba(16, 24, 40, 0.14);
}

body.vp-design-2026 #masthead .ast-desktop .main-header-menu .sub-menu .menu-link {
	min-height: 46px;
	padding: 11px 13px;
	border-radius: 8px;
	color: var(--vpd-navy-900);
	font-size: 14.5px;
	font-weight: 550;
	line-height: 1.45;
}

body.vp-design-2026 #masthead .ast-desktop .main-header-menu .sub-menu .menu-link:hover,
body.vp-design-2026 #masthead .ast-desktop .main-header-menu .sub-menu .menu-link:focus-visible,
body.vp-design-2026 #masthead .ast-desktop .main-header-menu .sub-menu .current-menu-item > .menu-link {
	color: var(--vpd-red-700);
	background: #fff4f3;
}

/* Keep Astra's layout wrappers neutral: only the inner div paints the CTA. */
body.vp-design-2026 #masthead .ast-header-button-1,
body.vp-design-2026 #masthead .ast-header-button-1 .ast-builder-button-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	line-height: 1;
	text-decoration: none;
	vertical-align: middle;
	overflow: visible;
}

body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 48px;
	padding: 13px 22px;
	border: 1px solid var(--vpd-red-700);
	border-radius: var(--vpd-radius-sm);
	background: var(--vpd-red-700);
	box-shadow: 0 10px 22px rgba(198, 40, 40, 0.2);
	color: var(--vpd-white);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-transform: none;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.vp-design-2026 #masthead .ast-header-button-1 .ast-builder-button-wrap::before,
body.vp-design-2026 #masthead .ast-header-button-1 .ast-builder-button-wrap::after,
body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button-link::before,
body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button-link::after,
body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button::before,
body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button::after {
	display: none;
	width: 0;
	height: 0;
	content: none;
}

body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button-link:hover,
body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button-link:focus-visible {
	border-color: transparent;
	background: transparent;
	box-shadow: none;
	transform: none;
}

body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button-link:hover .ast-custom-button,
body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button-link:focus-visible .ast-custom-button,
body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button:hover,
body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button:focus-visible {
	border-color: #a91f1f;
	background: #a91f1f;
	box-shadow: 0 14px 28px rgba(169, 31, 31, 0.24);
	transform: translateY(-1px);
}

body.vp-design-2026 #masthead a:focus-visible,
body.vp-design-2026 #masthead button:focus-visible,
body.vp-design-2026 #masthead .menu-toggle:focus-visible {
	outline: 3px solid var(--vpd-focus);
	outline-offset: 3px;
}

@media (max-width: 1100px) and (min-width: 922px) {
	body.vp-design-2026 #masthead .site-primary-header-wrap {
		width: min(calc(100% - 32px), var(--vpd-container));
	}

	body.vp-design-2026 #masthead .ast-desktop .main-header-menu {
		gap: 16px;
	}

	body.vp-design-2026 #masthead .ast-desktop .main-header-menu > .menu-item > .menu-link {
		font-size: 14px;
	}

	body.vp-design-2026 #masthead img.custom-logo {
		--vpd-header-logo-max-width: 154px;
		--vpd-header-logo-max-height: 56px;
	}

	body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button {
		padding-inline: 16px;
		font-size: 13px;
	}
}

@media (max-width: 921px) {
	body.vp-design-2026 #masthead .site-primary-header-wrap,
	body.vp-design-2026 #masthead .ast-primary-header-bar .ast-builder-grid-row {
		min-height: 72px;
	}

	body.vp-design-2026 #masthead .site-primary-header-wrap {
		width: calc(100% - 32px);
	}

	body.vp-design-2026 #masthead img.custom-logo {
		--vpd-header-logo-max-width: 148px;
		--vpd-header-logo-max-height: 54px;
	}

	body.vp-design-2026 #masthead .ast-button-wrap .menu-toggle {
		min-width: 48px;
		min-height: 48px;
		border-radius: 10px;
		color: var(--vpd-navy-900);
	}

	body.vp-design-2026 #masthead .ast-mobile-popup-content .main-header-menu .menu-link,
	body.vp-design-2026 #masthead .ast-mobile-header-content .main-header-menu .menu-link {
		min-height: 48px;
		padding-block: 11px;
		color: var(--vpd-navy-900);
		font-weight: 600;
	}

	body.vp-design-2026 #masthead .ast-mobile-popup-content .ast-header-button-1,
	body.vp-design-2026 #masthead .ast-mobile-header-content .ast-header-button-1 {
		width: 100%;
		margin-top: 16px;
	}

	body.vp-design-2026 #masthead .ast-mobile-popup-content .ast-header-button-1 .ast-builder-button-wrap,
	body.vp-design-2026 #masthead .ast-mobile-header-content .ast-header-button-1 .ast-builder-button-wrap,
	body.vp-design-2026 #masthead .ast-mobile-popup-content .ast-header-button-1 .ast-custom-button-link,
	body.vp-design-2026 #masthead .ast-mobile-header-content .ast-header-button-1 .ast-custom-button-link {
		width: 100%;
	}

	body.vp-design-2026 #masthead .ast-mobile-popup-content .ast-header-button-1 .ast-custom-button,
	body.vp-design-2026 #masthead .ast-mobile-header-content .ast-header-button-1 .ast-custom-button {
		width: 100%;
		min-height: 50px;
	}
}

@media (max-width: 544px) {
	body.vp-design-2026 #masthead img.custom-logo {
		--vpd-header-logo-max-width: 134px;
		--vpd-header-logo-max-height: 50px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.vp-design-2026 #masthead .main-header-menu .menu-link,
	body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button-link,
	body.vp-design-2026 #masthead .ast-header-button-1 .ast-custom-button {
		transition: none;
	}
}
