/* LolaCore Site — header chrome (FSE). Tokens: lolacore-design-system §6.5 Nav-Menu Dropdown */

.lc-site-header {
	--lc-paper: #fbf8f2;
	--lc-paper-alt: #f4efe6;
	--lc-ink: #241828;
	--lc-text: #5a4458;
	--lc-plum: #6e2e5c;
	--lc-white: #ffffff;
	--lc-border: rgba(36, 24, 40, 0.08);
	--lc-border-strong: rgba(36, 24, 40, 0.1);
	--lc-divider: rgba(36, 24, 40, 0.06);
	--lc-nav-shadow: 0 4px 20px rgba(36, 24, 40, 0.1);

	background: var(--lc-paper) !important;
	border-bottom: 1px solid var(--lc-border);
	color: var(--lc-text);
}

/*
 * Sticky site chrome — mirrors production #site-header (WPCode snippet 116).
 * Founding-offer bar sticks at top:0; header shell sticks below via --lcfo-bar-h.
 *
 * FSE renders: .wp-site-blocks > header.wp-block-template-part > #site-header
 * Sticky MUST be on the template-part shell. An inner sticky element scrolls away
 * once its parent box (header-height only) leaves the viewport.
 */
:root {
	--lc-site-header-h: 80px;
	--lc-sticky-anchor-top: calc(var(--lcfo-bar-h, 0px) + var(--lc-site-header-h, 80px));
}

.wp-site-blocks > header.wp-block-template-part,
.elementor-location-header {
	position: sticky !important;
	top: var(--lcfo-bar-h, 0px) !important;
	z-index: 1000;
}

.wp-site-blocks > header.wp-block-template-part .lc-site-header,
.wp-site-blocks > header.wp-block-template-part #site-header {
	position: relative !important;
	top: auto !important;
}

.lc-site-header,
#site-header {
	position: relative;
	z-index: 1;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: box-shadow 0.3s ease;
}

.wp-site-blocks > header.wp-block-template-part.lc-scrolled .lc-site-header,
.wp-site-blocks > header.wp-block-template-part.lc-scrolled #site-header,
.lc-site-header.lc-scrolled,
#site-header.lc-scrolled {
	box-shadow: 0 2px 16px rgba(36, 24, 40, 0.06);
}

.lc-site-header .lc-header-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.lc-site-header .lc-header-top {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding-top: 12px;
	padding-bottom: 10px;
}

.lc-site-header .lc-header-util {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex-shrink: 0;
}

.lc-site-header .lc-site-logo {
	margin: 0;
	line-height: 0;
}

.lc-site-header .lc-site-logo img {
	display: block;
	width: 142px;
	max-width: 142px;
	height: auto;
}

.lc-site-header .lc-header-utility {
	line-height: 1;
}

.lc-site-header .lc-header-utility-menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lc-site-header .lc-header-utility-menu a {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lc-text);
	text-decoration: none;
	white-space: nowrap;
}

.lc-site-header .lc-header-utility-menu a:hover,
.lc-site-header .lc-header-utility-menu a:focus-visible {
	color: var(--lc-plum);
	outline: none;
}

.lc-site-header .lc-header-nav-row {
	width: 100%;
	border-top: 1px solid var(--lc-border);
	padding-top: 10px;
	padding-bottom: 12px;
}

.lc-site-header .lc-header-nav-row .lc-header-primary {
	display: flex;
	justify-content: center;
	width: 100%;
}

/* Classic primary nav (Polylang menus) — mirrors block navigation chrome */
.lc-site-header .lc-header-nav-row .lc-header-primary-nav {
	width: 100%;
	display: flex;
	justify-content: center;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 13px;
	font-weight: 500;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li {
	position: relative;
	margin: 0;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu a {
	color: var(--lc-text) !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 500;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li > a:hover,
.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li > a:focus-visible {
	color: var(--lc-plum) !important;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 220px;
	background: var(--lc-white) !important;
	border: 1px solid var(--lc-border-strong) !important;
	border-radius: 12px !important;
	box-shadow: var(--lc-nav-shadow) !important;
	list-style: none;
	margin: 0;
	padding: 8px 0;
	z-index: 100;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu li:hover > .sub-menu,
.lc-site-header .lc-header-nav-row .lc-header-primary-menu li:focus-within > .sub-menu {
	display: block;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	transform: none;
	margin-left: 4px;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu li {
	margin: 0;
	padding: 0;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu a {
	display: block;
	padding: 10px 16px;
	font-size: 13px;
	white-space: nowrap;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu a:hover,
.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu a:focus-visible {
	color: var(--lc-plum) !important;
	background: var(--lc-paper);
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu > li.menu-item-has-children {
	position: relative;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu li.menu-item-has-children:hover > .sub-menu,
.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu li.menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li.menu-item-has-children > .sub-menu {
	margin-top: 0;
	top: 100%;
	left: 0;
	right: auto;
	transform: none;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li.menu-item-has-children > .sub-menu::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	width: 100%;
	height: 8px;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	margin-left: 0;
	min-width: 240px;
	z-index: 1002;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu > li.menu-item-has-children > .sub-menu::before {
	content: "";
	position: absolute;
	top: 0;
	left: -8px;
	width: 8px;
	height: 100%;
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu > li:not(:last-child) {
	border-bottom: 1px solid var(--lc-divider);
}

.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu > li.menu-item-has-children:hover,
.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu > li.menu-item-has-children:focus-within {
	background-color: var(--lc-paper);
}

.lc-site-header .lc-header-nav-row .wp-block-navigation {
	width: 100%;
	justify-content: center;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation-item__content {
	color: var(--lc-text) !important;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 13px;
	font-weight: 500;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation-item__content:hover,
.lc-site-header .lc-header-nav-row .wp-block-navigation-item__content:focus-visible {
	color: var(--lc-plum) !important;
	background: transparent;
}

/* —— Primary nav dropdowns (lolacore.com / Elementor chrome parity) —— */

.lc-site-header .lc-header-nav-row .wp-block-navigation a,
.lc-site-header .lc-header-nav-row .wp-block-navigation a:hover,
.lc-site-header .lc-header-nav-row .wp-block-navigation a:focus,
.lc-site-header .lc-header-nav-row .wp-block-navigation a:focus-visible {
	text-decoration: none !important;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover {
	color: var(--lc-plum) !important;
	text-decoration: none !important;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container {
	background: var(--lc-white) !important;
	border: 1px solid var(--lc-border-strong) !important;
	border-radius: 12px !important;
	box-shadow: var(--lc-nav-shadow) !important;
	padding: 6px 0 !important;
	min-width: 220px;
	overflow: hidden;
	gap: 0 !important;
	list-style: none;
	color: var(--lc-text);
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item {
	width: 100%;
	margin: 0 !important;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	position: relative;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	box-sizing: border-box;
	padding: 10px 20px !important;
	margin: 0 !important;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--lc-text) !important;
	text-decoration: none !important;
	background: transparent;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item:not(.has-child) > .wp-block-navigation-item__content {
	width: 100%;
	flex: 1 1 100%;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container > .wp-block-navigation-item:not(:last-child) {
	border-bottom: 1px solid var(--lc-divider);
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child {
	box-sizing: border-box;
	padding-left: 20px;
	padding-right: 20px;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child > .wp-block-navigation-item__content {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 0 !important;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child:hover,
.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child:focus-within {
	background-color: var(--lc-paper);
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child:hover > .wp-block-navigation-item__content,
.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child:focus-within > .wp-block-navigation-item__content {
	background-color: transparent !important;
	color: var(--lc-plum) !important;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background-color: var(--lc-paper) !important;
	color: var(--lc-plum) !important;
	text-decoration: none !important;
	outline: none;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item__content[aria-current="page"] {
	background-color: var(--lc-paper-alt) !important;
	color: var(--lc-plum) !important;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child > .wp-block-navigation-item__content:hover,
.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child > .wp-block-navigation-item__content:focus-visible {
	background-color: transparent !important;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon {
	flex: 0 0 auto;
	align-self: center;
	padding: 10px 0;
	color: var(--lc-text);
	opacity: 1;
	line-height: 1;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-icon {
	margin-left: auto;
	margin-right: 0;
}

.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-submenu__toggle {
	padding: 0;
	margin: 0;
	min-height: 0;
	width: auto;
	height: auto;
	background: transparent;
	border: none;
	box-shadow: none;
}

@media (min-width: 782px) {
	.lc-site-header .lc-header-nav-row,
	.lc-site-header .lc-header-nav-row .lc-header-primary,
	.lc-site-header .lc-header-nav-row .lc-header-primary-nav,
	.lc-site-header .lc-header-nav-row .lc-header-primary-menu,
	.lc-site-header .lc-header-nav-row .wp-block-navigation,
	.lc-site-header .lc-header-nav-row .wp-block-navigation__container,
	.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container {
		overflow: visible !important;
	}

	.lc-site-header .lc-header-nav-row .wp-block-navigation__container > .wp-block-navigation-item.has-child {
		position: relative;
	}

	.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation-item.has-child {
		position: relative;
	}

	.lc-site-header .lc-header-nav-row .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container {
		left: 0;
		top: 100%;
		margin-top: 0;
		z-index: 1001;
	}

	.lc-site-header .lc-header-nav-row .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container::before {
		content: "";
		position: absolute;
		top: -8px;
		left: 0;
		width: 100%;
		height: 8px;
	}

	.lc-site-header .lc-header-nav-row .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
		left: 100% !important;
		top: 0 !important;
		right: auto !important;
		min-width: 240px;
		margin-left: 0 !important;
		z-index: 1002;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li.menu-item-has-children {
		position: relative;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li.menu-item-has-children > .sub-menu {
		z-index: 1001;
	}
}

/* Language dropdown (icon trigger) */
.lc-site-header .lc-header-lang--dropdown {
	position: relative;
	display: inline-flex;
	align-items: center;
	align-self: center;
	padding-left: 10px;
	margin-left: 2px;
	border-left: 1px solid var(--lc-border-strong);
	line-height: 1;
	z-index: 1025;
}

.lc-site-header button.lc-header-lang__toggle {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	color: var(--lc-text);
	cursor: pointer;
	line-height: 1;
	font: inherit;
}

.lc-site-header button.lc-header-lang__toggle:hover,
.lc-site-header button.lc-header-lang__toggle:focus-visible,
.lc-site-header .lc-header-lang--dropdown.is-open button.lc-header-lang__toggle {
	color: var(--lc-plum);
	outline: none;
}

.lc-site-header button.lc-header-lang__toggle:focus-visible {
	outline: 1px dotted var(--lc-plum);
	outline-offset: 3px;
}

.lc-site-header .lc-header-lang__icon svg {
	display: block;
	width: 14px;
	height: 14px;
}

.lc-site-header .lc-header-lang__chevron svg {
	display: block;
	width: 8px;
	height: 8px;
}

.lc-site-header .lc-header-lang__chevron {
	transition: transform 0.15s ease;
}

.lc-site-header .lc-header-lang--dropdown.is-open .lc-header-lang__chevron {
	transform: rotate(180deg);
}

.lc-site-header .lc-header-lang__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 1025;
	min-width: 168px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--lc-white);
	border: 1px solid var(--lc-border-strong);
	border-radius: 12px;
	box-shadow: var(--lc-nav-shadow);
}

.lc-site-header .lc-header-lang__menu[hidden] {
	display: none !important;
}

.lc-site-header .lc-header-lang__option {
	display: block;
	padding: 10px 20px;
	color: var(--lc-text);
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
	white-space: nowrap;
}

.lc-site-header .lc-header-lang__option:hover,
.lc-site-header .lc-header-lang__option:focus-visible {
	background: var(--lc-paper);
	color: var(--lc-plum);
	outline: none;
}

.lc-site-header .lc-header-lang__option--active {
	background: var(--lc-paper-alt);
	color: var(--lc-plum);
	font-weight: 600;
}

/* Primary nav — mobile burger + dropdown panel (lolacore.com / Elementor parity) */

.lc-site-header .lc-header-nav-toggle {
	display: none;
}

@media (max-width: 767px) {
	.lc-site-header .lc-header-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.lc-site-header .lc-site-logo img {
		width: 100px;
		max-width: 100px;
	}

	.lc-site-header .lc-header-nav-row {
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary {
		justify-content: flex-start;
		width: 100%;
	}

	.lc-site-header .lc-header-nav-row .wp-block-navigation {
		justify-content: flex-start;
	}

	.lc-site-header .lc-header-primary-nav-wrap {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.lc-site-header .lc-header-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: flex-start;
		gap: 8px;
		margin: 0;
		padding: 8px 10px;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: var(--lc-text);
		cursor: pointer;
		line-height: 1.2;
		font-family: "Plus Jakarta Sans", sans-serif;
		font-size: 13px;
		font-weight: 600;
	}

	.lc-site-header .lc-header-nav-toggle__label {
		display: inline;
		letter-spacing: 0.02em;
	}

	.lc-site-header .lc-header-nav-toggle:hover,
	.lc-site-header .lc-header-nav-toggle:focus-visible {
		color: var(--lc-plum);
		outline: none;
	}

	.lc-site-header .lc-header-nav-toggle:focus-visible {
		outline: 1px dotted var(--lc-plum);
		outline-offset: 3px;
	}

	.lc-site-header .lc-header-nav-toggle__icon--close {
		display: none;
	}

	.lc-site-header .lc-header-primary-nav-wrap.is-open .lc-header-nav-toggle__icon--open {
		display: none;
	}

	.lc-site-header .lc-header-primary-nav-wrap.is-open .lc-header-nav-toggle__icon--close {
		display: block;
	}

	.lc-site-header .lc-header-primary-nav {
		box-sizing: border-box;
		width: 100%;
		margin-top: 8px;
		padding: 8px 0;
		background: var(--lc-white);
		border: 1px solid var(--lc-border-strong);
		border-radius: 12px;
		box-shadow: var(--lc-nav-shadow);
	}

	.lc-site-header .lc-header-primary-nav-wrap.is-open .lc-header-primary-nav {
		display: block;
	}

	.lc-site-header .lc-header-primary-nav-wrap:not(.is-open) .lc-header-primary-nav {
		display: none;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 0;
		width: 100%;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li {
		width: 100%;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li > a,
	.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu a {
		display: block;
		padding: 12px 16px;
		white-space: normal;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu .menu-item-has-children > a {
		position: relative;
		padding-right: 40px;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu .menu-item-has-children > a::after {
		content: "";
		position: absolute;
		top: 50%;
		right: 18px;
		width: 8px;
		height: 8px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-60%) rotate(45deg);
		opacity: 0.65;
		transition: transform 0.15s ease;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu .menu-item-has-children.is-sub-open > a::after {
		transform: translateY(-30%) rotate(-135deg);
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li:not(:last-child) > a,
	.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu > li:not(:last-child) > a {
		border-bottom: 1px solid var(--lc-divider);
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu {
		display: none !important;
		position: static;
		top: auto;
		left: auto;
		transform: none;
		min-width: 0;
		margin: 0;
		padding: 0;
		background: var(--lc-paper) !important;
		border: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu .menu-item-has-children.is-sub-open > .sub-menu {
		display: block !important;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu .sub-menu {
		padding-left: 12px;
		background: var(--lc-paper-alt) !important;
	}

	.lc-site-header .lc-header-nav-row .lc-header-primary-menu .sub-menu > li.menu-item-has-children > .sub-menu::before,
	.lc-site-header .lc-header-nav-row .lc-header-primary-menu > li.menu-item-has-children > .sub-menu::before {
		display: none;
	}
}
