.promodose-site-header {
	background: color-mix(in srgb, var(--wp--preset--color--base) 94%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 10%, transparent);
	color: var(--wp--preset--color--navy);
	max-width: 100vw;
	position: relative;
	z-index: 90;
}

.promodose-site-header.is-sticky-subtle,
.promodose-site-header.is-sticky-compact {
	backdrop-filter: blur(18px);
	position: sticky;
	top: 0;
}

.admin-bar .promodose-site-header.is-sticky-subtle,
.admin-bar .promodose-site-header.is-sticky-compact {
	top: 32px;
}

.promodose-header-main {
	box-shadow: var(--promodose-shadow-nav);
}

.promodose-header-inner {
	align-items: center;
	box-sizing: border-box;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: auto minmax(0, 1fr) auto;
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
	min-height: 86px;
	padding-inline: clamp(1rem, 3vw, 2rem);
}

.promodose-site-header.is-sticky-compact .promodose-header-inner {
	min-height: 70px;
}

.promodose-brand {
	align-items: center;
	color: inherit;
	display: inline-flex;
	gap: 0.65rem;
	text-decoration: none;
}

.promodose-brand__image {
	display: block;
	height: auto;
	max-height: 54px;
	max-width: 190px;
	width: auto;
}

.promodose-brand__icon {
	align-items: center;
	background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--turquoise));
	border-radius: 14px;
	color: var(--wp--preset--color--base);
	display: inline-flex;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.promodose-brand__icon svg,
.promodose-icon-button svg,
.promodose-header-cta svg,
.promodose-menu-toggle svg {
	display: block;
	fill: currentColor;
	height: 20px;
	width: 20px;
}

.promodose-brand__icon svg {
	height: 30px;
	width: 30px;
}

.promodose-brand__text {
	display: grid;
	line-height: 1.05;
}

.promodose-brand__name {
	color: var(--wp--preset--color--navy);
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: 0;
}

.promodose-brand__tagline {
	color: var(--wp--preset--color--muted);
	font-size: 0.74rem;
	font-weight: 600;
}

.promodose-header-nav {
	justify-self: center;
}

.promodose-header-menu,
.promodose-mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.promodose-header-menu {
	align-items: center;
	display: flex;
	gap: 0.25rem;
}

.promodose-header-menu a {
	align-items: center;
	border-radius: 999px;
	color: var(--wp--preset--color--navy);
	display: inline-flex;
	font-size: 0.94rem;
	font-weight: 700;
	min-height: 40px;
	padding: 0.45rem 0.8rem;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.promodose-header-menu a:hover,
.promodose-header-menu a:focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--turquoise) 13%, white);
	color: var(--wp--preset--color--primary);
	outline: none;
	transform: translateY(-1px);
}

.promodose-header-menu .menu-item-has-children {
	position: relative;
}

.promodose-header-menu .sub-menu {
	background: var(--wp--preset--color--base);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 10%, transparent);
	border-radius: 12px;
	box-shadow: var(--promodose-shadow-soft);
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 220px;
	opacity: 0;
	padding: 0.45rem;
	pointer-events: none;
	position: absolute;
	top: calc(100% + 0.5rem);
	transform: translateY(6px);
	transition: opacity 160ms ease, transform 160ms ease;
	visibility: hidden;
	z-index: 100;
}

.promodose-header-menu .menu-item-has-children:hover > .sub-menu,
.promodose-header-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
}

.promodose-header-menu .sub-menu a {
	border-radius: 8px;
	justify-content: flex-start;
	width: 100%;
}

.promodose-header-actions {
	align-items: center;
	display: flex;
	gap: 0.45rem;
	justify-content: flex-end;
}

.promodose-icon-button,
.promodose-menu-toggle {
	align-items: center;
	background: var(--wp--preset--color--base-2);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 12%, transparent);
	border-radius: 999px;
	color: var(--wp--preset--color--navy);
	display: inline-flex;
	height: 42px;
	justify-content: center;
	padding: 0;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
	width: 42px;
}

.promodose-icon-button:hover,
.promodose-icon-button:focus-visible,
.promodose-menu-toggle:hover,
.promodose-menu-toggle:focus-visible {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	outline: none;
	transform: translateY(-1px);
}

.promodose-header-cta {
	align-items: center;
	background: var(--wp--preset--color--turquoise);
	border-radius: 999px;
	color: var(--wp--preset--color--base);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 800;
	gap: 0.45rem;
	min-height: 42px;
	padding: 0.55rem 0.95rem;
	text-decoration: none;
	transition: background-color 160ms ease, transform 160ms ease;
}

.promodose-header-cta:hover,
.promodose-header-cta:focus-visible {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	outline: none;
	transform: translateY(-1px);
}

.promodose-menu-toggle {
	cursor: pointer;
	display: none;
}

.promodose-menu-toggle__close,
.promodose-site-header.is-mobile-open .promodose-menu-toggle__open {
	display: none;
}

.promodose-site-header.is-mobile-open .promodose-menu-toggle__close {
	display: inline-flex;
}

.promodose-mobile-panel {
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 10%, transparent);
	box-shadow: var(--promodose-shadow-soft);
	padding: 0 1rem 1.2rem;
}

.promodose-mobile-menu {
	display: grid;
	gap: 0.25rem;
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
}

.promodose-mobile-menu a {
	align-items: center;
	border-radius: 10px;
	color: var(--wp--preset--color--navy);
	display: flex;
	font-weight: 800;
	padding: 0.85rem 0.9rem;
	text-decoration: none;
}

.promodose-mobile-menu a:hover,
.promodose-mobile-menu a:focus-visible {
	background: var(--wp--preset--color--base-2);
	outline: none;
}

.promodose-mobile-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding-inline-start: 1rem;
}

.promodose-mobile-panel__actions {
	display: grid;
	gap: 0.6rem;
	margin: 1rem auto 0;
	max-width: var(--wp--style--global--wide-size);
}

.promodose-mobile-panel__actions a {
	background: var(--wp--preset--color--primary);
	border-radius: 10px;
	color: var(--wp--preset--color--base);
	font-weight: 800;
	padding: 0.85rem 1rem;
	text-align: center;
	text-decoration: none;
}

.promodose-mobile-panel__actions a:last-child {
	background: color-mix(in srgb, var(--wp--preset--color--turquoise) 12%, white);
	color: var(--wp--preset--color--navy);
}

.has-promodose-search-open {
	overflow: hidden;
}

.promodose-search-modal[hidden] {
	display: none;
}

.promodose-search-modal {
	bottom: 0;
	height: 100vh;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	width: 100vw;
	z-index: 200;
}

.promodose-search-modal__overlay {
	background: rgb(18 40 74 / 48%);
	backdrop-filter: blur(7px);
	inset: 0;
	position: absolute;
}

.promodose-search-modal__panel {
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--turquoise) 8%, transparent), transparent 44%),
		var(--wp--preset--color--base);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 10%, transparent);
	border-radius: 12px;
	box-shadow: 0 28px 80px rgb(18 40 74 / 24%);
	box-sizing: border-box;
	color: var(--wp--preset--color--navy);
	direction: rtl;
	inline-size: min(680px, calc(100vw - 2rem));
	inset-inline-end: auto;
	inset-inline-start: auto;
	left: 50%;
	padding: clamp(1.25rem, 3vw, 2rem);
	position: absolute;
	right: auto;
	text-align: start;
	top: clamp(5.5rem, 14vh, 8rem);
	transform: translateX(-50%);
}

.promodose-search-modal__close {
	align-items: center;
	background: var(--wp--preset--color--base-2);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 12%, transparent);
	border-radius: 999px;
	color: var(--wp--preset--color--navy);
	cursor: pointer;
	display: inline-flex;
	height: 38px;
	inset-block-start: 1rem;
	inset-inline-end: 1rem;
	justify-content: center;
	padding: 0;
	position: absolute;
	width: 38px;
}

.promodose-search-modal__close svg {
	fill: currentColor;
	height: 18px;
	width: 18px;
}

.promodose-search-modal__close:hover,
.promodose-search-modal__close:focus-visible {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	outline: none;
}

.promodose-search-modal__eyebrow {
	color: var(--wp--preset--color--turquoise);
	font-size: 0.9rem;
	font-weight: 900;
	margin: 0 0 0.45rem;
}

.promodose-search-modal__title {
	color: var(--wp--preset--color--navy);
	font-size: clamp(1.55rem, 3vw, 2.35rem);
	line-height: 1.18;
	margin: 0 0 1.2rem;
	padding-inline-end: 3rem;
}

.promodose-search-modal__form {
	margin: 0;
}

.promodose-search-modal__row {
	background: var(--wp--preset--color--base-2);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 12%, transparent);
	border-radius: 999px;
	display: grid;
	gap: 0.55rem;
	grid-template-columns: minmax(0, 1fr) minmax(130px, auto) auto;
	padding: 0.4rem;
}

.promodose-search-modal__input,
.promodose-search-modal__select {
	background: transparent;
	border: 0;
	color: var(--wp--preset--color--navy);
	font: inherit;
	font-weight: 800;
	min-height: 46px;
	outline: none;
}

.promodose-search-modal__input {
	padding-inline: 1rem;
}

.promodose-search-modal__select {
	background: var(--wp--preset--color--base);
	border-radius: 999px;
	cursor: pointer;
	padding-inline: 0.9rem;
}

.promodose-search-modal__submit {
	align-items: center;
	background: var(--wp--preset--color--turquoise);
	border: 0;
	border-radius: 999px;
	color: var(--wp--preset--color--base);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 900;
	gap: 0.45rem;
	justify-content: center;
	min-height: 46px;
	padding-inline: 1.15rem;
}

.promodose-search-modal__submit svg {
	fill: currentColor;
	height: 18px;
	width: 18px;
}

.promodose-search-modal__submit:hover,
.promodose-search-modal__submit:focus-visible {
	background: var(--wp--preset--color--primary);
	outline: none;
}

.promodose-search-modal__results {
	background: var(--wp--preset--color--base);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--navy) 10%, transparent);
	border-radius: 12px;
	box-shadow: 0 18px 44px rgb(18 40 74 / 12%);
	display: grid;
	gap: 0.45rem;
	margin-block-start: 0.75rem;
	max-height: 360px;
	overflow: auto;
	padding: 0.55rem;
}

.promodose-search-modal__results[hidden] {
	display: none;
}

.promodose-search-result {
	align-items: center;
	border-radius: 10px;
	color: var(--wp--preset--color--navy);
	display: grid;
	gap: 0.7rem;
	grid-template-columns: 54px minmax(0, 1fr) auto auto;
	padding: 0.55rem;
	text-decoration: none;
}

.promodose-search-result:hover,
.promodose-search-result:focus-visible {
	background: var(--wp--preset--color--base-2);
	outline: none;
}

.promodose-search-result img {
	aspect-ratio: 1;
	border-radius: 8px;
	object-fit: cover;
	width: 54px;
}

.promodose-search-result span {
	display: grid;
	gap: 0.1rem;
	min-width: 0;
}

.promodose-search-result strong,
.promodose-search-result small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.promodose-search-result small {
	color: var(--wp--preset--color--muted);
	font-weight: 750;
}

.promodose-search-result b {
	background: #f9b233;
	border-radius: 4px;
	color: #11182f;
	font-size: 0.74rem;
	padding: 0.25rem 0.4rem;
}

.promodose-search-result b.is-otc {
	background: var(--wp--preset--color--turquoise);
}

.promodose-search-result b.is-post {
	background: color-mix(in srgb, var(--wp--preset--color--purple) 14%, #fff);
	color: var(--wp--preset--color--purple);
}

.promodose-search-result em {
	color: var(--wp--preset--color--turquoise);
	font-style: normal;
	font-weight: 900;
}

.promodose-search-modal__empty {
	align-items: center;
	color: var(--wp--preset--color--muted);
	display: grid;
	gap: 0.9rem;
	font-weight: 800;
	margin: 0;
	padding: 1.15rem;
	text-align: center;
}

.promodose-search-modal__empty p {
	margin: 0;
}

.promodose-search-modal__empty-button {
	align-items: center;
	background: #25d366;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 900;
	justify-self: center;
	padding: 0.7rem 1.35rem;
	text-decoration: none;
}

.promodose-search-modal__empty-button:hover,
.promodose-search-modal__empty-button:focus-visible {
	background: #1fbe5d;
	color: #fff;
	outline: none;
}

@media (max-width: 1100px) {
	.promodose-header-inner {
		grid-template-columns: auto 1fr;
	}

	.promodose-header-nav {
		display: none;
	}

	.promodose-header-actions {
		justify-self: end;
	}

	.promodose-menu-toggle {
		display: inline-flex;
	}
}

@media (max-width: 680px) {
	.admin-bar .promodose-site-header.is-sticky-subtle,
	.admin-bar .promodose-site-header.is-sticky-compact {
		top: 46px;
	}

	.promodose-site-header,
	.promodose-header-main {
		max-width: 100vw;
		width: 100vw;
	}

	.promodose-header-inner {
		direction: ltr;
		display: flex;
		gap: 0.55rem;
		inline-size: 100%;
		justify-content: space-between;
		margin-inline: 0;
		max-inline-size: 100vw;
		min-height: 64px;
		overflow: hidden;
		padding-inline: 0.7rem;
		position: relative;
		width: 100vw;
	}

	.promodose-header-brand {
		direction: rtl;
		flex: 0 1 auto;
		inset-block-start: 50%;
		left: auto;
		max-inline-size: 145px;
		min-width: 0;
		order: 2;
		position: absolute;
		right: 0.7rem;
		transform: translateY(-50%);
	}

	.promodose-brand {
		gap: 0.45rem;
		max-width: 100%;
	}

	.promodose-brand__image {
		max-height: 38px;
		max-width: 145px;
	}

	.promodose-brand__icon {
		border-radius: 12px;
		height: 36px;
		width: 36px;
	}

	.promodose-brand__icon svg {
		height: 25px;
		width: 25px;
	}

	.promodose-brand__name {
		font-size: 1.08rem;
	}

	.promodose-brand__tagline {
		display: none;
	}

	.promodose-header-cta span {
		display: none;
	}

	.promodose-header-actions {
		direction: ltr;
		flex-direction: row-reverse;
		gap: 0.35rem;
		margin-inline-end: auto;
		order: 1;
	}

	.promodose-icon-button,
	.promodose-menu-toggle,
	.promodose-header-cta {
		flex: 0 0 38px;
		height: 38px;
		justify-content: center;
		min-height: 38px;
		padding: 0;
		width: 38px;
	}

	.promodose-header-cta {
		gap: 0;
	}

	.promodose-icon-button svg,
	.promodose-header-cta svg,
	.promodose-menu-toggle svg {
		height: 18px;
		width: 18px;
	}

	.promodose-header-actions .promodose-icon-button:first-child:not(.promodose-header-search-toggle) {
		display: none;
	}
}

@media (max-width: 420px) {
	.promodose-header-inner {
		padding-inline: 0.55rem;
	}

	.promodose-brand__name {
		font-size: 1rem;
		display: none;
	}

	.promodose-brand__icon {
		height: 32px;
		width: 32px;
	}

	.promodose-brand__icon svg {
		height: 22px;
		width: 22px;
	}

	.promodose-icon-button,
	.promodose-menu-toggle,
	.promodose-header-cta {
		flex-basis: 36px;
		height: 36px;
		min-height: 36px;
		width: 36px;
	}
}

@media (max-width: 680px) {
	.promodose-search-modal__panel {
		inline-size: min(100vw - 1rem, 520px);
		inset-block-start: 5rem;
		padding: 1rem;
	}

	.promodose-search-modal__title {
		font-size: 1.55rem;
		margin-block-end: 1rem;
	}

	.promodose-search-modal__row {
		border-radius: 14px;
		grid-template-columns: 1fr;
		padding: 0.55rem;
	}

	.promodose-search-modal__input,
	.promodose-search-modal__select,
	.promodose-search-modal__submit {
		border-radius: 10px;
		inline-size: 100%;
		min-height: 44px;
	}

	.promodose-search-result {
		grid-template-columns: 46px minmax(0, 1fr) auto;
	}

	.promodose-search-result img {
		width: 46px;
	}

	.promodose-search-result em {
		display: none;
	}
}
