/* Fiche produit : galerie et informations côte à côte (tablette, desktop ; grande photo toujours entière à l'écran) ou empilées (mobile), formulaire d'achat, formats, offre 3+1, engagements et volets. */

.fiche,
.fiche * {
	box-sizing: border-box;
}

body .fiche * {
	margin-block: 0;
}

/* Fil d'Ariane : une ligne qui défile au doigt sous 1024 px. */
.fiche .fiche__ariane {
	margin: 0;
	font-size: 14px;
}

.fiche .fil-ariane__actuel {
	padding-right: 16px;
}

/* Grille : galerie, informations, puis volets de détails. */
.fiche .fiche__produit {
	display: grid;
	grid-template-areas: "galerie" "infos" "details";
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

.fiche .fiche__galerie {
	grid-area: galerie;
}

.fiche .fiche__infos {
	display: flex;
	grid-area: infos;
	flex-direction: column;
	min-width: 0;
	padding: 16px 16px 0;
}

body .fiche .fiche__details {
	grid-area: details;
	margin-top: 28px;
	padding: 0 16px;
}

.fiche .fiche__sur-titre,
.fiche .fiche__introduction {
	display: none;
}

.fiche .fiche__nom {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 30px;
	font-weight: 380;
	font-variation-settings: "SOFT" 100;
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

body .fiche .note--fiche {
	margin-top: 2px;
}

/* Prix, prix au kilo et TVA. */
body .fiche .fiche__prix-ligne {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin-top: 4px;
}

.fiche .fiche__prix,
.fiche .fiche__prix .wc-block-components-product-price {
	margin: 0;
	color: var(--wp--preset--color--texte);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-align: left;
}

.fiche .fiche__prix del {
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 0.6em;
	font-weight: 400;
}

.fiche .fiche__prix ins {
	text-decoration: none;
}

/* Produit épuisé (sous 1024 px) : « Épuisé » en grand, le prix en petit à côté. */
.fiche .fiche__epuise {
	margin-right: 12px;
	color: var(--wp--preset--color--texte-secondaire);
}

.fiche .fiche__prix:has(.fiche__epuise) .woocommerce-Price-amount {
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: normal;
}

.fiche .fiche__prix-kilo,
.fiche .fiche__tva {
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 14px;
	line-height: normal;
}

.fiche .fiche__prix-kilo:empty,
.fiche .fiche__poids:empty,
.fiche .fiche__texte-prix:empty {
	display: none;
}

/* Poids à côté du prix (« 3,10 € /100 g »), TVA à droite, prix au kilo sur la ligne suivante. */
body .fiche .fiche__poids {
	margin-left: -7px;
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 16px;
	font-weight: 500;
	line-height: normal;
}

.fiche .fiche__poids::before {
	content: "/";
}

body .fiche .fiche__tva {
	margin-left: auto;
}

body .fiche .fiche__prix-kilo {
	flex-basis: 100%;
}

body .fiche .fiche__texte-prix {
	margin-top: 14px;
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 16px;
	line-height: 1.5;
	/* Justifié sur toute la largeur ; la césure évite les grands blancs entre les mots sur mobile. */
	text-align: justify;
	hyphens: auto;
}

/* Notes olfactives des savons, sous le texte de présentation. */
.fiche .fiche__notes:empty {
	display: none;
}

body .fiche .fiche__notes {
	margin-top: 10px;
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 16px;
	line-height: 1.5;
}

.fiche .fiche__notes-libelle {
	color: var(--wp--preset--color--texte);
	font-weight: 600;
}

/* Zone d'achat, séparée des prix par un filet. */
body .fiche .fiche__achat {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 43px;
}

.fiche .fiche__achat::before {
	content: "";
	position: absolute;
	top: -21px;
	right: 0;
	left: 0;
	height: 1px;
	background: var(--wp--preset--color--beton);
}

.fiche .fiche-achat {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fiche .fiche-achat__ligne {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

/* Quantité : « Quantité » à gauche, pastille − 1 + à droite (mobile) ; pastille seule à côté du bouton (desktop). */
body .fiche .fiche-achat .quantity {
	display: flex;
	flex: 1 1 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.fiche .fiche-achat .quantity:has(input[type="hidden"]) {
	display: none;
}

.fiche .quantite__libelle {
	font-size: 16px;
	font-weight: 700;
}

.fiche .quantite__boitier {
	display: inline-flex;
	align-items: center;
	height: 48px;
	border: 1px solid var(--wp--custom--couleur--bordure);
	border-radius: var(--wp--preset--border-radius--pilule);
}

.fiche .quantite__bouton {
	position: relative;
	width: 48px;
	height: 46px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.fiche .quantite__bouton::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--wp--preset--color--texte);
	-webkit-mask: url(../images/icones/moins.svg) center / 13px no-repeat;
	mask: url(../images/icones/moins.svg) center / 13px no-repeat;
}

.fiche .quantite__bouton.est-plus::before {
	-webkit-mask-image: url(../images/icones/plus-epais.svg);
	mask-image: url(../images/icones/plus-epais.svg);
}

.fiche .fiche-achat input.qty {
	width: 32px;
	min-width: 32px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--texte);
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.fiche .fiche-achat input.qty::-webkit-inner-spin-button,
.fiche .fiche-achat input.qty::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

/* Bouton « Ajouter au panier · prix ». */
.fiche .fiche-achat__bouton {
	display: flex;
	flex: 1 1 100%;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--wp--preset--border-radius--pilule);
	background: var(--wp--preset--color--bleu);
	color: var(--wp--preset--color--blanc);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	white-space: nowrap;
	cursor: pointer;
	transition: background var(--wp--custom--transition--rapide);
}

.fiche .fiche-achat__bouton:hover {
	background: var(--wp--preset--color--bleu-fonce);
}

.fiche .fiche-achat__bouton.disabled,
.fiche .fiche-achat__bouton:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.fiche .fiche-achat__icone {
	flex: none;
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url(../images/icones/panier.svg) center / contain no-repeat;
	mask: url(../images/icones/panier.svg) center / contain no-repeat;
}

.fiche .fiche-achat__bouton.est-ajoute .fiche-achat__icone {
	width: 18px;
	height: 18px;
	-webkit-mask-image: url(../images/icones/coche.svg);
	mask-image: url(../images/icones/coche.svg);
}

/* Données de variante de WooCommerce : le prix de la fiche suffit ; seule une rupture du format est signalée. */
.fiche .variations.est-remplacee,
.fiche .woocommerce-variation-price,
.fiche .woocommerce-variation-description,
.fiche .woocommerce-variation-availability .in-stock {
	display: none;
}

.fiche .woocommerce-variation-availability .stock {
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 15px;
	font-weight: 700;
}

.fiche .variations:not(.est-remplacee) {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.fiche .variations:not(.est-remplacee) th {
	padding: 0 12px 8px 0;
	text-align: left;
}

.fiche .variations:not(.est-remplacee) select {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--wp--custom--couleur--bordure);
	border-radius: 12px;
	background: var(--wp--preset--color--blanc);
	font: inherit;
}

/* Boutons de paiement express de Stripe (Apple Pay, Google Pay), sous le bouton d'ajout. */
.fiche #wc-stripe-express-checkout-button-separator {
	display: none !important;
}

.fiche #wc-stripe-express-checkout-element {
	margin: 0 !important;
}

/* Champs cachés de Stripe (provenance de la commande) : sans place dans la colonne. */
.fiche .fiche__achat wc-order-attribution-inputs {
	display: none;
}

/* Formats : cartes de choix (poids, prix, prix au kilo). */
.fiche .formats {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fiche .formats__titre {
	font-size: 16px;
	font-weight: 700;
}

.fiche .formats__choisi {
	color: var(--wp--preset--color--texte-secondaire);
	font-weight: 400;
}

.fiche .formats__choix {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
	gap: 10px;
}

.fiche .formats__carte {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	min-height: 84px;
	padding: 12px 14px;
	border: 1px solid var(--wp--custom--couleur--bordure);
	border-radius: 14px;
	background: var(--wp--preset--color--blanc);
	color: var(--wp--preset--color--texte);
	font-family: inherit;
	line-height: normal;
	text-align: left;
	cursor: pointer;
}

.fiche .formats__carte[aria-checked="true"] {
	padding: 11px 13px;
	border: 2px solid var(--wp--preset--color--bleu);
	background: var(--wp--preset--color--pastel-bleu);
}

.fiche .formats__carte.est-epuise {
	background: var(--wp--custom--couleur--fond-doux);
	color: var(--wp--preset--color--texte-secondaire);
}

.fiche .formats__carte.est-epuise[aria-checked="true"] {
	border-color: var(--wp--preset--color--texte-secondaire);
}

.fiche .formats__poids {
	font-size: 18px;
	font-weight: 700;
}

.fiche .formats__prix {
	font-size: 16px;
	font-weight: 600;
}

.fiche .formats__kilo {
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 14px;
}

.fiche .formats__carte.est-epuise .formats__kilo {
	font-weight: 700;
}

/* Comparaison des formats à l'échelle : repliable sur mobile et tablette. */
.fiche .comparaison {
	--echelle: 16px;
	border: 1px solid var(--wp--preset--color--beton);
	border-radius: 14px;
	background: var(--wp--preset--color--fond-clair);
}

.fiche .comparaison__bascule {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 56px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--texte);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.fiche .comparaison__chevron {
	flex: none;
	width: 14px;
	height: 14px;
	background: var(--wp--preset--color--texte);
	-webkit-mask: url(../images/icones/chevron-bas.svg) center / contain no-repeat;
	mask: url(../images/icones/chevron-bas.svg) center / contain no-repeat;
	transition: transform 0.2s;
}

.fiche .comparaison__bascule[aria-expanded="true"] .comparaison__chevron {
	transform: rotate(180deg);
}

.fiche .comparaison__panneau {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 4px 16px 18px;
}

.fiche .comparaison:not(.est-ouverte) .comparaison__panneau,
.fiche .comparaison__titre {
	display: none;
}

.fiche .comparaison__dessins {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 28px;
	min-height: 140px;
}

.fiche .comparaison__format {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	opacity: 0.6;
	transition: opacity 0.25s;
}

.fiche .comparaison__format.est-choisi {
	opacity: 1;
}

.fiche .comparaison__savon {
	display: grid;
	place-items: center;
	width: calc(var(--longueur) * var(--echelle));
	height: calc(var(--hauteur) * var(--echelle));
	border-radius: 12px;
	background: var(--wp--custom--couleur--savon);
	box-shadow: inset 0 -5px 0 var(--wp--custom--couleur--savon-ombre), inset 0 0 0 2px transparent;
	color: var(--wp--custom--couleur--savon-texte-mobile);
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 15px;
	transition: box-shadow 0.25s;
}

.fiche .comparaison__format.est-choisi .comparaison__savon {
	box-shadow: inset 0 -5px 0 var(--wp--custom--couleur--savon-ombre), inset 0 0 0 2px var(--wp--preset--color--bleu);
}

.fiche .comparaison__legende {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 14px;
	text-align: center;
}

.fiche .comparaison__legende strong {
	color: var(--wp--preset--color--texte);
	font-size: 16px;
}

.fiche .comparaison__semaines {
	display: none;
}

.fiche .comparaison__regle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 14px;
}

.fiche .comparaison__graduations {
	width: calc(10 * var(--echelle));
	height: 10px;
	border-bottom: 1.5px solid var(--wp--preset--color--texte-secondaire);
	background-image: repeating-linear-gradient(90deg, var(--wp--preset--color--texte-secondaire) 0 1.5px, transparent 1.5px var(--echelle));
	background-position: bottom left;
	background-repeat: no-repeat;
	background-size: 100% 6px;
}

.fiche .comparaison__phrase {
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	text-wrap: pretty;
}

/* Produit épuisé : « Victime de son succès » et formulaire de retour en stock. */
.fiche .fiche-rupture {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fiche .fiche-rupture__titre {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 700;
}

.fiche .fiche-rupture__titre::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--custom--couleur--attente);
}

.fiche .fiche-rupture__texte {
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 16px;
	line-height: 1.5;
	text-wrap: pretty;
}

body .fiche .fiche-alerte {
	margin: 0;
	padding: 0;
}

.fiche .fiche-alerte form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fiche .fiche-alerte__ligne {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fiche .fiche-alerte__champ {
	width: 100%;
	min-width: 0;
	height: 52px;
	padding: 0 20px;
	border: 1.5px solid var(--wp--custom--couleur--bordure);
	border-radius: var(--wp--preset--border-radius--pilule);
	background: var(--wp--preset--color--blanc);
	font-family: inherit;
	font-size: 16px;
}

.fiche .fiche-alerte__champ:focus-visible {
	border-color: var(--wp--preset--color--bleu);
	outline: none;
}

.fiche .fiche-alerte__bouton {
	width: 100%;
	height: 52px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--wp--preset--border-radius--pilule);
	background: var(--wp--preset--color--bleu);
	color: var(--wp--preset--color--blanc);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.fiche .fiche-alerte__bouton:hover {
	background: var(--wp--preset--color--bleu-fonce);
}

.fiche .fiche-alerte__mention {
	color: var(--wp--preset--color--texte-secondaire);
	font-size: 14px;
	line-height: 1.5;
}

.fiche .fiche-alerte__mention a {
	color: var(--wp--preset--color--bleu);
}

.fiche .fiche__achat .woocommerce-info,
.fiche .fiche__achat .woocommerce-message {
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--wp--preset--color--pastel-vert);
	font-size: 16px;
	line-height: 1.5;
	list-style: none;
}

/* Offre 3+1. */
body .fiche .fiche-offre {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
	padding: 16px;
	border-radius: 16px;
	background: var(--wp--preset--color--pastel-vert);
}

.fiche .fiche-offre__pastille {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--wp--preset--color--blanc);
	color: var(--wp--preset--color--bleu);
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 16px;
	line-height: 1;
}

.fiche .fiche-offre__textes {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.fiche .fiche-offre__titre {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.fiche .fiche-offre__texte {
	font-size: 16px;
	line-height: 1.45;
}

.fiche .fiche-offre__texte.est-bureau {
	display: none;
}

/* Engagements : deux colonnes côte à côte, picto au trait bleu au-dessus et texte centré en dessous. */
body .fiche .fiche__engagements {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.fiche .fiche-engagement {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.35;
	text-align: center;
	text-wrap: pretty;
}

.fiche .fiche-engagement::before {
	content: "";
	flex: none;
	width: 32px;
	height: 32px;
	background: var(--wp--preset--color--bleu);
	-webkit-mask: var(--engagement-picto) center / 28px no-repeat;
	mask: var(--engagement-picto) center / 28px no-repeat;
}

.fiche .fiche-engagement--livraison {
	--engagement-picto: url(../images/icones/livraison.svg);
}

.fiche .fiche-engagement--cadeau {
	--engagement-picto: url(../images/icones/cadeau.svg);
}

.fiche .fiche-engagement__precision {
	display: none;
}

/* Tablette : galerie collante à gauche, informations à droite, volets sur toute la largeur. */
@media (min-width: 768px) {
	.fiche .fiche__ariane .fil-ariane {
		padding: 0 32px;
	}

	.fiche .fil-ariane__actuel {
		padding-right: 32px;
	}

	.fiche .fiche__produit {
		grid-template-areas: "galerie infos" "details details";
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 32px;
		padding: 8px 32px 0;
	}

	.fiche .fiche__galerie {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 88px);
	}

	/* Grande photo de taille fixe : page défilée, elle tient pile entre le bas du menu (position collante) et le bas de la fenêtre ; à l'arrivée, elle peut descendre plus bas. */
	.fiche .galerie-produit__cadre {
		width: min(100%, max(280px, calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 112px)));
	}

	.fiche .fiche__infos {
		padding: 4px 0 0;
	}

	.fiche .fiche__nom {
		font-size: 34px;
	}

	body .fiche .fiche__details {
		padding: 0;
	}
}

/* Desktop : grille 7 / 5, photo collante, informations complètes ; les volets suivent les informations. */
@media (min-width: 1024px) {
	.fiche .fiche__ariane {
		max-width: 1440px;
		margin: 0 auto;
		padding: 28px 32px 0;
		font-size: 13px;
	}

	.fiche .fiche__ariane .fil-ariane {
		height: auto;
		padding: 0;
		overflow: visible;
	}

	.fiche .fil-ariane a {
		min-height: 0;
	}

	.fiche .fil-ariane__separateur {
		color: inherit;
	}

	.fiche .fil-ariane__separateur::before {
		content: "/";
	}

	.fiche .fil-ariane__actuel {
		padding-right: 0;
		font-weight: 400;
	}

	.fiche .fiche__produit {
		grid-template-areas: "galerie infos" "galerie details";
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		grid-template-rows: auto 1fr;
		gap: 22px 40px;
		max-width: 1440px;
		margin: 0 auto;
		padding: 24px 32px 72px;
	}

	.fiche .fiche__galerie {
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px);
	}

	.fiche .galerie-produit__cadre {
		width: min(100%, max(280px, calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 120px)));
	}

	.fiche .fiche__infos {
		padding: 0;
	}

	body .fiche .fiche__details {
		margin-top: 0;
	}

	.fiche .fiche__sur-titre {
		display: block;
		color: var(--wp--preset--color--bleu);
		font-size: var(--wp--preset--font-size--mention);
		font-weight: 600;
		line-height: normal;
		letter-spacing: 0.16em;
		text-transform: uppercase;
	}

	body .fiche .fiche__nom {
		display: block;
		margin-top: 12px;
		overflow: visible;
		-webkit-line-clamp: unset;
		font-size: 44px;
		line-height: 1.02;
		letter-spacing: -0.02em;
	}

	body .fiche .note--fiche {
		margin-top: 12px;
	}

	body .fiche .fiche__introduction {
		display: block;
		margin-top: 12px;
		color: var(--wp--preset--color--texte-secondaire);
		font-size: 16.5px;
		line-height: 1.6;
	}

	.fiche .fiche__introduction > * {
		margin: 0;
	}

	body .fiche .fiche__prix-ligne {
		gap: 4px 14px;
		margin-top: 22px;
	}

	.fiche .fiche__epuise {
		display: none;
	}

	.fiche .fiche__prix:has(.fiche__epuise) .woocommerce-Price-amount {
		color: var(--wp--preset--color--texte);
		font-size: 32px;
		font-weight: 700;
		letter-spacing: -0.01em;
	}

	body .fiche .fiche__tva {
		font-size: 13px;
	}

	body .fiche .fiche__texte-prix {
		margin-top: 12px;
	}

	body .fiche .fiche__achat {
		gap: 22px;
		margin-top: 45px;
	}

	.fiche .fiche__achat::before {
		top: -23px;
	}

	.fiche .fiche-achat {
		gap: 22px;
	}

	.fiche .fiche-achat__ligne {
		flex-wrap: nowrap;
		gap: 10px;
	}

	body .fiche .fiche-achat .quantity {
		flex: none;
	}

	.fiche .quantite__libelle {
		display: none;
	}

	.fiche .quantite__boitier {
		height: 58px;
	}

	.fiche .quantite__bouton {
		width: 50px;
		height: 56px;
	}

	.fiche .fiche-achat input.qty {
		width: 26px;
		min-width: 26px;
		font-size: 16px;
	}

	.fiche .fiche-achat__bouton {
		flex: 1 1 0;
		height: 58px;
	}

	/* Formats en desktop : poids et prix au kilo à gauche, prix à droite ; comparaison toujours visible. */
	.fiche .formats {
		gap: 14px;
	}

	.fiche .formats__titre {
		font-size: 13px;
	}

	.fiche .formats__carte,
	.fiche .formats__carte[aria-checked="true"] {
		display: grid;
		grid-template-areas: "poids prix" "kilo prix";
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 0 12px;
		min-height: 0;
		padding: 14px 18px;
		border: 1.5px solid var(--wp--preset--color--beton);
	}

	.fiche .formats__carte[aria-checked="true"] {
		border-color: var(--wp--preset--color--bleu);
	}

	.fiche .formats__poids {
		grid-area: poids;
		font-size: 16px;
	}

	.fiche .formats__prix {
		grid-area: prix;
		font-weight: 700;
	}

	.fiche .formats__kilo {
		grid-area: kilo;
		font-size: 12.5px;
	}

	.fiche .comparaison {
		--echelle: 22px;
		border: 0;
		border-radius: 18px;
	}

	.fiche .comparaison__bascule {
		display: none;
	}

	.fiche .comparaison:not(.est-ouverte) .comparaison__panneau,
	.fiche .comparaison__panneau {
		display: flex;
		gap: 18px;
		padding: 22px 24px 20px;
	}

	.fiche .comparaison__titre {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 12px;
	}

	.fiche .comparaison__titre > span:first-child {
		font-family: var(--wp--preset--font-family--fraunces);
		font-size: 20px;
		font-variation-settings: "SOFT" 100;
	}

	.fiche .comparaison__vue {
		color: var(--wp--preset--color--texte-secondaire);
		font-size: 12px;
	}

	.fiche .comparaison__dessins {
		gap: 56px;
		min-height: 190px;
	}

	.fiche .comparaison__format {
		gap: 12px;
		opacity: 0.55;
	}

	.fiche .comparaison__savon {
		position: relative;
		border-radius: 16px;
		box-shadow: inset 0 -6px 0 var(--wp--custom--couleur--savon-ombre), inset 0 0 0 2px transparent;
		color: var(--wp--custom--couleur--savon-texte);
		font-size: 13px;
	}

	.fiche .comparaison__format.est-choisi .comparaison__savon {
		box-shadow: inset 0 -6px 0 var(--wp--custom--couleur--savon-ombre), inset 0 0 0 2px var(--wp--preset--color--bleu);
	}

	/* Tampon rond au centre du savon. */
	.fiche .comparaison__savon > span {
		display: grid;
		place-items: center;
		width: 62%;
		aspect-ratio: 1;
		border: 1.5px solid var(--wp--custom--couleur--savon-trait);
		border-radius: 50%;
	}

	.fiche .comparaison__legende {
		gap: 2px;
		font-size: 12.5px;
	}

	.fiche .comparaison__legende strong {
		font-size: 14px;
	}

	.fiche .comparaison__semaines {
		display: inline;
	}

	.fiche .comparaison__regle {
		gap: 12px;
		font-size: 12px;
	}

	.fiche .comparaison__graduations {
		height: 12px;
		background-size: 100% 7px;
	}

	.fiche .comparaison__phrase {
		font-size: 13.5px;
	}

	/* Épuisé : encart bordé. */
	.fiche .fiche__achat:has(.fiche-rupture) {
		gap: 14px;
		padding: 22px 24px;
		border: 1.5px solid var(--wp--custom--couleur--bordure);
		border-radius: 18px;
	}

	.fiche .fiche-rupture {
		gap: 14px;
	}

	.fiche .fiche-rupture__titre {
		font-size: 15px;
	}

	.fiche .fiche-rupture__texte {
		font-size: 14px;
		line-height: 1.55;
	}

	.fiche .fiche-alerte__ligne {
		flex-direction: row;
		gap: 8px;
	}

	.fiche .fiche-alerte__champ {
		flex: 1;
		height: 54px;
		font-size: 15px;
	}

	.fiche .fiche-alerte__bouton {
		flex: none;
		width: auto;
		height: 54px;
		font-size: 14.5px;
	}

	.fiche .fiche-alerte__mention {
		font-size: 13px;
	}

	body .fiche .fiche-offre {
		gap: 16px;
		margin-top: 22px;
		padding: 18px 20px;
		border-radius: 18px;
	}

	.fiche .fiche-offre__pastille {
		width: 52px;
		height: 52px;
		font-size: 17px;
	}

	.fiche .fiche-offre__titre {
		font-size: 15.5px;
		line-height: normal;
	}

	.fiche .fiche-offre__texte {
		color: var(--wp--preset--color--texte-secondaire);
		font-size: 13.5px;
	}

	.fiche .fiche-offre__texte.est-bureau {
		display: block;
	}

	.fiche .fiche-offre__texte.est-mobile {
		display: none;
	}

	body .fiche .fiche__engagements {
		gap: 16px;
		padding: 4px 0;
	}

	.fiche .fiche-engagement {
		font-size: 14.5px;
		line-height: 18px;
	}

	/* Précision liée au panier (« Plus que 53,80 € dans votre panier »), sous le texte. */
	.fiche .fiche-engagement__precision {
		display: block;
		margin-top: -4px;
		color: var(--wp--preset--color--texte-secondaire);
		font-size: 13px;
		line-height: 1.35;
	}
}

@media (min-width: 1280px) {
	.fiche .fiche__ariane {
		padding-inline: 80px;
	}

	/* Colonnes assez larges : lignes équilibrées (« Livraison offerte / dès 60 € »). */
	.fiche .fiche-engagement {
		text-wrap: balance;
	}

	.fiche .fiche__produit {
		column-gap: 64px;
		padding: 24px 80px 104px;
	}

	.fiche .fiche__galerie {
		top: calc(var(--wp-admin--admin-bar--height, 0px) + 165px);
	}

	.fiche .galerie-produit__cadre {
		width: min(100%, max(280px, calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 189px)));
	}

	body .fiche .fiche__nom {
		font-size: 54px;
	}
}
