.emerald-header {
	position: relative;
	z-index: 30;
	border-bottom: 1px solid var(--emerald-header-border, var(--emerald-border));
	background: var(--emerald-header-bg);
	color: var(--emerald-header-text, var(--emerald-text));
}

.emerald-sticky-header-enabled .emerald-header {
	position: sticky;
	top: 0;
}

.emerald-header-desktop {
	display: grid;
	grid-template-columns: minmax(360px, 1fr) auto minmax(280px, 1fr);
	align-items: start;
	gap: clamp(2rem, 5vw, 5rem);
	min-height: 156px;
	padding-top: 0.95rem;
	padding-bottom: 1.1rem;
}

.emerald-header-left {
	display: grid;
	gap: 0.85rem;
	justify-items: start;
}

.emerald-primary-nav,
.emerald-artist-nav,
.emerald-support-nav {
	font-family: var(--emerald-nav-font);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.emerald-menu,
.emerald-menu ul,
.emerald-artist-menu,
.emerald-support-menu {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.1vw, 1.7rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.emerald-menu a,
.emerald-artist-menu a,
.emerald-support-menu a,
.emerald-support-nav > a {
	color: var(--emerald-header-text, var(--emerald-text));
	text-decoration: none;
	white-space: nowrap;
}

.emerald-menu a:hover,
.emerald-menu a:focus,
.emerald-artist-menu a:hover,
.emerald-artist-menu a:focus,
.emerald-support-menu a:hover,
.emerald-support-menu a:focus,
.emerald-support-nav > a:hover,
.emerald-support-nav > a:focus {
	color: var(--emerald-header-hover, var(--emerald-accent));
}

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

.emerald-menu .sub-menu {
	position: absolute;
	top: calc(100% + 0.65rem);
	left: 0;
	z-index: 40;
	display: grid;
	min-width: 220px;
	gap: 0;
	border: 1px solid var(--emerald-header-border, var(--emerald-border));
	border-radius: 8px;
	background: var(--emerald-header-bg);
	padding: 0.55rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

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

.emerald-menu .sub-menu a {
	display: block;
	padding: 0.65rem 0.7rem;
}

.emerald-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--emerald-header-text, var(--emerald-primary));
	font-family: var(--emerald-heading-font);
	font-size: clamp(1.7rem, 2.4vw, 2.35rem);
	font-weight: 700;
	letter-spacing: 0.35em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.emerald-logo-desktop {
	align-self: start;
	margin-top: 0.05rem;
}

.emerald-logo-image {
	width: auto;
	max-width: min(240px, 34vw);
	max-height: 58px;
	object-fit: contain;
}

.emerald-header-right {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	gap: clamp(1rem, 2vw, 1.5rem);
	padding-top: 0.15rem;
}

.emerald-header-icon-link,
.emerald-mobile-toggle,
.emerald-mobile-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--emerald-header-text, var(--emerald-text));
	padding: 0;
	text-decoration: none;
}

.emerald-header-icon-link:hover,
.emerald-header-icon-link:focus,
.emerald-mobile-toggle:hover,
.emerald-mobile-toggle:focus,
.emerald-mobile-close:hover,
.emerald-mobile-close:focus {
	background: transparent;
	color: var(--emerald-header-hover, var(--emerald-accent));
}

.emerald-header-icon-link svg,
.emerald-mobile-toggle svg,
.emerald-search-icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.emerald-header-icon-image {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.emerald-header-search {
	width: min(100%, 360px);
}

.emerald-header-search-form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.emerald-header-search-form .emerald-search-icon {
	position: absolute;
	left: 0;
	display: inline-flex;
	color: var(--emerald-header-text, var(--emerald-text));
	pointer-events: none;
}

.emerald-header-search-form input[type="search"] {
	min-height: 34px;
	border: 0;
	border-bottom: 1px solid var(--emerald-header-border, var(--emerald-border));
	border-radius: 0;
	background: transparent;
	padding: 0.2rem 0 0.2rem 2rem;
	color: var(--emerald-header-text, var(--emerald-text));
	font-size: 0.9rem;
}

.emerald-header-search-form input[type="search"]::placeholder {
	color: var(--emerald-muted);
}

.emerald-header-search-form input[type="search"]:focus {
	border-bottom-color: var(--emerald-header-border, var(--emerald-border));
	outline-offset: 5px;
}

.emerald-header-mobile,
.emerald-mobile-overlay,
.emerald-mobile-drawer {
	display: none;
}

.emerald-mobile-top {
	position: relative;
	display: grid;
	grid-template-columns: 88px 1fr 88px;
	align-items: center;
	min-height: 64px;
}

.emerald-logo-mobile {
	justify-self: center;
	font-size: clamp(1.45rem, 7vw, 2rem);
	letter-spacing: 0.3em;
}

.emerald-mobile-actions {
	display: flex;
	justify-self: end;
}

.emerald-mobile-search {
	padding-bottom: 0.6rem;
}

.emerald-mobile-search .emerald-header-search-form {
	max-width: 100%;
}

.emerald-mobile-search .emerald-header-search-form input[type="search"] {
	border-bottom-color: var(--emerald-header-border, var(--emerald-border));
}

.emerald-mobile-search .emerald-header-search-form input[type="search"]::placeholder {
	color: var(--emerald-muted);
}

.emerald-mobile-artist-row {
	overflow: hidden;
	border-top: 1px solid transparent;
}

.emerald-mobile-artist-row .emerald-container {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.emerald-mobile-artist-row .emerald-artist-menu {
	width: max-content;
	min-width: 100%;
	justify-content: center;
	gap: clamp(1.2rem, 6vw, 2.4rem);
	padding: 0.45rem 0 0.9rem;
}

.emerald-mobile-overlay {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(47, 47, 47, 0.22);
}

.emerald-mobile-drawer {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 90;
	width: min(86vw, 380px);
	overflow-y: auto;
	background: var(--emerald-header-bg);
	color: var(--emerald-header-text, var(--emerald-text));
	padding: 1rem;
	transform: translateX(-100%);
	transition: transform 180ms ease;
}

.emerald-mobile-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--emerald-header-border, var(--emerald-border));
}

.emerald-mobile-close {
	font-size: 2rem;
	line-height: 1;
}

.emerald-mobile-menu-list,
.emerald-mobile-menu-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.emerald-mobile-menu-list {
	padding-top: 1rem;
}

.emerald-mobile-menu-list a,
.emerald-mobile-submenu-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 46px;
	border: 0;
	border-radius: 0;
	border-bottom: 1px solid var(--emerald-header-border, var(--emerald-border));
	background: transparent;
	color: var(--emerald-header-text, var(--emerald-text));
	padding: 0.8rem 0;
	font-family: var(--emerald-nav-font);
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-align: left;
	text-decoration: none;
	text-transform: uppercase;
}

.emerald-mobile-submenu {
	display: none;
	padding: 0.45rem 0 0.8rem 1rem;
}

.emerald-mobile-submenu-toggle[aria-expanded="true"] + .emerald-mobile-submenu {
	display: block;
}

.emerald-mobile-submenu a,
.emerald-mobile-menu-list .sub-menu a {
	min-height: 38px;
	border-bottom: 0;
	color: var(--emerald-muted);
	font-size: 0.78rem;
}

body.emerald-mobile-menu-open {
	overflow: hidden;
}

body.emerald-mobile-menu-open .emerald-mobile-overlay,
body.emerald-mobile-menu-open .emerald-mobile-drawer {
	display: block;
}

body.emerald-mobile-menu-open .emerald-mobile-drawer {
	transform: translateX(0);
}

@media (max-width: 980px) {
	.emerald-header-desktop {
		display: none;
	}

	.emerald-header-mobile {
		display: block;
	}
}

@media (max-width: 460px) {
	.emerald-mobile-top {
		grid-template-columns: 54px 1fr 88px;
	}

	.emerald-logo-mobile {
		font-size: 1.35rem;
		letter-spacing: 0.24em;
	}

	.emerald-header-icon-link,
	.emerald-mobile-toggle {
		width: 40px;
		height: 40px;
	}
}
