/* =========================================
   LIVEGALERIE - ENTETE SMALL
   ========================================= */

#entete_small.lg-header-small-v2 {
	position: relative;
	z-index: 60;
	margin: 0;
	padding: 0;
	background: linear-gradient(180deg, #f7f0de 0%, #efe4c9 100%);
	border-bottom: 1px solid #cdb07a;
	box-shadow:
		0 3px 10px rgba(86, 62, 25, 0.06),
		inset 0 1px 0 rgba(255,255,255,0.55);
	overflow: visible;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding-left: 18px;
	padding-right: 18px;
	box-sizing: border-box;
}

/* =========================================
   TOP MENU
   ========================================= */

#entete_small.lg-header-small-v2 .lg-header-small-v2__topbar {
	position: absolute;
	top: 2px;
	left: 0;
	right: 0;
	z-index: 80;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__topbar .lg-header-small-v2__wrap {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

#entete_small.lg-header-small-v2 .lg-top-menu {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
	font-size: 12px;
	line-height: 1.1;
}

#entete_small.lg-header-small-v2 .lg-top-menu li {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0 7px;
}

#entete_small.lg-header-small-v2 .lg-top-menu li:first-child {
	padding-left: 0;
}

#entete_small.lg-header-small-v2 .lg-top-menu li + li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 11px;
	background: rgba(120, 97, 57, 0.28);
}

#entete_small.lg-header-small-v2 .lg-top-menu a {
	font-size: 12px;
	color: #173f70;
	text-decoration: underline;
}

#entete_small.lg-header-small-v2 .lg-top-menu a:hover {
	color: #9b6912;
	text-decoration: none;
}

#entete_small.lg-header-small-v2 .lg-top-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	margin-left: 5px;
	padding: 0 6px;
	border-radius: 999px;
	background: linear-gradient(180deg, #f7edd5 0%, #e6d3a4 100%);
	border: 1px solid #c7aa69;
	color: #6a4a17;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.72),
		0 1px 3px rgba(90,65,20,.10);
	vertical-align: middle;
}

#entete_small.lg-header-small-v2 .lg-top-menu__welcome {
	color: #5f4a1f;
	font-size: 12px;
	white-space: nowrap;
}

#entete_small.lg-header-small-v2 .lg-top-menu__welcome a {
	color: #173f70;
	text-decoration: underline;
}

#entete_small.lg-header-small-v2 .lg-mobile-menu-btn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 38px;
	padding: 0;
	border: 1px solid #d1bd8f;
	border-radius: 12px;
	background: linear-gradient(180deg, #fffdf8 0%, #f4ecd9 100%);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.76),
		0 2px 8px rgba(86,62,25,.10);
	cursor: pointer;
}

#entete_small.lg-header-small-v2 .lg-mobile-menu-btn__bar {
	display: block;
	width: 20px;
	height: 3px;
	margin: 2px 0;
	border-radius: 999px;
	background: #173f70;
}

#entete_small.lg-header-small-v2 .lg-mobile-menu-btn__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* =========================================
   LANGUES
   ========================================= */

#entete_small.lg-header-small-v2 .lg-top-lang {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	margin-left: 6px;
}

#entete_small.lg-header-small-v2 .lg-lang-dropdown {
	position: relative;
	display: inline-block;
	z-index: 300;
}

#entete_small.lg-header-small-v2 .lg-lang-current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 26px;
	padding: 0;
	background: #fffdf8;
	border: 1px solid #cfbf97;
	border-radius: 7px;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

#entete_small.lg-header-small-v2 .lg-lang-current img {
	display: block;
	width: 22px;
	height: auto;
}

#entete_small.lg-header-small-v2 .lg-lang-menu {
	position: absolute;
	top: 100%;
	right: 0;
	display: none;
	min-width: 150px;
	padding: 12px 0 6px;
	background: #fffdf9;
	border: 1px solid #deceb0;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
	z-index: 999;
}

#entete_small.lg-header-small-v2 .lg-lang-dropdown:hover .lg-lang-menu,
#entete_small.lg-header-small-v2 .lg-lang-dropdown:focus-within .lg-lang-menu {
	display: block;
}

#entete_small.lg-header-small-v2 .lg-lang-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	text-decoration: none;
	color: #4b3b1a;
	font-size: 14px;
	white-space: nowrap;
}

#entete_small.lg-header-small-v2 .lg-lang-menu a img {
	width: 18px;
	height: auto;
	flex: 0 0 auto;
}

#entete_small.lg-header-small-v2 .lg-lang-menu a:hover {
	background: #f6f1e6;
}

/* =========================================
   LIGNE PRINCIPALE
   ========================================= */

#entete_small.lg-header-small-v2 .lg-header-small-v2__main {
	position: relative;
	z-index: 30;
	padding: 0;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__row {
	min-height: 62px;
	display: grid;
	grid-template-columns: 270px 500px minmax(0, 1fr);
	align-items: center;
	column-gap: 22px;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__logo-link img {
	display: block;
	width: auto;
	height: auto;
	max-height: 44px;
	max-width: 100%;
	background: transparent !important;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__center {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__slogan {
	font-size: 15px;
	line-height: 1.15;
	font-weight: 700;
	color: #2c2214;
	text-align: center;
	max-width: 560px;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__stats {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	max-width: 100%;
	padding: 5px 12px;
	box-sizing: border-box;
	background: linear-gradient(180deg, #f3ead4 0%, #eadab8 100%);
	border: 1px solid #d3b275;
	border-radius: 10px;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.45),
		0 2px 8px rgba(88,68,28,.05);
	color: #5a4216;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__stats-dot {
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2a5d9f;
	box-shadow: 0 0 0 3px rgba(42,93,159,.10);
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__stats-text {
	font-size: 12px;
	line-height: 1.2;
	color: #5a4216;
	white-space: nowrap;
}

#entete_small.lg-header-small-v2 .lg-header-small-v2__stats-text #vu_jour {
	font-weight: 700;
	color: #173f70;
}

/* =========================================
   FLASH
   ========================================= */

#entete_small.lg-header-small-v2 .lg-flash-success {
	width: 100%;
	max-width: 1180px;
	margin: 8px auto 0;
	padding: 10px 14px;
	box-sizing: border-box;
	background: #edf8ef;
	border: 1px solid #bfddc5;
	border-radius: 10px;
	color: #24502e;
	font-size: 13px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 980px) {
	#entete_small.lg-header-small-v2 .lg-header-small-v2__row {
		grid-template-columns: 220px minmax(0, 1fr);
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__logo-link img {
		max-height: 40px;
	}
}

@media (max-width: 760px) {
	#entete_small.lg-header-small-v2 .lg-header-small-v2__topbar .lg-header-small-v2__wrap {
		width: auto;
		padding-left: 0;
		padding-right: 0;
		justify-content: flex-end;
		flex-wrap: nowrap;
		gap: 8px;
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__topbar {
		position: absolute;
		top: 8px;
		left: auto;
		right: 10px;
		z-index: 260;
		padding-top: 0;
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__main {
		padding: 8px 0;
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__row {
		grid-template-columns: 1fr;
		padding-left: 12px;
		padding-right: 112px;
		text-align: left;
		min-height: 48px;
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__logo {
		justify-content: flex-start;
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__center {
		display: none;
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__slogan {
		font-size: 14px;
		max-width: 100%;
		text-align: center;
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__stats {
		display: none;
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__stats-text {
		white-space: normal;
		text-align: center;
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__logo-link img {
		max-height: 38px;
	}

	#entete_small.lg-header-small-v2 .lg-mobile-menu-btn {
		display: inline-flex;
		flex-direction: column;
		flex: 0 0 auto;
	}

	#entete_small.lg-header-small-v2 .lg-top-lang {
		order: 2;
		margin-left: 0;
	}

	#entete_small.lg-header-small-v2 .lg-header-small-v2__account-toggle {
		order: 3;
	}

	#entete_small.lg-header-small-v2 .lg-top-menu {
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		z-index: 500;
		display: none;
		width: min(260px, calc(100vw - 20px));
		padding: 8px;
		border: 1px solid #d8c59a;
		border-radius: 14px;
		background: #fffdf8;
		box-shadow: 0 14px 34px rgba(54, 38, 17, .20);
		white-space: normal;
	}

	#entete_small.lg-header-small-v2 .lg-top-menu.is-open {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}

	#entete_small.lg-header-small-v2 .lg-top-menu li {
		display: block;
		padding: 0;
	}

	#entete_small.lg-header-small-v2 .lg-top-menu li + li::before {
		display: none;
	}

	#entete_small.lg-header-small-v2 .lg-top-menu a,
	#entete_small.lg-header-small-v2 .lg-top-menu__welcome {
		display: block;
		padding: 10px 11px;
		border-radius: 9px;
		font-size: 14px;
		line-height: 1.2;
		text-decoration: none;
	}

	#entete_small.lg-header-small-v2 .lg-top-menu a:hover {
		background: #f4ecd9;
	}
}
