:root {
	--ivoire: #f8f4ee;
	--ivoire-fonce: #f1e9dd;
	--foret: #35483c;
	--foret-fonce: #28382d;
	--sauge: #a4b0a0;
	--sauge-doux: #8d9a90;
	--terracotta: #d28b78;
	--terracotta-fonce: #b56e5b;
	--champagne: #c9a45c;
	--champagne-doux: #e3d3ae;
	--charcoal: #252822;
	--blanc: #fffdf9;
	--serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--rayon: 3px;
	--ombre: 0 10px 30px rgba(37, 40, 34, 0.08);
	--ombre-leger: 0 4px 14px rgba(37, 40, 34, 0.06);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--blanc);
	color: var(--charcoal);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	font-family: var(--serif);
	font-weight: 600;
	color: var(--foret);
	line-height: 1.15;
	text-wrap: balance;
}

a {
	color: var(--foret);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.conteneur {
	width: min(1280px, 100% - 3rem);
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--foret);
	color: #fff;
	padding: 0.75rem 1.25rem;
	z-index: 200;
	border-radius: 0 0 var(--rayon) 0;
}

.skip-link:focus {
	left: 0;
}

:focus-visible {
	outline: 3px solid var(--champagne);
	outline-offset: 2px;
}

/* ---------- Barre d'annonce ---------- */

.barre-annonce {
	background: var(--ivoire);
	color: var(--charcoal);
	text-align: center;
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	padding: 0.6rem 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	border-bottom: 1px solid rgba(164, 176, 160, 0.35);
}

.barre-annonce-icone {
	color: var(--foret);
	font-size: 0.9rem;
}

/* ---------- En-tête ---------- */

.site-header {
	background: rgba(255, 253, 249, 0.96);
	backdrop-filter: blur(8px);
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(164, 176, 160, 0.35);
}

.entete-interne {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding-block: 0.75rem;
}

.logo-site {
	flex-shrink: 0;
}

.logo-marque {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	min-width: 0;
}

.logo-marque .logo-image {
	height: 56px;
	width: 56px;
	object-fit: contain;
	flex-shrink: 0;
	display: block;
}

.logo-texte {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	min-width: 0;
}

.logo-nom {
	font-family: var(--serif, Georgia, serif);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #35483c;
	color: var(--foret, #35483c);
	text-transform: uppercase;
	white-space: nowrap;
}

.logo-nom-accent {
	color: #d28b78;
	color: var(--terracotta, #d28b78);
}

.logo-slogan {
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7a8a7e;
	color: var(--sauge-doux, #7a8a7e);
	white-space: nowrap;
}

.bouton-menu {
	display: none;
	align-items: center;
	gap: 0.5rem;
	background: none;
	border: 1px solid rgba(53, 72, 60, 0.3);
	border-radius: var(--rayon);
	color: var(--foret);
	padding: 0.6rem 0.8rem;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	min-height: 44px;
}

.bouton-menu-barres {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
}

.bouton-menu-barres span {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.bouton-menu[aria-expanded="true"] .bouton-menu-barres span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.bouton-menu[aria-expanded="true"] .bouton-menu-barres span:nth-child(2) {
	opacity: 0;
}

.bouton-menu[aria-expanded="true"] .bouton-menu-barres span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.nav-principale {
	flex: 1;
}

.menu-principal {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.25rem 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-principal a {
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--charcoal);
	padding: 0.5rem 0.15rem;
	position: relative;
	white-space: nowrap;
}

.menu-principal a:hover {
	color: var(--foret);
}

.menu-principal .current-menu-item > a,
.menu-principal .current-product_cat-ancestor > a {
	color: var(--foret);
	font-weight: 600;
}

.menu-principal .current-menu-item > a::after,
.menu-principal .current-product_cat-ancestor > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--foret);
}

.actions-header {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.action-icone {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--charcoal);
	border-radius: 50%;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.action-icone:hover {
	background: var(--ivoire-fonce);
	color: var(--foret);
}

.cart-compteur {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 1.1rem;
	height: 1.1rem;
	padding: 0 0.25rem;
	border-radius: 999px;
	background: var(--terracotta);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.1rem;
	text-align: center;
}

.recherche-deroulante {
	border-top: 1px solid rgba(164, 176, 160, 0.35);
	padding-block: 1rem;
	background: var(--blanc);
}

.recherche-deroulante form {
	display: flex;
	gap: 0.5rem;
}

.recherche-deroulante input[type="search"] {
	flex: 1;
	font: inherit;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(53, 72, 60, 0.3);
	border-radius: var(--rayon);
	background: var(--ivoire);
	color: var(--charcoal);
	min-height: 48px;
}

.recherche-deroulante button {
	font: inherit;
	font-weight: 600;
	background: var(--foret);
	color: var(--ivoire);
	border: 0;
	border-radius: var(--rayon);
	padding: 0.75rem 1.5rem;
	cursor: pointer;
	min-height: 48px;
}

/* ---------- Boutons ---------- */

.bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	border-radius: var(--rayon);
	padding: 0.85rem 1.75rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
	min-height: 48px;
}

.bouton-foret {
	background: var(--foret);
	color: var(--ivoire);
}

.bouton-foret:hover {
	background: var(--foret-fonce);
	color: var(--ivoire);
}

.bouton-terracotta {
	background: var(--terracotta);
	color: #fff;
}

.bouton-terracotta:hover {
	background: var(--terracotta-fonce);
	color: #fff;
}

/* ---------- Héros ---------- */

.hero {
	position: relative;
	overflow: hidden;
	background: var(--ivoire);
	min-height: clamp(420px, 62vw, 620px);
	display: flex;
	align-items: center;
}

.hero-fond {
	position: absolute;
	inset: 0;
}

.hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(248, 244, 238, 0.92) 0%, rgba(248, 244, 238, 0.72) 32%, rgba(248, 244, 238, 0.15) 60%, transparent 75%);
}

.hero-contenu {
	position: relative;
	z-index: 1;
	padding-block: clamp(3rem, 8vw, 6rem);
	max-width: 1280px;
}

.hero-titre {
	font-size: clamp(2.25rem, 5.5vw, 3.75rem);
	margin: 0 0 1rem;
	max-width: 12ch;
}

.hero-texte {
	font-size: clamp(1rem, 1.6vw, 1.125rem);
	color: var(--charcoal);
	max-width: 44ch;
	margin: 0 0 1.75rem;
}

.hero-cta {
	margin: 0;
}

/* ---------- Titres de section ---------- */

.titre-section {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.titre-section h2 {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	margin: 0;
	white-space: nowrap;
}

.titre-ligne {
	flex: 1;
	height: 1px;
	background: var(--champagne-doux);
	min-width: 2rem;
}

/* ---------- Univers ---------- */

.section-univers {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
	background: var(--blanc);
}

.tuiles-univers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem;
}

.tuile-univers a {
	display: block;
	text-decoration: none;
	border-radius: var(--rayon);
	overflow: hidden;
	background: var(--ivoire);
	box-shadow: var(--ombre-leger);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tuile-univers a:hover {
	transform: translateY(-4px);
	box-shadow: var(--ombre);
}

.tuile-image {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.tuile-libelle {
	display: block;
	text-align: center;
	padding: 0.85rem 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--charcoal);
	background: var(--ivoire);
}

/* ---------- Coups de cœur ---------- */

.section-coups {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
	background: var(--blanc);
}

.cartes-produits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.carte-produit {
	background: var(--blanc);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: var(--rayon);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.carte-produit:hover {
	box-shadow: var(--ombre);
	transform: translateY(-3px);
}

.carte-visuel {
	position: relative;
	display: block;
	background: var(--ivoire);
}

.carte-visuel img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.coeur-favori {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(255, 253, 249, 0.9);
	color: var(--charcoal);
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
}

.coeur-favori:hover {
	color: var(--terracotta);
	transform: scale(1.1);
}

.carte-infos {
	padding: 1rem 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1 1 auto;
}

.carte-nom {
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 500;
	margin: 0;
	line-height: 1.4;
	min-height: calc(1.4em * 2);
}

.carte-nom a {
	text-decoration: none;
	color: var(--charcoal);
}

.carte-nom a:hover {
	color: var(--foret);
}

.carte-prix {
	font-weight: 700;
	font-size: 1rem;
	color: var(--charcoal);
	font-variant-numeric: tabular-nums;
}

.carte-prix del {
	font-weight: 400;
	color: var(--sauge-doux);
	margin-right: 0.5rem;
}

.carte-prix ins {
	text-decoration: none;
	color: var(--terracotta-fonce);
}

.bouton-panier {
	margin-top: auto;
	width: 100%;
	background: var(--sauge);
	color: #fff;
	font-size: 0.875rem;
	padding: 0.7rem 1rem;
}

.bouton-panier:hover {
	background: var(--foret);
	color: var(--ivoire);
}

.bouton-panier.added {
	background: var(--foret);
}

/* ---------- Éditorial ---------- */

.section-edito {
	position: relative;
	overflow: hidden;
	background: var(--ivoire);
}

.edito-fond {
	position: absolute;
	inset: 0;
}

.edito-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.edito-contenu {
	position: relative;
	z-index: 1;
	padding-block: clamp(3rem, 8vw, 6rem);
	max-width: 1280px;
}

.edito-contenu::before {
	content: "";
	position: absolute;
	inset: 0 -100vw 0 -100vw;
	background: linear-gradient(90deg, rgba(248, 244, 238, 0.94) 0%, rgba(248, 244, 238, 0.75) 40%, rgba(248, 244, 238, 0.1) 65%, transparent 80%);
	z-index: -1;
}

.edito-contenu h2 {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	margin: 0 0 0.75rem;
	max-width: 14ch;
}

.edito-contenu p {
	max-width: 46ch;
	margin: 0 0 1rem;
}

.etat-vide {
	text-align: center;
	color: var(--sauge-doux);
	padding: 2rem 0;
}

/* ---------- Pied de page ---------- */

.pied-site {
	background: var(--foret);
	color: var(--ivoire);
	margin-top: 0;
}

.pied-grille {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2.5rem;
	padding-block: 3.5rem 2.5rem;
}

.pied-nom {
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.pied-slogan,
.pied-contactez {
	font-size: 0.875rem;
	color: rgba(248, 244, 238, 0.8);
	margin: 0 0 0.5rem;
}

.pied-titre {
	font-family: var(--sans);
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--champagne);
	margin: 0 0 1rem;
}

.pied-colonne ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.pied-colonne a {
	color: rgba(248, 244, 238, 0.9);
	text-decoration: none;
	font-size: 0.9375rem;
}

.pied-colonne a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Icones reseaux sociaux du pied de page. */
.pied-reseaux {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: flex;
	gap: 0.6rem;
}
.pied-reseaux li {
	list-style: none;
	margin: 0;
}
.pied-reseau {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(248, 244, 238, 0.35);
	color: rgba(248, 244, 238, 0.9);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}
.pied-reseau:hover {
	background: rgba(248, 244, 238, 0.15);
	color: #fff;
}

.pied-bas {
	border-top: 1px solid rgba(248, 244, 238, 0.2);
	padding-block: 1.25rem;
}

.pied-bas p {
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(248, 244, 238, 0.7);
	text-align: center;
}
.pied-credit {
	color: rgba(248, 244, 238, 0.9);
	font-weight: 600;
	text-decoration: none;
}
.pied-credit:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Boutique Maison Elegant ---------- */

.me-woo.me-boutique {
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.me-woo .page-title {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2rem, 3vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-align: center;
	margin: 0 0 0.5rem;
}

.post-type-archive-product .term-description,
.me-woo .term-description {
	text-align: center;
	color: var(--sauge-doux);
	max-width: 60ch;
	margin: 0 auto 1.75rem;
}

.me-woo .woocommerce-notices-wrapper:empty {
	display: none;
}

.me-woo .woocommerce-result-count,
.me-woo .woocommerce-ordering {
	margin-bottom: 1rem;
}

.me-woo .shop-toolbar,
.me-woo .woocommerce-ordering {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.me-woo .woocommerce-result-count {
	color: var(--sauge-doux);
	font-size: 0.9rem;
	margin: 0;
}

.me-woo .woocommerce-ordering .orderby {
	font: inherit;
	font-size: 0.9rem;
	color: var(--charcoal);
	background: var(--ivoire);
	border: 1px solid rgba(53, 72, 60, 0.28);
	border-radius: 999px;
	padding: 0.7rem 1.1rem;
	min-height: 48px;
	cursor: pointer;
}

.me-woo ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.me-woo ul.products::before,
.me-woo ul.products::after {
	content: none;
}

.me-woo ul.products li.product {
	position: relative;
	background: var(--blanc);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 18px;
	overflow: hidden;
	padding-bottom: 1.25rem;
	display: flex;
	flex-direction: column;
	margin: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.me-woo ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--ombre);
}

/* WooCommerce impose des largeurs en % qui ecrasent la grille : on neutralise (layout uniquement). */
body.woocommerce ul.products[class*="columns-"] li.product,
body.woocommerce-page ul.products[class*="columns-"] li.product {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	margin-right: 0 !important;
}

.me-woo ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	overflow: hidden;
	min-width: 0;
}

.me-woo ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.me-woo ul.products li.product:hover img {
	transform: scale(1.04);
}

body .me-woo ul.products li.product .onsale,
body .me-produits ul.products li.product .onsale,
body .me-favoris-conteneur ul.products li.product .onsale,
body.single-product .me-woo .related.products ul.products li.product .onsale {
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	bottom: auto !important;
	z-index: 2;
	background: var(--terracotta);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 999px !important;
	padding: 0.4rem 0.8rem;
	margin: 0;
	min-width: 0 !important;
	min-height: 0 !important;
	width: auto !important;
	height: auto !important;
	line-height: 1.2 !important;
}

.me-woo ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.45;
	padding: 1rem 1rem 0;
	margin: 0;
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
}

.me-woo ul.products li.product .price {
	font-weight: 700;
	font-size: 1.02rem;
	padding: 0.5rem 1rem 0;
	font-variant-numeric: tabular-nums;
	display: block;
}

.me-woo ul.products li.product .price del {
	font-weight: 400;
	color: var(--sauge-doux);
	margin-right: 0.5rem;
}

.me-woo ul.products li.product .price ins {
	text-decoration: none;
}

.me-woo ul.products li.product .star-rating {
	margin: 0.5rem 1rem 0;
}

.me-woo ul.products li.product .button.add_to_cart_button {
	margin: 0.9rem 1rem 0;
	border-radius: 999px;
	font-weight: 600;
	text-align: center;
	padding: 0.85rem 0.75rem;
	font-size: 0.875rem;
	line-height: 1.3;
	white-space: normal;
	overflow-wrap: break-word;
}

/* Boutique + recherche sur tel : 2 colonnes lisibles au lieu de 4 ecrasees. */
@media (max-width: 860px) {
	body .me-woo ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}
	body .me-woo ul.products li.product {
		border-radius: 14px;
		padding-bottom: 1rem;
		min-width: 0;
	}
	body .me-woo ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.85rem;
		padding: 0.75rem 0.75rem 0;
	}
	body .me-woo ul.products li.product .price {
		font-size: 0.92rem;
		padding: 0.4rem 0.75rem 0;
	}
	body .me-woo ul.products li.product .button.add_to_cart_button {
		margin: 0.7rem 0.75rem 0;
		padding: 0.75rem 0.5rem;
		font-size: 0.8rem;
	}
}
/* Tres petits ecrans : 2 colonnes compactes, boutons tactiles. */
@media (max-width: 380px) {
	body .me-woo ul.products {
		gap: 0.6rem;
	}
	body .me-woo ul.products li.product .button.add_to_cart_button {
		font-size: 0.75rem;
	}
}

/* Ancien bouton texte « Aperçu rapide » (legacy, sans oeil) : ne touche jamais l'oeil. */
.me-woo ul.products li.product .me-apercu-bouton:not(.me-apercu-oeil) {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	width: auto;
	margin: 0;
	padding: 0.55rem 0.95rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	background: rgba(255, 253, 249, 0.94);
	color: var(--foret);
	border: 1px solid rgba(53, 72, 60, 0.25);
	box-shadow: 0 6px 18px rgba(37, 40, 34, 0.14);
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	cursor: pointer;
}

.me-woo ul.products li.product:hover .me-apercu-bouton:not(.me-apercu-oeil),
.me-woo ul.products li.product:focus-within .me-apercu-bouton:not(.me-apercu-oeil) {
	opacity: 1;
	transform: none;
}

@media (hover: none) {
	.me-woo ul.products li.product .me-apercu-bouton:not(.me-apercu-oeil) {
		position: static;
		opacity: 1;
		transform: none;
		margin: 0.6rem 1rem 0;
		width: calc(100% - 2rem);
		background: transparent;
		box-shadow: none;
	}
}

/* Pagination boutique. */
.me-woo .woocommerce-pagination {
	margin-top: 2rem;
}

.me-woo .woocommerce-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.me-woo .woocommerce-pagination ul.page-numbers li {
	border: 0;
	float: none;
}

.me-woo .woocommerce-pagination ul.page-numbers a,
.me-woo .woocommerce-pagination ul.page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(53, 72, 60, 0.25);
	background: var(--blanc);
	color: var(--foret);
	font-weight: 600;
	text-decoration: none;
}

.me-woo .woocommerce-pagination ul.page-numbers span.current {
	background: var(--foret);
	border-color: var(--foret);
	color: var(--ivoire);
}

/* ---------- Fiche produit ---------- */

.single-product .me-woo div.product {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(1.5rem, 3.5vw, 3rem);
	background: var(--blanc);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 24px;
	box-shadow: var(--ombre-leger);
	padding: clamp(1.25rem, 3vw, 2.25rem);
	margin-top: 1.5rem;
}

/* Annule les floats/largeurs WooCommerce : la grille decide. */
.single-product .me-woo div.product div.images,
.single-product .me-woo div.product div.summary {
	float: none;
	width: 100%;
	margin: 0;
}

.single-product .me-woo .woocommerce-product-gallery {
	margin: 0;
	position: relative;
	min-width: 0;
}

/* Badge promo : pastille terracotta, calee dans la carte. */
body.single-product .me-woo div.product > span.onsale:first-child,
body.single-product .me-woo div.product .woocommerce-product-gallery span.onsale {
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	bottom: auto !important;
	z-index: 3 !important;
	margin: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	width: auto !important;
	height: auto !important;
	padding: 0.45rem 0.85rem !important;
	border-radius: 999px !important;
	background: var(--terracotta) !important;
	color: #fff !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
}

.single-product .me-woo .woocommerce-product-gallery__wrapper,
.single-product .me-woo .woocommerce-product-gallery__image {
	border-radius: 18px;
	overflow: hidden;
	background: var(--ivoire);
}

/* Vignettes : jamais coupees, meme ligne, bord arrondi. */
body.single-product .me-woo .flex-control-thumbs {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 0.6rem !important;
	margin: 0.75rem 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	clear: both;
}

.single-product .me-woo .woocommerce-product-gallery img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.single-product .me-woo .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 253, 249, 0.95);
	border: 1px solid rgba(53, 72, 60, 0.2);
}

.single-product .me-woo .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.6rem;
	margin-top: 0.6rem;
	padding: 0;
	list-style: none;
}

.single-product .me-woo .flex-control-thumbs li {
	margin: 0;
}

.single-product .me-woo .flex-control-thumbs img {
	border-radius: 12px;
	opacity: 0.85;
	transition: opacity 0.18s ease, transform 0.18s ease;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

/* Vignettes : nettes, meme taille, jamais coupees. */
body.single-product .me-woo ol.flex-control-nav.flex-control-thumbs li,
body.single-product .me-woo ul.flex-control-nav.flex-control-thumbs li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

body.single-product .me-woo .flex-control-thumbs img {
	opacity: 1 !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;
	object-fit: cover !important;
	border-radius: 12px !important;
	display: block !important;
	border: 1px solid rgba(164, 176, 160, 0.3);
	transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

body.single-product .me-woo .flex-control-thumbs img:hover {
	opacity: 1 !important;
	transform: translateY(-2px);
}

body.single-product .me-woo .flex-control-thumbs li:not(.flex-active-slide) img,
body.single-product .me-woo .flex-control-thumbs img:not(.flex-active) {
	opacity: 1 !important;
}

body.single-product .me-woo .flex-control-thumbs .flex-active,
body.single-product .me-woo .flex-control-thumbs img.flex-active {
	opacity: 1 !important;
	outline: none !important;
	border: 2px solid var(--champagne) !important;
	box-sizing: border-box;
}

.single-product .me-woo .flex-control-thumbs img:hover {
	opacity: 1;
	transform: translateY(-2px);
}

.single-product .me-woo .flex-control-thumbs img.flex-active {
	opacity: 1;
	outline: none;
	border: 2px solid var(--champagne);
	box-sizing: border-box;
}

.single-product .me-woo div.product .summary {
	display: flex;
	flex-direction: column;
	margin: 0;
	min-width: 0;
}

.single-product .me-woo .woocommerce-breadcrumb {
	font-size: 0.82rem;
	color: var(--sauge-doux);
	margin-bottom: 0.75rem;
}

.single-product .me-woo .woocommerce-breadcrumb a {
	color: var(--foret);
	text-decoration: none;
}

.single-product .me-woo h1.product_title {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
	margin: 0 0 0.6rem;
}

.single-product .me-woo div.product .woocommerce-review-link {
	font-size: 0.88rem;
}

.single-product .me-woo div.product .price {
	font-size: 1.55rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--foret);
	margin: 0.25rem 0 1rem;
}

.single-product .me-woo div.product .price del {
	font-size: 1.05rem;
	font-weight: 400;
	color: var(--sauge-doux);
	margin-right: 0.6rem;
}

.single-product .me-woo div.product .price ins {
	text-decoration: none;
}

.single-product .me-woo .stock.in-stock {
	width: fit-content;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--foret);
	background: #edf3ed;
	border-radius: 999px;
	padding: 0.4rem 0.85rem;
	margin-bottom: 1rem;
}

.single-product .me-woo .stock.out-of-stock {
	width: fit-content;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8c2f22;
	background: #fdecea;
	border-radius: 999px;
	padding: 0.4rem 0.85rem;
	margin-bottom: 1rem;
}

.single-product .me-woo .woocommerce-product-details__short-description {
	color: var(--charcoal);
	line-height: 1.7;
	max-width: 56ch;
	margin-bottom: 1.25rem;
}

/* Puces courte description : pastilles champagne pour un rendu soigne. */
body.single-product .me-woo .woocommerce-product-details__short-description ul {
	list-style: none;
	margin: 0 0 0.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

body.single-product .me-woo .woocommerce-product-details__short-description ul li {
	position: relative;
	padding-left: 1.5rem;
}

body.single-product .me-woo .woocommerce-product-details__short-description ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--champagne);
}

.single-product .me-woo form.cart {
	display: flex;
	gap: 0.75rem;
	align-items: stretch;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
}

.single-product .me-woo form.cart .quantity .qty {
	font: inherit;
	font-size: 1rem;
	border: 1px solid rgba(53, 72, 60, 0.28);
	border-radius: 999px;
	background: var(--ivoire);
	padding: 0.85rem 1rem;
	min-height: 52px;
	width: 90px;
	text-align: center;
}

/* Bouton ajouter : ecrase le violet WooCommerce (.button.alt). */
.single-product .me-woo form.cart .single_add_to_cart_button.button.alt,
.single-product .me-woo form.cart .single_add_to_cart_button.button {
	flex: 1;
	min-width: 220px;
	border: 0;
	border-radius: 999px;
	background: var(--foret);
	color: var(--ivoire);
	font-weight: 600;
	font-size: 1rem;
	padding: 1rem 2rem;
	min-height: 52px;
	cursor: pointer;
	box-shadow: 0 10px 25px rgba(37, 40, 34, 0.15);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.single-product .me-woo form.cart .single_add_to_cart_button.button.alt:hover,
.single-product .me-woo form.cart .single_add_to_cart_button.button:hover {
	background: var(--foret-fonce);
	color: var(--ivoire);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(37, 40, 34, 0.18);
}

/* Livraison / retours : bandeau rassurant sous le bouton panier. */
body.single-product .me-woo div.product .summary .me-reassurance {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0.9rem 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	background: var(--ivoire);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 14px;
	font-size: 0.88rem;
	color: var(--foret);
}

body.single-product .me-woo div.product .summary .me-reassurance li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
}

body.single-product .me-woo div.product .summary .me-reassurance svg {
	flex: none;
}

.single-product .me-woo .product_meta {
	font-size: 0.88rem;
	color: var(--sauge-doux);
	border-top: 1px solid rgba(164, 176, 160, 0.3);
	padding-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.single-product .me-woo .product_meta a {
	color: var(--foret);
}

/* Onglets + similaires : pleine largeur de la carte. */
.single-product .me-woo .woocommerce-tabs,
.single-product .me-woo .related.products,
.single-product .me-woo .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.single-product .me-woo .woocommerce-tabs {
	margin-top: 0.5rem;
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 18px;
	overflow: hidden;
	background: var(--blanc);
}

/* Pastilles (battent les styles WooCommerce, bureau comme tel). */
body.single-product .me-woo .woocommerce-tabs ul.tabs {
	display: flex !important;
	align-items: stretch;
	gap: 0.5rem !important;
	margin: 0 !important;
	padding: 0.9rem 1.25rem 0.9rem !important;
	background: var(--ivoire) !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(164, 176, 160, 0.3) !important;
	list-style: none !important;
	overflow-x: auto;
	overflow-y: visible;
	scrollbar-width: none;
}

body.single-product .me-woo .woocommerce-tabs ul.tabs::-webkit-scrollbar {
	display: none;
}

body.single-product .me-woo .woocommerce-tabs ul.tabs::before,
body.single-product .me-woo .woocommerce-tabs ul.tabs::after {
	content: none !important;
	border: 0 !important;
	width: 0 !important;
}

body.single-product .me-woo .woocommerce-tabs ul.tabs li {
	flex: none;
	border: 0 !important;
	background: transparent !important;
	border-radius: 999px !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-product .me-woo .woocommerce-tabs ul.tabs li::before,
body.single-product .me-woo .woocommerce-tabs ul.tabs li::after {
	content: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.single-product .me-woo .woocommerce-tabs ul.tabs li a {
	display: inline-flex !important;
	align-items: center;
	padding: 0.7rem 1.35rem !important;
	font-weight: 600 !important;
	font-size: 0.9rem !important;
	line-height: 1.3;
	white-space: nowrap;
	color: var(--sauge-doux) !important;
	text-decoration: none;
	border: 1px solid transparent !important;
	border-radius: 999px !important;
	background: transparent !important;
	text-shadow: none !important;
	box-shadow: none !important;
}

body.single-product .me-woo .woocommerce-tabs ul.tabs li a:hover {
	color: var(--foret) !important;
}

body.single-product .me-woo .woocommerce-tabs ul.tabs li.active {
	background: transparent !important;
}

body.single-product .me-woo .woocommerce-tabs ul.tabs li.active a {
	color: var(--foret) !important;
	background: var(--blanc) !important;
	border-color: rgba(53, 72, 60, 0.25) !important;
}

.single-product .me-woo .woocommerce-Tabs-panel {
	padding: 1.5rem;
	margin: 0;
	line-height: 1.75;
	max-width: 75ch;
}

body.single-product .me-woo .woocommerce-Tabs-panel > h2:first-child {
	font-family: var(--serif);
	color: var(--foret);
	font-size: 1.35rem;
	margin: 0 0 0.75rem;
}

body.single-product .me-woo .woocommerce-Tabs-panel p {
	margin: 0 0 1rem;
}

.single-product .me-woo .related.products {
	margin-top: 2rem;
}

.single-product .me-woo .related.products > h2 {
	font-family: var(--serif);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	text-align: center;
	margin: 0 0 1.25rem;
}

/* Similaires : toujours en grille (jamais 1 colonne géante).
   Surcharge ciblée : bat la règle générique même en mobile. */
.single-product .me-woo .related.products ul.products {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
	.single-product .me-woo .related.products ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.single-product .me-woo .related.products ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}
}

/* Avis : carte claire, champs 52px, bouton foret. */
body.single-product .me-woo #reviews #comments > h2,
body.single-product .me-woo #reviews #comments .woocommerce-Reviews-title {
	font-family: var(--serif);
	color: var(--foret);
	font-size: 1.35rem;
	margin: 0 0 0.25rem;
}

body.single-product .me-woo #reviews .woocommerce-noreviews {
	color: var(--sauge-doux);
	margin: 0 0 1.25rem;
}

body.single-product .me-woo #reviews .commentlist {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.single-product .me-woo #reviews .comment_container {
	background: var(--ivoire);
	border-radius: 16px;
	padding: 1.1rem 1.25rem;
}

.single-product .me-woo #respond input[type="text"],
.single-product .me-woo #respond input[type="email"],
.single-product .me-woo #respond textarea,
.single-product .me-woo #respond select {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	border: 1px solid rgba(53, 72, 60, 0.28);
	border-radius: 12px;
	background: #fff;
	color: var(--charcoal);
	padding: 0.85rem 1rem;
	min-height: 52px;
}

.single-product .me-woo #respond input[type="submit"].submit,
body.single-product #contenu .me-woo #respond input[type="submit"].submit,
body.single-product #contenu .me-woo #respond input#submit.submit {
	background: var(--foret) !important;
	color: var(--ivoire) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
	padding: 0.9rem 2rem !important;
	min-height: 52px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.single-product .me-woo #respond input[type="submit"].submit:hover,
body.single-product #contenu .me-woo #respond input[type="submit"].submit:hover,
body.single-product #contenu .me-woo #respond input#submit.submit:hover {
	background: var(--foret-fonce) !important;
	color: var(--ivoire) !important;
	transform: translateY(-1px);
}

/* Formulaire d'avis : carte ivoire, etoiles champagne, etiquettes soignees. */
body.single-product .me-woo #review_form_wrapper,
body.single-product .me-woo #review_form {
	background: var(--ivoire);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 16px;
	padding: 1.25rem 1.5rem;
	margin: 0;
}

body.single-product .me-woo #reply-title,
body.single-product .me-woo .comment-reply-title {
	font-family: var(--serif);
	color: var(--foret);
	font-size: 1.2rem;
	display: block;
	margin-bottom: 0.25rem;
}

body.single-product .me-woo #respond .comment-form-rating {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0.75rem 0 1rem;
}

body.single-product .me-woo #respond .comment-form-rating label {
	font-weight: 600;
	color: var(--foret);
	margin: 0;
}

body.single-product .me-woo #respond p.stars a {
	color: var(--champagne);
}

body.single-product .me-woo #respond .comment-form-comment label,
body.single-product .me-woo #respond .comment-form-author label,
body.single-product .me-woo #respond .comment-form-email label {
	display: block;
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--foret);
	margin-bottom: 0.4rem;
}

body.single-product .me-woo #respond .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.85rem;
	color: var(--sauge-doux);
}

body.single-product .me-woo #respond .comment-form-cookies-consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 0.15rem;
	accent-color: var(--foret);
	flex: none;
}

/* Blocs Woo page d'accueil (coups de coeur : shortcode/Elementor) : boutons alignes. */
body .elementor-widget-woocommerce-products ul.products li.product,
body .elementor-shortcode ul.products li.product,
body ul.products.columns-3 li.product,
body ul.products.columns-4 li.product {
	display: flex;
	flex-direction: column;
}

body .elementor-widget-woocommerce-products ul.products li.product a.woocommerce-LoopProduct-link,
body .elementor-shortcode ul.products li.product a.woocommerce-LoopProduct-link,
body ul.products.columns-3 li.product a.woocommerce-LoopProduct-link,
body ul.products.columns-4 li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

body .elementor-widget-woocommerce-products ul.products li.product .woocommerce-loop-product__title,
body .elementor-shortcode ul.products li.product .woocommerce-loop-product__title,
body ul.products.columns-3 li.product .woocommerce-loop-product__title,
body ul.products.columns-4 li.product .woocommerce-loop-product__title {
	line-height: 1.45;
	min-height: calc(1.45em * 2);
}

body .elementor-widget-woocommerce-products ul.products li.product .price,
body .elementor-shortcode ul.products li.product .price,
body ul.products.columns-3 li.product .price,
body ul.products.columns-4 li.product .price {
	margin-bottom: 0.9rem;
}

body .elementor-widget-woocommerce-products ul.products li.product .button.add_to_cart_button,
body .elementor-shortcode ul.products li.product .button.add_to_cart_button,
body ul.products.columns-3 li.product .button.add_to_cart_button,
body ul.products.columns-4 li.product .button.add_to_cart_button {
	margin-top: auto;
}

@media (max-width: 600px) {
	body .elementor-widget-woocommerce-products ul.products li.product .woocommerce-loop-product__title,
	body .elementor-shortcode ul.products li.product .woocommerce-loop-product__title,
	body ul.products.columns-3 li.product .woocommerce-loop-product__title,
	body ul.products.columns-4 li.product .woocommerce-loop-product__title {
		min-height: 0;
	}
}

@media (max-width: 960px) {
	.single-product .me-woo div.product {
		grid-template-columns: 1fr;
	}
	body.single-product .me-woo .woocommerce-tabs ul.tabs {
		padding: 0.75rem 1rem 0 !important;
	}
	body.single-product .me-woo .woocommerce-tabs ul.tabs li a {
		padding: 0.65rem 1.1rem !important;
		font-size: 0.85rem !important;
	}
	.single-product .me-woo .woocommerce-Tabs-panel {
		padding: 1.25rem;
	}
	body.single-product .me-woo div.product .summary .me-reassurance {
		font-size: 0.84rem;
	}
}

/* ---------- Apercu rapide (modale) ---------- */

.me-apercu-fond {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(37, 40, 34, 0.55);
	backdrop-filter: blur(4px);
}

.me-apercu-fond[hidden] {
	display: none;
}

body.me-apercu-ouvert {
	overflow: hidden;
}

.me-apercu-modale {
	position: relative;
	width: min(920px, 100%);
	max-height: 90vh;
	overflow: auto;
	background: var(--blanc);
	border-radius: 24px;
	box-shadow: 0 30px 80px rgba(37, 40, 34, 0.35);
}

.me-apercu-fermer {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(53, 72, 60, 0.25);
	background: rgba(255, 253, 249, 0.95);
	color: var(--foret);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.me-apercu {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.me-apercu-visuel {
	background: var(--ivoire);
	min-height: 100%;
}

.me-apercu-visuel img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	display: block;
}

.me-apercu-infos {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	display: flex;
	flex-direction: column;
}

.me-apercu-cat {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--terracotta-fonce);
	margin: 0 0 0.5rem;
}

.me-apercu-titre {
	font-family: var(--serif);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.15;
	margin: 0 0 0.6rem;
}

.me-apercu-prix {
	font-size: 1.35rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	margin-bottom: 1rem;
}

.me-apercu-desc {
	line-height: 1.7;
	color: var(--charcoal);
	margin-bottom: 1.5rem;
}

.me-apercu-actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: auto;
}

.me-apercu-actions .button {
	flex: 1;
	min-width: 180px;
	border-radius: 999px;
	font-weight: 600;
	text-align: center;
	padding: 0.9rem 1.5rem;
}

.me-apercu-actions .me-apercu-voir {
	background: transparent;
	border: 1px solid rgba(53, 72, 60, 0.35);
}

.me-apercu-chargement,
.me-apercu-erreur {
	text-align: center;
	padding: 3rem 1.5rem;
	color: var(--sauge-doux);
}

/* Apercu rapide sur tel : photo entiere en haut, texte en dessous, boutons tactiles. */
@media (max-width: 600px) {
	.me-apercu-fond {
		padding: 0.75rem;
		align-items: flex-end;
	}
	.me-apercu-modale {
		width: 100%;
		max-height: 92vh;
		border-radius: 20px;
	}
	.me-apercu {
		grid-template-columns: 1fr;
	}
	.me-apercu-visuel {
		min-height: 0;
	}
	.me-apercu-visuel img {
		height: auto;
		max-height: 38vh;
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
	.me-apercu-infos {
		padding: 1.25rem 1.25rem 1.5rem;
	}
	.me-apercu-titre {
		font-size: 1.35rem;
	}
	.me-apercu-prix {
		font-size: 1.2rem;
	}
	.me-apercu-actions {
		flex-direction: column;
	}
	.me-apercu-actions .button {
		width: 100%;
		min-width: 0;
		min-height: 48px;
	}
}

/* ---------- Mon compte ---------- */

.woocommerce-account .page-standard > h1 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	text-align: center;
	margin: 0 0 0.5rem;
}

.woocommerce-account .page-standard > h1 + .woocommerce::before {
	content: "Connectez-vous pour suivre vos commandes et retrouver vos favoris.";
	display: block;
	text-align: center;
	color: var(--sauge-doux);
	font-size: 0.9375rem;
	margin-bottom: 2rem;
}

.woocommerce-account.logged-in .page-standard > h1 + .woocommerce::before {
	content: "Retrouvez vos commandes, vos adresses et vos informations.";
}

/* Connexion / inscription : deux cartes côte à côte. */
.woocommerce-account .woocommerce #customer_login.u-columns.col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1rem, 2.5vw, 1.75rem);
	align-items: start;
}

.woocommerce-account .woocommerce #customer_login .u-column1.col-1,
.woocommerce-account .woocommerce #customer_login .u-column2.col-2 {
	float: none;
	width: auto;
	background: var(--blanc);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 20px;
	box-shadow: var(--ombre-leger);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	margin: 0;
}

.woocommerce-account .woocommerce #customer_login h2 {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.4rem, 2.5vw, 1.75rem);
	margin: 0 0 0.25rem;
}

.woocommerce-account .woocommerce #customer_login .u-column1.col-1 > h2::after,
.woocommerce-account .woocommerce #customer_login .u-column2.col-2 > h2::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 2px;
	background: var(--champagne-doux);
	margin-top: 0.6rem;
}

.woocommerce-account .woocommerce form.woocommerce-form-login,
.woocommerce-account .woocommerce form.woocommerce-form-register,
.woocommerce-account .woocommerce form.lost_reset_password {
	border: 0;
	padding: 1.25rem 0 0;
	margin: 0;
}

.woocommerce-account .woocommerce .form-row label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.45rem;
}

.woocommerce-account .woocommerce .form-row .required {
	color: var(--terracotta-fonce);
	text-decoration: none;
}

.woocommerce-account .woocommerce .input-text {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--charcoal);
	background: var(--ivoire);
	border: 1px solid rgba(53, 72, 60, 0.28);
	border-radius: 12px;
	padding: 0.9rem 1rem;
	min-height: 52px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce-account .woocommerce .input-text:focus {
	outline: none;
	border-color: var(--foret);
	box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.25);
	background: #fff;
}

.woocommerce-account .woocommerce .form-row {
	margin-bottom: 1rem;
}

.woocommerce-account .woocommerce .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	margin: 0.25rem 0 1rem;
}

.woocommerce-account .woocommerce .woocommerce-form-login__submit,
.woocommerce-account .woocommerce .woocommerce-form-register__submit,
.woocommerce-account .woocommerce .lost_reset_password .button,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .button {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--foret);
	color: var(--ivoire);
	border: 0;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9375rem;
	padding: 1rem 2rem;
	min-height: 52px;
	cursor: pointer;
	box-shadow: 0 10px 25px rgba(37, 40, 34, 0.15);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-account .woocommerce .woocommerce-form-login__submit:hover,
.woocommerce-account .woocommerce .woocommerce-form-register__submit:hover,
.woocommerce-account .woocommerce .lost_reset_password .button:hover,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content .button:hover {
	background: var(--foret-fonce);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(37, 40, 34, 0.18);
}

.woocommerce-account .woocommerce .lost_password {
	text-align: center;
	margin-top: 1rem;
}

.woocommerce-account .woocommerce .lost_password a {
	color: var(--terracotta-fonce);
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	text-underline-offset: 3px;
}

/* Avis WooCommerce sur la page compte. */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
	border-radius: 14px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
}

.woocommerce-account .woocommerce-message {
	background: #edf3ed;
	border-top: 3px solid var(--foret);
}

.woocommerce-account .woocommerce-info {
	background: #fdf6ec;
	border-top: 3px solid var(--champagne);
}

.woocommerce-account .woocommerce-error {
	background: #fdecea;
	border-top: 3px solid #b3402e;
}

/* Connecté : navigation latérale + contenu. */
.woocommerce-account.logged-in .woocommerce {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: clamp(1rem, 2.5vw, 1.75rem);
	align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	background: var(--foret);
	border-radius: 20px;
	padding: 1rem;
	box-shadow: var(--ombre-leger);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	color: rgba(248, 244, 238, 0.88);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	padding: 0.8rem 1rem;
	border-radius: 12px;
	transition: background 0.15s ease, color 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: rgba(255, 253, 249, 0.12);
	color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--ivoire);
	color: var(--foret);
	font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content {
	background: var(--blanc);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 20px;
	box-shadow: var(--ombre-leger);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-content p {
	line-height: 1.7;
}

.woocommerce-account .woocommerce-MyAccount-content a {
	color: var(--foret);
}

/* Tableaux (commandes, téléchargements). */
.woocommerce-account .woocommerce table.shop_table {
	width: 100%;
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 14px;
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.9rem;
}

.woocommerce-account .woocommerce table.shop_table th {
	background: var(--ivoire);
	font-weight: 600;
	text-align: left;
	padding: 0.8rem 1rem;
}

.woocommerce-account .woocommerce table.shop_table td {
	padding: 0.8rem 1rem;
	border-top: 1px solid rgba(164, 176, 160, 0.25);
	vertical-align: middle;
}

.woocommerce-account .woocommerce table.shop_table .button {
	width: auto;
	padding: 0.6rem 1.25rem;
	min-height: 44px;
	font-size: 0.85rem;
	margin: 0.15rem 0.3rem 0.15rem 0;
}

/* Adresses : deux cartes. */
.woocommerce-account .woocommerce .u-columns.woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1rem;
}

.woocommerce-account .woocommerce .u-column1.col-1.woocommerce-Address,
.woocommerce-account .woocommerce .u-column2.col-2.woocommerce-Address {
	float: none;
	width: auto;
	background: var(--ivoire);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 16px;
	padding: 1.25rem;
	margin: 0;
}

.woocommerce-account .woocommerce .woocommerce-Address-title h3 {
	font-family: var(--serif);
	font-size: 1.2rem;
	margin: 0 0 0.5rem;
}

/* Mot de passe perdu / réinitialisation : carte centrée. */
.woocommerce-account .woocommerce form.lost_reset_password {
	max-width: 560px;
	margin-inline: auto;
	background: var(--blanc);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 20px;
	box-shadow: var(--ombre-leger);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.woocommerce-account .woocommerce form.lost_reset_password > p:first-child {
	color: var(--sauge-doux);
	font-size: 0.9375rem;
	margin-top: 0;
}

/* ---------- Connexion / Inscription (pages modernes) ---------- */

.me-auth-page {
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.me-auth {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--blanc);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--ombre);
}

.me-auth-visuel {
	position: relative;
	min-height: 100%;
	overflow: hidden;
}

.me-auth-visuel img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.me-auth-visuel-voile {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(37, 40, 34, 0.05) 0%, rgba(37, 40, 34, 0.35) 60%, rgba(40, 56, 45, 0.72) 100%);
}

.me-auth-visuel-texte {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(420px, 60vh, 640px);
	padding: clamp(1.75rem, 3.5vw, 2.75rem);
	color: #fff;
}

.me-auth-visuel-sur {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--champagne-doux);
	margin: 0 0 0.6rem;
}

.me-auth-visuel-titre {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.9rem, 3vw, 2.75rem);
	line-height: 1.1;
	margin: 0 0 0.6rem;
	text-wrap: balance;
}

.me-auth-visuel-sous {
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
	margin: 0;
	max-width: 36ch;
}

.me-auth-carte {
	padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

.me-auth-sur {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--terracotta-fonce);
	margin: 0 0 0.5rem;
}

.me-auth-titre {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	line-height: 1.1;
	margin: 0 0 0.5rem;
}

.me-auth-sous {
	color: var(--sauge-doux);
	font-size: 0.95rem;
	margin: 0 0 1.5rem;
}

.me-auth-form {
	border: 0;
	padding: 0;
	margin: 0;
}

.me-auth-form .form-row {
	margin-bottom: 1rem;
}

.me-auth-form .form-row label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.45rem;
}

.me-auth-form .form-row .required {
	color: var(--terracotta-fonce);
	text-decoration: none;
}

.me-auth-form .input-text {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--charcoal);
	background: var(--ivoire);
	border: 1px solid rgba(53, 72, 60, 0.28);
	border-radius: 12px;
	padding: 0.9rem 1rem;
	min-height: 52px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.me-auth-form .input-text:focus {
	outline: none;
	border-color: var(--foret);
	box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.25);
	background: #fff;
}

.me-auth-grille {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

.me-auth-ligne {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.me-auth-form .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	margin: 0;
}

.me-auth-oublie {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--terracotta-fonce);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	text-underline-offset: 3px;
}

.me-auth-form .woocommerce-button.button {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--foret);
	color: var(--ivoire);
	border: 0;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 1rem 2rem;
	min-height: 54px;
	cursor: pointer;
	box-shadow: 0 10px 25px rgba(37, 40, 34, 0.15);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.me-auth-form .woocommerce-button.button:hover {
	background: var(--foret-fonce);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(37, 40, 34, 0.18);
}

.me-auth-alt {
	text-align: center;
	font-size: 0.92rem;
	margin: 1.25rem 0 0;
}

.me-auth-alt a {
	color: var(--foret);
	font-weight: 600;
}

.me-auth-atouts {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid rgba(164, 176, 160, 0.3);
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.25rem;
	font-size: 0.85rem;
	color: var(--sauge-doux);
}

.me-auth-atouts span {
	color: var(--foret);
	font-weight: 700;
}

.me-auth-carte .woocommerce-message,
.me-auth-carte .woocommerce-info,
.me-auth-carte .woocommerce-error {
	border-radius: 14px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.25rem;
	font-size: 0.93rem;
	list-style: none;
}

.me-auth-carte .woocommerce-message {
	background: #edf3ed;
	border-top: 3px solid var(--foret);
}

.me-auth-carte .woocommerce-info {
	background: #fdf6ec;
	border-top: 3px solid var(--champagne);
}

.me-auth-carte .woocommerce-error {
	background: #fdecea;
	border-top: 3px solid #b3402e;
}

/* ---------- Accueil Elementor (page « Accueil ») ---------- */

.me-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--ivoire);
}

/* Hero grand cadre façon Laptek : carte arrondie centrée, image en fond
   Elementor, texte par-dessus. (Mise en page + voile lisibilité uniquement —
   les couleurs du texte restent des réglages Elementor.) */
.me-hero-cover.e-con {
	position: relative;
	overflow: hidden;
	display: flex;
	--flex-direction: column;
	flex-direction: column;
	justify-content: center;
	gap: 0;
	width: min(1400px, 100% - 3rem);
	margin-inline: auto;
	margin-block: clamp(1rem, 3vw, 2.5rem);
	border-radius: 24px;
	box-shadow: var(--ombre);
	min-height: clamp(440px, 62vh, 600px);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	padding-inline: clamp(1.5rem, 4vw, 3.5rem);
}

.me-hero-cover.e-con::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(248, 244, 238, 0.95) 0%, rgba(248, 244, 238, 0.82) 34%, rgba(248, 244, 238, 0.35) 60%, rgba(248, 244, 238, 0.05) 78%, transparent 90%);
	pointer-events: none;
	z-index: 0;
}

.me-hero-cover.e-con > .elementor-widget,
.me-hero-cover.e-con > .e-con {
	position: relative;
	z-index: 1;
	width: min(100%, 680px);
	margin-left: 0;
	margin-right: auto;
}

.me-hero-cover .me-hero-badge {
	background: rgba(255, 253, 249, 0.72);
	backdrop-filter: blur(6px);
}

/* Deux colonnes génériques : hero + éditoriaux en Z.
   (Mise en page uniquement — les couleurs restent des réglages Elementor.) */
body .me-split.e-con > .e-con-inner {
	display: flex;
	--flex-direction: row;
	flex-direction: row;
	align-items: center;
	gap: clamp(2rem, 4vw, 4rem);
	padding-block: clamp(3rem, 6vw, 5.5rem);
}

body .me-split-texte.e-con,
body .me-split-visuel.e-con {
	flex: 1 1 0;
	min-width: 0;
}

body .me-split-visuel .elementor-widget-image img {
	width: 100%;
	height: clamp(320px, 38vw, 560px);
	object-fit: cover;
	border-radius: 18px;
	box-shadow: var(--ombre);
	display: block;
}

body .me-hero-confiance {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

body .me-hero-confiance p {
	margin: 0 0 1.75rem;
}

/* Bandeau défilant (widget HTML — pas de réglage couleur Elementor,
   le thème habille donc ce ruban décoratif). */
.me-marquee.e-con {
	background: var(--foret);
	overflow: hidden;
	padding-block: 0;
}

.me-marquee .elementor-widget-html {
	width: 100%;
}

.me-marquee-piste {
	display: flex;
	width: max-content;
	padding-block: 0.85rem;
	color: var(--ivoire);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	animation: me-defile 60s linear infinite;
}

/* Deux groupes strictement identiques : la translation de -50% boucle
   sans couture (le gap vit dans le groupe, pas sur la piste). */
.me-marquee-groupe {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	padding-right: 2.5rem;
	white-space: nowrap;
}

@keyframes me-defile {
	to {
		transform: translateX(-50%);
	}
}

body .me-hero-badge {
	width: fit-content;
	max-width: 100%;
	border: 1px solid rgba(53, 72, 60, 0.3);
	border-radius: 999px;
	padding: 0.45rem 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

body .me-hero-badge p {
	margin: 0;
	font-size: inherit;
}

body .me-hero-titre .elementor-heading-title {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.08;
	letter-spacing: -0.01em;
	max-width: 12ch;
	margin: 0 0 1rem;
}

body .me-hero-texte {
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	max-width: 46ch;
}

body .me-hero-texte p {
	margin: 0 0 2rem;
}

body .me-hero-actions.e-con,
body .me-hero-actions .e-con-inner {
	display: flex;
	--flex-direction: row;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

body .me-bouton .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: 999px;
	padding: 1rem 2rem;
	min-height: 52px;
	text-decoration: none;
	box-shadow: 0 10px 25px rgba(37, 40, 34, 0.15);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body .me-bouton .elementor-button:hover,
body .me-bouton .elementor-button:focus {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(37, 40, 34, 0.18);
}

body .me-bouton-foret .elementor-button,
body .me-bouton-terracotta .elementor-button,
body .me-bouton-secondaire .elementor-button {
	border: 1px solid transparent;
}

.me-section.e-con {
	padding-block: clamp(3rem, 7vw, 5.5rem);
}

body .elementor-widget.me-titre-section {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 1.75rem);
	margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
}

body .elementor-widget.me-titre-section::before,
body .elementor-widget.me-titre-section::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--champagne-doux);
	min-width: 1.5rem;
}

body .me-titre-section .elementor-heading-title {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.65rem, 1.2rem + 2.2vw, 2.5rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0;
	white-space: nowrap;
}

.me-cats ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0;
	padding: 0;
}

.me-cats ul.products::before,
.me-cats ul.products::after {
	content: none;
}

.me-cats ul.products li.product-category {
	background: var(--ivoire);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--ombre-leger);
	text-align: center;
	margin: 0;
	padding: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.me-cats ul.products li.product-category:hover {
	transform: translateY(-4px);
	box-shadow: var(--ombre);
}

.me-cats ul.products li.product-category a {
	display: block;
	text-decoration: none;
}

.me-cats ul.products li.product-category img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

body .me-cats .woocommerce-loop-category__title {
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 500;
	padding: 0.85rem 0.5rem;
	margin: 0;
}

.me-cats .woocommerce-loop-category__title .count {
	display: none;
}

.me-produits ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin: 0;
}

.me-produits ul.products::before,
.me-produits ul.products::after {
	content: none;
}

.me-produits ul.products li.product {
	position: relative;
	background: var(--blanc);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 18px;
	overflow: hidden;
	padding-bottom: 1.25rem;
	display: flex;
	flex-direction: column;
	margin: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.me-produits ul.products li.product:hover {
	box-shadow: var(--ombre);
	transform: translateY(-3px);
}

.me-produits ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
}

.me-produits ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

body .me-produits ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 500;
	padding: 1rem 1rem 0;
	margin: 0;
}

body .me-produits ul.products li.product .price {
	font-weight: 700;
	padding: 0.5rem 1rem 0;
	font-variant-numeric: tabular-nums;
	display: block;
}

body .me-produits ul.products li.product .button.add_to_cart_button {
	margin: 0.75rem 1rem 0;
	border-radius: 999px;
	font-weight: 600;
	text-align: center;
	background: var(--foret);
	border-color: var(--foret);
	color: var(--ivoire);
}

body .me-produits ul.products li.product .button.add_to_cart_button:hover {
	background: var(--foret-fonce);
	border-color: var(--foret-fonce);
	color: var(--ivoire);
}

/* Coeur + oeil flottants aussi sur l'accueil (meme style que la boutique). */
.me-produits ul.products li.product .me-favori-bouton,
.me-produits ul.products li.product .button.me-apercu-bouton.me-apercu-oeil {
	position: absolute;
	right: 12px;
	z-index: 3;
	width: 40px;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 253, 249, 0.94);
	border: 1px solid rgba(53, 72, 60, 0.2);
	box-shadow: 0 6px 18px rgba(37, 40, 34, 0.14);
	cursor: pointer;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, color 0.15s ease;
}

.me-produits ul.products li.product .me-favori-bouton {
	top: 12px;
	color: var(--charcoal);
}

.me-produits ul.products li.product .button.me-apercu-bouton.me-apercu-oeil {
	top: 60px;
	color: var(--foret);
	border-color: rgba(53, 72, 60, 0.25);
}

.me-produits ul.products li.product .me-favori-bouton.est-favori {
	opacity: 1;
	transform: none;
	color: var(--terracotta-fonce);
}

.me-produits ul.products li.product:hover .me-favori-bouton,
.me-produits ul.products li.product:focus-within .me-favori-bouton,
.me-produits ul.products li.product:hover .button.me-apercu-bouton.me-apercu-oeil,
.me-produits ul.products li.product:focus-within .button.me-apercu-bouton.me-apercu-oeil {
	opacity: 1;
	transform: none;
}

@media (hover: none) {
	.me-produits ul.products li.product .me-favori-bouton,
	.me-produits ul.products li.product .button.me-apercu-bouton.me-apercu-oeil {
		opacity: 1;
		transform: none;
	}
}

/* WooCommerce impose des largeurs en % qui écrasent nos grilles :
   on les neutralise (mise en page uniquement, jamais de couleur). */
body .me-cats ul.products[class*="columns-"] li.product-category,
body .me-produits ul.products[class*="columns-"] li.product {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
}

/* Grand bandeau boutique (fond image Elementor + voile lisibilité). */
.me-bandeau.e-con {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 7vw, 6rem);
	padding-inline: max(1.5rem, calc((100% - 1400px) / 2));
}

.me-bandeau.e-con::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(248, 244, 238, 0.94) 0%, rgba(248, 244, 238, 0.72) 42%, rgba(248, 244, 238, 0.15) 68%, transparent 85%);
	pointer-events: none;
	z-index: 0;
}

.me-bandeau.e-con > .elementor-widget {
	position: relative;
	z-index: 1;
	width: min(100%, 640px);
}

body .me-bandeau-titre .elementor-heading-title {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
	line-height: 1.15;
	margin: 0 0 0.75rem;
	max-width: 14ch;
}

.me-bandeau-texte {
	max-width: 46ch;
}

.me-bandeau-texte p {
	margin: 0 0 1.5rem;
}

/* Éditoriaux en Z : sections propres, sans voile (visuels en widgets). */
.me-edito.e-con {
	background: var(--blanc);
}

.me-section.me-edito.e-con > .e-con-inner {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

body .me-edito-titre .elementor-heading-title {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
	line-height: 1.15;
	margin: 0 0 0.75rem;
	max-width: 14ch;
}

.me-edito-texte {
	max-width: 46ch;
}

.me-edito-texte p {
	margin: 0 0 1.5rem;
}

/* Éditoriaux magazine : carte chevauchante + panneau image.
   (Mise en page, rayons, ombres et voiles lisibilité uniquement —
   les couleurs du texte et des boutons restent des réglages Elementor.) */
.me-edito-cuisine.e-con {
	background: var(--ivoire);
}

.me-edito-cuisine.e-con > .e-con-inner {
	align-items: stretch;
}

body .me-edito-visuel.e-con {
	display: flex;
}

body .me-edito-visuel .elementor-widget-image {
	width: 100%;
}

body .me-edito-visuel .elementor-widget-image img {
	height: clamp(380px, 42vw, 600px);
	border-radius: 24px;
}

body .me-edito-carte.e-con {
	background: rgba(255, 253, 249, 0.96);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 24px;
	box-shadow: var(--ombre);
	padding: clamp(1.75rem, 3vw, 2.75rem);
	align-self: center;
	position: relative;
	z-index: 2;
}

body .me-edito-sur {
	width: fit-content;
	max-width: 100%;
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 0.4rem 0.95rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

body .me-edito-sur p {
	margin: 0;
	font-size: inherit;
}

body .me-edito-atouts {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

body .me-edito-atouts p {
	margin: 0 0 1.5rem;
}

/* Second éditorial : panneau image encadré, carte flottante à gauche. */
.me-edito-panneau.e-con {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	width: min(1400px, 100% - 3rem);
	margin-inline: auto;
	margin-block: clamp(1rem, 3vw, 2.5rem);
	border-radius: 24px;
	box-shadow: var(--ombre);
	min-height: clamp(480px, 60vh, 620px);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	padding-inline: clamp(1.5rem, 4vw, 3.5rem);
	background-color: var(--ivoire-fonce);
}

.me-edito-panneau.e-con::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(248, 244, 238, 0.95) 0%, rgba(248, 244, 238, 0.82) 36%, rgba(248, 244, 238, 0.35) 62%, rgba(248, 244, 238, 0.05) 80%, transparent 92%);
	pointer-events: none;
	z-index: 0;
}

.me-edito-panneau.e-con > .e-con-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 0;
	display: flex;
}

body .me-edito-panneau-carte.e-con {
	background: rgba(255, 253, 249, 0.94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 20px;
	box-shadow: var(--ombre);
	padding: clamp(1.75rem, 3vw, 2.75rem);
	width: min(100%, 560px);
	margin-right: auto;
}

/* Chevauchement carte cuisine sur grand écran uniquement. */
@media (min-width: 861px) {
	body .me-edito-carte.e-con {
		margin-left: clamp(-7rem, -6vw, -3rem);
	}

	body .me-edito-visuel .elementor-widget-image img {
		border-top-right-radius: 8px;
		border-bottom-right-radius: 8px;
	}
}

@media (max-width: 1024px) {
	body .me-edito-visuel .elementor-widget-image img {
		height: clamp(320px, 40vw, 460px);
	}

	.me-edito-panneau.e-con {
		min-height: clamp(440px, 55vh, 560px);
	}
}

/* ---------- Pages standard ---------- */

.page-standard {
	padding-block: 2.5rem;
}

.page-standard h1 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin: 0 0 1.5rem;
}

/* ---------- Responsive ---------- */

/* Grands écrans : contenu centré et respiré (laptop FHD / 2K). */
@media (min-width: 1600px) {
	body .me-split.e-con > .e-con-inner {
		gap: 5rem;
	}

	body .me-split-visuel .elementor-widget-image img {
		height: clamp(360px, 30vw, 620px);
	}
}

@media (max-width: 1024px) {
	.tuiles-univers,
	body .me-cats ul.products {
		grid-template-columns: repeat(3, 1fr);
	}

	.cartes-produits,
	body .me-produits ul.products {
		grid-template-columns: repeat(2, 1fr);
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
	}

	body .me-split.e-con > .e-con-inner {
		gap: 2rem;
		padding-block: clamp(2.5rem, 5vw, 4rem);
	}

	body .me-split-visuel .elementor-widget-image img {
		height: clamp(280px, 36vw, 440px);
	}
}

@media (max-width: 860px) {
	.bouton-menu {
		display: inline-flex;
	}

	.nav-principale {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--blanc);
		border-bottom: 1px solid rgba(164, 176, 160, 0.35);
		box-shadow: var(--ombre);
		flex: none;
	}

	.site-header.menu-ouvert .nav-principale {
		display: block;
	}

	.menu-principal {
		flex-direction: column;
		align-items: stretch;
		padding: 0.75rem 1.5rem 1.25rem;
		gap: 0;
	}

	.menu-principal a {
		display: block;
		padding: 0.85rem 0;
		border-bottom: 1px solid rgba(164, 176, 160, 0.25);
		min-height: 48px;
	}

	.menu-principal li:last-child a {
		border-bottom: 0;
	}

	.entete-interne {
		flex-wrap: wrap;
		gap: 0.75rem 1rem;
	}

	.actions-header {
		margin-left: auto;
	}

	.nav-principale {
		order: 4;
		flex-basis: 100%;
	}

	.hero {
		min-height: 0;
	}

	.hero::after {
		background: linear-gradient(180deg, rgba(248, 244, 238, 0.88) 0%, rgba(248, 244, 238, 0.55) 55%, rgba(248, 244, 238, 0.25) 100%);
	}

	.hero-image {
		object-position: center;
	}

	/* Deux colonnes -> une colonne empilée (téléphone / petite tablette). */
	body .me-split.e-con > .e-con-inner {
		--flex-direction: column;
		flex-direction: column;
		align-items: stretch;
		gap: 1.75rem;
		padding-block: clamp(2.5rem, 8vw, 3.5rem);
	}

	body .me-split-texte.e-con,
	body .me-split-visuel.e-con {
		flex: 1 1 auto;
		width: 100%;
	}

	body .me-split-visuel .elementor-widget-image img {
		height: clamp(240px, 62vw, 380px);
		border-radius: 14px;
	}

	body .me-hero-titre .elementor-heading-title {
		font-size: clamp(2.1rem, 9vw, 2.9rem);
	}

	body .me-hero-actions.e-con {
		width: 100%;
	}

	body .me-hero-actions.e-con .elementor-button {
		width: 100%;
	}

	.woocommerce-account .page-standard {
		padding-inline: 0;
	}

	.woocommerce-account .woocommerce #customer_login.u-columns.col2-set {
		grid-template-columns: 1fr;
	}

	.woocommerce-account.logged-in .woocommerce {
		grid-template-columns: 1fr;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation {
		padding: 0.75rem;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		overflow-x: auto;
		scrollbar-width: thin;
		padding-bottom: 0.25rem;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li {
		flex: 0 0 auto;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation li a {
		white-space: nowrap;
		padding: 0.7rem 1rem;
	}

	.woocommerce-account .woocommerce .u-columns.woocommerce-Addresses {
		grid-template-columns: 1fr;
	}

	.woocommerce-account .woocommerce table.shop_table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	/* Connexion / Inscription : empilé sur téléphone / petite tablette. */
	.me-auth {
		grid-template-columns: 1fr;
		border-radius: 18px;
	}

	.me-auth-visuel-texte {
		min-height: 320px;
		padding: 1.5rem;
	}

	.me-auth-carte {
		padding: 1.5rem;
	}

	.me-auth-grille {
		grid-template-columns: 1fr;
	}

	.me-auth-ligne {
		flex-direction: column;
		align-items: stretch;
	}

	/* Hero cadre sur téléphone : carte compacte, texte en bas, voile vertical. */
	.me-hero-cover.e-con {
		width: calc(100% - 2rem);
		margin-block: 0.75rem;
		border-radius: 18px;
		min-height: clamp(560px, 92vh, 680px);
		padding-block: clamp(2.5rem, 8vw, 3.5rem);
		padding-inline: 1.25rem;
		justify-content: flex-end;
	}

	.me-hero-cover.e-con::before {
		background: linear-gradient(180deg, rgba(248, 244, 238, 0.15) 0%, rgba(248, 244, 238, 0.55) 45%, rgba(248, 244, 238, 0.92) 78%, rgba(248, 244, 238, 0.97) 100%);
	}

	.me-bandeau.e-con {
		padding-block: clamp(2.75rem, 9vw, 4rem);
		padding-inline: 1.25rem;
	}

	/* Éditoriaux magazine sur téléphone : empilés, carte pleine largeur, panneau vertical. */
	body .me-edito-carte.e-con {
		margin-left: 0;
		width: 100%;
		border-radius: 18px;
		padding: 1.5rem;
	}

	body .me-edito-visuel .elementor-widget-image img {
		height: clamp(240px, 62vw, 380px);
		border-radius: 18px;
	}

	.me-edito-panneau.e-con {
		width: calc(100% - 2rem);
		margin-block: 0.75rem;
		border-radius: 18px;
		min-height: clamp(560px, 92vh, 680px);
		padding-block: clamp(2.5rem, 8vw, 3.5rem);
		padding-inline: 1.25rem;
		justify-content: flex-end;
	}

	.me-edito-panneau.e-con::before {
		background: linear-gradient(180deg, rgba(248, 244, 238, 0.15) 0%, rgba(248, 244, 238, 0.55) 45%, rgba(248, 244, 238, 0.92) 78%, rgba(248, 244, 238, 0.97) 100%);
	}

	body .me-edito-panneau-carte.e-con {
		width: 100%;
		padding: 1.5rem;
	}

	body .me-edito-carte.e-con .elementor-button,
	body .me-edito-panneau-carte.e-con .elementor-button {
		width: 100%;
	}

	.me-marquee-piste {
		font-size: 0.72rem;
		letter-spacing: 0.16em;
	}

	.me-marquee-groupe {
		gap: 1.5rem;
		padding-right: 1.5rem;
	}

	.pied-grille {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 600px) {
	.conteneur {
		width: min(1280px, 100% - 2rem);
	}

	.tuiles-univers,
	body .me-cats ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}

	.cartes-produits,
	body .me-produits ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}

	.carte-nom {
		min-height: 0;
	}

	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	body .me-titre-section .elementor-heading-title {
		white-space: normal;
		text-align: center;
	}

	.titre-section {
		gap: 1rem;
	}

	.titre-section h2 {
		white-space: normal;
		text-align: center;
	}
}

/* ---------- Tiroir panier (droite, comme le menu mobile) ---------- */
button.action-icone {
	background: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	padding: 0;
}

.favoris-compteur {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 1.1rem;
	height: 1.1rem;
	padding: 0 0.25rem;
	border-radius: 999px;
	background: var(--foret);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.1rem;
	text-align: center;
}

.me-panier-fond {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	justify-content: flex-end;
	background: rgba(37, 40, 34, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.me-panier-fond[hidden] {
	display: none;
}

.me-panier-fond.ouvert {
	opacity: 1;
}

body.me-panier-ouvert {
	overflow: hidden;
}

.me-panier-tiroir {
	width: min(420px, 92vw);
	height: 100dvh;
	background: var(--blanc);
	box-shadow: -20px 0 60px rgba(37, 40, 34, 0.25);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
}

.me-panier-fond.ouvert .me-panier-tiroir {
	transform: none;
}

.me-panier-entete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid rgba(164, 176, 160, 0.35);
	background: var(--ivoire);
}

.me-panier-titre {
	font-family: var(--serif);
	font-weight: 600;
	font-size: 1.35rem;
	color: var(--foret);
	margin: 0;
}

.me-panier-fermer {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(53, 72, 60, 0.25);
	background: var(--blanc);
	color: var(--foret);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.me-panier-fermer:hover {
	background: var(--ivoire-fonce);
	transform: scale(1.05);
}

.me-panier-corps {
	flex: 1;
	overflow-y: auto;
	padding: 1.25rem 1.5rem 1.5rem;
}

.me-panier-vide {
	text-align: center;
	color: var(--sauge-doux);
	padding: 2.5rem 1rem 1rem;
}

.me-panier-decouvrir {
	display: block;
	text-align: center;
}

.me-panier-liste {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.me-panier-ligne {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 0.85rem;
	align-items: center;
	background: var(--ivoire);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 16px;
	padding: 0.65rem;
}

.me-panier-visuel img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

.me-panier-nom {
	font-size: 0.9rem;
	font-weight: 600;
	margin: 0 0 0.25rem;
	line-height: 1.35;
}

.me-panier-nom a {
	text-decoration: none;
	color: var(--charcoal);
}

.me-panier-meta {
	font-size: 0.85rem;
	color: var(--sauge-doux);
	font-variant-numeric: tabular-nums;
	margin: 0 0 0.35rem;
}

.me-panier-retirer {
	font-size: 0.8rem;
	color: var(--terracotta-fonce);
	text-decoration: underline;
	text-underline-offset: 2px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.me-panier-soustotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 1rem;
	padding: 1rem 0;
	margin: 0 0 1rem;
	border-top: 1px solid rgba(164, 176, 160, 0.35);
	border-bottom: 1px solid rgba(164, 176, 160, 0.35);
}

.me-panier-actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.me-panier-actions .button {
	border-radius: 999px;
	font-weight: 600;
	text-align: center;
	padding: 0.95rem 1.5rem;
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.me-panier-voir {
	background: transparent;
	border: 1px solid rgba(53, 72, 60, 0.35);
	color: var(--foret);
}

.me-panier-commander {
	background: var(--foret);
	border: 1px solid var(--foret);
	color: var(--ivoire);
}

/* ---------- Cartes : coeur favori + oeil apercu (style ecommerce) ---------- */
.me-woo ul.products li.product .me-favori-bouton {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 253, 249, 0.94);
	color: var(--charcoal);
	border: 1px solid rgba(53, 72, 60, 0.2);
	box-shadow: 0 6px 18px rgba(37, 40, 34, 0.14);
	cursor: pointer;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, color 0.15s ease;
}

.me-woo ul.products li.product .me-favori-bouton.est-favori {
	opacity: 1;
	transform: none;
	color: var(--terracotta-fonce);
}

.me-woo ul.products li.product .me-favori-bouton:hover {
	color: var(--terracotta-fonce);
	transform: translateY(-2px);
}

.me-woo ul.products li.product:hover .me-favori-bouton,
.me-woo ul.products li.product:focus-within .me-favori-bouton {
	opacity: 1;
	transform: none;
}

.me-woo ul.products li.product .me-apercu-bouton.me-apercu-oeil {
	position: absolute;
	top: 60px;
	right: 12px;
	z-index: 3;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 0.8rem;
	background: rgba(255, 253, 249, 0.94);
	color: var(--foret);
	border: 1px solid rgba(53, 72, 60, 0.25);
	box-shadow: 0 6px 18px rgba(37, 40, 34, 0.14);
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.me-woo ul.products li.product:hover .me-apercu-bouton.me-apercu-oeil,
.me-woo ul.products li.product:focus-within .me-apercu-bouton.me-apercu-oeil {
	opacity: 1;
	transform: none;
}

.me-woo ul.products li.product .me-apercu-bouton.me-apercu-oeil:hover {
	transform: translateY(-2px);
}

@media (hover: none) {
	.me-woo ul.products li.product .me-apercu-bouton:not(.me-apercu-oeil) {
		position: static;
		opacity: 1;
		transform: none;
		margin: 0.6rem 1rem 0;
		width: calc(100% - 2rem);
		background: transparent;
		box-shadow: none;
	}

	.me-woo ul.products li.product .me-favori-bouton,
	.me-woo ul.products li.product .me-apercu-bouton.me-apercu-oeil {
		position: absolute;
		opacity: 1;
		transform: none;
		width: 40px;
		height: 40px;
		margin: 0;
		background: rgba(255, 253, 249, 0.94);
		box-shadow: 0 6px 18px rgba(37, 40, 34, 0.14);
	}

	.me-woo ul.products li.product .me-favori-bouton {
		top: 12px;
		right: 12px;
	}

	.me-woo ul.products li.product .me-apercu-bouton.me-apercu-oeil {
		top: 60px;
		right: 12px;
	}
}

/* ---------- Page Favoris ---------- */
.me-favoris-conteneur ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.me-favoris-conteneur ul.products li.product {
	position: relative;
	background: var(--blanc);
	border: 1px solid rgba(164, 176, 160, 0.3);
	border-radius: 18px;
	overflow: hidden;
	padding-bottom: 1.25rem;
	display: flex;
	flex-direction: column;
	margin: 0;
}

.me-favoris-conteneur ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	text-decoration: none;
}

.me-favoris-conteneur ul.products li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.me-favoris-conteneur .woocommerce-loop-product__title {
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.45;
	padding: 1rem 1rem 0;
	margin: 0;
}

.me-favoris-conteneur ul.products li.product .price {
	font-weight: 700;
	font-size: 1.02rem;
	padding: 0.5rem 1rem 0;
	font-variant-numeric: tabular-nums;
	display: block;
}

.me-favoris-conteneur ul.products li.product .button {
	margin: 0.9rem 1rem 0;
	border-radius: 999px;
	font-weight: 600;
	text-align: center;
	padding: 0.85rem 1.25rem;
}

.me-favoris-vide {
	text-align: center;
	color: var(--sauge-doux);
	padding: 3rem 1rem;
}

@media (max-width: 1024px) {
	.me-favoris-conteneur ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.me-panier-tiroir {
		width: 100vw;
	}

	.me-favoris-conteneur ul.products {
		gap: 0.75rem;
	}
	.me-favoris-conteneur .woocommerce-loop-product__title {
		font-size: 0.85rem;
	}
	.me-favoris-conteneur ul.products li.product .price {
		font-size: 0.92rem;
	}
	.me-favoris-conteneur ul.products li.product .button {
		font-size: 0.8rem;
		padding: 0.75rem 0.5rem;
	}

	.me-panier-entete,
	.me-panier-corps {
		padding-inline: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.me-marquee-piste {
		animation: none;
	}

	.me-panier-fond,
	.me-panier-tiroir,
	.me-woo ul.products li.product .me-favori-bouton,
	.me-woo ul.products li.product .me-apercu-bouton.me-apercu-oeil {
		transition: none;
	}

	.me-panier-tiroir {
		transform: none;
	}

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ===== MAISON ELEGANT FIX v0.9.1 : recherche + footer logo + promo + cartes ===== */

/* --- 1. Barre de recherche : pilule ivoire + bouton foret --- */
.recherche-deroulante {
    border-top: 1px solid rgba(164, 176, 160, 0.35);
    padding-block: 1.25rem;
    background: var(--blanc);
    box-shadow: 0 20px 40px rgba(37, 40, 34, 0.10);
}
.recherche-deroulante .conteneur {
    max-width: 720px;
}
.me-recherche-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ivoire);
    border: 1px solid rgba(53, 72, 60, 0.25);
    border-radius: 999px;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    box-shadow: var(--ombre-leger);
    position: relative;
}
.me-recherche-form:focus-within {
    border-color: var(--foret);
    box-shadow: 0 0 0 3px rgba(53, 72, 60, 0.12);
}
.me-recherche-icone {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--sauge-doux);
}
.me-recherche-form input[type="search"] {
    flex: 1;
    width: 100%;
    min-width: 0;
    font: inherit;
    font-size: 0.95rem;
    padding: 0.7rem 0.25rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--charcoal);
    min-height: 48px;
}
.me-recherche-form input[type="search"]::placeholder {
    color: var(--sauge-doux);
}
.me-recherche-form input[type="search"]:focus {
    outline: none;
}
.me-recherche-bouton {
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--foret);
    color: var(--ivoire);
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
    cursor: pointer;
    min-height: 48px;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.me-recherche-bouton:hover {
    background: var(--foret-fonce);
    color: var(--ivoire);
}

/* Liste de suggestions en direct : photo + nom + categorie + prix, bouton rouge. */
.me-recherche-live {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--blanc);
    border: 1px solid rgba(164, 176, 160, 0.35);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(37, 40, 34, 0.18);
    overflow: hidden;
}
.me-recherche-live[hidden] {
    display: none;
}
.me-recherche-live-titre {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sauge-doux);
    padding: 0.9rem 1.2rem 0.6rem;
    margin: 0;
}
.me-recherche-live-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: min(52vh, 380px);
    overflow-y: auto;
}
.me-recherche-live-item a {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1.2rem;
    border-top: 1px solid rgba(164, 176, 160, 0.22);
    text-decoration: none;
    color: inherit;
}
.me-recherche-live-item a:hover,
.me-recherche-live-item a:focus-visible {
    background: rgba(53, 72, 60, 0.06);
}
.me-recherche-live-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.me-recherche-live-nom {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--charcoal);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.me-recherche-live-cat {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--sauge-doux);
}
.me-recherche-live-prix {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #c0392b;
    white-space: nowrap;
}
.me-recherche-live-prix del {
    display: block;
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--sauge-doux);
}
.me-recherche-live-prix ins {
    text-decoration: none;
}
.me-recherche-live-vide {
    padding: 1.1rem 1.2rem;
    margin: 0;
    font-size: 0.9rem;
    color: #c0392b;
    font-weight: 600;
}
.me-recherche-live-tout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.8rem 1.2rem 1.2rem;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    background: var(--foret);
    color: var(--ivoire);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    min-height: 48px;
}
.me-recherche-live-tout:hover {
    background: var(--foret-fonce);
    color: var(--ivoire);
}
@media (max-width: 600px) {
    .me-recherche-live {
        border-radius: 16px;
    }
    .me-recherche-live-item img {
        width: 46px;
        height: 46px;
    }
    .me-recherche-live-nom {
        font-size: 0.85rem;
    }
    .me-recherche-live-prix {
        font-size: 0.88rem;
    }
}

/* Page de resultats */
.me-recherche-page {
    padding-block: clamp(2rem, 4vw, 3.5rem);
}
.me-recherche-sur {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--foret);
    border: 1px solid rgba(53, 72, 60, 0.3);
    border-radius: 999px;
    padding: 0.4rem 0.95rem;
    margin: 0 0 1rem;
}
.me-recherche-titre {
    font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
    margin: 0 0 0.5rem;
}
.me-recherche-nombre {
    color: var(--sauge-doux);
    margin: 0 0 1.5rem;
}
.me-recherche-page .me-recherche-form {
    max-width: 640px;
    margin-bottom: 2rem;
}
.me-recherche-pages {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.me-recherche-ligne {
    list-style: none;
    background: var(--blanc);
    border: 1px solid rgba(164, 176, 160, 0.3);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin: 0;
    height: auto;
    align-self: start;
}
/* Garde-fou : si une ligne page se retrouve un jour dans la grille produits, elle ne s'etire jamais. */
ul.products .me-recherche-ligne {
    grid-column: 1 / -1;
    height: auto;
    align-self: start;
}
.me-recherche-ligne a {
    text-decoration: none;
    font-weight: 600;
    color: var(--foret);
}
.me-recherche-vide {
    color: var(--sauge-doux);
    margin: 2rem 0 1rem;
}
.me-recherche-decouvrir {
    background: var(--foret);
    color: var(--ivoire);
    border-radius: 999px;
    padding: 0.9rem 2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* --- 2. Logo pied de page --- */
.pied-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    margin-bottom: 0.9rem;
}
.pied-logo-image {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.08);
    padding: 4px;
}
.pied-logo-texte {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}
.pied-logo-nom {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--ivoire);
    text-transform: uppercase;
    white-space: nowrap;
}
.pied-logo-accent {
    color: var(--champagne);
}
.pied-logo-slogan {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(248, 244, 238, 0.65);
    white-space: nowrap;
}

/* --- 3. Badge promo : pilule terracotta partout, jamais le rond olive Woo --- */
body .me-woo ul.products li.product .onsale,
body .me-produits ul.products li.product .onsale,
body .me-favoris-conteneur ul.products li.product .onsale,
body.search .me-woo ul.products li.product .onsale,
body.single-product .me-woo .related.products ul.products li.product .onsale {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2;
    background: var(--terracotta) !important;
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px !important;
    padding: 0.4rem 0.8rem;
    margin: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: 1.2 !important;
    box-shadow: 0 6px 16px rgba(37, 40, 34, 0.18);
}

/* --- 4. Cartes : bouton panier foret + coeur/oeil en pastilles flottantes --- */
body .me-woo ul.products li.product .button.add_to_cart_button,
body .me-produits ul.products li.product .button.add_to_cart_button,
body .me-favoris-conteneur ul.products li.product .button.add_to_cart_button,
body.search .me-woo ul.products li.product .button.add_to_cart_button {
    background: var(--foret);
    border-color: var(--foret);
    color: var(--ivoire);
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
}
body .me-woo ul.products li.product .button.add_to_cart_button:hover,
body .me-produits ul.products li.product .button.add_to_cart_button:hover,
body .me-favoris-conteneur ul.products li.product .button.add_to_cart_button:hover,
body.search .me-woo ul.products li.product .button.add_to_cart_button:hover {
    background: var(--foret-fonce);
    border-color: var(--foret-fonce);
    color: var(--ivoire);
}
body .me-woo ul.products li.product .me-favori-bouton,
body .me-produits ul.products li.product .me-favori-bouton,
body .me-favoris-conteneur ul.products li.product .me-favori-bouton,
body.search .me-woo ul.products li.product .me-favori-bouton,
body .me-woo ul.products li.product .button.me-apercu-bouton.me-apercu-oeil,
body .me-produits ul.products li.product .button.me-apercu-bouton.me-apercu-oeil,
body .me-favoris-conteneur ul.products li.product .button.me-apercu-bouton.me-apercu-oeil,
body.search .me-woo ul.products li.product .button.me-apercu-bouton.me-apercu-oeil {
    position: absolute !important;
    right: 12px !important;
    z-index: 3;
    width: 40px !important;
    height: 40px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: rgba(255, 253, 249, 0.94);
    border: 1px solid rgba(53, 72, 60, 0.2);
    box-shadow: 0 6px 18px rgba(37, 40, 34, 0.14);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, color 0.15s ease;
}
body .me-woo ul.products li.product .me-favori-bouton,
body .me-produits ul.products li.product .me-favori-bouton,
body .me-favoris-conteneur ul.products li.product .me-favori-bouton,
body.search .me-woo ul.products li.product .me-favori-bouton {
    top: 12px;
    color: var(--charcoal);
}
body .me-woo ul.products li.product .button.me-apercu-bouton.me-apercu-oeil,
body .me-produits ul.products li.product .button.me-apercu-bouton.me-apercu-oeil,
body .me-favoris-conteneur ul.products li.product .button.me-apercu-bouton.me-apercu-oeil,
body.search .me-woo ul.products li.product .button.me-apercu-bouton.me-apercu-oeil {
    top: 60px;
    color: var(--foret);
    border-color: rgba(53, 72, 60, 0.25);
}
body .me-woo ul.products li.product .me-favori-bouton.est-favori,
body .me-produits ul.products li.product .me-favori-bouton.est-favori,
body .me-favoris-conteneur ul.products li.product .me-favori-bouton.est-favori,
body.search .me-woo ul.products li.product .me-favori-bouton.est-favori {
    opacity: 1;
    transform: none;
    color: var(--terracotta-fonce);
}
body .me-woo ul.products li.product:hover .me-favori-bouton,
body .me-produits ul.products li.product:hover .me-favori-bouton,
body .me-favoris-conteneur ul.products li.product:hover .me-favori-bouton,
body.search .me-woo ul.products li.product:hover .me-favori-bouton,
body .me-woo ul.products li.product:focus-within .me-favori-bouton,
body .me-produits ul.products li.product:focus-within .me-favori-bouton,
body .me-favoris-conteneur ul.products li.product:focus-within .me-favori-bouton,
body.search .me-woo ul.products li.product:focus-within .me-favori-bouton,
body .me-woo ul.products li.product:hover .button.me-apercu-bouton.me-apercu-oeil,
body .me-produits ul.products li.product:hover .button.me-apercu-bouton.me-apercu-oeil,
body .me-favoris-conteneur ul.products li.product:hover .button.me-apercu-bouton.me-apercu-oeil,
body.search .me-woo ul.products li.product:hover .button.me-apercu-bouton.me-apercu-oeil,
body .me-woo ul.products li.product:focus-within .button.me-apercu-bouton.me-apercu-oeil,
body .me-produits ul.products li.product:focus-within .button.me-apercu-bouton.me-apercu-oeil,
body .me-favoris-conteneur ul.products li.product:focus-within .button.me-apercu-bouton.me-apercu-oeil,
body.search .me-woo ul.products li.product:focus-within .button.me-apercu-bouton.me-apercu-oeil {
    opacity: 1;
    transform: none;
}
@media (hover: none) {
    body .me-woo ul.products li.product .me-favori-bouton,
    body .me-produits ul.products li.product .me-favori-bouton,
    body .me-favoris-conteneur ul.products li.product .me-favori-bouton,
    body.search .me-woo ul.products li.product .me-favori-bouton,
    body .me-woo ul.products li.product .button.me-apercu-bouton.me-apercu-oeil,
    body .me-produits ul.products li.product .button.me-apercu-bouton.me-apercu-oeil,
    body .me-favoris-conteneur ul.products li.product .button.me-apercu-bouton.me-apercu-oeil,
    body.search .me-woo ul.products li.product .button.me-apercu-bouton.me-apercu-oeil {
        opacity: 1;
        transform: none;
    }
}
@media (max-width: 600px) {
    .me-recherche-form {
        flex-wrap: wrap;
        border-radius: 24px;
    }
    .me-recherche-bouton {
        width: 100%;
    }
}
/* ===== FIN FIX v0.9.1 ===== */

/* ===== MAISON ELEGANT FIX v0.9.2 : tiroir panier + pastille devise ===== */

/* Phrase contact du pied de page */
.pied-contactez {
    font-size: 0.875rem;
    color: rgba(248, 244, 238, 0.8);
    margin: 0.9rem 0 0;
    max-width: 100%;
}

/* Tiroir : neutralise le style "remove" Woo (gros rond rouge).
   Le !important sur color/display/width/height ne sert qu'a battre
   .woocommerce a.remove (mise en page uniquement, couleur = sauge theme). */
body .me-panier-ligne a.me-panier-retirer {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    height: auto !important;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: none !important;
    box-shadow: none !important;
    color: var(--sauge-doux) !important;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body .me-panier-ligne a.me-panier-retirer:hover {
    color: var(--terracotta-fonce) !important;
}

/* Tiroir : boutons marque (specificite body+3 classes > Woo 0,2,1, pas de !important). */
body .me-panier-actions .button.me-panier-voir {
    background: transparent;
    border: 1px solid rgba(53, 72, 60, 0.35);
    color: var(--foret);
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
    padding: 0.95rem 1.5rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
body .me-panier-actions .button.me-panier-voir:hover {
    background: var(--ivoire-fonce);
    color: var(--foret);
}
body .me-panier-actions .button.me-panier-commander {
    background: var(--foret);
    border: 1px solid var(--foret);
    color: var(--ivoire);
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
    padding: 0.95rem 1.5rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 40, 34, 0.15);
}
body .me-panier-actions .button.me-panier-commander:hover {
    background: var(--foret-fonce);
    border-color: var(--foret-fonce);
    color: var(--ivoire);
}
body .me-panier-corps .button.me-panier-decouvrir {
    background: var(--foret);
    border: 1px solid var(--foret);
    color: var(--ivoire);
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
    padding: 0.9rem 2rem;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Tiroir : lignes produit plus propres */
body .me-panier-ligne .me-panier-nom {
    overflow-wrap: anywhere;
}
body .me-panier-ligne .me-panier-meta,
body .me-panier-soustotal strong {
    font-variant-numeric: tabular-nums;
}
/* ===== FIN FIX v0.9.2 ===== */

/* ===== MAISON ELEGANT FIX v0.9.3 : tiroir premium + recherche pilule ===== */

/* --- Tiroir : carte arrondie, lignes blanches, sous-total marque --- */
body .me-panier-tiroir {
    width: min(400px, 94vw);
    background: #fffdf9;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
}
body .me-panier-entete {
    padding: 18px 20px;
    background: var(--ivoire);
    border-bottom: 1px solid rgba(164, 176, 160, 0.35);
}
body .me-panier-titre {
    font-size: 1.4rem;
}
body .me-panier-corps {
    padding: 16px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body .me-panier-liste {
    gap: 12px;
    margin: 0;
}
body .me-panier-ligne {
    background: #fff;
    border: 1px solid rgba(53, 72, 60, 0.12);
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(37, 40, 34, 0.05);
    padding: 12px;
    gap: 12px;
    grid-template-columns: 68px 1fr;
    align-items: center;
}
body .me-panier-visuel img {
    width: 68px;
    height: 68px;
    border-radius: 14px;
}
body .me-panier-nom {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body .me-panier-meta {
    font-size: 0.8125rem;
    color: var(--sauge-doux);
}
body .me-panier-soustotal {
    background: var(--foret);
    color: var(--ivoire);
    border: 0;
    border-radius: 16px;
    padding: 14px 16px;
    margin: 4px 0 0;
    font-size: 0.95rem;
}
body .me-panier-soustotal span {
    opacity: 0.75;
    font-weight: 500;
}
body .me-panier-soustotal strong {
    color: #fff;
    font-size: 1.1rem;
}
body .me-panier-actions {
    gap: 10px;
    margin-top: 2px;
}
body .me-panier-actions .button.me-panier-voir {
    background: #fff;
    border: 1.5px solid var(--foret);
}
body .me-panier-actions .button.me-panier-commander:hover {
    transform: translateY(-1px);
}

/* --- Recherche : pilule blanche + bouton foret, comme la ref --- */
body .recherche-deroulante {
    background: rgba(255, 253, 249, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: 0 18px 40px rgba(37, 40, 34, 0.10);
}
body .recherche-deroulante .conteneur {
    max-width: 720px;
}
body .recherche-deroulante .me-recherche-form {
    background: #fff;
    border: 1px solid rgba(37, 40, 34, 0.18);
    border-radius: 999px;
    padding: 6px 6px 6px 18px;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(37, 40, 34, 0.08);
}
body .recherche-deroulante .me-recherche-form:focus-within {
    border-color: var(--foret);
    box-shadow: 0 0 0 3px rgba(53, 72, 60, 0.14);
}
body .recherche-deroulante .me-recherche-icone {
    color: #9aa39c;
}
body .recherche-deroulante .me-recherche-form input[type="search"] {
    font-size: 0.9375rem;
}
body .recherche-deroulante .me-recherche-form input[type="search"]::placeholder {
    color: #9aa39c;
}
body .recherche-deroulante .me-recherche-bouton {
    background: var(--foret);
    color: var(--ivoire);
    border-radius: 12px;
    padding: 12px 26px;
    font-size: 0.9rem;
    min-height: 46px;
}
body .recherche-deroulante .me-recherche-bouton:hover {
    background: var(--foret-fonce);
}
@media (max-width: 600px) {
    body .me-panier-tiroir {
        width: 100vw;
        border-radius: 0;
    }
    body .recherche-deroulante .me-recherche-bouton {
        padding: 12px 18px;
    }
}
/* ===== FIN FIX v0.9.3 ===== */

/* ===== MAISON ELEGANT FIX v0.9.4 : boutons tiroir compacts ===== */
body .me-panier-actions {
    gap: 8px;
    margin-top: 4px;
}
body .me-panier-actions .button.me-panier-voir,
body .me-panier-actions .button.me-panier-commander,
body .me-panier-corps .button.me-panier-decouvrir {
    min-height: 44px !important;
    padding: 0.65rem 1.2rem !important;
    font-size: 0.875rem !important;
    font-weight: 600;
    border-radius: 14px !important;
    line-height: 1.3;
}
body .me-panier-actions .button.me-panier-commander {
    box-shadow: 0 6px 16px rgba(37, 40, 34, 0.14);
}
body .me-panier-soustotal {
    padding: 12px 14px;
    margin: 2px 0 0;
    border-radius: 14px;
}
body .me-panier-corps {
    padding-bottom: 16px;
}
/* ===== FIN FIX v0.9.4 ===== */

/* ===== MAISON ELEGANT FIX v0.9.5 : page Panier (blocs Woo) premium ===== */
body.woocommerce-cart .conteneur.page-standard {
    max-width: 1200px;
}
body.woocommerce-cart .conteneur.page-standard > h1 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
    color: var(--foret);
    text-align: center;
    margin: 0 0 0.4rem;
}
body.woocommerce-cart .conteneur.page-standard > h1 + .woocommerce {
    margin-top: 1.5rem;
}
body.woocommerce-cart .wp-block-woocommerce-cart.alignwide {
    max-width: 1200px;
    margin-inline: auto;
}
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: start;
}
body.woocommerce-cart [data-block-name="woocommerce/cart-items-block"],
body.woocommerce-cart [data-block-name="woocommerce/cart-line-items-block"] {
    min-width: 0;
}
body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
body.woocommerce-cart .wc-block-cart__main {
    background: var(--blanc);
    border: 1px solid rgba(164, 176, 160, 0.3);
    border-radius: 20px;
    box-shadow: var(--ombre-leger);
    padding: clamp(1rem, 2.5vw, 1.5rem);
}
body.woocommerce-cart .wc-block-cart-item,
body.woocommerce-cart .wc-block-cart-items__row {
    border-bottom: 1px solid rgba(164, 176, 160, 0.28);
    padding-block: 1rem;
}
body.woocommerce-cart .wc-block-cart-item:last-child,
body.woocommerce-cart .wc-block-cart-items__row:last-child {
    border-bottom: 0;
}
body.woocommerce-cart .wc-block-components-product-name {
    font-weight: 600;
    color: var(--charcoal);
    text-decoration: none;
}
body.woocommerce-cart .wc-block-components-product-price {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--charcoal);
}
body.woocommerce-cart .wc-block-cart-item__quantity .wc-block-components-quantity-selector,
body.woocommerce-cart .wc-block-components-quantity-selector {
    border: 1px solid rgba(53, 72, 60, 0.28);
    border-radius: 999px;
    background: var(--ivoire);
}
body.woocommerce-cart .wc-block-components-quantity-selector input {
    font: inherit;
    text-align: center;
}
body.woocommerce-cart .wc-block-cart-item__remove-link,
body.woocommerce-cart a.wc-block-cart-item__remove-link,
body.woocommerce-cart a.wc-block-components-product-remove {
    color: var(--sauge-doux);
    font-size: 0.82rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.woocommerce-cart .wc-block-cart-item__remove-link:hover,
body.woocommerce-cart a.wc-block-cart-item__remove-link:hover {
    color: var(--terracotta-fonce);
}
body.woocommerce-cart [data-block-name="woocommerce/cart-totals-block"],
body.woocommerce-cart [data-block-name="woocommerce/cart-order-summary-block"] {
    min-width: 0;
}
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .cart-collaterals .cart_totals {
    background: var(--ivoire);
    border: 1px solid rgba(164, 176, 160, 0.3);
    border-radius: 20px;
    box-shadow: var(--ombre-leger);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
body.woocommerce-cart .wc-block-components-totals-coupon__form {
    display: flex;
    gap: 0.5rem;
}
body.woocommerce-cart .wc-block-components-totals-coupon__form input {
    flex: 1;
    min-width: 0;
    font: inherit;
    border: 1px solid rgba(53, 72, 60, 0.28);
    border-radius: 999px;
    background: #fff;
    padding: 0.7rem 1rem;
    min-height: 48px;
}
body.woocommerce-cart .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wc-block-components-button:not(.wc-block-cart__submit-button) {
    border-radius: 999px;
    font-weight: 600;
    min-height: 48px;
}
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout a.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--foret);
    border: 1px solid var(--foret);
    color: var(--ivoire);
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 52px;
    padding: 0.85rem 1.5rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 40, 34, 0.15);
}
body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background: var(--foret-fonce);
    border-color: var(--foret-fonce);
    color: var(--ivoire);
}
body.woocommerce-cart .wc-block-cart__empty-cart__title {
    font-family: var(--serif);
    color: var(--foret);
}
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--foret);
    border: 1px solid var(--foret);
    color: var(--ivoire);
    border-radius: 999px;
    font-weight: 600;
    min-height: 52px;
    padding: 0.9rem 2rem;
    text-decoration: none;
}
body.woocommerce-cart .wc-block-grid__product {
    background: var(--blanc);
    border: 1px solid rgba(164, 176, 160, 0.3);
    border-radius: 18px;
    padding-bottom: 1.25rem;
}
body.woocommerce-cart .wc-block-grid__product .wp-block-button__link.add_to_cart_button {
    background: var(--foret);
    border: 1px solid var(--foret);
    color: var(--ivoire);
    border-radius: 999px;
    font-weight: 600;
    padding: 0.85rem 1.25rem;
}
@media (max-width: 960px) {
    body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    body.woocommerce-cart .conteneur.page-standard {
        width: min(1280px, 100% - 2rem);
    }
}
/* ===== FIN FIX v0.9.5 ===== */

/* ===== MAISON ELEGANT FIX v0.9.7 : Panier 100 % compatible telephones ===== */
@media (max-width: 600px) {
    body.woocommerce-cart .wc-block-cart-items,
    body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
    body.woocommerce-cart .wc-block-cart__main {
        padding: 0.9rem;
        border-radius: 16px;
        min-width: 0;
    }
    /* Entete du tableau masque sur telephone : chaque ligne devient une carte. */
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header {
        display: none !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        column-gap: 0.75rem !important;
        row-gap: 0 !important;
        padding: 0.9rem 0 !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        padding-right: 0 !important;
        width: 72px !important;
        min-width: 0 !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
        border-radius: 12px !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product {
        grid-column: 2 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        padding: 0 !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
        font-size: 0.95rem !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices {
        flex-wrap: wrap !important;
        row-gap: 2px !important;
        font-size: 0.9rem !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-price {
        white-space: nowrap !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-sale-badge,
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-sale-badge {
        max-width: 100% !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata__description {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
    }
    /* Quantite + corbeille : pleine largeur, cibles tactiles 44px. */
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        padding-top: 0.65rem !important;
        padding-right: 0 !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-quantity-selector button {
        min-width: 44px !important;
        min-height: 44px !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link {
        margin-left: auto !important;
        min-width: 44px !important;
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.85rem !important;
    }
    /* Total de la ligne : sa propre ligne, aligne a droite, jamais coupe. */
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        text-align: right !important;
        padding-top: 0.4rem !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }
    /* Coupon : champ + bouton empiles sur telephone. */
    body.woocommerce-cart .wc-block-components-totals-coupon__form {
        flex-wrap: wrap !important;
    }
    body.woocommerce-cart .wc-block-components-totals-coupon__form input {
        flex: 1 1 100% !important;
    }
    body.woocommerce-cart .wc-block-components-totals-coupon__button {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
    body.woocommerce-cart .wc-block-components-totals-item,
    body.woocommerce-cart .wc-block-components-totals-footer-item {
        flex-wrap: wrap !important;
        row-gap: 0.25rem !important;
    }
}
/* Tres petits ecrans (iPhone SE, anciens Android 320-360px). */
@media (max-width: 380px) {
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
        grid-template-columns: 60px minmax(0, 1fr) !important;
        column-gap: 0.6rem !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
        width: 60px !important;
    }
    body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
        font-size: 0.9rem !important;
    }
    body.woocommerce-cart .conteneur.page-standard > h1 {
        font-size: 1.6rem !important;
    }
}
/* ===== FIN FIX v0.9.7 ===== */

/* ===== MAISON ELEGANT FIX v0.9.6 : page Commande (blocs Woo) premium ===== */
body.woocommerce-checkout .conteneur.page-standard {
    max-width: 1200px;
}
body.woocommerce-checkout .conteneur.page-standard > h1 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
    color: var(--foret);
    text-align: center;
    margin: 0 0 0.4rem;
}
body.woocommerce-checkout .conteneur.page-standard > h1 + .woocommerce {
    margin-top: 1.5rem;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide {
    max-width: 1200px;
    margin-inline: auto;
}
body.woocommerce-checkout .wc-block-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: start;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-fields-block"] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-contact-information-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-address-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-billing-address-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-method-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-methods-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-pickup-options-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-payment-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-additional-information-block"] {
    background: var(--blanc);
    border: 1px solid rgba(164, 176, 160, 0.3);
    border-radius: 20px;
    box-shadow: var(--ombre-leger);
    padding: clamp(1.1rem, 2.5vw, 1.6rem);
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--foret);
    margin: 0 0 1rem;
}
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-select-input select,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout textarea {
    font: inherit;
    font-size: 0.95rem;
    color: var(--charcoal);
    background: #fff;
    border: 1px solid rgba(53, 72, 60, 0.28);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    min-height: 52px;
    width: 100%;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select-input select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout form.checkout input.input-text:focus {
    outline: none;
    border-color: var(--foret);
    box-shadow: 0 0 0 3px rgba(53, 72, 60, 0.12);
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select-input label,
body.woocommerce-checkout form.checkout label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-totals-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-order-summary-block"] {
    min-width: 0;
}
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout #order_review {
    background: var(--ivoire);
    border: 1px solid rgba(164, 176, 160, 0.3);
    border-radius: 20px;
    box-shadow: var(--ombre-leger);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    border-radius: 12px;
}
body.woocommerce-checkout .wc-block-components-product-name {
    font-weight: 600;
    color: var(--charcoal);
}
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-totals-footer-item {
    font-variant-numeric: tabular-nums;
}
body.woocommerce-checkout .wc-block-components-totals-coupon__form {
    display: flex;
    gap: 0.5rem;
}
body.woocommerce-checkout .wc-block-components-totals-coupon__form input {
    flex: 1;
    min-width: 0;
    border-radius: 999px;
    background: #fff;
    min-height: 48px;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button,
body.woocommerce-checkout #place_order {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--foret);
    border: 1px solid var(--foret);
    color: var(--ivoire);
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 52px;
    padding: 0.85rem 1.5rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 40, 34, 0.15);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout #place_order:hover {
    background: var(--foret-fonce);
    border-color: var(--foret-fonce);
    color: var(--ivoire);
}
body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button,
body.woocommerce-checkout a.wc-block-components-checkout-return-to-cart-button {
    color: var(--foret);
}
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-message {
    border-radius: 14px;
}
/* Fallback shortcode classique */
body.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: start;
}
body.woocommerce-checkout form.checkout #customer_details {
    background: var(--blanc);
    border: 1px solid rgba(164, 176, 160, 0.3);
    border-radius: 20px;
    box-shadow: var(--ombre-leger);
    padding: clamp(1.1rem, 2.5vw, 1.6rem);
    min-width: 0;
}
@media (max-width: 960px) {
    body.woocommerce-checkout .wc-block-checkout,
    body.woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    body.woocommerce-checkout .conteneur.page-standard {
        width: min(1280px, 100% - 2rem);
    }
}
/* ===== FIN FIX v0.9.6 ===== */

/* ===== MAISON ELEGANT FIX v0.9.7 : un seul tiroir partout ===== */
/* Cache l'ancien lien "Voir le panier" ajoute par Woo sous les boutons (ancien flux). */
body .me-woo ul.products li.product .added_to_cart.wc-forward,
body .me-produits ul.products li.product .added_to_cart.wc-forward,
body .me-favoris-conteneur ul.products li.product .added_to_cart.wc-forward,
body.search .me-woo ul.products li.product .added_to_cart.wc-forward,
body.single-product .me-woo .related.products ul.products li.product .added_to_cart.wc-forward,
body.woocommerce-cart .wc-block-grid__product .added_to_cart.wc-forward {
    display: none !important;
}
/* Tiroir compact : boutons fins + bloc bas colle, sans vide */
body .me-panier-tiroir {
    width: min(380px, 94vw);
}
body .me-panier-corps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
}
body .me-panier-actions {
    margin-top: auto;
    padding-top: 10px;
    gap: 8px;
}
body .me-panier-actions .button.me-panier-voir,
body .me-panier-actions .button.me-panier-commander {
    min-height: 42px !important;
    padding: 0.6rem 1.1rem !important;
    font-size: 0.85rem !important;
    border-radius: 13px !important;
    line-height: 1.25;
}
body .me-panier-sous-total, body .me-panier-soustotal {
    margin-bottom: 2px;
}
/* ===== FIN FIX v0.9.7 ===== */

/* ===== MAISON ELEGANT FIX v0.9.8 : footer colle, sans bande blanche ===== */
html {
    height: 100%;
    background: var(--foret);
}
body {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
main#contenu {
    flex: 1 0 auto;
    width: 100%;
}
#contenu > *:last-child {
    margin-bottom: 0;
}
.pied-site {
    margin-top: auto;
    width: 100%;
}
/* ===== FIN FIX v0.9.8 ===== */

/* ===== MAISON ELEGANT FIX v0.9.9 : page Commande premium, sans cartes vides ===== */
/* Cache les blocs vides (placeholders Woo avant hydratation ou options inactives).
   Des qu'un bloc recoit du contenu, :empty ne matche plus et il reapparait. */
body.woocommerce-checkout .wc-block-checkout__main [data-block-name]:empty,
body.woocommerce-checkout .wc-block-components-checkout-step:empty,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-express-payment-block"]:empty,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-method-block"]:empty,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-pickup-options-block"]:empty,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-methods-block"]:empty {
    display: none;
}
body.woocommerce-checkout .wc-block-checkout > *,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-fields-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-totals-block"] {
    min-width: 0;
}
/* Lignes du resume : image 56px + texte, description tronquee a 2 lignes. */
body.woocommerce-checkout .wc-block-components-order-summary-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding-block: 0.9rem;
    border-bottom: 1px solid rgba(164, 176, 160, 0.28);
}
body.woocommerce-checkout .wc-block-components-order-summary-item:last-child {
    border-bottom: 0;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
    min-width: 0;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-size: 0.9rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-price {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description,
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    font-size: 0.8rem;
    color: var(--sauge-doux);
    margin-top: 0.25rem;
}
/* Bandeau d'erreur : angles et respiration uniquement, couleur Woo gardee. */
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
    border-radius: 14px;
    padding: 1rem 1.1rem;
    line-height: 1.6;
}
/* Coupon repliable pleine largeur. */
body.woocommerce-checkout [data-block-name="woocommerce/checkout-order-summary-coupon-form-block"] details,
body.woocommerce-checkout .wc-block-components-totals-coupon {
    width: 100%;
}
/* ===== FIN FIX v0.9.9 ===== */

/* ===== MAISON ELEGANT FIX v0.9.10 : Commande pleine largeur ===== */
body.woocommerce-checkout .conteneur.page-standard {
    max-width: min(1400px, 100% - 3rem);
    width: min(1400px, 100% - 3rem);
}
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide {
    max-width: none;
    width: 100%;
    margin-inline: 0;
}
body.woocommerce-checkout .wc-block-checkout {
    max-width: none;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-fields-block"] {
    min-width: 0;
}
@media (max-width: 960px) {
    body.woocommerce-checkout .wc-block-checkout {
        grid-template-columns: 1fr;
    }
}
/* ===== FIN FIX v0.9.10 ===== */

/* ===== MAISON ELEGANT FIX v0.9.11 : Commande plein ecran premium ===== */
body.woocommerce-checkout .conteneur.page-standard {
    max-width: min(1600px, 100% - 2rem);
    width: min(1600px, 100% - 2rem);
    padding-block: clamp(2rem, 4vw, 3.5rem);
}
body.woocommerce-checkout .conteneur.page-standard > h1 {
    font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem);
    margin-bottom: 0.5rem;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide {
    max-width: none;
    width: 100%;
    margin-inline: 0;
}
body.woocommerce-checkout .wc-block-checkout {
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-fields-block"] {
    min-width: 0;
    width: 100%;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-totals-block"] {
    position: sticky;
    top: 96px;
    min-width: 0;
    width: 100%;
}
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    padding: clamp(1.5rem, 2.5vw, 2rem);
    border-radius: 22px;
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns: 64px minmax(0, 1fr);
    padding-block: 1rem;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    width: 64px;
    height: 64px;
}
@media (max-width: 1100px) {
    body.woocommerce-checkout .wc-block-checkout {
        grid-template-columns: minmax(0, 1fr) 380px;
    }
}
@media (max-width: 960px) {
    body.woocommerce-checkout .wc-block-checkout {
        grid-template-columns: 1fr;
    }
    body.woocommerce-checkout .wc-block-checkout__sidebar {
        position: static;
    }
}
/* ===== FIN FIX v0.9.11 ===== */

/* ===== MAISON ELEGANT FIX v0.9.12 : Commande vraiment plein ecran type Laptek ===== */
body.woocommerce-checkout .conteneur.page-standard {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: clamp(1rem, 4vw, 4rem);
    padding-block: clamp(1.5rem, 3vw, 3rem);
}
body.woocommerce-checkout .conteneur.page-standard > h1 {
    text-align: left;
    font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
    margin: 0 0 1.25rem;
}
body.woocommerce-checkout .conteneur.page-standard > h1 + .woocommerce {
    width: 100%;
    max-width: none;
    margin-top: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide {
    max-width: none;
    width: 100%;
    margin-inline: 0;
}
body.woocommerce-checkout .wc-block-checkout {
    max-width: none;
    width: 100%;
    margin-inline: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    align-items: start;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-fields-block"],
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-totals-block"] {
    min-width: 0;
    width: 100%;
    max-width: none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-totals-block"] {
    position: sticky;
    top: 96px;
}
/* Fallback shortcode classique : meme logique plein ecran. */
body.woocommerce-checkout form.checkout {
    max-width: none;
    width: 100%;
    margin-inline: 0;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
}
@media (max-width: 1100px) {
    body.woocommerce-checkout .wc-block-checkout,
    body.woocommerce-checkout form.checkout {
        grid-template-columns: minmax(0, 1fr) 360px;
    }
    body.woocommerce-checkout .conteneur.page-standard {
        padding-inline: clamp(1rem, 3vw, 2rem);
    }
}
@media (max-width: 960px) {
    body.woocommerce-checkout .wc-block-checkout,
    body.woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
    }
    body.woocommerce-checkout .wc-block-checkout__sidebar,
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-totals-block"] {
        position: static;
    }
}
/* ===== MAISON ELEGANT FIX v0.9.13 : Commande restyle premium (style, pas taille) ===== */
/* Fond de page doux, cartes blanches type Laptek mais palette maison. */
body.woocommerce-checkout {
    background: #FAF7F1;
}
body.woocommerce-checkout .conteneur.page-standard > h1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}
body.woocommerce-checkout .conteneur.page-standard > h1::after {
    content: "Commande sécurisée";
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--foret);
    background: var(--blanc);
    border: 1px solid rgba(164, 176, 160, 0.45);
    border-radius: 999px;
    padding: 0.5rem 1rem 0.5rem 0.85rem;
    box-shadow: var(--ombre-leger);
    white-space: nowrap;
}
/* Barre d'étapes façon Laptek, sans toucher au DOM (texte seul, 100 % FR). */
body.woocommerce-checkout .conteneur.page-standard > h1 + .woocommerce::before {
    content: "1  Coordonnées   —   2  Livraison   —   3  Confirmation";
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sauge-doux);
    background: var(--blanc);
    border: 1px solid rgba(164, 176, 160, 0.4);
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    margin: 0 0 1.5rem;
    box-shadow: var(--ombre-leger);
}
/* Cartes formulaire : blanc pur, ombre douce, coins généreux. */
body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-contact-information-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-address-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-billing-address-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-method-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-methods-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-pickup-options-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-payment-block"],
body.woocommerce-checkout [data-block-name="woocommerce/checkout-additional-information-block"],
body.woocommerce-checkout form.checkout #customer_details,
body.woocommerce-checkout form.checkout #order_review {
    background: #fff;
    border: 1px solid #ECE4D4;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(37, 40, 34, 0.07);
    padding: clamp(1.4rem, 2.5vw, 2rem);
}
/* Titres de section : serif + filet champagne. */
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title {
    font-size: 1.35rem;
    letter-spacing: 0.01em;
    padding-bottom: 0.8rem;
    margin-bottom: 1.3rem;
    border-bottom: 1px solid rgba(201, 164, 92, 0.3);
}
/* Champs : 54px, bord doux, focus anneau forêt. */
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-select-input select,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout textarea {
    background: #FFFDF9;
    border: 1.5px solid #E5DDCF;
    border-radius: 14px;
    min-height: 54px;
    box-shadow: inset 0 1px 2px rgba(37, 40, 34, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.woocommerce-checkout .wc-block-components-text-input input:hover,
body.woocommerce-checkout form.checkout input.input-text:hover {
    border-color: var(--sauge);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select-input select:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout form.checkout input.input-text:focus,
body.woocommerce-checkout form.checkout select:focus,
body.woocommerce-checkout form.checkout textarea:focus {
    border-color: var(--foret);
    box-shadow: 0 0 0 4px rgba(53, 72, 60, 0.12);
}
/* Moyens de paiement : cartes radio sélectionnables. */
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-payment-method,
body.woocommerce-checkout form.checkout #payment ul.payment_methods li {
    border: 1.5px solid #E7DFD1;
    border-radius: 16px;
    background: #fff;
    padding: 1rem 1.1rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
body.woocommerce-checkout .wc-block-components-radio-control__option--checked,
body.woocommerce-checkout .wc-block-components-radio-control__option:hover,
body.woocommerce-checkout form.checkout #payment ul.payment_methods li:hover {
    border-color: var(--foret);
    background: #F3F6F1;
    box-shadow: 0 8px 22px rgba(53, 72, 60, 0.1);
}
body.woocommerce-checkout .wc-block-components-payment-method-label,
body.woocommerce-checkout form.checkout #payment ul.payment_methods label {
    font-weight: 600;
    color: var(--charcoal);
}
body.woocommerce-checkout .wc-block-components-payment-method-description,
body.woocommerce-checkout form.checkout #payment div.payment_box {
    background: var(--ivoire);
    border-radius: 12px;
    color: var(--sauge-doux);
    font-size: 0.9rem;
    margin-top: 0.6rem;
}
/* Bandeau d'erreur adouci (plus de rouge agressif plein). */
body.woocommerce-checkout .wc-block-components-notice-banner.is-error,
body.woocommerce-checkout .wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__content,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-message {
    background: #FFF8F5;
    border: 1px solid rgba(210, 139, 120, 0.5);
    color: #7A3B2E;
    border-radius: 16px;
    box-shadow: none;
}
/* Résumé : carte blanche, totaux tabulaires, total serif. */
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
    background: #fff;
    border: 1px solid #ECE4D4;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(37, 40, 34, 0.07);
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    border: 1px solid #EFE7D8;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-family: var(--sans);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    white-space: nowrap;
    color: var(--foret-fonce);
}
body.woocommerce-checkout .wc-block-components-totals-item .wc-block-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-totals-item .wc-block-components-totals-item__value {
    font-family: var(--sans);
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    white-space: nowrap;
    letter-spacing: 0;
}
/* Coupon : pilule pointillée élégante. */
body.woocommerce-checkout .wc-block-components-totals-coupon__form input {
    border: 1.5px dashed rgba(53, 72, 60, 0.4);
    background: #FFFDF9;
}
body.woocommerce-checkout .wc-block-components-totals-coupon__button,
body.woocommerce-checkout .wc-block-components-totals-coupon__form button {
    border-radius: 999px;
    background: var(--ivoire);
    border: 1px solid rgba(53, 72, 60, 0.3);
    color: var(--foret);
    font-weight: 600;
}
/* CTA : grand bouton forêt 58px. */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button,
body.woocommerce-checkout #place_order {
    min-height: 58px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 28px rgba(40, 56, 45, 0.28);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout #place_order:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(40, 56, 45, 0.32);
}
body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button,
body.woocommerce-checkout a.wc-block-components-checkout-return-to-cart-button {
    color: var(--sauge-doux);
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.woocommerce-checkout input[type="checkbox"] {
    accent-color: var(--foret);
    width: 18px;
    height: 18px;
}
/* ===== MAISON ELEGANT FIX v0.9.14 : deux cadres sombres (Pays/region + Paiement) ===== */
/* 1. Pays/region : Woo utilise .wc-blocks-components-select__select (pas .wc-block-components-select-input select).
   Son :focus met border-color:currentColor (= charcoal sombre) -> le gros cadre noir du screenshot. */
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container {
    background: transparent;
}
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
    background: #FFFDF9;
    border: 1.5px solid #E5DDCF;
    border-radius: 14px;
    min-height: 54px;
    height: auto;
    color: var(--charcoal);
    box-shadow: inset 0 1px 2px rgba(37, 40, 34, 0.04);
}
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:hover {
    border-color: var(--sauge);
}
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus {
    border-color: var(--foret);
    border-width: 1.5px;
    box-shadow: 0 0 0 4px rgba(53, 72, 60, 0.12);
    outline: none;
}
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__label {
    color: var(--charcoal);
}
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__expand {
    fill: var(--sauge-doux);
}
/* 2. Paiement a la livraison : Woo dessine le cadre checked en inset currentColor (charcoal sombre).
   On le remplace par un cadre foret doux + fond sauge clair. */
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option {
    background: #fff;
    border: 1.5px solid #E7DFD1;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
}
body.woocommerce-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.woocommerce-checkout .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    box-shadow: 0 8px 22px rgba(53, 72, 60, 0.1);
    border: 1.5px solid var(--foret);
    border-radius: 16px;
    background: #F3F6F1;
}
body.woocommerce-checkout .wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option::after {
    background: #E7DFD1;
    left: 16px;
    right: 16px;
}
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:last-child::after,
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option:last-child::after {
    border-color: #E7DFD1;
}
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__description {
    background: var(--ivoire);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    color: var(--sauge-doux);
    font-size: 0.9rem;
    margin-top: 0.6rem;
}
/* ===== FIN FIX v0.9.14 ===== */

/* ===== FIN FIX v0.9.13 ===== */

/* ===== FIN FIX v0.9.12 ===== */

/* ===== MAISON ELEGANT FIX v0.9.15 Commande single summary plus phone ===== */
/* 1. Un seul résumé : toute copie du résumé/totaux hydratée dans la colonne
   principale est un doublon — la vraie carte vit dans la barre latérale.
   Chaque sélecteur est qualifié par __main : on ne masque jamais les deux. */
@media (min-width: 961px) {
    body.woocommerce-checkout .wc-block-checkout__main [data-block-name="woocommerce/checkout-totals-block"],
    body.woocommerce-checkout .wc-block-checkout__main [data-block-name="woocommerce/checkout-order-summary-block"],
    body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block,
    body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-order-summary {
        display: none;
    }
}
@media (max-width: 960px) {
    /* Résumé unique empilé AVANT le formulaire. */
    body.woocommerce-checkout .wc-block-checkout {
        display: flex;
        flex-direction: column;
    }
    body.woocommerce-checkout .wc-block-checkout > * {
        min-width: 0;
        max-width: 100%;
    }
    body.woocommerce-checkout .wc-block-checkout__sidebar,
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-totals-block"] {
        order: -1;
        position: static;
        width: 100%;
    }
    /* Doublon éventuel dans la colonne principale : masqué, jamais les deux. */
    body.woocommerce-checkout .wc-block-checkout__main [data-block-name="woocommerce/checkout-totals-block"],
    body.woocommerce-checkout .wc-block-checkout__main [data-block-name="woocommerce/checkout-order-summary-block"],
    body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block,
    body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-order-summary {
        display: none;
    }
}
/* 2. Pas de cartes blanches vides : les blocs optionnels sans aucun élément enfant
   (espaces ou conteneurs vides avant hydratation) sont masqués ; dès qu'un
   contenu élément arrive, la règle ne matche plus et le bloc réapparaît. */
body.woocommerce-checkout [data-block-name="woocommerce/checkout-express-payment-block"]:not(:has(> *)),
body.woocommerce-checkout [data-block-name="woocommerce/checkout-pickup-options-block"]:not(:has(> *)),
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-method-block"]:not(:has(> *)),
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-methods-block"]:not(:has(> *)) {
    display: none;
}
/* 3. Paiement coché : bordure vert forêt + fond sauge clair, JAMAIS de cadre
   inset sombre. Classe doublée (.x.x) pour battre le inset currentColor de Woo. */
body.woocommerce-checkout .wc-block-checkout__payment-method.wc-block-checkout__payment-method .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.woocommerce-checkout .wc-block-checkout__payment-method.wc-block-checkout__payment-method .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
body.woocommerce-checkout .wc-block-checkout__payment-method.wc-block-checkout__payment-method .wc-block-components-radio-control__option.wc-block-components-radio-control__option--checked {
    border: 1.5px solid var(--foret);
    border-color: var(--foret);
    background: #F3F6F1;
    box-shadow: 0 8px 22px rgba(53, 72, 60, 0.1);
    outline: none;
}
/* 4. Pays/région au focus : bordure forêt + anneau doux, jamais noir.
   Chaîne renforcée via le conteneur pour battre le :focus currentColor de Woo. */
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container .wc-blocks-components-select__select:focus {
    border-color: var(--foret);
    border-width: 1.5px;
    border-style: solid;
    outline: none;
    box-shadow: 0 0 0 4px rgba(53, 72, 60, 0.12);
}
/* 5. Téléphone 390px : une colonne, cartes plein largeur 16px, champs 52px,
   bouton Commander plein largeur, totaux tabulaires, aucun débordement. */
@media (max-width: 390px) {
    body.woocommerce-checkout .conteneur.page-standard {
        width: 100%;
        max-width: none;
        padding-inline: 1rem;
    }
    body.woocommerce-checkout .wc-block-components-checkout-step,
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-contact-information-block"],
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-address-block"],
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-billing-address-block"],
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-method-block"],
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-methods-block"],
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-pickup-options-block"],
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-payment-block"],
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-additional-information-block"],
    body.woocommerce-checkout .wc-block-components-sidebar,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
    body.woocommerce-checkout form.checkout #customer_details,
    body.woocommerce-checkout form.checkout #order_review {
        width: 100%;
        border-radius: 16px;
        padding: 1rem;
    }
    body.woocommerce-checkout .wc-block-components-text-input input,
    body.woocommerce-checkout .wc-block-components-select-input select,
    body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
    body.woocommerce-checkout .wc-block-components-textarea textarea,
    body.woocommerce-checkout form.checkout input.input-text,
    body.woocommerce-checkout form.checkout select,
    body.woocommerce-checkout form.checkout textarea {
        min-height: 52px;
    }
    body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
    body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button,
    body.woocommerce-checkout #place_order {
        width: 100%;
    }
    body.woocommerce-checkout .wc-block-checkout > *,
    body.woocommerce-checkout .wc-block-checkout__main,
    body.woocommerce-checkout .wc-block-checkout__sidebar,
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-fields-block"],
    body.woocommerce-checkout [data-block-name="woocommerce/checkout-totals-block"] {
        min-width: 0;
    }
    body.woocommerce-checkout .wc-block-components-product-name,
    body.woocommerce-checkout .wc-block-components-order-summary-item__description {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    body.woocommerce-checkout .wc-block-components-totals-item,
    body.woocommerce-checkout .wc-block-components-totals-footer-item {
        font-variant-numeric: tabular-nums;
    }
}
/* ===== FIN FIX v0.9.15 ===== */

/* ===== MAISON ELEGANT FIX v0.9.16 : mot de passe perdu assorti aux pages auth ===== */
body.woocommerce-account.woocommerce-lost-password .conteneur.page-standard {
    max-width: 1120px;
    padding-block: clamp(2rem, 4vw, 3.5rem);
}
/* Le gabarit a deja son propre H1 : on masque celui de page.php (endpoint lost-password). */
body.woocommerce-account.woocommerce-lost-password .conteneur.page-standard > h1 {
    display: none;
}
body.woocommerce-account.woocommerce-lost-password .conteneur.page-standard .woocommerce {
    margin-top: 0;
}
.me-auth--perdu .me-auth-texte {
    color: var(--sauge-doux);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}
.me-auth--perdu .me-auth-form .woocommerce-Button.button {
    width: 100%;
}
.me-auth--perdu .me-auth-carte .woocommerce-message,
.me-auth--perdu .me-auth-carte .woocommerce-info {
    margin-bottom: 1.25rem;
    background: #eef4ee;
    border: 0 !important;
    border-top: 0 !important;
    border-radius: 14px;
    outline: none !important;
    box-shadow: none !important;
}
.me-auth--perdu .me-auth-carte .woocommerce-message:focus,
.me-auth--perdu .me-auth-carte .woocommerce-info:focus,
.me-auth--perdu .me-auth-carte .woocommerce-message:focus-visible,
.me-auth--perdu .me-auth-carte .woocommerce-info:focus-visible,
.me-auth--perdu .me-auth-carte .woocommerce-message:focus-within,
.me-auth--perdu .me-auth-carte .woocommerce-info:focus-within {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}
/* ===== FIN FIX v0.9.16 ===== */

/* ===== MAISON ELEGANT FIX v0.9.17 : champ e-mail mot de passe perdu ===== */
/* 1. Le formulaire Woo n'a qu'un seul p en .form-row--first (= 47 % de large, flottant).
   On le remet pleine largeur sans flottant dans notre carte. */
body.woocommerce-account.woocommerce-lost-password .me-auth--perdu .woocommerce-form-row--first,
body.woocommerce-account.woocommerce-lost-password .me-auth--perdu .woocommerce-form-row--last,
body.woocommerce-account.woocommerce-lost-password .me-auth--perdu .form-row-first,
body.woocommerce-account.woocommerce-lost-password .me-auth--perdu .form-row-last {
    float: none;
    width: 100%;
    margin-right: 0;
}
/* 2. Woo impose .woocommerce form .form-row .input-text:focus { border-color: currentcolor }
   (= cadre quasi noir du screenshot). Notre selecteur plus precis reprend la main :
   bord doux 1.5px + anneau foret, sans !important sauf sur le focus Woo. */
body.woocommerce-account .me-auth-form input.input-text,
body.woocommerce-account .me-auth-form input[type="text"],
body.woocommerce-account .me-auth-form input[type="email"],
body.woocommerce-account .me-auth-form input[type="password"] {
    background: #FFFDF9;
    border: 1.5px solid #E5DDCF;
    border-radius: 14px;
    box-shadow: inset 0 1px 2px rgba(37, 40, 34, 0.04);
}
body.woocommerce-account .me-auth-form input.input-text:hover,
body.woocommerce-account .me-auth-form input[type="text"]:hover,
body.woocommerce-account .me-auth-form input[type="email"]:hover,
body.woocommerce-account .me-auth-form input[type="password"]:hover {
    border-color: var(--sauge);
}
body.woocommerce-account .me-auth-form input.input-text:focus,
body.woocommerce-account .me-auth-form input[type="text"]:focus,
body.woocommerce-account .me-auth-form input[type="email"]:focus,
body.woocommerce-account .me-auth-form input[type="password"]:focus {
    border-color: var(--foret) !important;
    box-shadow: 0 0 0 4px rgba(53, 72, 60, 0.12) !important;
    outline: none !important;
    background: #fff;
}
/* ===== FIN FIX v0.9.17 ===== */

/* ===== MAISON ELEGANT FIX v0.9.19 : notices auth sans anneau champagne ===== */
/* Woo met le focus sur la notice (role="alert") pour l'accessibilite : le
   :focus-visible global (champagne 3px + offset) dessine le cadre dore du screenshot.
   On le neutralise sur toutes les notices des cartes auth, tous etats de focus. */
.me-auth-carte .woocommerce-message,
.me-auth-carte .woocommerce-info,
.me-auth-carte .woocommerce-error {
    outline: none !important;
    outline-offset: 0 !important;
}
.me-auth-carte .woocommerce-message:focus,
.me-auth-carte .woocommerce-info:focus,
.me-auth-carte .woocommerce-error:focus,
.me-auth-carte .woocommerce-message:focus-visible,
.me-auth-carte .woocommerce-info:focus-visible,
.me-auth-carte .woocommerce-error:focus-visible,
.me-auth-carte .woocommerce-message:focus-within,
.me-auth-carte .woocommerce-info:focus-within,
.me-auth-carte .woocommerce-error:focus-within,
.me-auth-carte .woocommerce-message:active,
.me-auth-carte .woocommerce-info:active,
.me-auth-carte .woocommerce-error:active {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}
.me-auth-carte .woocommerce-message,
.me-auth-carte .woocommerce-info {
    border: 0 !important;
    border-top: 0 !important;
}
/* ===== FIN FIX v0.9.19 ===== */

/* ===== MAISON ELEGANT FIX v0.9.22 : icones notices auth (E rogne + mauvais glyph) ===== */
/* Woo colle son icone (font WooCommerce, absolute left 1.5em) sur un padding
   reduit 1rem 1.25rem -> l'icone ecrase le "E". On reserve la place et on
   remplace le glyph Woo par un pastille propre. */
.me-auth-carte .woocommerce-message,
.me-auth-carte .woocommerce-info,
.me-auth-carte .woocommerce-error {
    position: relative;
    padding: 1rem 1.25rem 1rem 3.4rem !important;
}
.me-auth-carte .woocommerce-message::before,
.me-auth-carte .woocommerce-info::before,
.me-auth-carte .woocommerce-error::before {
    content: "✓";
    font-family: var(--sans) !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 1.1rem;
    transform: translateY(-50%);
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    font-size: 0.9rem;
    line-height: 1;
}
.me-auth-carte .woocommerce-message::before {
    background: var(--foret);
    color: #fff;
}
.me-auth-carte .woocommerce-info::before {
    content: "i";
    font-style: normal;
    background: var(--champagne);
    color: #fff;
}
.me-auth-carte .woocommerce-error::before {
    content: "!";
    background: #b3402e;
    color: #fff;
}
.me-auth-carte .woocommerce-message::after,
.me-auth-carte .woocommerce-info::after,
.me-auth-carte .woocommerce-error::after {
    display: none;
}
/* ===== FIN FIX v0.9.22 ===== */

/* ===== MAISON ELEGANT FIX v0.9.23 : page Commande recue premium ===== */
body.woocommerce-checkout.woocommerce-order-received {
    background: #FAF7F1;
}
/* Sur la confirmation, on masque la barre d'etapes (toujours visible sinon) : commande terminee. */
body.woocommerce-checkout.woocommerce-order-received .conteneur.page-standard > h1 + .woocommerce::before {
    display: none;
}
/* Bandeau succes : carte blanche, pastille verte, texte charcoal. */
body.woocommerce-checkout.woocommerce-order-received .woocommerce-order > p.woocommerce-notice--success,
body.woocommerce-checkout.woocommerce-order-received .woocommerce-order > p.woocommerce-thankyou-order-received {
    position: relative;
    background: #fff;
    border: 1.5px solid #E5DDCF;
    border-left: 5px solid var(--foret);
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(37, 40, 34, 0.07);
    padding: 1.1rem 1.25rem 1.1rem 3.4rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 1.25rem;
}
body.woocommerce-checkout.woocommerce-order-received .woocommerce-order > p.woocommerce-notice--success::before,
body.woocommerce-checkout.woocommerce-order-received .woocommerce-order > p.woocommerce-thankyou-order-received::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 1.1rem;
    transform: translateY(-50%);
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: var(--foret);
    color: #fff;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
/* Recap numero / date / total / paiement : 4 cartes en grille. */
body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    border: 0;
}
body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview li {
    background: #fff;
    border: 1px solid #ECE4D4;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(37, 40, 34, 0.07);
    padding: 1rem 1.1rem;
    margin: 0;
    border-right: 0;
    float: none;
    width: auto;
    font-size: 0.95rem;
    text-transform: none;
}
body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 1rem;
    color: var(--charcoal);
}
/* Cartes details + adresse : blanc pur, coins genereux. */
body.woocommerce-checkout.woocommerce-order-received section.woocommerce-order-details,
body.woocommerce-checkout.woocommerce-order-received section.woocommerce-customer-details {
    background: #fff;
    border: 1px solid #ECE4D4;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(37, 40, 34, 0.07);
    padding: clamp(1.4rem, 2.5vw, 2rem);
    margin-bottom: 1.25rem;
}
body.woocommerce-checkout.woocommerce-order-received h2.woocommerce-order-details__title,
body.woocommerce-checkout.woocommerce-order-received h2.woocommerce-column__title {
    font-size: 1.35rem;
    padding-bottom: 0.8rem;
    margin: 0 0 1.1rem;
    border-bottom: 1px solid rgba(201, 164, 92, 0.3);
}
/* Tableau produits : entete ivoire, lignes aeriennes, montants tabulaires. */
body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details,
body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details {
    border: 1px solid #EDE5D5;
    border-radius: 16px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    width: 100%;
}
body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details thead th,
body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details thead th {
    background: var(--ivoire);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sauge-doux);
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid #EDE5D5;
}
body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details td,
body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details th,
body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details td,
body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details th {
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid #F0E9D9;
    vertical-align: top;
}
body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tbody tr:last-child td,
body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tbody tr:last-child td {
    border-bottom: 0;
}
body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tfoot th,
body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tfoot th {
    font-weight: 600;
    color: var(--charcoal);
}
body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tfoot tr:last-child th,
body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tfoot tr:last-child td,
body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td {
    background: #F3F6F1;
    font-size: 1.05rem;
}
body.woocommerce-checkout.woocommerce-order-received .woocommerce-table--order-details td .amount,
body.woocommerce-checkout.woocommerce-order-received .woocommerce-table--order-details td,
body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview li strong {
    font-family: var(--sans);
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    white-space: nowrap;
    letter-spacing: 0;
}
/* Adresse de facturation : texte lisible, sans italique. */
body.woocommerce-checkout.woocommerce-order-received address {
    font-style: normal;
    line-height: 1.7;
    background: #FFFDF9;
    border: 1px dashed rgba(53, 72, 60, 0.3);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin: 0;
}
/* Petit texte paiement ("Reglez votre commande...") en pilule ivoire. */
body.woocommerce-checkout.woocommerce-order-received .woocommerce-order > p:not(.woocommerce-notice):not(.woocommerce-thankyou-order-received) {
    background: var(--ivoire);
    border: 1px solid #ECE4D4;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    color: var(--sauge-doux);
    font-size: 0.9rem;
}
/* ===== FIN FIX v0.9.23 ===== */

/* ===== MAISON ELEGANT FIX v0.9.24 : recap adaptatif + photos + tableau telephone ===== */
/* Recap : grille souple qui s'adapte au telephone sans texte coupe. */
body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview,
body.woocommerce-checkout.woocommerce-order-received .woocommerce-order ul.woocommerce-order-overview,
body.woocommerce ul.order_details {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    gap: 0.9rem;
    list-style: none !important;
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
}
/* On neutralise les cases fantomes de Woo qui cassent la grille. */
body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview::before,
body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview::after,
body.woocommerce ul.order_details::before,
body.woocommerce ul.order_details::after {
    content: none !important;
    display: none !important;
}
/* Cartes du recap : coins doux, texte qui revient a la ligne. */
body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview li,
body.woocommerce ul.order_details li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    margin-right: 0 !important;
    padding: 1rem 1.1rem !important;
    background: #fff;
    border: 1px solid #ECE4D4;
    border-right: 0 !important;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(37, 40, 34, 0.07);
    font-size: 0.95rem;
    text-transform: none;
    min-width: 0;
    overflow-wrap: anywhere;
}
body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview li strong,
body.woocommerce ul.order_details li strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 1rem;
    color: var(--charcoal);
    font-family: var(--sans);
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    overflow-wrap: anywhere;
}
/* Ligne produit : photo arrondie plus texte, sans valeur en dur. */
body.woocommerce-checkout.woocommerce-order-received .me-order-item-produit {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}
body.woocommerce-checkout.woocommerce-order-received .me-order-item-visuel {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #EFE7D8;
    background: var(--ivoire);
}
body.woocommerce-checkout.woocommerce-order-received .me-order-item-visuel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.woocommerce-checkout.woocommerce-order-received .me-order-item-texte {
    min-width: 0;
}
body.woocommerce-checkout.woocommerce-order-received .me-order-item-texte a {
    color: var(--foret);
    font-weight: 600;
}
body.woocommerce-checkout.woocommerce-order-received .me-order-item-texte .product-quantity {
    color: var(--sauge-doux);
}
/* Tableau sur telephone : entete masquee, lignes empilees bien separees. */
@media (max-width: 600px) {
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details thead,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details thead {
        display: none;
    }
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details,
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tbody,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tbody,
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tr,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tr,
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details td,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details td {
        display: block;
        width: 100%;
    }
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tbody tr,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tbody tr {
        border-bottom: 1px solid #F0E9D9;
    }
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details td.product-total,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details td.product-total {
        font-weight: 700;
        padding-top: 0;
    }
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tfoot tr,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tfoot tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
    }
}
/* Grilles adaptatives en dernier pour garder la main sur Woo. */
@media (max-width: 1100px) {
    body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 600px) {
    body.woocommerce-checkout.woocommerce-order-received ul.woocommerce-order-overview {
        grid-template-columns: 1fr !important;
    }
}
/* ===== FIN FIX v0.9.24 ===== */

/* ===== MAISON ELEGANT FIX v0.9.25 : noms produits lisibles + totaux alignes sur telephone ===== */
body.woocommerce-checkout.woocommerce-order-received .me-order-item-texte {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}
body.woocommerce-checkout.woocommerce-order-received .me-order-item-texte a {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
body.woocommerce-checkout.woocommerce-order-received .me-order-item-texte .product-quantity {
    white-space: nowrap;
}
@media (max-width: 600px) {
    body.woocommerce-checkout.woocommerce-order-received section.woocommerce-order-details,
    body.woocommerce-checkout.woocommerce-order-received section.woocommerce-customer-details {
        padding: 1.1rem;
    }
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details td.product-name,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details td.product-name {
        border-bottom: 0;
        padding-bottom: 0.25rem;
    }
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details td.product-total,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details td.product-total {
        padding-top: 0;
        padding-bottom: 1rem;
    }
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tfoot tr,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tfoot tr {
        padding-block: 0.7rem;
        border-bottom: 1px solid #F0E9D9;
    }
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tfoot tr:last-child,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child {
        border-bottom: 0;
    }
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tfoot th,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tfoot th {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
        padding: 0;
        border: 0;
    }
    body.woocommerce-checkout.woocommerce-order-received table.shop_table.order_details tfoot td,
    body.woocommerce-checkout.woocommerce-order-received table.woocommerce-table--order-details tfoot td {
        flex: 0 0 auto;
        text-align: right;
        white-space: nowrap;
        padding: 0;
        border: 0;
        font-variant-numeric: tabular-nums lining-nums;
    }
}
/* ===== FIN FIX v0.9.25 ===== */

/* ===== MAISON ELEGANT FIX v0.9.26 : espace Mon compte premium 6 pages + noms produits (styling only) ===== */
/* But : premium ivoire/foret pour Tableau de bord, Commandes, Telechargements, Adresses, Details du compte, Deconnexion. */
/* Base : page.php via .page-standard > h1 + .woocommerce. Aucun prix/stock en dur, 100 % WooCommerce en direct. */

/* 1. Entete de page : titre serif + pastille + sous-titre (sans toucher au H1 PHP). */
body.woocommerce-account .page-standard > h1 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--foret);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}
body.woocommerce-account .page-standard > h1::after {
    content: "Espace client";
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--foret);
    background: var(--ivoire);
    border: 1px solid #E5DDCF;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    white-space: nowrap;
}
body.woocommerce-account .page-standard .woocommerce::before {
    content: "Retrouvez vos commandes, adresses et preferences en un seul endroit.";
    display: block;
    color: #6B7A70;
    font-size: 0.95rem;
    margin: -0.5rem 0 1.25rem;
}
/* Sur les endpoints, le ::before ci-dessus ne s'affiche qu'une fois (pas sur le contenu). */
body.woocommerce-account .page-standard .woocommerce-MyAccount-content::before {
    content: none;
}

/* 2. Structure connecte : sidebar + contenu en grille. */
body.woocommerce-account.logged-in .page-standard .woocommerce {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    min-width: 0;
}

/* 3. Navigation foret, carte sticky. */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    background: var(--foret);
    background: linear-gradient(160deg, var(--foret) 0%, var(--foret-fonce) 100%);
    border-radius: 20px;
    padding: 1rem;
    position: sticky;
    top: 1rem;
    box-shadow: 0 12px 30px rgba(40, 56, 45, 0.18);
    overflow: hidden;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
}

/* 4. Liens pastilles + actif ivoire + deconnexion separee. */
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    color: rgba(248, 244, 238, 0.88);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateX(2px);
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--ivoire);
    color: var(--foret);
    font-weight: 600;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: rgba(210, 139, 120, 0.25);
}

/* 5. Carte contenu. */
body.woocommerce-account .woocommerce-MyAccount-content {
    background: var(--blanc);
    border: 1px solid #EDE6D8;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 0 12px 30px rgba(40, 56, 45, 0.08);
    min-width: 0;
    overflow-wrap: break-word;
}
body.woocommerce-account .woocommerce-MyAccount-content p {
    line-height: 1.7;
}
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-family: var(--serif);
    color: var(--foret);
}

/* 6. Tableau de bord : bandeau bienvenue + cartes d'acces rapide. */
body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
    background: var(--ivoire);
    border: 1px solid #EDE6D8;
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
}
body.woocommerce-account .woocommerce-MyAccount-content p a[href*="orders"],
body.woocommerce-account .woocommerce-MyAccount-content p a[href*="edit-address"],
body.woocommerce-account .woocommerce-MyAccount-content p a[href*="edit-account"] {
    display: inline-block;
    background: #fff;
    border: 1px solid #EDE6D8;
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    margin: 0.35rem 0.35rem 0 0;
    text-decoration: none;
    font-weight: 600;
    color: var(--foret);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.woocommerce-account .woocommerce-MyAccount-content p a[href*="orders"]:hover,
body.woocommerce-account .woocommerce-MyAccount-content p a[href*="edit-address"]:hover,
body.woocommerce-account .woocommerce-MyAccount-content p a[href*="edit-account"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 56, 45, 0.12);
}

/* 7. Correctif notice mot de passe temporaire + bouton Renvoyer (ligne flexible, sans chevauchement). */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    margin-left: auto;
}

/* 8. Tableaux Commandes / Telechargements en carte premium. */
body.woocommerce-account table.shop_table {
    width: 100%;
    border: 1px solid #EDE6D8;
    border-radius: 14px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    overflow: hidden;
    background: #fff;
}
body.woocommerce-account table.shop_table th {
    background: var(--ivoire);
    font-weight: 600;
    text-align: left;
    padding: 0.8rem 1rem;
    color: var(--foret);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
body.woocommerce-account table.shop_table td {
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(53, 72, 60, 0.14);
    vertical-align: middle;
}
body.woocommerce-account table.shop_table tbody tr:hover td {
    background: rgba(248, 244, 238, 0.55);
}
body.woocommerce-account table.shop_table .amount {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.woocommerce-account table.shop_table .woocommerce-orders-table__cell-order-number a {
    color: var(--foret);
    font-weight: 600;
}

/* 9. Boutons Voir / Payer en pastilles foret. */
body.woocommerce-account table.shop_table .button {
    width: auto;
    padding: 0.6rem 1.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--foret);
    color: var(--ivoire);
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
body.woocommerce-account table.shop_table .button:hover {
    background: var(--foret-fonce);
    color: #fff;
    transform: translateY(-2px);
}

/* 10. Etats vides + appel vers la boutique. */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message--info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message--info .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
}

/* 11. Adresses en 2 cartes ivoire. */
body.woocommerce-account .woocommerce-Addresses.u-columns,
body.woocommerce-account .u-columns.woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}
body.woocommerce-account .woocommerce-Addresses .col-1,
body.woocommerce-account .woocommerce-Addresses .col-2,
body.woocommerce-account .woocommerce-Address {
    float: none !important;
    width: auto !important;
    margin: 0;
    background: var(--ivoire);
    border: 1px solid #EDE6D8;
    border-radius: 16px;
    padding: 1.25rem;
}
body.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
body.woocommerce-account .woocommerce-Address-title h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--foret);
    margin: 0 0 0.5rem;
}
body.woocommerce-account .woocommerce-Address-title .edit {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--foret);
    white-space: nowrap;
}
body.woocommerce-account .woocommerce-Address address {
    font-style: normal;
    line-height: 1.7;
    margin: 0;
}

/* 12. Details du compte : formulaire 2 colonnes + champs 54px + bouton large. */
body.woocommerce-account .woocommerce-EditAccountForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
body.woocommerce-account .woocommerce-EditAccountForm .form-row {
    float: none !important;
    width: auto !important;
    margin: 0;
    padding: 0;
}
body.woocommerce-account .woocommerce-EditAccountForm .form-row-wide,
body.woocommerce-account .woocommerce-EditAccountForm .form-row-first,
body.woocommerce-account .woocommerce-EditAccountForm .form-row-last {
    float: none !important;
    width: auto !important;
}
body.woocommerce-account .woocommerce-EditAccountForm .form-row label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foret);
    margin-bottom: 0.45rem;
}
body.woocommerce-account .woocommerce-EditAccountForm .input-text {
    width: 100%;
    min-height: 54px;
    background: #FFFDF9;
    border: 1.5px solid #E5DDCF;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
}
body.woocommerce-account .woocommerce-EditAccountForm .input-text:focus {
    border-color: var(--foret);
    box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.25);
    background: #fff;
    outline: none;
}
body.woocommerce-account .woocommerce-EditAccountForm fieldset,
body.woocommerce-account .woocommerce-EditAccountForm > p:last-child,
body.woocommerce-account .woocommerce-EditAccountForm .form-row-wide {
    grid-column: 1 / -1;
}
body.woocommerce-account .woocommerce-EditAccountForm fieldset {
    border: 1px solid #EDE6D8;
    border-radius: 16px;
    padding: 1.25rem;
    background: var(--ivoire);
}
body.woocommerce-account .woocommerce-EditAccountForm fieldset legend {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--foret);
    padding: 0 0.5rem;
}
body.woocommerce-account .woocommerce-EditAccountForm button[type="submit"] {
    min-height: 58px;
    width: 100%;
    background: var(--foret);
    color: var(--ivoire);
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
body.woocommerce-account .woocommerce-EditAccountForm button[type="submit"]:hover {
    background: var(--foret-fonce);
    color: #fff;
    transform: translateY(-2px);
}

/* 13. Notices en pastilles v0.9.22 (sans cadre or). */
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
    position: relative;
    border: 0;
    border-radius: 14px;
    padding: 1rem 1.25rem 1rem 3.4rem;
    box-shadow: none;
    list-style: none;
    background: var(--ivoire);
    color: var(--charcoal);
}
body.woocommerce-account .woocommerce-error {
    background: #F9ECE6;
}
body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-info::before,
body.woocommerce-account .woocommerce-error::before {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    translate: 0 -50%;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
}
body.woocommerce-account .woocommerce-message::before {
    content: "✓";
    background: var(--foret);
    color: #fff;
}
body.woocommerce-account .woocommerce-info::before {
    content: "i";
    font-family: var(--serif);
    font-style: italic;
    background: var(--champagne);
    color: #fff;
}
body.woocommerce-account .woocommerce-error::before {
    content: "!";
    background: var(--terracotta);
    color: #fff;
}

/* 14. Invite (connexion/inscription) : harmonisation douce du focus, sans dupliquer me-auth. */
body.woocommerce-account .me-auth-form .input-text:focus,
body.woocommerce-account form.login .input-text:focus,
body.woocommerce-account form.register .input-text:focus,
body.woocommerce-account form.lost_reset_password .input-text:focus {
    border-color: var(--foret);
    box-shadow: 0 0 0 3px rgba(53, 72, 60, 0.12);
    outline: none;
}

/* 15. Telephone 860px : empilement sidebar + contenu, cartes 1 colonne. */
@media (max-width: 860px) {
    body.woocommerce-account.logged-in .page-standard .woocommerce {
        grid-template-columns: 1fr;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation {
        position: static;
        border-radius: 18px;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation li a {
        padding: 0.7rem 0.85rem;
        font-size: 0.9rem;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
        grid-column: 1 / -1;
    }
    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 1.25rem;
    }
    body.woocommerce-account .page-standard > h1 {
        font-size: 1.6rem;
    }
    body.woocommerce-account .woocommerce-Addresses.u-columns,
    body.woocommerce-account .u-columns.woocommerce-Addresses,
    body.woocommerce-account .woocommerce-EditAccountForm {
        grid-template-columns: 1fr;
    }
}

/* 16. Petits telephones 600px : tableaux empiles en lignes carte. */
@media (max-width: 600px) {
    body.woocommerce-account table.shop_table thead {
        display: none;
    }
    body.woocommerce-account table.shop_table,
    body.woocommerce-account table.shop_table tbody,
    body.woocommerce-account table.shop_table tr,
    body.woocommerce-account table.shop_table td {
        display: block;
        width: 100%;
    }
    body.woocommerce-account table.shop_table tr {
        border-bottom: 1px solid #EDE6D8;
        padding: 0.5rem 0;
    }
    body.woocommerce-account table.shop_table tr:last-child {
        border-bottom: 0;
    }
    body.woocommerce-account table.shop_table td {
        border: 0;
        padding: 0.4rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        text-align: right;
    }
    body.woocommerce-account table.shop_table td:first-child {
        padding-top: 0.8rem;
    }
    body.woocommerce-account table.shop_table td:last-child {
        padding-bottom: 0.8rem;
    }
    body.woocommerce-account table.shop_table td::before {
        content: attr(data-title);
        font-weight: 600;
        color: var(--foret);
        text-align: left;
        flex: 1 1 auto;
        min-width: 0;
    }
    body.woocommerce-account table.shop_table td .button {
        margin-left: auto;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }
}

/* 17. Confirmation commande : noms de produits jamais coupes (renfort v0.9.25, telephone inclus). */
body.woocommerce-checkout.woocommerce-order-received .me-order-item-texte {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}
body.woocommerce-checkout.woocommerce-order-received .me-order-item-texte a {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
body.woocommerce-checkout.woocommerce-order-received .me-order-item-texte .product-quantity {
    white-space: nowrap;
}
/* ===== MAISON ELEGANT FIX v0.9.27 : grille Mon compte + notice Renvoyer ===== */
/* Le sous-titre .woocommerce::before etait une case de grille : il poussait
   la nav en colonne 2 et le contenu en colonne 1 etroite (capture).
   On le fait passer sur toute la ligne, nav col 1 + contenu col 2. */
body.woocommerce-account.logged-in .page-standard .woocommerce::before,
body.woocommerce-account .page-standard .woocommerce::before {
    grid-column: 1 / -1;
}
body.woocommerce-account.logged-in .page-standard .woocommerce .woocommerce-MyAccount-navigation {
    grid-column: 1;
    min-width: 0;
}
body.woocommerce-account.logged-in .page-standard .woocommerce .woocommerce-MyAccount-content {
    grid-column: 2;
    min-width: 0;
}
/* Notice mot de passe temporaire : bouton Renvoyer a droite, texte respire,
   sans chevauchement avec la pastille. */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button.wc-forward,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message .button {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    margin-left: auto;
}
@media (max-width: 860px) {
    body.woocommerce-account.logged-in .page-standard .woocommerce::before,
    body.woocommerce-account.logged-in .page-standard .woocommerce .woocommerce-MyAccount-navigation,
    body.woocommerce-account.logged-in .page-standard .woocommerce .woocommerce-MyAccount-content {
        grid-column: 1 / -1;
    }
}
/* ===== FIN FIX v0.9.27 ===== */

/* ===== MAISON ELEGANT FIX v0.9.28 : page Adresses — pas de barre vide, cartes alignees ===== */
/* 1. Le sous-titre de la carte contenu (> :first-child) herite du bandeau ivoire
   prevu pour le dashboard : sur Adresses le 1er <p> est un texte simple, pas un
   bandeau. On ne bandeaute que le dashboard (page parente, pas d'endpoint). */
body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
body.woocommerce-account:not(.woocommerce-edit-address) .woocommerce-MyAccount-content > .woocommerce-Message--info:first-child {
    background: var(--ivoire);
    border: 1px solid #EDE6D8;
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
}
/* 2. Adresses : 2 vraies colonnes egales, alignees en haut.
   Woo alterne u-column1/u-column2 avec des floats/widths : on verrouille. */
body.woocommerce-account .woocommerce-Addresses.u-columns,
body.woocommerce-account .u-columns.woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem;
    align-items: start;
}
body.woocommerce-account .woocommerce-Addresses.u-columns::before,
body.woocommerce-account .woocommerce-Addresses.u-columns::after,
body.woocommerce-account .u-columns.woocommerce-Addresses::before,
body.woocommerce-account .u-columns.woocommerce-Addresses::after {
    content: none !important;
    display: none !important;
}
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}
/* 3. Entetes de cartes : titre + Modifier sur une ligne, sans chevauchement. */
body.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}
body.woocommerce-account .woocommerce-Address-title h3 {
    margin: 0;
    min-width: 0;
}
body.woocommerce-account .woocommerce-Address-title .edit {
    flex: 0 0 auto;
}
@media (max-width: 860px) {
    body.woocommerce-account .woocommerce-Addresses.u-columns,
    body.woocommerce-account .u-columns.woocommerce-Addresses {
        grid-template-columns: 1fr !important;
    }
}
/* ===== FIN FIX v0.9.28 ===== */

/* ===== MAISON ELEGANT FIX v0.9.29 : adresse unique fusionnee (facturation = livraison) ===== */
/* Carte hero : bord foret fin, fond blanc, pastille icone, 2 boutons pastilles. */
body.woocommerce-account .woocommerce-Addresses.me-adresse-unique {
    display: block !important;
    margin-top: 1rem;
}
body.woocommerce-account .woocommerce-Addresses.me-adresse-unique .me-adresse-carte {
    max-width: 640px;
    background: var(--blanc);
    border: 1px solid #EDE6D8;
    border-top: 5px solid var(--foret);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(40, 56, 45, 0.1);
    padding: 1.5rem 1.75rem;
}
body.woocommerce-account .me-adresse-entete {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas: "icone titre" "icone actions";
    gap: 0.15rem 1rem;
    align-items: start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F0E9D9;
}
body.woocommerce-account .me-adresse-icone {
    grid-area: icone;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ivoire);
    border: 1px solid #EDE6D8;
    color: var(--foret);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.woocommerce-account .me-adresse-titre-wrap {
    grid-area: titre;
    min-width: 0;
}
body.woocommerce-account .me-adresse-entete h2,
body.woocommerce-account .me-adresse-titre-wrap h2 {
    font-size: 1.3rem;
    margin: 0;
}
body.woocommerce-account .me-adresse-sous {
    margin: 0.3rem 0 0;
    color: var(--sauge-doux);
    font-size: 0.9rem;
}
body.woocommerce-account .me-adresse-actions {
    grid-area: actions;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}
body.woocommerce-account .me-adresse-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--foret) !important;
    background: var(--ivoire);
    border: 1px solid #E5DDCF !important;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
body.woocommerce-account a.me-adresse-btn:hover {
    background: var(--foret);
    color: var(--ivoire) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 56, 45, 0.18);
}
body.woocommerce-account .me-adresse-contenu {
    font-size: 1rem;
    line-height: 1.8;
}
body.woocommerce-account .me-adresse-note {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1rem 0 0;
    padding: 0.8rem 1rem;
    border: 0;
    background: #F3F6F1;
    border-radius: 12px;
    color: var(--foret);
    font-size: 0.88rem;
    font-weight: 500;
}
body.woocommerce-account .me-adresse-note svg {
    flex: 0 0 auto;
    color: var(--foret);
}
@media (max-width: 600px) {
    body.woocommerce-account .woocommerce-Addresses.me-adresse-unique .me-adresse-carte {
        max-width: none;
        padding: 1.15rem 1.25rem;
    }
    body.woocommerce-account .me-adresse-actions .me-adresse-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}
/* ===== FIN FIX v0.9.29 ===== */

/* ===== MAISON ELEGANT FIX v0.9.30 : tuer le double cadre Adresses ===== */
/* La carte fusionnee a perdu ses classes u-column/col (plus de grille 2 col),
   mais la regle v0.9.28 force toujours grid 2 colonnes sur .woocommerce-Addresses :
   la div parente dessine un grand cadre vide pendant que la carte occupe la col 1.
   En mode fusionne la parente redevient un simple bloc, la carte prend tout. */
body.woocommerce-account .woocommerce-Addresses.me-adresse-unique {
    display: block !important;
    grid-template-columns: none !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 1rem;
}
body.woocommerce-account .woocommerce-Addresses.me-adresse-unique::before,
body.woocommerce-account .woocommerce-Addresses.me-adresse-unique::after {
    content: none !important;
    display: none !important;
}
body.woocommerce-account .woocommerce-Addresses.me-adresse-unique .me-adresse-carte {
    max-width: 640px;
}
/* ===== FIN FIX v0.9.30 ===== */

/* ===== MAISON ELEGANT FIX v0.9.33 : Adresses — pas de grand cadre, carte hero large ===== */
/* La page n'a qu'une seule adresse : la carte contenu blanche ne sert plus,
   elle doublonne le cadre. On la dissout (pas de fond/bord/ombre/padding)
   et la carte fusionnee prend toute la largeur en hero premium.
   Scope via :has(.me-adresse-unique) + fallback endpoint edit-address. */
body.woocommerce-account .woocommerce-MyAccount-content:has(> .woocommerce-Addresses.me-adresse-unique),
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content {
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
body.woocommerce-account .woocommerce-Addresses.me-adresse-unique .me-adresse-carte {
    max-width: none;
    width: 100%;
    padding: 2rem 2.25rem;
}
body.woocommerce-account .me-adresse-entete h2,
body.woocommerce-account .me-adresse-titre-wrap h2 {
    font-size: 1.45rem;
}
body.woocommerce-account .me-adresse-contenu {
    font-size: 1.05rem;
    line-height: 1.9;
}
@media (max-width: 600px) {
    body.woocommerce-account .woocommerce-Addresses.me-adresse-unique .me-adresse-carte {
        padding: 1.25rem 1.35rem;
    }
}
/* ===== FIN FIX v0.9.33 ===== */

/* ===== MAISON ELEGANT FIX v0.9.35 : recherche unique — desktop DANS la rangee, tel dessous ===== */
/* La barre bureau vit dans la rangee logo/nav/icones, la barre tel sous l'en-tete.
   Jamais les deux en meme temps : tel cache par defaut, bureau cache sur petit ecran. */
body .recherche-barre {
    display: none;
    flex: 1 1 280px;
    min-width: 0;
    max-width: 460px;
}
body .recherche-tel {
    display: none;
}
body .recherche-barre .me-recherche-form {
    background: #fff;
    border: 1px solid rgba(37, 40, 34, 0.18);
    border-radius: 999px;
    padding: 6px 6px 6px 18px;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(37, 40, 34, 0.08);
}
body .recherche-barre .me-recherche-form:focus-within {
    border-color: var(--foret);
    box-shadow: 0 0 0 3px rgba(53, 72, 60, 0.14);
}
body .recherche-barre .me-recherche-icone {
    color: #9aa39c;
}
body .recherche-barre .me-recherche-form input[type="search"] {
    font-size: 0.9rem;
}
body .recherche-barre .me-recherche-form input[type="search"]::placeholder {
    color: #9aa39c;
}
body .recherche-barre .me-recherche-bouton {
    background: var(--foret);
    color: var(--ivoire);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.85rem;
    min-height: 42px;
}
body .recherche-barre .me-recherche-bouton:hover {
    background: var(--foret-fonce);
}
body .recherche-barre .me-recherche-bouton-icone {
    display: none;
}
@media (min-width: 861px) {
    body .recherche-barre {
        display: block;
    }
    body .recherche-tel {
        display: none !important;
    }
    body .nav-principale {
        flex: 0 1 auto;
    }
    body .menu-principal {
        gap: 0.25rem 1rem;
    }
}
/* Tel : pastille Menu ronde + recherche pleine largeur sous l'en-tete. */
@media (max-width: 860px) {
    body .recherche-barre {
        display: none !important;
    }
    body .bouton-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border-radius: 50%;
        border: 1px solid rgba(53, 72, 60, 0.3);
        background: var(--ivoire);
    }
    body .bouton-menu-texte {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    body .recherche-tel {
        display: block;
        padding: 0.6rem 1rem 0.85rem;
        background: rgba(255, 253, 249, 0.96);
    }
    body .recherche-tel .me-recherche-form {
        border-radius: 20px;
        flex-wrap: nowrap;
    }
    body .recherche-tel .me-recherche-bouton {
        width: auto;
        flex: 0 0 auto;
        padding: 12px 18px;
    }
}
/* ===== FIN FIX v0.9.35 ===== */

/* ===== MAISON ELEGANT FIX v0.9.36 : header 2 rangees desktop, zero doublon ===== */
/* Bureau : rangee 1 = logo + recherche large + icones, rangee 2 = nav centree.
   La recherche respire (plus d'ecrasement "Rech"), la nav ne pousse plus.
   Tel : seule la barre sous l'en-tete existe. Jamais 2 barres en meme temps. */
@media (min-width: 861px) {
    body .entete-interne {
        flex-wrap: wrap;
        row-gap: 0.55rem;
        column-gap: 1rem;
    }
    body .logo-site {
        flex: 0 0 auto;
    }
    body .recherche-barre {
        display: block;
        order: 2;
        flex: 1 1 320px;
        min-width: 240px;
        max-width: 600px;
        margin-left: auto;
    }
    body .recherche-barre .me-recherche-form {
        flex-wrap: nowrap;
    }
    body .recherche-barre .me-recherche-form input[type="search"] {
        min-width: 0;
    }
    body .recherche-barre .me-recherche-bouton {
        flex: 0 0 auto;
    }
    body .actions-header {
        order: 3;
        margin-left: 0;
        flex: 0 0 auto;
    }
    body .nav-principale {
        order: 4;
        flex: 1 1 100%;
    }
    body .menu-principal {
        justify-content: center;
        flex-wrap: wrap;
    }
    body .recherche-tel {
        display: none !important;
    }
}
@media (max-width: 860px) {
    body .recherche-barre {
        display: none !important;
    }
    body .recherche-tel {
        display: block;
        border-top: 1px solid rgba(164, 176, 160, 0.35);
    }
    body .recherche-tel .conteneur {
        max-width: none;
    }
}
/* ===== FIN FIX v0.9.36 ===== */

/* ===== MAISON ELEGANT FIX v0.9.37 : annule barres recherche (retour loupe origine) ===== */
/* Les blocs v0.9.34-36 ont tout casse : nav 2 lignes, loupe morte, doublons.
   On neutralise .recherche-barre/.recherche-tel et le layout 2 rangees. */
body .recherche-barre,
body .recherche-tel {
    display: none !important;
}
body .entete-interne {
    flex-wrap: nowrap;
}
body .logo-site {
    flex: initial;
}
body .recherche-barre {
    order: initial;
    flex: none;
    min-width: 0;
    max-width: none;
    margin-left: 0;
}
body .actions-header {
    order: initial;
    margin-left: auto;
}
body .nav-principale {
    order: initial;
    flex: 1;
}
body .menu-principal {
    justify-content: center;
}
/* ===== FIN FIX v0.9.37 ===== */

/* ===== MAISON ELEGANT FIX v0.9.38 : panneau loupe — pilule nette desktop + tel ===== */
/* Bouton 999px comme la pilule (fini le decalage 12px), une seule ligne partout,
   champ 16px sur tel (anti-zoom iOS), cible tactile 44px. */
body .recherche-deroulante {
    padding: 0.9rem 0;
}
body .recherche-deroulante .me-recherche-form {
    flex-wrap: nowrap;
    align-items: center;
}
body .recherche-deroulante .me-recherche-bouton {
    flex: 0 0 auto;
    border-radius: 999px;
    white-space: nowrap;
}
@media (max-width: 600px) {
    body .recherche-deroulante {
        padding: 0.7rem 0;
    }
    body .recherche-deroulante .me-recherche-form {
        flex-wrap: nowrap;
        border-radius: 999px;
        padding: 5px 5px 5px 14px;
        gap: 8px;
    }
    body .recherche-deroulante .me-recherche-form input[type="search"] {
        font-size: 16px;
        min-height: 44px;
    }
    body .recherche-deroulante .me-recherche-bouton {
        width: auto;
        padding: 0.7rem 1.1rem;
        min-height: 44px;
        font-size: 0.85rem;
    }
}
/* ===== FIN FIX v0.9.38 ===== */

/* ===== MAISON ELEGANT FIX v0.9.39 : header tel — logo compact, icones visibles ===== */
@media (max-width: 860px) {
    body .entete-interne {
        gap: 0.6rem;
        flex-wrap: nowrap;
    }
    body .logo-site {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    body .logo-marque {
        gap: 0.5rem;
        min-width: 0;
    }
    body .logo-marque .logo-image {
        height: 40px;
        width: 40px;
        flex-shrink: 0;
    }
    body .logo-texte {
        min-width: 0;
        overflow: hidden;
    }
    body .logo-nom {
        font-size: 0.95rem;
        letter-spacing: 0.04em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    body .logo-slogan {
        display: none;
    }
    body .nav-principale {
        order: 4;
        flex-basis: 100%;
    }
    body .actions-header {
        flex: 0 0 auto;
        margin-left: 0;
        gap: 0;
    }
    body .action-icone {
        width: 40px;
        height: 44px;
    }
    body .bouton-menu {
        flex: 0 0 auto;
    }
}
/* Tres petits ecrans (≤360px, iPhone SE 1, Galaxy Fold) : nom reduit, icones 36px. */
@media (max-width: 380px) {
    body .entete-interne {
        gap: 0.4rem;
    }
    body .logo-nom {
        font-size: 0.8rem;
        letter-spacing: 0.02em;
    }
    body .logo-marque .logo-image {
        height: 34px;
        width: 34px;
    }
    body .action-icone {
        width: 36px;
        height: 44px;
    }
    body .bouton-menu {
        width: 40px;
        height: 44px;
    }
}
/* Liens compte + favoris dans le burger : caches sur bureau, visibles en menu tel. */
body .menu-compte-tel {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0.5rem 1.5rem 1rem;
}
body .menu-compte-tel li {
    list-style: none;
    margin: 0;
}
body .menu-compte-tel a {
    display: block;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(164, 176, 160, 0.25);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foret);
    min-height: 48px;
}
/* Tel : compte + favoris vivent dans le burger, pas dans la barre d'icones. */
@media (max-width: 860px) {
    body .actions-header .action-compte,
    body .actions-header .action-favoris {
        display: none;
    }
    body .menu-compte-tel {
        display: block;
    }
}

/* ===== Bouton consentement cookies (CookieYes « revisit ») : assorti au theme ===== */
body .cky-btn-revisit-wrapper[data-cky-tag="revisit-consent"] {
    background-color: var(--foret) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    box-shadow: var(--ombre-leger);
    border: 1px solid rgba(53, 72, 60, 0.2);
    transition: background-color 0.15s ease, transform 0.15s ease;
    z-index: 9990 !important;
}
body .cky-btn-revisit-wrapper[data-cky-tag="revisit-consent"]:hover {
    background-color: var(--foret-fonce) !important;
    transform: translateY(-2px);
}
body .cky-btn-revisit-wrapper[data-cky-tag="revisit-consent"] .cky-btn-revisit {
    width: 100% !important;
    height: 100% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
}
body .cky-btn-revisit-wrapper[data-cky-tag="revisit-consent"] .cky-btn-revisit img {
    width: 20px !important;
    height: 20px !important;
    filter: brightness(0) invert(1);
}

/* ===== Banniere + fenetre cookies (CookieYes) : assorties au theme ===== */
body .cky-consent-container {
    font-family: var(--sans) !important;
}
body .cky-consent-container [data-cky-tag="notice"] {
    background-color: var(--blanc) !important;
    border-color: rgba(164, 176, 160, 0.35) !important;
    border-top: 3px solid var(--foret) !important;
    color: var(--charcoal) !important;
    box-shadow: var(--ombre);
    font-family: var(--sans) !important;
}
body .cky-consent-container [data-cky-tag="notice-title"],
body .cky-consent-container [data-cky-tag="notice-description"],
body .cky-consent-container [data-cky-tag="notice-description"] p {
    color: var(--charcoal) !important;
}
body .cky-consent-container [data-cky-tag="notice-title"] {
    font-family: var(--serif) !important;
    color: var(--foret) !important;
}
body .cky-consent-container .cky-btn,
body .cky-preference-center .cky-btn {
    border-radius: 999px !important;
    font-family: var(--sans) !important;
    font-weight: 600 !important;
    padding: 0.8rem 1.4rem !important;
    border: 1px solid var(--foret) !important;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
body .cky-consent-container .cky-btn-accept,
body .cky-preference-center .cky-btn-accept {
    background: var(--foret) !important;
    border-color: var(--foret) !important;
    color: var(--ivoire) !important;
}
body .cky-consent-container .cky-btn-accept:hover,
body .cky-preference-center .cky-btn-accept:hover {
    background: var(--foret-fonce) !important;
    border-color: var(--foret-fonce) !important;
    color: var(--ivoire) !important;
}
body .cky-consent-container .cky-btn-reject,
body .cky-consent-container .cky-btn-customize,
body .cky-preference-center .cky-btn-reject,
body .cky-preference-center .cky-btn-preferences {
    background: transparent !important;
    color: var(--foret) !important;
    border-color: var(--foret) !important;
}
body .cky-consent-container .cky-btn-reject:hover,
body .cky-consent-container .cky-btn-customize:hover,
body .cky-preference-center .cky-btn-reject:hover,
body .cky-preference-center .cky-btn-preferences:hover {
    background: var(--foret) !important;
    color: var(--ivoire) !important;
}
body .cky-modal .cky-preference-center {
    background: var(--blanc) !important;
    border: 1px solid rgba(164, 176, 160, 0.35) !important;
    border-radius: 18px !important;
    color: var(--charcoal) !important;
    box-shadow: var(--ombre);
    font-family: var(--sans) !important;
}
body .cky-preference-center .cky-preference-title {
    font-family: var(--serif) !important;
    color: var(--foret) !important;
}
body .cky-preference-center [data-cky-tag="detail-description"],
body .cky-preference-center [data-cky-tag="detail-description"] p,
body .cky-preference-center [data-cky-tag="detail-category-description"],
body .cky-preference-center [data-cky-tag="detail-category-description"] p {
    color: var(--charcoal) !important;
}
body .cky-preference-center .cky-accordion-btn {
    color: var(--foret) !important;
    font-family: var(--sans) !important;
    font-weight: 600 !important;
}
body .cky-preference-center .cky-always-active {
    color: var(--foret) !important;
}
body .cky-preference-center .cky-show-desc-btn {
    color: var(--foret) !important;
}
body .cky-preference-center [data-cky-tag="audit-table"] {
    background-color: var(--ivoire) !important;
    border-color: rgba(164, 176, 160, 0.35) !important;
    color: var(--charcoal) !important;
}
@media (max-width: 600px) {
    body .cky-preference-center .cky-btn {
        width: 100% !important;
        margin: 0.3rem 0 !important;
    }
}
/* ===== FIN FIX v0.9.39 ===== */

/* ===== FIN FIX v0.9.26 ===== */
