.jm-menu-icon,
.jm-header-action__icon {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	justify-content: center;
}

.jm-menu-icon {
	color: #3d6db5;
	height: 18px;
	margin-right: .4rem;
	width: 18px;
}

.jm-menu-icon svg {
	height: 18px;
	width: 18px;
}

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

.jm-header-action {
	align-items: center;
	background: rgba(237, 244, 255, .74);
	border: 1px solid #d8e4f5;
	border-radius: 999px;
	color: #334b6c;
	display: inline-flex;
	font-size: .78rem;
	font-weight: 700;
	gap: .35rem;
	justify-content: center;
	line-height: 1;
	min-height: 30px;
	padding: .35rem .65rem;
	position: relative;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.jm-header-action:hover {
	background: #fff;
	border-color: #9fbae0;
	color: #11285e;
}

.jm-header-action--logout {
	background: rgba(255, 247, 247, .82);
	border-color: #ead8dc;
	color: #7a3342;
}

.jm-header-action--logout:hover {
	background: #fff;
	border-color: #d9aeb8;
	color: #631f2e;
}

.jm-header-action:focus-visible {
	box-shadow: 0 0 0 3px rgba(61, 109, 181, .22);
	outline: 2px solid #245ca8;
	outline-offset: 2px;
}

.jm-header-action__icon svg {
	height: 17px;
	width: 17px;
}

.jm-header-cart-count {
	align-items: center;
	background: #245ca8;
	border: 2px solid #fff;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: .66rem;
	font-weight: 800;
	height: 20px;
	justify-content: center;
	line-height: 1;
	min-width: 20px;
	padding-inline: 3px;
}

#ast-desktop-header .ast-builder-menu-1,
#ast-desktop-header .ast-main-header-bar-alignment,
#ast-desktop-header .main-header-bar-navigation,
#ast-desktop-header .site-navigation,
#ast-desktop-header .main-navigation {
	height: 100%;
}

#ast-desktop-header .main-header-menu {
	box-sizing: border-box;
	padding-top: 34px;
	position: relative;
}

#ast-desktop-header .main-header-menu > .menu-item:not(.jm-header-commerce-actions) > .menu-link {
	font-size: .92rem;
	padding-left: 7px;
	padding-right: 7px;
}

#ast-desktop-header .jm-menu-icon {
	height: 17px;
	margin-right: .3rem;
	width: 17px;
}

#ast-desktop-header .jm-menu-icon svg {
	height: 17px;
	width: 17px;
}

#ast-desktop-header .jm-header-commerce-actions {
	height: 31px;
	position: absolute;
	right: 0;
	top: 1px;
	width: auto;
	z-index: 3;
}

#ast-desktop-header .jm-header-commerce-actions > .jm-header-actions {
	height: 31px;
}

#ast-desktop-header .jm-header-commerce-actions::before,
#ast-desktop-header .jm-header-commerce-actions::after {
	display: none;
}

#ast-mobile-header .jm-header-actions--mobile {
	flex: 0 0 auto;
	gap: .35rem;
	margin-left: auto;
	margin-right: .35rem;
}

#ast-mobile-header .jm-header-actions--mobile .jm-header-action {
	background: #f7faff;
	border-color: #d8e4f5;
	height: 42px;
	min-height: 42px;
	padding: 0;
	width: 42px;
}

#ast-mobile-header .jm-header-actions--mobile .jm-header-action__label {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

#ast-mobile-header .jm-header-actions--mobile .jm-header-cart-count {
	height: 18px;
	min-width: 18px;
	position: absolute;
	right: -4px;
	top: -5px;
}

#ast-mobile-header.jm-commerce-actions-mounted .jm-header-commerce-actions {
	display: none;
}

#ast-mobile-header:not(.jm-commerce-actions-mounted) .jm-header-commerce-actions {
	border-top: 1px solid #d8e4f5;
	padding: .8rem 1rem;
}

#ast-mobile-header:not(.jm-commerce-actions-mounted) .jm-header-commerce-actions .jm-header-actions {
	justify-content: flex-start;
}

@media (max-width: 1360px) and (min-width: 922px) {
	#ast-desktop-header .main-header-menu > .menu-item:not(.jm-header-commerce-actions) > .menu-link {
		font-size: .82rem;
		padding-left: 4px;
		padding-right: 4px;
	}

	#ast-desktop-header .jm-menu-icon {
		height: 15px;
		margin-right: .18rem;
		width: 15px;
	}

	#ast-desktop-header .jm-menu-icon svg {
		height: 15px;
		width: 15px;
	}
}

@media (max-width: 1100px) and (min-width: 922px) {
	#ast-desktop-header .main-header-menu > .menu-item:not(.jm-header-commerce-actions) > .menu-link {
		font-size: .78rem;
		padding-left: 3px;
		padding-right: 3px;
	}

	#ast-desktop-header .jm-menu-icon {
		height: 14px;
		margin-right: .12rem;
		width: 14px;
	}

	#ast-desktop-header .jm-menu-icon svg {
		height: 14px;
		width: 14px;
	}
}

@media (max-width: 480px) {
	#ast-mobile-header .ast-builder-grid-row {
		grid-template-columns: minmax(0, 1fr) auto;
		max-width: 100%;
		width: 100%;
	}

	#ast-mobile-header .site-header-primary-section-left,
	#ast-mobile-header .ast-builder-layout-element,
	#ast-mobile-header .ast-site-identity {
		min-width: 0;
	}

	#ast-mobile-header .site-logo-img img {
		max-width: 56px;
	}

	#ast-mobile-header .ast-site-identity {
		padding-block: 0;
	}

	#ast-mobile-header .site-title {
		font-size: 18px;
		line-height: 1.12;
	}

	#ast-mobile-header .site-title a {
		overflow-wrap: normal;
		word-break: normal;
	}

	#ast-mobile-header .site-description {
		display: none;
	}

	#ast-mobile-header .jm-header-actions--mobile .jm-header-action {
		height: 40px;
		min-height: 40px;
		width: 40px;
	}
}

@media (max-width: 400px) {
	#ast-mobile-header .site-logo-img img {
		max-width: 44px;
	}

	#ast-mobile-header .site-title {
		font-size: 15px;
	}

	#ast-mobile-header .jm-header-actions--mobile {
		gap: .2rem;
		margin-right: .2rem;
	}

	#ast-mobile-header .jm-header-actions--mobile .jm-header-action {
		height: 36px;
		min-height: 36px;
		width: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jm-header-action {
		transition: none;
	}
}
