/**
 * LUWG Header
 * Scoped, dependency-free. The old header is hidden only when this renders.
 */

.luwg-header {
	--luwg-purple: #5f0988;
	--luwg-purple-dark: #4a0669;
	--luwg-magenta: #ff0392;
	--luwg-pale: #fff6ff;
	--luwg-pink: #fee2ff;
	--luwg-line: #eadff0;
	--luwg-ink: #1e293b;
	--luwg-muted: #78716e;
	--luwg-max: 1280px;
	position: sticky;
	top: 0;
	z-index: 9999;
	background: #fff;
	border-bottom: 1px solid var(--luwg-line);
	color: var(--luwg-ink);
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	text-rendering: optimizeLegibility;
}

.luwg-header *,
.luwg-header *::before,
.luwg-header *::after {
	box-sizing: border-box;
}

.luwg-header [hidden] {
	display: none !important;
}

.luwg-header img {
	max-width: 100%;
	height: auto;
}

.luwg-header a {
	text-decoration: none;
}

.luwg-header :focus-visible {
	outline: 2px solid var(--luwg-magenta);
	outline-offset: 2px;
	border-radius: 4px;
}

.luwg-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	display: block;
}

/* ---------------------------------------------------------------- desktop */

.luwg-desktop__top {
	display: flex;
	align-items: center;
	gap: 26px;
	max-width: var(--luwg-max);
	margin: 0 auto;
	padding: 12px 32px;
	min-height: 72px;
}

.luwg-brand--desktop img {
	display: block;
	width: 200px;
}

.luwg-contact {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
	color: var(--luwg-muted);
	font-size: 12px;
}

.luwg-contact__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	color: inherit;
}

.luwg-contact__link:hover {
	color: var(--luwg-purple);
}

.luwg-contact__link .luwg-icon {
	width: 15px;
	height: 15px;
	color: var(--luwg-purple);
}

.luwg-socials {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: 4px;
}

.luwg-social {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--luwg-purple);
}

.luwg-social .luwg-icon {
	width: 15px;
	height: 15px;
}

.luwg-social:hover {
	background: var(--luwg-pale);
	color: var(--luwg-magenta);
}

.luwg-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: 16px;
}

.luwg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 18px;
	border-radius: 6px;
	border: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
}

.luwg-btn--primary {
	background: var(--luwg-purple);
	color: #fff;
}

.luwg-btn--primary:hover {
	background: var(--luwg-purple-dark);
	color: #fff;
}

.luwg-btn--ghost {
	background: #fff;
	border: 1.5px solid var(--luwg-purple);
	color: var(--luwg-purple);
}

.luwg-btn--ghost:hover {
	background: var(--luwg-pale);
	color: var(--luwg-purple);
}

#luwg-header .luwg-pmt .pmt-popup-trigger,
#luwg-header .luwg-pmt > a,
#luwg-header .luwg-pmt > button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 18px;
	border-radius: 6px;
	border: 1.5px solid var(--luwg-purple) !important;
	background: #fff !important;
	color: var(--luwg-purple) !important;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
}

#luwg-header .luwg-pmt .pmt-popup-trigger:hover {
	background: var(--luwg-pale) !important;
}

.luwg-nav {
	position: relative;
	border-top: 1px solid #f5ecf8;
}

.luwg-nav__list {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2px;
	max-width: var(--luwg-max);
	margin: 0 auto;
	padding: 0 24px;
	list-style: none;
}

.luwg-nav__item {
	position: static;
}

.luwg-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 50px;
	padding: 0 16px;
	border: 0;
	background: none;
	color: var(--luwg-purple);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.01em;
	cursor: pointer;
}

.luwg-nav__link .luwg-icon {
	width: 14px;
	height: 14px;
	transition: transform 0.18s ease;
}

.luwg-nav__link:hover,
.luwg-nav__link[aria-expanded="true"] {
	color: var(--luwg-magenta);
}

.luwg-nav__link[aria-expanded="true"] .luwg-icon {
	transform: rotate(180deg);
}

/* ----------------------------------------------------------------- panels */

.luwg-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 5;
	background: #fff;
	border-top: 1px solid var(--luwg-line);
	box-shadow: 0 24px 48px rgba(30, 41, 59, 0.14);
}

.luwg-panel__inner {
	max-width: var(--luwg-max);
	margin: 0 auto;
	padding: 28px 32px 34px;
}

.luwg-panel__row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 26px 30px;
}

.luwg-panel__row + .luwg-panel__row {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid #f5ecf8;
}

.luwg-panel__col {
	grid-column: span var(--span, 3);
	min-width: 0;
}

.luwg-panel__group + .luwg-panel__group {
	margin-top: 16px;
}

.luwg-panel__heading {
	display: block;
	margin: 0 0 7px;
	color: var(--luwg-purple);
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

a.luwg-panel__heading:hover {
	color: var(--luwg-magenta);
}

.luwg-panel__list {
	display: grid;
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.luwg-panel__list a {
	display: block;
	padding: 5px 0;
	color: var(--luwg-ink);
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.4;
}

.luwg-panel__list a:hover {
	color: var(--luwg-magenta);
}

/* ----------------------------------------------------------------- mobile */

.luwg-mobile {
	display: none;
}

.luwg-mobile__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	height: 64px;
	padding: 0 10px 0 16px;
}

.luwg-brand--mobile img {
	display: block;
	width: 150px;
}

.luwg-mobile__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.luwg-btn--book {
	height: 44px;
	padding: 0 16px;
}

.luwg-toggle {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--luwg-purple);
	cursor: pointer;
}

.luwg-toggle .luwg-icon {
	width: 24px;
	height: 24px;
}

.luwg-toggle:hover {
	background: var(--luwg-pale);
}

.luwg-drawer {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	background: #fff;
}

.luwg-drawer__head {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	padding: 0 10px 0 16px;
	border-bottom: 1px solid var(--luwg-line);
}

.luwg-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 4px 16px 16px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.luwg-acc {
	border-bottom: 1px solid #f3e8f7;
}

.luwg-acc__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 52px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--luwg-ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
}

.luwg-acc__btn .luwg-icon {
	width: 18px;
	height: 18px;
	color: var(--luwg-purple);
	transition: transform 0.18s ease;
}

.luwg-acc__btn[aria-expanded="true"] .luwg-icon {
	transform: rotate(180deg);
}

.luwg-acc__panel {
	padding: 0 0 12px;
}

.luwg-acc__group + .luwg-acc__group {
	margin-top: 10px;
}

.luwg-acc__heading {
	margin: 12px 0 2px;
	color: var(--luwg-purple);
	font-family: inherit;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.luwg-acc__link {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--luwg-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	border-radius: 4px;
}

.luwg-acc__link:hover {
	color: var(--luwg-magenta);
}

.luwg-acc__link--top {
	min-height: 52px;
	font-size: 16px;
	font-weight: 500;
	border-bottom: 1px solid #f3e8f7;
}

.luwg-drawer__foot {
	flex: 0 0 auto;
	padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--luwg-line);
	background: #fff;
}

.luwg-contact--drawer {
	display: grid;
	gap: 2px;
	margin: 0 0 12px;
	font-size: 13px;
}

.luwg-contact--drawer .luwg-contact__link {
	min-height: 44px;
}

.luwg-contact--drawer .luwg-socials {
	margin: 2px 0 0;
	gap: 8px;
}

.luwg-contact--drawer .luwg-social {
	width: 44px;
	height: 44px;
}

.luwg-drawer__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.luwg-drawer__actions .luwg-btn,
.luwg-drawer__actions .luwg-pmt .pmt-popup-trigger {
	width: 100%;
	height: 46px;
}

body.luwg-drawer-open {
	overflow: hidden;
}

/* ------------------------------------------------------------- responsive */

.luwg-header--mobile .luwg-desktop {
	display: none;
}

@media (max-width: 1024px) {
	.luwg-desktop__top {
		padding: 10px 20px;
		gap: 16px;
	}

	.luwg-brand--desktop img {
		width: 170px;
	}

	.luwg-contact {
		gap: 12px;
		font-size: 11px;
	}

	.luwg-social {
		width: 28px;
		height: 28px;
	}

	.luwg-actions {
		margin-left: 10px;
	}

	.luwg-btn,
	.luwg-pmt .pmt-popup-trigger {
		padding: 0 14px;
		font-size: 12.5px;
	}
}

@media (max-width: 900px) {
	.luwg-contact--desktop .luwg-contact__link--email,
	.luwg-contact--desktop .luwg-socials {
		display: none;
	}

	.luwg-panel__inner {
		padding: 22px 20px 26px;
	}

	.luwg-panel__row {
		gap: 20px 18px;
	}

	.luwg-panel__heading {
		font-size: 10px;
	}

	.luwg-panel__list a {
		font-size: 12px;
	}
}

@media (max-width: 768px) {
	.luwg-desktop {
		display: none;
	}

	.luwg-mobile {
		display: block;
	}

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

@media (min-width: 769px) {
	.luwg-header--mobile {
		display: none;
	}
}

/* Astra and Elementor style generic buttons and links. Scope with the header
   ID so the header keeps its own colours without fighting the cascade. */
#luwg-header .luwg-nav__link,
#luwg-header .luwg-toggle,
#luwg-header .luwg-acc__btn {
	background: transparent;
	border: 0;
	box-shadow: none;
	text-shadow: none;
}

#luwg-header .luwg-nav__link {
	color: var(--luwg-purple);
	border-radius: 0;
}

#luwg-header .luwg-nav__link:hover,
#luwg-header .luwg-nav__link[aria-expanded="true"] {
	color: var(--luwg-magenta);
}

#luwg-header .luwg-toggle {
	color: var(--luwg-purple);
}

#luwg-header .luwg-toggle:hover {
	background: var(--luwg-pale);
}

#luwg-header .luwg-btn--primary,
#luwg-header .luwg-btn--primary:hover {
	color: #fff;
}

#luwg-header .luwg-btn--ghost {
	color: var(--luwg-purple);
}

#luwg-header .luwg-contact__link {
	color: var(--luwg-muted);
}

#luwg-header .luwg-contact__link:hover {
	color: var(--luwg-purple);
}

#luwg-header .luwg-social {
	color: var(--luwg-purple);
}

#luwg-header .luwg-panel__list a {
	color: var(--luwg-ink);
}

#luwg-header .luwg-panel__list a:hover {
	color: var(--luwg-magenta);
}

#luwg-header .luwg-panel__heading {
	color: var(--luwg-purple);
}

#luwg-header .luwg-acc__btn,
#luwg-header .luwg-acc__link {
	color: var(--luwg-ink);
}

#luwg-header .luwg-acc__link:hover {
	color: var(--luwg-magenta);
}

#luwg-header .luwg-brand {
	border: 0;
	box-shadow: none;
}

#luwg-header .luwg-nav__list {
	list-style: none;
	margin: 0 auto;
	padding: 0 24px;
}

#luwg-header .luwg-drawer__actions .luwg-pmt,
#luwg-header .luwg-drawer__actions .luwg-pmt .pmt-app {
	display: block;
	width: 100%;
}

#luwg-header .luwg-drawer__actions .luwg-pmt .pmt-popup-trigger {
	width: 100% !important;
}

#luwg-header .luwg-contact--drawer .luwg-social .luwg-icon {
	width: 18px;
	height: 18px;
}

.luwg-header.is-scrolled {
	box-shadow: 0 6px 20px rgba(30, 41, 59, 0.08);
}

.admin-bar .luwg-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .luwg-header {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.luwg-header *,
	.luwg-header *::before,
	.luwg-header *::after {
		transition: none !important;
		animation: none !important;
	}
}
