/**
 * Premium mobile navigation overlay.
 */

.trvl-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 1050;
	pointer-events: none;
}

.trvl-mobile-nav:not([hidden]) {
	pointer-events: auto;
}

.trvl-mobile-nav[hidden] {
	display: none !important;
}

.trvl-mobile-nav__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 5, 0);
	transition: background 0.28s ease;
}

.trvl-mobile-nav.is-open .trvl-mobile-nav__backdrop {
	background: rgba(5, 5, 5, 0.72);
	backdrop-filter: blur(3px);
}

.trvl-mobile-nav__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(100%, 20rem);
	max-width: 100%;
	padding: max(0.75rem, env(safe-area-inset-top)) 1.25rem max(1.25rem, env(safe-area-inset-bottom));
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	background: #0a0a0a;
	color: #fff;
	transform: translateX(102%);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.trvl-mobile-nav.is-open .trvl-mobile-nav__panel {
	transform: translateX(0);
}

.trvl-mobile-nav__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trvl-mobile-nav__logo .site-logo__mark {
	width: 2.5rem;
	height: 2.5rem;
}

.trvl-mobile-nav__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-sm, 6px);
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.trvl-mobile-nav__links {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.trvl-mobile-nav__links a,
.trvl-mobile-nav__locked {
	display: block;
	padding: 0.65rem 0;
	font-size: 1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
}

.trvl-mobile-nav__links a:hover,
.trvl-mobile-nav__links a:focus-visible {
	color: var(--lux-accent, #ff8a3d);
	outline: none;
}

.trvl-mobile-nav__locked {
	opacity: 0.45;
	cursor: not-allowed;
}

.trvl-mobile-nav__soon {
	display: inline-block;
	margin-right: 0.35rem;
	padding: 0.1rem 0.35rem;
	border-radius: var(--radius-sm, 6px);
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.08);
}

.trvl-mobile-nav__sep {
	margin: 1rem 0;
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trvl-mobile-nav__listbiz {
	display: block;
	width: 100%;
	padding: 0.85rem 1rem;
	border: none;
	border-radius: var(--radius-sm, 6px);
	background: var(--lux-accent, #ff8a3d);
	color: #111;
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
}

.trvl-mobile-nav__account {
	display: block;
	margin-top: 1rem;
	padding: 0.65rem 0;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
}

.trvl-lang-switch {
	display: inline-flex;
	gap: 0.35rem;
	padding: 0.2rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-sm, 6px);
	background: rgba(255, 255, 255, 0.04);
}

.trvl-lang-switch--header {
	margin-right: 0.35rem;
}

.trvl-lang-switch__btn {
	min-width: 2.25rem;
	padding: 0.35rem 0.5rem;
	border: none;
	border-radius: 4px;
	background: transparent;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
}

.trvl-lang-switch__btn.is-active {
	background: rgba(255, 138, 61, 0.2);
	color: var(--lux-accent, #ff8a3d);
}

.trvl-lang-switch__btn.is-unavailable {
	opacity: 0.45;
	cursor: not-allowed;
}

body.trvl-mobile-nav-open {
	overflow: hidden;
}

/* Legacy inline mobile nav — hide when overlay exists */
.site-nav--mobile {
	display: none !important;
}

@media (min-width: 1024px) {
	.trvl-mobile-nav {
		display: none !important;
	}
}
