/* ==================================================================================================================
 * Passe 54 : conformité de la vente en ligne (29/11/2026, inc/conformite.php et composition produit-engagements).
 * Sobre : filet or fin, fond à peine teinté, coins de 2 px, rien de criard.
 * ================================================================================================================== */

/* « Écoutez chez vous » : le délai légal, sous le bouton d'achat. */
body.woocommerce div.product .ecoute-chez-vous {
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	border: 1px solid rgb(230 177 12 / 0.28);
	border-radius: var(--legato-rayon, 2px);
	background: rgb(230 177 12 / 0.04);
	color: var(--wp--preset--color--texte);
	font-size: 0.875rem;
	line-height: 1.55;
}

body.woocommerce div.product .ecoute-chez-vous strong {
	color: var(--wp--preset--color--blanc);
	font-weight: 400;
}

body.woocommerce div.product .ecoute-chez-vous a {
	color: var(--wp--preset--color--or);
}

/* « Fabricant et sécurité » : un volet replié, en bas de la fiche. */
.fabricant-securite {
	max-width: var(--wp--style--global--content-size, 52rem);
	margin: var(--wp--preset--spacing--50, 2.5rem) auto 0;
	border-top: 1px solid rgb(230 177 12 / 0.25);
	border-bottom: 1px solid rgb(230 177 12 / 0.25);
	color: var(--wp--preset--color--texte);
	font-size: 0.875rem;
	line-height: 1.6;
}

.fabricant-securite > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 2.75rem;
	padding: 0.5rem 0;
	color: var(--wp--preset--color--or);
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: 0.8125rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
}

.fabricant-securite > summary::-webkit-details-marker {
	display: none;
}

.fabricant-securite > summary::after {
	content: "+" / "";
	font-size: 1.1rem;
	letter-spacing: 0;
}

.fabricant-securite[open] > summary::after {
	content: "\2212" / "";
}

.fabricant-securite > summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--or);
	outline-offset: 2px;
}

.fabricant-securite__corps {
	padding: 0 0 1rem;
}

.fabricant-securite__corps p,
.fabricant-securite__corps ul {
	margin: 0 0 0.6rem;
}

.fabricant-securite__corps ul {
	padding-left: 1.2rem;
}

.fabricant-securite__corps strong {
	color: var(--wp--preset--color--blanc);
	font-weight: 400;
}

.fabricant-securite__corps a {
	color: var(--wp--preset--color--or);
}

/* Panier et commande : mention de TVA et rappel de la rétractation, sous le bloc. */
.mention-legale-commande {
	max-width: var(--wp--style--global--wide-size, 80rem);
	margin: 1.5rem auto 0;
	padding: 0 var(--wp--style--root--padding-left, 1.5rem);
	color: var(--wp--preset--color--texte);
	font-size: 0.8125rem;
	line-height: 1.6;
	text-align: center;
}

.mention-legale-commande a {
	color: var(--wp--preset--color--or);
}

/* Pied de page : mention de TVA sur la ligne du droit d'auteur. */
.pied-de-page .mention-tva {
	white-space: nowrap;
}

/* Fonction de rétractation (extension, page Se rétracter du contrat). */
.retractation {
	display: grid;
	gap: 1rem;
	max-width: 40rem;
	margin: 0 auto;
}

.retractation label {
	display: block;
	margin-bottom: 0.3rem;
	color: var(--wp--preset--color--blanc);
	font-size: 0.875rem;
}

.retractation :is(input:not([type="checkbox"]), textarea) {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.55rem 0.75rem;
	border: 1px solid var(--wp--custom--bordure-champ, #8C8C8C);
	border-radius: 2px;
	background: var(--wp--preset--color--anthracite);
	color: var(--wp--preset--color--blanc);
	font: inherit;
}

.retractation__accuse {
	padding: 1rem 1.25rem;
	border: 1px solid rgb(230 177 12 / 0.45);
	border-radius: 2px;
	background: rgb(230 177 12 / 0.05);
}

.retractation__erreur {
	padding: 0.75rem 1rem;
	border-left: 2px solid #C9772A;
	background: rgb(201 119 42 / 0.08);
}
