/* Fiche produit en aperçu privé. Chargé pour le seul compte autorisé. Tout sélecteur commence par .mt-fp ou body.mt-fp. */
/* Mesures de la présentation retenue (1440 et 390). Points de rupture, 921 (Astra), 767 (encart de gravure), 544 (Astra). */

/* ---------- Variables (couleurs de la présentation retenue) ---------- */
body.mt-fp {
	--mt-fp-marine: #000f2b;
	--mt-fp-petrole: #1a6c7a;
	--mt-fp-filet: #e6e1da;
	--mt-fp-doux: #f6f3ee;
	--mt-fp-texte: #625f5f;
	--mt-fp-gris: #7a7a7a;
	--mt-fp-adminbar: var(--wp-admin--admin-bar--height, 0px);
	/* En-tête v2 collant (88 px) plus un jour de 24 px */
	--mt-fp-collant: calc(var(--mt-fp-adminbar) + 88px + 24px);
}

/* ---------- Mise en page de div.product ---------- */
body.mt-fp.single-product div.product {
	display: block;
	max-width: 1200px;
	margin: 0 auto;
	font-family: 'Montserrat', sans-serif;
	color: var(--mt-fp-texte);
}
body.mt-fp.single-product div.product .woo-variation-product-gallery,
body.mt-fp.single-product div.product .summary.entry-summary,
body.mt-fp.single-product div.product .woocommerce-tabs {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
/* Mobile et tablette, tout en colonne, photo pleine largeur de l'écran */
/* !important, car Variation Gallery pose max-width 50 % en !important (réglage de largeur de la galerie) */
body.mt-fp.single-product div.product .woo-variation-product-gallery {
	width: 100vw;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw);
	margin-bottom: 0;
}
body.mt-fp.single-product div.product .summary.entry-summary {
	padding: 20px 0 0;
}
body.mt-fp.single-product div.product .summary.entry-summary > * {
	margin-top: 0;
	margin-bottom: 20px;
}
/* Fil d'Ariane, sorti du résumé par contenu.php, au-dessus de la photo sur toutes les tailles */
body.mt-fp.single-product div.product > nav.woocommerce-breadcrumb {
	display: block;
	margin: 16px 0 12px;
	font-size: 12px;
	line-height: 16px;
	color: var(--mt-fp-gris);
}
body.mt-fp.single-product div.product .summary.entry-summary > .product_meta {
	display: none;
}

/* Ordinateur, galerie collante à gauche (680), résumé à droite (456), panneaux dessous.
   La grille est .mt-fp-haut (galerie et résumé seuls), car un élément collant ne sort jamais de son parent.
   Avec la grille sur div.product, la photo restait collée par-dessus les onglets et les suggestions. */
@media (min-width: 922px) {
	body.mt-fp.single-product div.product .mt-fp-haut {
		display: grid;
		grid-template-columns: minmax(0, 680fr) minmax(0, 456fr);
		column-gap: 64px;
		row-gap: 0;
		align-items: start;
	}
	/* Le résumé disparaît comme boîte, ses enfants se rangent dans la colonne de droite */
	body.mt-fp.single-product div.product .summary.entry-summary {
		display: contents;
	}
	body.mt-fp.single-product div.product .summary.entry-summary > * {
		grid-column: 2;
		min-width: 0;
		margin: 0 0 20px;
	}
	body.mt-fp.single-product div.product > nav.woocommerce-breadcrumb {
		margin: 28px 0 24px;
	}
	body.mt-fp.single-product div.product .woo-variation-product-gallery {
		grid-column: 1;
		grid-row: 1 / span 40;
		width: 100%;
		max-width: 100% !important;
		margin: 0;
		position: sticky;
		top: var(--mt-fp-collant);
		align-self: start;
	}
}
body.mt-fp nav.woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}
body.mt-fp nav.woocommerce-breadcrumb a:hover {
	color: var(--mt-fp-petrole);
}

/* ---------- Galerie, cadre 3/2 et vignettes ---------- */
body.mt-fp .woo-variation-gallery-slider-wrapper {
	margin: 0;
}
body.mt-fp .wvg-gallery-image .wvg-single-gallery-image-container {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #fff;
}
body.mt-fp .wvg-gallery-image .wvg-single-gallery-image-container > a {
	display: block;
	height: 100%;
}
body.mt-fp .wvg-gallery-image .wvg-single-gallery-image-container img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
}
/* Règle 9, photo au format voisin qui remplit le cadre, sinon entière sur fond blanc */
body.mt-fp .wvg-gallery-image.mt-fp-photo--plein .wvg-single-gallery-image-container img {
	object-fit: cover;
}
body.mt-fp .wvg-gallery-image.mt-fp-photo--entier .wvg-single-gallery-image-container img {
	object-fit: contain;
	background: #fff;
}
@media (min-width: 768px) {
	body.mt-fp .woo-variation-gallery-slider-wrapper {
		border-radius: 4px;
		overflow: hidden;
	}
	body.mt-fp .woo-variation-gallery-thumbnail-wrapper {
		margin-top: 10px;
	}
	body.mt-fp .woo-variation-gallery-thumbnail-slider .wvg-gallery-thumbnail-image {
		padding: 0 5px;
		box-sizing: border-box;
	}
	body.mt-fp .woo-variation-gallery-thumbnail-slider .wvg-gallery-thumbnail-image-container {
		border: 2px solid transparent;
		border-radius: 4px;
		overflow: hidden;
		aspect-ratio: 3 / 2;
		box-sizing: border-box;
	}
	body.mt-fp .woo-variation-gallery-thumbnail-slider .wvg-gallery-thumbnail-image img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	body.mt-fp .woo-variation-gallery-thumbnail-slider .slick-current .wvg-gallery-thumbnail-image-container,
	body.mt-fp .woo-variation-gallery-thumbnail-slider .current-thumbnail .wvg-gallery-thumbnail-image-container {
		border-color: var(--mt-fp-marine);
	}
}
/* Mobile, la photo se fait glisser (slick), ni vignettes ni flèches */
@media (max-width: 767px) {
	body.mt-fp .woo-variation-gallery-thumbnail-wrapper,
	body.mt-fp .woo-variation-gallery-slider-wrapper .slick-arrow {
		display: none;
	}
}

/* ---------- Titre, catégorie, prix ---------- */
body.mt-fp.single-product div.product .single-product-category {
	display: block;
	font-size: 11px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--mt-fp-petrole);
}
body.mt-fp.single-product div.product .single-product-category a {
	color: inherit;
	text-decoration: none;
}
body.mt-fp.single-product div.product h1.product_title {
	margin: 0 0 4px;
	font-size: 30px;
	line-height: 38px;
	font-weight: 500;
	color: var(--mt-fp-marine);
}
body.mt-fp.single-product div.product .summary > p.price,
body.mt-fp.single-product div.product .summary > span.price {
	display: block;
	margin: 0 0 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--mt-fp-filet);
	font-size: 22px;
	line-height: 1.2;
	font-weight: 600;
	color: var(--mt-fp-marine);
}
body.mt-fp.single-product div.product .summary > p.price del,
body.mt-fp.single-product div.product .summary > p.price del .amount {
	font-weight: 400;
	color: var(--mt-fp-gris);
}
body.mt-fp.single-product div.product .summary > p.price ins {
	text-decoration: none;
}
@media (min-width: 768px) {
	body.mt-fp.single-product div.product .single-product-category {
		font-size: 12px;
		margin-bottom: 6px;
	}
	body.mt-fp.single-product div.product h1.product_title {
		font-size: 40px;
		line-height: 50px;
		margin-bottom: 6px;
	}
	body.mt-fp.single-product div.product .summary > p.price,
	body.mt-fp.single-product div.product .summary > span.price {
		font-size: 24px;
	}
}

/* ---------- Choix (table.variations en blocs) ---------- */
body.mt-fp table.variations,
body.mt-fp table.variations tbody,
body.mt-fp table.variations tr,
body.mt-fp table.variations th.label,
body.mt-fp table.variations td.value {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-align: left;
}
body.mt-fp table.variations {
	margin-bottom: 6px;
}
body.mt-fp table.variations tr {
	margin-bottom: 14px;
}
body.mt-fp table.variations th.label {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 17px;
	font-weight: 600;
	color: var(--mt-fp-marine);
}
body.mt-fp table.variations th.label label {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}
body.mt-fp table.variations th.label .woo-selected-variation-item-name {
	font-weight: 400;
	color: var(--mt-fp-texte);
}
body.mt-fp table.variations a.reset_variations {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	color: var(--mt-fp-gris);
	text-decoration: underline;
}
body.mt-fp table.variations td.value > select.woo-variation-raw-select {
	display: none;
}
body.mt-fp ul.variable-items-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.mt-fp ul.button-variable-items-wrapper {
	gap: 8px;
}
/* Coque commune des choix, on neutralise la pastille carrée de Variation Swatches */
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item),
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item):hover,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).selected {
	display: block;
	box-sizing: border-box;
	width: min(70px, 20%); /* cinq par rangée sur mobile, même étroit */
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	overflow: visible;
	cursor: pointer;
}
body.mt-fp ul.variable-items-wrapper li.variable-item::before,
body.mt-fp ul.variable-items-wrapper li.variable-item::after {
	display: none;
}
body.mt-fp ul.variable-items-wrapper li.variable-item .variable-item-contents {
	display: block;
	position: relative;
	box-sizing: border-box;
}
/* Pastilles de couleur, colonne de 88 px (70 px sur mobile), nom entier dessous.
   Le nom est rendu dans .variable-item-contents, donc le rond est dessiné sur la pastille elle-même. */
body.mt-fp ul.variable-items-wrapper li.color-variable-item .variable-item-contents,
body.mt-fp ul.variable-items-wrapper li.image-variable-item .variable-item-contents {
	width: auto;
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
	overflow: visible;
}
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color {
	display: block;
	box-sizing: border-box;
	width: 48px;
	height: 48px;
	margin: 4px auto 6px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 15, 43, 0.12);
	outline: 2px solid transparent;
	outline-offset: 2px;
}
/* Vignettes, sérigraphie */
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).image-variable-item img.variable-item-image {
	display: block;
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	max-width: none;
	margin: 4px auto 6px;
	border: 1px solid var(--mt-fp-filet);
	border-radius: 4px;
	background: #fff;
	object-fit: cover;
	outline: 2px solid transparent;
	outline-offset: 2px;
}
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).color-variable-item:hover .variable-item-span-color,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).image-variable-item:hover img.variable-item-image {
	outline-color: var(--mt-fp-filet);
}
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).color-variable-item.selected .variable-item-span-color,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).image-variable-item.selected img.variable-item-image {
	outline-color: var(--mt-fp-marine);
}
body.mt-fp ul.variable-items-wrapper li.variable-item .mt-fp-choix__nom {
	display: block;
	padding: 0 3px;
	font-size: 12px;
	line-height: 14px;
	text-align: center;
	overflow-wrap: anywhere;
	color: var(--mt-fp-texte);
}
body.mt-fp ul.variable-items-wrapper li.variable-item.selected .mt-fp-choix__nom {
	font-weight: 600;
	color: var(--mt-fp-marine);
}

/* Couleur ou vignette en rupture de stock. Le rond garde sa couleur exacte, seule une barre diagonale fine le traverse.
   Le choix reste cliquable (le message « Rupture de stock » s'affiche), sans effet de survol. Nom en gris clair.
   Sélectionnée, la coche est masquée, seuls l'anneau et la barre restent.
   La classe mt-fp-rupture est posée par fiche-produit.js, no-stock par l'extension quand elle le fait. */
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.mt-fp-rupture:not(.radio-variable-item),
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.no-stock:not(.radio-variable-item) {
	cursor: default;
	box-shadow: none;
}
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.mt-fp-rupture.selected:not(.radio-variable-item).color-variable-item .variable-item-contents.variable-item-contents::before,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.mt-fp-rupture.selected:not(.radio-variable-item).image-variable-item .variable-item-contents.variable-item-contents::before,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.no-stock.selected:not(.radio-variable-item).color-variable-item .variable-item-contents.variable-item-contents::before,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.no-stock.selected:not(.radio-variable-item).image-variable-item .variable-item-contents.variable-item-contents::before {
	display: none;
}
/* Barre diagonale, tracée sur la même emprise que le rond (voir le recalage de la coche plus bas) */
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.mt-fp-rupture:not(.radio-variable-item).color-variable-item .variable-item-contents::after,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.no-stock:not(.radio-variable-item).color-variable-item .variable-item-contents::after,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.mt-fp-rupture:not(.radio-variable-item).image-variable-item .variable-item-contents::after,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.no-stock:not(.radio-variable-item).image-variable-item .variable-item-contents::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 48px;
	height: 48px;
	margin-left: -24px;
	border-radius: 50%;
	background: linear-gradient(to top right, transparent calc(50% - 1px), var(--mt-fp-marine) calc(50% - 1px), var(--mt-fp-marine) calc(50% + 1px), transparent calc(50% + 1px));
	pointer-events: none;
	z-index: 1;
}
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.mt-fp-rupture:not(.radio-variable-item).image-variable-item .variable-item-contents::after,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.no-stock:not(.radio-variable-item).image-variable-item .variable-item-contents::after {
	width: 56px;
	height: 56px;
	margin-left: -28px;
	border-radius: 4px;
}
@media (min-width: 768px) {
	body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.mt-fp-rupture:not(.radio-variable-item).color-variable-item .variable-item-contents::after,
	body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.no-stock:not(.radio-variable-item).color-variable-item .variable-item-contents::after {
		width: 52px;
		height: 52px;
		margin-left: -26px;
	}
}
/* La croix de l'extension est remplacée par la barre ci-dessus */
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item.no-stock:not(.radio-variable-item) .variable-item-contents.variable-item-contents::before {
	background-image: none;
}
body.mt-fp ul.variable-items-wrapper li.variable-item.mt-fp-rupture .mt-fp-choix__nom,
body.mt-fp ul.variable-items-wrapper li.variable-item.no-stock .mt-fp-choix__nom {
	color: #8a8f99;
}
body.mt-fp ul.variable-items-wrapper li.variable-item.disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
/* Boutons texte, 12 px de marge latérale sur mobile pour que deux longueurs tiennent sur une ligne */
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.button-variable-item:not(.radio-variable-item),
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.button-variable-item:not(.radio-variable-item):hover,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.button-variable-item:not(.radio-variable-item).selected {
	width: auto;
	padding: 11px 12px;
	border: 1px solid var(--mt-fp-filet);
	border-radius: 4px;
	background: #fff;
}
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.button-variable-item:not(.radio-variable-item):hover {
	border-color: var(--mt-fp-marine);
}
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.button-variable-item:not(.radio-variable-item).selected {
	border-color: var(--mt-fp-marine);
	box-shadow: inset 0 0 0 0.5px var(--mt-fp-marine);
}
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.button-variable-item:not(.radio-variable-item) .variable-item-contents span.variable-item-span.variable-item-span-button {
	display: block;
	width: auto;
	max-width: none;
	padding: 0;
	overflow: visible;
	text-overflow: clip;
	white-space: normal;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 400;
	text-align: left;
	color: var(--mt-fp-texte);
	background: none;
}
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.button-variable-item.selected:not(.radio-variable-item) .variable-item-contents span.variable-item-span.variable-item-span-button {
	font-weight: 600;
	color: var(--mt-fp-marine);
}
@media (min-width: 768px) {
	body.mt-fp ul.variable-items-wrapper {
		column-gap: 4px;
	}
	body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color {
		width: 52px;
		height: 52px;
	}
	body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item):not(.button-variable-item),
	body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item):not(.button-variable-item):hover,
	body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item):not(.button-variable-item).selected {
		width: 88px;
	}
	body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.button-variable-item:not(.radio-variable-item),
	body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.button-variable-item:not(.radio-variable-item):hover,
	body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.button-variable-item:not(.radio-variable-item).selected {
		padding: 11px 16px;
	}
	body.mt-fp table.variations tr {
		margin-bottom: 20px;
	}
}

/* Prix et disponibilité de la variation choisie */
body.mt-fp .single_variation_wrap .woocommerce-variation:empty {
	display: none;
}
body.mt-fp .single_variation_wrap .woocommerce-variation {
	margin: 0 0 14px;
}
body.mt-fp .single_variation_wrap .woocommerce-variation-price .price {
	font-size: 15px;
	font-weight: 600;
	color: var(--mt-fp-marine);
}
body.mt-fp .single_variation_wrap .woocommerce-variation-availability p,
body.mt-fp .single_variation_wrap .woocommerce-variation p.ast-stock-detail {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--mt-fp-gris);
}
/* Rupture de stock en rouge, variante choisie comme produit simple */
body.mt-fp .single_variation_wrap .woocommerce-variation-availability p.stock.out-of-stock,
body.mt-fp div.product .summary p.stock.out-of-stock,
body.mt-fp div.product p.stock.out-of-stock {
	color: #c62828;
	font-weight: 600;
}

/* ---------- Achat, gravure, quantité, bouton ---------- */
body.mt-fp .woocommerce-variation-add-to-cart,
body.mt-fp form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
}
body.mt-fp form.cart:not(.variations_form) > *,
body.mt-fp .woocommerce-variation-add-to-cart > * {
	flex: 0 0 100%;
	min-width: 0;
	margin: 0;
}
body.mt-fp form.cart .quantity {
	display: flex;
	flex: 0 0 104px;
	height: 52px;
	margin: 0;
	border: 1px solid var(--mt-fp-filet);
	border-radius: 4px;
	background: #fff;
	box-sizing: border-box;
	overflow: hidden;
}
body.mt-fp form.cart .quantity input.qty {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0 6px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	color: var(--mt-fp-marine);
}
body.mt-fp form.cart button.single_add_to_cart_button {
	flex: 1 1 0;
	height: 52px;
	min-height: 0;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 4px;
	background: var(--mt-fp-marine);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s;
}
body.mt-fp form.cart button.single_add_to_cart_button:hover {
	background: var(--mt-fp-petrole);
	color: #fff;
}
body.mt-fp form.cart button.single_add_to_cart_button.disabled,
body.mt-fp form.cart button.single_add_to_cart_button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
body.mt-fp form.cart .fpf-fields.after-add-to-cart:not(:has(*)) {
	display: none;
}
@media (min-width: 768px) {
	body.mt-fp form.cart .quantity {
		flex-basis: 124px;
		height: 56px;
	}
	body.mt-fp form.cart button.single_add_to_cart_button {
		height: 56px;
	}
}

/* Encart de gravure, ouvert sur ordinateur, replié sous 768 px */
body.mt-fp .mt-fp-gravure {
	flex: 0 0 100%;
	margin: 0 0 8px;
	box-sizing: border-box;
	border: 1px solid var(--mt-fp-filet);
	border-radius: 4px;
	background: #fff;
}
body.mt-fp .mt-fp-gravure__entete {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	text-align: left;
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: var(--mt-fp-marine);
	cursor: pointer;
}
body.mt-fp .mt-fp-gravure__titre {
	flex: 1 1 0;
	min-width: 0;
}
body.mt-fp .mt-fp-gravure__prix {
	flex: 0 0 auto;
	white-space: nowrap;
	color: var(--mt-fp-petrole);
}
/* Icône « + » à gauche quand l'encart est replié (mobile), masquée une fois ouvert */
body.mt-fp .mt-fp-gravure__icone {
	order: -1;
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
}
body.mt-fp .mt-fp-gravure__icone::before,
body.mt-fp .mt-fp-gravure__icone::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1.5px;
	margin: -0.75px 0 0 -6px;
	background: var(--mt-fp-petrole);
}
body.mt-fp .mt-fp-gravure__icone::after {
	transform: rotate(90deg);
}
body.mt-fp .mt-fp-gravure.is-ouvert .mt-fp-gravure__icone,
body.mt-fp .mt-fp-gravure.is-obligatoire .mt-fp-gravure__icone {
	display: none;
}
body.mt-fp .mt-fp-gravure.is-ouvert,
body.mt-fp .mt-fp-gravure.is-obligatoire {
	border-color: transparent;
	background: var(--mt-fp-doux);
}
body.mt-fp .mt-fp-gravure.is-ouvert .mt-fp-gravure__entete,
body.mt-fp .mt-fp-gravure.is-obligatoire .mt-fp-gravure__entete {
	padding: 16px 16px 10px;
}
body.mt-fp .mt-fp-gravure.is-obligatoire .mt-fp-gravure__entete {
	cursor: default;
}
body.mt-fp .mt-fp-gravure:not(.is-ouvert):not(.is-obligatoire) .mt-fp-gravure__corps {
	display: none;
}
body.mt-fp .mt-fp-gravure__corps {
	position: relative;
	padding: 0 16px 16px;
}
/* Libellé FPF d'origine, gardé dans le DOM pour les lecteurs d'écran, masqué à l'œil */
body.mt-fp .mt-fp-gravure .fpf-field p.form-row > label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
body.mt-fp .mt-fp-gravure .fpf-field p.form-row {
	margin: 0;
	padding: 0;
}
body.mt-fp .mt-fp-gravure .fpf-field .woocommerce-input-wrapper {
	display: block;
}
body.mt-fp .mt-fp-gravure input.fpf-input-field {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 70px 0 14px;
	box-sizing: border-box;
	border: 1px solid var(--mt-fp-filet);
	border-radius: 4px;
	background: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 14px;
	color: var(--mt-fp-marine);
}
body.mt-fp .mt-fp-gravure input.fpf-input-field:focus {
	border-color: var(--mt-fp-marine);
	outline: 0;
}
/* Texte indicatif FPF masqué dans le champ, repris dessous par .mt-fp-gravure__aide */
body.mt-fp .mt-fp-gravure input.fpf-input-field::placeholder {
	color: transparent;
}
body.mt-fp .mt-fp-gravure .fpf-totals,
body.mt-fp .mt-fp-gravure .fpf-totals dl {
	margin: 0;
}
body.mt-fp .mt-fp-gravure__aide {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 18px;
	color: var(--mt-fp-gris);
}
/* Compteur posé dans le champ, à droite (le champ est le premier bloc du corps, 44 px) */
body.mt-fp .mt-fp-gravure__compteur {
	position: absolute;
	top: 0;
	right: 30px;
	margin: 0;
	font-size: 12px;
	line-height: 44px;
	color: var(--mt-fp-gris);
	pointer-events: none;
}
body.mt-fp .mt-fp-gravure__compteur.is-plein {
	font-weight: 600;
	color: var(--mt-fp-petrole);
}
@media (min-width: 768px) {
	body.mt-fp .mt-fp-gravure,
	body.mt-fp .mt-fp-gravure.is-ouvert,
	body.mt-fp .mt-fp-gravure.is-obligatoire {
		border-color: transparent;
		border-radius: 6px;
		background: var(--mt-fp-doux);
	}
	body.mt-fp .mt-fp-gravure .mt-fp-gravure__entete,
	body.mt-fp .mt-fp-gravure.is-ouvert .mt-fp-gravure__entete {
		padding: 16px 16px 10px;
		cursor: default;
	}
	body.mt-fp .mt-fp-gravure .mt-fp-gravure__icone {
		display: none;
	}
	body.mt-fp .mt-fp-gravure:not(.is-ouvert):not(.is-obligatoire) .mt-fp-gravure__corps {
		display: block;
	}
}

/* ---------- Réassurance ---------- */
body.mt-fp ul.mt-fp-reassurance {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0 0 20px;
	list-style: none;
	border-bottom: 1px solid var(--mt-fp-filet);
}
body.mt-fp .mt-fp-reassurance__item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.3;
	color: var(--mt-fp-texte);
}
body.mt-fp .mt-fp-reassurance__icone {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: var(--mt-fp-petrole);
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}
body.mt-fp .mt-fp-reassurance__item--offerte .mt-fp-reassurance__icone {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v9H4zM3 7h18v4H3zM12 7v13M12 7c-1.5-3-5.5-3.5-5.5-1.2S10 7 12 7zM12 7c1.5-3 5.5-3.5 5.5-1.2S14 7 12 7z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v9H4zM3 7h18v4H3zM12 7v13M12 7c-1.5-3-5.5-3.5-5.5-1.2S10 7 12 7zM12 7c1.5-3 5.5-3.5 5.5-1.2S14 7 12 7z'/%3E%3C/svg%3E");
}
body.mt-fp .mt-fp-reassurance__item--livraison .mt-fp-reassurance__icone {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h11v10H2zM13 9h4l4 4v3h-8z'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h11v10H2zM13 9h4l4 4v3h-8z'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E");
}
body.mt-fp .mt-fp-reassurance__item--retour .mt-fp-reassurance__icone {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7L4 12l5 5M4 12h11a5 5 0 0 1 0 10h-3' transform='translate(0 -4)'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7L4 12l5 5M4 12h11a5 5 0 0 1 0 10h-3' transform='translate(0 -4)'/%3E%3C/svg%3E");
}
body.mt-fp .mt-fp-reassurance__item--paiement .mt-fp-reassurance__icone {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}
@media (min-width: 768px) {
	body.mt-fp ul.mt-fp-reassurance {
		gap: 12px;
	}
	body.mt-fp .mt-fp-reassurance__item {
		gap: 12px;
		font-size: 14px;
	}
	body.mt-fp .mt-fp-reassurance__icone {
		flex-basis: 22px;
		width: 22px;
		height: 22px;
	}
}

/* ---------- Texte court et texte long, mis en forme quel que soit le contenu ---------- */
body.mt-fp .mt-fp-court {
	font-size: 15px;
	line-height: 24px;
	color: var(--mt-fp-texte);
}
body.mt-fp .mt-fp-detail__texte {
	font-size: 15px;
	line-height: 25px;
	color: var(--mt-fp-texte);
}
@media (min-width: 768px) {
	body.mt-fp .mt-fp-detail__texte {
		font-size: 16px;
		line-height: 27px;
	}
}
body.mt-fp .mt-fp-court p,
body.mt-fp .mt-fp-detail__texte p {
	margin: 0 0 12px;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}
body.mt-fp .mt-fp-detail__texte p {
	margin-bottom: 16px;
}
/* Listes à emojis saisies en br, lignes un peu aérées dans le texte court */
body.mt-fp .mt-fp-court p:has(> br) {
	line-height: 28px;
}
body.mt-fp .mt-fp-court p:last-child,
body.mt-fp .mt-fp-detail__texte > :last-child {
	margin-bottom: 0;
}
body.mt-fp .mt-fp-court strong,
body.mt-fp .mt-fp-detail__texte strong {
	font-weight: 600;
	color: var(--mt-fp-marine);
}
body.mt-fp .mt-fp-court hr,
body.mt-fp .mt-fp-detail__texte hr {
	height: 0;
	margin: 4px 0 16px;
	border: 0;
	border-top: 1px solid var(--mt-fp-filet);
	background: none;
}
/* Titres venus d'un copier-coller, ramenés à une taille de lecture */
body.mt-fp .mt-fp-court h1,
body.mt-fp .mt-fp-court h2,
body.mt-fp .mt-fp-court h3,
body.mt-fp .mt-fp-court h4,
body.mt-fp .mt-fp-detail__texte h1,
body.mt-fp .mt-fp-detail__texte h2,
body.mt-fp .mt-fp-detail__texte h3,
body.mt-fp .mt-fp-detail__texte h4 {
	margin: 24px 0 8px;
	font-size: 18px;
	line-height: 26px;
	font-weight: 600;
	color: var(--mt-fp-marine);
}
body.mt-fp .mt-fp-court ul,
body.mt-fp .mt-fp-court ol,
body.mt-fp .mt-fp-detail__texte ul,
body.mt-fp .mt-fp-detail__texte ol {
	margin: 0 0 16px;
	padding-left: 1.3em;
}
body.mt-fp .mt-fp-court li,
body.mt-fp .mt-fp-detail__texte li {
	margin: 0 0 4px;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
}
/* Balisage ChatGPT neutralisé, article et div à classes utilitaires sans effet visuel */
body.mt-fp .mt-fp-court article,
body.mt-fp .mt-fp-court article div,
body.mt-fp .mt-fp-court section,
body.mt-fp .mt-fp-detail__texte article,
body.mt-fp .mt-fp-detail__texte article div,
body.mt-fp .mt-fp-detail__texte section {
	display: block;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
}
/* Styles en ligne d'un copier-coller (police, taille) ramenés au texte du gabarit. !important, car le style en ligne gagne sinon */
body.mt-fp .mt-fp-court [style*="font-family"],
body.mt-fp .mt-fp-court [style*="font-size"],
body.mt-fp .mt-fp-detail__texte [style*="font-family"],
body.mt-fp .mt-fp-detail__texte [style*="font-size"] {
	font-family: inherit !important;
	font-size: inherit !important;
}
/* Mention rouge en style en ligne (color #ff0000), adoucie. !important, car le style en ligne gagne sinon */
body.mt-fp .mt-fp-court [style*="color"],
body.mt-fp .mt-fp-detail__texte [style*="color"] {
	color: var(--mt-fp-gris) !important;
	font-size: 13px !important;
	font-style: italic;
	font-weight: 400;
}
body.mt-fp .mt-fp-court [style*="color"] strong,
body.mt-fp .mt-fp-detail__texte [style*="color"] strong {
	font-weight: 400;
	color: inherit;
}
/* Images et médias du texte */
body.mt-fp .mt-fp-court img,
body.mt-fp .mt-fp-detail__texte img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}
body.mt-fp .mt-fp-court img.emoji,
body.mt-fp .mt-fp-detail__texte img.emoji {
	display: inline;
	border-radius: 0;
}
body.mt-fp .mt-fp-detail__texte .wp-block-image img,
body.mt-fp .mt-fp-detail__texte img[class*="size-large"],
body.mt-fp .mt-fp-detail__texte img[class*="size-full"] {
	width: 100%;
}
body.mt-fp .mt-fp-detail__texte figure,
body.mt-fp .mt-fp-detail__texte .wp-caption {
	max-width: 100%;
	margin: 0 0 16px;
}
body.mt-fp .mt-fp-detail__texte .alignleft,
body.mt-fp .mt-fp-detail__texte .alignright {
	float: none;
	display: block;
	margin: 0 0 16px;
}
body.mt-fp .mt-fp-detail__texte table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	margin: 0 0 16px;
}
/* Vidéos, lecteur 16/9, image contenue (fichiers souvent carrés). !important, car le lecteur WordPress fixe des pixels en ligne */
body.mt-fp .mt-fp-detail__texte div.wp-video,
body.mt-fp .mt-fp-detail__texte .mejs-container {
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
	margin: 0 0 16px;
	aspect-ratio: 16 / 9;
	border-radius: 4px;
	overflow: hidden;
	background: var(--mt-fp-marine);
}
body.mt-fp .mt-fp-detail__texte .wp-video .mejs-container {
	margin: 0;
}
body.mt-fp .mt-fp-detail__texte .mejs-inner,
body.mt-fp .mt-fp-detail__texte .mejs-mediaelement,
body.mt-fp .mt-fp-detail__texte .mejs-layers,
body.mt-fp .mt-fp-detail__texte .mejs-layer {
	width: 100% !important;
	height: 100% !important;
}
body.mt-fp .mt-fp-detail__texte video.wp-video-shortcode,
body.mt-fp .mt-fp-detail__texte .wp-video video {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	object-fit: contain;
	background: var(--mt-fp-marine);
}
body.mt-fp .mt-fp-video {
	position: relative;
	width: 100%;
	margin: 0 0 16px;
	aspect-ratio: 16 / 9;
	border-radius: 4px;
	overflow: hidden;
	background: var(--mt-fp-marine);
}
body.mt-fp .mt-fp-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
/* Vidéo YouTube en vignette cliquable, bouton de lecture dessiné en CSS */
body.mt-fp .mt-fp-video__lien {
	position: absolute;
	inset: 0;
	display: block;
}
body.mt-fp .mt-fp-video__lien img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}
body.mt-fp .mt-fp-video__lecture {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 15, 43, 0.25);
	transition: transform 0.2s ease;
}
body.mt-fp .mt-fp-video__lecture::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -10px 0 0 -6px;
	border-style: solid;
	border-width: 10px 0 10px 17px;
	border-color: transparent transparent transparent var(--mt-fp-marine);
}
body.mt-fp .mt-fp-video__lien:hover .mt-fp-video__lecture,
body.mt-fp .mt-fp-video__lien:focus-visible .mt-fp-video__lecture {
	transform: scale(1.08);
}

/* ---------- Onglets, seul le panneau Description reste, toujours visible ---------- */
body.mt-fp.single-product div.product .woocommerce-tabs {
	margin-top: 40px;
}
body.mt-fp .woocommerce-tabs ul.tabs {
	display: none;
}
/* !important, car le script des onglets WooCommerce masque les panneaux par un style en ligne */
body.mt-fp .woocommerce-tabs .woocommerce-Tabs-panel--description {
	display: block !important;
	margin: 0;
	padding: 0;
	border: 0;
}
body.mt-fp .woocommerce-tabs .woocommerce-Tabs-panel--additional_information {
	display: none !important;
}
/* Panneau pleine largeur de l'écran, fond doux. Le halo déborde de la colonne et le clip-path le borne en hauteur */
body.mt-fp .mt-fp-detail {
	display: block;
	padding: 40px 0;
	background: var(--mt-fp-doux);
	box-shadow: 0 0 0 100vmax var(--mt-fp-doux);
	clip-path: inset(0 -100vmax);
}
body.mt-fp .mt-fp-detail__titre {
	margin: 0 0 24px;
	font-size: 24px;
	line-height: 30px;
	font-weight: 500;
	color: var(--mt-fp-marine);
}
body.mt-fp .mt-fp-detail__nom,
body.mt-fp .mt-fp-detail__suffixe {
	font: inherit;
	color: inherit;
}
body.mt-fp .mt-fp-detail__texte {
	min-width: 0;
	max-width: 760px;
}
@media (min-width: 922px) {
	body.mt-fp.single-product div.product .woocommerce-tabs {
		margin-top: 72px;
	}
	body.mt-fp .mt-fp-detail {
		display: grid;
		grid-template-columns: 360px minmax(0, 760px);
		column-gap: 96px;
		align-items: start;
		padding: 64px 0;
	}
	body.mt-fp .mt-fp-detail__titre {
		margin: 0;
		font-size: 28px;
		line-height: 36px;
	}
}
@media (min-width: 768px) and (max-width: 921px) {
	body.mt-fp .mt-fp-detail {
		padding: 48px 0;
	}
	body.mt-fp .mt-fp-detail__titre {
		font-size: 26px;
		line-height: 32px;
	}
}

/* ---------- Suggestions, quatre cartes (deux par rangée sur mobile) ---------- */
body.mt-fp .mt-fp-suggestions {
	padding: 40px 0 48px;
}
body.mt-fp .mt-fp-suggestions__titre {
	margin: 0 0 20px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 500;
	color: var(--mt-fp-marine);
}
body.mt-fp .mt-fp-suggestions ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.mt-fp .mt-fp-suggestions ul.products::before,
body.mt-fp .mt-fp-suggestions ul.products::after {
	display: none;
}
body.mt-fp .mt-fp-suggestions ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}
body.mt-fp .mt-fp-suggestions .astra-shop-thumbnail-wrap {
	position: relative;
	aspect-ratio: 1 / 1;
	margin: 0 0 6px;
	border-radius: 4px;
	overflow: hidden;
	background: var(--mt-fp-doux);
}
body.mt-fp .mt-fp-suggestions .astra-shop-thumbnail-wrap a.woocommerce-LoopProduct-link {
	display: block;
	height: 100%;
}
body.mt-fp .mt-fp-suggestions .astra-shop-thumbnail-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
body.mt-fp .mt-fp-suggestions .astra-shop-summary-wrap {
	padding: 0;
	text-align: left;
}
body.mt-fp .mt-fp-suggestions .woocommerce-loop-product__title {
	margin: 0 0 6px;
	padding: 0;
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: var(--mt-fp-marine);
}
body.mt-fp .mt-fp-suggestions .woocommerce-loop-product__title a,
body.mt-fp .mt-fp-suggestions a.woocommerce-LoopProduct-link {
	color: inherit;
	text-decoration: none;
}
body.mt-fp .mt-fp-suggestions .price {
	display: block;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	color: var(--mt-fp-texte);
}
/* Pas de bouton d'achat ni de pastille sur les cartes, la carte mène à la fiche */
body.mt-fp .mt-fp-suggestions a.button,
body.mt-fp .mt-fp-suggestions a.ast-on-card-button,
body.mt-fp .mt-fp-suggestions .ast-woo-product-category,
body.mt-fp .mt-fp-suggestions .star-rating {
	display: none;
}
@media (min-width: 922px) {
	body.mt-fp .mt-fp-suggestions {
		padding: 64px 0 96px;
	}
	body.mt-fp .mt-fp-suggestions__titre {
		margin-bottom: 28px;
		font-size: 28px;
	}
	body.mt-fp .mt-fp-suggestions ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}
	body.mt-fp .mt-fp-suggestions .astra-shop-thumbnail-wrap {
		margin-bottom: 8px;
	}
	body.mt-fp .mt-fp-suggestions .woocommerce-loop-product__title {
		margin-bottom: 8px;
		font-size: 15px;
		line-height: 22px;
	}
	body.mt-fp .mt-fp-suggestions .price {
		font-size: 15px;
	}
}
@media (min-width: 768px) and (max-width: 921px) {
	body.mt-fp .mt-fp-suggestions ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
	}
}

/* ---------- Coffret (WPC Product Bundles) et Plaque personnalisée ---------- */
body.mt-fp .woosb-wrap {
	margin: 0 0 20px;
}
body.mt-fp .woosb-products {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.mt-fp .woosb-product {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	column-gap: 14px;
	align-items: start;
	margin: 0;
	padding: 12px;
	border: 1px solid var(--mt-fp-filet);
	border-radius: 4px;
	background: #fff;
}
body.mt-fp .woosb-product .woosb-thumb {
	width: 72px;
	margin: 0;
}
body.mt-fp .woosb-product .woosb-thumb img {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 4px;
	object-fit: cover;
}
body.mt-fp .woosb-product .woosb-title {
	min-width: 0;
	margin: 0;
}
body.mt-fp .woosb-product .woosb-name {
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: var(--mt-fp-marine);
}
body.mt-fp .woosb-product .woosb-name a {
	color: inherit;
	text-decoration: none;
}
body.mt-fp .woosb-product .woosb-availability,
body.mt-fp .woosb-product .woosb-availability p {
	margin: 2px 0 0;
	font-size: 12px;
	line-height: 18px;
	color: var(--mt-fp-gris);
}
body.mt-fp .woosb-product .woosb-price {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--mt-fp-marine);
}
body.mt-fp .woosb-product .woosb-price-ori del {
	font-weight: 400;
	color: var(--mt-fp-gris);
}
/* Alerte du lot, sans le liseré gauche de WPC (aucune barre latérale sur les encarts) */
body.mt-fp .woosb-wrap .woosb-alert {
	margin: 10px 0 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 4px;
	background: var(--mt-fp-doux);
	font-size: 13px;
	color: var(--mt-fp-texte);
}
/* Cadre étroit de WPC autour des choix d'un produit du lot retiré, les pastilles prennent la largeur */
body.mt-fp .woosb-products .woosb-product .variations_form .variations,
body.mt-fp .woosb-products .woosb-product .variations_form .variations .variation {
	display: block;
	width: 100%;
	margin: 8px 0 0;
	padding: 0;
	border: 0;
	background: none;
}
/* Choix à l'intérieur d'un produit du lot, versions réduites */
body.mt-fp .woosb-product table.variations {
	margin: 8px 0 0;
}
body.mt-fp .woosb-product table.variations th.label {
	margin-bottom: 8px;
	font-size: 12px;
}
body.mt-fp .woosb-product ul.variable-items-wrapper {
	gap: 8px 0;
}
body.mt-fp.woo-variation-swatches .woosb-product ul.variable-items-wrapper li.variable-item:not(.radio-variable-item):not(.button-variable-item),
body.mt-fp.woo-variation-swatches .woosb-product ul.variable-items-wrapper li.variable-item:not(.radio-variable-item):not(.button-variable-item):hover,
body.mt-fp.woo-variation-swatches .woosb-product ul.variable-items-wrapper li.variable-item:not(.radio-variable-item):not(.button-variable-item).selected {
	width: 20%;
}
body.mt-fp.woo-variation-swatches .woosb-product ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color {
	width: 32px;
	height: 32px;
}
body.mt-fp .woosb-product ul.variable-items-wrapper li.variable-item .mt-fp-choix__nom {
	padding: 0;
	font-size: 11px;
	line-height: 13px;
	overflow-wrap: normal; /* pas de mot coupé en plein milieu dans la colonne étroite du lot */
}

/* ---------- Casse et espacement des lettres du thème neutralisés (casse normale) ---------- */
body.mt-fp.single-product div.product h1.product_title,
body.mt-fp .mt-fp-detail__titre,
body.mt-fp .mt-fp-suggestions__titre,
body.mt-fp .mt-fp-suggestions .woocommerce-loop-product__title,
body.mt-fp .mt-fp-court h1,
body.mt-fp .mt-fp-court h2,
body.mt-fp .mt-fp-court h3,
body.mt-fp .mt-fp-court h4,
body.mt-fp .mt-fp-detail__texte h1,
body.mt-fp .mt-fp-detail__texte h2,
body.mt-fp .mt-fp-detail__texte h3,
body.mt-fp .mt-fp-detail__texte h4,
body.mt-fp .mt-fp-gravure__entete,
body.mt-fp form.cart button.single_add_to_cart_button,
body.mt-fp .mt-fp-gravure__prix {
	text-transform: none;
	letter-spacing: normal;
}

/* ---------- Marge haute d'Astra (#primary, 4em) réduite ---------- */
body.mt-fp.single-product #primary {
	margin-top: 24px;
}
@media (max-width: 921px) {
	body.mt-fp.single-product #primary {
		margin-top: 0;
	}
}

/* Outil « Save product config » de FPF Pro, affiché aux seuls administrateurs. Masqué dans l'aperçu pour juger la vue d'un client. */
body.mt-fp .fpf-fields-config-wrapper {
	display: none;
}

/* Coche, croix et voile de Variation Swatches (::before de .variable-item-contents, 100 % × 100 %) recalés
   sur le rond seul, car .variable-item-contents englobe aussi le nom depuis l'ajout des noms sous les pastilles.
   Classe doublée pour l'emporter sur la règle « .selected:not(.no-stock) » de l'extension, sans !important. */
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).color-variable-item .variable-item-contents.variable-item-contents::before,
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).image-variable-item .variable-item-contents.variable-item-contents::before {
	top: 0; /* la marge haute du rond se reporte sur .variable-item-contents (fusion des marges) */
	left: 50%;
	width: 48px;
	height: 48px;
	margin-left: -24px;
	border-radius: 50%;
	z-index: 1;
}
body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).image-variable-item .variable-item-contents.variable-item-contents::before {
	width: 56px;
	height: 56px;
	margin-left: -28px;
	border-radius: 4px;
}
@media (min-width: 768px) {
	body.mt-fp.woo-variation-swatches ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).color-variable-item .variable-item-contents.variable-item-contents::before {
		width: 52px;
		height: 52px;
		margin-left: -26px;
	}
}
body.mt-fp.woo-variation-swatches .woosb-product ul.variable-items-wrapper li.variable-item:not(.radio-variable-item).color-variable-item .variable-item-contents.variable-item-contents::before {
	width: 32px;
	height: 32px;
	margin-left: -16px;
}
