/* =========================================
   LIVEGALERIE - MENU V2
   ========================================= */

#menu.lg-menu-v2 {
	position: relative;
	margin: 0;
	padding: 0;
	background: linear-gradient(180deg, #efefef 0%, #e4e4e4 100%);
	border-top: 1px solid rgba(255,255,255,0.75);
	border-bottom: 1px solid #cfcfcf;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.65),
		0 1px 0 rgba(0,0,0,0.03);
	z-index: 10;
}

#menu.lg-menu-v2 .lg-menu-v2__list {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 18px;
	box-sizing: border-box;
	list-style: none;
	display: flex;
	justify-content: flex-end;
	align-items: stretch;
	gap: 0;
}

#menu.lg-menu-v2 .lg-menu-v2__bar {
	display: none;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 6px 10px;
	box-sizing: border-box;
}

#menu.lg-menu-v2 .lg-mobile-menu-btn {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 40px;
	min-height: 38px;
	padding: 0 10px;
	border: 1px solid #c7aa69;
	border-radius: 10px;
	background: #fffaf0;
	color: #173f70;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(70, 45, 12, 0.10);
}

#menu.lg-menu-v2 .lg-mobile-menu-btn__bar {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

#menu.lg-menu-v2 .lg-mobile-menu-btn__label {
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

#menu.lg-menu-v2 .lg-menu-v2__item {
	position: relative;
	display: flex;
	align-items: stretch;
	flex: 0 0 auto;
}

#menu.lg-menu-v2 .lg-menu-v2__item + .lg-menu-v2__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 18px;
	background: rgba(120, 120, 120, 0.22);
}

#menu.lg-menu-v2 .lg-menu-v2__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	text-decoration: none;
	color: #0f3f7d;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	transition:
		color 0.18s ease,
		background-color 0.18s ease;
}

#menu.lg-menu-v2 .lg-menu-v2__link:hover {
	color: #193f73;
	background: rgba(255,255,255,0.20);
	text-decoration: none;
}

#menu.lg-menu-v2 .lg-menu-v2__link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 3px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(180deg, #d1a24a 0%, #b68125 100%);
	opacity: 0;
	transform: scaleX(0.65);
	transform-origin: center;
	transition:
		opacity 0.18s ease,
		transform 0.18s ease;
}

#menu.lg-menu-v2 .lg-menu-v2__link:hover::after,
#menu.lg-menu-v2 .lg-menu-v2__link.is-active::after {
	opacity: 1;
	transform: scaleX(1);
}

#menu.lg-menu-v2 .lg-menu-v2__link.is-active {
	color: #0b376d;
	background: rgba(255,255,255,0.16);
}

#menu.lg-menu-v2 .lg-menu-v2__link--secondary {
	color: #29507f;
	font-size: 14px;
	font-weight: 500;
	opacity: 0.78;
}

#menu.lg-menu-v2 .lg-menu-v2__link--secondary:hover,
#menu.lg-menu-v2 .lg-menu-v2__link--secondary.is-active {
	opacity: 1;
}

#menu.lg-menu-v2 .lg-menu-v2__link--secondary::after {
	left: 16px;
	right: 16px;
}

@media (max-width: 900px) {
	#menu.lg-menu-v2 .lg-menu-v2__list {
		justify-content: center;
		flex-wrap: wrap;
		row-gap: 0;
	}

	#menu.lg-menu-v2 .lg-menu-v2__item + .lg-menu-v2__item::before {
		height: 14px;
	}

	#menu.lg-menu-v2 .lg-menu-v2__link {
		min-height: 36px;
		padding: 0 14px;
		font-size: 15px;
	}

	#menu.lg-menu-v2 .lg-menu-v2__link--secondary {
		font-size: 14px;
	}
}

@media (max-width: 760px) {
	#menu.lg-menu-v2 .lg-menu-v2__bar {
		display: flex;
		justify-content: flex-end;
	}

	#menu.lg-menu-v2 .lg-menu-v2__toggle {
		display: inline-flex;
		flex-direction: column;
		gap: 4px;
	}

	#menu.lg-menu-v2 .lg-mobile-menu-btn__label {
		display: none;
	}

	#menu.lg-menu-v2 .lg-menu-v2__list {
		position: absolute;
		top: calc(100% - 1px);
		right: 10px;
		z-index: 490;
		display: none;
		width: min(270px, calc(100vw - 20px));
		max-width: none;
		padding: 7px;
		justify-content: flex-start;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		overflow: visible;
		background: #fffdf8;
		border: 1px solid #cfcfcf;
		border-radius: 12px;
		box-shadow: 0 12px 28px rgba(20, 30, 45, 0.20);
	}

	#menu.lg-menu-v2 .lg-menu-v2__list.is-open {
		display: flex;
	}

	#menu.lg-menu-v2 .lg-menu-v2__item + .lg-menu-v2__item::before {
		display: none;
	}

	#menu.lg-menu-v2 .lg-menu-v2__link {
		justify-content: flex-start;
		min-height: 40px;
		padding: 0 12px;
		border-radius: 9px;
		font-size: 14px;
		white-space: nowrap;
	}

	#menu.lg-menu-v2 .lg-menu-v2__link:hover,
	#menu.lg-menu-v2 .lg-menu-v2__link.is-active {
		background: #f4ecd9;
	}

	#menu.lg-menu-v2 .lg-menu-v2__link::after {
		display: none;
	}

	#menu.lg-menu-v2 .lg-menu-v2__link--secondary {
		font-size: 13px;
	}
}
