/* ==========================================================================
   Laurenza — checkout.css
   Minimal checkout layout (frames 20–21), "Se connecter" gate (26),
   thank-you (22), right summary panel.
   ========================================================================== */

body.lz-co-body { background: #fff; }
.lz-co-page { display: block; min-height: 100vh; }
.lz-co-page > .woocommerce { min-height: 100vh; }

.lz-co { display: flex; align-items: stretch; min-height: 100vh; }
.lz-co__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

/* Logo-only header */
.lz-co__header {
	flex: none; height: 116px; display: flex; justify-content: center; align-items: flex-start;
	padding: 60px 80px 0 112px; border-bottom: 1px solid var(--lz-border-soft);
}
.lz-co__logo { display: block; }
.lz-co__logo .lz-logo { width: 211px; height: auto; }

.lz-co__content { flex: 1; display: flex; flex-direction: column; padding: 44px 80px 45px 112px; }
.lz-co__h1 { margin: 0; font-size: 40px; line-height: 60px; font-weight: 500; letter-spacing: -0.02em; }

/* Notices (server errors not mapped to a field, "session expired"…) */
.lz-co .woocommerce-NoticeGroup, .lz-co__content > .woocommerce-error, .lz-co__content > .woocommerce-message, .lz-co__content > .woocommerce-info {
	max-width: 598px; margin: 0 0 20px; padding: 12px 20px; list-style: none;
	border: 1px solid var(--lz-coral); border-radius: var(--lz-r-md); color: var(--lz-coral); font-size: 13px; line-height: 20px;
}
.lz-co .woocommerce-NoticeGroup ul { margin: 0; padding: 0; list-style: none; border: 0; }
.lz-co .woocommerce-NoticeGroup li.is-inline { display: none; }
.lz-co .woocommerce-NoticeGroup.is-all-inline { display: none; }
.lz-co-form .woocommerce-NoticeGroup { grid-column: 1 / -1; }

/* ---------- Form ---------- */
.lz-co__content--form .lz-co__h1 { margin-bottom: 37px; }
.lz-co-form { width: 598px; max-width: 100%; position: relative; }
.lz-co-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.lz-co-field { position: relative; margin: 0 0 13px; padding: 0; }
.lz-co-field--wide { grid-column: 1 / -1; }
.lz-co-field--submit { align-self: end; }
.lz-co-field__label { display: block; margin: 0 0 4px; font-size: 12px; line-height: 18px; font-weight: 400; color: var(--lz-black); }
.lz-co-field__control { position: relative; }

.lz .lz-co-field .lz-co-input, .lz .lz-auth__field .lz-co-input {
	display: block; width: 100%; height: 48px; margin: 0; padding: 0 24px;
	border: 1px solid var(--lz-border); border-radius: var(--lz-r-md); background: #fff;
	font-family: var(--lz-font); font-size: 16px; line-height: 24px; color: var(--lz-black);
	box-shadow: none; outline: none; transition: border-color .15s;
	-webkit-appearance: none; appearance: none;
}
.lz-co-input::placeholder { color: var(--lz-grey); opacity: 1; }
.lz .lz-co-field .lz-co-input:focus, .lz .lz-auth__field .lz-co-input:focus { border-color: #bdbdbd; }
.lz .lz-co-field .lz-co-input--tel { padding-left: 63px; height: 40px; min-height: 40px; }
.lz-co-input__prefix { position: absolute; left: 24px; top: 0; height: 40px; display: flex; align-items: center; font-size: 16px; color: var(--lz-grey); pointer-events: none; }
.lz .lz-co-field .lz-co-input--select { padding-right: 56px; cursor: pointer; }
.lz .lz-co-field .lz-co-input--select.is-placeholder { color: var(--lz-grey); }
.lz-co-input--select option { color: var(--lz-black); }
.lz-co-input__chevron { position: absolute; right: 24px; top: 12px; pointer-events: none; color: var(--lz-grey); }

/* Inline error (frame 21) */
.lz-co-field__error:empty { display: none; }
.lz-co-field__error {
	position: absolute; top: 22px; left: 618px; width: 202px; min-height: 48px; margin: 0;
	display: flex; align-items: center; padding: 0 12px 4px 21px;
	border: 1px solid var(--lz-coral); border-radius: var(--lz-r-md); background: #fff;
	font-size: 12px; line-height: 18px; color: var(--lz-coral); z-index: 1;
}
.lz-co-field--last .lz-co-field__error { left: 309px; }
.lz-co-field.is-quiet .lz-co-field__error { display: none; }
.lz-co-field.is-error .lz-co-field__label { color: var(--lz-coral); }
.lz .lz-co-field.is-error .lz-co-input { color: var(--lz-coral); }
.lz .lz-co-field.is-error .lz-co-input--select.is-placeholder { color: var(--lz-coral); }

/* Submit: grey until the customer starts filling the form, then green (frames 20 → 21) */
.lz-co-submit { min-height: 48px; background: var(--lz-grey); border-color: transparent; color: #fff; font-weight: 500; }
.lz-co-submit:hover { background: #55565b; }
.lz-co-form.is-started .lz-co-submit { background: var(--lz-green); }
.lz-co-form.is-started .lz-co-submit:hover { background: #57b9a0; }
.lz-co-form.processing .lz-co-submit { opacity: .6; pointer-events: none; }
.lz-co-form.processing { cursor: progress; }
.lz-co-form .blockUI.blockOverlay { background: #fff !important; opacity: .5 !important; }

.lz-co-legal { margin-top: 31px; padding-top: 27px; border-top: 1px solid var(--lz-line); font-size: 10px; line-height: 15px; font-weight: 300; color: var(--lz-black); }
.lz-co-legal p + p { margin-top: 10px; }
.lz-co-legal a { text-decoration: underline; text-underline-offset: 2px; }
.lz-co-cod { display: flex; align-items: center; gap: 8px; margin-top: 36px; font-size: 12px; line-height: 18px; font-weight: 500; }

/* ---------- Right summary panel ---------- */
.lz-co-aside {
	flex: none; width: var(--lz-cd-w, 454px); align-self: flex-start;
	position: sticky; top: 0; min-height: 100vh; max-height: 100vh; overflow-y: auto;
	background: #fff; box-shadow: -2px 0 8px rgba(0, 0, 0, .07); z-index: 1;
}
.lz-co-aside.is-busy .lz-co-aside__body { opacity: .55; transition: opacity .15s; }
.lz-co-aside__head {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	height: 116px; padding: 50px var(--lz-cd-pr, 48px) 0 23px; border-bottom: 1px solid var(--lz-black);
}
.lz-co-aside__title { position: relative; top: 2px; margin: 0; font-size: 24px; line-height: 36px; font-weight: 500; letter-spacing: -0.02em; }
.lz-co-aside__edit { font-size: 16px; line-height: 24px; color: var(--lz-grey); text-decoration: underline; text-underline-offset: 3px; padding-top: 4px; }
.lz-co-aside__edit:hover { color: var(--lz-black); }
.lz-co-aside__print { display: inline-flex; width: 24px; height: 24px; color: var(--lz-black); margin-top: 3px; }
.lz-co-aside__body { padding: 32px var(--lz-cd-pr, 48px) 40px var(--lz-cd-pl, 22px); transition: opacity .15s; }
.lz-lines--summary > .lz-line + .lz-line { padding-top: 19px; }
.lz-co-aside__coupon { margin-top: 19px; }
.lz-co-aside__msg { margin: 20px 0 0; font-size: 14px; line-height: 21px; font-weight: 300; }
.lz-recap--summary { margin-top: 18px; }
.lz-recap--summary .lz-recap__row + .lz-recap__row { border-top: 1px solid var(--lz-line); }

/* ---------- Gate "Se connecter" (frame 26) ---------- */
.lz-co__content.lz-gate { align-items: center; text-align: center; padding-top: 38px; padding-bottom: 44px; }
.lz-gate .lz-co__h1 { padding-top: 6px; letter-spacing: -0.02em; }
.lz-gate__lead { margin: 19px 0 0; font-size: 18px; line-height: 27px; color: var(--lz-grey); }
.lz-gate__actions { width: 312px; max-width: 100%; margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.lz-gate__guest { align-self: center; margin-top: 14px; font-size: 12px; line-height: 18px; font-weight: 300; color: var(--lz-grey); text-decoration: underline; text-underline-offset: 3px; }
.lz-gate .lz-social__sep { margin-top: 15px; }
.lz-gate__guest:hover { color: var(--lz-black); }

/* Help block, pinned to the bottom of the column */
.lz-co__help { margin-top: auto; padding-top: 36px; text-align: center; font-size: 14px; line-height: 21px; color: var(--lz-grey); }
.lz-co__help a:hover { color: var(--lz-black); }

/* ---------- Thank you (frame 22) ---------- */
.lz-thanks { align-items: center; text-align: center; padding-top: 52px; }
.lz-thanks > * { width: 580px; max-width: 100%; }
.lz-thanks__badge {
	width: 48px !important; height: 48px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--lz-border); border-radius: 50%; color: var(--lz-green);
}
.lz-thanks .lz-co__h1 { margin-top: 18px; width: auto; white-space: nowrap; letter-spacing: -0.02em; }
.lz-thanks__lead { margin: 19px 0 0; padding-bottom: 32px; border-bottom: 1px solid var(--lz-line); font-size: 18px; line-height: 27px; color: var(--lz-grey); }
.lz-thanks__lead strong { color: var(--lz-black); font-weight: 600; }
.lz-thanks__next { text-align: left; margin-top: 29px; }
.lz-thanks__next-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; line-height: 21px; font-weight: 600; }
.lz-thanks ul.lz-thanks__list { margin: 20px 0 0; padding: 0 0 0 55px; list-style: disc; font-size: 14px; line-height: 21px; color: var(--lz-grey); }
.lz-thanks__list li::marker { font-size: 11px; }
.lz-thanks__list strong { font-weight: 600; }
.lz-thanks__actions { display: flex; gap: 18px; margin-top: 56px; }
.lz-thanks__actions .lz-btn { flex: 1 1 0; }
.lz-thanks .lz-co__help { width: auto; padding-top: 38px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	.lz-co-field__error { position: static; width: auto; min-height: 0; margin-top: 8px; padding: 8px 14px; }
	.lz-co-field.is-quiet .lz-co-field__error { display: flex; }
}
@media (max-width: 1100px) {
	.lz-co__header, .lz-co__content { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 900px) {
	.lz-co { flex-direction: column; }
	/* Stacked layout: don't stretch the form column to a full screen before the recap. */
	.lz-co-page, .lz-co-page > .woocommerce, .lz-co { min-height: 0; }
	.lz-co__help { margin-top: 0; padding-top: 48px; }
	.lz-co-aside { position: static; width: 100%; min-height: 0; max-height: none; box-shadow: none; border-top: 1px solid var(--lz-border); }
	.lz-co-aside__head { height: auto; padding: 24px 16px 16px; }
	.lz-co-aside__body { padding: 8px 16px 40px; }
	.lz-co__header { height: 80px; padding: 29px 16px 0; }
	.lz-co__content { padding: 28px 16px 32px; }
	.lz-co__h1 { font-size: 30px; line-height: 42px; }
	.lz-co__content--form .lz-co__h1 { margin-bottom: 24px; }
	.lz-co-form { width: 100%; }
	.lz-thanks { padding-top: 32px; }
}
@media (max-width: 600px) {
	.lz-thanks .lz-co__h1 { white-space: normal; }
	.lz-co-form__grid { grid-template-columns: 1fr; }
	.lz-co-field--wide { grid-column: auto; }
	.lz-co-field--submit { margin-top: 8px; }
	.lz-thanks__actions { flex-direction: column; gap: 12px; margin-top: 36px; }
	.lz-thanks__list { padding-left: 20px; }
}

/* ---------- Print (Imprimer mon reçu) ---------- */
@media print {
	.lz-co { display: block; }
	.lz-co__help, .lz-thanks__actions, .lz-co-aside__print, .lz-thanks__badge { display: none !important; }
	.lz-co-aside { position: static; width: 100%; min-height: 0; max-height: none; box-shadow: none; overflow: visible; }
	.lz-co__content { padding: 24px 0; }
}
