/* NoirMusk header icons: search, account, cart */

.site-header--default {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.site-header--default .container {
	height: 100px;
}

/* Center the main nav between the logo and the icons (desktop only) */
@media (min-width: 1025px) {
	.site-header--default .site-branding {
		flex: 0 0 auto;
	}
	.site-header--default .site-navigation {
		flex: 1 1 auto;
		margin-left: 0;
	}
	.site-header--default .site-navigation ul.menu,
	.site-header--default .site-navigation div.menu > ul {
		justify-content: center;
	}

	/* Widen the header container so it lines up with the hero's left edge */
	.site-header--default .container {
		width: auto;
		max-width: 1620px;
		padding-left: 80px;
		padding-right: 80px;
		box-sizing: border-box;
	}
}

.site-header-icons {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 0 0 auto;
	margin-left: 24px;
}
.site-header-icons__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	color: #222;
	cursor: pointer;
	line-height: 0;
	transition: color 0.2s ease;
}
.site-header-icons__btn:hover {
	color: #a3703f;
}
.site-header-icons__count {
	position: absolute;
	top: -7px;
	right: -9px;
	min-width: 16px;
	height: 16px;
	padding: 0 3px;
	border-radius: 50%;
	background: #1a1a1a;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

/* Search panel */
.site-header-search-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	box-shadow: 0 12px 24px rgba(0,0,0,0.08);
	border-top: 1px solid #eee;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.25s ease, opacity 0.2s ease;
	z-index: 999;
}
.site-header-search-panel.is-open {
	max-height: 140px;
	opacity: 1;
}
.site-header-search-panel__inner {
	max-width: 640px;
	margin: 0 auto;
	padding: 28px 20px;
	display: flex;
	align-items: center;
	gap: 16px;
}
.site-header-search-panel__inner form[role="search"],
.site-header-search-panel__inner .searchform {
	flex: 1 1 auto;
	display: flex;
}
.site-header-search-panel__inner form[role="search"] > div,
.site-header-search-panel__inner .searchform > div {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 10px;
}
.site-header-search-panel__inner .search-field,
.site-header-search-panel__inner input[type="text"],
.site-header-search-panel__inner input[name="s"] {
	flex: 1 1 auto;
	min-width: 0;
	border: none !important;
	border-bottom: 1px solid #ccc !important;
	border-radius: 0 !important;
	padding: 8px 2px !important;
	font-size: 18px;
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
	height: auto !important;
	margin: 0 !important;
}
.site-header-search-panel__inner .search-field:focus,
.site-header-search-panel__inner input[type="text"]:focus,
.site-header-search-panel__inner input[name="s"]:focus {
	border-bottom-color: #1a1a1a !important;
}
.site-header-search-panel__inner .search-submit,
.site-header-search-panel__inner input[type="submit"],
.site-header-search-panel__inner #searchsubmit {
	flex: 0 0 auto;
	background: #1a1a1a !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 !important;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 10px 20px !important;
	height: auto !important;
	width: auto !important;
	margin: 0 !important;
	cursor: pointer;
}
.site-header-search-panel__inner .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
.site-header-search-panel__close {
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 0 4px;
}
.site-header-search-panel__close:hover {
	color: #1a1a1a;
}

.site-header--default .container {
	position: relative;
}

@media (max-width: 1024px) {
	.site-header-icons {
		order: 1;
		margin-left: 0;
		margin-right: 16px;
		gap: 14px;
	}
	.site-header--default .site-navigation {
		order: 2;
	}
}
@media (max-width: 767px) {
	.site-header-search-panel__inner {
		padding: 20px 16px;
	}
	.site-header-search-panel__inner .search-field {
		font-size: 15px;
	}
}

/* Logo: stacked (monogram above "NOIR MUSK"), with tighter, larger lettering so the name stays readable */
html body .site-header--default .site-branding img {
	width: auto;
	max-width: none;
	height: 66px;
}

/* Footer logo (same artwork as the header, larger) */
html body .noirmusk-footer .noirmusk-footer__logo {
	display: inline-block;
	margin: 0 0 16px;
	line-height: 0;
}
html body .noirmusk-footer .noirmusk-footer__logo img {
	display: block;
	width: auto;
	max-width: none;
	height: 100px;
}
