/* =========================================================
   Motorprog – styles des modules (extensions)
   Les extensions ne contiennent aucun style : tout est ici.
   ========================================================= */

.mpc [hidden], .mpc-contact-form [hidden], .mp-slider [hidden] { display: none !important; }

/* ---------- Hero : slider de 3 bandeaux ---------- */
.mp-hero { padding: 3.5rem 0 1.75rem; }
.mp-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.mp-slider__track::-webkit-scrollbar { display: none; }
.mp-slider__track:focus-visible { outline-offset: -3px; }
.mp-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.mp-hero .mp-slide .mp-hero__inner { padding-bottom: 1.5rem; }
.mp-hero__title { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
.mp-hero__price { margin: 1.1rem 0 0; font-weight: 700; color: #fff; }
.mp-hero__more { color: #fff; font-weight: 600; }
.mp-hero__more:hover { color: var(--amber); }
.mp-slider__controls { display: flex; align-items: center; gap: .9rem; padding-top: .5rem; }
.mp-slider__btn { width: 2.6rem; height: 2.6rem; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background-color .15s; }
.mp-slider__btn:hover { background: rgba(255,255,255,.14); }
.mp-slider__btn:disabled { opacity: .3; cursor: default; }
.mp-slider__dots { display: flex; gap: .55rem; }
.mp-slider__dots button { width: .8rem; height: .8rem; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.mp-slider__dots button[aria-current="true"] { background: var(--red); transform: scale(1.25); }
.mp-slider__pause { margin-left: auto; background: none; border: 0; color: #aab1ba; font: inherit; font-size: .88rem; text-decoration: underline; cursor: pointer; }
.mp-slider__pause:hover { color: #fff; }
.mp-slider [hidden] { display: none !important; }
/* Variantes du bandeau (même tableau de bord, autre message) */
.mp-cluster--power .mp-cluster__panel { color: #ff7a66; box-shadow: 0 0 0 1px rgba(228,61,38,.35), 0 0 36px rgba(228,61,38,.16); }
.mp-cluster--power .mp-cluster__title { color: #ff7a66; }
.mp-cluster--power .mp-cluster__msg { color: #ffc2b8; }
.mp-cluster--eco .mp-cluster__panel { color: #5fd08a; box-shadow: 0 0 0 1px rgba(63,174,106,.35), 0 0 36px rgba(63,174,106,.16); }
.mp-cluster--eco .mp-cluster__title { color: #5fd08a; }
.mp-cluster--eco .mp-cluster__msg { color: #bdecd0; }

/* ---------- Configurateur ---------- */
.mpc { max-width: 940px; margin: 0 auto; }
.mpc-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.mpc-crumbs__item { display: flex; align-items: center; gap: .5rem; flex: 1 1 0; min-width: 7rem; padding: .6rem .7rem; background: #fff; border: 1px solid #dfe2e6; border-bottom: 3px solid #dfe2e6; font-size: .92rem; color: var(--muted); }
.mpc-crumbs__num { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--tint); font-weight: 700; font-size: .85rem; flex: none; }
.mpc-crumbs__item.is-done { border-bottom-color: var(--ink); color: var(--ink); }
.mpc-crumbs__item.is-done .mpc-crumbs__num { background: var(--ink); color: #fff; }
.mpc-crumbs__item.is-current { border-bottom-color: var(--red); color: var(--ink); font-weight: 700; }
.mpc-crumbs__item.is-current .mpc-crumbs__num { background: var(--red); color: #fff; }

.mpc-form { background: #fff; border: 1px solid #dfe2e6; border-top: 4px solid var(--ink); border-radius: 4px; padding: 1.75rem; }
.mpc-step__title { margin: 0 0 1.2rem; font-size: 1.4rem; }
.mpc-error { margin: 0 0 1rem; padding: .8rem 1rem; background: #fdecea; border-left: 4px solid var(--red); color: #8a1f12; font-weight: 600; }
.mpc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.mpc-field label { display: block; margin-bottom: .3rem; font-weight: 600; font-size: .95rem; }
.mpc-field small { display: block; margin-top: .25rem; color: var(--muted); font-size: .82rem; }
.mpc-field--wide { grid-column: 1 / -1; }
.mpc-other { margin-top: .5rem; }
.mpc-contact { margin-top: 1.25rem; }

.mpc-group { border: 0; margin: 0 0 1.5rem; padding: 0; }
.mpc-group legend { padding: 0; margin-bottom: .6rem; font-weight: 700; font-size: 1.05rem; }
.mpc-hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
.mpc-item { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: .8rem; padding: .85rem 1rem; margin-bottom: .5rem; border: 1px solid #d3d7dc; border-radius: 4px; cursor: pointer; background: #fff; transition: border-color .15s, background-color .15s; }
.mpc-item:hover { border-color: var(--ink); }
.mpc-item:has(input:checked) { border-color: var(--red); background: #fff6f4; box-shadow: inset 4px 0 0 var(--red); }
.mpc-item input { margin-top: .3rem; width: 1.15rem; height: 1.15rem; accent-color: var(--red); }
.mpc-item__body { display: grid; gap: .15rem; }
.mpc-item__title { font-weight: 700; }
.mpc-item__desc { color: var(--muted); font-size: .93rem; }
.mpc-item__price { font-weight: 700; white-space: nowrap; text-align: right; display: grid; justify-items: end; }
.mpc-item__was { font-weight: 400; color: var(--muted); font-size: .88rem; }
.mpc-item__now { font-size: 1.05rem; }
.mpc-live { position: sticky; bottom: .75rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; padding: .85rem 1.1rem; background: var(--ink); color: #fff; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.mpc-live strong { font-size: 1.5rem; }
.mpc-item.is-blocked { opacity: .45; cursor: not-allowed; }
.mpc-item--none .mpc-item__title { font-weight: 600; }
.mpc-note { margin: .8rem 0 0; font-size: .88rem; color: var(--muted); }

.mpc-quote__lines { list-style: none; margin: 0; padding: 0; }
.mpc-quote__line { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #e3e6ea; }
.mpc-quote__label { display: grid; gap: .1rem; }
.mpc-quote__label small { color: var(--muted); }
.mpc-quote__amount { font-weight: 700; white-space: nowrap; }
.mpc-quote__total { display: flex; justify-content: space-between; align-items: baseline; margin: 1rem 0 0; padding: 1rem; background: var(--ink); color: #fff; border-radius: 4px; }
.mpc-quote__total strong { font-size: 1.8rem; }

.mpc-modes { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem; }
.mpc-mode { position: relative; }
.mpc-mode input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mpc-mode span { display: block; padding: .9rem 1rem; border: 1px solid #d3d7dc; border-radius: 4px; font-weight: 600; text-align: center; }
.mpc-mode input:checked + span { border-color: var(--red); background: #fff6f4; box-shadow: inset 0 -3px 0 var(--red); }
.mpc-mode input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

.mpc-calendar { margin-bottom: 1.25rem; padding: 1rem; background: var(--tint); border-radius: 4px; }
.mpc-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.mpc-cal__month { text-transform: capitalize; }
.mpc-cal__nav { width: 2.4rem; height: 2.4rem; border: 1px solid #b9bfc7; background: #fff; border-radius: 4px; font-size: 1.3rem; cursor: pointer; }
.mpc-cal__nav:disabled { opacity: .35; cursor: default; }
.mpc-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.mpc-cal__dow { text-align: center; font-size: .78rem; text-transform: capitalize; color: var(--muted); padding-bottom: .2rem; }
.mpc-cal__day { aspect-ratio: 1; min-height: 2.4rem; border: 1px solid #b9bfc7; background: #fff; border-radius: 4px; font: inherit; font-weight: 600; cursor: pointer; }
.mpc-cal__day:disabled { background: transparent; border-color: transparent; color: #9aa1a9; cursor: default; font-weight: 400; }
.mpc-cal__day.is-full { text-decoration: line-through; }
.mpc-cal__day.is-selected, .mpc-cal__slot.is-selected { background: var(--red); border-color: var(--red); color: #fff; }
.mpc-cal__date { margin: 1rem 0 .5rem; font-weight: 700; text-transform: capitalize; }
.mpc-cal__slotlist { display: flex; flex-wrap: wrap; gap: .5rem; }
.mpc-cal__slot { padding: .65rem 1rem; border: 1px solid #b9bfc7; background: #fff; border-radius: 4px; font: inherit; font-weight: 600; cursor: pointer; }
.mpc-cal__slot.is-locked { background: #e3e6ea; color: #8a929b; text-decoration: line-through; cursor: not-allowed; }

.mpc-consent { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0; font-size: .92rem; font-weight: 400; }
.mpc-consent input { margin-top: .25rem; accent-color: var(--red); }
.mpc-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.mpc-btn { font: inherit; font-weight: 700; padding: .85rem 1.6rem; border-radius: 6px; border: 2px solid transparent; cursor: pointer; }
.mpc-btn--next { background: var(--red); color: #fff; margin-left: auto; }
.mpc-btn--next:hover { background: var(--red-dark); }
.mpc-btn--next:disabled { opacity: .6; cursor: wait; }
.mpc-btn--back { background: #fff; color: var(--ink); border-color: var(--ink); }
.mpc-done { padding: 1.5rem; background: var(--tint); border-left: 4px solid var(--red); }
.mpc-done:focus { outline: none; }

/* Formulaire de contact simple */
.mpc-contact-form { max-width: 640px; }
.mpc-contact-form .mpc-field { margin-bottom: 1rem; }
.mpc-contact-form__intro { margin-bottom: 1.25rem; }
.mpc-alert { padding: .8rem 1rem; margin-bottom: 1rem; border-left: 4px solid; font-weight: 600; }
.mpc-alert--ok { background: #eaf6ee; border-color: #1f8a4c; color: #145c33; }
.mpc-alert--err { background: #fdecea; border-color: var(--red); color: #8a1f12; }

/* Tableau des tarifs */
.mpc-tarifs__table { width: 100%; border-collapse: collapse; margin: 0 0 2rem; }
.mpc-tarifs__table caption { text-align: left; font-weight: 700; font-size: 1.15rem; padding: 0 0 .5rem; border-bottom: 3px solid var(--red); }
.mpc-tarifs__table th, .mpc-tarifs__table td { padding: .7rem .6rem; border-bottom: 1px solid #dfe2e6; text-align: left; font-weight: 400; }
.mpc-tarifs__table td { text-align: right; font-weight: 700; white-space: nowrap; }
.mpc-tarifs__note { color: var(--muted); font-size: .9rem; }

@media (max-width: 640px) {
	.mp-hero { padding: 2rem 0 1.25rem; }
	.mp-slider__pause { font-size: .8rem; }
}

@media (max-width: 760px) {
	.mpc-form { padding: 1.1rem; }
	.mpc-grid, .mpc-modes { grid-template-columns: 1fr; }
	.mpc-crumbs__label { display: none; }
	.mpc-crumbs__item { min-width: 0; justify-content: center; }
	.mpc-crumbs__item.is-current .mpc-crumbs__label { display: inline; }
	.mpc-crumbs__item.is-current { flex: 3 1 0; justify-content: flex-start; }
	.mpc-item { grid-template-columns: auto 1fr; }
	.mpc-item__price { grid-column: 2; }
}

/* Calculateur E85 (extension motorprog-calculateur-e85) */
.mpe85 {
	--mpe85-accent: #e43d26;
	--mpe85-accent-text: #ffffff;
	--mpe85-bg: #14171b;
	--mpe85-card: #1b1f25;
	--mpe85-text: #f3f4f6;
	--mpe85-muted: #9ca3af;
	--mpe85-border: #2a2f36;
	--mpe85-green: #22c55e;

	box-sizing: border-box;
	max-width: 760px;
	margin: 2rem auto;
	padding: 1.75rem;
	background: var(--mpe85-bg);
	color: var(--mpe85-text);
	border: 1px solid var(--mpe85-border);
	border-radius: 16px;
	font-family: inherit;
	line-height: 1.5;
}
.mpe85 *, .mpe85 *::before, .mpe85 *::after { box-sizing: inherit; }

.mpe85__title {
	margin: 0 0 1.25rem;
	font-size: 1.5rem;
	line-height: 1.25;
	color: var(--mpe85-text);
}

.mpe85__form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.mpe85__fuel {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	border: 0;
}
.mpe85__fuel legend,
.mpe85__field label {
	display: block;
	margin-bottom: .4rem;
	padding: 0;
	font-size: .875rem;
	color: var(--mpe85-muted);
}
.mpe85__fuel legend { width: 100%; }

.mpe85__choice { position: relative; cursor: pointer; }
.mpe85__choice input {
	position: absolute;
	opacity: 0;
	inset: 0;
	cursor: pointer;
}
.mpe85__choice span {
	display: inline-block;
	min-width: 5.5rem;
	padding: .65rem 1.25rem;
	text-align: center;
	font-weight: 600;
	background: var(--mpe85-card);
	border: 1px solid var(--mpe85-border);
	border-radius: 10px;
	transition: background .15s, border-color .15s;
}
.mpe85__choice input:checked + span {
	background: var(--mpe85-accent);
	border-color: var(--mpe85-accent);
	color: var(--mpe85-accent-text);
}
.mpe85__choice input:focus-visible + span {
	outline: 2px solid var(--mpe85-text);
	outline-offset: 2px;
}

.mpe85__field input {
	width: 100%;
	padding: .7rem .85rem;
	font-size: 1rem;
	color: var(--mpe85-text);
	background: var(--mpe85-card);
	border: 1px solid var(--mpe85-border);
	border-radius: 10px;
}
.mpe85__field input:focus {
	outline: 2px solid var(--mpe85-accent);
	outline-offset: 1px;
}

.mpe85__hero {
	padding: 1.25rem;
	margin-bottom: 1rem;
	text-align: center;
	background: var(--mpe85-card);
	border: 1px solid var(--mpe85-border);
	border-radius: 12px;
}
.mpe85__hero-label {
	display: block;
	font-size: .875rem;
	color: var(--mpe85-muted);
}
.mpe85__hero-value {
	display: block;
	margin: .15rem 0;
	font-size: 2.75rem;
	line-height: 1.1;
	color: var(--mpe85-green);
}
.mpe85__hero-sub { font-size: .9rem; color: var(--mpe85-muted); }

.mpe85__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .75rem;
	margin: 0 0 1.25rem;
}
.mpe85__grid > div {
	padding: .9rem;
	background: var(--mpe85-card);
	border: 1px solid var(--mpe85-border);
	border-radius: 10px;
}
.mpe85__grid dt {
	margin: 0 0 .25rem;
	font-size: .8rem;
	color: var(--mpe85-muted);
}
.mpe85__grid dd {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
}

.mpe85__cta {
	display: block;
	padding: .95rem 1.25rem;
	text-align: center;
	font-weight: 700;
	text-decoration: none;
	color: var(--mpe85-accent-text);
	background: var(--mpe85-accent);
	border-radius: 10px;
	transition: filter .15s;
}
.mpe85__cta:hover, .mpe85__cta:focus { filter: brightness(1.12); color: var(--mpe85-accent-text); }

.mpe85__note {
	margin: 1rem 0 0;
	font-size: .78rem;
	color: var(--mpe85-muted);
}

@media (max-width: 560px) {
	.mpe85 { padding: 1.1rem; border-radius: 12px; }
	.mpe85__title { font-size: 1.25rem; }
	.mpe85__form { grid-template-columns: 1fr; }
	.mpe85__grid { grid-template-columns: 1fr; }
	.mpe85__hero-value { font-size: 2.25rem; }
}

/* =========================================================
   v6 – Instagram, menu compte, calculateur E85 pleine page
   ========================================================= */

/* ---------- Rappel du véhicule dans l'estimation ---------- */
.mpc-quote__vehicle { margin: 0 0 1rem; padding: .6rem .85rem; background: var(--tint); border-left: 3px solid var(--red); font-size: .93rem; color: var(--text); }
.mpc-quote__vehicle strong { font-weight: 700; }

/* ---------- Dernières interventions (flux Instagram) ---------- */
.mp-insta { background: #fff; }
.mp-insta__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1.75rem; }
.mp-insta__id { display: flex; align-items: center; gap: 1rem; }
.mp-insta__id h2 { margin: 0 0 .15rem; }
.mp-insta__id p { margin: 0; color: var(--muted); }
.mp-insta__id a { color: var(--ink); }
.mp-insta__badge { flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 14px; color: #fff; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.mp-insta__badge .mp-ico { width: 1.8rem; height: 1.8rem; }
.mp-btn--insta { gap: .6rem; color: #fff; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.mp-btn--insta:hover { color: #fff; filter: brightness(1.08); }
.mp-btn--insta .mp-ico { width: 1.3rem; height: 1.3rem; }
.mp-insta__foot { margin: 1.5rem 0 0; text-align: center; }
.mp-insta__foot a { font-weight: 700; color: var(--ink); }

/* Grille 4 colonnes x 2 lignes : images seules, sans texte (cible le flux Smash Balloon) */
.mp-insta__grid #sb_instagram { padding: 0 !important; width: 100% !important; max-width: none; }
.mp-insta__grid #sb_instagram #sbi_images { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; width: 100% !important; padding: 0 !important; float: none; }
.mp-insta__grid #sb_instagram #sbi_images::before,
.mp-insta__grid #sb_instagram #sbi_images::after { display: none !important; }
.mp-insta__grid #sb_instagram .sbi_item { position: relative; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 10px; background: #dfe2e6; }
.mp-insta__grid #sb_instagram .sbi_item:nth-child(n+9) { display: none !important; }
.mp-insta__grid #sb_instagram .sbi_photo_wrap { aspect-ratio: 1 / 1; position: relative; }
.mp-insta__grid #sb_instagram .sbi_photo { display: block; width: 100% !important; height: 100% !important; background-size: cover; background-position: center; }
.mp-insta__grid #sb_instagram .sbi_photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mp-insta__grid #sb_instagram .sbi_item:hover .sbi_photo img { transform: scale(1.06); }
.mp-insta__grid #sb_instagram .sbi_item::after { content: ""; position: absolute; right: .55rem; bottom: .55rem; width: 1.7rem; height: 1.7rem; border-radius: 8px; pointer-events: none; background: rgba(20, 23, 27, .65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='16' height='16' rx='4.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3.6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 70% no-repeat; }
/* Aucun texte : ni en-tête, ni légendes, ni bouton « charger plus » */
.mp-insta__grid #sb_instagram .sbi_header,
.mp-insta__grid #sb_instagram .sb_instagram_header,
.mp-insta__grid #sb_instagram .sbi_info,
.mp-insta__grid #sb_instagram .sbi_caption_wrap,
.mp-insta__grid #sb_instagram .sbi_meta,
.mp-insta__grid #sb_instagram #sbi_load,
.mp-insta__grid #sb_instagram .sbi_follow_btn,
.mp-insta__grid #sb_instagram .sbi_load_btn { display: none !important; }
@media (max-width: 700px) {
	.mp-insta__grid #sb_instagram #sbi_images { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
	.mp-insta__head .mp-btn { width: 100%; }
}

/* ---------- Menu compte (icône + Se connecter / Mon compte) ---------- */
.mp-account { position: relative; flex: none; }
.mp-account__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .7rem; font: inherit; font-weight: 600; font-size: .95rem; color: #e6e9ed; background: transparent; border: 1px solid transparent; border-radius: 6px; cursor: pointer; }
.mp-account__btn:hover, .mp-account.is-open .mp-account__btn { color: #fff; background: var(--panel); border-color: var(--line); }
.mp-account__caret { transition: transform .15s; }
.mp-account.is-open .mp-account__caret { transform: rotate(180deg); }
.mp-account__menu { display: none; position: absolute; right: 0; top: 100%; z-index: 70; min-width: 230px; margin: 0; padding: .4rem; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 0 0 8px 8px; box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
.mp-account.is-open .mp-account__menu { display: block; }
.mp-account__menu a { display: block; padding: .65rem .8rem; color: #e6e9ed; text-decoration: none; font-weight: 500; border-radius: 4px; }
.mp-account__menu a:hover, .mp-account__menu a:focus-visible { background: #242932; color: #fff; }
.mp-account__menu .is-out { margin-top: .3rem; padding-top: .3rem; border-top: 1px solid var(--line); }
/* Survol réservé aux appareils qui en ont un ; au toucher, c'est le tap qui ouvre le menu. */
@media (hover: hover) and (pointer: fine) {
	.mp-account:hover .mp-account__menu, .mp-account:focus-within .mp-account__menu { display: block; }
	.mp-account:hover .mp-account__caret { transform: rotate(180deg); }
}
@media (max-width: 960px) {
	.mp-account { order: 1; margin-left: auto; }
	.mp-cart { order: 2; }
	.mp-burger { order: 3; margin-left: 0; }
}
@media (max-width: 640px) {
	.mp-account__label, .mp-account__caret { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Calculateur E85 : pleine largeur, sans encart ---------- */
.mp-econ { background: var(--ink); color: #fff; }
.mpe85 { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.75rem 3.5rem; align-items: start; width: 100%; max-width: none; margin: 0; padding: 4rem max(1.25rem, calc((100% - 1180px) / 2 + 1.25rem)); background: var(--ink); border: 0; border-radius: 0; }
.mpe85__title { grid-column: 1 / -1; margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.mpe85__form { margin: 0; }
.mpe85__results { align-self: stretch; }
.mpe85__hero-value { font-size: clamp(2.8rem, 6vw, 4rem); }
.mpe85__note { grid-column: 1 / -1; margin: 0; }
.mp-prose > .mpe85 { max-width: none; }
.mp-econ--page .mpe85 { min-height: 60vh; align-content: center; }
@media (max-width: 860px) {
	.mpe85 { grid-template-columns: 1fr; padding-top: 2.5rem; padding-bottom: 2.5rem; }
}

/* ---------- Calculateur E85 : prix du litre à droite de SP95 / SP98 ---------- */
.mpe85__fuel { align-items: flex-end; }
.mpe85__price { margin-left: auto; display: grid; gap: .35rem; font-size: .8rem; color: var(--muted); }
.mpe85__price > span:first-child { color: var(--muted); }
.mpe85__price-box { display: inline-flex; align-items: center; gap: .5rem; padding: 0 .85rem; background: var(--mpe85-card); border: 1px solid var(--mpe85-border); border-radius: 10px; color: var(--mpe85-text); }
.mpe85__price-box:focus-within { outline: 2px solid var(--mpe85-accent); outline-offset: 1px; }
.mpe85__price-box input { width: 5.2rem; padding: .62rem 0; font-size: 1.05rem; font-weight: 700; color: inherit; background: transparent; border: 0; outline: 0; text-align: right; }
@media (max-width: 520px) { .mpe85__price { margin-left: 0; width: 100%; } .mpe85__price-box { width: 100%; justify-content: space-between; } }

/* ---------- Puissance et couple obtenus (Stage 1 / Stage 2) ---------- */
.mpc-item__perf { display: flex; flex-wrap: wrap; gap: .4rem .6rem; margin-top: .45rem; }
.mpc-perf__chip { display: inline-flex; align-items: baseline; gap: .45rem; padding: .22rem .7rem; background: #fff1ee; border: 1px solid #f4c3ba; border-radius: 999px; font-size: .88rem; color: var(--ink); }
.mpc-perf__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.mpc-perf__chip strong { font-weight: 700; }
.mpc-perf__gain { font-weight: 700; color: var(--red-dark); }

/* =========================================================
   v9 – Options en 2 colonnes avec pictogrammes
   ========================================================= */
.mpc-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.mpc-items .mpc-item { margin: 0; }
.mpc-item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon body" "icon price"; column-gap: .9rem; row-gap: .35rem; align-items: start; padding: .9rem 2.6rem .9rem .9rem; }
.mpc-item > input { position: absolute; top: .85rem; right: .85rem; margin: 0; width: 1.2rem; height: 1.2rem; }
.mpc-item__icon { grid-area: icon; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: .1rem; width: 3.1rem; height: 3.1rem; padding: .25rem; color: var(--ink); background: var(--tint); border-radius: 12px; transition: background-color .15s, color .15s; }
.mpc-item__icon svg { width: 1.75rem; height: 1.75rem; flex: none; }
.mpc-item__icon--multi svg { width: 1.2rem; height: 1.2rem; }
.mpc-item:hover .mpc-item__icon { background: #e1e4e8; }
.mpc-item:has(input:checked) .mpc-item__icon { color: #fff; background: var(--red); }
.mpc-item__body { grid-area: body; }
.mpc-item__price { grid-area: price; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .55rem; justify-items: unset; text-align: left; }
.mpc-item__title { line-height: 1.25; }
.mpc-item__desc { font-size: .88rem; }
@media (max-width: 760px) {
	.mpc-items { grid-template-columns: 1fr; }
}

/* =========================================================
   v10 – Calendrier compact (cases ~70 % plus petites, calendrier à gauche / créneaux à droite)
   ========================================================= */
.mpc-calendar { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); grid-template-areas: "head slots" "grid slots" "note note"; column-gap: 1.75rem; row-gap: .4rem; align-items: start; margin-bottom: 1rem; padding: .75rem 1rem; }
.mpc-cal__head { grid-area: head; margin: 0; }
.mpc-cal__grid { grid-area: grid; gap: .2rem; }
.mpc-cal__slots { grid-area: slots; min-width: 0; }
.mpc-calendar > .mpc-note { grid-area: note; margin: .35rem 0 0; }
.mpc-cal__nav { width: 2rem; height: 2rem; font-size: 1.1rem; }
.mpc-cal__month { font-size: .95rem; }
.mpc-cal__dow { padding: 0; font-size: .7rem; }
.mpc-cal__day { aspect-ratio: auto; min-height: 0; height: 2.1rem; padding: 0; font-size: .85rem; border-radius: 6px; }
.mpc-cal__date { margin: .15rem 0 .45rem; font-size: .92rem; }
.mpc-cal__slotlist { flex-direction: column; align-items: stretch; gap: .4rem; max-width: 15rem; }
.mpc-cal__slot { padding: .5rem .8rem; font-size: .9rem; text-align: center; }
@media (max-width: 640px) {
	.mpc-calendar { grid-template-columns: 1fr; grid-template-areas: "head" "grid" "slots" "note"; padding: .6rem .7rem; }
	.mpc-cal__slotlist { flex-direction: row; flex-wrap: wrap; max-width: none; }
	.mpc-cal__slot { flex: 1 1 8.5rem; }
}

/* =========================================================
   v15 – Espace client : Mes rendez-vous
   ========================================================= */
.woocommerce-account .mp-woo .woocommerce { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.woocommerce-account .mp-woo .woocommerce-MyAccount-navigation,
.woocommerce-account .mp-woo .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-account .mp-woo .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border: 1px solid #dfe2e6; border-radius: 4px; overflow: hidden; }
.woocommerce-account .mp-woo .woocommerce-MyAccount-navigation li + li { border-top: 1px solid #dfe2e6; }
.woocommerce-account .mp-woo .woocommerce-MyAccount-navigation a { display: block; padding: .75rem 1rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.woocommerce-account .mp-woo .woocommerce-MyAccount-navigation a:hover { background: var(--tint); }
.woocommerce-account .mp-woo .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; box-shadow: inset 4px 0 0 var(--red); }
/* Formulaire de connexion (visiteur non connecté) : pleine largeur */
.woocommerce-account:not(.logged-in) .mp-woo .woocommerce { display: block; max-width: 36rem; }
@media (max-width: 760px) { .woocommerce-account .mp-woo .woocommerce { grid-template-columns: 1fr; } }

.mpc-rdv-list h3 { margin: 1.6rem 0 .8rem; font-size: 1.15rem; }
.mpc-rdv-list h3:first-child { margin-top: 0; }
.mpc-rdv { margin-bottom: .9rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid #dfe2e6; border-left: 5px solid var(--ink); border-radius: 4px; }
.mpc-rdv--confirmed { border-left-color: #1f8a4c; }
.mpc-rdv--pending, .mpc-rdv--callback { border-left-color: var(--amber); }
.mpc-rdv--refused { border-left-color: var(--red); }
.mpc-rdv.is-past { opacity: .8; border-left-color: #b9bfc7; }
.mpc-rdv__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin-bottom: .5rem; }
.mpc-rdv__when { margin: 0; font-size: 1.05rem; text-transform: capitalize; }
.mpc-rdv__badge { padding: .2rem .7rem; font-size: .8rem; font-weight: 700; background: var(--tint); border-radius: 999px; }
.mpc-rdv--confirmed:not(.is-past) .mpc-rdv__badge { background: #e3f4ea; color: #145c33; }
.mpc-rdv--pending .mpc-rdv__badge, .mpc-rdv--callback .mpc-rdv__badge { background: #fff3d6; color: #7a5200; }
.mpc-rdv--refused .mpc-rdv__badge { background: #fdecea; color: #8a1f12; }
.mpc-rdv__veh { margin: 0 0 .4rem; color: var(--muted); font-size: .93rem; }
.mpc-rdv__items { margin: 0 0 .5rem; padding-left: 1.2rem; }
.mpc-rdv__total { margin: 0 0 .5rem; }
.mpc-rdv__total span { color: var(--muted); font-size: .85rem; }
.mpc-rdv__note { margin: 0 0 .6rem; font-size: .93rem; }
.mpc-rdv__cal { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin: 0 0 .6rem; }
.mpc-rdv__cal > span { font-weight: 600; font-size: .93rem; }
.mpc-rdv__cal-link { display: inline-block; padding: .45rem .85rem; font-size: .88rem; font-weight: 700; color: #fff; background: var(--ink); border-radius: 4px; text-decoration: none; }
.mpc-rdv__cal-link:hover { background: var(--red); color: #fff; }
.mpc-rdv__ref { margin: 0; font-size: .8rem; color: var(--muted); }

/* =========================================================
   v16 – Prise de rendez-vous : invité / création de compte / connexion
   ========================================================= */
.mpc-account { margin: 1.25rem 0 0; padding: 1rem 1.1rem; background: var(--tint); border-radius: 4px; }
.mpc-account__title { margin: 0 0 .7rem; font-weight: 700; }
.mpc-account__choices { display: grid; gap: .5rem; }
.mpc-choice { position: relative; display: block; cursor: pointer; }
.mpc-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mpc-choice > span { display: grid; gap: .1rem; padding: .7rem .9rem .7rem 2.6rem; background: #fff; border: 1px solid #d3d7dc; border-radius: 4px; position: relative; }
.mpc-choice > span::before { content: ""; position: absolute; left: .9rem; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem; border: 2px solid #8a929b; border-radius: 50%; background: #fff; }
.mpc-choice small { color: var(--muted); font-size: .85rem; }
.mpc-choice input:checked + span { border-color: var(--red); background: #fff6f4; }
.mpc-choice input:checked + span::before { border-color: var(--red); background: radial-gradient(circle, var(--red) 0 45%, #fff 50%); }
.mpc-choice input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.mpc-account__login { margin: .75rem 0 0; }
.mpc-account__logged { margin: 0; padding: .6rem .8rem; background: #e3f4ea; color: #145c33; border-radius: 4px; font-size: .93rem; }
.mpc-done__account { margin-top: .8rem; padding: .7rem .9rem; background: #fff; border-left: 3px solid var(--red); }
@media (min-width: 900px) { .mpc-account__choices { grid-template-columns: repeat(3, 1fr); } .mpc-choice > span { padding: 2.4rem .8rem .8rem; } .mpc-choice > span::before { left: .8rem; top: .9rem; margin-top: 0; } }

/* ---------- Téléphone (inscription et détails du compte) ---------- */
.mpc-phone-row { margin-bottom: 1rem; }
.mpc-phone-row label { display: block; margin-bottom: .3rem; font-weight: 600; }
.mpc-phone-row__opt { font-weight: 400; color: var(--muted); }
.mpc-phone-row__hint { display: block; margin-top: .25rem; color: var(--muted); font-size: .82rem; }

/* =========================================================
   v19 – Bannière AdBlue : photo du tableau de bord, voyant qui clignote
   ========================================================= */
.mp-photo { position: relative; margin: 0; width: 100%; max-width: 540px; justify-self: end; }
.mp-photo__frame { position: relative; overflow: hidden; border-radius: 14px; background: #0b0d10; box-shadow: 0 0 0 1px rgba(255, 176, 32, .28), 0 0 44px rgba(255, 176, 32, .14), 0 18px 40px rgba(0, 0, 0, .45); }
.mp-photo__frame img { display: block; width: 100%; height: auto; }
.mp-photo__frame .mp-photo__blink { position: absolute; width: auto; height: auto; max-width: none; pointer-events: none; opacity: 0; }
.mp-photo figcaption { margin-top: .8rem; text-align: center; font-size: .9rem; color: #8f97a1; }

/* Le voyant « éteint » est une petite pièce posée sur la photo : elle apparaît puis disparaît, comme sur un vrai tableau de bord.
   Le clignotement ne tourne que lorsque la bannière est affichée (classe ajoutée par theme.js), à environ 0,8 Hz. */
@keyframes mp-adblue-blink {
	0%, 54% { opacity: 0; }
	55%, 100% { opacity: 1; }
}
.mp-slide.is-active .mp-photo__blink { animation: mp-adblue-blink 1.3s step-end infinite; }
/* Pause du carrousel = voyant fixe (allumé) ; mouvement réduit = voyant fixe. */
.mp-slider.is-paused .mp-photo__blink { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
	.mp-slide.is-active .mp-photo__blink { animation: none; opacity: 0; }
}
@media (max-width: 960px) {
	.mp-photo { justify-self: center; max-width: 420px; margin-top: 1rem; }
}

/* =========================================================
   v20 – Bannière Stage 1 : tableau + courbes de puissance et de couple
   ========================================================= */
.mp-dyno { margin: 0; width: 100%; max-width: 560px; justify-self: end; padding: .9rem; background: #1b1f25; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 0 0 1px rgba(228, 61, 38, .22), 0 0 44px rgba(228, 61, 38, .12), 0 18px 40px rgba(0, 0, 0, .45); }
.mp-dyno__table { width: 100%; border-collapse: separate; border-spacing: 4px; margin: 0 0 .5rem; table-layout: fixed; }
.mp-dyno__table th, .mp-dyno__table td { padding: .55rem .5rem; font-size: .8rem; line-height: 1.25; text-align: center; color: #e6e9ed; background: #262b33; border-radius: 4px; }
.mp-dyno__table thead th { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #aab1ba; }
.mp-dyno__table tbody th { font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #aab1ba; }
.mp-dyno__table td { font-weight: 700; }
.mp-dyno__table small { display: block; font-weight: 600; font-size: .72rem; opacity: .85; }
.mp-dyno__table thead .is-tuned { background: var(--red); color: #fff; }
.mp-dyno__table thead .is-gain { background: #3fae6a; color: #0b1a10; }
.mp-dyno__table td.is-tuned { color: #ff7a66; background: #3a2321; }
.mp-dyno__table td.is-gain { color: #5fd08a; background: #1f2f29; }
.mp-dyno__chart { display: block; width: 100%; height: auto; background: #20242b; border-radius: 6px; }
.mp-dyno__chart .dy-grid { stroke: #3a4049; stroke-width: 1; stroke-dasharray: 2 5; }
.mp-dyno__chart .dy-tick { fill: #8f97a1; font-size: 12px; }
.mp-dyno__chart .dy-axis { fill: #aab1ba; font-size: 12px; font-weight: 700; }
.mp-dyno__chart .dy-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mp-dyno__chart .dy-line--p-oem { stroke: #e43d26; stroke-width: 2; stroke-dasharray: 6 4; opacity: .8; }
.mp-dyno__chart .dy-line--t-oem { stroke: #aab1ba; stroke-width: 2; stroke-dasharray: 6 4; opacity: .9; }
.mp-dyno__chart .dy-line--p-tun { stroke: #ff5a45; stroke-width: 3.2; }
.mp-dyno__chart .dy-line--t-tun { stroke: #ffffff; stroke-width: 3.2; }
.mp-dyno__chart .dy-legend text { fill: #c9ced5; font-size: 12px; }
.mp-dyno figcaption { margin-top: .7rem; text-align: center; font-size: .82rem; color: #8f97a1; }
@media (max-width: 960px) { .mp-dyno { justify-self: center; max-width: 480px; margin-top: 1rem; } }
@media (max-width: 480px) { .mp-dyno { padding: .6rem; } .mp-dyno__table th, .mp-dyno__table td { padding: .45rem .25rem; font-size: .74rem; } }

/* =========================================================
   v21 – Correctif mobile : plus de débordement horizontal
   ========================================================= */
/* Cause : les textes réservés aux lecteurs d'écran (.screen-reader-text, position:absolute) placés dans les bannières hors écran
   n'étaient pas rognés par le défilement horizontal du slider, ce qui élargissait toute la page (bande blanche à droite,
   barre du bas coupée). Le slider devient le bloc de référence de ses éléments positionnés. */
.mp-slider__track, .mp-slide { position: relative; }
/* Filet de sécurité : jamais de défilement horizontal de la page. */
html { overflow-x: hidden; }
body { overflow-x: clip; }

/* Barre « Appeler | Estimation gratuite » : toujours exactement la largeur de l'écran, texte à la ligne si besoin. */
@media (max-width: 640px) {
	.mp-callbar { left: 0; right: 0; width: 100%; max-width: 100%; box-sizing: border-box; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--red); }
	.mp-callbar a { display: flex; align-items: center; justify-content: center; min-width: 0; padding: .95rem .5rem; font-size: .95rem; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
	/* Réserve la place de la barre fixe dans le pied de page (fond sombre), pas sous le body (fond blanc). */
	body { padding-bottom: 0; }
	.mp-footer { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* =========================================================
   v22 – Bannière E85 : plein d'éthanol (pistolet bleu)
   ========================================================= */
.mp-photo--eth .mp-photo__frame { box-shadow: 0 0 0 1px rgba(63, 174, 106, .35), 0 0 44px rgba(63, 174, 106, .16), 0 18px 40px rgba(0, 0, 0, .45); }
.mp-photo--eth .mp-refuel__svg { display: block; width: 100%; height: auto; }

/* Bouton « Calculer mon économie » (bannière E85) */
.mp-btn--eco { gap: .5rem; background: #3fae6a; border-color: #3fae6a; color: #07140c; }
.mp-btn--eco:hover, .mp-btn--eco:focus-visible { background: #57c984; border-color: #57c984; color: #07140c; }
.mp-btn--eco .mp-ico { flex: none; }
@media (max-width: 640px) { .mp-hero__actions .mp-btn--eco { width: 100%; } }

/* =========================================================
   v25 – Pop-up d'annonces (congés, promotions) – extension motorprog-annonces
   ========================================================= */
.mpa { width: calc(100% - 2rem); max-width: 540px; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.mpa::backdrop { background: rgba(10, 12, 15, .74); backdrop-filter: blur(3px); }
.mpa[open] { animation: mpa-in .28s ease-out both; }
@keyframes mpa-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.mpa__panel { position: relative; max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 1.9rem 1.6rem 1.4rem; background: #fff; border-top: 6px solid var(--red); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.mpa__close { position: absolute; top: .6rem; right: .6rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; font-size: 1.6rem; line-height: 1; color: var(--ink); background: var(--tint); border: 0; border-radius: 50%; cursor: pointer; }
.mpa__close:hover { background: #dfe2e6; }
.mpa-item + .mpa-item { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px dashed #c4c9cf; }
.mpa-item__kicker { display: inline-block; margin: 0 0 .5rem; padding: .15rem .65rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--ink); border-radius: 999px; }
.mpa-item--conge .mpa-item__kicker { background: #b86e00; }
.mpa-item--promo .mpa-item__kicker { background: var(--red); }
.mpa-item--info .mpa-item__kicker { background: #2468e8; }
.mpa-item__title { margin: 0 2.4rem .6rem 0; font-size: 1.55rem; line-height: 1.15; }
.mpa-item__dates { display: inline-block; margin: 0 0 .8rem; padding: .35rem .75rem; font-weight: 700; color: var(--ink); background: var(--tint); border-left: 4px solid var(--red); border-radius: 4px; }
.mpa-item--conge .mpa-item__dates { border-left-color: #b86e00; }
.mpa-item__text p { margin: 0 0 .7rem; }
.mpa-item__action { margin: .4rem 0 0; }
.mpa-item__btn { display: inline-block; padding: .7rem 1.2rem; font-weight: 700; color: #fff; text-decoration: none; background: var(--red); border-radius: 6px; }
.mpa-item__btn:hover { background: var(--red-dark); color: #fff; }
.mpa__footer { margin: 1.3rem 0 0; text-align: center; }
.mpa__ok { padding: .7rem 1.6rem; font: inherit; font-weight: 700; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 6px; cursor: pointer; }
.mpa__ok:hover { color: #fff; background: var(--ink); }
body:has(.mpa[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mpa[open] { animation: none; } }
@media (max-width: 480px) { .mpa__panel { padding: 1.6rem 1.15rem 1.2rem; } .mpa-item__title { font-size: 1.35rem; } }

/* =========================================================
   v26 – Compte client : particulier / professionnel (+ entreprise, SIRET)
   ========================================================= */
.mpc-type { margin: 0 0 1.1rem; padding: 0; border: 0; }
.mpc-type legend { padding: 0; margin-bottom: .5rem; font-weight: 600; }
.mpc-type__opt { position: relative; display: inline-block; margin: 0 .5rem .5rem 0; cursor: pointer; }
.mpc-type__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mpc-type__opt span { display: inline-block; padding: .6rem 1.1rem; font-weight: 600; background: #fff; border: 1px solid #b9bfc7; border-radius: 6px; transition: background-color .15s, border-color .15s; }
.mpc-type__opt input:checked + span { color: #fff; background: var(--ink); border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--red); }
.mpc-type__opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.mpc-pro-fields { margin-top: .4rem; padding: .9rem 1rem .2rem; background: var(--tint); border-radius: 4px; }
.mpc-pro-fields[hidden] { display: none; }
.mpc-opt { font-weight: 400; color: var(--muted); }
.mpc-type__hint { display: block; margin-top: .25rem; color: var(--muted); font-size: .82rem; }

/* =========================================================
   v28 – Point de retrait Mondial Relay : encart aux couleurs du thème (extension motorprog-mondial-relay)
   ========================================================= */
.mpmr {
	box-sizing: border-box; max-width: 100%; margin: 1.5rem 0; padding: 1.4rem 1.4rem 1.2rem;
	color: #e6e9ed; background: #1b1f25; border: 1px solid #2a2f36; border-top: 4px solid var(--red); border-radius: 14px;
	box-shadow: 0 12px 30px rgba(20, 23, 27, .18);
}
.mpmr[hidden] { display: none; }
.mpmr *, .mpmr *::before, .mpmr *::after { box-sizing: border-box; }

/* Titre avec pictogramme « épingle » */
.mpmr__title { display: flex; align-items: center; gap: .75rem; margin: 0 0 .5rem; font-size: 1.25rem; line-height: 1.2; color: #fff; }
.mpmr__title::before {
	content: ""; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 10px; background-color: var(--red);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center; background-size: 62%;
}
.mpmr__intro { margin: 0 0 1rem; font-size: .93rem; color: #aab1ba; }

/* Zone de la carte : isolée pour que les calques de Leaflet ne passent jamais par-dessus l'en-tête du site */
.mpmr__widget { position: relative; max-width: 100%; min-height: 140px; overflow: hidden; color: var(--text); background: #fff; border: 1px solid #2a2f36; border-radius: 10px; }
.mpmr__widget .leaflet-container { position: relative; z-index: 0; isolation: isolate; font: inherit; border-radius: 0; }
.mpmr__widget .MR-Widget { max-width: 100%; font-family: inherit; color: var(--text); }
.mpmr__widget .MR-Widget *, .mpmr__widget .MR-Widget *::before, .mpmr__widget .MR-Widget *::after { box-sizing: border-box; }
.mpmr__widget .MRW-Search { padding: .75rem; background-color: var(--tint); }
.mpmr__widget input[type="text"], .mpmr__widget input[type="search"], .mpmr__widget input:not([type]), .mpmr__widget select {
	/* le thème met les champs à 100 % de large : dans le widget on laisse sa mise en page d'origine (code postal et ville côte à côte) */
	display: inline-block; width: auto; max-width: 100%; height: auto; margin: .15rem .3rem .15rem 0; padding: .55rem .7rem; font: inherit; color: var(--text); background: #fff; border: 1px solid #b9bfc7; border-radius: 6px;
}
.mpmr__widget input:focus-visible, .mpmr__widget select:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; }
.mpmr__widget .MRW-BtGo { padding: .6rem 1.1rem; font: inherit; font-weight: 700; color: #fff; text-shadow: none; background-color: var(--red); border: 0; border-radius: 6px; cursor: pointer; }
.mpmr__widget .MRW-BtGeoGo { background-color: var(--red); border: 0; cursor: pointer; }
.mpmr__widget .MRW-BtGo:hover, .mpmr__widget .MRW-BtGeoGo:hover { background-color: var(--red-dark); color: #fff; }
.mpmr__widget .leaflet-control-zoom a, .mpmr__widget .leaflet-bar a { padding: 0; color: #1d2126; background: #fff; }
.mpmr__widget a { color: var(--red-dark); }

/* Point choisi : « ticket » vert quand c'est fait */
.mpmr__selected { display: flex; align-items: flex-start; gap: .65rem; margin: .9rem 0 0; padding: .75rem .9rem; font-weight: 600; color: #aab1ba; background: transparent; border: 1px dashed #3a4049; border-radius: 10px; }
.mpmr__selected::before {
	content: ""; flex: none; width: 1.4rem; height: 1.4rem; margin-top: .05rem; border: 2px solid #5b636d; border-radius: 50%;
}
.mpmr__selected.is-set { color: #d7f3e2; background: rgba(63, 174, 106, .14); border: 1px solid #3fae6a; }
.mpmr__selected.is-set::before {
	border-color: #3fae6a; background-color: #3fae6a;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center; background-size: 70%;
}

/* Récapitulatif sur « Commande reçue » et dans Mon compte */
.mpmr-order { margin-top: 1.5rem; padding: 1rem 1.2rem; background: var(--tint); border-left: 4px solid var(--red); border-radius: 4px; }
.mpmr-order h2 { margin-top: 0; }
.mpmr-order address { font-style: normal; line-height: 1.55; }

@media (max-width: 640px) {
	.mpmr { padding: 1.1rem 1rem; border-radius: 12px; }
	.mpmr__title { font-size: 1.1rem; }
	.mpmr__title::before { width: 2.1rem; height: 2.1rem; }
}

/* Fenêtre « consigne automatique » du widget : masquée (l'information est rappelée sous le point choisi) */
.mpmr-modal-hidden { display: none !important; }
.mpmr__note { margin: .6rem 0 0; padding: .6rem .8rem; font-size: .88rem; line-height: 1.45; color: #e6e9ed; background: rgba(255, 176, 32, .12); border-left: 3px solid var(--amber); border-radius: 4px; }
.mpmr__note[hidden] { display: none; }

/* ---------- Page de vente Conversion E85 (template-conversion-e85.php) ---------- */
.mpx-eyebrow { margin: 0 0 .8rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.mpx-hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.08; }
.mpx-hero__photo { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.45); border: 1px solid var(--line); }
.mpx-hero__photo img { display: block; width: 100%; height: auto; }
.mpx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.mpx-checks li { position: relative; padding-left: 2rem; }
.mpx-checks li::before { content: ""; position: absolute; left: 0; top: .3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.mpx-pump { align-items: center; grid-template-columns: 1fr 1fr; }
.mpx-bars { background: var(--ink); color: #fff; border-radius: 10px; padding: 1.6rem; display: grid; gap: .9rem; }
.mpx-bars__title { margin: 0; color: #c9ced5; font-size: .95rem; }
.mpx-bar { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: .8rem; align-items: center; font-weight: 700; }
.mpx-bar__track { height: 1.5rem; background: #232830; border-radius: 4px; overflow: hidden; }
.mpx-bar__track i { display: block; height: 100%; background: #6b7480; border-radius: 4px; }
.mpx-bar--e85 .mpx-bar__track i { background: var(--red); }
.mpx-bars__gain { margin: .2rem 0 0; font-size: 1.1rem; }
.mpx-bars__gain strong { color: #5fd08a; }
.mpx-bars__note { margin: 0; font-size: .8rem; color: #8f97a1; }
.mpx-econ { background: var(--ink); color: #fff; padding-top: 4rem; }
.mpx-econ__head { text-align: center; max-width: 46rem; }
.mpx-econ__head h2 { color: #fff; }
.mpx-econ__head p { color: #c9ced5; font-size: 1.1rem; }
.mpx-econ .mpe85 { padding-top: 2rem; }
.mpx-photo, .mpx-shots figure { margin: 0; }
.mpx-photo img, .mpx-shots img { display: block; width: 100%; height: auto; border-radius: 8px; }
.mpx-photo figcaption, .mpx-shots figcaption { margin-top: .6rem; font-size: .9rem; color: #8f97a1; }
.mpx-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mpx-shots figcaption { color: var(--muted); }
.mpx-shots img { aspect-ratio: 1; object-fit: cover; }
.mpx-compat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mpx-compat__col { background: #fff; border: 1px solid #dfe2e6; border-top: 4px solid var(--ink); border-radius: 4px; padding: 1.4rem; }
.mpx-compat__col h3 { margin-top: 0; }
.mpx-compat__col ul { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .45rem; }
.mpx-compat__col--ok { border-top-color: #2f9e5b; }
.mpx-compat__col--ko { border-top-color: var(--red); }
.mpx-compat__col--case { border-top-color: var(--amber); }
.mpx-compat__note { margin-top: 1.4rem; }
.mpx-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.mpx-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; grid-column: span 2; }
.mpx-gallery img:nth-child(-n+2) { grid-column: span 3; }
.mpx-legal { max-width: 52rem; background: #fff; border: 1px solid #dfe2e6; border-left: 5px solid var(--amber); border-radius: 4px; padding: 1.6rem 1.8rem; }
.mpx-legal h2 { margin-top: 0; }
.mpx-legal p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
	.mpx-pump { grid-template-columns: 1fr; }
	.mpx-shots, .mpx-compat { grid-template-columns: 1fr; }
	.mpx-gallery { grid-template-columns: 1fr 1fr; }
	.mpx-gallery img, .mpx-gallery img:nth-child(-n+2) { grid-column: auto; }
	.mpx-gallery img:first-child { grid-column: span 2; }
}

/* ---------- Page de vente Optimisation moteur (template-optimisation-moteur.php) ---------- */
.mpx-spot { background: #0e1013; border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem; display: grid; gap: 1.1rem; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.mpx-spot__title { margin: 0; font-weight: 700; color: #fff; }
.mpx-spot__row { display: grid; grid-template-columns: 5.2rem 1fr auto; gap: .8rem; align-items: center; color: #c9ced5; }
.mpx-spot__row b { color: #fff; white-space: nowrap; }
.mpx-spot__track { position: relative; height: 1.6rem; background: #232830; border-radius: 4px; overflow: hidden; }
.mpx-spot__track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
.mpx-spot__track .is-after { background: var(--red); }
.mpx-spot__track .is-before { background: #8a929d; z-index: 1; }
.mpx-spot__note { margin: 0; font-size: .8rem; color: #8f97a1; }
.mpx-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.mpx-result { background: #fff; border: 1px solid #dfe2e6; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.mpx-result img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.mpx-result__body { padding: 1rem 1.2rem 1.2rem; }
.mpx-result__body h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.mpx-result__stage { margin: 0 0 .5rem; color: var(--red); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.mpx-result__gain { margin: 0; }
.mpx-result__gain small { color: var(--muted); }
.mpx-note { margin-top: 1.2rem; color: var(--muted); font-size: .92rem; }
.mpx-checks--light li { color: #c9ced5; }
.mpx-checks--light strong { color: #fff; }
.mpx-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.mpx-stage { background: #fff; border: 1px solid #dfe2e6; border-top: 4px solid var(--red); border-radius: 6px; padding: 1.8rem; display: flex; flex-direction: column; gap: .4rem; }
.mpx-stage--2 { border-top-color: var(--ink); }
.mpx-stage h3 { margin: 0; font-size: 1.6rem; }
.mpx-stage__tag { margin: 0; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.mpx-stage__price { margin: 0 0 .4rem; font-size: 1.5rem; font-weight: 700; }
.mpx-stage ul { margin: 0 0 .6rem; padding-left: 1.1rem; display: grid; align-content: start; gap: .45rem; color: var(--muted); flex: 1; }
.mpx-stage__small { margin: 0 0 .8rem; font-size: .85rem; color: var(--muted); }
.mpx-steps3 { max-width: 46rem; }
.mpx-legal__list { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: .4rem; color: var(--muted); }
@media (max-width: 860px) {
	.mpx-results { grid-template-columns: 1fr 1fr; }
	.mpx-stages { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.mpx-results { grid-template-columns: 1fr; }
	.mpx-spot__row { grid-template-columns: 1fr auto; }
	.mpx-spot__row span { grid-column: 1 / -1; }
}
.mpx-promo { margin: 1.4rem 0 0; padding: 1rem 1.3rem; background: #fff1ee; border: 1px solid #f4c3ba; border-left: 5px solid var(--red); border-radius: 4px; color: var(--ink); }

/* ---------- Configurateur : encart d'économie E85 (apparaît avec la conversion éthanol) ---------- */
.mpc-e85 { margin-top: 1.2rem; background: #fff; border: 1px solid #dfe2e6; border-left: 5px solid var(--red); border-radius: 6px; }
.mpc-e85 > summary { cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 700; list-style: none; position: relative; }
.mpc-e85 > summary::-webkit-details-marker { display: none; }
.mpc-e85 > summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--red); }
.mpc-e85[open] > summary::after { content: "–"; }
.mpc-e85__body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 0 1.2rem 1.3rem; align-items: start; }
.mpc-e85__fields { display: grid; gap: .9rem; }
.mpc-e85__label { display: block; margin-bottom: .3rem; font-weight: 600; font-size: .95rem; }
.mpc-e85__fuel { display: flex; gap: .5rem; }
.mpc-e85__fuel label { margin: 0; cursor: pointer; }
.mpc-e85__fuel input { position: absolute; opacity: 0; pointer-events: none; }
.mpc-e85__fuel span { display: inline-block; padding: .5rem 1.1rem; border: 1px solid #c9ced5; border-radius: 4px; font-weight: 700; }
.mpc-e85__fuel input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.mpc-e85__fuel input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.mpc-e85 .mpc-field input[type="number"] { width: 100%; max-width: 12rem; }
.mpc-e85__result { background: var(--ink); color: #fff; border-radius: 6px; padding: 1.2rem 1.3rem; }
.mpc-e85__hero { margin: 0; display: grid; gap: .1rem; }
.mpc-e85__hero span { color: #aab1ba; font-size: .9rem; }
.mpc-e85__hero strong { font-size: clamp(2rem, 5vw, 2.8rem); color: #5fd08a; line-height: 1.1; }
.mpc-e85__sub { margin: .5rem 0 0; color: #c9ced5; }
.mpc-e85__result .mpc-note { color: #8f97a1; }
@media (max-width: 700px) { .mpc-e85__body { grid-template-columns: 1fr; } }
.mpc-contact-form select { width: 100%; }

/* Page Contact */
.mpx-contact { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
.mpx-contact__side { background: #f5f6f8; border-radius: 12px; padding: 1.5rem; }
.mpx-contact__side h2 { margin-top: 0; }
.mpx-contact__side ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.mpx-contact__side li { margin-bottom: .75rem; }
.mpx-contact__side li strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.mpx-contact__est { margin: 1rem 0; }
@media (min-width: 860px) { .mpx-contact { grid-template-columns: 340px 1fr; } }

/* Menu principal : tout tient sur une seule ligne sur ordinateur (les tailles s'adaptent à la largeur de l'écran). */
@media (min-width: 961px) {
	.mp-header__inner { gap: clamp(.5rem, 1.1vw, 1.5rem); }
	.mp-logo { flex: none; }
	.mp-logo img, .custom-logo { height: clamp(36px, 3.6vw, 46px); }
	.mp-header__inner.mp-wrap { max-width: 1440px; }
	.mp-nav { gap: clamp(.4rem, 1vw, 1.25rem); flex: 1 1 auto; margin-left: 0; justify-content: center; }
	.mp-menu { gap: .1rem; flex-wrap: nowrap; }
	.mp-menu > li > a { white-space: nowrap; padding: .5rem clamp(.4rem, .75vw, .75rem); font-size: clamp(.82rem, 1.12vw, .98rem); }
	.mp-nav__cta { white-space: nowrap; padding-left: clamp(.7rem, 1.1vw, 1.2rem); padding-right: clamp(.7rem, 1.1vw, 1.2rem); font-size: clamp(.82rem, 1.1vw, 1rem); }
	.mp-account__btn { white-space: nowrap; padding: .55rem clamp(.35rem, .7vw, .7rem); font-size: clamp(.82rem, 1.05vw, .95rem); }
}
@media (min-width: 961px) and (max-width: 1240px) {
	/* Écrans étroits : « Mon compte » ne garde que l'icône, et le menu se resserre. */
	.mp-account__label, .mp-account__caret { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.mp-menu > li > a { padding-left: .35rem; padding-right: .35rem; font-size: .8rem; }
	.mp-nav__cta { padding-left: .7rem; padding-right: .7rem; font-size: .8rem; }
}
@media (min-width: 961px) and (max-width: 1010px) {
	.mp-menu > li > a { padding-left: .25rem; padding-right: .25rem; font-size: .76rem; }
	.mp-nav__cta { font-size: .76rem; padding-left: .55rem; padding-right: .55rem; }
	.mp-header__inner { gap: .4rem; }
}

/* Page « Solution de désactivation » : boutons à pictogramme */
.mpx-sol { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.mpx-sol li { margin: 0; }
.mpx-sol__btn { display: flex; align-items: center; gap: .9rem; height: 100%; padding: .9rem 1rem; background: var(--panel); color: #fff; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; box-shadow: inset 0 -3px 0 transparent; transition: transform .15s, box-shadow .15s, border-color .15s; }
.mpx-sol__btn:hover, .mpx-sol__btn:focus-visible { color: #fff; border-color: var(--red); box-shadow: inset 0 -3px 0 var(--red); transform: translateY(-2px); }
.mpx-sol__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: #0e1013; color: var(--red); }
.mpx-sol__icon svg { width: 28px; height: 28px; }
.mpx-sol__label { flex: 1; font-weight: 700; line-height: 1.25; }
.mpx-sol__arrow { flex: none; font-size: 1.5rem; line-height: 1; color: var(--red); }
.mpx-sol__cta { margin: 2rem 0 0; }

/* Note globale des avis Google */
.mpx-rate { display: flex; justify-content: center; margin: 0 0 1.5rem; }
.mpx-rate a, .mpx-rate > span:first-child { text-decoration: none; }
.mpx-rate a, .mpx-rate { gap: .6rem; }
.mpx-rate a { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; color: inherit; }
.mpx-rate__stars { color: #f5b301; font-size: 1.5rem; letter-spacing: .1em; line-height: 1; }
.mpx-rate__stars i { font-style: normal; color: #c9ced5; }
.mpx-rate__note { font-size: 1.15rem; }
.mpx-rate__note strong { font-size: 1.5rem; }
.mpx-rate__count { color: #5b636d; font-weight: 600; }

/* Bandeau de réassurance : 4 cases de même taille, avec pictogramme */
.mp-facts__grid { align-items: stretch; }
.mp-fact { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-content: start; align-items: center; }
.mp-fact__icon { grid-row: 1 / span 2; align-self: start; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #0e1013; color: var(--red); }
.mp-fact__icon svg { width: 26px; height: 26px; }
.mp-facts .mp-fact strong { margin: 0 0 .2rem; font-size: 1.02rem; line-height: 1.25; }
.mp-fact__text { display: block; font-size: .93rem; line-height: 1.4; }
@media (max-width: 960px) { .mp-facts__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mp-facts__grid { grid-template-columns: 1fr; } }

/* Fiche produit : photo réduite, options sur une ligne (libellé + choix) */
.single-product .mp-woo div.product { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 1rem 2.5rem; align-items: start; }
.single-product .mp-woo div.product > * { grid-column: 1 / -1; }
.single-product .mp-woo div.product > .woocommerce-product-gallery,
.single-product .mp-woo div.product > div.images { grid-column: 1; float: none; width: 100%; margin: 0; }
.single-product .mp-woo div.product > .summary { grid-column: 2; float: none; width: auto; margin: 0; }
.single-product .mp-woo div.product > .onsale { grid-column: 1; grid-row: 1; }
.single-product .mp-woo .woocommerce-product-gallery img { width: 100%; height: auto; }
.single-product .mp-woo table.variations { width: 100%; border: 0; margin: 0 0 1rem; }
.single-product .mp-woo table.variations tbody { display: block; }
.single-product .mp-woo table.variations tr { display: flex; align-items: center; gap: 1rem; margin: 0 0 .6rem; }
.single-product .mp-woo table.variations th.label,
.single-product .mp-woo table.variations td.label { flex: 0 0 11rem; width: 11rem; padding: 0; text-align: left; border: 0; }
.single-product .mp-woo table.variations th.label label { margin: 0; font-weight: 700; }
.single-product .mp-woo table.variations td.value { flex: 1 1 auto; min-width: 0; padding: 0; border: 0; display: flex; align-items: center; gap: .75rem; }
.single-product .mp-woo table.variations td.value select { flex: 1 1 auto; width: 100%; margin: 0; }
.single-product .mp-woo table.variations .reset_variations { flex: 0 0 auto; font-size: .85rem; }
@media (max-width: 760px) {
	.single-product .mp-woo div.product { grid-template-columns: 1fr; }
	.single-product .mp-woo div.product > .woocommerce-product-gallery,
	.single-product .mp-woo div.product > div.images { max-width: 18rem; margin: 0 auto; }
	.single-product .mp-woo div.product > .summary { grid-column: 1; }
	.single-product .mp-woo table.variations tr { flex-direction: column; align-items: stretch; gap: .25rem; }
	.single-product .mp-woo table.variations th.label { flex: none; width: auto; }
}

/* Lien « Réinitialiser les choix » : en face du prix, aligné à droite */
.single-product .mp-woo div.product > .summary { position: relative; }
.single-product .mp-woo table.variations .reset_variations { position: absolute; top: 0; right: 0; display: flex; align-items: center; min-height: 2.4rem; white-space: nowrap; }

/* ===== File Service (Mon compte) ===== */
.mpfs { --mpfs-line: #dfe2e6; }
.mpfs-title { margin: 0 0 .6rem; }
.mpfs-notice { padding: .8rem 1rem; border-radius: 6px; margin: 0 0 1.2rem; font-weight: 600; border: 1px solid transparent; }
.mpfs-notice--ok { background: #e8f6ee; border-color: #b7e0c7; color: #14532d; }
.mpfs-notice--err { background: #fdecea; border-color: #f3b9b2; color: #8a1f12; }
.mpfs-notice--info { background: var(--tint); border-color: var(--mpfs-line); color: var(--ink); }
.mpfs-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; margin: 0 0 1.4rem; padding-bottom: .9rem; border-bottom: 1px solid var(--mpfs-line); }
.mpfs-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.mpfs-tab { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--mpfs-line); font-weight: 700; text-decoration: none; color: var(--ink); background: #fff; }
.mpfs-tab:hover { background: var(--tint); color: var(--ink); }
.mpfs-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.mpfs-balance { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.mpfs-balance__label { color: #5b636d; font-size: .9rem; }
.mpfs-balance__value { font-size: 1.25rem; }
.mpfs-balance__buy { font-weight: 700; font-size: .92rem; }
.mpfs-btn { font: inherit; font-weight: 700; padding: .8rem 1.5rem; border-radius: 6px; border: 2px solid transparent; cursor: pointer; text-decoration: none; display: inline-block; line-height: 1.2; }
.mpfs-btn--primary { background: var(--red); color: #fff; }
.mpfs-btn--primary:hover { background: var(--red-dark); color: #fff; }
.mpfs-btn--primary:disabled { opacity: .5; cursor: not-allowed; }
.mpfs-btn--ghost { background: #fff; color: var(--ink); border-color: var(--ink); }
.mpfs-btn[hidden] { display: none; }
.mpfs-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 1.4rem; padding: 0; counter-reset: none; }
.mpfs-step { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border: 1px solid var(--mpfs-line); border-radius: 6px; font-weight: 700; font-size: .92rem; color: #5b636d; background: #fff; }
.mpfs-step span { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--tint); color: var(--ink); flex: none; }
.mpfs-step.is-active { color: var(--ink); border-color: var(--ink); }
.mpfs-step.is-active span { background: var(--red); color: #fff; }
.mpfs-step.is-done span { background: var(--ink); color: #fff; }
.mpfs-error { padding: .75rem 1rem; border-radius: 6px; background: #fdecea; border: 1px solid #f3b9b2; color: #8a1f12; font-weight: 600; margin: 0 0 1rem; }
.mpfs-error[hidden], .mpfs-pane[hidden], .mpfs-cost__warn[hidden], .mpfs-drop__file[hidden] { display: none; }
.mpfs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; margin-bottom: 1.2rem; }
.mpfs-field span { display: block; margin-bottom: .3rem; font-weight: 600; font-size: .95rem; }
.mpfs-field input, .mpfs-field select { width: 100%; }
.mpfs-drop { position: relative; border: 2px dashed #b6bcc4; border-radius: 8px; padding: 2rem 1rem; text-align: center; background: #fafbfc; transition: background .15s, border-color .15s; }
.mpfs-drop.is-over, .mpfs-drop:focus-within { border-color: var(--red); background: #fff5f3; }
.mpfs-drop.has-file { border-style: solid; border-color: #3fae6a; background: #f3fbf6; }
.mpfs-drop__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.mpfs-drop__text { margin: 0 0 .3rem; font-size: 1.05rem; }
.mpfs-drop__hint { margin: 0; color: #5b636d; font-size: .88rem; }
.mpfs-drop__file { margin: .7rem 0 0; font-weight: 700; }
.mpfs-help { color: #5b636d; margin: 0 0 1rem; }
.mpfs-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.mpfs-services li { margin: 0; display: flex; }
.mpfs-service { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border: 1px solid var(--mpfs-line); border-radius: 6px; cursor: pointer; background: #fff; flex: 1; min-width: 0; }
.mpfs-service:hover { border-color: var(--ink); }
.mpfs-service.is-checked { border-color: var(--red); background: #fff5f3; box-shadow: inset 4px 0 0 var(--red); }
.mpfs-service.is-disabled { opacity: .45; cursor: not-allowed; }
.mpfs-service input { width: 1.15rem; height: 1.15rem; flex: none; margin: 0; }
.mpfs-service__name { font-weight: 700; flex: 1; }
.mpfs-service__price { font-weight: 700; color: #5b636d; white-space: nowrap; }
.mpfs-recap__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.2rem; margin: 0 0 1.2rem; }
.mpfs-recap__list div { padding: .55rem .8rem; background: var(--tint); border-radius: 6px; }
.mpfs-recap__list dt { font-size: .8rem; color: #5b636d; text-transform: uppercase; letter-spacing: .03em; }
.mpfs-recap__list dd { margin: 0; font-weight: 700; word-break: break-word; }
.mpfs-recap__services { list-style: none; margin: 0 0 1rem; padding: 0; border: 1px solid var(--mpfs-line); border-radius: 6px; }
.mpfs-recap__services li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 1rem; margin: 0; }
.mpfs-recap__services li + li { border-top: 1px solid var(--mpfs-line); }
.mpfs-cost { display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 1rem; background: var(--ink); color: #fff; border-radius: 6px; }
.mpfs-cost strong { font-size: 1.4rem; }
.mpfs-cost__balance { margin: .6rem 0 0; color: #5b636d; }
.mpfs-cost__warn { margin: .6rem 0 0; padding: .7rem 1rem; border-radius: 6px; background: #fdecea; color: #8a1f12; font-weight: 700; }
.mpfs-cost__warn a { color: #8a1f12; text-decoration: underline; }
.mpfs-actions { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.5rem; }
.mpfs-actions .mpfs-btn:only-of-type, .mpfs-actions [data-next], .mpfs-actions [data-send] { margin-left: auto; }
.mpfs-tablewrap { overflow-x: auto; }
.mpfs-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mpfs-table th { text-align: left; padding: .6rem .7rem; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.mpfs-table td { padding: .7rem; border-bottom: 1px solid var(--mpfs-line); vertical-align: top; }
.mpfs-table small { color: #5b636d; }
.mpfs-muted { color: #5b636d; font-size: .9rem; }
.mpfs-badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-weight: 700; font-size: .82rem; background: var(--tint); }
.mpfs-badge--pending { background: #fff1d6; color: #7a4b00; }
.mpfs-badge--processing { background: #dcebfb; color: #0b3c73; }
.mpfs-badge--done { background: #e1f4e8; color: #14532d; }
.mpfs-badge--refused { background: #fdecea; color: #8a1f12; }
.mpfs-pos { color: #14732f; font-weight: 700; }
.mpfs-neg { color: #8a1f12; font-weight: 700; }
.mpfs-creditbox { padding: 1rem 1.2rem; background: var(--tint); border-radius: 6px; margin: 0 0 1.4rem; }
.mpfs-creditbox p { margin: 0 0 .6rem; }
.mpfs-creditbox p:last-child { margin: 0; }
.mpfs-empty { color: #5b636d; }
@media (max-width: 760px) {
	.mpfs-grid, .mpfs-services, .mpfs-recap__list { grid-template-columns: 1fr; }
	.mpfs-step { font-size: 0; padding: .5rem; justify-content: center; }
	.mpfs-step span { font-size: .95rem; }
	.mpfs-step.is-active { font-size: .85rem; justify-content: flex-start; }
	.mpfs-table thead { display: none; }
	.mpfs-table, .mpfs-table tbody, .mpfs-table tr, .mpfs-table td { display: block; width: 100%; }
	.mpfs-table tr { border: 1px solid var(--mpfs-line); border-radius: 6px; margin-bottom: .8rem; padding: .3rem 0; }
	.mpfs-table td { border: 0; padding: .35rem .8rem; }
	.mpfs-table td::before { content: attr(data-label); display: block; font-size: .78rem; color: #5b636d; text-transform: uppercase; }
}

/* Turnstile (formulaire de contact) */
.mpc-turnstile{margin:14px 0}

/* ===== Pages légales (tableaux) ===== */
.mp-prose .mp-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.mp-prose .mp-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mp-prose .mp-table th,
.mp-prose .mp-table td { border: 1px solid #d5d9de; padding: 10px 12px; text-align: left; vertical-align: top; }
.mp-prose .mp-table th { background: var(--tint); font-weight: 700; }
.mp-prose ul { margin: 0 0 16px 1.2em; }

/* ===== Cookies (extension motorprog-cookies) ===== */
.mp-footer__cookies, .mpck-manage { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.mp-footer__legal .mp-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.mp-footer__legal-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.mp-footer__legal-links a { color: inherit; text-decoration: underline; }
.mp-footer__legal-links a:hover { color: var(--red); }
.mp-footer__cookies:hover, .mpck-manage:hover { color: var(--red); }
body.mpck-lock { overflow: hidden; }
.mpck-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100000; background: var(--ink); color: #fff; border-top: 3px solid var(--red); box-shadow: 0 -6px 24px rgba(0,0,0,.35); padding: 1.1rem 1.25rem; display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mpck-banner[hidden] { display: none; }
.mpck-banner__text { flex: 1 1 420px; max-width: 760px; font-size: .92rem; line-height: 1.5; }
.mpck-banner__text p { margin: 0 0 .35rem; }
.mpck-banner__title { font-weight: 700; font-size: 1.05rem; }
.mpck-banner a { color: #fff; text-decoration: underline; }
.mpck-banner__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.mpck-btn { font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; padding: .8rem 1.2rem; border-radius: 4px; cursor: pointer; border: 2px solid transparent; min-height: 44px; }
.mpck-btn--main { background: var(--red); color: #fff; border-color: var(--red); }
.mpck-btn--main:hover { background: var(--red-dark); border-color: var(--red-dark); }
.mpck-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.mpck-btn:focus-visible, .mpck-modal__close:focus-visible, .mpck-switch input:focus-visible + .mpck-switch__track { outline: 3px solid var(--amber); outline-offset: 2px; }
.mpck-overlay { position: fixed; inset: 0; z-index: 100001; background: rgba(10,12,15,.7); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.mpck-modal { background: var(--paper); color: var(--text); width: 100%; max-width: 640px; max-height: calc(100vh - 2rem); display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.mpck-modal__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid #d5d9de; }
.mpck-modal__head h2 { margin: 0; font-size: 1.25rem; }
.mpck-modal__close { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--text); width: 44px; height: 44px; }
.mpck-modal__body { padding: 1rem 1.25rem; overflow-y: auto; }
.mpck-modal__intro { margin: 0 0 1rem; color: var(--muted); font-size: .93rem; }
.mpck-cat { border: 1px solid #d5d9de; border-radius: 6px; padding: .9rem 1rem; margin-bottom: .8rem; }
.mpck-cat__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.mpck-cat__name { font-weight: 700; }
.mpck-cat__state { font-size: .85rem; color: var(--muted); }
.mpck-cat__desc { margin: .5rem 0 0; font-size: .92rem; }
.mpck-cat__list { margin: .6rem 0 0; padding-left: 1.1rem; font-size: .88rem; color: var(--muted); }
.mpck-cat__list li { margin-bottom: .25rem; }
.mpck-cat__list strong { color: var(--text); }
.mpck-switch { display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; }
.mpck-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mpck-switch__track { position: relative; width: 44px; height: 24px; background: #9aa1a9; border-radius: 12px; flex: none; transition: background .15s; }
.mpck-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .15s; }
.mpck-switch input:checked + .mpck-switch__track { background: var(--red); }
.mpck-switch input:checked + .mpck-switch__track::after { transform: translateX(20px); }
.mpck-switch input:disabled + .mpck-switch__track { opacity: .55; }
.mpck-modal__foot { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; padding: .9rem 1.25rem; border-top: 1px solid #d5d9de; background: var(--tint); }
.mpck-modal__foot .mpck-btn--ghost { color: var(--text); }
@media (max-width: 640px) {
	.mpck-banner { bottom: 56px; max-height: calc(100vh - 56px); overflow-y: auto; padding: 1rem; }
	.mpck-banner__actions { width: 100%; }
	.mpck-banner__actions .mpck-btn { flex: 1 1 100%; }
	.mpck-modal__foot .mpck-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .mpck-switch__track, .mpck-switch__track::after { transition: none; } }

/* Cookies : contenu tiers bloqué */
iframe[data-mpck][data-src] { display: none; }
.mpck-placeholder { border: 1px dashed #9aa1a9; background: var(--tint); border-radius: 8px; padding: 1.25rem; margin: 1rem 0; text-align: center; color: var(--text); }
.mpck-placeholder p { margin: 0 0 .75rem; }
.mpck-placeholder__actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin: 0; }
.mpck-placeholder .mpck-btn--ghost { color: var(--text); }
@media (max-width: 640px) { .mpck-placeholder__actions .mpck-btn { flex: 1 1 100%; } }

/* Boutique : filtres à gauche */
.mp-woo--filters { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.mp-filters__box { background: #fff; border: 1px solid #dfe2e6; border-top: 4px solid var(--red); border-radius: 4px; padding: 1rem 1.1rem; }
.mp-filters__toggle { display: none; cursor: pointer; font-weight: 700; list-style: none; }
.mp-filters__toggle::-webkit-details-marker { display: none; }
.mp-filters .wp-block-heading, .mp-filters__title, .mp-filters h2, .mp-filters h3, .mp-filters h4 { color: var(--red); font-size: 1.05rem; font-weight: 700; margin: 0 0 .5rem; }
.mp-filters__widget + .mp-filters__widget { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid #dfe2e6; }
.mp-filters ul { list-style: none; margin: 0; padding: 0; }
.mp-filters .wc-block-components-checkbox { margin: .35rem 0; }
.mp-filters .wc-block-components-checkbox__label, .mp-filters label { color: var(--ink); }
.mp-filters .wc-block-components-button:not(.is-link) { background: var(--red); color: #fff; border-radius: 6px; }
.mp-filters .wc-block-components-filter-reset-button, .mp-filters .wc-block-active-filters__clear-all { color: var(--red); }
@media (max-width: 900px) {
	.mp-woo--filters { grid-template-columns: 1fr; gap: 1.25rem; }
	.mp-filters__toggle { display: block; }
	.mp-filters__box[open] .mp-filters__toggle { margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 1px solid #dfe2e6; }
}

/* Recherche de la boutique : grand champ, loupe à droite, validation par la touche Entrée */
.mp-filters .wc-block-product-search, .mp-filters .woocommerce-product-search { width: 100%; }
.mp-filters .wc-block-product-search__fields, .mp-filters .woocommerce-product-search { position: relative; display: block; margin: 0; }
.mp-filters .wc-block-product-search__label, .mp-filters .woocommerce-product-search label { display: block; color: var(--ink); font-weight: 700; margin: 0 0 .5rem; }
.mp-filters .wc-block-product-search__field, .mp-filters .woocommerce-product-search input[type="search"] { box-sizing: border-box; display: block; width: 100%; min-width: 0; height: 2.9rem; margin: 0; padding: 0 2.9rem 0 .9rem; font: inherit; color: var(--ink); background: #fff; border: 1px solid #b9bfc7; border-radius: 6px; }
.mp-filters .wc-block-product-search__field:focus, .mp-filters .woocommerce-product-search input[type="search"]:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.mp-filters .wc-block-product-search__button, .mp-filters .woocommerce-product-search button[type="submit"], .mp-filters .woocommerce-product-search input[type="submit"] { position: absolute; right: .25rem; bottom: .25rem; width: 2.4rem; height: 2.4rem; min-width: 0; margin: 0; padding: 0; font-size: 0; line-height: 0; color: transparent; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23e43d26' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") center / 20px 20px no-repeat; border: 0; border-radius: 4px; box-shadow: none; cursor: pointer; overflow: hidden; }
.mp-filters .wc-block-product-search__button > *, .mp-filters .wc-block-product-search__button svg { display: none; }
.mp-filters .wc-block-product-search__button:hover, .mp-filters .woocommerce-product-search button[type="submit"]:hover { background-color: #f1f2f4; }

.mp-filters .mp-filters__more { display: inline-block; margin: .35rem 0 0; padding: 0; background: none; border: 0; color: var(--red); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.mp-filters .mp-filters__more:hover { text-decoration: underline; }
.mp-filters [hidden] { display: none !important; }

/* Fiche produit : champs « Extra Product Options » plus compacts sur mobile (mêmes espacements que les champs natifs) */
@media (max-width: 768px) {
	.single-product .tc-extra-product-options,
	.single-product .tc-extra-product-options .tm-extra-product-options-container { margin: 0 !important; padding: 0 !important; }
	.single-product .tc-extra-product-options .tc-row,
	.single-product .tc-extra-product-options .tc-cell,
	.single-product .tc-extra-product-options .tc-column,
	.single-product .tc-extra-product-options .tc-col,
	.single-product .tc-extra-product-options .cpf-element,
	.single-product .tc-extra-product-options .cpf-section,
	.single-product .tc-extra-product-options .tc-element-container,
	.single-product .tc-extra-product-options .tmcp-field-wrap,
	.single-product .tc-extra-product-options .tc-field-wrap,
	.single-product .tc-extra-product-options .tm-epo-field-wrap,
	.single-product .tc-extra-product-options .tc-label-wrap,
	.single-product .tc-extra-product-options .tm-has-labels,
	.single-product .tc-extra-product-options ul.tmcp-ul-wrap,
	.single-product .tc-extra-product-options ul.tmcp-ul-wrap > li { min-height: 0 !important; height: auto !important; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
	.single-product .tc-extra-product-options .cpf-element,
	.single-product .tc-extra-product-options .tc-cell { margin-bottom: .9rem !important; }
	.single-product .tc-extra-product-options .tm-epo-element-label,
	.single-product .tc-extra-product-options .tc-epo-element-label,
	.single-product .tc-extra-product-options label.tm-epo-field-label { display: block; margin: 0 0 .35rem !important; line-height: 1.3; }
	.single-product .tc-extra-product-options .tc-epo-label,
	.single-product .tc-extra-product-options .tm-description,
	.single-product .tc-extra-product-options .tc-clearfix,
	.single-product .tc-extra-product-options .tm-epo-field-wrap + * { margin-top: 0; margin-bottom: 0; }
	.single-product .tc-extra-product-options input[type="text"],
	.single-product .tc-extra-product-options input[type="number"],
	.single-product .tc-extra-product-options input[type="email"],
	.single-product .tc-extra-product-options input[type="tel"],
	.single-product .tc-extra-product-options select,
	.single-product .tc-extra-product-options textarea { margin: 0 !important; }
	.single-product .tc-extra-product-options textarea { min-height: 6rem; }
}

/* Fiche produit : champs d'options affichés dans un tableau (Immatriculation, Numéro de série, Commentaire) – compacts sur mobile */
@media (max-width: 768px) {
	.mp-woo form.cart table:not(.variations):not(.group_table),
	.mp-woo form.cart table:not(.variations):not(.group_table) > tbody,
	.mp-woo form.cart table:not(.variations):not(.group_table) > tbody > tr,
	.mp-woo form.cart table:not(.variations):not(.group_table) > tbody > tr > td,
	.mp-woo form.cart table:not(.variations):not(.group_table) > tbody > tr > th,
	.mp-woo form.cart table:not(.variations):not(.group_table) > tr,
	.mp-woo form.cart table:not(.variations):not(.group_table) > tr > td,
	.mp-woo form.cart table:not(.variations):not(.group_table) > tr > th { display: block !important; width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; vertical-align: top !important; }
	.mp-woo form.cart table:not(.variations):not(.group_table) > tbody > tr,
	.mp-woo form.cart table:not(.variations):not(.group_table) > tr { margin-bottom: .9rem !important; }
	.mp-woo form.cart table:not(.variations):not(.group_table) label { display: block; margin: 0 0 .35rem !important; line-height: 1.3; }
	.mp-woo form.cart table:not(.variations):not(.group_table) td > *:last-child { margin-bottom: 0 !important; }
	.mp-woo form.cart table:not(.variations):not(.group_table) input[type="text"],
	.mp-woo form.cart table:not(.variations):not(.group_table) input[type="number"],
	.mp-woo form.cart table:not(.variations):not(.group_table) input[type="email"],
	.mp-woo form.cart table:not(.variations):not(.group_table) input[type="tel"],
	.mp-woo form.cart table:not(.variations):not(.group_table) select,
	.mp-woo form.cart table:not(.variations):not(.group_table) textarea { margin: 0 !important; width: 100%; box-sizing: border-box; }
	.mp-woo form.cart table:not(.variations):not(.group_table) textarea { min-height: 6rem; height: auto; }
}

/* Options Thwepo (tableau .variations) : intitulé au-dessus du champ, sans espace vide sur mobile */
@media (max-width: 768px) {
	.mp-woo form.cart table.thwepo-extra-options,
	.mp-woo form.cart table.thwepo-extra-options > tbody { display: block !important; width: 100% !important; height: auto !important; margin: 0 0 1rem !important; }
	.mp-woo form.cart table.thwepo-extra-options > tbody > tr { display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; flex: 0 0 auto !important; height: auto !important; min-height: 0 !important; margin: 0 0 .9rem !important; padding: 0 !important; }
	.mp-woo form.cart table.thwepo-extra-options > tbody > tr > td { display: block !important; flex: 0 0 auto !important; width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
	.mp-woo form.cart table.thwepo-extra-options td.label { margin: 0 0 .35rem !important; line-height: 1.3 !important; }
	.mp-woo form.cart table.thwepo-extra-options td.label label { display: inline; margin: 0 !important; }
	.mp-woo form.cart table.thwepo-extra-options td.value > * { margin: 0 !important; }
	.mp-woo form.cart table.thwepo-extra-options td.value input, .mp-woo form.cart table.thwepo-extra-options td.value textarea { width: 100% !important; box-sizing: border-box; }
	.mp-woo form.cart table.thwepo-extra-options td.value textarea { min-height: 6rem; }
}
