/* ===== Panier et caisse WooCommerce (blocs) — 14 nov. 2026 =====
   Craftis masque tous les boutons radio et cases (largeur 0, !important)
   et attend un <label> après le champ; les blocs WooCommerce mettent le champ dans le label. */
.wc-block-components-radio-control .wc-block-components-radio-control__input[type="radio"] {
	position: absolute !important;
	top: 50% !important;
	left: 16px !important;
	transform: translateY(-50%) !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid currentColor !important;
	border-radius: 50% !important;
	clip-path: none !important;
	overflow: visible !important;
	display: inline-block !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	background: #fff !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	position: relative !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	margin: 0 12px 0 0 !important;
	padding: 0 !important;
	border: 1px solid currentColor !important;
	clip-path: none !important;
	overflow: visible !important;
	display: inline-block !important;
}
/* Libellés des options de livraison et de paiement : texte lisible */
.wc-block-components-radio-control__label,
.wc-block-components-radio-control__secondary-label {
	color: #1d1d1d;
}
/* Bouton « Passer à la validation de commande » : texte foncé sur fond foncé */
.wc-block-cart__submit-button,
.wc-block-cart__submit-button .wc-block-components-button__text {
	color: #fff !important;
}

/* ===== Marges mobiles — 14 nov. 2026 =====
   Craftis fixe le contenu à 280 px (< 480 px) et 440 px (< 768 px).
   On le remplace par la largeur de l'écran moins une marge relative bornée :
   5 % de chaque côté, min. 16 px, max. 32 px. */
@media (max-width: 767px) {
	:root { --soppa-gouttiere: clamp(16px, 5vw, 32px); }
	body .content_wrap,
	body .content_container {
		width: calc(100% - 2 * var(--soppa-gouttiere)) !important;
	}
	body .elementor-section.elementor-section-boxed > .elementor-container {
		max-width: calc(100vw - 2 * var(--soppa-gouttiere)) !important;
	}
}

/* ===== Page À propos (id 71) — 14 nov. 2026 : pas de blanc entre la dernière section et le pied de page ===== */
.page-id-71 .page_content_wrap {
	padding-bottom: 0 !important;
}

/* ===== Cases à cocher des blocs WooCommerce — 14 nov. 2026 =====
   Craftis dessine sa propre case (label::before + padding-left 2.1rem) et met le vrai champ à 0 px;
   le crochet SVG de WooCommerce se plaçait alors à côté de la fausse case. On revient au rendu WooCommerce. */
html body .wc-block-components-checkbox.wc-block-components-checkbox label:has(> input[type="checkbox"]) {
	padding-left: 0 !important;
}
html body .wc-block-components-checkbox.wc-block-components-checkbox label:has(> input[type="checkbox"])::before {
	content: none !important;
	display: none !important;
}
html body .wc-block-components-checkbox label > .wc-block-components-checkbox__input.wc-block-components-checkbox__input.wc-block-components-checkbox__input[type="checkbox"] {
	position: relative !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	margin: 0 12px 0 0 !important;
	padding: 0 !important;
	border: 1px solid currentColor !important;
	clip-path: none !important;
	overflow: visible !important;
	display: inline-block !important;
}
html body .wc-block-components-checkbox.wc-block-components-checkbox label:has(> input[type="checkbox"]) {
	display: flex !important;
	align-items: center;
	position: relative;
}
html body .wc-block-components-checkbox.wc-block-components-checkbox .wc-block-components-checkbox__mark {
	position: absolute !important;
	left: 0 !important;
	top: 50% !important;
	transform: translateY(-50%);
	margin: 0 0 0 2.5px !important;
}
