/* The Loft by C – Bons cadeaux (formulaire « Offrir ») */

/* Champs conditionnels : montant libre, nombre de personnes */
.lbc-cond { transition: opacity .45s ease, max-height .5s ease, margin .5s ease; overflow: hidden; }
.lbc-cond.lbc-hide { opacity: 0; max-height: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.lbc-cond.lbc-show { opacity: 1; max-height: 200px; }

/* Total en direct */
.lbc-total {
	width: 100%; display: flex; justify-content: space-between; align-items: baseline;
	margin: 6px 0 16px; padding: 14px 0; border-top: 1px solid #E4DFD5; border-bottom: 1px solid #E4DFD5;
	font-family: Lato, sans-serif; color: #555;
}
.lbc-total span { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.lbc-total strong { font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: 24px; color: #111; transition: color .4s ease; }
.lbc-total.is-ready strong { color: #111; }

/* Après l'envoi : on masque les champs et on affiche le paiement */
form.lbc-done .elementor-form-fields-wrapper,
form.lbc-done .elementor-message { display: none !important; }

.lbc-pay {
	width: 100%; background: #0E0E12; color: #E6E3DD; padding: 34px 30px; outline: none;
	font-family: Lato, sans-serif; font-size: 15px; line-height: 1.7;
	opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}
.lbc-pay.is-in { opacity: 1; transform: none; }
.lbc-pay__eyebrow { margin: 0 0 8px; color: #E2B755; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; }
.lbc-pay__title { margin: 0 0 10px; color: #fff; font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: 1.7em; line-height: 1.25; }
.lbc-pay__lead { margin: 0 0 22px; }
.lbc-pay__lead strong { color: #E2B755; font-weight: 400; font-family: "Playfair Display", Georgia, serif; font-size: 1.25em; }
.lbc-pay__grid { display: flex; gap: 28px; align-items: flex-start; }
.lbc-pay__qr { flex: 0 0 auto; text-align: center; max-width: 210px; }
.lbc-pay__qr svg { display: block; width: 190px; height: 190px; background: #fff; padding: 6px; }
.lbc-pay__qr small { display: block; margin-top: 10px; font-size: 12px; line-height: 1.5; color: #9A958C; }
.lbc-pay__data { flex: 1 1 auto; margin: 0; }
.lbc-pay__row { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid #24242A; }
.lbc-pay__row dt { flex: 0 0 120px; color: #9A958C; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; padding-top: 3px; }
.lbc-pay__row dd { flex: 1 1 200px; margin: 0; display: flex; align-items: center; gap: 10px; color: #fff; }
.lbc-pay__val { font-variant-numeric: tabular-nums; letter-spacing: .3px; word-break: break-all; }
.lbc-pay__copy, .lbc-pay__again {
	background: transparent !important; color: #E2B755 !important; border: 1px solid #E2B755 !important; border-radius: 40px !important;
	padding: 5px 12px !important; font: 400 11px/1.2 Lato, sans-serif !important; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer;
	transition: background .35s ease, color .35s ease;
}
.lbc-pay__copy:hover, .lbc-pay__again:hover { background: #E2B755 !important; color: #111 !important; }
.lbc-pay__note { margin: 22px 0 18px; font-size: 14px; color: #CFCBC3; }
.lbc-pay__note strong { color: #fff; font-weight: 400; }
.lbc-pay__again { padding: 10px 18px !important; }

@media (max-width: 767px) {
	.lbc-pay { padding: 26px 20px; }
	.lbc-pay__grid { flex-direction: column; gap: 18px; }
	/* Sur smartphone, on paie avec ce même téléphone : les infos d'abord, le QR ensuite */
	.lbc-pay__qr { order: 2; max-width: none; display: flex; gap: 14px; align-items: center; text-align: left; }
	.lbc-pay__qr svg { width: 110px; height: 110px; }
	.lbc-pay__row dt { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.lbc-pay, .lbc-cond { transition: none; }
}
