/**
 * "Bon de commande" — the four-panel order form (maelia-tunnel-de-vente).
 *
 * T4 tokens (flatsome-child/css/maelia-tokens.css), with their values as
 * fallbacks so the sheet holds even without the child theme. Everything is
 * scoped under .maelia-bon: Flatsome's #custom-css and the child theme's
 * maelia-checkout.css keep styling the other WooCommerce pages.
 */

.maelia-bon {
	--mb-ink: var(--maelia-ink, #0E3B33);
	--mb-pri: var(--maelia-teal-600, #1C6B5C);
	--mb-link: var(--maelia-teal-500, #10564A);
	--mb-band: var(--maelia-teal-300, #BFE0D8);
	--mb-band2: var(--maelia-teal-200, #E2F0EB);
	--mb-muted: var(--maelia-muted, #4A635B);
	--mb-hair: var(--maelia-hairline, #D4E7E1);
	--mb-stamp: var(--maelia-stamp, #A8403D);
	--mb-field: #6F8C83;
	--mb-r: var(--maelia-radius, 3px);
	--mb-ease: var(--maelia-ease-out, cubic-bezier(.23, 1, .32, 1));
	--mb-display: "Bricolage Grotesque", system-ui, sans-serif;
	--mb-text: "Archivo", system-ui, sans-serif;
	color: var(--mb-ink);
	font-family: var(--mb-text);
}

/* ---------------------------------------------------------------------------
 * Layout: panels on the left, order summary on the right above 900 px
 * ------------------------------------------------------------------------- */

.maelia-bon__grille {
	display: grid;
	/* 420 px for the summary (340 px squeezed the product lines, owner's
	   review of 2026-11-09); the panels keep about 600 px. Back to 340 px
	   towards 900 px, so the panels keep room on a small screen. */
	grid-template-columns: minmax(0, 1fr) clamp(340px, 38vw, 420px);
	gap: 28px;
	align-items: start;
	margin: 0 0 32px;
}

.maelia-bon__volets,
.maelia-bon__recap {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
}

/* The child theme frames these blocks as cards (maelia-surfaces.css): inside
   the panels and the summary, which are already cards, the frame goes. */
.maelia-bon .woocommerce-checkout-review-order,
.maelia-bon .woocommerce-billing-fields,
.maelia-bon .woocommerce-shipping-fields {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

/* ---------------------------------------------------------------------------
 * Panels
 * ------------------------------------------------------------------------- */

.maelia-volet + .maelia-volet {
	border-top: 1px solid var(--mb-hair);
}

.maelia-volet__tete {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 16px 24px;
}

.maelia-volet__num {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 2px solid var(--mb-ink);
	border-radius: 50%;
	font: 800 14px/1 var(--mb-display);
	color: var(--mb-ink);
}

.maelia-volet__coche {
	display: none;
}

.maelia-volet.replie .maelia-volet__num {
	background: var(--mb-pri);
	border-color: var(--mb-pri);
	color: #fff;
}

.maelia-volet.replie .maelia-volet__chiffre {
	display: none;
}

.maelia-volet.replie .maelia-volet__coche {
	display: block;
}

.maelia-volet.a-venir .maelia-volet__num {
	border-color: var(--mb-hair);
	color: var(--mb-muted);
}

.maelia-bon .maelia-volet__titre {
	margin: 0;
	padding: 0;
	font: 700 18px/1.2 var(--mb-display);
	color: var(--mb-ink);
	text-transform: none;
	letter-spacing: 0;
}

.maelia-bon .maelia-volet__titre:focus {
	outline: none;
}

.maelia-bon .maelia-volet__titre:focus-visible {
	outline: 3px solid var(--mb-pri);
	outline-offset: 4px;
}

.maelia-volet.a-venir .maelia-volet__titre {
	color: var(--mb-muted);
}

.maelia-volet__resume {
	display: block;
	margin-top: 2px;
	white-space: pre-line; /* Name, then the address on its own line. */
	font: 400 13.5px/1.4 var(--mb-text);
	color: var(--mb-muted);
	overflow-wrap: anywhere;
}

.maelia-volet__resume:empty,
.maelia-volet:not(.replie) .maelia-volet__resume {
	display: none;
}

/* From 550 px, the summary of a done step sits on the title's row, on the
   right, beside « Modifier » (owner, 2026-11-12, as in the mockups). */
@media (min-width: 550px) {
	/* Tick, title, summary and « Modifier » centred on one axis, whatever the
	   summary's height (owner, 2026-11-12). */
	.maelia-volet.replie .maelia-volet__tete {
		align-items: center;
	}

	.maelia-volet.replie .maelia-volet__titre {
		display: flex;
		align-items: center;
		gap: 16px;
		min-width: 0;
	}

	.maelia-volet.replie .maelia-volet__resume {
		min-width: 0;
		max-width: 65%;
		margin: 0 0 0 auto;
		text-align: right;
	}
}

/* Coordonnées: the summary (company, name, address, several lines) under the
   title at every width; tick, title and « Modifier » stay on one line at the
   top (owner, 2026-11-15). The 30 px tick sets the line: the title (21.6 px)
   and « Modifier » (44 px tall) are centred on it. */
.maelia-volet-coordonnees.replie .maelia-volet__tete {
	align-items: start;
}

/* h2 in the selector: the theme's « body.page .page-wrapper .col-inner h2 »
   (maelia-surfaces.css) gives 32 px above. */
.maelia-bon .maelia-volet.maelia-volet-coordonnees.replie h2.maelia-volet__titre {
	display: block;
	margin-top: 4px;
}

.maelia-volet-coordonnees.replie .maelia-volet__resume {
	max-width: none;
	margin: 6px 0 0;
	text-align: left;
}

.maelia-bon .maelia-volet-coordonnees.replie .maelia-volet__modifier {
	margin-top: -7px;
}

/* "Modifier" and the secondary actions: links, not buttons. Flatsome styles
   every <button>: everything is reset here. */
.maelia-bon .maelia-volet__modifier,
.maelia-bon .maelia-lien {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0 2px;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--mb-link);
	font: 600 14px/1.2 var(--mb-text);
	letter-spacing: 0;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: color .15s ease;
}

.maelia-bon .maelia-volet__modifier:hover,
.maelia-bon .maelia-lien:hover,
.maelia-bon .maelia-volet__modifier:focus-visible,
.maelia-bon .maelia-lien:focus-visible {
	background: none;
	color: var(--mb-ink);
}

.maelia-volet:not(.replie) .maelia-volet__modifier {
	visibility: hidden;
}

/* Opening and collapsing: grid rows 0fr -> 1fr in 200 ms. Without the script
   (class added inline by the template), every panel stays open. */
.maelia-bon--js .maelia-volet__corps,
.maelia-bon--js .maelia-recap__corps {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows 200ms var(--mb-ease), visibility 0s linear 200ms;
}

.maelia-bon--js .maelia-volet.ouvert .maelia-volet__corps {
	grid-template-rows: 1fr;
	visibility: visible;
	transition: grid-template-rows 200ms var(--mb-ease), visibility 0s linear 0s;
}

.maelia-volet__interieur {
	min-height: 0;
	overflow: hidden;
}

.maelia-volet__contenu {
	padding: 0 24px 24px 66px;
}

/* ---------------------------------------------------------------------------
 * Fields
 * ------------------------------------------------------------------------- */

.maelia-bon .form-row label,
.maelia-bon .maelia-champ label {
	font: 600 13.5px/1.6 var(--mb-text);
	color: var(--mb-ink);
	text-transform: none;
	letter-spacing: 0;
}

.maelia-bon input.input-text,
.maelia-bon textarea.input-text,
.maelia-bon select,
.maelia-bon .select2-container .select2-selection--single {
	min-height: 46px;
	border: 1px solid var(--mb-field);
	border-radius: var(--mb-r);
	background-color: #fff;
	box-shadow: none;
	color: var(--mb-ink);
	font-size: 16px; /* 16 px: no zoom on iOS. */
}

.maelia-bon input.input-text:focus,
.maelia-bon textarea.input-text:focus,
.maelia-bon select:focus {
	border-color: var(--mb-pri);
	box-shadow: 0 0 0 1px var(--mb-pri), 0 0 0 4px var(--mb-band);
	outline: none;
}

.maelia-bon input[aria-invalid="true"],
.maelia-bon .woocommerce-invalid input.input-text {
	border-color: var(--mb-stamp);
}

/* Errors under their field. WooCommerce 11 writes the message itself
   (.checkout-inline-error-message, with aria-describedby); snippet 37 adds a
   second one inside the label, hidden here only (theme rule: float + !important). */
form.maelia-bon p.form-row span.error {
	display: none !important;
}

form.maelia-bon p.form-row.woocommerce-invalid-required-field label {
	float: none;
}

.maelia-bon .checkout-inline-error-message {
	margin: 6px 0 0;
	padding: 2px 0 2px 10px;
	border-left: 3px solid var(--mb-stamp);
	color: var(--mb-stamp);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.maelia-bon .checkout-inline-error-message:empty {
	display: none;
}

.maelia-bon select[aria-invalid="true"],
.maelia-bon .woocommerce-invalid select,
.maelia-bon .woocommerce-invalid .select2-container .select2-selection--single {
	border-color: var(--mb-stamp);
}

.maelia-bon input[aria-invalid="true"]:focus {
	border-color: var(--mb-stamp);
	box-shadow: 0 0 0 1px var(--mb-stamp);
}

/* An error that belongs to no field: card at the top of its panel. */
.maelia-bon .maelia-alerte {
	margin: 0 0 18px;
	padding: 12px 16px;
	border: 1px solid var(--mb-stamp);
	border-left-width: 4px;
	border-radius: var(--mb-r);
	background: #fff;
	color: var(--mb-ink);
	font-size: 15px;
	line-height: 1.5;
}

.maelia-bon .maelia-alerte:focus {
	outline: none;
	box-shadow: 0 0 0 3px var(--mb-band);
}

.maelia-bon .maelia-alerte p {
	margin: 0;
}

.maelia-bon .maelia-alerte p + p {
	margin-top: 6px;
}

/* WooCommerce turns field descriptions into a bubble shown on focus: the help
   stays visible, under the field, as plain text. */
.maelia-bon .woocommerce-input-wrapper .description,
.maelia-bon .maelia-aide {
	display: block !important;
	position: static;
	margin: 4px 0 0;
	padding: 0;
	background: none;
	color: var(--mb-muted);
	font-size: 13px;
	line-height: 1.4;
}

.maelia-bon .woocommerce-input-wrapper .description::before {
	display: none;
}

.maelia-bon .maelia-aide a {
	color: var(--mb-link);
	font-weight: 600;
}

/* Coordonnées: the panel title replaces "Détails de facturation". */
.maelia-bon .woocommerce-billing-fields > h3 {
	display: none;
}

.maelia-bon .woocommerce-shipping-fields > h3,
.maelia-bon .woocommerce-additional-fields > h3 {
	margin: 16px 0 8px;
	font: 700 15px/1.3 var(--mb-display);
	color: var(--mb-ink);
	text-transform: none;
	letter-spacing: 0;
}

.maelia-bon #ship-to-different-address span {
	color: var(--mb-ink);
	font-weight: 600;
}

/* The e-mail comes from the "Vous" panel (typed by a visitor, the account's for a customer). */
.maelia-bon--js .maelia-champ-vous {
	display: none;
}

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

.maelia-bon .button.maelia-bouton,
.maelia-bon #place_order {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%; /* Full width everywhere (owner's review of 2026-11-09). */
	min-height: 50px;
	margin: 16px 0 0;
	padding: 14px 18px;
	border: 0;
	border-radius: var(--mb-r);
	background-color: var(--mb-pri);
	box-shadow: none;
	color: #fff;
	font: 700 16px/1.2 var(--mb-text);
	letter-spacing: 0;
	text-transform: none;
	transition: background-color .2s var(--mb-ease), transform .16s var(--mb-ease);
}

.maelia-bon .button.maelia-bouton:hover,
.maelia-bon .button.maelia-bouton:focus-visible,
.maelia-bon #place_order:hover,
.maelia-bon #place_order:focus-visible {
	background-color: var(--mb-link);
	color: #fff;
}

.maelia-bon .button.maelia-bouton:active,
.maelia-bon #place_order:active {
	transform: scale(.985);
}

.maelia-bon .button.maelia-bouton[aria-disabled="true"],
.maelia-bon .button.maelia-bouton[aria-disabled="true"]:hover {
	background-color: #D9E5E1;
	color: #3B5049;
	cursor: not-allowed;
	transform: none;
}

.maelia-bon [aria-busy="true"] {
	cursor: progress;
}

.maelia-bon .maelia-bouton[aria-busy="true"],
.maelia-vous[aria-busy="true"] .maelia-bouton {
	opacity: .7;
}

.maelia-bon .maelia-bouton[hidden] {
	display: none;
}

/* Guidance and errors: under the fields, a red rule, never a tooltip. */
.maelia-bon .maelia-message {
	margin: 14px 0 0;
	padding: 2px 0 2px 10px;
	border-left: 3px solid var(--mb-stamp);
	color: var(--mb-ink);
	font-size: 14px;
	line-height: 1.5;
}

.maelia-bon .maelia-message[hidden] {
	display: none;
}

/* A panel's alert (« Il manque une information : complétez le champ
   signalé. »…) in red and bold, like the payment one (owner, 2026-11-14).
   The waiting line (« … --attente », role="status") keeps the ink. */
.maelia-bon .maelia-message:not(.maelia-message--attente) {
	color: var(--mb-stamp);
	font-weight: 700;
}

/* « Veuillez choisir un moyen de paiement. »: under the « Paiement » title,
   above the express buttons, in red and bold (owner's review of 2026-11-09). */
.maelia-bon .maelia-message--paiement {
	margin: 0 0 14px;
	color: var(--mb-stamp);
	font-weight: 700;
}

/* ---------------------------------------------------------------------------
 * Vous
 * ------------------------------------------------------------------------- */

/* Every button of the funnel takes the full width of its column, as
   « Payer » and the express buttons (owner's review of 2026-11-09): the
   « Vous » panel, its sign-in buttons and its fields follow. */

.maelia-vous__saisie {
	position: relative;
	display: block;
}

.maelia-vous__tag {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	padding: 2px 8px;
	border-radius: 10px;
	background: var(--mb-band2);
	color: var(--mb-link);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	pointer-events: none;
}

.maelia-vous__saisie input.input-text {
	padding-right: 120px;
}

/* Proposal 2 (owner, 2026-11-12): a lead sentence, then the e-mail field and
   « Continuer » on one row from 550 px; stacked below. */
.maelia-vous__chapo {
	margin: 0 0 14px;
	color: var(--mb-ink);
	font-size: 14.5px;
	text-wrap: pretty;
}

.maelia-vous__rangee {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.maelia-vous__rangee .maelia-vous__saisie {
	flex: 1 1 260px;
	min-width: 0;
}

.maelia-vous__rangee input.input-text {
	margin-bottom: 0;
}

/* « Continuer » under the field at every width, like the other steps: a long
   e-mail address was cut in a field shared with the button (owner,
   2026-11-12). */
.maelia-bon .maelia-vous__rangee .maelia-vous__saisie {
	flex-basis: 100%;
}

.maelia-bon .maelia-vous__rangee .button.maelia-volet__continuer {
	flex-basis: 100%;
	min-height: 50px;
	margin: 6px 0 0;
}

.maelia-vous__intro {
	margin: 4px 0 12px;
	font-size: 14.5px;
}

.maelia-vous__code-zone {
	margin-top: 8px;
}

.maelia-vous__code {
	margin-top: 4px;
}

.maelia-vous [hidden] {
	display: none !important;
}

/* Reminder notice of Cart Abandonment Recovery, under the « Vous » e-mail (owner, 2026-11-17). */
.maelia-bon #wcf_cf_gdpr_message_block.maelia-rappel-panier {
	display: block;
	margin: -4px 0 12px;
	color: var(--mb-muted, #4A635B);
	font-size: 12.5px;
	line-height: 1.5;
}

.maelia-bon #wcf_cf_gdpr_message_block.maelia-rappel-panier span {
	font-size: 12.5px !important;
}

.maelia-bon #wcf_cf_gdpr_message_block.maelia-rappel-panier a {
	color: var(--mb-link, #10564A);
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

/* A signed-in customer: no notice. */
.maelia-bon--connectee #wcf_cf_gdpr_message_block {
	display: none;
}

/* Account linked to Google (owner, 2026-11-17): its button first in the known-account step. */
.maelia-vous__connu .maelia-social > .maelia-social__ou--trait,
.maelia-vous__connu .maelia-social__precision {
	display: none;
}

.maelia-vous__social-place .maelia-social {
	margin: 12px 0 0;
}

.maelia-vous .maelia-vous__ou {
	margin: 18px 0 14px;
}

/* No password: « Recevoir un code par e-mail » as an outlined button. */
.maelia-bon .maelia-vous .maelia-vous__plutot--bouton {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	padding: 0 20px;
	border: 1.5px solid var(--maelia-teal-600, #1C6B5C);
	border-radius: var(--maelia-radius, 3px);
	background: transparent;
	color: var(--maelia-teal-600, #1C6B5C);
	font-weight: 600;
	text-decoration: none;
}

.maelia-bon .maelia-vous .maelia-vous__plutot--bouton:hover {
	background: var(--maelia-teal-100, #EEF7F4);
}

/* ---------------------------------------------------------------------------
 * Livraison: one card per shipping method, Boxtal's relay point under its card
 * ------------------------------------------------------------------------- */

.maelia-bon .maelia-livraison,
.maelia-bon .maelia-livraison table,
.maelia-bon .maelia-livraison tbody,
.maelia-bon .maelia-livraison tr,
.maelia-bon .maelia-livraison td,
.maelia-bon .maelia-livraison th {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}

.maelia-bon .maelia-livraison th {
	display: none;
}

.maelia-bon .maelia-livraison ul.woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maelia-bon .maelia-livraison ul.woocommerce-shipping-methods > li {
	display: block;
	position: relative;
	margin: 0 0 8px;
	padding: 14px 16px 14px 46px;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
	background: #fff;
	list-style: none;
	text-align: left;
	transition: border-color .15s ease;
}

.maelia-bon .maelia-livraison ul.woocommerce-shipping-methods > li:has(input:checked) {
	padding: 13px 15px 13px 45px;
	border: 2px solid var(--mb-pri);
}

.maelia-bon .maelia-livraison input.shipping_method[type="radio"] {
	position: absolute;
	top: 17px;
	left: 16px;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--mb-pri);
}

.maelia-bon .maelia-livraison li:has(input:checked) input.shipping_method[type="radio"] {
	top: 16px;
	left: 15px;
}

.maelia-bon .maelia-livraison label {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	font: 600 15px/1.4 var(--mb-text);
	color: var(--mb-ink);
	cursor: pointer;
}

.maelia-bon .maelia-livraison input.shipping_method[type="hidden"] + label {
	cursor: default;
}

.maelia-bon .maelia-livraison .bw-parcel-point {
	display: block;
	float: none;
	width: auto;
	margin-top: 8px;
	padding: 10px 12px;
	border-radius: var(--mb-r);
	background: var(--mb-band2);
	font-size: 14px;
	line-height: 1.45;
	color: var(--mb-ink);
}

.maelia-bon .maelia-livraison .bw-parcel-point small {
	color: var(--mb-muted);
	font-size: 13px;
}

.maelia-bon .maelia-livraison .bw-select-parcel {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--mb-link);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.maelia-bon .maelia-livraison .bw-select-parcel:hover {
	color: var(--mb-ink);
}

.maelia-bon .maelia-volet__note {
	margin: 0;
	color: var(--mb-muted);
}

/* ---------------------------------------------------------------------------
 * Paiement: express buttons first (shown by Stripe once ready), then methods
 * ------------------------------------------------------------------------- */

.maelia-volet-paiement__express:empty {
	display: none;
}

.maelia-volet-paiement__express #wc-stripe-express-checkout-element {
	margin-top: 0 !important;
}

.maelia-bon #payment {
	background: none;
}

.maelia-bon #payment ul.payment_methods {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}

.maelia-bon #payment ul.payment_methods > li.wc_payment_method {
	margin: 0 0 8px;
	padding: 12px 14px;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
	list-style: none;
}

.maelia-bon #payment ul.payment_methods > li.wc_payment_method:has(> input:checked) {
	padding: 11px 13px;
	border: 2px solid var(--mb-pri);
}

.maelia-bon #payment ul.payment_methods > li > label {
	font-weight: 600;
	color: var(--mb-ink);
}

.maelia-bon #payment .payment_box p {
	font-size: 14px;
}

.maelia-bon #payment .place-order {
	padding: 0;
}

/* ---------------------------------------------------------------------------
 * Order summary
 * ------------------------------------------------------------------------- */

.maelia-bon__recap {
	position: sticky;
	top: 120px; /* Under Flatsome's sticky header. */
	max-height: calc(100vh - 140px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.maelia-bon--js .maelia-recap__corps {
	grid-template-rows: 1fr;
	visibility: visible;
}

.maelia-recap__contenu {
	padding: 20px 22px;
}

.maelia-bon .maelia-recap__titre {
	margin: 0 0 8px;
	font: 700 18px/1.2 var(--mb-display);
	color: var(--mb-ink);
	text-transform: none;
	letter-spacing: 0;
}

.maelia-bon .maelia-recap__bascule {
	display: none;
}

.maelia-bon .maelia-recap {
	width: 100%;
	margin: 0;
	border: 0;
	font-size: 14.5px;
}

.maelia-bon .maelia-recap th,
.maelia-bon .maelia-recap td {
	padding: 8px 0;
	border: 0;
	background: none;
	color: var(--mb-ink);
	vertical-align: top;
	text-transform: none;
	letter-spacing: 0;
	font-size: 14.5px;
}

.maelia-bon .maelia-recap tbody td {
	padding: 10px 0;
	border-top: 1px solid var(--mb-hair);
}

.maelia-bon .maelia-recap tbody tr:first-child td {
	border-top: 0;
}

.maelia-bon .maelia-recap td.product-total,
.maelia-bon .maelia-recap tfoot td {
	padding-left: 12px;
	text-align: right;
	white-space: nowrap;
}

/* Flatsome spaces a struck price from the new one beside it (margin-right
   0.3em); stacked, that margin pushed it left of the other prices. */
.maelia-bon .maelia-recap td.product-total del .amount,
.maelia-panier td.product-subtotal del .amount {
	margin-right: 0;
}

.maelia-bon .maelia-recap td.product-total del {
	display: table;
	margin-left: auto;
	/* Same size as the discounted price, as in the cart. */
	font-weight: 400;
	color: var(--mb-muted);
}

.maelia-recap__ligne {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
}

.maelia-recap__vignette img {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: var(--mb-r);
	object-fit: cover;
}

/* The quantity as a pill on the photo's corner, as on the thank-you page. */
.maelia-recap__vignette {
	position: relative;
	flex: none;
	align-self: flex-start;
}

.maelia-bon .maelia-recap__qte {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--mb-ink);
	color: #fff;
	font: 700 12px/18px var(--mb-text);
	text-align: center;
}

.maelia-recap__texte {
	min-width: 0;
	font-size: 13.5px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

/* The product's name in semi-bold, as in the cart and the mini-cart. */
.maelia-recap__nom {
	font-weight: 600;
}

/* « label : value » on one line, as in the cart. A label column squeezed the
   values: on a phone the fabric's name broke one letter per line. */
.maelia-bon .maelia-recap dl.variation {
	display: block;
	margin: 6px 0 0;
	font-size: 12.5px;
	line-height: 1.4;
}

.maelia-bon .maelia-recap dl.variation dt,
.maelia-bon .maelia-recap dl.variation dd {
	display: inline;
	margin: 0;
	padding: 0;
	float: none;
	color: var(--mb-muted);
	font-weight: 400;
}

.maelia-bon .maelia-recap dl.variation dd {
	color: var(--mb-ink);
}

.maelia-bon .maelia-recap dl.variation dd::after {
	content: "\A";
	white-space: pre;
}

/* Fabric: swatch and name on their own line under the label. */
.maelia-bon .maelia-recap dl.variation dd .maelia-option-tissu {
	display: flex;
	margin: 2px 0 4px;
}

.maelia-bon .maelia-recap dl.variation dd:has(.maelia-option-tissu)::after {
	content: none;
}

/* As in the cart: no preview, the font's name says it. */
.maelia-bon .maelia-recap dl.variation dt[class^="variation-Aper"],
.maelia-bon .maelia-recap dl.variation dt[class^="variation-Aper"] + dd {
	display: none;
}

.maelia-bon .maelia-recap dl.variation p {
	display: inline;
	margin: 0;
}

.maelia-bon .maelia-recap .maelia-option-tissu {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.maelia-bon .maelia-recap .maelia-option-tissu__image {
	display: block;
	order: -1;
	flex: none;
	width: 32px;
	height: 32px;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
	object-fit: cover;
}

.maelia-bon .maelia-recap tfoot tr:first-child th,
.maelia-bon .maelia-recap tfoot tr:first-child td {
	padding-top: 14px;
	border-top: 1px solid var(--mb-hair);
}

.maelia-bon .maelia-recap tfoot th {
	font-weight: 400;
	text-align: left;
}

.maelia-bon .maelia-recap tr.order-total th,
.maelia-bon .maelia-recap tr.order-total td {
	padding-top: 12px;
	border-top: 2px solid var(--mb-ink);
	/* 18 px, as the cart's total (owner's review of 2026-11-10). */
	font: 800 18px/1.15 var(--mb-display);
}

.maelia-bon .maelia-recap tr.order-total .includes_tax {
	display: block;
	margin-top: 4px;
	font: 400 12.5px/1.3 var(--mb-text);
	color: var(--mb-muted);
	/* « (dont 37,75 € TVA) » on one line, desktop and mobile (owner's review
	   of 2026-11-09). */
	white-space: nowrap;
}

.maelia-bon .maelia-recap .maelia-recap__offert {
	color: var(--mb-link);
	font-weight: 700;
}

.maelia-bon .maelia-recap tr.maelia-recap__noel td,
.maelia-bon .maelia-recap tr.maelia-recap__delai td {
	padding: 10px 0 0;
	text-align: left;
	white-space: normal;
}

.maelia-bon .maelia-recap tr.maelia-recap__noel .maelia-noel-note {
	margin: 0 0 4px;
}

.maelia-bon .maelia-recap tr.maelia-recap__delai td {
	padding-top: 18px;
	text-align: right;
}

.maelia-tampon {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 12px 5px;
	border: 2px solid var(--mb-stamp);
	border-radius: var(--mb-r);
	color: var(--mb-stamp);
	font: 700 12px/1.15 var(--mb-display);
	letter-spacing: .06em;
	text-align: center;
	text-transform: uppercase;
	transform: rotate(-3deg);
}

.maelia-tampon strong {
	font: 800 17px/1.1 var(--mb-display);
	letter-spacing: .01em;
	text-transform: none;
}

/* Same type as the newsletter sentence above it (owner's review of
   2026-11-09). */
.maelia-bon .woocommerce-privacy-policy-text,
.maelia-bon .woocommerce-privacy-policy-text p {
	margin: 10px 0 0;
	color: var(--mb-ink);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.maelia-bon .woocommerce-privacy-policy-text p {
	margin: 0;
}

/* ---------------------------------------------------------------------------
 * Address suggestions (France), in the flow under the field
 * ------------------------------------------------------------------------- */

.maelia-bon .maelia-suggestions {
	margin: 4px 0 0;
	padding: 0;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
	background: #fff;
	list-style: none;
}

.maelia-bon .maelia-suggestions[hidden] {
	display: none;
}

.maelia-bon .maelia-suggestions li {
	display: block;
	margin: 0;
	padding: 9px 12px;
	border-top: 1px solid var(--mb-hair);
	cursor: pointer;
	list-style: none;
}

.maelia-bon .maelia-suggestions li:first-child {
	border-top: 0;
}

.maelia-bon .maelia-suggestions li:hover,
.maelia-bon .maelia-suggestions li[aria-selected="true"] {
	background: var(--mb-band2);
}

.maelia-bon .maelia-suggestions b {
	display: block;
	font-weight: 600;
	color: var(--mb-ink);
}

.maelia-bon .maelia-suggestions small {
	color: var(--mb-muted);
	font-size: 13px;
}

/* Summary lines, as in the mini-cart: name, quantity and options use the
   whole width of the column; the price comes under them, on the right.
   Desktop first, then the phone's « Voir ma commande » too (owner's reviews
   of 2026-11-09). */
/* A table cell cannot span both columns from CSS: the summary leaves the
   table layout. Each totals row becomes a flex line, label left, amount
   right; stretched, so the rules above the rows stay level. */
.maelia-bon table.maelia-recap,
.maelia-bon .maelia-recap tbody,
.maelia-bon .maelia-recap tfoot {
	display: block;
}

.maelia-bon .maelia-recap tfoot tr {
	display: flex;
}

.maelia-bon .maelia-recap tfoot th {
	flex: 1 1 auto;
}

.maelia-bon .maelia-recap tfoot td {
	flex: 0 1 auto;
}

.maelia-bon .maelia-recap tfoot td[colspan] {
	flex: 1 1 100%;
}

.maelia-bon .maelia-recap tbody tr.cart_item {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--mb-hair);
}

.maelia-bon .maelia-recap tbody tr.cart_item:first-child {
	border-top: 0;
}

.maelia-bon .maelia-recap tbody tr.cart_item td {
	display: block;
	border-top: 0;
}

.maelia-bon .maelia-recap tbody tr.cart_item td.product-name {
	padding-bottom: 4px;
}

.maelia-bon .maelia-recap tbody tr.cart_item td.product-total {
	padding: 0 0 10px;
}


/* ---------------------------------------------------------------------------
 * Below 900 px: one column, the summary first, folded behind "Voir ma commande"
 * ------------------------------------------------------------------------- */

@media (max-width: 899px) {
	.maelia-bon__grille {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.maelia-bon__recap {
		position: static;
		order: -1;
		max-height: none;
		overflow: visible;
	}

	.maelia-bon .maelia-recap__bascule {
		display: flex;
		align-items: center;
		gap: 6px;
		width: 100%;
		min-height: 50px;
		margin: 0;
		padding: 12px 16px;
		border: 0;
		background: none;
		box-shadow: none;
		color: var(--mb-ink);
		font: 600 15px/1.3 var(--mb-text);
		letter-spacing: 0;
		text-align: left;
		text-transform: none;
	}

	.maelia-bon .maelia-recap__bascule:hover {
		background: var(--mb-band2);
		color: var(--mb-ink);
	}

	.maelia-recap__bascule-total {
		font-weight: 700;
	}

	.maelia-recap__chevron {
		margin-left: auto;
		transition: transform 200ms var(--mb-ease);
	}

	.maelia-recap__bascule[aria-expanded="true"] .maelia-recap__chevron {
		transform: rotate(180deg);
	}

	.maelia-bon:not(.maelia-bon--js) .maelia-recap__bascule {
		display: none;
	}

	/* Folded only when the script is there to unfold it. */
	.maelia-bon--js .maelia-recap__corps {
		grid-template-rows: 0fr;
		visibility: hidden;
	}

	.maelia-bon--js .maelia-bon__recap.est-deplie .maelia-recap__corps {
		grid-template-rows: 1fr;
		visibility: visible;
		transition: grid-template-rows 200ms var(--mb-ease), visibility 0s linear 0s;
	}

	.maelia-recap__contenu {
		padding: 4px 16px 16px;
	}

	.maelia-bon .maelia-recap__titre {
		display: none;
	}

	.maelia-volet__tete {
		padding: 14px 16px;
	}

	.maelia-volet__contenu {
		padding: 0 16px 20px;
	}

	.maelia-bon .button.maelia-bouton,
	.maelia-bon #place_order {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.maelia-bon--js .maelia-volet__corps,
	.maelia-bon--js .maelia-volet.ouvert .maelia-volet__corps,
	.maelia-bon--js .maelia-recap__corps,
	.maelia-bon--js .maelia-bon__recap.est-deplie .maelia-recap__corps,
	.maelia-recap__chevron {
		transition: none;
	}

	.maelia-bon .button.maelia-bouton:active,
	.maelia-bon #place_order:active {
		transform: none;
	}
}

/* ===========================================================================
 * Cart page (templates/cart/cart.php), mockup A
 * Same tokens and the same .maelia-bon__grille as the order form. Specificity
 * stays above Flatsome's #custom-css rules thanks to .maelia-bon.maelia-panier.
 * ========================================================================= */

.maelia-bon.maelia-panier {
	margin: 0 0 32px;
}

.maelia-panier__intro {
	margin: 0 0 18px;
	color: var(--mb-muted);
	font-size: 14.5px;
}

.maelia-panier__intro a {
	color: var(--mb-link);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.maelia-panier .maelia-panier__lignes,
.maelia-panier .maelia-panier__total {
	min-width: 0;
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
}

/* The totals follow the lines (the order form puts its summary first on a phone). */
.maelia-panier .maelia-panier__total {
	position: static;
	order: 0;
	max-height: none;
	overflow: visible;
}

.maelia-panier .maelia-panier__lignes {
	padding-top: 4px;
	padding-bottom: 4px;
}

/* --- Lines: the table becomes cards, plugin rows through the hooks still fit --- */

.maelia-panier table.shop_table,
.maelia-panier table.shop_table tbody {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
	background: none;
}

.maelia-panier table.shop_table tr.cart_item {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	grid-template-areas:
		"vignette nom prix"
		"vignette nom quantite"
		"vignette nom retirer";
	align-content: start;
	column-gap: 16px;
	row-gap: 10px;
	padding: 18px 0;
	border: 0;
	border-top: 1px solid var(--mb-hair);
}

.maelia-panier table.shop_table tr.cart_item:first-of-type {
	border-top: 0;
}

.maelia-panier table.shop_table tr.cart_item td {
	display: block;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}

/* Flatsome's "label : value" prefix on a phone is not wanted here. */
.maelia-panier table.shop_table tr.cart_item td::before {
	content: none;
	display: none;
}

.maelia-panier td.product-thumbnail {
	grid-area: vignette;
	width: auto;
	max-width: none;
}

.maelia-panier td.product-thumbnail img {
	display: block;
	width: 76px;
	height: 76px;
	border-radius: var(--mb-r);
	background: var(--mb-band2);
	object-fit: cover;
}

.maelia-panier td.product-name {
	grid-area: nom;
	font-size: 15px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.maelia-panier td.product-name > a {
	color: var(--mb-ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.maelia-panier td.product-name > a:hover {
	text-decoration: underline;
}

/* The unit price is not repeated: the line total (with any offer) says it. */
.maelia-panier td.product-price {
	display: none !important;
}

.maelia-panier td.product-subtotal {
	grid-area: prix;
	justify-self: end;
	font-size: 15.5px;
	font-weight: 700;
	white-space: nowrap;
	text-align: right;
}

.maelia-panier td.product-subtotal del {
	/* As wide as the price only: the drawn strike (::after) spans the box, and
	   a block took the width of « 17,25 € l'unité » below. */
	display: table;
	margin-left: auto;
	/* Same size as the discounted price (owner's review of 2026-11-08). */
	font-weight: 400;
	color: var(--mb-muted);
}

.maelia-panier td.product-quantity {
	grid-area: quantite;
	justify-self: end;
}

.maelia-panier td.product-remove {
	grid-area: retirer;
	justify-self: end;
}

.maelia-panier td.product-remove a.remove {
	position: static;
	display: inline;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--mb-muted) !important;
	font: 400 13px/1.3 var(--mb-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.maelia-panier td.product-remove a.remove:hover,
.maelia-panier td.product-remove a.remove:focus-visible {
	background: none;
	color: var(--mb-stamp) !important;
}

/* Quantity: a stepper with the field's border. */
.maelia-panier .quantity {
	display: inline-flex;
	align-items: center;
	margin: 0;
	height: 36px;
	border: 1px solid var(--mb-field);
	border-radius: var(--mb-r);
	background: #fff;
}

.maelia-panier .quantity input.qty,
.maelia-panier .quantity input[type="number"] {
	width: 40px;
	height: 34px;
	/* The form fields' 46 px minimum would push the field out of the stepper. */
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--mb-hair);
	border-right: 1px solid var(--mb-hair);
	border-radius: 0;
	box-shadow: none;
	background: none;
	color: var(--mb-ink);
	/* 16 px: below that, iOS Safari zooms on the field when it gets focus. */
	font: 600 16px/34px var(--mb-text);
	text-align: center;
	-moz-appearance: textfield;
}

.maelia-panier .quantity input::-webkit-outer-spin-button,
.maelia-panier .quantity input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.maelia-panier .quantity .minus,
.maelia-panier .quantity .plus,
.maelia-panier .quantity .ux-quantity__button {
	width: 34px;
	height: 34px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--mb-link);
	font: 500 18px/34px var(--mb-text);
	opacity: 1;
}

.maelia-panier .quantity .minus:hover,
.maelia-panier .quantity .plus:hover,
.maelia-panier .quantity .ux-quantity__button:hover {
	background: var(--mb-band2);
	color: var(--mb-ink);
}

/* « − » at the minimum, « + » at the maximum (panier.js): greyed out, no hover. */
.maelia-panier .quantity .minus:disabled,
.maelia-panier .quantity .minus:disabled:hover,
.maelia-panier .quantity .plus:disabled,
.maelia-panier .quantity .plus:disabled:hover {
	background: none;
	color: var(--mb-hair);
	cursor: default;
}

/* Options of the line (child theme's cart-item-data.php): one line per option,
   « label : value ». No label column: the longest label (« Personnaliser le
   produit (prénom, etc.) ? ») squeezed every value into a narrow column. */
.maelia-panier dl.variation {
	display: block;
	margin: 8px 0 0;
	font-size: 13.5px;
	line-height: 1.45;
}

.maelia-panier dl.variation dt,
.maelia-panier dl.variation dd {
	display: inline;
	float: none;
	margin: 0;
	padding: 0;
	color: var(--mb-muted);
	font-weight: 400;
}

.maelia-panier dl.variation dd {
	color: var(--mb-link);
	font-weight: 600;
}

/* Line break after each value. */
.maelia-panier dl.variation dd::after {
	content: "\A";
	white-space: pre;
}

.maelia-panier dl.variation dd p {
	display: inline;
	margin: 0;
}

/* Fabric: swatch, then name, on its own line under the label. */
.maelia-panier dl.variation dd .maelia-option-tissu {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 3px 0 5px;
}

.maelia-panier dl.variation dd:has(.maelia-option-tissu)::after {
	content: none;
}

.maelia-panier .maelia-option-tissu__image {
	display: block;
	order: -1;
	flex: none;
	width: 48px;
	height: 48px;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
	object-fit: cover;
}

/* The first name, in script; its preview in the chosen font is dropped (the font's name stays). */
.maelia-panier dl.variation dd[class^="variation-Texteajouter"] {
	color: var(--mb-ink);
	font: 400 20px/1.2 "Petit Formal Script", cursive;
}

.maelia-panier dl.variation dt[class^="variation-Aper"],
.maelia-panier dl.variation dt[class^="variation-Aper"] + dd {
	display: none;
}

.maelia-panier__delai {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 10px 0 0;
	color: var(--mb-muted);
	font-size: 13px;
	line-height: 1.35;
}

.maelia-panier__delai svg {
	flex: none;
	color: var(--mb-pri);
}

/* Update button: shown without JavaScript only (the quantity refreshes the cart by itself). */
.maelia-panier tr.maelia-panier__actions {
	display: block;
}

.maelia-panier tr.maelia-panier__actions td.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 14px 0 12px;
	border: 0;
	border-top: 1px solid var(--mb-hair);
	background: none;
}

/* With JavaScript the row only holds the hidden button: no rule, no space
   under the last line (owner's review of 2026-11-08). */
.maelia-panier-js .maelia-panier tr.maelia-panier__actions td.actions {
	padding: 0;
	border-top: 0;
}

.maelia-panier .maelia-panier__maj {
	order: 2;
	margin: 0 0 0 auto;
	padding: 0 16px;
	min-height: 38px;
	border: 1.5px solid var(--mb-pri);
	border-radius: var(--mb-r);
	background: #fff;
	color: var(--mb-link);
	font: 600 14px/1 var(--mb-text);
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
}

.maelia-panier .maelia-panier__maj[disabled],
.maelia-panier .maelia-panier__maj[aria-disabled="true"] {
	opacity: .55;
}

.maelia-panier-js .maelia-panier .maelia-panier__maj {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.maelia-panier .actions .continue-shopping,
.maelia-panier .actions a.button.wc-backward {
	margin: 0;
}

/* --- Totals --- */

.maelia-panier .cart_totals {
	width: 100%;
	float: none;
	margin: 0;
	padding: 0;
}

.maelia-panier .cart_totals > h2 {
	margin: 0 0 12px;
	font: 700 19px/1.2 var(--mb-display);
	text-transform: none;
	letter-spacing: 0;
}

.maelia-panier .cart_totals table.shop_table {
	display: table;
	margin: 0;
}

.maelia-panier .cart_totals table.shop_table tbody {
	display: table-row-group;
}

.maelia-panier .cart_totals table.shop_table tr {
	display: table-row;
	border: 0;
}

.maelia-panier .cart_totals table.shop_table th,
.maelia-panier .cart_totals table.shop_table td {
	display: table-cell;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--mb-ink);
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	vertical-align: top;
	text-transform: none;
}

.maelia-panier .cart_totals table.shop_table td {
	text-align: right;
}

.maelia-panier .cart_totals table.shop_table td::before {
	content: none;
}

.maelia-panier .cart_totals tr.order-total th,
.maelia-panier .cart_totals tr.order-total td {
	padding-top: 14px;
	border-top: 2px solid var(--mb-ink);
	/* 18 px, one step down from 21 (owner's review of 2026-11-10). */
	font: 800 18px/1.15 var(--mb-display);
}

.maelia-panier .cart_totals tr.order-total td small.includes_tax {
	display: block;
	margin-top: 4px;
	font: 400 12.5px/1.3 var(--mb-text);
	color: var(--mb-muted);
	white-space: nowrap;
}

.maelia-panier .cart_totals tr.shipping ul#shipping_method,
.maelia-panier .cart_totals tr.shipping ul.woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maelia-panier .cart_totals tr.shipping li {
	margin: 0 0 4px;
	font-size: 14px;
}

.maelia-panier .cart_totals .woocommerce-shipping-destination,
.maelia-panier .cart_totals .shipping-calculator-button {
	font-size: 12.5px;
	color: var(--mb-muted);
}

/* The notes printed above the totals by the house plugins. */
.maelia-panier .maelia-noel-note,
.maelia-panier .maelia-promo-messages {
	margin: 0 0 12px;
}

.maelia-panier .maelia-promo-messages {
	padding: 0;
	list-style: none;
}

/* --- The one button, the coupon and the reassurance --- */

.maelia-panier .wc-proceed-to-checkout {
	padding: 16px 0 0;
}

.maelia-panier .wc-proceed-to-checkout a.checkout-button.maelia-panier__valider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 14px 18px;
	border: 0;
	border-radius: var(--mb-r);
	background-color: var(--mb-pri);
	box-shadow: none;
	color: #fff;
	font: 700 16px/1.2 var(--mb-text);
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	transition: background-color .2s var(--mb-ease), transform .16s var(--mb-ease);
}

.maelia-panier .wc-proceed-to-checkout a.checkout-button.maelia-panier__valider:hover,
.maelia-panier .wc-proceed-to-checkout a.checkout-button.maelia-panier__valider:focus-visible {
	background-color: var(--mb-link);
	color: #fff;
}

.maelia-panier .wc-proceed-to-checkout a.checkout-button.maelia-panier__valider:active {
	transform: scale(.985);
}

.maelia-panier__code {
	margin: 16px 0 0;
	font-size: 13.5px;
	color: var(--mb-muted);
}

.maelia-panier__code summary {
	text-align: center;
	cursor: pointer;
	list-style: none;
}

.maelia-panier__code summary::-webkit-details-marker {
	display: none;
}

.maelia-panier__code summary span {
	color: var(--mb-link);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.maelia-panier__code summary:focus-visible {
	outline: 2px solid var(--mb-pri);
	outline-offset: 3px;
}

.maelia-panier__code .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 0;
}

.maelia-panier__code .coupon .input-text {
	/* The side column is about 290px wide: field and button share the line;
	   the button drops under the field when the field would get below 140px. */
	flex: 1 1 140px;
	min-width: 0;
	/* Same height as every field of the order form (min-height 46px) and as the button. */
	height: 46px !important;
	margin: 0;
	border: 1px solid var(--mb-field);
	border-radius: var(--mb-r);
	box-shadow: none;
	color: var(--mb-ink);
	/* 16 px: below that, iOS Safari zooms on the field when it gets focus. */
	font: 400 16px/1 var(--mb-text);
}

.maelia-panier__code .coupon .button {
	flex: none;
	/* Flatsome stretches every button of the totals block (min/max-width 100%). */
	width: auto !important;
	min-width: 0 !important;
	min-height: 46px;
	height: 46px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid var(--mb-pri);
	border-radius: var(--mb-r);
	background: #fff;
	box-shadow: none;
	color: var(--mb-link);
	font: 600 14px/1 var(--mb-text);
	letter-spacing: 0;
	text-transform: none;
}

.maelia-panier__reassurance {
	display: grid;
	gap: 9px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	color: var(--mb-muted);
	font-size: 13.5px;
	line-height: 1.4;
}

.maelia-panier__reassurance li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
}

.maelia-panier__reassurance svg {
	flex: none;
	margin-top: 2px;
	color: var(--mb-pri);
}

.maelia-panier__reassurance b {
	color: var(--mb-ink);
	font-weight: 600;
}

.maelia-panier .cross-sells {
	margin-top: 18px;
}

/* --- A phone: the thumbnail stays left of the name; quantity and price on a row below --- */

@media (max-width: 599px) {
	.maelia-panier .maelia-panier__lignes,
	.maelia-panier .maelia-panier__total {
		padding: 16px;
	}

	.maelia-panier table.shop_table tr.cart_item {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas:
			"vignette nom nom"
			"quantite quantite prix"
			"retirer retirer retirer";
		column-gap: 12px;
		align-items: center;
	}

	.maelia-panier td.product-thumbnail img {
		width: 64px;
		height: 64px;
	}

	.maelia-panier td.product-quantity,
	.maelia-panier td.product-remove {
		justify-self: start;
	}

	.maelia-panier td.product-name,
	.maelia-panier td.product-thumbnail {
		align-self: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.maelia-panier .wc-proceed-to-checkout a.checkout-button.maelia-panier__valider:active {
		transform: none;
	}
}

/* The child theme frames the cart form and the collaterals as cards
   (maelia-surfaces.css): inside our own cards, the frame goes. */
.maelia-panier .woocommerce-cart-form,
.maelia-panier .cart-collaterals,
.maelia-panier .cart_totals,
.maelia-panier .cart-sidebar {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

/* Shipping choice: label above the options, full width. */
.maelia-panier .cart_totals tr.shipping th,
.maelia-panier .cart_totals tr.shipping td {
	display: block;
	width: 100%;
	text-align: left;
}

.maelia-panier .cart_totals tr.shipping {
	display: block;
	padding: 6px 0;
}

.maelia-panier td.product-quantity {
	margin-top: 2px;
}

/* Totals as flex rows (a table row cannot hand the shipping options the full width). */
.maelia-panier .cart_totals table.shop_table,
.maelia-panier .cart_totals table.shop_table tbody {
	display: block;
	width: 100%;
}

.maelia-panier .cart_totals table.shop_table tr {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 12px;
}

.maelia-panier .cart_totals table.shop_table th,
.maelia-panier .cart_totals table.shop_table td {
	display: block;
	width: auto;
}

.maelia-panier .cart_totals table.shop_table td {
	margin-left: auto;
}

.maelia-panier .cart_totals tr.shipping th,
.maelia-panier .cart_totals tr.shipping td {
	flex: 1 1 100%;
	margin-left: 0;
	text-align: left;
}

.maelia-panier .cart_totals tr.maelia-promo-economie th {
	flex: 1 1 100%;
	/* Right, under the total, as in the mini-cart (owner's review of 2026-11-08). */
	text-align: right;
}

/* Same in the order summary (owner's review of 2026-11-09). */
.maelia-bon .maelia-recap tfoot tr.maelia-promo-economie th {
	text-align: right;
}

.maelia-panier td.product-remove {
	width: auto;
}

.maelia-panier .cart_totals table.shop_table tr.order-total {
	margin-top: 8px;
	border-top: 2px solid var(--mb-ink);
}

.maelia-panier .cart_totals tr.order-total th,
.maelia-panier .cart_totals tr.order-total td {
	border-top: 0;
}

.maelia-panier td.product-remove a.remove {
	font-size: 13px !important;
	line-height: 1.3 !important;
}

/* Terms sentence under the pay button / express buttons, and the newsletter notice (maelia-newsletter). */
.maelia-cgv,
.maelia-newsletter-mention {
	margin: 10px 0 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--mb-ink);
}

/* The terms sentence in bold (owner's review of 2026-11-09). */
.maelia-cgv {
	font-weight: 700;
}

.maelia-cgv a {
	color: var(--mb-ink);
	text-decoration: underline;
}

/* ===========================================================================
 * Thank-you page (templates/checkout/thankyou.php), mockup 4 « La synthèse »
 * (docs/design/merci/proposition-4-synthese.html, owner's choice of
 * 2026-11-11): the thank-you card, then the order grouped by what Lara does
 * with it beside the totals, delivery, payment and account cards.
 * ======================================================================== */

.maelia-merci {
	max-width: 1080px;
	margin: 0 auto;
}

/* Flatsome sets definition lists in capitals: plain text here. */
.maelia-merci dt,
.maelia-merci dd {
	text-transform: none;
	letter-spacing: normal;
}

.maelia-merci__carte,
.maelia-merci__groupe,
.maelia-merci__encart {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
}

/* --- Thank-you card ------------------------------------------------------- */

.maelia-merci__carte {
	padding: 32px 36px;
}

.maelia-merci .maelia-merci__titre {
	margin: 0;
	color: var(--mb-ink);
	font: 800 clamp(22px, 2.4vw, 27px)/1.15 var(--mb-display);
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.maelia-merci__sous-titre {
	margin: 6px 0 0;
	color: var(--mb-muted);
	font-size: 15px;
	overflow-wrap: anywhere;
}

/* Message added by a payment plugin to WooCommerce's « Thank you » sentence. */
.maelia-merci .maelia-merci__note {
	margin: 10px 0 0;
	padding: 0;
	background: none;
	color: var(--mb-muted);
	font-size: 14px;
}

/* Lara's note: one or two short sentences, one per line, no measure limit. */
.maelia-merci__mot {
	margin: 16px 0 26px;
	color: var(--mb-ink);
	font-size: 16.5px;
	line-height: 1.55;
}

.maelia-merci__mot span {
	display: block;
}

/* Cheque waiting: the instructions (inc/cheque.php) and, beside them, the
   offer to pay at once on the order-pay page (owner, 2026-11-11). */
.maelia-merci__cheque {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
	align-items: stretch;
	margin: -6px 0 26px;
}

.maelia-merci__attendu {
	padding: 14px 16px;
	border: 1px solid var(--mb-stamp);
	border-radius: var(--mb-r);
	background: #fff;
	color: var(--mb-ink);
	font-size: 14.5px;
}

.maelia-merci .maelia-merci__attendu-titre {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
	color: var(--mb-stamp);
	font: 700 15px/1.3 var(--mb-text);
}

.maelia-merci__attendu p {
	margin: 0 0 8px;
}

.maelia-merci__attendu p:last-child {
	margin-bottom: 0;
}

.maelia-merci__icone {
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.maelia-merci__plus-vite {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px;
	border-radius: var(--mb-r);
	background: var(--mb-band2);
	color: var(--mb-ink);
	font-size: 14.5px;
}

.maelia-merci .maelia-merci__plus-vite-titre {
	margin: 0;
	color: var(--mb-ink);
	font: 700 15px/1.3 var(--mb-text);
}

.maelia-merci__plus-vite p {
	margin: 0;
}

.maelia-merci .button.maelia-merci__payer {
	max-width: none;
	margin: auto 0 0;
}

.maelia-merci__petit {
	color: var(--mb-muted);
	font-size: 12.5px;
}

/* The timeline: four steps on a line, a vertical list below 900 px. */
.maelia-merci .maelia-frise {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.maelia-merci .maelia-frise li {
	position: relative;
	margin: 0;
	padding: 34px 12px 0 0;
	font-size: 14px;
	line-height: 1.4;
	list-style: none;
}

.maelia-frise li::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 8px;
	left: 0;
	width: 18px;
	height: 18px;
	box-sizing: border-box;
	border: 2px solid var(--maelia-teal-400, #5EBAA9);
	border-radius: 50%;
	background: #fff;
}

.maelia-frise li::after {
	content: "";
	position: absolute;
	top: 16px;
	right: 0;
	left: 18px;
	height: 2px;
	background: var(--mb-hair);
}

.maelia-frise li:last-child::after {
	display: none;
}

.maelia-frise li.maelia-frise__etape--fait::before {
	border-color: var(--mb-pri);
	background: var(--mb-pri);
}

.maelia-frise li.maelia-frise__etape--fait::after {
	background: var(--mb-pri);
}

.maelia-frise li.maelia-frise__etape--en-cours::before {
	border-color: var(--mb-stamp);
	outline: 3px solid #F3DAD8;
}

/* Waiting for the payment (cheque): a dashed, quiet circle. */
.maelia-frise li.maelia-frise__etape--attente::before {
	border-style: dashed;
	border-color: var(--mb-muted);
}

.maelia-frise b {
	display: block;
	font-weight: 700;
}

.maelia-frise small {
	display: block;
	color: var(--mb-muted);
	font-size: 13px;
	overflow-wrap: anywhere;
}

/* Signature with Lara's photo, framed as the homepage circle (50 % 35 %). */
.maelia-merci__signe {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
}

.maelia-merci img.maelia-merci__photo {
	flex: none;
	width: 52px;
	height: 52px;
	border: 2px solid var(--mb-band);
	border-radius: 50%;
	background: var(--mb-band2);
	object-fit: cover;
	object-position: 50% 35%;
}

.maelia-merci__signature {
	margin: 0;
	color: var(--mb-ink);
	font: 400 26px/1.2 var(--maelia-font-script, "Petit Formal Script", cursive);
}

/* --- The order and its cards ---------------------------------------------- */

.maelia-merci__commande {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 28px;
	align-items: start;
	margin-top: 28px;
}

/* The fold exists for a phone only. */
.maelia-merci__repli > summary {
	display: none;
}

.maelia-merci__groupe {
	padding: 22px 28px 10px;
}

.maelia-merci__groupe + .maelia-merci__groupe {
	margin-top: 16px;
}

.maelia-merci .maelia-merci__groupe-titre {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	color: var(--mb-ink);
	font: 700 19px/1.2 var(--mb-display);
}

.maelia-merci__groupe-titre .maelia-merci__icone {
	width: 20px;
	height: 20px;
	color: var(--mb-pri);
}

.maelia-merci__groupe-titre span {
	margin-left: auto;
	color: var(--mb-muted);
	font: 400 13.5px/1 var(--mb-text);
}

.maelia-merci__groupe-note {
	margin: -4px 0 8px;
	color: var(--mb-muted);
	font-size: 13.5px;
}

.maelia-merci .maelia-merci__lignes {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maelia-merci .maelia-merci__ligne {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	grid-template-areas: "visuel texte" "visuel prix";
	column-gap: 14px;
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--mb-hair);
	list-style: none;
}

.maelia-merci .maelia-merci__ligne:first-child {
	padding-top: 4px;
	border-top: 0;
}

/* Quantity on the thumbnail (owner, 2026-11-11). */
.maelia-merci__visuel {
	grid-area: visuel;
	position: relative;
	width: 56px;
	height: 56px;
}

.maelia-merci__visuel img {
	display: block;
	width: 56px;
	height: 56px;
	margin: 0;
	border-radius: var(--mb-r);
	background: var(--mb-band2);
	object-fit: cover;
}

.maelia-merci__qte {
	position: absolute;
	top: -7px;
	right: -7px;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--mb-ink);
	color: #fff;
	font: 700 12px/18px var(--mb-text);
	text-align: center;
}

.maelia-merci__texte-ligne {
	grid-area: texte;
	min-width: 0;
	font-size: 13.5px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.maelia-merci__nom {
	display: block;
	color: var(--mb-ink);
	font-size: 14.5px;
	font-weight: 600;
}

.maelia-merci__texte-ligne .maelia-promo-ligne {
	display: block;
	margin: 0 0 5px;
}

.maelia-merci .maelia-merci__options {
	margin: 6px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
}

.maelia-merci__options > div {
	margin: 0;
}

.maelia-merci .maelia-merci__options dt,
.maelia-merci .maelia-merci__options dd {
	display: inline;
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.maelia-merci .maelia-merci__options dt {
	color: var(--mb-muted);
}

.maelia-merci .maelia-merci__options dd {
	color: var(--mb-ink);
}

/* Fabric: swatch, then name, on its own line under the label. */
.maelia-merci .maelia-merci__tissu dd {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 3px 0 5px;
}

.maelia-merci__tissu .maelia-option-tissu {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.maelia-merci .maelia-merci__tissu .maelia-option-tissu__image {
	position: static;
	order: -1;
	width: 32px;
	height: 32px;
	margin: 0;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
	object-fit: cover;
}

/* The first name in the font chosen for it, on the label's line. */
.maelia-merci .maelia-merci__prenom .maelia-option-police__apercu {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 19px;
	line-height: 1;
}

/* Amounts inside small grey text stay light. */
.maelia-merci__unite .amount,
.maelia-merci__tva .amount {
	font-weight: 400;
}

.maelia-merci__supp {
	color: var(--mb-muted);
	white-space: nowrap;
}

.maelia-merci .maelia-merci__prix {
	grid-area: prix;
	justify-self: end;
	align-self: end;
	margin: 4px 0 0;
	color: var(--mb-ink);
	font-size: 14.5px;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.maelia-merci__unite {
	display: block;
	color: var(--mb-muted);
	font: 400 12.5px/1.3 var(--mb-text);
}

/* Struck price: the cart's red hand-drawn slant (maelia-tokens.css). */
.maelia-merci .maelia-merci__prix del {
	position: relative;
	display: table;
	margin-left: auto;
	color: var(--mb-muted);
	font-weight: 400;
	text-decoration: none;
	opacity: 1;
}

.maelia-merci .maelia-merci__prix del .amount {
	margin-right: 0;
}

.maelia-merci .maelia-merci__prix del::after {
	content: "";
	position: absolute;
	inset: 0.1em -0.15em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M2 16.5C26 13.8 58 8.4 98 3.2' fill='none' stroke='%23A8403D' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M6 17.6C34 14.2 64 9.6 95 5' fill='none' stroke='%23A8403D' stroke-width='0.9' stroke-linecap='round' stroke-opacity='0.55' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	pointer-events: none;
}

/* Side cards. */
.maelia-merci__cote {
	position: sticky;
	top: 120px; /* Under Flatsome's sticky header. */
	display: grid;
	gap: 16px;
	min-width: 0;
}

.maelia-merci__encart {
	padding: 20px 22px;
	color: var(--mb-ink);
	font-size: 14.5px;
}

.maelia-merci__encart p {
	margin: 0;
}

.maelia-merci .maelia-merci__titre2 {
	margin: 0 0 8px;
	color: var(--mb-ink);
	font: 700 15px/1.3 var(--mb-text);
}

.maelia-merci__nom-lieu {
	font-weight: 700;
}

.maelia-merci__encart .maelia-merci__petit {
	margin-top: 8px;
}

.maelia-merci__attente {
	color: var(--mb-stamp);
}

.maelia-merci .maelia-merci__horaires {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 14px;
	margin: 10px 0 0;
	font-size: 13px;
}

.maelia-merci .maelia-merci__horaires dt,
.maelia-merci .maelia-merci__horaires dd {
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.maelia-merci .maelia-merci__horaires dt {
	color: var(--mb-muted);
}

/* Totals card. */
.maelia-merci .maelia-merci__totaux {
	margin: 0;
	padding: 0;
	font-size: 14.5px;
}

.maelia-merci__totaux > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 5px 0;
}

.maelia-merci .maelia-merci__totaux dt,
.maelia-merci .maelia-merci__totaux dd {
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.maelia-merci .maelia-merci__totaux dd {
	text-align: right;
	white-space: nowrap;
}

.maelia-merci__totaux .maelia-merci__remise {
	color: var(--mb-stamp);
	font-weight: 600;
}

.maelia-merci .maelia-merci__totaux .maelia-merci__remise dt,
.maelia-merci .maelia-merci__totaux .maelia-merci__remise dd,
.maelia-merci .maelia-merci__totaux .maelia-merci__remise dd .amount {
	color: var(--mb-stamp);
	font-weight: 600;
}

.maelia-merci .maelia-merci__totaux .maelia-merci__remise {
	align-items: center;
}

/* The offer name as a red tag, as in the cart (owner, 2026-11-11). */
.maelia-merci__etiquette {
	display: inline-flex;
	align-items: center;
	padding: 2px 9px 2px 7px;
	border-radius: 12px;
	background: var(--maelia-stamp-bg, #FBEFEE);
	color: var(--mb-stamp);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.maelia-merci__etiquette .maelia-pastille-icone {
	margin-right: 5px;
	vertical-align: 0;
}

.maelia-merci__offert {
	color: var(--mb-link);
	font-weight: 700;
}

.maelia-merci__totaux .maelia-merci__total {
	align-items: flex-start;
	margin-top: 8px;
	padding-top: 12px;
	border-top: 2px solid var(--mb-ink);
}

.maelia-merci .maelia-merci__totaux .maelia-merci__total dt,
.maelia-merci .maelia-merci__totaux .maelia-merci__total dd {
	font: 800 21px/1.1 var(--mb-display);
}

.maelia-merci__tva {
	display: block;
	margin-top: 4px;
	color: var(--mb-muted);
	font: 400 12.5px/1.3 var(--mb-text);
	white-space: nowrap;
}

/* « Vous avez économisé 26,00 € »: one line at the right, as in the cart
   (maelia-promotions): the words in ink, regular; the amount red, semi-bold. */
.maelia-merci .maelia-merci__economie {
	margin: 0;
	padding-top: 4px;
	color: var(--mb-ink);
	font-size: 14.5px;
	font-weight: 400;
	text-align: right;
}

.maelia-merci .maelia-merci__economie .amount {
	color: var(--mb-stamp);
	font-weight: 600;
}

/* Relay point refused: the request, then on a second line the address hint. */
.maelia-bon .maelia-volet-livraison .maelia-message {
	white-space: pre-line;
}

/* Account to activate, in the thank-you card above the newsletter. */
.maelia-merci .maelia-merci__activation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 24px 0 0;
	padding: 14px 16px;
	border: 1.5px solid var(--mb-band);
	border-radius: var(--mb-r);
	background: #fff;
}

.maelia-merci .maelia-merci__activation-titre {
	margin: 0 0 4px;
	color: var(--mb-ink);
	font: 700 15px/1.3 var(--mb-text);
}

.maelia-merci .maelia-merci__activation-texte {
	margin: 0;
	color: var(--mb-ink);
	font-size: 15px;
	line-height: 1.5;
}

.maelia-merci .maelia-merci__activation-corps {
	flex: 1 1 260px;
	min-width: 0;
}

/* Same look as « Non merci » of the newsletter block, just below. */
.maelia-merci a.maelia-merci__activation-lien,
.maelia-merci a.maelia-merci__activation-lien:hover {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1.5px solid var(--mb-pri);
	border-radius: var(--mb-r);
	background: #fff;
	color: var(--mb-link);
	font: 600 15px/1.2 var(--mb-text);
	text-decoration: none;
	white-space: nowrap;
}

.maelia-merci a.maelia-merci__activation-lien:hover {
	background: var(--mb-band);
}

.maelia-merci a.maelia-merci__activation-lien:focus-visible {
	outline: 2px solid var(--mb-ink);
	outline-offset: 2px;
}

.maelia-merci .maelia-merci__activation + .maelia-nouveautes {
	margin-top: 12px;
}

/* Account card. */
.maelia-merci__texte {
	margin: 0;
	color: var(--mb-muted);
	font-size: 14.5px;
}

.maelia-merci a.maelia-merci__lien,
.maelia-merci a.maelia-merci__lien:hover {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin-top: 12px;
	padding: 12px 16px;
	border: 1.5px solid var(--mb-pri);
	border-radius: var(--mb-r);
	background: #fff;
	color: var(--mb-link);
	font: 600 15px/1.2 var(--mb-text);
	text-decoration: none;
}

.maelia-merci a.maelia-merci__lien:hover {
	background: var(--mb-band2);
}

/* Footnote of the delays, centred at the foot of the page (owner, 2026-11-11). */
/* 15 px sous le renvoi : la page n'a plus de marge avant le pied de page
   (owner, 2026-11-12). */
.maelia-merci__pied .maelia-note-delais {
	margin: 24px 0 15px;
	text-align: center;
	text-wrap: balance;
}

/* Hooks below (payment plugins, tracking). */
.maelia-merci__details:empty {
	display: none;
}

@media (max-width: 899px) {
	.maelia-merci__carte {
		padding: 22px 18px;
	}

	.maelia-merci__mot {
		font-size: 16px;
	}

	.maelia-merci__cheque {
		grid-template-columns: minmax(0, 1fr);
	}

	.maelia-merci .maelia-frise {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	.maelia-merci .maelia-frise li {
		padding: 2px 0 14px 34px;
	}

	.maelia-frise li::before {
		top: 2px;
	}

	.maelia-frise li::after {
		top: 22px;
		right: auto;
		left: 8px;
		width: 2px;
		height: calc(100% - 16px);
	}

	.maelia-merci__commande {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		margin-top: 14px;
	}

	/* The order folds behind « Ma commande · 11 créations · 253,50 € », open
	   by default; the groups become parts of one card. */
	.maelia-merci__repli {
		background: #fff;
		border: 1px solid var(--mb-hair);
		border-radius: var(--mb-r);
	}

	.maelia-merci__repli > summary {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 16px 18px;
		color: var(--mb-ink);
		font: 700 16px/1.2 var(--mb-display);
		list-style: none;
		cursor: pointer;
	}

	.maelia-merci__repli > summary::-webkit-details-marker {
		display: none;
	}

	.maelia-merci__repli > summary span {
		color: var(--mb-muted);
		font: 400 14px/1 var(--mb-text);
	}

	.maelia-merci__repli > summary b {
		margin-left: auto;
		font: 800 18px/1 var(--mb-display);
	}

	.maelia-merci__repli > summary .maelia-merci__chevron {
		width: 10px;
		height: 10px;
		margin-left: 4px;
		border-right: 2px solid var(--mb-ink);
		border-bottom: 2px solid var(--mb-ink);
		transform: rotate(45deg) translateY(-3px);
		transition: transform 0.2s var(--mb-ease);
	}

	.maelia-merci__repli[open] > summary .maelia-merci__chevron {
		transform: rotate(-135deg) translateY(-2px);
	}

	.maelia-merci__repli .maelia-merci__groupe {
		padding: 16px 18px 6px;
		border: 0;
		border-top: 1px solid var(--mb-hair);
		border-radius: 0;
	}

	.maelia-merci__repli .maelia-merci__groupe + .maelia-merci__groupe {
		margin-top: 0;
	}

	.maelia-merci .maelia-merci__groupe-titre {
		font-size: 17px;
	}

	.maelia-merci__cote {
		position: static;
	}

	.maelia-merci__encart {
		padding: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.maelia-merci__repli > summary .maelia-merci__chevron {
		transition: none;
	}
}

/* ---------------------------------------------------------------------------
 * Cart trimmed to mockup A (owner review of 2026-11-07)
 * ------------------------------------------------------------------------- */

/* Unit price under the line total, quantity above 1. */
.maelia-panier td.product-subtotal .maelia-panier__unite {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--mb-muted);
}

/* « Livraison » line of the totals (the shipping choice lives in the order form). */
.maelia-panier .cart_totals tr.maelia-panier__livraison td {
	font-weight: 400;
	color: var(--mb-muted);
}

.maelia-panier .cart_totals .maelia-panier__offert {
	font-weight: 600;
	color: var(--mb-pri);
}

/* Suggestions: three compact rows across the column (picture, name and price, button). */
.maelia-panier .cross-sells {
	margin-top: 24px;
}

.maelia-panier .cross-sells h2 {
	margin: 0 0 12px;
	font: 700 17px/1.3 var(--mb-display);
	color: var(--mb-ink);
}

.maelia-panier .cross-sells .products.row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	width: auto;
	max-width: none;
	margin: 0 !important;
}

.maelia-panier .cross-sells .products > .product-small.col {
	max-width: none !important;
	flex-basis: auto !important;
	width: auto !important;
	padding: 0 !important;
	margin: 0 !important;
}

.maelia-panier .cross-sells .col-inner,
.maelia-panier .cross-sells .box-text {
	height: auto !important;
	min-height: 0 !important;
}

.maelia-panier .cross-sells .product-small.box {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 8px 12px 8px 8px;
	background: #fff;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
}

.maelia-panier .cross-sells .box-image {
	width: 56px;
	margin: 0;
}

.maelia-panier .cross-sells .box-image img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: var(--mb-r);
}

.maelia-panier .cross-sells .image-tools,
.maelia-panier .cross-sells .badge-container,
.maelia-panier .cross-sells .star-rating,
.maelia-panier .cross-sells .box-text .screen-reader-text {
	display: none !important;
}

.maelia-panier .cross-sells .box-text {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "nom bouton" "prix bouton";
	column-gap: 14px;
	align-items: center;
	padding: 0 !important;
	text-align: left;
}

.maelia-panier .cross-sells .title-wrapper {
	grid-area: nom;
}

.maelia-panier .cross-sells .title-wrapper,
.maelia-panier .cross-sells .price-wrapper {
	/* Flatsome centres the children of .text-center with auto margins. */
	justify-self: stretch;
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: left !important;
}

.maelia-panier .cross-sells .price-wrapper {
	grid-area: prix;
}

.maelia-panier .cross-sells .add-to-cart-button {
	grid-area: bouton;
	margin: 0;
}

.maelia-panier .cross-sells .product-title {
	margin: 0;
	font-size: 14px;
	line-height: 1.35;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* Flatsome makes the link an inline-block: it is then clipped whole, without the ellipsis. */
.maelia-panier .cross-sells .product-title a {
	display: inline;
}

.maelia-panier .cross-sells .price {
	font-size: 13.5px;
	font-weight: 700;
}

.maelia-bon.maelia-panier .cross-sells .add-to-cart-button .button {
	min-height: 0;
	margin: 0;
	padding: 5px 12px;
	font-size: 12.5px;
	line-height: 1.4;
	white-space: nowrap;
	/* Secondary button: "Valider mon panier" stays the only filled green of the page.
	   !important and .maelia-bon: maelia-product-catalog.css fills the add-to-cart buttons
	   with !important, through a selector as specific as the short one. */
	background: #fff !important;
	color: var(--mb-pri) !important;
	border: 1.5px solid var(--mb-pri) !important;
	box-shadow: none !important;
}

.maelia-bon.maelia-panier .cross-sells .add-to-cart-button .button:hover,
.maelia-bon.maelia-panier .cross-sells .add-to-cart-button .button:focus-visible {
	background: var(--mb-band2) !important;
	color: var(--mb-ink) !important;
	border-color: var(--mb-pri) !important;
}

@media (max-width: 549px) {
	.maelia-panier .cross-sells .box-text {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "nom" "prix" "bouton";
		row-gap: 4px;
	}

	.maelia-panier .cross-sells .add-to-cart-button {
		justify-self: start;
	}
}

/* Page title: same spacing as the other pages (.maelia-titre-page of the child
   theme: 20 px under the header). Flatsome's checkout steps, removed from the
   cart, used to hold that space. */
.maelia-panier-page .cart-container > .section-title-container:first-child {
	margin-top: 20px;
	margin-bottom: 0;
}

.maelia-panier-page .maelia-panier__intro {
	margin-top: 8px;
}

/* Order form and thank-you page: the same 20 px under the header. Flatsome's
   checkout steps, removed there too (owner's review of 2026-11-09), used to
   hold that space. */
.cart-container.page-checkout {
	margin-top: 20px;
}

/* Delays: asterisk and footnote (cart, order summary, thank-you page). */
.maelia-asterisque {
	margin-left: 1px;
	font-weight: 600;
	color: var(--mb-muted);
}

.maelia-note-delais {
	margin: 14px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--mb-muted);
}

.maelia-note-delais a {
	color: var(--mb-link);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.maelia-recap__delai .maelia-note-delais {
	margin-top: 10px;
	text-align: left;
}

/* Offer lines of the totals (maelia-promotions): a long offer name wraps on its
   side, the amount stays on the first line, at the right. */
.maelia-panier .cart_totals table.shop_table tr.maelia-promo-total {
	flex-wrap: nowrap;
	align-items: baseline;
}

.maelia-panier .cart_totals tr.maelia-promo-total th {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.maelia-panier .cart_totals tr.maelia-promo-total td {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* The « − » in stamp red with its amount, as on the coupon line. */
.maelia-panier .cart_totals tr.maelia-promo-total td,
.maelia-bon .maelia-recap tr.maelia-promo-total td {
	color: var(--mb-stamp);
	font-weight: 600;
}

/* The offer name as a tag, red as every other offer mark of the site (product
   cards, product page, mini cart, line pill): owner, 2026-11-11, after a
   teal trial of 2026-11-08. A long name wraps inside the tag. */
.maelia-panier .cart_totals tr.maelia-promo-total .maelia-promo-total__libelle {
	display: inline-flex;
	align-items: center;
	padding: 2px 9px 2px 7px;
	border-radius: 12px;
	background: var(--maelia-stamp-bg, #FBEFEE);
	color: var(--mb-stamp);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.maelia-panier .cart_totals tr.maelia-promo-total .maelia-pastille-icone {
	margin-right: 5px;
	vertical-align: 0;
}

/* Flatsome adds 1.5em above the checkout block; the 16 px padding is enough. */
.maelia-panier .cart_totals .wc-proceed-to-checkout {
	margin-top: 0;
	margin-bottom: 0;
}

/* Side column of the cart: the totals card, then a second card with the
   reassurance and the delays footnote (owner's review of 2026-11-07). */
.maelia-panier__colonne {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.maelia-panier__garanties {
	padding: 18px 24px;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
}

.maelia-panier__garanties .maelia-panier__reassurance {
	margin: 0;
}

.maelia-panier__garanties .maelia-note-delais {
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--mb-hair);
}

@media (max-width: 599px) {
	.maelia-panier__garanties {
		padding: 16px;
	}
}

/* Refused coupon: the message under the field, like the errors of the order
   form (.checkout-inline-error-message), never at the top of the page. */
.maelia-panier__code-erreur {
	margin: 8px 0 0;
	padding: 2px 0 2px 10px;
	border-left: 3px solid var(--mb-stamp);
	color: var(--mb-stamp);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
}

.maelia-panier__code-erreur[hidden] {
	display: none;
}

.maelia-panier__code .coupon .input-text[aria-invalid="true"] {
	border-color: var(--mb-stamp);
}

.maelia-panier__code-formulaire.est-occupe {
	opacity: .6;
}

.maelia-panier .woocommerce-cart-form {
	margin-bottom: 10px;
}

/* Coupon line of the totals: « Code CODE · Retirer » | amount, on one line. */
.maelia-panier .cart_totals table.shop_table tr.cart-discount {
	flex-wrap: nowrap;
	align-items: baseline;
}

/* The tag and « Retirer » stay together on one line; when room runs out
   (long code), « Livraison offerte » wraps on the right instead. An amount
   never wraps. */
.maelia-panier .cart_totals tr.cart-discount th {
	flex: 1 0 auto;
	white-space: nowrap;
	text-align: left;
}

.maelia-panier .cart_totals tr.cart-discount td {
	flex: 0 1 auto;
	min-width: 0;
	text-align: right;
}

.maelia-bon .maelia-code__montant {
	white-space: nowrap;
}

/* The code as a tag, light teal like the secondary buttons (chosen by the
   owner on 2026-11-08 over the offer badges' red, which doubled the red of
   the amount), « Retirer » after it. */
.maelia-bon .maelia-code {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-right: 8px;
	padding: 2px 9px 2px 7px;
	border-radius: 999px;
	background: var(--mb-band2);
	color: var(--mb-pri);
	font-size: 13px;
	line-height: 1.4;
	vertical-align: middle;
}

.maelia-bon .maelia-code__icone {
	flex: none;
}

.maelia-bon .maelia-code strong {
	font-weight: 600;
	letter-spacing: .03em;
	color: inherit;
}

.maelia-bon .maelia-code__retirer {
	color: var(--mb-link);
	font-size: .9em;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Same hover as « Retirer » on the cart lines. */
.maelia-bon .maelia-code__retirer:hover,
.maelia-bon .maelia-code__retirer:focus-visible {
	color: var(--mb-stamp);
}

.maelia-bon .maelia-code__montant {
	color: var(--mb-stamp);
	font-weight: 600;
}

.maelia-bon .maelia-code__offert {
	color: var(--mb-pri);
	font-weight: 600;
}

/* The amount itself in red too: themes colour span.amount in ink. */
.maelia-bon .maelia-code__montant .amount,
.maelia-bon .maelia-code__montant bdi {
	color: inherit;
}

/* Line total: right-aligned under any width of the « l'unité » line below it
   (the card rule `tr.cart_item td { text-align: left }` is more specific). */
.maelia-panier table.shop_table tr.cart_item td.product-subtotal {
	text-align: right;
}

/* Suggestions: their own quiet block under the lines card, like the
   reassurance block (transparent, hairline frame); the product cards stay
   white (owner's review of 2026-11-08). */
.maelia-panier__suggestions {
	padding: 18px 24px 2px;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
}

.maelia-panier .maelia-panier__suggestions .cross-sells {
	margin: 0;
}

@media (max-width: 899px) {
	/* One column: lines, totals, reassurance, then the suggestions. */
	.maelia-panier__colonne--lignes {
		display: contents;
	}

	.maelia-panier__colonne--totaux {
		order: 1;
	}

	.maelia-panier__suggestions {
		order: 2;
	}
}

@media (max-width: 599px) {
	.maelia-panier__suggestions {
		padding: 16px 16px 2px;
	}
}

/* Suggestion cards spaced like the blocks of the cart columns (16px). */
.maelia-panier .cross-sells .products.row {
	gap: 16px;
}

/* Coupon field: the code reads in capitals, as on the totals line (codes are
   not case-sensitive). The placeholder keeps its normal case. */
.woocommerce-cart input[name="coupon_code"],
.woocommerce-checkout input[name="coupon_code"] {
	text-transform: uppercase;
}

.woocommerce-cart input[name="coupon_code"]::placeholder,
.woocommerce-checkout input[name="coupon_code"]::placeholder {
	text-transform: none;
}

/* A code waiting for its minimum (inc/panier.php): the tag greyed out,
   « Retirer » after it, the condition on its own line below. */
.maelia-bon .cart_totals tr.maelia-code-attente th,
.maelia-bon tr.maelia-code-attente th {
	flex: 1 1 100%;
	width: 100%;
	text-align: left;
	white-space: normal;
	font-weight: 400;
}

.maelia-bon .maelia-code.maelia-code--inactif {
	background: var(--mb-hair);
	color: var(--mb-muted);
}

.maelia-bon .maelia-code__condition {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--mb-stamp);
}

.maelia-bon .maelia-code__condition strong {
	font-weight: 600;
}

/* PayPal's « Payez en 4 échéances » message, moved under PayPal's buttons
   (assets/js/bon-de-commande.js). */
.maelia-bon .ppc-button-wrapper .maelia-paypal-message {
	margin-top: 10px;
}

/* Only with PayPal chosen: PayPal hides its buttons for the other methods,
   not their wrapper. */
.maelia-bon:not(:has(#payment_method_ppcp-gateway:checked)) .maelia-paypal-message {
	display: none;
}

/* « Paiement sécurisé par Stripe », under the Stripe block's title, in small
   grey type, visible with the block closed: who handles the payment shows at
   a glance, as PayPal's logo on its line (owner's review of 2026-11-09).
   Generated content: Stripe's script rewrites the label's text after load,
   and the order's payment method title stays « Carte bancaire ou
   prélèvement SEPA ». */
/* A card pictogram after « Carte bancaire », where PayPal shows its logo
   (owner, 2026-11-11). Generated too, for the same reason: an image inside
   the label would be wiped by Stripe's script. The label becomes a wrapping
   flex box, so the pictogram (order 1) follows the text node and the note
   (order 2, full width) drops under both. */
.maelia-bon li.payment_method_stripe > label {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 8px;
	width: calc(100% - 32px); /* The radio's width and gap (measured). */
	vertical-align: top;
}

.maelia-bon li.payment_method_stripe > label::before {
	content: "";
	order: 1;
	width: 22px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='1' width='20' height='14' rx='2.5'/%3E%3Cpath d='M1 5.5h20M4.5 11.5h4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='1' width='20' height='14' rx='2.5'/%3E%3Cpath d='M1 5.5h20M4.5 11.5h4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Same for « Paiement par chèque »: a cheque pictogram (lines and a
   signature), same size and stroke as the card one (owner, 2026-11-11). */
.maelia-bon li.payment_method_cheque > label::after {
	content: "";
	display: inline-block;
	width: 22px;
	height: 16px;
	margin-left: 8px;
	vertical-align: -3px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='1' width='20' height='14' rx='2.5'/%3E%3Cpath d='M4.5 5h8M4.5 8.5h5M11 11.5c.8-1.6 1.8-1.6 2 0s1.3 1 2-.4 1.6-.8 2.5.4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='1' width='20' height='14' rx='2.5'/%3E%3Cpath d='M4.5 5h8M4.5 8.5h5M11 11.5c.8-1.6 1.8-1.6 2 0s1.3 1 2-.4 1.6-.8 2.5.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.maelia-bon li.payment_method_stripe > label::after {
	content: "Paiement sécurisé par Stripe";
	order: 2;
	flex-basis: 100%;
	margin: -1px 0 0; /* Tight under the title (owner, 2026-11-09). */
	color: var(--mb-muted);
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.3;
}

/* « — OU — » between the express buttons and the payment methods: the same
   space above and below (Stripe gives 24 px above, 8 px below; owner's
   review of 2026-11-09). */
.maelia-bon #wc-stripe-express-checkout-button-separator {
	/* 4 px more above: the buttons overflow their frame by 4 px (measured). */
	margin: 22px 0 18px !important;
}

/* PayPal's two buttons side by side, as chosen in PayPal's settings
   (horizontal layout, owner's review of 2026-11-09): PayPal's new buttons
   (SDK v6, web components) ignore that setting and stack in a column. On a
   phone they stay stacked: side by side, « Payer en plusieurs fois » shrank
   to an unreadable size. */
@media (min-width: 600px) {
	.maelia-bon [id^="ppc-button-ppcp-gateway"] {
		flex-direction: row !important;
		gap: 10px !important;
	}

	.maelia-bon [id^="ppc-button-ppcp-gateway"] > * {
		flex: 1 1 0 !important;
		min-width: 0;
	}
}

/* PayPal's buttons as tall as « Payer » (50 px; PayPal's extension sets
   48 px inline), with a slightly smaller label (owner's review of
   2026-11-09). PayPal draws the label as an SVG scaled to the button: the
   inner padding is the only way to shrink it. */
.maelia-bon [id^="ppc-button-ppcp-gateway"] > paypal-button,
.maelia-bon [id^="ppc-button-ppcp-gateway"] > paypal-pay-later-button {
	height: 50px !important;
	--paypal-button-padding: 7px 12px;
}

/* ---------------------------------------------------------------------------
 * Coordonnées: particulier / entreprise, then « Où livrer » (owner,
 * 2026-11-12, proposal 2 of docs/design/coordonnees)
 * ------------------------------------------------------------------------- */

.maelia-bon .maelia-coord [hidden],
.maelia-bon .form-row[hidden] {
	display: none !important;
}

/* The choice: two segments, the chosen one filled. */
/* Owner, 2026-11-14: heading above the Particulier / Entreprise choice,
   with the same thin line as the « Où livrer » legend (Flatsome's legend
   border). */
.maelia-bon .maelia-facturation__titre {
	margin: 0 0 18px;
	border-bottom: 1px solid #f1f1f1;
}

/* A bit closer to the panel title (owner: 24 px gap, now 18). Taken from the
   head's padding: a negative margin on the heading was cut off by the
   panel's overflow: hidden. */
.maelia-volet.ouvert:has(.maelia-coord[data-etape="adresse"]) .maelia-volet__tete {
	padding-bottom: 10px;
}

.maelia-type-client {
	display: inline-grid;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 18px;
	padding: 3px;
	border: 1px solid var(--mb-hair);
	border-radius: 999px;
	background: #fff;
}

.maelia-type-client__choix {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.maelia-type-client__choix input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.maelia-type-client__choix span {
	display: block;
	padding: 8px 20px;
	border-radius: 999px;
	color: var(--mb-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	transition: background-color .15s var(--mb-ease), color .15s var(--mb-ease);
}

.maelia-type-client__choix input:checked + span {
	background: var(--mb-pri);
	color: #fff;
}

.maelia-type-client__choix input:focus-visible + span {
	outline: 2px solid var(--mb-ink);
	outline-offset: 2px;
}

@media (max-width: 549px) {
	.maelia-type-client {
		display: grid;
		width: 100%;
	}
}

/* Postcode narrow, city wide, on one row. */
.maelia-bon .form-row.maelia-cp {
	width: 34%;
}

.maelia-bon .form-row.maelia-ville {
	width: 62%;
}

/* The WooCommerce tick box is driven by « Où livrer » once JS runs. */
.maelia-bon .maelia-coord--js #ship-to-different-address {
	display: none;
}

/* Summary of the billing address, with « Modifier ». */
.maelia-coord__resume {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	padding: 0 14px; /* No top and bottom padding (owner, 2026-11-12). */
	border-radius: var(--mb-r);
	background: var(--mb-ground);
	font-size: 14px;
}

.maelia-coord__resume-texte {
	margin: 0;
	white-space: pre-line; /* Company, name, address: one per line. */
	min-width: 0;
	overflow-wrap: anywhere;
}

.maelia-coord__resume-titre {
	display: block;
	color: var(--mb-muted); /* « Adresse de facturation : » in grey (owner, 2026-11-15). */
}

/* Coordonnées opened, address step done (owner, 2026-11-15): the billing
   summary right under the title, more room before « Où livrer ». The
   header's « Modifier » is hidden there but kept its 44 px, and the summary's
   own « Modifier » (44 px too) pushed the text down by baseline alignment. */
.maelia-bon .maelia-volet-coordonnees:not(.replie) .maelia-volet__modifier {
	display: none;
}

.maelia-coord__resume {
	align-items: flex-start;
}

.maelia-bon .maelia-coord__resume .maelia-lien {
	margin-top: -11px; /* Its text on the first line of the summary. */
}

/* « Où livrer votre commande ? » */
.maelia-coord__choix {
	margin: 20px 0 0; /* Owner, 2026-11-12; 20 px from the address, 2026-11-15. */
	padding: 20px 0 0;
	border: 0;
	border-top: 1px dashed var(--mb-hair);
}

.maelia-coord__question {
	margin: 0; /* Owner, 2026-11-12: a tighter sub-step. */
	padding: 0;
	font: 700 15px/1.3 var(--mb-display);
	color: var(--mb-ink);
}

/* Owner, 2026-11-14: the chosen address also places the relay points. */
.maelia-bon .maelia-coord__aide {
	margin: -14px 0 12px; /* The fieldset's 20 px top padding sits under the legend: 6 px left. */
	color: var(--mb-muted);
	font-size: 13px;
	line-height: 1.45;
}

.maelia-coord__option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--mb-hair);
	border-radius: var(--mb-r);
	background: #fff;
	cursor: pointer;
}

.maelia-coord__option + .maelia-coord__option {
	margin-top: 8px;
}

.maelia-coord__option:has(input:checked) {
	border-color: var(--mb-pri);
	box-shadow: inset 0 0 0 1px var(--mb-pri);
}

.maelia-coord__option input {
	flex: none;
	margin: 3px 0 0;
	accent-color: var(--mb-pri);
}

.maelia-coord__option b {
	display: block;
	font-weight: 600;
}

.maelia-coord__option small {
	display: block;
	color: var(--mb-muted);
	font-size: 13px;
}

.maelia-coordonnees__expedition .shipping_address {
	margin-top: 16px;
}

/* « Complément d'adresse » reads as the street's second line (owner,
   2026-11-12: the gap with its own label was too big). Its label stays for
   screen readers; the placeholder says it is optional. */
.maelia-bon #billing_address_2_field label,
.maelia-bon #shipping_address_2_field label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.maelia-bon #billing_address_1_field,
.maelia-bon #shipping_address_1_field {
	margin-bottom: 0;
}

.maelia-bon .maelia-coord__question {
	text-transform: none;
	letter-spacing: 0;
}

/* Order note, folded at the end of « Livraison » (owner, 2026-11-12). */
.maelia-note {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px dashed var(--mb-hair);
}

.maelia-note__titre {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	color: var(--mb-link);
	font-size: 14.5px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.maelia-note__titre::-webkit-details-marker {
	display: none;
}

.maelia-note__titre::before {
	content: "+";
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	font-size: 14px;
	line-height: 1;
}

.maelia-note[open] .maelia-note__titre::before {
	content: "\2212";
}

.maelia-note__facultatif {
	color: var(--mb-muted);
	font-weight: 400;
}

.maelia-note .form-row {
	margin: 10px 0 0;
}

.maelia-bon .maelia-note textarea {
	height: auto;
	min-height: 96px;
}

/* Stripe test mode (preprod): the test card is printed hidden and shown only
   after a first keystroke in the card field, since SEPA left the payment
   element (one method, no tab to pick). Shown at once. Not printed in live
   mode. */
.maelia-bon #wc-stripe-payment-method-instructions-card {
	display: block !important;
	margin: 0 0 10px;
}

/* Its « copy » button: Flatsome styles every <button>; back to inline text. */
.maelia-bon .wc-stripe-copy-test-number {
	display: inline;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: 0;
	text-transform: none;
	line-height: inherit;
	vertical-align: baseline;
}

.maelia-bon .wc-stripe-copy-test-number i {
	display: none; /* Its copy icon floated above the line; a click on the number still copies it. */
}

/* ---------------------------------------------------------------------------
 * Order-pay page, « Régler ma commande » (templates/checkout/form-pay.php):
 * one panel, open, without a step number; the summary as on the order form.
 * ------------------------------------------------------------------------- */

.maelia-payer .maelia-volet__tete {
	grid-template-columns: minmax(0, 1fr);
}

.maelia-payer .maelia-volet__contenu {
	padding-left: 24px;
}

@media (max-width: 899px) {
	.maelia-payer .maelia-volet__contenu {
		padding-left: 16px;
	}
}

.maelia-payer .maelia-volet__corps {
	display: block;
	visibility: visible;
}

.maelia-payer .maelia-payer__chapo {
	margin: 0 0 14px;
	color: var(--mb-muted);
	font-size: 14.5px;
}

.maelia-payer .maelia-payer__info {
	margin: 0 0 14px;
	padding: 10px 14px;
	background: #FFF4DC;
	border: 1px solid var(--mb-hair);
	border-left: 3px solid #8A5A00;
	border-radius: var(--mb-r);
	font-size: 14px;
}

.maelia-payer .maelia-recap dl.variation {
	margin: 4px 0 0;
}

/* 22 px under the « Régler ma commande » title, as under « Mon panier »
   (owner, 2026-11-13): the negative margin collapses into the title
   block's 24 px. */
form.maelia-payer {
	margin-top: -16px;
}

/* PayPal's « Payez en 4 échéances » message: moved under PayPal's buttons
   (maelia_tunnel_ressources_payer()), with PayPal chosen only, as on the
   order form; hidden too if the script did not run. */
.maelia-payer:not(:has(#payment_method_ppcp-gateway:checked)) .ppcp-messages {
	display: none;
}

.maelia-payer .ppcp-messages {
	margin: 10px 0 0;
}
