/* One native Astra menu, enhanced consistently for Life Dent. */
.lifedent-navigation-enabled {
	--ld-nav-ink: #203452;
	--ld-nav-accent: #4b738f;
	--ld-nav-line: #d9e3ea;
	--ld-nav-soft: #eef5f8;
	--ld-nav-green: #16836e;
	--ld-nav-red: #a9343a;
}

.lifedent-navigation-enabled .ld-primary-menu .ld-nav-label { min-width: 0; }
.lifedent-navigation-enabled .ld-primary-menu .menu-text { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lifedent-navigation-enabled .ld-primary-menu .sub-menu .menu-text { gap: 10px; }
.lifedent-navigation-enabled .ld-primary-menu .sub-menu a > .ast-icon.icon-arrow { display: none; }
.lifedent-navigation-enabled .ld-nav-icon {
	display: none;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	color: #285d8f;
	background: #edf3f8;
	border-radius: 11px;
}
.lifedent-navigation-enabled .ld-nav-icon svg {
	display: block;
	position: static;
	flex: none;
	width: 21px;
	height: 21px;
	margin: 0;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lifedent-navigation-enabled .ld-nav-icon--info,
.lifedent-navigation-enabled .ld-nav-icon--clinic { color: #6b54a1; background: #f1edfa; }
.lifedent-navigation-enabled .ld-nav-icon--tag,
.lifedent-navigation-enabled .ld-nav-icon--clipboard,
.lifedent-navigation-enabled .ld-nav-icon--crown { color: #996814; background: #fff5d8; }
.lifedent-navigation-enabled .ld-nav-icon--phone,
.lifedent-navigation-enabled .ld-nav-icon--cross { color: var(--ld-nav-red); background: #fbeceb; }
.lifedent-navigation-enabled .ld-nav-icon--tooth,
.lifedent-navigation-enabled .ld-nav-icon--root,
.lifedent-navigation-enabled .ld-nav-icon--implant,
.lifedent-navigation-enabled .ld-nav-icon--braces { color: #08717c; background: #e7f4f4; }
.lifedent-navigation-enabled .ld-nav-icon--team,
.lifedent-navigation-enabled .ld-nav-icon--home { color: #376e89; background: #eaf3f8; }
.lifedent-navigation-enabled .ld-nav-icon--sparkle,
.lifedent-navigation-enabled .ld-nav-icon--child,
.lifedent-navigation-enabled .ld-nav-icon--news { color: #16836e; background: #e8f6f1; }

.lifedent-navigation-enabled .ld-primary-menu a:focus-visible,
.lifedent-navigation-enabled #ast-mobile-popup button:focus-visible,
.lifedent-navigation-enabled #ast-mobile-popup .ld-nav-brand:focus-visible {
	outline: 3px solid #bb8213;
	outline-offset: 3px;
}

@media (min-width: 922px) {
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > li > a {
		min-height: 48px;
		padding-inline: 14px;
		font-size: 15px;
		font-weight: 600;
		color: #fff;
		text-transform: none;
		white-space: nowrap;
	}
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > li > a:visited,
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > li > a:hover,
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > li > a:focus,
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > .current-menu-item > a,
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > .current-menu-ancestor > a {
		color: #fff;
	}
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > li > a .ast-icon { color: inherit; }
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu .sub-menu {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		width: 285px;
		padding: 9px;
		background: #fff;
		border: 1px solid var(--ld-nav-line);
		border-top: 3px solid var(--ld-nav-accent);
		border-radius: 0 0 12px 12px;
		box-shadow: 0 15px 35px #2034521f;
	}
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu li:hover > .sub-menu,
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu li.focus > .sub-menu,
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu li:focus-within > .sub-menu {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
	}
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu .sub-menu a {
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 50px;
		padding: 9px 11px;
		color: var(--ld-nav-ink);
		font-size: 14px;
		font-weight: 500;
		line-height: 1.45;
		text-transform: none;
		border-radius: 8px;
	}
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu .sub-menu a:hover,
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu .sub-menu a:focus-visible {
		background: var(--ld-nav-soft);
	}
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu .sub-menu .ld-nav-icon {
		display: inline-flex;
		width: 32px;
		height: 32px;
		border-radius: 8px;
	}
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu .sub-menu .ld-nav-icon svg { width: 18px; height: 18px; }
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > .ld-menu-wide > .sub-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3px 9px;
		width: 610px;
		max-width: calc(100vw - 48px);
	}
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > .ld-menu-tooth > .sub-menu { left: 50%; transform: translateX(-50%); }
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > .ld-menu-tag > .sub-menu { left: 50%; right: auto; transform: translateX(-50%); }
}

@media (min-width: 922px) and (max-width: 1180px) {
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > li > a { padding-inline: 9px; font-size: 13px; }
	.lifedent-navigation-enabled #ast-desktop-header .ld-primary-menu > .ld-menu-wide > .sub-menu { width: 550px; }
}

@media (max-width: 921px) {
	.lifedent-navigation-enabled #ast-mobile-popup { z-index: 2147483646; }
	.lifedent-navigation-enabled.ast-popup-nav-open .cky-btn-revisit-wrapper,
	.lifedent-navigation-enabled.ast-popup-nav-open .cky-revisit-bottom-left { visibility: hidden; }
	.lifedent-navigation-enabled #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row { grid-template-columns: minmax(0, 1fr) auto; }
	.lifedent-navigation-enabled #ast-mobile-header .site-header-primary-section-left,
	.lifedent-navigation-enabled #ast-mobile-header .site-branding,
	.lifedent-navigation-enabled #ast-mobile-header .site-logo-img { min-width: 0; max-width: 100%; }
	.lifedent-navigation-enabled #ast-mobile-header .site-logo-img img { max-width: 100%; height: auto; }
	.lifedent-navigation-enabled #ast-mobile-header .ast-button-wrap .menu-toggle.main-header-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		min-width: 46px;
		height: 46px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: var(--ld-nav-accent);
		box-shadow: none;
	}
	.lifedent-navigation-enabled #ast-mobile-header .ast-button-wrap .menu-toggle.main-header-menu-toggle:hover,
	.lifedent-navigation-enabled #ast-mobile-header .ast-button-wrap .menu-toggle.main-header-menu-toggle:focus,
	.lifedent-navigation-enabled #ast-mobile-header .ast-button-wrap .menu-toggle.main-header-menu-toggle:focus-visible {
		background: transparent;
		color: var(--ld-nav-accent);
	}
	.lifedent-navigation-enabled .main-header-menu-toggle .mobile-menu-toggle-icon { display: inline-flex; align-items: center; justify-content: center; }
	.lifedent-navigation-enabled .main-header-menu-toggle .mobile-menu-wrap { display: none; }
	.lifedent-navigation-enabled #ast-mobile-header .main-header-menu-toggle .mobile-menu-toggle-icon svg { width: 40px; height: 40px; fill: currentColor; }

	.lifedent-navigation-enabled #ast-mobile-popup .ast-mobile-popup-inner {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		max-width: 100%;
		max-height: 100dvh;
		overflow: hidden;
		background: #fff;
	}
	.lifedent-navigation-enabled #ast-mobile-popup .ast-mobile-popup-header {
		display: flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		min-height: 88px;
		padding: 12px 20px;
		border-bottom: 1px solid var(--ld-nav-line);
	}
	.lifedent-navigation-enabled #ast-mobile-popup .ld-nav-brand {
		display: block;
		flex: 0 1 165px;
		min-width: 0;
		color: var(--ld-nav-ink);
		text-decoration: none;
	}
	.lifedent-navigation-enabled #ast-mobile-popup .ld-nav-brand img { display: block; width: auto; max-width: 100%; max-height: 70px; margin: 0; }
	.lifedent-navigation-enabled #ast-mobile-popup #menu-toggle-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		min-width: 48px;
		height: 48px;
		padding: 0;
		background: var(--ld-nav-ink);
		color: #fff;
		border: 1px solid var(--ld-nav-ink);
		border-radius: 12px;
		box-shadow: none;
	}
	.lifedent-navigation-enabled #ast-mobile-popup #menu-toggle-close svg { width: 20px; height: 20px; fill: currentColor; }
	.lifedent-navigation-enabled #ast-mobile-popup .ast-mobile-popup-content {
		flex: 1 1 auto;
		min-height: 0;
		width: 100%;
		padding: 16px 20px 30px;
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
	}
	.lifedent-navigation-enabled #ast-mobile-popup .ast-builder-menu-mobile,
	.lifedent-navigation-enabled #ast-mobile-popup .main-header-bar-alignment { width: 100%; }
	.lifedent-navigation-enabled #ast-mobile-popup .ast-builder-menu-mobile { display: block; }
	.lifedent-navigation-enabled #ast-mobile-popup .ast-header-divider-1,
	.lifedent-navigation-enabled #ast-mobile-popup .ast-header-html-5,
	.lifedent-navigation-enabled #ast-mobile-popup .ast-header-html-6 { display: none; }

	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu { margin: 0; padding: 0; background: transparent; border: 0; list-style: none; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu li { position: relative; float: none; list-style: none; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu > li { margin: 0 0 5px; padding: 0 0 5px; border-bottom: 1px solid var(--ld-nav-line); }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu > li:last-child { border-bottom: 0; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu a {
		display: flex;
		align-items: center;
		gap: 12px;
		min-height: 58px;
		padding: 8px;
		color: var(--ld-nav-ink);
		font-size: 17px;
		font-weight: 500;
		line-height: 1.45;
		text-transform: none;
		text-decoration: none;
		border: 0;
		border-radius: 10px;
		white-space: normal;
	}
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu > li > a { min-height: 64px; font-size: 18px; font-weight: 650; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu .menu-item-has-children > a { padding-right: 60px; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu > li > a > .ast-icon.icon-arrow { display: none; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu a::before { content: none; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu a .menu-text {
		display: grid;
		grid-template-columns: 42px minmax(0, 1fr);
		align-items: center;
		gap: 16px;
		flex: 1;
		min-width: 0;
		width: 100%;
	}
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu .sub-menu a .menu-text { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu a:hover,
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu a:focus-visible,
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu > .current-menu-item > a,
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu > .ast-submenu-expanded > a { background: var(--ld-nav-soft); }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-nav-icon { display: inline-flex; width: 42px; height: 42px; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu .ast-menu-toggle {
		position: absolute;
		top: 9px;
		right: 0;
		left: auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		min-width: 46px;
		height: 46px;
		padding: 0;
		margin: 0;
		background: var(--ld-nav-soft) !important;
		border: 1px solid var(--ld-nav-line);
		border-radius: 10px;
		color: var(--ld-nav-ink) !important;
		box-shadow: none;
	}
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu .ast-menu-toggle svg { display: block; position: static; width: 17px; height: 12px; margin: 0; fill: currentColor; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu .ast-menu-toggle .ast-icon { display: flex; align-items: center; justify-content: center; width: 17px; height: 12px; line-height: 1; color: inherit; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu .ast-menu-toggle[aria-expanded="true"] { color: #fff !important; background: var(--ld-nav-ink) !important; border-color: var(--ld-nav-ink); }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu .sub-menu { margin: 4px 0 8px 17px; padding: 0 0 0 9px; border: 0; border-left: 2px solid var(--ld-nav-line); background: transparent; box-shadow: none; list-style: none; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu .sub-menu li { margin: 0; padding: 0; border: 0; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-primary-menu .sub-menu a { min-height: 50px; padding: 7px 8px; font-size: 16px; }
	.lifedent-navigation-enabled #ast-mobile-popup .sub-menu .ld-nav-icon { width: 34px; height: 34px; border-radius: 8px; }
	.lifedent-navigation-enabled #ast-mobile-popup .sub-menu .ld-nav-icon svg { width: 18px; height: 18px; }

	.lifedent-navigation-enabled #ast-mobile-popup .ld-nav-details { display: grid; gap: 12px; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--ld-nav-line); text-align: left; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-nav-details h2 { margin: 0 0 2px; color: var(--ld-nav-ink); font-size: 18px; font-weight: 700; line-height: 1.4; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-nav-detail { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: center; margin: 0; padding: 16px; background: #f5f8fb; border: 1px solid var(--ld-nav-line); border-radius: 13px; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-nav-detail .ld-nav-icon { display: inline-flex; width: 38px; height: 38px; border-radius: 10px; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-nav-detail__label { display: block; margin: 0 0 3px; color: var(--ld-nav-accent); font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
	.lifedent-navigation-enabled #ast-mobile-popup .ld-nav-detail__value { display: block; color: var(--ld-nav-ink); font-size: 15px; font-weight: 650; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
	.lifedent-navigation-enabled #ast-mobile-popup .ast-mobile-popup-inner { transition: none; }
}
