/*
 * Pages fixes de spirfix.com sans Elementor (contact, FAQ, livraison, qui sommes-nous, offre pro…).
 * Éléments communs relevés sur les pages Elementor de la prod le 2026-11-19.
 */
.spx-p {
	--spx-bleu: #0474f2;
	--spx-gris: #6c6c6c;
	--spx-bord: #e2e2dd;
	--spx-beige: #f7f7f1;
	--spx-jaune: #fef10d;
	max-width: 1240px;
	margin: 0 auto;
	padding: 30px 0 70px;
	font-family: "Optimized Poppins", Poppins, sans-serif;
	color: #000;
}
.spx-p h1 { margin: 20px 0 15px; font-size: 35px; font-weight: 600; line-height: 1.1; letter-spacing: 0; }
.spx-p__intro { margin: 0 0 30px; color: var(--spx-gris); font-size: 14px; }
.spx-p a:not(.spx-contact a) { text-decoration: none !important; } /* la prod ne souligne pas les liens des pages */
.spx-p .wp-block-group { margin-block-start: 0; }

.spx-p-grille { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.spx-p-grille--egal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spx-p-grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spx-p-pile { display: flex; flex-direction: column; gap: 10px; }

.spx-p-carte {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--spx-bord);
	border-radius: 10px;
}
.spx-p-carte--beige { background: var(--spx-beige); }
.spx-p-carte > :last-child { margin-bottom: 0; }
.spx-p-carte p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--spx-gris); }
.spx-p-carte p strong,
.spx-p-carte p b { color: #000; font-weight: 600; }
.spx-p-carte__titre {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}
.spx-p-carte__titre svg { flex: none; width: 18px; height: 18px; }
.spx-p-carte__titre--grand { font-size: 22px; font-weight: 400; margin-bottom: 24px; }
.spx-p-carte__titre--grand b { font-weight: 600; }
.spx-p-carte__titre--grand svg { width: 26px; height: 26px; }
.spx-p-souligne { text-decoration: underline; color: var(--spx-gris); }
.spx-p-fort { color: #000 !important; font-weight: 600; }

.spx-p-note {
	display: flex;
	gap: 8px;
	padding: 10px 14px;
	background: #fde4c8;
	border-radius: 6px;
	color: #000;
	font-size: 14px;
	line-height: 1.45;
}
.spx-p-note::before {
	content: "!";
	display: grid;
	place-items: center;
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 3px;
	background: #f28c1b;
	border-radius: 50%;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
}
.spx-p-bouton,
.spx-p .wp-block-button__link.spx-p-bouton {
	display: inline-block;
	padding: 8px 18px;
	background: var(--spx-bleu);
	border-radius: 5px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}
.spx-p-bouton:hover { color: #fff; filter: brightness(1.08); }

/* Formulaire de contact maison, présenté comme sur la prod : libellés dans les champs, bouton pleine largeur. */
.spx-p .spx-contact { margin: 0; }
.spx-p .spx-contact__ligne { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.spx-p .spx-contact__ligne > p:only-child { grid-column: 1 / -1; }
.spx-p .spx-contact p { margin: 0 0 8px; }
.spx-p .spx-contact label[for] {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.spx-p .spx-contact input[type="text"],
.spx-p .spx-contact input[type="email"],
.spx-p .spx-contact input[type="tel"],
.spx-p .spx-contact select,
.spx-p .spx-contact textarea {
	width: 100%;
	padding: 6px 10px;
	background: #fff;
	border: 1px solid #c9c9c9;
	border-radius: 3px;
	box-shadow: none;
	font-size: 14px;
	line-height: 1.5;
}
.spx-p .spx-contact textarea { min-height: 120px; }
.spx-p .spx-contact button[type="submit"] {
	display: block;
	width: 100%;
	padding: 8px 16px;
	background: var(--spx-bleu);
	border-radius: 5px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

/* Questions fréquentes (blocs « détails ») */
.spx-p details {
	margin: 0 0 10px;
	background: #fff;
	border: 1px solid var(--spx-bord);
	border-radius: 10px;
}
.spx-p details summary {
	position: relative;
	padding: 16px 48px 16px 20px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	list-style: none;
}
.spx-p details summary::-webkit-details-marker { display: none; }
.spx-p details summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 18px;
	transform: translateY(-50%);
	color: var(--spx-bleu);
	font-size: 22px;
	font-weight: 400;
}
.spx-p details[open] summary::after { content: "−"; }
.spx-p details > :not(summary) { margin: 0; padding: 0 20px 16px; color: var(--spx-gris); font-size: 14px; line-height: 1.6; }

@media (max-width: 900px) {
	.spx-p { padding: 20px 15px 50px; }
	.spx-p h1 { font-size: 28px; }
	.spx-p-grille,
	.spx-p-grille--egal,
	.spx-p-grille--3 { grid-template-columns: minmax(0, 1fr); }
}

/* Le formulaire maison garde sa propre boîte ailleurs ; ici il est déjà dans une carte. */
.spx-p .spx-contact { padding-top: 0; }
.spx-p .spx-contact__inner { max-width: none; }
.spx-p .spx-contact__form { padding: 0; background: none; border: 0; box-shadow: none; }
.spx-p .spx-contact__form label:not([for]) { font-weight: 400; font-size: 13px; }
.spx-p .spx-p-carte a.spx-p-bouton,
.spx-p .spx-p-fort a { text-decoration: none !important; }

/* Pages dont tout le fond est beige sur la prod (contact…). */
.spx-p--beige {
	background: var(--spx-beige);
	box-shadow: 0 0 0 100vmax var(--spx-beige);
	clip-path: inset(0 -100vmax);
}

/* FAQ : une seule liste bordée, « + » à gauche (prod). */
.spx-p--faq { padding-top: 10px; }
.spx-p--faq h2 { margin: 30px 0 30px; font-size: 24px; font-weight: 600; }
.spx-faq { border: 1px solid #e3e3e3; }
.spx-p .spx-faq details { margin: 0; border: 0; border-top: 1px solid #e3e3e3; border-radius: 0; }
.spx-p .spx-faq details:first-child { border-top: 0; }
.spx-p .spx-faq details summary { padding: 9px 15px 9px 38px; font-size: 14px; font-weight: 600; }
.spx-p .spx-faq details summary::after { content: "+"; left: 14px; right: auto; color: #000; font-size: 20px; font-weight: 600; }
.spx-p .spx-faq details[open] summary::after { content: "−"; }
.spx-p .spx-faq details > :not(summary) { padding: 0 15px 14px 38px; }
.spx-p .spx-faq ul { margin: 8px 0 8px 18px; }

/* Surtitre gris, titre sur la moitié de la largeur, bande beige pleine largeur (livraison, qui sommes-nous…). */
.spx-p__surtitre { margin: 10px 0 25px; color: var(--spx-gris); font-size: 20px; }
.spx-p__titre-moitie { max-width: 620px; margin-bottom: 30px !important; }
.spx-p-bande {
	margin: 0 calc(50% - 50vw);
	padding: 30px max(15px, calc(50vw - 640px)) 50px;
	background: var(--spx-beige);
}
.spx-p-carte--icone { padding: 13px 13px 20px; border-color: #deded9; }
.spx-p-carte--icone .spx-p-carte__titre { font-size: 18px; font-weight: 500; margin-bottom: 20px; }
.spx-p-carte--icone .spx-p-carte__titre svg { width: 18px; height: 18px; }
.spx-p-carte--icone p { font-size: 13px; line-height: 1.6; }
.spx-p-espace { height: 30px; }
.spx-p--livraison .spx-p-grille,
.spx-p-bande .spx-p-grille { gap: 8px; align-items: stretch; }

/* Qui sommes-nous (prod) */
.spx-p--qsn { padding-top: 15px; }
.spx-qsn-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 45px 20px 30px;
	border-radius: 15px;
	background:
		radial-gradient(circle at 0 25%, rgba(4, 116, 242, .22), transparent 38%),
		radial-gradient(circle at 100% 30%, rgba(254, 241, 13, .38), transparent 40%),
		#f8f6f2;
	text-align: center;
}
.spx-qsn-hero__sur { margin: 0; font-size: 14px; }
.spx-p .spx-qsn-hero h1 { max-width: 640px; margin: 0; font-size: 35px; line-height: 1.25; }
.spx-qsn-hero__tp { width: 300px; height: auto; padding: 6px 10px; background: #fff; border: 1px solid var(--spx-bord); border-radius: 6px; box-sizing: content-box; }
.spx-qsn-bloc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 60px; align-items: center; padding: 50px 0; }
.spx-qsn-bloc--inverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.spx-qsn-bloc--beige { margin: 0 calc(50% - 50vw); padding: 50px max(20px, calc(50vw - 620px)); background: var(--spx-beige); }
.spx-qsn-bloc h2 { margin: 0 0 22px; font-size: 22px; font-weight: 600; line-height: 1.25; }
.spx-qsn-titre-icone { display: flex; align-items: center; gap: 10px; font-size: 26px !important; }
.spx-qsn-icone { display: grid; place-items: center; width: 26px; height: 26px; background: var(--spx-bleu); border-radius: 6px; }
.spx-qsn-icone svg { width: 18px; height: 18px; }
.spx-qsn-coche { position: relative; margin: 30px 0 14px; padding-left: 20px; font-size: 14px; font-weight: 600; }
.spx-qsn-coche::before,
.spx-qsn-liste li::before { content: "✓"; position: absolute; left: 0; color: #109f5b; font-weight: 700; }
.spx-qsn-gris { margin: 0 0 14px; color: var(--spx-gris); font-size: 13px; line-height: 1.6; }
.spx-qsn-liste { margin: 25px 0 30px; padding: 0; list-style: none; }
.spx-qsn-liste li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.7; }
.spx-qsn-bloc__image img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 25px rgba(0, 0, 0, .18); }
.spx-qsn-bloc__image--libre img { box-shadow: none; }
.spx-qsn-bouton { display: inline-block; padding: 9px 16px; border-radius: 3px; font-size: 14px; line-height: 1.3; }
.spx-qsn-bouton--jaune { background: var(--spx-jaune); color: #000 !important; }
.spx-qsn-bouton--bleu { background: var(--spx-bleu); color: #fff !important; }
.spx-qsn-chiffres { padding: 30px 0 40px; }
.spx-qsn-chiffres h2 { margin: 0 0 25px; font-size: 28px; font-weight: 600; }
.spx-qsn-chiffres__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.spx-qsn-chiffres__grille div { display: flex; flex-direction: column; gap: 18px; padding: 14px 14px 26px; background: #f2f1ea; border-radius: 10px; }
.spx-qsn-chiffres__grille strong { font-size: 34px; font-weight: 600; line-height: 1.1; }
.spx-qsn-chiffres__grille span { font-size: 19px; }
@media (max-width: 900px) {
	.spx-qsn-bloc,
	.spx-qsn-bloc--inverse { grid-template-columns: minmax(0, 1fr); gap: 25px; padding: 30px 0; }
	.spx-qsn-bloc--inverse .spx-qsn-bloc__image { order: 2; }
	.spx-qsn-chiffres__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.spx-p .spx-qsn-hero h1 { font-size: 26px; }
}

/* Offre pro (compte-spirfix-pro) */
.spx-p--pro { padding-top: 0; }
.spx-bleu { color: var(--spx-bleu); }
.spx-pro-logo { display: block; width: 140px; height: auto; margin: 0 auto 25px; }
.spx-pro-hero {
	margin: 0 calc(50% - 50vw);
	padding: 45px 20px 50px;
	background: var(--spx-beige);
	text-align: center;
}
.spx-p .spx-pro-hero h1 { max-width: 780px; margin: 0 auto 25px; font-size: 35px; line-height: 1.25; }
.spx-pro-pilules { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.spx-pro-pilules li { display: flex; align-items: center; gap: 8px; padding: 4px 15px; background: #fff; border: 1px solid #c3c3c3; border-radius: 10px; font-size: 14px; font-weight: 600; }
.spx-pro-ico { display: inline-block; flex: none; width: 18px; height: 18px; background: var(--spx-bleu); -webkit-mask: var(--spx-ico) center / contain no-repeat; mask: var(--spx-ico) center / contain no-repeat; }
.spx-pro-bouton {
	display: inline-block;
	padding: 12px 24px;
	background: linear-gradient(93deg, #2c88ce 0, #d3dc35 100%);
	border-radius: 10px;
	color: #fff !important;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.2;
}
.spx-pro-bouton:hover { filter: brightness(1.05); }
.spx-pro-avantages { padding: 50px 0 40px; }
.spx-pro-avantages h2,
.spx-pro-gammes-bloc h2 { margin: 0 0 40px; font-size: 32px; font-weight: 600; }
.spx-pro-avantages__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; }
.spx-pro-avantage .spx-pro-ico { width: 20px; height: 20px; margin-bottom: 12px; }
.spx-pro-avantage h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.spx-pro-avantage p { margin: 0; font-size: 14px; line-height: 1.55; color: #333; }
.spx-pro-gammes-bloc { margin: 0 calc(50% - 50vw); padding: 30px max(15px, calc(50vw - 640px)) 40px; background: var(--spx-beige); }
.spx-pro-groupe { margin: 30px 0 18px; font-size: 22px; font-weight: 400; }
.spx-pro-gammes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.spx-pro-gamme {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	min-height: 132px;
	padding: 20px;
	background: #fff var(--spx-fond) right center / auto 100% no-repeat;
	border: 1px solid #e3e3dd;
	border-radius: 10px;
	color: #000 !important;
}
.spx-pro-gamme__nom { font-size: 22px; font-weight: 600; line-height: 1.1; }
.spx-pro-gamme__bouton { padding: 3px 18px; background: var(--spx-bleu); border-radius: 3px; color: #fff; font-size: 14px; }
.spx-pro-gamme:hover { border-color: var(--spx-bleu); }
.spx-pro-fin { padding: 50px 0 20px; text-align: center; }
.spx-pro-fin h2 { margin: 0 0 30px; font-size: 24px; font-weight: 600; }
@media (max-width: 900px) {
	.spx-pro-avantages__grille,
	.spx-pro-gammes { grid-template-columns: minmax(0, 1fr); }
	.spx-p .spx-pro-hero h1 { font-size: 26px; }
}

/* Mandat administratif */
.spx-p--mandat { padding-top: 10px; }
.spx-mandat-entete { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: start; padding-bottom: 35px; }
.spx-p .spx-mandat-entete h1 { margin: 10px 0 18px; font-size: 22px; }
.spx-mandat-entete p { margin: 0; font-size: 14px; line-height: 1.6; }
.spx-mandat-logos { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.spx-mandat-logos img { width: 230px; height: auto; }
.spx-mandat-logos { justify-content: flex-start; }
.spx-p-carte--etape { padding: 14px 14px 22px; }
.spx-p-carte--etape h2 { margin: 0 0 22px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.spx-p-carte--etape p { font-size: 13px; }
.spx-p-lien { color: var(--spx-bleu) !important; font-weight: 600; font-size: 14px; }
.spx-mandat-question { margin: 60px 0 25px; font-size: 24px; font-weight: 600; }
/* Formulaire du mandat : libellés au-dessus comme sur la prod, bouton « Envoyer » à droite. */
.spx-p .spx-mandat-form .spx-contact label[for] { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; }
.spx-p .spx-mandat-form .spx-contact__ligne { gap: 6px; }
.spx-p .spx-mandat-form .spx-contact button[type="submit"] { width: auto; margin-left: auto; padding: 8px 22px; border-radius: 30px; font-size: 16px; }
@media (max-width: 900px) { .spx-mandat-entete { grid-template-columns: minmax(0, 1fr); } }

/* Cartes beiges centrées (demande d'avis, votre expérience, merci) */
.spx-p.spx-carte-centree {
	max-width: 900px;
	margin: 45px auto 70px;
	padding: 28px 30px;
	background: var(--spx-beige);
	border: 1px solid var(--spx-bord);
	border-radius: 15px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}
.spx-carte-centree h1 { margin: 0 0 12px !important; font-size: 22px !important; text-align: center; }
.spx-carte-centree h3 { margin: 0 0 22px; font-size: 16px; font-weight: 600; text-align: center; }
.spx-carte-centree p { font-size: 13px; line-height: 1.6; }
.spx-carte-centree--avis { max-width: 900px !important; padding: 30px 40px !important; text-align: center; }
.spx-carte-centree--avis h1 { margin-bottom: 18px !important; font-size: 30px !important; }
.spx-carte-centree--avis p { margin-bottom: 16px; font-size: 16px; }
.spx-carte-centree--avis h1:first-child { color: #8f8f8f; }
.spx-carte-centree--avis .wp-block-columns { justify-content: center; gap: 12px; margin: 10px 0 34px; }
.spx-carte-centree--avis .wp-block-column { flex: 0 0 auto !important; }
.spx-carte-centree--avis .wp-block-image img { width: 200px; height: auto; border-radius: 8px; }
@media (max-width: 600px) { .spx-carte-centree--avis { padding: 20px 16px !important; } .spx-carte-centree--avis h1 { font-size: 22px !important; } .spx-carte-centree--avis .wp-block-columns { flex-wrap: nowrap !important; } .spx-carte-centree--avis .wp-block-column { flex: 1 1 0 !important; min-width: 0; max-width: 150px; } .spx-carte-centree--avis .wp-block-image, .spx-carte-centree--avis .wp-block-image a { display: block; width: 100%; } .spx-carte-centree--avis .wp-block-image img { width: 100% !important; max-width: 150px; } }
.spx-carte-centree--merci h1 { text-align: left; }
.spx-carte-centree--merci p { color: var(--spx-gris); }
.spx-carte-centree--merci .wp-block-buttons { justify-content: flex-start !important; }
.spx-carte-centree .wp-block-button__link { padding: 6px 18px; background: var(--spx-bleu); border-radius: 4px; color: #fff; font-size: 14px; }
.spx-carte-centree--experience .spx-contact button[type="submit"] { width: auto; margin-left: auto; padding: 6px 20px; border-radius: 30px; }
.spx-carte-centree--experience > :last-child { text-align: center; color: var(--spx-gris); font-size: 12px; }

/* Pages pro : inscription, connexion, passage en compte pro */
.spx-p--inscription { max-width: 1100px; }
.spx-p--inscription .wp-block-image { margin: 10px 0 20px; text-align: left; }
.spx-p--inscription .wp-block-image img { width: 80px; height: auto; }
.spx-p--inscription .wp-block-image.aligncenter,
.spx-p--inscription figure.aligncenter { margin-left: 0; display: block; }
.spx-p--inscription h1 { font-size: 22px !important; margin: 0 0 35px !important; }
.spx-p--inscription h2 { font-size: 18px; font-weight: 600; margin: 30px 0 18px; }
.spx-p--inscription button[type="submit"],
.spx-p--inscription .button { background: linear-gradient(93deg, #2c88ce 0, #d3dc35 100%) !important; border-radius: 8px; color: #fff; font-weight: 700; }
.spx-p__titre-connexion { font-size: 22px !important; margin: 10px 0 25px !important; }
.spx-p--connexion-pro .wp-block-columns { gap: 30px; align-items: flex-start; }
.spx-p--connexion-pro .wp-block-column h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.spx-p--connexion-pro .wp-block-column h2 + h2 { margin-bottom: 18px; font-size: 16px; }
.spx-p--connexion-pro .wp-block-column:last-child > .wp-block-group {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--spx-bord);
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.spx-p--connexion-pro .wp-block-column:last-child .wp-block-image img { width: 140px; height: auto; }
.spx-p--connexion-pro .wp-block-column:last-child p { font-size: 13px; color: var(--spx-gris); }
.spx-p--connexion-pro .wp-block-button,
.spx-p--connexion-pro .wp-block-button__link { width: 100%; }
.spx-p--connexion-pro .wp-block-button__link { padding: 8px 16px; background: var(--spx-bleu); border-radius: 5px; color: #fff; font-size: 14px; text-align: center; }
.spx-p--connexion-pro .woocommerce-form-login button,
.spx-p--connexion-pro form button[type="submit"] { background: var(--spx-bleu); border-radius: 5px; color: #fff; }
.spx-p--upgrade { max-width: 1100px; }
.spx-p--upgrade h2 { margin: 10px 0 8px; font-size: 18px; font-weight: 600; }
.spx-p--upgrade .spx-liste { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; padding: 0; list-style: none; }
.spx-p--upgrade .spx-liste li { padding: 4px 14px; background: #fff; border: 1px solid #c3c3c3; border-radius: 10px; font-size: 13px; font-weight: 600; }
.spx-p--upgrade .spx-contact button[type="submit"] { background: #8a8a8a; border-radius: 3px; }

/* Page QR code (ldqrcode) et « Besoin d'une pièce » : cartes blanches à icône bleue (prod) */
.spx-p--qr h1 { font-size: 22px !important; text-align: center; margin: 15px 0 25px !important; }
.spx-p--qr .wp-block-columns { gap: 16px; align-items: flex-start !important; margin-top: 20px; }
.spx-p--qr .wp-block-column > h3,
.spx-p--qr .wp-block-column > h1 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spx-p--qr .wp-block-column > .wp-block-group {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--spx-bord);
	border-radius: 15px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}
.spx-p--qr .spx-encadre { height: auto; margin: 0 0 12px; padding: 0; background: none; border-radius: 0; }
.spx-p--qr .spx-encadre .wp-block-image { margin: 0; }
.spx-p--qr .spx-encadre img { display: block; width: 36px !important; height: 36px; }
.spx-p--qr .wp-block-column h2 { margin: 0 0 22px; font-size: 22px; font-weight: 500; line-height: 1.25; }
.spx-p--qr .wp-block-column:nth-child(2) h2 { margin-bottom: 25px; }
.spx-p--qr .wp-block-buttons { justify-content: stretch !important; }
.spx-p--qr .wp-block-button { width: 100%; }
.spx-p--qr .wp-block-button__link { display: block; width: 100%; padding: 8px 16px; background: var(--spx-bleu); border-radius: 5px; color: #fff; font-size: 14px; font-weight: 600; text-align: center; }
.spx-p--qr .wp-block-column:nth-child(2) .wp-block-buttons ~ .wp-block-buttons .wp-block-button__link { background: #000; }
.spx-p--qr .spx-texte { margin: 18px 0; text-align: center; font-size: 14px; }
.spx-p--qr .spx-texte:last-child { margin-bottom: 4px; }
.spx-p--qr select,
.spx-p--qr .select2-container { width: 100% !important; }
.spx-p--qr select { height: 40px; margin-bottom: 14px; padding: 6px 12px; background-color: #fff; border: 1px solid #c9c9c9; border-radius: 4px; font-size: 13px; color: #333; }
.spx-p--qr label { display: block; margin: 0 0 6px; font-size: 13px; color: #6c6c6c; }
.spx-qr-familles { padding: 40px 0 20px; }
.spx-qr-familles h2 { margin: 0 0 25px; font-size: 22px; font-weight: 600; }
.spx-pro-gamme__compte { color: var(--spx-gris); font-size: 12px; margin-bottom: -10px; }
.spx-p--besoin { max-width: 1100px; }

/* Mon compte déconnecté : deux colonnes séparées, champs gris arrondis, boutons bleus pleine largeur, carte pro (prod) */
.woocommerce-account:not(.logged-in) #customer_login { display: flex; gap: 0; }
.woocommerce-account:not(.logged-in) #customer_login > .u-column1,
.woocommerce-account:not(.logged-in) #customer_login > .u-column2 { flex: 1 1 50%; width: auto; max-width: none; float: none; margin: 0; padding: 0 28px; }
.woocommerce-account:not(.logged-in) #customer_login > .u-column2 { border-left: 1px solid #c9c9c9; }
.woocommerce-account:not(.logged-in) #customer_login h2 { margin: 0 0 22px; font-size: 22px; font-weight: 600; }
.woocommerce-account:not(.logged-in) #customer_login h2::after { content: "."; }
.woocommerce-account:not(.logged-in) #customer_login form { margin: 0; padding: 0; border: 0; }
.woocommerce-account:not(.logged-in) #customer_login label { font-size: 13px; font-weight: 400; color: #6c6c6c; }
.woocommerce-account:not(.logged-in) #customer_login .input-text { height: 38px; padding: 6px 12px; background: #efefef; border: 1px solid #c9c9c9; border-radius: 5px; box-shadow: none; }
.woocommerce-account:not(.logged-in) #customer_login .input-text:focus { background: #fff; border-color: #0474f2; }
.woocommerce-account:not(.logged-in) #customer_login button[type="submit"] { display: block; width: 100% !important; margin-top: 8px; padding: 10px 16px; background: #0474f2 !important; border-radius: 5px; color: #fff; font-size: 14px; font-weight: 600; }
.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login__rememberme { display: block; margin: 0 0 6px; }
.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login__rememberme span { font-size: 12px; color: #6c6c6c; }
.woocommerce-account:not(.logged-in) #customer_login .lost_password a { font-size: 12px; font-weight: 400; color: #0474f2; text-decoration: none; }
.spx-compte-pro { margin: 34px 0 10px; padding: 18px 16px; background: #fff; border: 1px solid #c9c9c9; border-radius: 3px; }
.spx-compte-pro img { display: block; width: 110px; height: auto; margin: 0 0 22px; }
.spx-compte-pro h3 { margin: 0 0 18px; font-size: 17px; font-weight: 600; }
.spx-compte-pro p { margin: 0 0 30px; font-size: 14px; color: #333; line-height: 1.5; }
.spx-compte-pro__bouton { display: block; padding: 8px 16px; background: #000; border-radius: 3px; color: #fff !important; font-size: 14px; text-align: center; text-decoration: none !important; }
.woocommerce-account:not(.logged-in) #customer_login form .form-row:has(> button[type="submit"]) { display: block !important; width: 100%; }
.woocommerce-account:not(.logged-in) #customer_login form button[type="submit"] { float: none !important; }
@media (max-width: 767px) {
	.woocommerce-account:not(.logged-in) #customer_login { flex-direction: column; gap: 40px; }
	.woocommerce-account:not(.logged-in) #customer_login > .u-column1,
	.woocommerce-account:not(.logged-in) #customer_login > .u-column2 { padding: 0; border-left: 0; }
}
.spx-compte-pro .wp-block-button__link { padding: 8px 16px; background: #000; border-radius: 5px; color: #fff; font-size: 14px; text-align: center; }
.spx-p--besoin > h1 { margin: 25px 0 5px !important; font-size: 30px !important; font-weight: 600; }
.spx-p--qr .spx-texte p { margin: 0 0 12px; font-size: 14px; text-align: left; }
.spx-p--qr .spx-texte p:empty, .spx-p--qr .spx-texte p:blank { display: none; }
.spx-p--besoin .wp-block-column:nth-child(2) .wp-block-button__link { background: var(--spx-bleu); }

/* 19/11 (relecture) : colonnes alignées en haut (la marge automatique de WordPress entre blocs décalait la 2e colonne de 24 px) */
.spx-p .spx-p-grille > *,
.spx-p .spx-p-pile > :first-child { margin-block-start: 0 !important; }
.spx-p .spx-p-grille { align-items: start; }
/* Formulaires en mobile : un champ par ligne */
@media (max-width: 767px) {
	.spx-p .spx-contact__ligne,
	.spx-contact__ligne { grid-template-columns: minmax(0, 1fr) !important; }
	.spx-p .spx-contact__ligne > p { grid-column: auto !important; }
	.spx-p { padding-left: 0 !important; padding-right: 0 !important; }
	.spx-p .spx-contact { padding-left: 0 !important; padding-right: 0 !important; }
	.spx-p .spx-p-carte { padding: 18px 14px; }
}
