/**
 * Front-end layout for nextora/header (block theme).
 * Color defaults: theme.json → styles.blocks["nextora/header"] (background, text, link, button).
 * Nav: .nextora-navigation-from-location--primary + nav-menus.css (--nextora-nav-*).
 * Icons / hamburger / utilities: --wp--style--color (block text from theme.json or sidebar).
 * CTA: .wp-element-button — theme.json elements.button (solid) or outline override below.
 */

.wp-block-nextora-header.nextora-header-block,
.nextora-header-block {
	box-sizing: border-box;
	font-family: inherit;
	font-size: var(--wp--style--font-size, inherit);
	container-type: inline-size;
	container-name: nextora-header;
}

.nextora-header-block--border-bottom {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: color-mix(in srgb, currentColor 18%, transparent);
}

/**
 * Block text color: Core sets `color` on `.wp-block-nextora-header`.
 * Link color: Core enqueues `.wp-elements-* a` — :where() avoids overriding Core when vars are unset.
 * Optional `--nextora-header-nav-*` overrides on the block wrapper (via theme hooks / filters).
 */
.nextora-header-block {
	--nextora-header-nav-scale: 1;
	--nextora-header-nav-gap-scale: 1;
}

.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu {
	display: flex;
	flex-wrap: wrap;
	row-gap: 0.35rem;
	column-gap: calc(var(--nextora-header-menu-item-spacing, var(--wp--preset--spacing--20, 1.25rem)) * var(--nextora-header-nav-gap-scale, var(--nextora-header-nav-scale, 1)));
	justify-content: inherit;
}

.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu>li>a {
	font-family: inherit;
	font-size: max(0.75rem, calc(var(--nextora-header-menu-item-font-size, var(--wp--preset--font-size--base, 1rem)) * var(--nextora-header-nav-scale, 1)));
	font-weight: var(--wp--style--font-weight, 500);
	white-space: nowrap;
	padding-inline: calc(clamp(0.06rem, 0.18rem * var(--nextora-header-nav-scale, 1), 0.25rem));
}

:where(.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu > li > a) {
	color: var(--nextora-header-nav-top, inherit);
}

:where(.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu > li > a:hover,
	.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu > li > a:focus-visible) {
	color: var(--nextora-header-nav-top-hover, var(--nextora-header-nav-top, inherit));
	text-decoration-color: color-mix(in srgb, currentColor 70%, transparent);
}

.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu>li.current-menu-item>a,
.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu>li.current-menu-ancestor>a {
	color: var(--nextora-header-nav-top-active, var(--nextora-header-nav-top, inherit));
	text-decoration-color: currentColor;
}

.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu>li>a:focus-visible {
	outline-color: var(--wp--preset--color--primary, var(--nextora-nav-focus-ring, currentColor));
}

/* Flyout: theme tokens; header attributes override via --nextora-header-nav-submenu-* */
.nextora-header-block .nextora-header-menu .sub-menu {
	background-color: var(--nextora-header-nav-submenu-bg, var(--nextora-nav-submenu-bg));
	color: var(--nextora-header-nav-submenu-link, var(--nextora-nav-panel-fg));
	border-color: var(--nextora-header-nav-submenu-border, var(--nextora-nav-submenu-border));
}

.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu .sub-menu a {
	color: inherit;
	font-size: var(--nextora-header-submenu-font-size, inherit);
}

.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu .sub-menu a:hover,
.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu .sub-menu a:focus-visible {
	color: var(--nextora-header-nav-submenu-link-hover, var(--nextora-nav-panel-hover-fg));
	background-color: var(--nextora-header-nav-submenu-row-hover, var(--nextora-nav-row-hover));
}

.nextora-header-block .nextora-header-menu .sub-menu .current-menu-item>a,
.nextora-header-block .nextora-header-menu .sub-menu .current-menu-ancestor>a {
	color: var(--nextora-header-nav-submenu-link-active, var(--nextora-nav-panel-active-fg));
	background-color: var(--nextora-header-nav-submenu-row-active, var(--nextora-nav-panel-active-bg));
}

.nextora-header-block .nextora-header-menu .sub-menu a:focus-visible {
	outline-color: var(--wp--preset--color--primary, var(--nextora-nav-focus-ring, currentColor));
}

/**
 * Sticky on this block only (siblings in `header.wp-block-template-part` scroll away).
 * Pin line, left, and width are set in header-sticky.ts from `header.wp-block-template-part`.
 * Parent shells: overflow visible in resources/css/modules/base/body.css.
 */
.nextora-header-block__sticky-spacer {
	display: block;
	height: 0;
	pointer-events: none;
}

.nextora-header-block--sticky-always:not(.nextora-header-block--is-pinned),
.nextora-header-block--sticky-scroll-up:not(.nextora-header-block--is-pinned) {
	position: sticky;
	top: var(--nextora-header-sticky-top, 0px);
}

.nextora-header-block--sticky-always,
.nextora-header-block--sticky-scroll-up {
	z-index: 100;
	width: 100%;
	max-width: none;
	align-self: start;
}

.nextora-header-block--sticky-always.nextora-header-block--is-pinned,
.nextora-header-block--sticky-scroll-up.nextora-header-block--is-pinned {
	position: fixed;
	top: var(--nextora-header-sticky-top, 0px);
	left: var(--nextora-header-sticky-left, 0px);
	width: var(--nextora-header-sticky-width, 100%);
	right: auto;
	box-sizing: border-box;
}

/* Scroll-up show/hide on the block root (only while pinned — see header-sticky.ts). */
.nextora-header-block--sticky-scroll-up.nextora-header-block--is-pinned {
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	transform: translateY(var(--nextora-header-sticky-translate-y, 0px));
	will-change: transform;
}

.nextora-header-block--sticky-scroll-up.nextora-header-block--is-pinned.nextora-header-block--scroll-hidden {
	transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
	.nextora-header-block--sticky-scroll-up.nextora-header-block--is-pinned {
		transition-duration: 0.01ms;
	}
}

.nextora-header-block__inner {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr) max-content;
	align-items: center;
	justify-content: space-between;
	gap: calc(clamp(var(--wp--preset--spacing--10, 0.75rem), 1.5vw, var(--nextora-gutter, 1.5rem)) * var(--nextora-header-nav-gap-scale, var(--nextora-header-nav-scale, 1)));
}

@media (max-width: 1024.98px) {
	.nextora-header-block__inner {
		grid-template-columns: 1fr auto;
	}
}

/* Layout: two rows (mobile: top row only; ≥768px: + menu row) */
.nextora-header-block--layout-two-row .nextora-header-block__inner {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
}

.nextora-header-block__row--top {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(var(--wp--preset--spacing--10, 1rem), 2vw, var(--nextora-gutter, 1.5rem));
	width: 100%;
	min-width: 0;
}

.nextora-header-block__row--nav {
	display: none;
	width: 100%;
	min-width: 0;
}

@media (min-width: 1025px) {
	.nextora-header-block--layout-two-row .nextora-header-block__inner {
		gap: var(--wp--preset--spacing--10, 0.85rem);
	}

	.nextora-header-block__row--nav {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.nextora-header-block--layout-two-row .nextora-header-block__row--nav .nextora-header-block__nav-source {
		flex: 1 1 auto;
		justify-content: center;
		width: 100%;
	}
}

@media (min-width: 1025px) {

	/* Logo | centered nav | icons */
	.nextora-header-block--layout-logo-nav-center .nextora-header-block__inner {
		display: grid;
		grid-template-columns: max-content minmax(0, 1fr) max-content;
		align-items: center;
		column-gap: clamp(var(--wp--preset--spacing--10, 1rem), 2vw, var(--nextora-gutter, 1.5rem));
		row-gap: var(--wp--preset--spacing--10, 0.85rem);
	}

	.nextora-header-block--layout-logo-nav-center .nextora-header-block__logo {
		grid-column: 1;
		z-index: 3;
	}

	.nextora-header-block--layout-logo-nav-center .nextora-header-block__nav-source {
		grid-column: 2;
		flex: 0 1 auto;
		width: 100%;
		max-width: 100%;
		justify-self: center;
		justify-content: center;
	}

	.nextora-header-block--layout-logo-nav-center .nextora-header-block__actions {
		grid-column: 3;
		justify-self: end;
	}

	/* Nav (left) | centered logo | icons (right) — explicit areas so order matches logic
	 * even though DOM is logo, nav, actions. min-width:0 + fit-content prevents an extra grid row. */
	.nextora-header-block--layout-nav-start-logo-center .nextora-header-block__inner {
		display: grid;
		/* grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); */
		grid-template-columns: 3fr 1fr 3fr;
		grid-template-rows: auto;
		grid-template-areas: "nav logo actions";
		align-items: center;
		column-gap: clamp(var(--wp--preset--spacing--10, 1rem), 2vw, var(--nextora-gutter, 1.5rem));
		width: 100%;
	}

	.nextora-header-block--layout-nav-start-logo-center .nextora-header-block__nav-source {
		grid-area: nav;
		justify-self: start;
		align-self: center;
		width: fit-content;
		max-width: 100%;
		min-width: 0;
		justify-content: flex-start;
		flex: 0 1 auto;
	}

	.nextora-header-block--layout-nav-start-logo-center .nextora-header-block__nav-source .nextora-header-block__nav-el {
		width: auto;
		max-width: 100%;
		min-width: 0;
	}

	.nextora-header-block--layout-nav-start-logo-center .nextora-header-block__logo {
		grid-area: logo;
		justify-self: center;
		align-self: center;
	}

	.nextora-header-block--layout-nav-start-logo-center .nextora-header-block__logo .nextora-header-block__logo-link {
		justify-content: center;
	}

	.nextora-header-block--layout-nav-start-logo-center .nextora-header-block__actions {
		grid-area: actions;
		justify-self: end;
		align-self: center;
		width: fit-content;
		max-width: 100%;
		min-width: 0;
	}
}

.nextora-header-block__logo {
	flex: 0 0 auto;
	min-width: 0;
	width: fit-content;
	line-height: 0;
}

.nextora-header-block__logo--image,
.nextora-header-block__logo:has(.nextora-header-block__logo-img) {
	max-width: var(--nextora-header-logo-max-width, 150px);
}

.nextora-header-block__logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
	max-width: 100%;
}

.nextora-header-block__logo-text {
	font-weight: 600;
	font-size: var(--wp--preset--font-size--medium);
	letter-spacing: -0.02em;
	color: inherit;
	line-height: 1.2;
}

@media (max-width: 425px) {
	.nextora-header-block__logo-text {
		width: 140px;
		max-width: 100%;
	}
}

.nextora-header-block__logo-img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(100%, var(--nextora-header-logo-max-width, 150px));
}

.nextora-header-block__logo-img--mobile {
	display: none;
}

@media (max-width: 1024.98px) {

	.nextora-header-block__logo--image,
	.nextora-header-block__logo:has(.nextora-header-block__logo-img) {
		max-width: var(--nextora-header-logo-max-width-mobile, var(--nextora-header-logo-max-width, 150px)) !important;
	}

	.nextora-header-block__logo-img--desktop {
		display: none !important;
	}

	.nextora-header-block__logo-img--mobile {
		display: block !important;
		max-width: min(100%, var(--nextora-header-logo-max-width-mobile, var(--nextora-header-logo-max-width, 150px))) !important;
	}

	.nextora-header-block__logo-img:not(.nextora-header-block__logo-img--desktop):not(.nextora-header-block__logo-img--mobile) {
		max-width: min(100%, var(--nextora-header-logo-max-width-mobile, var(--nextora-header-logo-max-width, 150px))) !important;
	}
}

.nextora-header-block__nav-source {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: flex-end;
	/* < 768px: desktop menu is cloned into the portal; this source stays in DOM for cloning only */
	display: none;
}

@media (min-width: 1025px) {
	.nextora-header-block__nav-source {
		display: flex;
		align-items: center;
		gap: calc(var(--nextora-header-menu-item-spacing, var(--wp--preset--spacing--20, 1.25rem)) * var(--nextora-header-nav-gap-scale, var(--nextora-header-nav-scale, 1)));
	}
}

.nextora-header-block__nav-empty {
	display: none;
}

.nextora-header-block__actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: calc(var(--wp--preset--spacing--10, 0.65rem) * var(--nextora-header-nav-gap-scale, var(--nextora-header-nav-scale, 1)));
}

/* Follow Us dropdown */
.nextora-header-block__follow-us {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.nextora-header-block__follow-us-toggle {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	box-sizing: border-box;
	margin: 0;
	padding: 0.35rem 0.15rem;
	padding-inline: calc(clamp(0.06rem, 0.18rem * var(--nextora-header-nav-scale, 1), 0.25rem));
	border: none;
	border-radius: 0.25rem;
	background: transparent;
	color: var(--nextora-header-nav-top, inherit);
	font: inherit;
	font-size: calc(var(--nextora-header-menu-item-font-size, var(--wp--preset--font-size--base, 1rem)) * var(--nextora-header-nav-scale, 1));
	font-weight: var(--wp--style--font-weight, 500);
	line-height: inherit;
	cursor: pointer;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
	transition:
		color var(--nextora-nav-t, 0.18s ease),
		background-color var(--nextora-nav-t, 0.18s ease),
		opacity var(--nextora-nav-t, 0.18s ease);
}

.nextora-header-block__follow-us-toggle:hover,
.nextora-header-block__follow-us-toggle:focus-visible {
	color: var(--nextora-header-nav-top-hover, var(--nextora-header-nav-top, inherit));
	opacity: 1;
}

.nextora-header-block__follow-us-toggle:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, currentColor);
	outline-offset: 2px;
}

.nextora-header-block__follow-us-chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(14px * var(--nextora-header-nav-scale, 1));
	height: calc(14px * var(--nextora-header-nav-scale, 1));
	flex-shrink: 0;
	opacity: 0.72;
	transition: transform var(--nextora-nav-t, 0.2s ease), opacity var(--nextora-nav-t, 0.2s ease);
}

.nextora-header-block__follow-us-toggle:hover .nextora-header-block__follow-us-chevron,
.nextora-header-block__follow-us-toggle:focus-visible .nextora-header-block__follow-us-chevron,
.nextora-header-block__follow-us--open .nextora-header-block__follow-us-chevron {
	opacity: 1;
}

.nextora-header-block__follow-us--open .nextora-header-block__follow-us-chevron {
	transform: rotate(180deg);
}

.nextora-header-block__follow-us-scrim {
	display: none;
}

.nextora-header-block__follow-us-panel {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + 0.65rem);
	z-index: 100010;
	box-sizing: border-box;
	width: min(20rem, calc(100vw - 2rem));
	padding: 1.35rem 1.25rem 1.15rem;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: 1.25rem;
	background: var(--wp--preset--color--base, #fff);
	color: var(--wp--preset--color--contrast, #111);
	box-shadow:
		0 18px 40px color-mix(in srgb, var(--wp--preset--color--contrast, #000) 14%, transparent),
		0 2px 8px color-mix(in srgb, var(--wp--preset--color--contrast, #000) 6%, transparent);
}

/* Hover bridge filling the gap between toggle and dropdown panel */
.nextora-header-block__follow-us-panel::before {
	content: "";
	position: absolute;
	top: -0.85rem;
	left: 0;
	right: 0;
	height: 0.85rem;
	pointer-events: auto;
}

/* Full-width fallback only when JS detects horizontal overflow (--stacked). */
.nextora-header-block__follow-us--stacked .nextora-header-block__follow-us-scrim {
	position: fixed;
	inset: 0;
	z-index: 100009;
	display: block;
	background: color-mix(in srgb, var(--wp--preset--color--contrast, #000) 28%, transparent);
}

.nextora-header-block__follow-us--stacked .nextora-header-block__follow-us-panel {
	position: fixed;
	inset-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
	width: auto;
	max-width: none;
	max-height: min(32rem, calc(100dvh - 5rem));
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.nextora-header-block__follow-us-socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.nextora-header-block__follow-us-socials li {
	display: inline-flex;
}

.nextora-header-block__follow-us-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.2rem;
	height: 1.2rem;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.18s ease;
}

.nextora-header-block__follow-us-social-link:hover,
.nextora-header-block__follow-us-social-link:focus-visible {
	opacity: 0.65;
}

.nextora-header-block__follow-us-social-link:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, currentColor);
	outline-offset: 2px;
	border-radius: 0.25rem;
}

.nextora-header-block__follow-us-support {
	margin: 0 0 1rem !important;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.45;
	text-align: center;
	color: color-mix(in srgb, currentColor 90%, transparent);
}

.nextora-header-block__follow-us-contacts {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-bottom: 1rem;
	padding: 0.65rem;
	border-radius: 0.85rem;
	background: color-mix(in srgb, currentColor 6%, transparent);
}

.nextora-header-block__follow-us-contact {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem 0.65rem;
	border-radius: 0.65rem;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.18s ease;
}

.nextora-header-block__follow-us-contact:hover,
.nextora-header-block__follow-us-contact:focus-visible {
	background: color-mix(in srgb, currentColor 8%, transparent);
}

.nextora-header-block__follow-us-contact:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, currentColor);
	outline-offset: 2px;
}

.nextora-header-block__follow-us-contact-icon,
.nextora-header-block__follow-us-contact-chevron {
	display: inline-flex;
	line-height: 0;
	color: color-mix(in srgb, currentColor 72%, transparent);
}

.nextora-header-block__follow-us-contact-icon svg,
.nextora-header-block__follow-us-contact-chevron svg {
	width: 1.2rem;
	height: 1.2rem;
}

.nextora-header-block__follow-us-contact-chevron {
	opacity: 0.45;
}

.nextora-header-block__follow-us-contact-text {
	min-width: 0;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.nextora-header-block__follow-us-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.65rem 1rem;
	border: 2px solid var(--wp--preset--color--contrast, #111);
	border-radius: 30rem;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		opacity 0.2s ease;
}

.nextora-header-block__follow-us-cta:hover,
.nextora-header-block__follow-us-cta:focus-visible {
	background: var(--wp--preset--color--contrast, #111);
	color: var(--wp--preset--color--base, #fff);
}

.nextora-header-block__follow-us-cta:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, currentColor);
	outline-offset: 2px;
}

/* Drawer variant — cloned into mobile canvas menu; hidden in desktop nav source. */
@media (min-width: 1025px) {
	.nextora-header-block__follow-us--drawer {
		display: none !important;
	}
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	flex-shrink: 0;
	margin-block-start: auto;
	padding: 1.2rem 0;
	padding-inline: 0;
	border-block-start: 1px solid var(--nextora-nav-mobile-drawer-border, color-mix(in srgb, currentColor 12%, transparent));
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer.nextora-header-block__follow-us--open {
	z-index: 30;
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-toggle {
	display: flex;
	width: auto;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	font-size: var(--wp--preset--font-size--base, 1rem);
	font-weight: 500;
	line-height: 1.35;
	text-align: start;
	border: none;
	border-radius: 0;
	background: transparent;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
	transition:
		background-color var(--nextora-nav-t, 0.18s ease),
		color var(--nextora-nav-t, 0.18s ease);
}

@media (min-width: 767px) {

	.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-toggle:hover,
	.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-toggle:focus-visible {
		background-color: var(--nextora-nav-panel-hover-bg, color-mix(in srgb, currentColor 8%, transparent));
	}

	.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-toggle:focus-visible {
		outline: 2px solid var(--wp--preset--color--primary, currentColor);
		outline-offset: 2px;
	}
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-chevron {
	width: 1.125rem;
	height: 1.125rem;
	opacity: 0.72;
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-panel {
	position: absolute;
	inset-inline: 0;
	top: auto;
	bottom: calc(100% + 0.5rem);
	z-index: 31;
	width: 100%;
	max-width: 450px;
	max-height: min(32rem, calc(100dvh - 6rem));
	margin: 0;
	padding: 1rem;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: 0.875rem;
	background: var(--nextora-nav-mobile-drawer-bg, var(--wp--preset--color--base, #fafafa));
	color: inherit;
	box-shadow:
		0 -12px 32px color-mix(in srgb, var(--wp--preset--color--contrast, #000) 16%, transparent),
		0 -4px 12px color-mix(in srgb, var(--wp--preset--color--contrast, #000) 8%, transparent);
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-scrim {
	display: none !important;
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-socials {
	justify-content: center;
	gap: 0.75rem;
	margin-block-end: 1rem;
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-social-link {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 8%, transparent);
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-social-link svg {
	width: 1.125rem;
	height: 1.125rem;
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-support {
	margin-block: 0 0.85rem;
	font-size: 0.875rem;
	line-height: 1.5;
	opacity: 0.82;
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer .nextora-header-block__follow-us-contacts {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-block-end: 0.85rem;
}

.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer.nextora-header-block__follow-us--open .nextora-header-block__follow-us-panel:not([hidden]) {
	animation: nextora-follow-us-drawer-in 0.22s ease;
}

@keyframes nextora-follow-us-drawer-in {
	from {
		opacity: 0;
		transform: translateY(0.65rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.nextora-primary-nav-portal__mount .nextora-header-block__follow-us--drawer.nextora-header-block__follow-us--open .nextora-header-block__follow-us-panel:not([hidden]) {
		animation: none;
	}
}

@media (prefers-reduced-motion: reduce) {

	.nextora-header-block__follow-us-chevron,
	.nextora-header-block__follow-us-toggle,
	.nextora-header-block__follow-us-social-link,
	.nextora-header-block__follow-us-contact,
	.nextora-header-block__follow-us-cta {
		transition: none;
	}
}

.nextora-header-block__utilities {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: calc(var(--wp--preset--spacing--05, 0.5rem) * var(--nextora-header-nav-gap-scale, var(--nextora-header-nav-scale, 1)));
	line-height: 0;
}

/**
 * Simple header search (`nextora_header_block_render_simple_search_form()`) —
 * underline input with icon-only submit overlaid at the logical start.
 */
.nextora-header-block__search--simple {
	flex: 1 1 auto;
	min-width: 0;
	max-width: min(20rem, 100%);
}

.nextora-header-block__search--simple .search-form {
	display: block;
	min-width: 0;
	width: 100%;
}

.nextora-header-block__search--simple .nextora-header-block__search-simple-field {
	position: relative;
	min-width: 0;
	flex: 1 1 auto;
}

.nextora-header-block__search--simple .nextora-header-block__search-simple-field label {
	display: block;
	width: 100%;
	margin: 0;
	cursor: text;
	min-width: 0;
}

.nextora-header-block__search--simple .search-field {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	padding: 0.45rem 0;
	padding-inline-start: 2.5rem;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid color-mix(in srgb, currentColor 26%, transparent);
	background: transparent;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 450;
	line-height: 1.45;
	letter-spacing: -0.02em;
	color: inherit;
	transition: border-color 0.18s ease;
}

.nextora-header-block__search--simple .search-field::placeholder {
	color: color-mix(in srgb, currentColor 48%, transparent);
	opacity: 1;
}

.nextora-header-block__search--simple .search-field:hover {
	border-bottom-color: color-mix(in srgb, currentColor 38%, transparent);
}

.nextora-header-block__search--simple .search-field:focus {
	outline: none;
	border-bottom-color: color-mix(in srgb, var(--wp--preset--color--primary, currentColor) 52%, currentColor);
}

.nextora-header-block__search--simple .search-submit {
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	z-index: 1;
	transform: translateY(-50%);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: none;
	border-radius: 0.375rem;
	background-color: transparent;
	font-family: inherit;
	line-height: 0;
	color: inherit;
	transition: background-color var(--nextora-nav-t, 0.16s ease);
	-webkit-appearance: none;
	appearance: none;
}

.nextora-header-block__search--simple .search-submit:hover {
	background-color: color-mix(in srgb, currentColor 12%, transparent);
}

.nextora-header-block__search--simple .search-submit:focus-visible {
	outline: 2px solid color-mix(in srgb, var(--wp--preset--color--primary, currentColor) 45%, transparent);
	outline-offset: 2px;
}

.nextora-header-block__search--simple .nextora-header-block__search-submit-icon {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	flex-shrink: 0;
	color: inherit;
}

@media (max-width: 1024.98px) {
	.nextora-header-block__search--simple .search-field {
		font-size: 1rem;
		line-height: 1.5;
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}

	.nextora-header-block__search--simple .search-submit,
	.nextora-header-block__search--simple .search-field {
		-webkit-tap-highlight-color: transparent;
	}

	.nextora-header-block__search--simple .search-submit {
		width: 2.75rem;
		height: 2.75rem;
	}

	.nextora-header-block__search--simple .search-field {
		padding-inline-start: 2.85rem;
		padding-block: 0.55rem;
	}

	.nextora-header-block__search--simple .nextora-header-block__search-submit-icon {
		width: 1.25rem;
		height: 1.25rem;
	}
}

@media (max-width: 1024.98px) {
	.nextora-header-block__search--simple {
		max-width: none;
		flex: 1 1 8rem;
	}

	.nextora-header-block__utilities {
		gap: 0.45rem;
		align-items: center;
		min-width: 0;
		flex-shrink: 1;
	}

	.nextora-header-block__actions {
		gap: 0.25rem;
		align-items: center;
		min-width: 0;
		flex-shrink: 1;
	}

	.nextora-header-block__follow-us-toggle {
		font-size: 0.8125rem;
		padding: 0.3rem 0.4rem;
	}

	.nextora-header-block__follow-us-panel {
		border-radius: 1rem;
	}
}

@media (min-width: 768px) and (max-width: 1024.98px) {
	.nextora-header-block__search--simple {
		max-width: min(26rem, 46vw);
	}
}

@media (prefers-reduced-motion: reduce) {

	.nextora-header-block__search--simple .search-field,
	.nextora-header-block__search--simple .search-submit {
		transition-duration: 0.01ms;
	}
}

/**
 * Spotlight trigger: icon buttons should match the header block Text color (not Link-only).
 */
.nextora-header-block__search--spotlight button[data-nextora-modal-open] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: calc(2.5rem * var(--nextora-header-nav-scale, 1));
	height: calc(2.5rem * var(--nextora-header-nav-scale, 1));
	color: var(--wp--style--color, inherit);
	cursor: pointer;
}

.nextora-header-block__search--spotlight button[data-nextora-modal-open] svg {
	width: calc(1.5rem * var(--nextora-header-nav-scale, 1));
	height: calc(1.5rem * var(--nextora-header-nav-scale, 1));
}

.nextora-header-block__search--spotlight button[data-nextora-modal-open]:hover,
.nextora-header-block__search--spotlight button[data-nextora-modal-open]:focus-visible {
	color: var(--wp--style--color, inherit);
	opacity: 0.7;
	/* background-color: color-mix(in srgb, currentColor 14%, transparent); */
}

.nextora-header-block__search--spotlight button[data-nextora-modal-open]:focus-visible {
	outline-color: var(--wp--preset--color--primary, currentColor);
}

/**
 * Cart + account: match spotlight search trigger — 2.5rem square ghost control, rounded-md.
 * @see modal-markup.php `trigger_class` (size-10, inline-flex, rounded-md).
 */
.nextora-header-block__utilities .nextora-header-block__cart-link,
.nextora-header-block__utilities .nextora-header-block__cart--woo .wc-block-mini-cart__button,
.nextora-header-block__utilities .nextora-header-block__account-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: calc(2.5rem * var(--nextora-header-nav-scale, 1));
	height: calc(2.5rem * var(--nextora-header-nav-scale, 1));
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0.375rem;
	background: transparent;
	color: var(--wp--style--color, inherit);
	text-decoration: none;
	transition:
		color var(--nextora-nav-t, 0.18s ease),
		background-color var(--nextora-nav-t, 0.18s ease);
}

.nextora-header-block__utilities .nextora-header-block__cart-link svg,
.nextora-header-block__utilities .nextora-header-block__account-icon svg {
	width: calc(1.5rem * var(--nextora-header-nav-scale, 1));
	height: calc(1.5rem * var(--nextora-header-nav-scale, 1));
}

.nextora-header-block__utilities .nextora-header-block__account-link:visited {
	color: var(--wp--style--color, inherit);
}

.nextora-header-block__utilities .nextora-header-block__account-link--with-text {
	width: auto;
	max-width: calc(12rem * var(--nextora-header-nav-scale, 1));
	min-width: calc(2.5rem * var(--nextora-header-nav-scale, 1));
	height: calc(2.5rem * var(--nextora-header-nav-scale, 1));
	padding-inline: calc(0.5rem * var(--nextora-header-nav-scale, 1));
	gap: calc(0.35rem * var(--nextora-header-nav-scale, 1));
	font-size: calc(var(--wp--preset--font-size--small, 0.875rem) * var(--nextora-header-nav-scale, 1));
	justify-content: center;
}

.nextora-header-block__utilities .nextora-header-block__cart-link:hover,
.nextora-header-block__utilities .nextora-header-block__cart-link:focus-visible,
.nextora-header-block__utilities .nextora-header-block__cart--woo .wc-block-mini-cart__button:hover,
.nextora-header-block__utilities .nextora-header-block__cart--woo .wc-block-mini-cart__button:focus-visible,
.nextora-header-block__utilities .nextora-header-block__account-link:hover,
.nextora-header-block__utilities .nextora-header-block__account-link:focus-visible {
	color: var(--wp--style--color, inherit);
	opacity: 0.7;
	/* background-color: color-mix(in srgb, currentColor 14%, transparent); */
}

.nextora-header-block__utilities .nextora-header-block__cart-link:focus-visible,
.nextora-header-block__utilities .nextora-header-block__cart--woo .wc-block-mini-cart__button:focus-visible,
.nextora-header-block__utilities .nextora-header-block__account-link:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, currentColor);
	outline-offset: 2px;
}

/* Cart: quantity badge sits on the trigger corner */
.nextora-header-block__cart .nextora-header-block__cart-link,
.nextora-header-block__cart--woo .wc-block-mini-cart__button {
	position: relative;
}

/* WooCommerce Mini-Cart block in header utilities */
.nextora-header-block__cart--woo {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
}

.nextora-header-block__cart--woo .wc-block-mini-cart {
	margin: 0;
}

.nextora-header-block__cart--woo .wc-block-mini-cart__button {
	appearance: none;
	font: inherit;
	cursor: pointer;
	text-align: inherit;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0.375rem;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: calc(2.5rem * var(--nextora-header-nav-scale, 1));
	height: calc(2.5rem * var(--nextora-header-nav-scale, 1));
	color: var(--wp--style--color, inherit);
}

.nextora-header-block__cart--woo .wc-block-mini-cart__quantity-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.nextora-header-block__cart--woo .wc-block-mini-cart__icon {
	width: calc(1.5rem * var(--nextora-header-nav-scale, 1));
	height: calc(1.5rem * var(--nextora-header-nav-scale, 1));
	display: block;
}

.nextora-header-block__cart--woo .wc-block-mini-cart__badge {
	position: absolute;
	top: -0.65rem;
	right: -0.55rem;
	inset-inline-end: -0.55rem;
	left: auto;
	bottom: auto;
	margin: 0;
	transform: none;
	z-index: 2;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	border-radius: 9999px;
	background-color: var(--wp--preset--color--contrast, #0a0a0a) !important;
	color: var(--wp--preset--color--base, #ffffff) !important;
	pointer-events: none;
}

.nextora-header-block__cart--woo .wc-block-mini-cart__amount {
	display: none;
}

.nextora-header-block__cart-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	color: var(--wp--style--color, inherit);
	opacity: 0.65;
}

.nextora-header-block__cart-placeholder-icon {
	display: inline-flex;
	line-height: 0;
}

/* Drawer overlay may be portaled to body — keep above sticky header / nav portal */
.nextora-header-block__cart--woo .wc-block-components-drawer__screen-overlay,
body>.wc-block-components-drawer__screen-overlay {
	z-index: 1000;
}

.nextora-header-block__cart-icon,
.nextora-header-block__account-icon {
	display: inline-flex;
	line-height: 0;
	flex-shrink: 0;
}

.nextora-header-block__cart-badge {
	position: absolute;
	top: -0.65rem;
	right: -0.55rem;
	inset-inline-end: -0.55rem;
	left: auto;
	bottom: auto;
	margin: 0;
	transform: none;
	z-index: 2;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	border-radius: 9999px;
	background-color: var(--wp--preset--color--contrast, #0a0a0a);
	color: var(--wp--preset--color--base, #ffffff);
	pointer-events: none;
}

.nextora-header-block__cart-badge:empty {
	display: none;
}

.nextora-header-block__cart-count {
	margin: 0;
	padding: 0;
	font: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: 1;
	min-width: 0;
	text-align: center;
	opacity: 1;
}

.nextora-header-block__account-text {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* CTA — .wp-element-button skips header link ink; outline overrides block elements.button fill below. */
.nextora-header-block__cta-wrap {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.nextora-header-block .nextora-header-block__cta.wp-element-button,
.nextora-header-block .nextora-header-block__cta,
.nextora-header-block__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: calc(clamp(2rem, 2.5rem * var(--nextora-header-nav-scale, 1), 2.5rem));
	font-family: inherit;
	font-size: max(0.8125rem, calc(var(--wp--preset--font-size--small, 0.875rem) * var(--nextora-header-nav-scale, 1)));
	padding-block: calc(clamp(0.55rem, 0.9rem * var(--nextora-header-nav-scale, 1), 0.9rem));
	padding-inline: calc(clamp(1.1rem, 1.75rem * var(--nextora-header-nav-scale, 1), 1.75rem));
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		opacity 0.2s ease;
}

.nextora-header-block__cta-icon {
	display: inline-flex;
	line-height: 0;
	flex-shrink: 0;
}

.nextora-header-block__cta-icon--left {
	margin-inline-end: calc(clamp(0.3rem, 0.5rem * var(--nextora-header-nav-scale, 1), 0.5rem));
}

.nextora-header-block__cta-icon--right {
	margin-inline-start: calc(clamp(0.3rem, 0.5rem * var(--nextora-header-nav-scale, 1), 0.5rem));
}

.nextora-header-block__cta-icon svg {
	display: block;
	width: calc(clamp(0.875rem, 1.125rem * var(--nextora-header-nav-scale, 1), 1.125rem));
	height: calc(clamp(0.875rem, 1.125rem * var(--nextora-header-nav-scale, 1), 1.125rem));
}

.wp-block-nextora-header .nextora-header-block__cta.nextora-header-block__cta--outline.wp-element-button,
.wp-block-nextora-header .nextora-header-block__cta.nextora-header-block__cta--outline.wp-element-button:visited {
	background-color: transparent;
	border: 2px solid var(--wp--preset--color--primary, #000);
	border-radius: 30rem;
	padding: 0.625rem 1.5rem;
	color: var(--wp--preset--color--primary, #000);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	font-weight: 600;
	line-height: 1.25;
}

.wp-block-nextora-header .nextora-header-block__cta.nextora-header-block__cta--outline.wp-element-button:hover,
.wp-block-nextora-header .nextora-header-block__cta.nextora-header-block__cta--outline.wp-element-button:focus-visible {
	background-color: var(--wp--preset--color--primary, #000);
	border-color: var(--wp--preset--color--primary, #000);
	color: var(--wp--preset--color--base, #fff);
}

.nextora-header-block__cta:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, currentColor);
	outline-offset: 2px;
}

/* Mini-cart trigger: native `<button>` reset beyond utility rules */
button.nextora-header-block__cart-link.nextora-header-block__cart-trigger {
	appearance: none;
	font: inherit;
	cursor: pointer;
	text-align: inherit;
}

/* CTA interactive cursor & zero-shift loading state */
.nextora-header-block__cta,
.nextora-header-block__cta[role="button"],
button.nextora-header-block__cta {
	cursor: pointer;
}

.nextora-header-block__cta.is-loading,
.nextora-header-block__cta.alonepro-btn-loading,
.nextora-header-block [data-campaign-id].is-loading,
.nextora-header-block [data-campaign-id].alonepro-btn-loading,
.nextora-header-sticky-cta__btn.is-loading,
.nextora-header-sticky-cta__btn.alonepro-btn-loading {
	position: relative !important;
	pointer-events: none !important;
	cursor: wait !important;
}

.nextora-header-block__cta.is-loading > *,
.nextora-header-block__cta.alonepro-btn-loading > *,
.nextora-header-block [data-campaign-id].is-loading > *,
.nextora-header-block [data-campaign-id].alonepro-btn-loading > *,
.nextora-header-sticky-cta__btn.is-loading > *,
.nextora-header-sticky-cta__btn.alonepro-btn-loading > * {
	opacity: 0 !important;
	visibility: hidden !important;
}

.nextora-header-block__cta.is-loading::after,
.nextora-header-block__cta.alonepro-btn-loading::after,
.nextora-header-block [data-campaign-id].is-loading::after,
.nextora-header-block [data-campaign-id].alonepro-btn-loading::after,
.nextora-header-sticky-cta__btn.is-loading::after,
.nextora-header-sticky-cta__btn.alonepro-btn-loading::after {
	content: '' !important;
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	margin: auto !important;
	width: 18px !important;
	height: 18px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	border: 2px solid currentColor !important;
	border-right-color: transparent !important;
	border-radius: 50% !important;
	animation: alonepro-btn-spin 0.65s linear infinite !important;
	pointer-events: none !important;
	z-index: 5 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

@keyframes alonepro-btn-spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}


/* Match spotlight trigger hit target (modal-markup.php uses size-10) */
.nextora-header-block__menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: calc(2.5rem * var(--nextora-header-nav-scale, 1));
	height: calc(2.5rem * var(--nextora-header-nav-scale, 1));
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	color: var(--wp--style--color, inherit);
	cursor: pointer;
	border-radius: 0.375rem;
	transition:
		background-color var(--nextora-nav-t, 0.18s ease),
		color var(--nextora-nav-t, 0.18s ease);
}

.nextora-header-block__menu-toggle svg {
	width: calc(1.5rem * var(--nextora-header-nav-scale, 1));
	height: calc(1.5rem * var(--nextora-header-nav-scale, 1));
	display: block;
}

.nextora-header-block__menu-toggle:hover,
.nextora-header-block__menu-toggle:focus-visible {
	background-color: color-mix(in srgb, currentColor 14%, transparent);
}

.nextora-header-block__menu-toggle:focus-visible {
	outline: 2px solid var(--nextora-nav-focus-ring-on-dark, currentColor);
	outline-offset: 2px;
}

@media (min-width: 1025px) {
	.nextora-header-block__menu-toggle {
		display: none !important;
	}
}

html.nextora-header-follow-us-open {
	overflow: hidden;
}

@media (max-width: 1024.98px) {

	.nextora-header-block__utilities .nextora-header-block__follow-us,
	.nextora-header-block__follow-us:not(.nextora-header-block__follow-us--drawer) {
		display: none !important;
	}

	.nextora-header-block__menu-toggle,
	.nextora-header-block__search--spotlight button[data-nextora-modal-open],
	.nextora-header-block__utilities .nextora-header-block__cart-link,
	.nextora-header-block__utilities .nextora-header-block__cart--woo .wc-block-mini-cart__button,
	.nextora-header-block__utilities .nextora-header-block__account-link,
	.nextora-header-block__cart--woo .wc-block-mini-cart,
	.nextora-header-block__cart-placeholder {
		width: 2.125rem;
		height: 2.125rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.nextora-header-block__menu-toggle svg,
	.nextora-header-block__search--spotlight button[data-nextora-modal-open] svg,
	.nextora-header-block__utilities .nextora-header-block__cart-link svg,
	.nextora-header-block__utilities .nextora-header-block__cart--woo .wc-block-mini-cart__icon,
	.nextora-header-block__utilities .nextora-header-block__account-icon svg {
		width: 1.35rem;
		height: 1.35rem;
		display: block;
	}

	.nextora-header-block__cart--woo .wc-block-mini-cart__quantity-badge {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		line-height: 0;
	}

	.nextora-header-block__cart--woo .wc-block-mini-cart__badge {
		position: absolute;
		top: -0.6rem;
		right: -0.5rem;
		inset-inline-end: -0.5rem;
		min-width: 16px;
		height: 16px;
		padding: 0 3px;
		font-size: 10px;
		font-weight: 700;
		line-height: 1;
		font-variant-numeric: tabular-nums;
		border-radius: 9999px;
		background-color: var(--wp--preset--color--contrast, #0a0a0a) !important;
		color: var(--wp--preset--color--base, #ffffff) !important;
		pointer-events: none;
	}

	.nextora-header-block__utilities--hide-search-mobile .nextora-header-block__search {
		display: none !important;
	}

	.nextora-header-block__utilities--hide-cart-mobile .nextora-header-block__cart {
		display: none !important;
	}

	.nextora-header-block .nextora-header-block__cta.wp-element-button,
	.nextora-header-block .nextora-header-block__cta,
	.nextora-header-block__cta {
		min-height: calc(clamp(1.85rem, 2.15rem * var(--nextora-header-nav-scale, 1), 2.15rem));
		padding-block: calc(clamp(0.35rem, 0.45rem * var(--nextora-header-nav-scale, 1), 0.45rem));
		padding-inline: calc(clamp(0.85rem, 1.25rem * var(--nextora-header-nav-scale, 1), 1.25rem));
		line-height: 1.25;
	}
}

/* ==========================================================================
   Dynamic Auto-Fit Responsive Header (1400px - 1025px)
   ========================================================================== */

@container (max-width: 1400px) and (min-width: 1025px) {
	.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu {
		flex-wrap: wrap;
		row-gap: 0.35rem;
	}

	.nextora-header-block .nextora-navigation-from-location--primary .nextora-header-menu>li>a {
		white-space: nowrap;
	}
}

@media (max-width:1024.98px) {

	/* Homepage Mega Menu column & columns spacing overrides */
	.mega-menu-homepage>.wp-block-column,
	.mega-menu-homepage.wp-block-columns>.wp-block-column,
	.mega-menu-homepage>.wp-block-columns>.wp-block-column {
		padding: 0 !important;
	}

	.mega-menu-homepage>.wp-block-column>.wp-block-columns,
	.mega-menu-homepage.wp-block-columns>.wp-block-column>.wp-block-columns,
	.mega-menu-homepage>.wp-block-columns>.wp-block-column>.wp-block-columns {
		gap: 0 !important;
	}

	.nextora-primary-nav-portal__panel .wp-block-columns.mega-menu-homepage,
	.nextora-primary-nav-portal__mount .wp-block-columns.mega-menu-homepage {
		gap: 0 !important;
	}

	.nextora-primary-nav-portal__panel .wp-block-group.mega-menu-inner-pages,
	.nextora-primary-nav-portal__mount .wp-block-group.mega-menu-inner-pages {
		padding-right: var(--wp--preset--spacing--10) !important;
		padding-left: var(--wp--preset--spacing--10) !important;
	}

	.nextora-primary-nav-portal__panel .wp-block-group.mega-menu-blogs,
	.nextora-primary-nav-portal__mount .wp-block-group.mega-menu-blogs {
		padding-right: var(--wp--preset--spacing--10) !important;
		padding-left: var(--wp--preset--spacing--10) !important;
	}
}

/* ==========================================================================
   Mobile Sticky Bottom CTA Bar (<= 767px)
   ========================================================================== */

.nextora-header-sticky-cta {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 9999;
	background-color: var(--nextora-header-button-bg, var(--nextora-button-bg, var(--wp--preset--color--primary, #35c6d5))) !important;
	box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.15);
}

.nextora-header-sticky-cta__btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 48px;
	padding: 12px 20px;
	padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
	background-color: var(--nextora-header-button-bg, var(--nextora-button-bg, var(--wp--preset--color--primary, #35c6d5))) !important;
	color: var(--nextora-header-button-color, var(--nextora-button-color, var(--wp--preset--color--base, #ffffff))) !important;
	font-family: var(--nextora-font-button, inherit);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	font-weight: var(--nextora-button-font-weight, 700);
	line-height: 1.25;
	text-align: center;
	text-transform: var(--nextora-button-text-transform, none);
	letter-spacing: normal;
	text-decoration: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.nextora-header-sticky-cta__btn:hover,
.nextora-header-sticky-cta__btn:focus-visible {
	background-color: var(--nextora-header-button-hover-bg, var(--nextora-button-hover-bg, color-mix(in srgb, var(--nextora-button-bg, var(--wp--preset--color--primary, #35c6d5)) 85%, #000))) !important;
	color: var(--nextora-header-button-hover-color, var(--nextora-button-hover-color, var(--wp--preset--color--base, #ffffff))) !important;
	outline: none;
}

.nextora-header-sticky-cta__btn:active {
	background-color: var(--nextora-header-button-hover-bg, var(--nextora-button-hover-bg, color-mix(in srgb, var(--nextora-button-bg, var(--wp--preset--color--primary, #35c6d5)) 75%, #000))) !important;
}

.nextora-header-block__cta-drawer,
.nextora-primary-nav-portal__mount .nextora-header-block__cta-drawer {
	display: none !important;
}

@media (max-width: 767.98px) {
	.nextora-header-block__utilities .nextora-header-block__cta-wrap,
	.nextora-header-block__cta-wrap {
		display: none !important;
	}

	.nextora-header-sticky-cta {
		display: flex !important;
	}

	body:has(.nextora-header-sticky-cta),
	body.has-sticky-donation-bar {
		padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)) !important;
	}
}

@media (min-width: 768px) {
	.nextora-header-sticky-cta {
		display: none !important;
	}
}