/* La Centrale – Promo Fêtes 26 */
:root {
	--lc-red: #ce3a32;
	--lc-red-dark: #ac231c;
	--lc-black: #000;
	--lc-text: #212121;
	--lc-bar-h: 0px;
}

/* ---------- Bandeau ---------- */
.lc-promo-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: var(--lc-red);
	color: #fff;
	font-family: Barlow, sans-serif;
	font-size: 16px;
	line-height: 1.3;
	padding: 9px 48px;
	box-sizing: border-box;
}
.lc-promo-bar[hidden] { display: none; }
.lc-promo-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px 22px;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}
.lc-promo-bar__text { margin: 0; color: #fff !important; font-size: inherit; }
.lc-promo-bar__text strong { font-weight: 900; color: #fff !important; }
.lc-promo-bar__until { opacity: .85; white-space: nowrap; }
.lc-promo-bar__cta {
	color: #fff !important;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 14px;
	border-bottom: 2px solid #fff;
	padding-bottom: 1px;
	white-space: nowrap;
}
.lc-promo-bar__cta:hover { opacity: .85; }
.lc-promo-bar__close {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	background: none;
	border: 0;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
}

/* Décale le header fixe et le contenu du thème quand le bandeau est visible */
html.lc-has-bar .header { top: var(--lc-bar-h); }
html.lc-has-bar .main_content { margin-top: calc(78px + var(--lc-bar-h)) !important; }
html.lc-has-bar .megaMenu { top: var(--lc-bar-h); }

/* ---------- Code promo ---------- */
.lc-promo-code {
	display: inline-block;
	font-family: Barlow, sans-serif;
	font-weight: 900;
	letter-spacing: .08em;
	border: 2px dashed currentColor;
	line-height: 1;
}
.lc-promo-code--bar {
	background: transparent;
	color: #fff;
	font-size: 15px;
	padding: 5px 10px;
	margin: 0 4px;
	cursor: pointer;
	vertical-align: middle;
}
.lc-promo-code--bar:hover { background: rgba(255,255,255,.15); }
.lc-promo-code--big {
	color: var(--lc-red);
	font-size: 26px;
	padding: 12px 18px;
	background: #fff;
}

/* ---------- Popup ---------- */
.lc-promo-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: Barlow, sans-serif;
	color: var(--lc-text);
}
.lc-promo-modal[hidden] { display: none; }
.lc-promo-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	animation: lcFade .3s ease;
}
.lc-promo-modal__box {
	position: relative;
	display: grid;
	grid-template-columns: 42% 1fr;
	width: 100%;
	max-width: 860px;
	max-height: calc(100vh - 40px);
	overflow: auto;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	animation: lcUp .4s cubic-bezier(.2,.8,.2,1);
}
.lc-promo-modal__media {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 100%;
}
.lc-promo-modal__badge {
	position: absolute;
	left: 0;
	bottom: 28px;
	background: var(--lc-red);
	color: #fff;
	font-family: Mosk, Barlow, sans-serif;
	font-weight: 900;
	font-size: 46px;
	line-height: 1;
	padding: 14px 22px;
}
.lc-promo-modal__content {
	padding: 44px 44px 36px;
	text-align: center;
}
.lc-promo-modal__kicker {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: #595959;
}
.lc-promo-modal__title {
	margin: 0;
	font-family: Mosk, Barlow, sans-serif;
	font-weight: 600;
	font-size: 32px;
	line-height: 1.15;
	color: var(--lc-black);
}
.lc-promo-modal__title span { display: block; }
.lc-promo-modal__title--red { color: var(--lc-red); }
.lc-promo-modal__spacer {
	display: block;
	width: 60px;
	height: 3px;
	background: var(--lc-red);
	margin: 18px auto;
}
.lc-promo-modal__text {
	margin: 0 0 18px;
	font-size: 17px;
	line-height: 1.5;
}
.lc-promo-modal__codewrap {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 0;
	margin-bottom: 22px;
}
.lc-promo-modal__copy {
	background: var(--lc-red);
	color: #fff;
	border: 0;
	font-family: Barlow, sans-serif;
	font-weight: 900;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: 0 18px;
	cursor: pointer;
	min-width: 96px;
}
.lc-promo-modal__copy:hover { background: var(--lc-red-dark); }
.lc-promo-modal__cta {
	display: inline-block;
	background: var(--lc-black);
	color: #fff !important;
	font-weight: 900;
	font-size: 18px;
	text-decoration: none;
	padding: 15px 30px;
	transition: background .2s;
}
.lc-promo-modal__cta:hover { background: var(--lc-red); }
.lc-promo-modal__legal {
	margin: 14px 0 0;
	font-size: 14px;
	color: #595959;
}
.lc-promo-modal__close {
	position: absolute;
	top: 8px;
	right: 10px;
	z-index: 2;
	background: none;
	border: 0;
	font-size: 32px;
	line-height: 1;
	color: var(--lc-black);
	cursor: pointer;
	padding: 4px 8px;
}

@keyframes lcFade { from { opacity: 0; } }
@keyframes lcUp { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.lc-promo-bar { font-size: 14px; padding: 7px 40px 7px 12px; }
	.lc-promo-bar__inner { gap: 4px 12px; }
	.lc-promo-bar__until, .lc-promo-bar .lc-hide-m { display: none; }
	.lc-promo-code--bar { font-size: 13px; padding: 4px 8px; }
	.lc-promo-bar__cta { font-size: 13px; }
	.lc-promo-modal { padding: 12px; }
	.lc-promo-modal__box { grid-template-columns: 1fr; }
	.lc-promo-modal__media { min-height: 150px; }
	.lc-promo-modal__badge { font-size: 34px; bottom: 16px; padding: 10px 16px; }
	.lc-promo-modal__close { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
	.lc-promo-modal__content { padding: 26px 22px 24px; }
	.lc-promo-modal__title { font-size: 25px; }
	.lc-promo-code--big { font-size: 21px; padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.lc-promo-modal__overlay, .lc-promo-modal__box { animation: none; }
}
