/* =========================================================
   LiveGalerie v2.0 - formule_promo.css
   Page : formule_promo.php
   Version commande / configuration
   ========================================================= */

.lg-promo-order-body {
	background: #f4f0ea;
	color: #2f2923;
}

.lg-promo-order-page {
	max-width: 1120px;
	margin: 0 auto;
	padding: 16px 16px 36px;
	box-sizing: border-box;
}

/* ---------- Fil d'Ariane ---------- */

.lg-promo-order-breadcrumb {
	margin: 0 0 14px;
}

.lg-promo-order-breadcrumb ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lg-promo-order-breadcrumb li {
	font-size: 12px;
	color: #7a6d62;
}

.lg-promo-order-breadcrumb a {
	color: #7a6d62;
	text-decoration: none;
	transition: color 0.18s ease;
}

.lg-promo-order-breadcrumb a:hover {
	color: #a8662b;
}

.lg-promo-order-breadcrumb .current {
	color: #2f2923;
	font-weight: 600;
}

.lg-promo-order-breadcrumb .home {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---------- Hero ---------- */

.lg-promo-order-hero {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 16px;
	padding: 20px 20px 18px;
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(246,238,228,0.96));
	border: 1px solid rgba(168, 102, 43, 0.10);
	box-shadow: 0 10px 24px rgba(68, 49, 31, 0.06);
}

.lg-promo-order-kicker {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #a8662b;
}

.lg-promo-order-hero h1 {
	margin: 0 0 8px;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: #1f1a16;
}

.lg-promo-order-hero__lead {
	margin: 0;
	max-width: 760px;
	font-size: 14px;
	line-height: 1.55;
	color: #5d5349;
}

.lg-promo-order-compare-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 700;
	color: #a45a19;
	text-decoration: none;
	white-space: nowrap;
}

.lg-promo-order-compare-link::after {
	content: "→";
	font-size: 15px;
	line-height: 1;
}

/* ---------- Layout ---------- */

.lg-promo-order-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.75fr);
	gap: 16px;
}

.lg-promo-order-main {
	display: grid;
	gap: 14px;
}

.lg-promo-order-side {
	display: grid;
	gap: 14px;
	align-content: start;
}

/* ---------- Cards ---------- */

.lg-order-card,
.lg-side-card,
.lg-order-total-card {
	padding: 18px 18px 16px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid rgba(90, 69, 52, 0.08);
	box-shadow: 0 10px 24px rgba(58, 43, 30, 0.05);
}

.lg-order-card__title-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.lg-order-card__title-row h2 {
	margin: 0;
	font-size: 21px;
	line-height: 1.2;
	color: #1f1a16;
	letter-spacing: -0.02em;
}

.lg-order-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: linear-gradient(135deg, #f5d08a, #eba63b);
	color: #1f1a16;
	font-size: 22px;
	font-weight: 800;
	box-shadow: 0 6px 16px rgba(168, 102, 43, 0.14);
}

/* ---------- Rows / tables ---------- */

.lg-order-table {
	display: grid;
	gap: 10px;
}

.lg-order-row {
	display: grid;
	grid-template-columns: 28px 90px minmax(220px, 1.3fr) minmax(120px, 0.8fr) 90px;
	gap: 12px;
	align-items: center;
	padding: 12px 12px;
	border-radius: 16px;
	border: 1px solid rgba(102, 78, 56, 0.10);
	background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.lg-order-row:hover {
	border-color: rgba(168, 102, 43, 0.18);
	box-shadow: 0 8px 18px rgba(80, 56, 34, 0.05);
}

.lg-order-row.is-selected {
	border-color: rgba(168, 102, 43, 0.30);
	background: linear-gradient(180deg, #fff9f1 0%, #fcf5eb 100%);
	box-shadow: 0 10px 20px rgba(168, 102, 43, 0.08);
}

.lg-order-row--static,
.lg-order-row--option {
	grid-template-columns: 28px minmax(0, 1fr) 90px;
}

.lg-order-row__radio,
.lg-order-row__check {
	display: flex;
	align-items: center;
	justify-content: center;
}

.lg-order-row__label strong {
	font-size: 18px;
	font-weight: 800;
	color: #1f1a16;
}

.lg-order-row__desc {
	font-size: 14px;
	line-height: 1.5;
	color: #473e36;
}

.lg-order-row__desc--full {
	font-size: 14px;
	line-height: 1.5;
	color: #473e36;
}

.lg-order-row__note {
	font-size: 13px;
	line-height: 1.45;
	color: #be5f1a;
	text-align: right;
}

.lg-order-row__price {
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	text-align: right;
	color: #1f1a16;
}

.lg-order-row__price--free {
	font-size: 16px;
	color: #1f1a16;
}

/* ---------- Total ---------- */

.lg-order-total-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: linear-gradient(135deg, #fcf7f0, #f7ead7);
	border-color: rgba(168, 102, 43, 0.16);
}

.lg-order-total-card__label {
	font-size: 18px;
	font-weight: 800;
	color: #1f1a16;
}

.lg-order-total-card__value {
	font-size: 32px;
	font-weight: 900;
	line-height: 1;
	color: #1f1a16;
}

/* ---------- Payments ---------- */

.lg-payment-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.lg-payment-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px 14px;
	border-radius: 18px;
	border: 1px solid rgba(102, 78, 56, 0.10);
	background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
	cursor: pointer;
	text-align: center;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.lg-payment-card:hover {
	transform: translateY(-1px);
	border-color: rgba(168, 102, 43, 0.22);
	box-shadow: 0 10px 20px rgba(80, 56, 34, 0.06);
}

.lg-payment-card__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #1f1a16;
}

.lg-payment-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, #0e4c79, #1f6b9d);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

/* ---------- Side ---------- */

.lg-side-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.25;
	color: #1f1a16;
}

.lg-side-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #5d5349;
}

.lg-side-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.lg-side-list li {
	position: relative;
	padding-left: 18px;
	font-size: 14px;
	line-height: 1.5;
	color: #473e36;
}

.lg-side-list li::before {
	content: "▪";
	position: absolute;
	left: 0;
	top: 0;
	color: #be5f1a;
	font-weight: 800;
}

/* ---------- Final ---------- */

.lg-promo-final {
	margin-top: 2px;
}

.lg-promo-final__content {
	padding: 20px 20px 18px;
	border-radius: 20px;
	background: linear-gradient(135deg, #2f241b 0%, #4a3628 100%);
	color: #fff;
	box-shadow: 0 16px 34px rgba(48, 34, 22, 0.16);
}

.lg-promo-final__content h2 {
	margin: 0 0 8px;
	font-size: clamp(22px, 2.6vw, 28px);
	line-height: 1.12;
	color: #fff;
}

.lg-promo-final__content p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255,255,255,0.86);
}

.lg-promo-final__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

/* ---------- Buttons ---------- */

.lg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	box-sizing: border-box;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		background 0.18s ease,
		color 0.18s ease,
		border-color 0.18s ease;
}

.lg-btn:hover {
	transform: translateY(-1px);
}

.lg-btn--primary {
	background: linear-gradient(135deg, #c17833, #a45a19);
	color: #fff;
	box-shadow: 0 8px 20px rgba(164, 90, 25, 0.20);
}

.lg-btn--primary:hover {
	background: linear-gradient(135deg, #c97f39, #b0601d);
	color: #fff;
}

.lg-btn--secondary {
	background: rgba(255,255,255,0.92);
	color: #352d27;
	border: 1px solid rgba(85, 66, 49, 0.12);
	box-shadow: 0 6px 16px rgba(42, 33, 25, 0.06);
}

.lg-btn--secondary:hover {
	background: #fff;
	color: #1f1a16;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
	.lg-promo-order-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.lg-promo-order-page {
		padding: 14px 12px 30px;
	}

	.lg-promo-order-hero,
	.lg-order-card,
	.lg-side-card,
	.lg-order-total-card,
	.lg-promo-final__content {
		padding: 16px 14px 14px;
		border-radius: 18px;
	}

	.lg-promo-order-hero {
		flex-direction: column;
	}

	.lg-order-row {
		grid-template-columns: 24px 80px 1fr;
	}

	.lg-order-row__note,
	.lg-order-row__price {
		grid-column: 2 / -1;
		text-align: left;
	}

	.lg-order-row--static,
	.lg-order-row--option {
		grid-template-columns: 24px 1fr;
	}

	.lg-order-row--static .lg-order-row__price,
	.lg-order-row--option .lg-order-row__price {
		grid-column: 2;
		text-align: left;
	}

	.lg-payment-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.lg-promo-hero__actions,
	.lg-promo-final__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.lg-btn {
		width: 100%;
	}
}