.ln-header {
	font-family: "Plus Jakarta Sans", sans-serif;
	background-color: #FFFFFF;
	border-bottom: 1px solid #EDE6DC;
	position: relative;
	z-index: 100;
}

.ln-header--sticky {
	position: sticky;
	top: 0;
}

.ln-header__container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 16px 56px;
	display: flex;
	align-items: center;
	gap: 32px;
}

/* ── Brand ── */

.ln-header__brand {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	line-height: 1;
	flex: 0 0 auto;
}

.ln-header__logo {
	display: block;
}

.ln-header__logo-img {
	display: block;
	max-height: 52px;
	width: auto;
}

.ln-header__logo-text {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #2C1A0A;
}

.ln-header__tagline {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9A948E;
	margin-top: 3px;
}

/* ── Navigation ── */

.ln-header__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.ln-header__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 28px;
}

.ln-header__menu-item {
	position: relative;
}

/*
 * The mega panel is full-width (anchored to .ln-header, not this <li>) —
 * see `.ln-header__mega` below — so this item must not create its own
 * positioning context.
 */
.ln-header__menu-item--mega {
	position: static;
}

.ln-header__menu-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: #2C1A0A;
	text-decoration: none;
	padding: 10px 0;
	transition: color 0.2s ease;
}

.ln-header__menu-link:hover {
	color: #205247;
}

.ln-header__menu-item--active>.ln-header__menu-link {
	color: #205247;
}

.ln-header__chevron {
	font-size: 10px;
	transition: transform 0.2s ease;
}

.ln-header__menu-item--has-children:hover .ln-header__chevron {
	transform: rotate(180deg);
}

/*
 * The Services mega menu only exists on desktop/laptop widths — see the
 * `min-width: 1025px` block below. Hide its chevron indicator by default so
 * tablet/mobile users don't see a dropdown affordance that does nothing.
 */
.ln-header__menu-item--mega .ln-header__chevron {
	display: none;
}

/* ── Dropdown ── */

.ln-header__submenu {
	list-style: none;
	margin: 0;
	padding: 10px;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 8px);
	min-width: 220px;
	background-color: #FFFFFF;
	border-radius: 10px;
	box-shadow: 0 16px 40px rgba(44, 26, 10, 0.14);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 10;
}

.ln-header__menu-item--has-children:hover>.ln-header__submenu,
.ln-header__menu-item--has-children.is-open>.ln-header__submenu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.ln-header__submenu-item+.ln-header__submenu-item {
	margin-top: 2px;
}

.ln-header__submenu-link {
	display: block;
	padding: 9px 14px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 400;
	color: #5C5450;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ln-header__submenu-link:hover {
	background-color: #FAF6EF;
	color: #205247;
}

/*
 * ── Services mega menu — DESKTOP / LAPTOP ONLY ──
 *
 * Intentionally excluded from tablet & mobile: the panel stays `display:
 * none` until the min-width: 1025px breakpoint further down, at which
 * point it becomes a full-width panel (anchored to the header bar, not
 * the individual nav item) matching the "Our Services" page layout —
 * icon badge + category name + sub-services + "View Services" link per
 * column, with a consultation banner below.
 */

.ln-header__mega {
	display: none;
}

@media (min-width: 1025px) {
	.ln-header__menu-item--mega .ln-header__chevron {
		display: inline-block;
	}

	.ln-header__mega {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: 100%;
		max-width: 1400px;
		margin: auto;
		background-color: #FFFFFF;
		border-top: 1px solid #EDE6DC;
		border-radius: 0 0 16px 16px;
		box-shadow: 0 24px 48px rgba(44, 26, 10, 0.16);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
		z-index: 10;
	}

	.ln-header__menu-item--mega:hover>.ln-header__mega,
	.ln-header__menu-item--mega:focus-within>.ln-header__mega,
	.ln-header__menu-item--mega.ln-header__mega-active>.ln-header__mega {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		z-index: 20;
	}

	/*
	 * Only one full-width mega panel at a time — when Salon and Aesthetics
	 * both exist, their panels share the same visual slot under the header.
	 */
	.ln-header:has(.ln-header__menu-item--mega:hover) .ln-header__menu-item--mega:not(:hover):not(:focus-within)>.ln-header__mega,
	.ln-header:has(.ln-header__menu-item--mega.ln-header__mega-active) .ln-header__menu-item--mega:not(.ln-header__mega-active)>.ln-header__mega {
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none;
	}

	.ln-header__mega-inner {
		max-width: 1400px;
		margin: 0 auto;
		padding: 20px 40px 56px 48px;
	}

	/* ── Mega menu top heading (eyebrow + title + ornament) ── */

	.ln-header__mega-top {
		text-align: center;
		margin-bottom: 28px;
	}

	.ln-header__mega-eyebrow {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin-bottom: 3px;
	}

	.ln-header__mega-eyebrow-line {
		display: block;
		width: 24px;
		height: 1px;
		background-color: #205247;
		opacity: 0.9;
	}

	.ln-header__mega-eyebrow-text {
		font-family: "Plus Jakarta Sans", sans-serif;
		font-size: 12px;
		font-weight: 500;
		letter-spacing: 0.18em;
		text-transform: uppercase;
		color: #205247;
		white-space: nowrap;
	}

	.ln-header__mega-title {
		margin: 0;
		font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
		font-size: 26px;
		font-weight: 500;
		line-height: 1.2;
		letter-spacing: -0.01em;
		color: #42403f !important;
	}

	.ln-header__mega-ornament {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin-top: 7px;
	}

	.ln-header__mega-ornament-line {
		display: block;
		width: 36px;
		height: 1px;
		background-color: #205247;
	}

	.ln-header__mega-ornament-icon {
		font-size: 12px;
		color: #205247;
		line-height: 1;
	}

	/*
	 * Row 1 (5 categories) and row 2 (6 categories) are independent flex
	 * rows — not a single CSS Grid — so each row's columns split the same
	 * total width evenly, regardless of how many columns the other row
	 * has. See the 5-then-6 split in views/view.php.
	 */
	.ln-header__mega-grid {
		display: flex;
		flex-direction: column;
		gap: 28px;
	}

	.ln-header__mega-row {
		display: flex;
		align-items: flex-start;
		gap: 24px;
	}

	.ln-header__mega-col {
		display: flex;
		flex: 1 1 0;
		min-width: 0;
		flex-direction: column;
		align-items: flex-start;
		border-right: .5px solid #fbefe2;
	}

	.ln-header__mega-row .ln-header__mega-col:last-child {
		border-right: none;
	}

	.ln-header__mega-col-title {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 5px;
	}

	.ln-header__mega-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background-color: #eaeaea !important;
		color: #205247 !important;
		font-size: 16px;
	}

	.ln-header__mega-icon svg {
		width: 16px;
		height: 16px;
		fill: currentColor;
	}

	.ln-header__mega-heading {
		display: block;
		font-family: "Plus Jakarta Sans", sans-serif;
		font-size: 13px;
		font-weight: 700;
		line-height: 18px;
		letter-spacing: 0.02em;
		text-transform: uppercase;
		color: #205247 !important;
		/* margin: 0 0 12px; */
		padding-right: 15px;
	}


	.ln-header__mega-list-card {
		padding-left: 35px;
	}

	.ln-header__mega-list {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	.ln-header__mega-list li {
		display: flex;
		align-items: baseline;
		gap: 6px;
	}

	.ln-header__mega-list li::before {
		content: "\203A";
		color: #205247;
		font-weight: 600;
		line-height: 1.4;
	}

	.ln-header__mega-link {
		display: block;
		font-size: 13px;
		font-weight: 400;
		line-height: 1.4;
		color: #474d4d !important;
		text-decoration: none;
		transition: color 0.2s ease;
	}

	a.ln-header__mega-link:hover {
		color: #205247;
	}

	.ln-header__mega-viewall {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		margin-top: 14px;
		font-size: 13px;
		font-weight: 600;
		color: #205247;
		text-decoration: none;
		border-top: 1px solid #e5d8c9;
		padding-top: 5px;
	}

	.ln-header__mega-viewall i {
		font-size: 11px;
		transition: transform 0.2s ease;
	}

	.ln-header__mega-viewall:hover i {
		transform: translateX(3px);
	}

	/* ── Mega menu banner ── */

	.ln-header__mega-banner {
		display: flex;
		align-items: stretch;
		margin-top: 36px;
		background-color: #f0f0f0 !important;
		border-radius: 16px;
		overflow: hidden;
		max-height: 150px;
	}

	.ln-header__mega-banner-content {
		flex: 1 1 auto;
		min-width: 0;
		display: flex;
		align-items: center;
		gap: 24px;
		padding: 22px 32px;
	}

	.ln-header__mega-banner-icon {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 56px;
		height: 56px;
		border: 1.5px solid #205247;
		border-radius: 50%;
		color: #205247;
		font-size: 22px;
	}

	.ln-header__mega-banner-icon svg {
		height: 35px;
		fill: #205247;
	}

	.ln-header__mega-banner-text {
		/*
		 * Intentionally not `flex-grow`: growing here would push the
		 * divider/button/call group all the way to the far right edge
		 * (next to the image) instead of sitting right after the text.
		 */
		flex: 0 1 auto;
		min-width: 0;
		max-width: 280px;
	}

	.ln-header__mega-banner-heading {
		font-size: 17px;
		font-weight: 600;
		line-height: 1.35;
		color: #2C1A0A;
		margin: 0 0 4px;
	}

	.ln-header__mega-banner-subtext {
		font-size: 14px;
		font-weight: 400;
		color: #7A7168;
		margin: 0;
	}

	.ln-header__mega-banner-divider {
		flex: 0 0 auto;
		align-self: center;
		width: 1px;
		height: 70px;
		background-color: rgba(166, 112, 52, 0.25);
		margin: 0 30px;
	}

	.ln-header__mega-banner-actions {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		gap: 10px;
		flex-direction: column;
	}

	.ln-header__mega-banner-btn {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 12px 40px;
		border-radius: 8px;
		background-color: #205247;
		color: #FFFFFF;
		font-size: 14px;
		font-weight: 600;
		text-decoration: none;
		white-space: nowrap;
		transition: background-color 0.2s ease;
	}

	.ln-header__mega-banner-btn:hover {
		background-color: #205247;
	}

	.ln-header__mega-banner-call {
		flex: 0 0 auto;
		font-size: 14px;
		font-weight: 600;
		color: #205247;
		text-decoration: underline;
		white-space: nowrap;
	}

	.ln-header__mega-banner-image {
		flex: 0 0 auto;
		align-self: stretch;
		width: 220px;
		overflow: hidden;
	}

	.ln-header__mega-banner-image img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: top;
	}
}

/* ── Actions ── */

.ln-header__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 18px;
}

.ln-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 24px;
	border: 1px solid #205247;
	border-radius: 8px;
	background-color: #205247;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ln-header__cta:hover {
	background-color: #8C5A28;
	border-color: #8C5A28;
	color: #FFFFFF;
}

.ln-header__cta i,
.ln-header__cta svg {
	font-size: 15px;
	width: 15px;
	height: 15px;
	fill: currentColor;
}

/* ── Mobile toggle ── */

.ln-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex: 0 0 auto;
}

.ln-header__toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background-color: #2C1A0A;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.ln-header--nav-open .ln-header__toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ln-header--nav-open .ln-header__toggle span:nth-child(2) {
	opacity: 0;
}

.ln-header--nav-open .ln-header__toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
	.ln-header__container {
		padding: 14px 32px;
	}

	.ln-header__menu {
		gap: 20px;
	}
}

@media (max-width: 900px) {
	.ln-header__container {
		flex-wrap: wrap;
	}

	.ln-header__nav {
		order: 3;
		flex: 1 1 100%;
		justify-content: flex-start;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.ln-header--nav-open .ln-header__nav {
		max-height: 70vh;
		overflow-y: auto;
	}

	.ln-header__menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		width: 100%;
		padding: 12px 0 20px;
	}

	.ln-header__menu-item {
		width: 100%;
	}

	.ln-header__menu-link {
		width: 100%;
		padding: 12px 4px;
		justify-content: space-between;
	}

	.ln-header__submenu {
		position: static;
		transform: none;
		box-shadow: none;
		border-radius: 0;
		width: 100%;
		min-width: 0;
		padding: 0 0 0 16px;
		display: none;
		opacity: 1;
		visibility: visible;
	}

	.ln-header__menu-item--has-children.is-open .ln-header__submenu {
		display: block;
	}

	.ln-header__menu-item--has-children:hover .ln-header__chevron {
		transform: none;
	}

	.ln-header__menu-item--has-children.is-open .ln-header__chevron {
		transform: rotate(180deg);
	}

	.ln-header__toggle {
		display: flex;
	}

	.ln-header__actions {
		gap: 12px;
	}
}

@media (max-width: 600px) {
	.ln-header__container {
		padding: 12px 20px;
	}

	.ln-header__logo-text {
		font-size: 26px;
	}

	.ln-header__cta {
		font-size: 14px;
		padding: 10px 16px;
	}
}