/**
 * Top Menu V2 (Header V2) Styles
 * Mobile-first: base = mobile, then min-width: 1080px for desktop.
 *
 * Sections (in order):
 * 1. Sticky / search z-index
 * 2. Base layout (root, main, logo, nav, mega menu)
 * 3. Find a Plan mega (vars + layout)
 * 4. Shared mega (columns, links, popular plans, Trustpilot)
 * 5. Find a Dentist mega (form, PA code, typeahead)
 * 6. Right actions (search, cart, phone, login)
 * 7. Mobile toggle (hamburger)
 * 8. Mobile drawer (overlay, content, location strip, nav, submenu, promo)
 * 9. Desktop @media (1080px) overrides
 * 10. Eyebrow banner + Header Location Info + promo/testimonial
 */

:root {
	--total-top-height: 0px;
}

/* Sticky: WP wraps block in header.wp-block-template-part. top set from JS (--header-v2-eyebrow-height). Search overlay z-index above header. */
header.wp-block-template-part:has(.header-v2) {
	--header-v2-eyebrow-height: 0px;
	position: sticky;
	top: calc(-1 * var(--header-v2-eyebrow-height));
	z-index: 1000;
}

/* Modify header on Guided Experience page */
body.page-id-4927 .header-v2-eyebrow {
	display: none;
}

body.page-id-4927 .header-v2 nav {
	opacity: 0;
	pointer-events: none;
}

body:has(.header-v2) #react-guided-experience-progress > div {
	background-color: white;
}

/* ============================================
   2. Base layout (mobile first)
   Root: .header-v2 (WP wraps block in header). Logo, nav (hidden on mobile), mega menu.
   ============================================ */

.header-v2 {
	position: sticky;
	top: 0;
	width: 100%;
	background-color: #ffffff;
	box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.20);
	z-index: 900;
}

/* Site search overlay (toggled by .search-link) must sit above the header so the search panel and inputs are visible */
.dp-block-search-form {
	z-index: 1001;
}

.header-v2-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1400px;
	margin: 0 auto;
	padding: 14px 20px;
	gap: 16px;
}

/* Eyebrow: hide location + login on mobile; desktop shows via @media 1080px */
.header-v2-eyebrow .header-location-info,
.header-v2-eyebrow .header-v2-eyebrow-login {
	display: none;
}

/* Logo: on mobile, push actions (login, phone) to the right with margin-right auto */
.header-v2-logo {
	flex-shrink: 0;
	margin-right: auto;
}

.header-v2-logo img {
	max-height: 40px;
	width: auto;
	height: auto;
}

/* Narrow mobile (e.g. 375px): reduce logo only so main bar fits; hamburger, Call Us, Login unchanged */
@media (max-width: 480px) {
	.header-v2-logo {
		flex-shrink: 1;
		min-width: 0;
	}
	.header-v2-logo img {
		max-height: 30px;
		max-width: 100%;
		object-fit: contain;
	}
}

/* Desktop nav: hidden on mobile, shown from 1080px up */
.header-v2-nav-desktop {
	display: none;
	align-items: center;
	gap: 32px;
	flex: 1;
	justify-content: center;
	min-width: 0;
}

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

/* Create invisible bridge to maintain hover state when moving cursor to mega menu */
.header-v2-nav-item::before {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 12px;
	z-index: 999;
	pointer-events: none;
}

.header-v2-nav-item:hover::before {
	pointer-events: auto;
}

/* Main nav trigger */
.header-v2-nav-trigger {
	display: inline-flex;
	align-items: center;
	background: none;
	border: none;
	padding: 8px;
	font-size: 14px;
	font-weight: 800;
	color: #080709;
	cursor: pointer;
	transition: color 0.2s, text-decoration-color 0.2s;
	text-decoration: none;
}

/* Hover and active when menu is open: focus-within (click to open) or aria-expanded */
.header-v2-nav-trigger:hover,
.header-v2-nav-item:hover .header-v2-nav-trigger,
.header-v2-nav-item:focus-within .header-v2-nav-trigger,
.header-v2-nav-trigger[aria-expanded="true"] {
	color: #2445EA;
	text-decoration: underline;
	text-underline-offset: 10px;
	text-decoration-thickness: 2px;
}

/* Mega menu: dropdown panel; visible on nav-item hover or focus-within */
.header-v2-mega-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	padding: 24px;
	min-width: 600px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(-10px);
	transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
	z-index: 1000;
	pointer-events: none;
}

.header-v2-nav-item:hover .header-v2-mega-menu,
.header-v2-nav-item:focus-within .header-v2-mega-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

#mega-menu-find-dentist {
	width: 412px;
	min-width: 412px;
	max-width: 412px;
}

/* How it Works: fixed width for promo + links column layout */
#mega-menu-how-it-works {
	width: 530px;
	min-width: 530px;
	max-width: 530px;
}

/* How it Works: promo/quote column takes most of the width */
#mega-menu-how-it-works .header-v2-mega-columns {
	grid-template-columns: auto 1fr;
}

/* Desktop: 32px vertical spacing between links (matches Find a Plan) */
#mega-menu-how-it-works .header-v2-mega-links {
	gap: 20px;
}

#mega-menu-how-it-works .header-v2-mega-links a {
	font-weight: 800;
}

/* ============================================
   3. Find a Plan mega menu
   Custom width, CSS vars, two-column layout (links + popular plans), Trustpilot.
   ============================================ */

/* Find a Plan mega menu (hover dropdown) */
.header-v2-mega-menu--find-plan {
	--find-plan-text: #070808;
	--find-plan-text-muted: #4B5260;
	--find-plan-bg: #FFFFFF;
	--find-plan-accent: #2445EA;
	--find-plan-pearl: #F2F2F4; /* Pearl (Our Most Popular Plans column) */
	--find-plan-border: #EBECEE;
	--find-plan-radius-panel: 8px;
	--find-plan-radius-card: 8px;
	--find-plan-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	--find-plan-padding-x: 40px;
	--find-plan-padding-y: 40px;
	--find-plan-gap-section: 24px;
	--find-plan-gap-list: 32px;
	--find-plan-heading-size: 14px;
	--find-plan-heading-weight: 700;
	--find-plan-heading-line: 1.3;
	--find-plan-link-size: 16px;
	--find-plan-link-weight: 800;
	--find-plan-desc-size: 14px;
	--find-plan-desc-line: 1.4;
	width: 916px;
	min-width: 916px;
	max-width: 916px;
	padding: 0;
	background: var(--find-plan-bg);
	border-radius: var(--find-plan-radius-panel);
	box-shadow: var(--find-plan-shadow);
	border: 1px solid var(--find-plan-border);
}

/* When Popular Plans column is hidden, shrink dropdown to left column only (no white space) */
.header-v2-mega-menu--find-plan.header-v2-find-plan--compact {
	width: auto;
	min-width: 400px;
	max-width: 560px;
}

.header-v2-mega-menu--find-plan.header-v2-find-plan--compact .header-v2-mega-columns--find-plan {
	grid-template-columns: 1fr;
}

.header-v2-mega-menu--find-plan .header-v2-mega-columns--find-plan {
	display: grid;
	grid-template-columns: 1fr minmax(280px, 400px);
	gap: 0;
	align-items: stretch;
	margin: 0;
}

.header-v2-mega-menu--find-plan .header-v2-mega-column-left {
	display: flex;
	flex-direction: column;
	gap: var(--find-plan-gap-section);
	min-width: 0;
	padding: var(--find-plan-padding-y) var(--find-plan-padding-x);
}

.header-v2-mega-menu--find-plan .header-v2-mega-left-columns {
	display: grid;
	gap: 20px; /* gap between By Plan Type and By Brand */
}

.header-v2-mega-menu--find-plan .header-v2-mega-heading {
	font-size: var(--find-plan-heading-size) !important;
	font-weight: var(--find-plan-heading-weight);
	line-height: var(--find-plan-heading-line);
	color: var(--find-plan-text-muted);
	margin: 0 0 32px 0;
}

.header-v2-mega-menu--find-plan .header-v2-mega-links {
	gap: var(--find-plan-gap-list);
}

.header-v2-mega-menu--find-plan .header-v2-mega-links a {
	color: var(--find-plan-text);
	font-size: var(--find-plan-link-size);
	font-weight: var(--find-plan-link-weight);
	line-height: 1.4;
}

.header-v2-mega-menu--find-plan .header-v2-mega-links a:hover {
	color: var(--find-plan-accent);
}

.header-v2-mega-menu--find-plan .header-v2-mega-expand-toggle {
	color: var(--find-plan-accent);
	font-size: var(--find-plan-link-size);
	font-weight: 800; /* View All */
	margin-top: var(--find-plan-gap-list); /* Same gap as between list items */
}

.header-v2-mega-menu--find-plan .header-v2-mega-column-popular {
	background: var(--find-plan-pearl);
	padding: var(--find-plan-padding-y) var(--find-plan-padding-x);
	border-radius: 0 var(--find-plan-radius-panel) var(--find-plan-radius-panel) 0;
}

.header-v2-mega-menu--find-plan .header-v2-mega-column-popular.is-hidden,
.header-v2-mega-menu--find-plan .header-v2-by-brand-column.is-hidden {
	display: none;
}

.header-v2-mega-menu--find-plan .header-v2-mega-column-popular .header-v2-mega-heading {
	margin-bottom: 32px;
}

.header-v2-mega-menu--find-plan .header-v2-popular-plans {
	gap: 24px; /* gap between popular plan cards */
}

.header-v2-mega-menu--find-plan .header-v2-popular-plan-link {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	color: var(--find-plan-text);
	text-decoration: none;
}

.header-v2-mega-menu--find-plan .header-v2-popular-plan-logo {
	width: 88px;
	height: 88px;
	background: var(--find-plan-bg);
	border-radius: 6px;
	padding: 22px 8px;
}

.header-v2-mega-menu--find-plan .header-v2-popular-plan-title {
	font-size: 16px;
	font-weight: 800; /* popular plan card titles */
	line-height: 1.3;
	color: var(--find-plan-text);
}

.header-v2-mega-menu--find-plan .header-v2-popular-plan-desc {
	font-size: var(--find-plan-desc-size);
	font-weight: 400;
	line-height: var(--find-plan-desc-line);
	color: var(--find-plan-text-muted);
}

.header-v2-mega-menu--find-plan .header-v2-mega-trustpilot {
	margin: 0;
	padding: 58px 0 0; /* space above Trustpilot */
	border-top: 1px solid var(--find-plan-border);
	background: var(--find-plan-bg);
}

.header-v2-mega-menu--find-plan .header-v2-mega-trustpilot .dp-trustpilot-widget {
	color: var(--find-plan-text);
	font-size: var(--find-plan-desc-size);
	line-height: var(--find-plan-desc-line);
}

/* ============================================
   4. Shared mega menu (Find a Dentist, How it Works)
   Columns, links, By Brand expand, popular plans, Trustpilot (mega + drawer).
   ============================================ */

.header-v2-mega-columns {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	margin: 0;
}

.header-v2-mega-column-left {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.header-v2-mega-left-columns {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 32px;
}

.header-v2-mega-column {
	margin: 0;
}

.header-v2-mega-heading {
	font-size: 14px;
	font-weight: 700;
	color: #070808;
	margin: 0 0 12px 0;
	letter-spacing: 0.5px;
}

.header-v2-mega-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.header-v2-mega-links a {
	color: #070808;
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	transition: color 0.2s;
	display: block;
	padding: 4px 0;
}

.header-v2-mega-links a:hover {
	color: #2445EA;
}

.header-v2-by-brand-collapsible .header-v2-mega-brand-item-hidden {
	display: none;
}

.header-v2-by-brand-collapsible.is-expanded .header-v2-mega-brand-item-hidden {
	display: list-item;
}

.header-v2-by-brand-list-wrap {
	position: relative;
}

.header-v2-by-brand-collapsible.is-expanded .header-v2-by-brand-list-wrap {
	max-height: min(40vh, 400px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

/* Bottom fade (absolute to visible area) – tall so it overlaps list text and is clearly visible */
.header-v2-by-brand-collapsible.is-expanded .header-v2-by-brand-list-wrap::after {
	content: '';
	position: sticky;
	display: block;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100px;
	background: linear-gradient(to bottom, transparent, var(--find-plan-bg, #ffffff));
	pointer-events: none;
	z-index: 1;
}

.header-v2-mega-expand-toggle {
	display: inline-block;
	margin-top: 8px;
	padding: 0;
	background: none;
	border: none;
	color: #2445EA;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: opacity 0.2s;
}

.header-v2-mega-expand-toggle:hover {
	opacity: 0.85;
}

.header-v2-popular-plans {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.header-v2-popular-plan-link {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px;
	border-radius: 8px;
	color: #070808;
	text-decoration: none;
}

.header-v2-popular-plan-logo {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.header-v2-popular-plan-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.header-v2-popular-plan-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.header-v2-popular-plan-title {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.header-v2-popular-plan-desc {
	display: block;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	opacity: 0.9;
}

.header-v2-mega-trustpilot {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

.header-v2-mega-trustpilot .dp-trustpilot-widget,
.header-v2-drawer-submenu-trustpilot .dp-trustpilot-widget {
	color: #070808;
}

.header-v2-drawer-item .dp-trustpilot-widget--drawer {
	padding: 48px 20px 12px;
}

.header-v2-drawer-submenu-trustpilot {
	margin: 16px 20px 20px;
	padding: 0;
}

/* Trustpilot in drawer: larger widget on mobile */
@media (max-width: 1079px) {
	.header-v2-drawer-item .dp-trustpilot-widget--drawer,
	.header-v2-drawer-submenu-trustpilot .dp-trustpilot-widget {
		font-size: 14px;
		gap: 16px 10px;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.header-v2-drawer-item .dp-trustpilot-widget--drawer .dp-trustpilot-widget__logo,
	.header-v2-drawer-submenu-trustpilot .dp-trustpilot-widget .dp-trustpilot-widget__logo {
		width: 100%;
		justify-content: center;
	}

	.header-v2-drawer-item .dp-trustpilot-widget--drawer .dp-trustpilot-widget__logo svg,
	.header-v2-drawer-item .dp-trustpilot-widget--drawer .dp-trustpilot-widget__logo img,
	.header-v2-drawer-submenu-trustpilot .dp-trustpilot-widget .dp-trustpilot-widget__logo svg,
	.header-v2-drawer-submenu-trustpilot .dp-trustpilot-widget .dp-trustpilot-widget__logo img {
		height: 24px;
		width: auto;
	}

	.header-v2-drawer-item .dp-trustpilot-widget--drawer .dp-trustpilot-widget__stars,
	.header-v2-drawer-submenu-trustpilot .dp-trustpilot-widget .dp-trustpilot-widget__stars {
		gap: 2px;
	}

	.header-v2-drawer-item .dp-trustpilot-widget--drawer .dp-trustpilot-widget__stars img,
	.header-v2-drawer-submenu-trustpilot .dp-trustpilot-widget .dp-trustpilot-widget__stars img {
		height: 20px;
		width: auto;
	}

	.header-v2-drawer-item .dp-trustpilot-widget--drawer .dp-trustpilot-widget__score,
	.header-v2-drawer-submenu-trustpilot .dp-trustpilot-widget .dp-trustpilot-widget__score {
		font-size: 16px;
		font-weight: 700;
	}

	.header-v2-drawer-item .dp-trustpilot-widget--drawer .dp-trustpilot-widget__reviews,
	.header-v2-drawer-item .dp-trustpilot-widget--drawer a.dp-trustpilot-widget__reviews-link,
	.header-v2-drawer-submenu-trustpilot .dp-trustpilot-widget .dp-trustpilot-widget__reviews,
	.header-v2-drawer-submenu-trustpilot .dp-trustpilot-widget a.dp-trustpilot-widget__reviews-link {
		font-size: 14px;
	}
}

/* ============================================
   5. Find a Dentist mega menu
   Location/PA code form, typeahead z-index, search button.
   ============================================ */

.header-v2-dentist-search {
	margin-top: 0;
	min-width: 320px;
}

/* Typeahead/autocomplete: stack above Find a Dentist mega menu */
/* Radar (jQuery UI): selector must beat theme .ui-autocomplete.ui-menu { z-index: 10 } */
.dp-ui-autocomplete-in-header.ui-autocomplete.ui-menu,
body[data-dentist-typeahead-context="header"] .MuiAutocomplete-popper {
	z-index: 1100 !important;
}

/* Location vs PA code state panels */
.header-v2-dentist-state {
	margin-top: 0;
}

.header-v2-dentist-state-location .radar-location-form {
	max-width: 100%;
	padding-bottom: 10px !important;
}

.header-v2-dentist-state-location .header-v2-dentist-toggle-wrap {
	margin-top: 12px;
}

.header-v2-dentist-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.header-v2-dentist-form[hidden] {
	display: none !important;
}

.header-v2-dentist-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.header-v2-dentist-label {
	font-size: 14px;
	color: #6b7280;
	font-weight: 400;
}

.header-v2-dentist-pa-input::placeholder {
	color: #9ca3af;
}

.header-v2-search-button {
	padding: 14px 28px;
	background: #2445EA;
	color: #ffffff;
	border: none;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
}

.header-v2-search-button:hover:not(:disabled) {
	background: #1a35b8;
}

.header-v2-search-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Toggle: "Have a dentist PA code?" / "Search by location..." */
.header-v2-dentist-toggle-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.header-v2-dentist-toggle-link {
	background: none;
	border: none;
	padding: 0;
	font-size: 14px;
	color: #000;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.header-v2-dentist-toggle-link:hover {
	color: #2445EA;
}

.header-v2-dentist-info-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	background: none;
	border: none;
	color: #6b7280;
	cursor: help;
}

.header-v2-dentist-info-icon:hover {
	color: #374151;
}

/* PA code input (prefix "PA" + 6 digits) */
.header-v2-dentist-pa-box {
	display: flex;
	align-items: center;
	border: 2px solid #2445EA;
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.2s;
}

.header-v2-dentist-pa-prefix {
	font-size: 16px;
	font-weight: 600;
	color: #2445EA;
	padding: 12px 12px 12px 16px;
	border-right: 1px solid #e5e7eb;
	margin-right: 0;
	letter-spacing: 0.02em;
}

.header-v2-dentist-pa-input {
	flex: 1;
	border: none;
	padding: 19px 16px;
	font-size: 16px;
	outline: none;
	background: transparent;
	border-radius: 0 12px 12px 0;
	min-width: 0;
}

.header-v2-dentist-pa-error {
	font-size: 14px;
	color: #dc2626;
	margin-top: 4px;
}

.header-v2-dentist-pa-error.hidden {
	display: none;
}

/* PA code block in header: match header PA input styling */
.header-v2-dentist-state-pa .dentist-pa-code-form {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-top: 0 !important;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .radar-input-box.code-box {
	display: flex;
	align-items: stretch;
	border: 2px solid #2445EA;
	border-radius: 8px;
	background: #fff;
	transition: border-color 0.2s;
	width: 100%;
	max-width: 100%;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .pacode-prefix {
	display: flex;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	color: #2445EA;
	padding: 12px 12px 12px 16px;
	border-right: 1px solid #e5e7eb;
	margin-right: 0;
	letter-spacing: 0.02em;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .pacode-input,
.header-v2-dentist-state-pa .dentist-pa-code-form .pacode-input.input-text {
	flex: 1;
	border: none;
	padding: 19px 16px;
	font-size: 16px !important;
	outline: none;
	background: transparent;
	border-radius: 0 12px 12px 0;
	min-width: 0;
	margin-bottom: 0 !important;
	border-width: 0 !important;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .pacode-input::placeholder {
	color: #9ca3af;
	font-size: 16px !important;
	font-weight: 400;
	text-align: left !important;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .error-message-container {
	text-align: left;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .error-message {
	font-size: 14px;
	color: #dc2626;
	margin-top: 4px;
	margin-bottom: 1em;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .error-message.hidden {
	display: none;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .pacode-input.error {
	border-color: #dc2626 !important;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .dp-button {
	padding: 14px 28px;
	background: #2445EA;
	color: #ffffff;
	border: none;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .dp-button:hover:not(:disabled) {
	background: #1a35b8;
}

.header-v2-dentist-state-pa .dentist-pa-code-form .dp-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.header-v2-dentist-state-pa > .header-v2-dentist-toggle-wrap {
	margin-top: 12px;
}

/* ============================================
   6. Right actions (search, cart, phone, login)
   Mobile: phone icon + label; desktop: search/cart visible, phone number only.
   ============================================ */

.header-v2-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	align-self: center;
}

/* Search / cart icons: hidden on mobile, shown at 1080px */
.header-v2-search-btn,
.header-v2-cart {
	display: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: #070808;
	transition: color 0.2s;
	text-decoration: none;
	overflow: visible;
}

.header-v2-cart svg,
.header-v2 .header-v2-cart .header-v2-cart-icon {
	flex-shrink: 0;
	overflow: visible;
}

/* Search/cart icon color */
.header-v2 .header-v2-actions .header-v2-search-btn svg,
.header-v2 .header-v2-actions .header-v2-cart svg {
	color: #080709 !important;
}

.header-v2-search-btn:hover,
.header-v2-cart:hover {
	color: #2445EA;
}

.header-v2 .header-v2-actions .header-v2-search-btn:hover svg,
.header-v2 .header-v2-actions .header-v2-cart:hover svg {
	color: #2445EA !important;
}

/* Mobile: phone shows icon + "Call Us" */
.header-v2-phone {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	color: #070808;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 0;
	transition: color 0.2s;
}

.header-v2-phone:hover {
	color: #2445EA;
}

.header-v2-phone-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: currentColor;
}

.header-v2-phone-label {
	display: block;
	line-height: 1.2;
}

.header-v2-phone-number {
	display: none;
}

/* Mobile: pill-shaped login button; standard primary color (#2445EA) */
.header-v2-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 6px 10px;
	border: 2px solid #2445EA;
	background-color: #ffffff;
	color: #2445EA;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	border-radius: 9999px;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s;
	white-space: nowrap;
}

.header-v2-login:hover {
	color: #1a35b8;
	background-color: #ffffff;
	border-color: #1a35b8;
}

.header-v2-login .header-v2-login-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: currentColor;
}

/* ============================================
   7. Mobile menu toggle (hamburger)
   Visible on mobile only; theme resets can hide it so we re-establish display.
   ============================================ */

.header-v2 .header-v2-mobile-toggle {
	display: flex;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	flex-direction: column;
	gap: 4px;
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
	justify-content: center;
	flex-shrink: 0;
	color: #070808;
	opacity: 1;
	visibility: visible;
}

/* Hamburger icon: 24×24 to match design (lines at y 4, 12, 20; stroke 2px) */
.header-v2 .header-v2-mobile-toggle .header-v2-hamburger {
	display: flex;
	flex-direction: column;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	padding: 3px 0 4px;
	box-sizing: border-box;
}

.header-v2 .header-v2-mobile-toggle .header-v2-hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	min-height: 2px;
	background-color: #070808;
	transition: all 0.3s;
	border-radius: 2px;
	flex-shrink: 0;
}

/* Spacing between lines matches SVG (centers at 4, 12, 20): 2px + 6px gap + 2px + 5px gap + 2px */
.header-v2 .header-v2-mobile-toggle .header-v2-hamburger span {
	margin-bottom: 6px;
}

.header-v2 .header-v2-mobile-toggle[aria-expanded="true"] .header-v2-hamburger span:nth-child(1) {
	transform: rotate(45deg) translate(0, 8px);
}
.header-v2 .header-v2-mobile-toggle[aria-expanded="true"] .header-v2-hamburger span:nth-child(1),
.header-v2 .header-v2-mobile-toggle[aria-expanded="true"] .header-v2-hamburger span:nth-child(3) {
	margin-bottom: 0;
}

.header-v2 .header-v2-mobile-toggle[aria-expanded="true"] .header-v2-hamburger span:nth-child(2) {
	opacity: 0;
}

.header-v2 .header-v2-mobile-toggle[aria-expanded="true"] .header-v2-hamburger span:nth-child(3) {
	transform: rotate(-45deg) translate(0, -8px);
}

/* ============================================
   8. Mobile drawer
   Overlay, sliding panel, header (logo + close), location strip, nav links, How it Works submenu, promo, Trustpilot.
   ============================================ */

.header-v2-mobile-drawer {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	z-index: 99999;
	pointer-events: none;
}

.header-v2-mobile-drawer.is-open {
	pointer-events: auto;
}

.header-v2-drawer-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s;
}

.header-v2-mobile-drawer.is-open .header-v2-drawer-overlay {
	opacity: 1;
}

.header-v2-drawer-content {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	min-height: 100dvh;
	background: #ffffff;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
	transform: translateX(100%);
	transition: transform 0.3s;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

/* When drawer is visible (below 1080px) but viewport is wide, cap drawer width */
@media (min-width: 768px) and (max-width: 1079px) {
	.header-v2-drawer-content {
		width: 100%;
		max-width: 500px;
	}
}

.header-v2-mobile-drawer.is-open .header-v2-drawer-content {
	transform: translateX(0);
}

.header-v2-drawer-header {
	display: flex;
	align-items: center;
	justify-content: start;
	padding: 16px 20px;
	border-bottom: 1px solid #e0e0e0;
	flex-shrink: 0;
	gap: 16px;
}

.header-v2-drawer-logo {
	display: flex;
	align-items: center;
	min-width: 0;
}

.header-v2-drawer-logo a {
	display: flex;
	align-items: center;
	color: #070808;
	text-decoration: none;
	font-weight: 600;
	font-size: 18px;
}

.header-v2-drawer-logo img {
	display: block;
	max-width: 140px;
	width: auto;
	height: auto;
}

.header-v2-drawer-close {
	background: none;
	border: none;
	cursor: pointer;
	color: #070808;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}

.header-v2-drawer-close:hover {
	color: #2445EA;
}

.header-v2-edit-location-btn {
	color: #ffffff !important;
	font-size: 14px !important;
}

/* Wrapper for pin + button when shown side-by-side (e.g. mobile drawer) */
.dp-edit-location-trigger-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Drawer: location strip (gradient bar); left: pin + button (city/zip + pencil); right: dentist count */
.header-v2-drawer-location-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	flex-shrink: 0;
	color: #ffffff;
	gap: 12px;
}

.header-v2-drawer-location-strip .dp-edit-location-trigger-group {
	min-width: 0;
}

.header-v2-drawer-location-strip .dp-location-trigger {
	color: #ffffff;
	min-width: 0;
}

.header-v2-drawer-location-strip .dp-location-pin-icon {
	color: #ffffff;
}

/* Right side: dentist count */
.header-v2-drawer-member-count-wrap {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	color: #ffffff;
	text-align: right;
}

.header-v2-drawer-member-count {
	white-space: nowrap;
	color: inherit;
}

/* Drawer: nav list (Find a Plan, Find a Dentist, How it Works, Search, Cart, Login, Phone) */
.header-v2-drawer-nav {
	flex: 1;
	overflow-y: auto;
	padding: 20px 0;
}

/* Drawer: override .search-link svg so search icon is black, not primary blue */
.header-v2 .header-v2-drawer-nav .header-v2-drawer-link.search-link svg {
	color: #070808 !important;
}

.header-v2-drawer-item {
	border-bottom: 1px solid #f0f0f0;
}

.header-v2-drawer-trigger,
.header-v2-drawer-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 16px 20px;
	background: none;
	border: none;
	color: #070808;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
	transition: background 0.2s;
	font-family: inherit;
}

/* Main nav links: same size as submenu back, blue (Find a Plan, Find a Dentist, How it Works) */
.header-v2-drawer-item--nav .header-v2-drawer-link,
.header-v2-drawer-item--nav .header-v2-drawer-trigger {
	font-size: 16px;
	font-weight: 700;
	padding: 24px 20px;
	color: #2445EA;
}

/* How it Works trigger: arrow inline with text, not right-aligned */
.header-v2-drawer-item-how-it-works .header-v2-drawer-trigger {
	justify-content: flex-start;
	gap: 8px;
}

.header-v2-drawer-item--nav .header-v2-drawer-trigger .header-v2-drawer-trigger-arrow {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: inherit;
}

.header-v2-drawer-item--nav .header-v2-drawer-link:hover,
.header-v2-drawer-item--nav .header-v2-drawer-trigger:hover {
	color: #1a35b8;
}

/* Action links: smaller type, left-aligned icon + text (Search, Cart, Login) */
.header-v2-drawer-item--action .header-v2-drawer-link {
	justify-content: flex-start;
	font-size: 16px;
	font-weight: 800;
	padding: 16px 20px;
	color: #070808;
}

.header-v2-drawer-item--action .header-v2-drawer-link .header-v2-drawer-link-icon {
	width: 24px;
	height: 24px;
	color: #070808;
}

.header-v2-drawer-trigger:hover,
.header-v2-drawer-link:hover {
	background: #f5f5f5;
}

.header-v2-drawer-link-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.header-v2-drawer-item:has(.header-v2-drawer-phone-link) {
	padding: 0 20px;
}

/* Phone link in drawer nav: blue CTA button style */
.header-v2-drawer-phone-link {
	justify-content: center;
	margin-top: 16px;
	padding: 14px 24px;
	background: #2445EA;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	border-radius: 100px;
	-webkit-tap-highlight-color: transparent;
}

.header-v2-drawer-phone-link:hover,
.header-v2-drawer-phone-link:focus,
.header-v2-drawer-phone-link:active {
	background: #1a35b8;
	color: #ffffff;
}

.header-v2-drawer-phone-link .header-v2-drawer-link-icon,
.header-v2-drawer-phone-link:hover .header-v2-drawer-link-icon,
.header-v2-drawer-phone-link:focus .header-v2-drawer-link-icon,
.header-v2-drawer-phone-link:active .header-v2-drawer-link-icon {
	color: #ffffff;
	width: 24px;
	height: 24px;
}

.header-v2-drawer-trigger svg {
	transition: transform 0.3s;
}

.header-v2-drawer-trigger[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.header-v2-drawer-submenu {
	max-height: 0;
	overflow: hidden;
	background: #ffffff;
}

.header-v2-drawer-item[aria-expanded="true"] .header-v2-drawer-submenu {
	max-height: 800px;
}

/* When How it Works is expanded, show only the submenu panel (back + list + promo) */
.header-v2-drawer-item-how-it-works[aria-expanded="true"] .header-v2-drawer-trigger {
	display: none;
}

.header-v2-drawer-nav:has(.header-v2-drawer-item-how-it-works[aria-expanded="true"]) .header-v2-drawer-item:not(.header-v2-drawer-item-how-it-works) {
	display: none;
}

/* Drawer: How it Works submenu (back button, link list, promo, Trustpilot) */
.header-v2-drawer-submenu-back {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 16px 20px;
	border: none;
	background: #ffffff;
	color: #2445EA;
	font-size: 16px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	text-align: left;
	border-bottom: 1px solid #e0e0e0;
}

.header-v2-drawer-submenu-back:hover {
	color: #1a35b8;
}

.header-v2-drawer-submenu-back svg {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.header-v2-drawer-submenu-list a {
	display: block;
	padding: 14px 20px;
	color: #070808;
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	transition: background 0.2s;
}

.header-v2-drawer-submenu-list a:hover {
	background: #f5f5f5;
}

/* Drawer: promo block in How it Works submenu (padding matches desktop) */
.header-v2-drawer-promo {
	margin: 16px 20px 20px;
	border-radius: 8px;
	overflow: hidden;
}

/* Promo module: shared layout in mega menu + drawer */
.header-v2-mega-menu .header-promo-module,
.header-v2-drawer-promo .header-promo-module {
	border-radius: 8px;
	padding: 20px;
	min-height: 120px;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Drawer submenu: list reset (ul and .header-v2-drawer-submenu-list share same layout) */
.header-v2-drawer-submenu ul,
.header-v2-drawer-submenu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-v2-drawer-submenu li,
.header-v2-drawer-submenu-list li {
	border-bottom: 1px solid #f0f0f0;
}

.header-v2-drawer-submenu a {
	display: block;
	padding: 12px 20px 12px 40px;
	color: #070808;
	text-decoration: none;
	font-size: 14px;
	transition: background 0.2s;
}

.header-v2-drawer-submenu a:hover {
	background: #f0f0f0;
}

/* Edit location trigger (eyebrow + drawer); opens dp-edit-location-modal */
.header-v2-edit-location-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	background: none;
	border: none;
	color: #2445EA;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
	-webkit-tap-highlight-color: transparent;
}

.header-v2-edit-location-btn:hover {
	opacity: 0.9;
}

.header-v2-edit-location-btn:active,
.header-v2-edit-location-btn:focus {
	background: none;
	outline: none;
}

.header-v2-edit-location-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Scroll lock when drawer open */
body.header-v2-drawer-open {
	overflow: hidden;
	height: 100vh;
	height: 100dvh;
}

/* Hide live chat when mobile menu is open (z-index unreliable with widget) */
body.header-v2-drawer-open #cxone-guide-container {
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ============================================
   9. Desktop (min-width: 1080px)
   Single breakpoint: show nav, hide drawer/toggle, eyebrow row layout, show location + login.
   ============================================ */

@media (min-width: 1080px) {
	/* Three-column grid so nav is always centered on the page regardless of logo/actions width */
	.header-v2-main {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		padding: 16px 20px;
		gap: 32px;
	}

	.header-v2-logo {
		margin-right: 0;
		justify-self: start;
	}

	.header-v2-nav-desktop {
		display: flex;
		justify-self: center;
	}

	.header-v2-actions {
		justify-self: end;
		gap: 20px;
	}

	.header-v2-search-btn,
	.header-v2-cart {
		display: flex;
		width: 40px;
		height: 40px;
	}

	/* Desktop: phone shows number only */
	.header-v2-phone {
		display: inline;
		flex-direction: row;
		color: #2445EA;
		font-size: 14px;
		font-weight: 800;
		text-decoration: underline;
		text-underline-offset: 10px;
		text-decoration-thickness: 2px;
		padding: 8px 0;
	}

	.header-v2-phone-icon,
	.header-v2-phone-label {
		display: none;
	}

	.header-v2-phone-number {
		display: inline;
		font-weight: 700;
	}

	.header-v2-phone:hover {
		color: #1a35b8;
		text-decoration: underline;
		text-decoration-thickness: 2px;
	}

	.header-v2-login {
		display: none;
	}

	.header-v2 .header-v2-mobile-toggle {
		display: none;
	}

	.header-v2-mobile-drawer {
		display: none !important;
	}


	.header-v2-mega-menu .header-promo-module:not(.header-testimonial-fallback) {
		padding: 0;
	}

	/* Desktop: center mega menu on viewport; top set by JS from nav item position (--mega-menu-top) for admin bar / variable header height */
	.header-v2-mega-menu {
		position: fixed;
		left: 50%;
		top: var(--mega-menu-top, 72px);
		transform: translateX(-50%) translateY(-10px);
	}
	.header-v2-nav-item:hover .header-v2-mega-menu,
	.header-v2-nav-item:focus-within .header-v2-mega-menu {
		transform: translateX(-50%) translateY(0);
	}

	/* Eyebrow desktop: full-width breakout, row layout. Eyebrow is sibling of .header-v2 (both in header), not nested. */
	.header-v2-eyebrow {
		width: 100%;
		min-height: 63px; /* CLS: desktop = location + dentist count visible (whole px for consistency) */
	}

	/* 1080–1439px: cancel breakout and add 20px padding so eyebrow aligns with main nav (must come after breakout rule to win cascade). */
	@media (max-width: 1439px) {
		.header-v2-eyebrow > .wp-block-group {
			padding-left: 20px;
			padding-right: 20px;
		}
	}

	.header-v2-eyebrow > .wp-block-group {
		width: 100%;
	}

	/* Show location + login on desktop when using WP Group structure */
	.header-v2-eyebrow .header-location-info,
	.header-v2-eyebrow .header-v2-eyebrow-login {
		display: flex;
		align-items: center;
		min-width: 240px;
	}

	.header-v2-eyebrow .header-v2-eyebrow-login {
		justify-content: flex-end;
	}

	/* When eyebrow is missing from template, show login in main bar (mockup: blue outline button). */
	header.wp-block-template-part:has(.header-v2):not(:has(.header-v2-eyebrow)) .header-v2 .header-v2-actions .header-v2-login {
		display: inline-flex !important;
	}
}

/* At 1440px+ viewport, main is 1400px centered so no side padding needed */
@media (min-width: 1440px) {
	.header-v2-main {
		padding-left: 0;
		padding-right: 0;
	}

	.header-v2-eyebrow,
	.header-v2-eyebrow > .wp-block-group {
		padding-left: 0;
		padding-right: 0;
	}
}

/* ============================================
   10. Eyebrow banner
   Template part above main header: location, optional promo (eyebrow-content), login.
   Includes Header Location Info block styles (consolidated here).
   ============================================ */

/* Eyebrow is sibling of .header-v2 (both in header), not nested */
.header-v2-eyebrow {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.header-v2-eyebrow {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 54px; /* CLS: mobile = promo only, assume 2-line wrap when present */
	background-color: #070808; /* Black */
	color: #ffffff;
	padding: 8px 0;
	font-size: 13px;
	font-weight: 600;
}

/* Mobile (promo only – no location/login): side padding so promo text doesn't touch screen edges */
@media (max-width: 1079px) {
	.header-v2-eyebrow {
		padding-left: 20px;
		padding-right: 20px;
	}

	/* When there is no banner content, hide eyebrow on mobile (desktop always shows location + login). */
	body.dp-eyebrow-no-banner .header-v2-eyebrow {
		display: none !important;
		min-height: 0;
		padding: 0;
		margin: 0;
	}
}

/* Header-v2 California / location-pending: hide promo until we know user is not in CA (no flash). */
.header-v2-promo-pending {
	display: none !important;
}

/* After location is known and not CA: reveal with opacity transition. */
.header-v2-promo-reveal {
	animation: header-v2-promo-fade-in 0.2s ease forwards;
}

@keyframes header-v2-promo-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* User is in CA: keep promo hidden. */
.header-v2-promo-hidden {
	display: none !important;
}

/* Header Location Info block (used only in eyebrow; styles consolidated here) */
/* Start hidden to avoid CLS until dentist count logic has run (script adds --ready) */
.header-location-info {
	display: flex;
	align-items: center;
	opacity: 0;
	transition: opacity 0.2s ease-out;
}

.header-location-info.header-location-info--ready {
	opacity: 1;
}

.header-location-info-content {
	display: flex;
	align-items: center;
	gap: 8px;
	color: inherit;
}

.header-location-info-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.header-location-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

/* Top row: dentist count */
.header-location-dentist-count-section {
	font-size: 10px;
	font-weight: 400;
	line-height: 1.3;
}

.header-location-text {
	white-space: nowrap;
}

/* Bottom row: city/zip + pencil */
.header-location-info .dp-location-trigger {
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
}
.header-location-info .dp-location-trigger .dp-edit-location-zip-wrap {
	border-bottom-width: 1.5px;
	padding-bottom: 1px;
}

.header-v2-eyebrow-login {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #ffffff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	transition: opacity 0.2s;
}

.header-v2-eyebrow-login:hover {
	opacity: 0.8;
	color: #ffffff;
}

.header-v2-eyebrow-login svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.header-v2-eyebrow-content {
	width: 100%;
	background-color: transparent !important;
	color: inherit;
	display: flex;
	justify-content: center;
	padding: 0;
}

/* When eyebrow has ribbon_link, whole banner is wrapped in this anchor */
.header-v2-eyebrow-content-link {
	display: block;
	text-decoration: none;
	color: inherit;
	width: 100%;
}

.header-v2-eyebrow-content-text {
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.header-v2-eyebrow-content-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: 100%;
}

/* Async promo banner: when content is injected into the eyebrow */
.header-v2-eyebrow-content-inner .promo-text,
.header-v2-eyebrow-content-inner .promo-banner-html > * {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	margin: 0;
	padding: 0;
}

/* How it Works: CTA image (campaign how_it_works_cta_desktop / how_it_works_cta_mobile) */
.header-promo-cta-image-wrap {
	display: block;
	position: relative;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	width: 100%;
}

.header-promo-cta-image-wrap .dp-copy-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	pointer-events: none;
	border-radius: 8px;
}

.header-promo-cta-image-wrap .header-promo-cta-image,
.header-promo-module.header-promo-cta-image .header-promo-cta-image {
	max-width: 100%;
	height: auto;
	display: block;
}

/* How it Works: testimonial fallback when no promo */
.header-testimonial-fallback {
	position: relative;
	text-align: left;
	align-items: flex-start;
}

.header-testimonial-fallback-inner {
	position: relative;
	width: 100%;
	padding-top: 8px;
}

.header-testimonial-quote-icon {
	position: absolute;
	top: 0;
	left: 0;
	color: #ffffff;
	opacity: 0.5;
	pointer-events: none;
}

.header-testimonial-quote {
	font-size: 16px;
	line-height: 1.5;
	font-weight: 500;
	color: #ffffff;
	margin: 0 0 12px;
	padding-left: 36px;
	max-width: 100%;
}

.header-testimonial-author {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	padding-left: 36px;
}
