/* ==========================================================================
   Maison Meem — la seule feuille de style du site (refonte de novembre 2026)
   Trois couleurs : sable (fond), encre (texte et boutons), laiton (touches dorées).
   Sommaire : 1 polices · 2 base · 3 briques communes · 4 haut de page et tiroirs
   5 accueil · 6 cartes et rayons · 7 fiche produit · 8 formulaires et messages
   9 panier, paiement, compte · 10 pages de texte · 11 bas de page · 12 mouvements
   ========================================================================== */

/* ---------- 1. Polices (fichiers dans assets/fonts) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }

/* ---------- 2. Base ---------- */
:root {
	--sable: #f4eee4;
	--sable-clair: #fbf8f3;
	--sable-fonce: #e8dfd0;
	--encre: #1d1814;
	--encre-doux: #5f554a;
	--laiton: #a27b33;
	--laiton-fonce: #7b5c1f;
	--laiton-clair: #dcc48f;
	--trait: rgba(29, 24, 20, .13);
	--trait-fort: rgba(29, 24, 20, .28);
	--alerte: #9c3526;
	--titre: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	--texte: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--rayon: 18px;
	--marge: 18px;
	--entete: 62px;
	--ombre: 0 18px 40px -22px rgba(29, 24, 20, .35);
	--doux: cubic-bezier(.22, .8, .25, 1);
}
@media (min-width: 768px) { :root { --marge: 32px; } }
@media (min-width: 1200px) { :root { --marge: 48px; --entete: 78px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
body.mm {
	margin: 0;
	color: var(--encre);
	font-family: var(--texte);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	font-variant-numeric: lining-nums;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	/* Un seul grand fond continu sous toute la page (pas de sections « coupées ») : un mur d'enduit sable
	   avec l'ombre d'arches et de moucharabiehs. 3 images enchaînées dans un seul fichier dont la fin
	   reboucle sur le début (outils/fond_boucle.py) : il se répète sans coupure. Téléphone 9:16, ordinateur 16:9. */
	background-color: var(--sable);
	background-image: url("../img/fond/fond-tel.jpg");
	background-position: center top;
	background-size: 100% auto;
	background-repeat: repeat-y;
}
@media (min-width: 1024px) { body.mm { background-image: url("../img/fond/fond-ordi.jpg"); } }
/* :where() ne pèse rien : la base ne l'emporte jamais sur les briques du site. */
:where(.mm) img, :where(.mm) video, :where(.mm) svg { max-width: 100%; }
:where(.mm) img { height: auto; }
:where(.mm) a { color: inherit; text-decoration: none; }
:where(.mm) h1, :where(.mm) h2, :where(.mm) h3, :where(.mm) h4 { margin: 0; font-weight: 600; line-height: 1.15; }
:where(.mm) p { margin: 0 0 1em; }
:where(.mm) ul, :where(.mm) ol { margin: 0; padding: 0; list-style: none; }
:where(.mm) button { font: inherit; color: inherit; }
:where(.mm) label { font-size: 14px; font-weight: 700; }
.mm :focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; border-radius: 6px; }
.mm ::selection { background: var(--laiton-clair); color: var(--encre); }
.mm [hidden] { display: none !important; }
.mm-cache, .mm .screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mm-evitement { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 10px 16px; background: var(--encre); color: var(--sable) !important; border-radius: 999px; }
.mm-evitement:focus { top: 12px; }
.mm.est-bloque { overflow: hidden; }

/* ---------- 3. Briques communes ---------- */
.mm-large { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--marge); }
.mm-centre { text-align: center; }
.mm-icone { flex: none; display: inline-block; vertical-align: middle; }

.mm-surtitre { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--laiton-fonce); }
.mm-surtitre::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.mm-titre { font-family: var(--titre); font-size: clamp(34px, 8.6vw, 56px); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.mm-titre--page { font-size: clamp(36px, 9vw, 64px); }
.mm-titre--page::first-letter { text-transform: uppercase; }
.mm-lien { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--trait-fort); transition: border-color .25s, gap .25s var(--doux); white-space: nowrap; }
.mm-lien:hover { border-color: var(--encre); gap: 12px; }

/* Boutons */
.mm-bouton,
.mm .button,
.mm button.button,
.mm input.button,
.mm #respond input#submit,
.mm .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 12px 24px;
	border: 1px solid var(--encre); border-radius: 999px;
	background: var(--encre); color: var(--sable-clair);
	font-family: var(--texte); font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; text-align: center; text-decoration: none;
	cursor: pointer; -webkit-appearance: none; appearance: none;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--doux);
}
.mm-bouton:hover, .mm .button:hover, .mm button.button:hover, .mm input.button:hover, .mm #respond input#submit:hover { background: var(--laiton-fonce); border-color: var(--laiton-fonce); color: #fff; }
.mm-bouton:active, .mm .button:active { transform: scale(.98); }
.mm-bouton--grand { min-height: 56px; padding-inline: 30px; font-size: 16px; }
.mm-bouton--clair { background: var(--sable-clair); border-color: var(--sable-clair); color: var(--encre); }
.mm-bouton--clair:hover { background: var(--laiton-clair); border-color: var(--laiton-clair); color: var(--encre); }
.mm .button.disabled, .mm .button:disabled, .mm button:disabled, .mm .button.wc-variation-selection-needed { opacity: .45; cursor: not-allowed; }
.mm .button.disabled:hover, .mm .button:disabled:hover { background: var(--encre); border-color: var(--encre); color: var(--sable-clair); }
.mm-page input[type="submit"]:not(.button), .mm-page input[type="button"]:not(.button), .mm-page button[type="submit"]:not([class]), .mm-page button[type="button"]:not([class]) {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 8px; padding: 10px 22px;
	border: 1px solid var(--trait-fort); border-radius: 999px; background: transparent; color: var(--encre);
	font-family: var(--texte); font-size: 14px; font-weight: 700; cursor: pointer; -webkit-appearance: none; appearance: none;
	transition: background-color .25s, color .25s, border-color .25s;
}
.mm-page input[type="submit"]:not(.button):hover, .mm-page input[type="button"]:not(.button):hover, .mm-page button[type="submit"]:not([class]):hover, .mm-page button[type="button"]:not([class]):hover { background: var(--encre); border-color: var(--encre); color: var(--sable-clair); }
/* Bouton discret (second choix) */
.mm .woocommerce-mini-cart__buttons .button:not(.checkout),
.mm .woocommerce-cart-form .actions > .button,
.mm .woocommerce-MyAccount-content .button.view,
.mm .woocommerce-button.view,
.mm .return-to-shop .button {
	background: transparent; color: var(--encre); border-color: var(--trait-fort);
}
.mm .woocommerce-mini-cart__buttons .button:not(.checkout):hover,
.mm .woocommerce-cart-form .actions > .button:hover,
.mm .woocommerce-MyAccount-content .button.view:hover,
.mm .woocommerce-button.view:hover,
.mm .return-to-shop .button:hover { background: var(--encre); border-color: var(--encre); color: var(--sable-clair); }

.mm-rond { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .2s; }
.mm-rond:hover { background: rgba(29, 24, 20, .07); }

/* Cadre d'une photo de produit : toutes les photos à la même taille, quel que soit leur fond. */
.mm-cadre { position: relative; display: block; overflow: hidden; border-radius: var(--rayon); background: var(--sable-fonce); }
.mm-cadre::before { content: ""; display: block; padding-top: 125%; }
.mm-cadre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mm-cadre--clair img { object-fit: contain; object-position: center; padding: 9%; mix-blend-mode: multiply; }
.mm-cadre--sombre img { object-fit: contain; object-position: center; }

.mm-etiquette { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: var(--laiton-fonce); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mm-etiquette--sourd { background: rgba(29, 24, 20, .78); }

.mm-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-puces li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--trait-fort); border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(251, 248, 243, .6); }
.mm-puces .mm-icone { color: var(--laiton-fonce); }
.mm-liste li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--trait); font-weight: 600; }
.mm-liste .mm-icone { margin-top: 3px; color: var(--laiton-fonce); }

/* ---------- 4. Haut de page et tiroirs ---------- */
.mm-annonce { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; min-height: 36px; padding: 7px var(--marge); background: var(--encre); color: var(--sable); font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .02em; text-align: center; }
.mm-annonce .mm-icone { color: var(--laiton-clair); }

.mm-entete { position: sticky; top: 0; z-index: 60; background: rgba(244, 238, 228, .9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.mm-entete.est-colle { border-bottom-color: var(--trait); box-shadow: 0 10px 30px -24px rgba(29, 24, 20, .5); }
.mm-entete__barre { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; height: var(--entete); }
.mm-entete__burger { justify-self: start; margin-left: -10px; }
.mm-entete__outils { justify-self: end; display: flex; align-items: center; gap: 2px; margin-right: -10px; }
.mm-entete__compte { display: none; }
.mm-panier-nb { position: absolute; top: 3px; right: 1px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--laiton-fonce); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; }
.mm-panier-nb.est-vide { display: none; }

.mm-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--encre); }
.mm-logo__signe { width: 26px; height: 28px; background: currentColor; -webkit-mask: url("../img/signe.png") center / contain no-repeat; mask: url("../img/signe.png") center / contain no-repeat; }
.mm-logo__nom { font-family: var(--titre); font-size: 21px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; line-height: 1; padding-top: 3px; }
.mm-logo--grand .mm-logo__signe { width: 40px; height: 43px; }
.mm-logo--grand .mm-logo__nom { font-size: 26px; }

.mm-nav { display: none; }
@media (max-width: 359px) { .mm-entete__barre { gap: 2px; } .mm-logo { gap: 6px; } .mm-logo__signe { width: 20px; height: 22px; } .mm-logo__nom { font-size: 17px; letter-spacing: .1em; } }
@media (min-width: 400px) { .mm-entete__compte { display: inline-grid; } }
@media (min-width: 1200px) {
	.mm-entete__barre { grid-template-columns: auto 1fr auto; gap: 28px; }
	.mm-entete__burger { display: none; }
	.mm-entete__outils { margin-right: -10px; }
	.mm-logo__signe { width: 32px; height: 34px; }
	.mm-logo__nom { font-size: 23px; }
	.mm-nav { display: block; justify-self: center; }
	.mm-nav__liste { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); }
	.mm-nav__liste > li { position: relative; }
	.mm-nav__liste > li > a { display: inline-flex; align-items: center; gap: 6px; height: var(--entete); font-size: 14px; font-weight: 600; white-space: nowrap; background: linear-gradient(var(--laiton), var(--laiton)) left calc(50% + 14px) / 0 1.5px no-repeat; transition: background-size .3s var(--doux), color .2s; }
	.mm-nav__liste > li > a:hover, .mm-nav__liste > li.current-menu-item > a, .mm-nav__liste > li.current-menu-ancestor > a { background-size: 100% 1.5px; }
	.mm-nav__liste > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
	.mm-nav .sub-menu { position: absolute; left: 50%; top: calc(100% - 10px); min-width: 230px; padding: 10px; border: 1px solid var(--trait); border-radius: 16px; background: var(--sable-clair); box-shadow: var(--ombre); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--doux), visibility .2s; }
	.mm-nav li:hover > .sub-menu, .mm-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
	.mm-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; }
	.mm-nav .sub-menu a:hover { background: var(--sable-fonce); }
}

/* Tiroirs (menu à gauche, panier à droite) */
.mm-voile { position: fixed; inset: 0; z-index: 90; background: rgba(29, 24, 20, .46); opacity: 0; transition: opacity .3s; }
.mm-voile.est-ouvert { opacity: 1; }
.mm-tiroir { position: fixed; top: 0; bottom: 0; z-index: 100; display: flex; flex-direction: column; width: min(430px, 92vw); background: var(--sable); box-shadow: 0 0 60px rgba(29, 24, 20, .25); transition: transform .38s var(--doux); }
.mm-tiroir--gauche { left: 0; transform: translateX(-102%); border-radius: 0 22px 22px 0; }
.mm-tiroir--droite { right: 0; transform: translateX(102%); border-radius: 22px 0 0 22px; }
.mm-tiroir.est-ouvert { transform: none; }
.mm-tiroir__tete { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 14px 22px; border-bottom: 1px solid var(--trait); }
.mm-tiroir__titre { font-family: var(--titre); font-size: 26px; font-weight: 600; }
.mm-tiroir__corps { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 10px 22px calc(22px + env(safe-area-inset-bottom)); }
.mm-tiroir--droite .mm-tiroir__corps { display: flex; flex-direction: column; }

.mm-menu-tel > li > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--trait); font-family: var(--titre); font-size: 27px; font-weight: 600; line-height: 1.1; }
.mm-menu-tel .sub-menu { padding: 6px 0 12px 14px; border-bottom: 1px solid var(--trait); }
.mm-menu-tel .sub-menu a { display: block; padding: 9px 0; font-size: 15px; font-weight: 600; color: var(--encre-doux); }
.mm-menu-tel > li.menu-item-has-children > a { border-bottom: 0; padding-bottom: 6px; }
.mm-menu-tel--second { margin-top: 22px; }
.mm-menu-tel--second > li > a { justify-content: flex-start; padding: 12px 0; border: 0; font-family: var(--texte); font-size: 15px; font-weight: 600; }
.mm-menu-tel--second .mm-icone { color: var(--laiton-fonce); }

/* Panier dans le tiroir */
.mm .widget_shopping_cart_content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.mm .woocommerce-mini-cart { flex: 1; }
.mm .woocommerce-mini-cart__empty-message { margin: 40px 0; text-align: center; font-family: var(--titre); font-size: 24px; color: var(--encre-doux); }
.mm .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; align-items: start; min-height: 96px; padding: 16px 30px 16px 0; border-bottom: 1px solid var(--trait); font-size: 14px; }
.mm .woocommerce-mini-cart-item > a:not(.remove) { display: contents; font-weight: 700; line-height: 1.35; }
.mm .woocommerce-mini-cart-item img { grid-row: 1 / span 3; width: 76px; height: 95px; object-fit: cover; border-radius: 12px; background: var(--sable-fonce); }
.mm .woocommerce-mini-cart-item .variation { grid-column: 2; margin: 2px 0 0; font-size: 13px; color: var(--encre-doux); }
.mm .woocommerce-mini-cart-item .variation dt, .mm .woocommerce-mini-cart-item .variation dd { display: inline; margin: 0; }
.mm .woocommerce-mini-cart-item .variation dd p { display: inline; margin: 0; }
.mm .woocommerce-mini-cart-item .quantity { grid-column: 2; margin-top: 4px; color: var(--encre-doux); font-weight: 600; }
.mm .woocommerce-mini-cart-item .remove { position: absolute; right: -6px; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--encre-doux) !important; }
.mm .woocommerce-mini-cart-item .remove:hover { background: var(--sable-fonce); color: var(--alerte) !important; }
.mm .woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 18px 0 6px; font-size: 15px; }
.mm .woocommerce-mini-cart__total .amount { font-size: 20px; font-weight: 800; }
.mm .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 10px 0 0; }
.mm .woocommerce-mini-cart__buttons .button { width: 100%; }
.mm .woocommerce-mini-cart__buttons .checkout { order: -1; min-height: 56px; font-size: 16px; }

/* ---------- 5. Accueil ---------- */
.mm-section { padding-block: clamp(56px, 9vw, 116px); }
.mm-section__tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; margin-bottom: clamp(22px, 3.4vw, 40px); }
.mm-section__phrase { max-width: 560px; margin: 16px 0 0; color: var(--encre-doux); }

/* 5.1 Haut de page */
.mm-hero { position: relative; }
.mm-hero__media { position: relative; height: calc(100svh - var(--entete) - 36px); min-height: 520px; max-height: 780px; overflow: hidden; background: var(--sable-fonce); }
.mm-hero__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.mm-hero__photo--ordi, .mm-hero__photo--second { display: none; }
/* Sur la photo : texte blanc, voile seulement derrière le texte. */
.mm-hero__texte { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px var(--marge) 26px; color: #fff; background: linear-gradient(180deg, rgba(20, 16, 12, 0) 0%, rgba(20, 16, 12, .62) 42%, rgba(20, 16, 12, .9) 100%); }
.mm-hero__texte .mm-surtitre { color: var(--laiton-clair); }
.mm-hero__titre { font-family: var(--titre); font-size: clamp(42px, 12.4vw, 60px); font-weight: 600; line-height: .98; letter-spacing: -.012em; }
.mm-hero__titre em { font-style: italic; font-weight: 500; }
.mm-hero__phrase { max-width: 480px; margin: 14px 0 20px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.mm-hero__actions { display: grid; gap: 12px; }
.mm-hero__actions .mm-bouton { width: 100%; }
.mm-hero__prix { margin: 0; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .88); text-align: center; }
.mm-hero__prix > span { margin-right: 8px; font-size: 17px; font-weight: 800; color: #fff; }

@media (min-width: 1024px) {
	.mm-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(32px, 4vw, 72px); max-width: 1360px; margin-inline: auto; padding: clamp(28px, 3.4vw, 56px) var(--marge) clamp(36px, 4vw, 64px); }
	.mm-hero__media { order: 2; display: grid; grid-template-columns: .62fr 1fr; align-items: end; gap: 18px; height: min(76vh, 720px); min-height: 520px; max-height: none; overflow: visible; background: none; }
	.mm-hero__photo { border-radius: 26px; box-shadow: var(--ombre); }
	.mm-hero__photo--tel { display: none; }
	.mm-hero__photo--ordi { display: block; grid-column: 2; grid-row: 1; height: 100%; min-height: 0; object-position: center 22%; }
	.mm-hero__photo--second { display: block; grid-column: 1; grid-row: 1; height: 68%; min-height: 0; object-position: center; }
	.mm-hero__texte { position: static; padding: 0; color: var(--encre); background: none; }
	.mm-hero__texte .mm-surtitre { color: var(--laiton-fonce); }
	.mm-hero__titre { font-size: clamp(60px, 6.4vw, 96px); }
	.mm-hero__phrase { margin: 22px 0 30px; font-size: 18px; color: var(--encre-doux); }
	.mm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
	.mm-hero__actions .mm-bouton { width: auto; background: var(--encre); border-color: var(--encre); color: var(--sable-clair); }
	.mm-hero__actions .mm-bouton:hover { background: var(--laiton-fonce); border-color: var(--laiton-fonce); color: #fff; }
	.mm-hero__prix { color: var(--encre-doux); text-align: left; }
	.mm-hero__prix > span { display: block; margin: 0; font-size: 22px; color: var(--encre); }
}

/* 5.2 Bande qui défile et atouts */
.mm-bande { overflow: hidden; padding: 16px 0; border-block: 1px solid var(--trait); background: rgba(251, 248, 243, .55); }
.mm-bande__piste { display: flex; align-items: center; gap: 28px; width: max-content; animation: mm-defile 38s linear infinite; }
.mm-bande__piste span { font-family: var(--titre); font-size: 24px; font-style: italic; font-weight: 500; white-space: nowrap; }
.mm-bande__piste i { width: 7px; height: 7px; background: var(--laiton); transform: rotate(45deg); }
@keyframes mm-defile { to { transform: translateX(-50%); } }

.mm-atouts { padding-block: 26px 0; }
.mm-atouts ul { display: grid; gap: 0; }
.mm-atouts li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.mm-atouts .mm-icone { color: var(--laiton-fonce); }
.mm-atouts strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.mm-atouts span { display: block; font-size: 13px; color: var(--encre-doux); line-height: 1.4; }
@media (min-width: 768px) {
	.mm-atouts { padding-top: 34px; }
	.mm-atouts ul { grid-template-columns: repeat(3, 1fr); gap: 24px; }
	.mm-atouts li { justify-content: center; padding: 0; border: 0; }
}

/* 5.3 Les univers */
.mm-univers { padding-bottom: clamp(16px, 2.5vw, 36px); }   /* moins de vide sous les rayons (Ibrahim, 21/11) */
.mm-univers__piste { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; }
.mm-univers__piste::-webkit-scrollbar { display: none; }
.mm-univers__carte { position: relative; flex: 0 0 66%; max-width: 300px; scroll-snap-align: start; display: block; }
.mm-univers__carte .mm-cadre::before { padding-top: 118%; }
.mm-univers__texte { display: block; padding: 14px 44px 0 2px; }
.mm-univers__texte strong { display: block; font-family: var(--titre); font-size: 26px; font-weight: 600; line-height: 1.1; }
.mm-univers__texte small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--encre-doux); }
.mm-univers__fleche { position: absolute; right: 2px; bottom: 6px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--trait-fort); border-radius: 50%; transition: background-color .25s, color .25s, transform .3s var(--doux); }
.mm-univers__carte:hover .mm-univers__fleche { background: var(--encre); color: var(--sable); transform: translateX(3px); }
@media (min-width: 1024px) {
	.mm-univers__piste { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; overflow: visible; }
	.mm-univers__carte { max-width: none; }
	.mm-univers__texte strong { font-size: 24px; }
}

/* 5.4 Rangées qui défilent sur le côté */
.mm-defile { position: relative; }
.mm ul.products.mm-produits--piste { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--marge) * -1); padding-inline: var(--marge); scroll-padding-inline: var(--marge); padding-bottom: 6px; }
.mm ul.products.mm-produits--piste::-webkit-scrollbar { display: none; }
.mm ul.products.mm-produits--piste > li { flex: 0 0 60%; max-width: 290px; scroll-snap-align: start; }
@media (min-width: 768px) { .mm ul.products.mm-produits--piste { gap: 20px; } .mm ul.products.mm-produits--piste > li { flex-basis: 290px; } }
.mm-defile__fleches { display: none; }
@media (min-width: 1024px) and (hover: hover) {
	.mm-defile__fleches { position: absolute; right: 0; top: -66px; display: flex; gap: 8px; }
	.mm-defile__fleches button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--trait-fort); border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
	.mm-defile__fleches button:hover { background: var(--encre); color: var(--sable); }
	.mm-defile__fleches button:disabled { opacity: .3; cursor: default; background: transparent; color: inherit; }
	.mm-defile__fleches button:first-child svg { transform: scaleX(-1); }
	.mm-ecrin__tete { padding-right: 120px; }
}

/* 5.5 L'écrin des montres (le seul bloc foncé du site : les photos des montres sont sur fond noir) */
.mm-ecrin-zone { padding-block: clamp(20px, 3vw, 40px); }
.mm-ecrin { position: relative; max-width: calc(1360px - 2 * var(--marge) + 2 * 28px); width: calc(100% - 20px); padding: clamp(34px, 5vw, 72px) var(--marge); border-radius: 30px; color: var(--sable); background: radial-gradient(900px 500px at 100% 0%, rgba(162, 123, 51, .34), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(162, 123, 51, .16), transparent 60%), #17130f; overflow: hidden; }
.mm-ecrin__tete { display: grid; gap: 20px; margin-bottom: clamp(24px, 3.4vw, 40px); }
.mm-ecrin .mm-surtitre { color: var(--laiton-clair); }
.mm-ecrin__points { display: grid; gap: 9px; font-size: 14.5px; font-weight: 600; color: rgba(244, 238, 228, .9); }
.mm-ecrin__points li { display: flex; align-items: center; gap: 10px; }
.mm-ecrin__points .mm-icone { color: var(--laiton-clair); }
.mm-ecrin .mm-carte__rayon { color: var(--laiton-clair); }
.mm-ecrin .mm-cadre { background: #000; }
.mm-ecrin .mm-cadre--clair { background: var(--sable-fonce); }
.mm-ecrin .mm-defile__fleches button { border-color: rgba(244, 238, 228, .4); color: var(--sable); }
.mm-ecrin .mm-defile__fleches button:hover { background: var(--sable); color: var(--encre); }
.mm-ecrin > .mm-bouton { margin-top: 30px; width: 100%; }
@media (min-width: 768px) {
	.mm-ecrin__tete { grid-template-columns: 1fr auto; align-items: end; }
	.mm-ecrin > .mm-bouton { width: auto; }
}

/* 5.6 Horloges */
/* La photo des deux horloges au salon : recadrée sur les horloges sur téléphone (4:3), 16:9 sur tablette, 2:1 sur ordinateur. */
.mm-horloges__photo { position: relative; margin: 0 0 clamp(28px, 4vw, 52px); overflow: hidden; border-radius: var(--rayon); background: var(--sable-fonce); }
.mm-horloges__photo::before { content: ""; display: block; padding-top: 75%; }
.mm-horloges__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
@media (min-width: 768px) { .mm-horloges__photo::before { padding-top: 56.25%; } .mm-horloges__photo img { object-position: center; } }
@media (min-width: 1024px) { .mm-horloges__photo::before { padding-top: 50%; } .mm-horloges__photo img { object-position: 50% 40%; } }
.mm-horloges__grille { display: grid; gap: 34px; }
.mm-horloges__texte .mm-liste { margin: 22px 0 26px; }
.mm-horloges__texte .mm-bouton { width: 100%; }
.mm ul.products.mm-produits--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) {
	.mm-horloges__grille { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
	.mm-horloges__texte .mm-bouton { width: auto; }
	.mm ul.products.mm-produits--duo { gap: 24px; }
}
.mm-nouveautes .mm-centre { margin: clamp(30px, 4vw, 52px) 0 0; }
.mm-nouveautes .mm-bouton { width: 100%; max-width: 420px; }

/* 5.7 Vitrine de l'accueil : 3 sections reprises du site concept Bloc (haut de page, roue des tenues, portant).
   Mêmes mouvements que Bloc, aux couleurs de Maison Meem (encre, sable, laiton). Script : partie 11 de site.js. */
.mmv-grand-titre { font-family: var(--titre); font-size: clamp(46px, 11vw, 112px); font-weight: 700; line-height: .9; letter-spacing: -.015em; text-transform: uppercase; }
.mmv-petit { display: block; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-doux); }
.mmv-petit b { color: var(--encre); }
.mmv-sur-tel { display: none; }
@media (hover: none) { .mmv-sur-ordi { display: none; } .mmv-sur-tel { display: block; } }
.mmv-msg { min-height: 1.4em; margin: 2px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.mmv-msg a { text-decoration: underline; text-underline-offset: 3px; }
/* Rond qui suit la souris (ordinateur) */
.mmv-curseur { position: absolute; z-index: 6; left: 0; top: 0; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; opacity: 0; transition: opacity .25s; }
.mmv-curseur.est-on { opacity: 1; }
/* Tailles (fiche du portant et roue) */
.mmv-tailles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mmv-taille { min-width: 46px; height: 42px; padding: 0 10px; border: 1px solid var(--trait-fort); border-radius: 999px; background: transparent; color: var(--encre); font-family: var(--texte); font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.mmv-taille:hover { border-color: var(--encre); }
.mmv-taille.est-actif { background: var(--encre); border-color: var(--encre); color: var(--sable-clair); }
.mmv-taille:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.mmv-tailles--sombre { justify-content: flex-start; }
.mmv-tailles--sombre .mmv-taille { border-color: rgba(244, 238, 228, .3); color: var(--sable); }
.mmv-tailles--sombre .mmv-taille:hover { border-color: var(--sable); }
.mmv-tailles--sombre .mmv-taille.est-actif { background: var(--laiton-clair); border-color: var(--laiton-clair); color: var(--encre); }

/* 5.7.1 Haut de page : une photo par écran, bulle de verre qui suit la souris (WebGL) */
.mmv-hero { position: relative; height: calc(100svh - var(--entete) - 36px); min-height: 560px; max-height: 1080px; overflow: hidden; background: var(--encre); color: #fff; }
.mmv-hero__fond, .mmv-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mmv-hero__fond img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mmv-hero canvas { opacity: 0; transition: opacity .25s; }
.mmv-hero canvas.est-pret { opacity: 1; }
@media (hover: hover) { .mmv-hero canvas.est-pret { cursor: none; } }
/* Sur la photo : texte blanc, voile seulement derrière le texte (en bas). */
.mmv-hero__voile { position: absolute; left: 0; right: 0; bottom: 0; height: 72%; background: linear-gradient(to top, rgba(20, 16, 12, .72), rgba(20, 16, 12, .45) 50%, rgba(20, 16, 12, .18) 82%, transparent); pointer-events: none; }
.mmv-hero__texte { position: absolute; z-index: 3; left: var(--marge); right: var(--marge); bottom: calc(var(--marge) + 86px); max-width: 720px; }
.mmv-hero__num { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 0 14px rgba(0, 0, 0, .35); }
.mmv-hero__num b { color: #fff; }
.mmv-hero__titre { margin: 0; font-family: var(--titre); font-size: clamp(58px, 15.5vw, 164px); font-weight: 700; line-height: .86; letter-spacing: -.01em; text-transform: uppercase; text-shadow: 0 2px 30px rgba(0, 0, 0, .22); overflow-wrap: break-word; }
.mmv-hero__sous { margin: 14px 0 18px; font-size: 17px; font-weight: 600; line-height: 1.35; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.mmv-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.mmv-hero .mm-bouton { background: var(--laiton-clair); border-color: var(--laiton-clair); color: var(--encre); }
.mmv-hero .mm-bouton:hover { background: #fff; border-color: #fff; color: var(--encre); }
.mmv-hero__prix { font-size: 19px; font-weight: 800; white-space: nowrap; }
.mmv-hero__fleches { position: absolute; z-index: 3; left: var(--marge); bottom: calc(var(--marge) + 22px); display: flex; gap: 8px; }
.mmv-hero__fleches button { width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 19px; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s, color .2s; }
.mmv-hero__fleches button:hover { background: #fff; color: var(--encre); }
.mmv-hero__barre { position: absolute; z-index: 3; left: var(--marge); right: var(--marge); bottom: var(--marge); height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.mmv-hero__barre span { display: block; width: 0; height: 100%; background: var(--laiton-clair); }
.mmv-curseur--hero { width: 148px; height: 148px; margin: -74px 0 0 -74px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
@media (min-width: 701px) {
	.mmv-hero__voile { height: 58%; background: linear-gradient(to top, rgba(20, 16, 12, .7), rgba(20, 16, 12, .32) 45%, transparent); }
	.mmv-hero__texte { bottom: calc(var(--marge) + 30px); }
	.mmv-hero__fleches { left: auto; right: var(--marge); bottom: calc(var(--marge) + 30px); }
}

/* 5.7.2 Essaie le look : la roue de tenues */
.mmv-looks { padding: clamp(56px, 8vw, 104px) 0 clamp(20px, 2vw, 24px); overflow: hidden; }
.mmv-looks__tete { display: grid; gap: 14px; margin-bottom: 12px; }
.mmv-looks__phrase { max-width: 44ch; margin: 0; color: var(--encre-doux); }
.mmv-looks__corps { display: grid; gap: 20px; }
.mmv-roue-cadre { position: relative; height: 62vh; min-height: 420px; max-height: 760px; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: grab; }
.mmv-roue-cadre.est-tenu { cursor: grabbing; }
@media (hover: hover) { .mmv-roue-cadre { cursor: none; } }
.mmv-roue { position: absolute; inset: 0; }
.mmv-tenue { position: absolute; left: 50%; bottom: 7%; height: 84%; transform-origin: 50% 100%; will-change: transform, filter; cursor: pointer; }
.mmv-tenue img { width: auto; height: 100%; max-width: none; pointer-events: none; -webkit-user-drag: none; }
.mmv-tenue::after { content: ""; position: absolute; z-index: -1; left: 12%; right: 12%; bottom: -2.5%; height: 5%; background: radial-gradient(closest-side, rgba(29, 24, 20, .28), transparent); }
.mmv-tenue__etiq { position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); padding: 7px 11px; border-radius: 999px; background: var(--encre); color: var(--sable-clair); font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: .04em; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.mmv-tenue.est-actif .mmv-tenue__etiq { opacity: 1; }
.mmv-roue-fl { position: absolute; z-index: 300; bottom: 10px; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--encre); color: var(--sable-clair); font-size: 19px; line-height: 1; cursor: pointer; transition: background-color .2s; }
.mmv-roue-fl:hover { background: var(--laiton-fonce); }
.mmv-roue-fl--gauche { left: var(--marge); }
.mmv-roue-fl--droite { right: var(--marge); }
.mmv-curseur--roue { z-index: 290; background: rgba(29, 24, 20, .88); color: var(--sable-clair); transition: opacity .25s, width .15s, height .15s, margin .15s; }
.mmv-roue-cadre.est-tenu .mmv-curseur--roue { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
.mmv-dans-look { display: grid; gap: 12px; align-content: center; margin: 0 var(--marge); padding: 22px 20px; border-radius: 22px; background: var(--encre); color: var(--sable); }
.mmv-dans-look .mmv-petit { color: rgba(244, 238, 228, .62); }
.mmv-dans-look .mmv-petit b { color: var(--sable-clair); }
.mmv-dans-look ul { margin: 0; padding: 0; list-style: none; }
.mmv-dans-look li { border-bottom: 1px solid rgba(244, 238, 228, .14); }
.mmv-dans-look li a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15px; font-weight: 600; color: var(--sable-clair); }
.mmv-dans-look li a:hover .mmv-ligne__nom { text-decoration: underline; text-underline-offset: 3px; }
.mmv-ligne__vign { flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: 10px; background: var(--sable-clair); }
.mmv-ligne__vign img { width: 100%; height: 100%; object-fit: contain; }
.mmv-ligne__nom { flex: 1; min-width: 0; line-height: 1.3; }
.mmv-ligne__prix { font-size: 14px; font-weight: 800; white-space: nowrap; }
/* Palette : la photo du look change de couleur en fondu (la nouvelle image passe par-dessus, puis prend la place) */
.mmv-tenue .mmv-tenue__fondu { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.mmv-dans-look li { display: flex; align-items: center; gap: 10px; }
.mmv-dans-look li a { flex: 1; min-width: 0; }
.mmv-ligne__nom .mmv-ligne__prix { display: block; margin-top: 3px; color: rgba(244, 238, 228, .78); }
.mmv-palette { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 112px; padding: 9px 0; }
.mmv-palette button { position: relative; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(244, 238, 228, .35); cursor: pointer; transition: transform .2s; }
.mmv-palette button::after { content: ""; position: absolute; inset: -4px; border: 2px solid transparent; border-radius: 50%; transition: border-color .2s; }
.mmv-palette button:hover { transform: scale(1.12); }
.mmv-palette button[aria-checked="true"]::after { border-color: var(--sable-clair); }
.mmv-palette button:focus-visible { outline: 2px solid var(--laiton); outline-offset: 4px; }
[data-look-total].est-bientot { font-size: 18px; font-style: italic; }
.mmv-dans-look__bouton.est-bientot { opacity: .55; }
.mmv-look-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 2px; font-size: 14px; color: rgba(244, 238, 228, .75); }
.mmv-look-total b { font-family: var(--titre); font-size: 30px; font-weight: 700; color: var(--laiton-clair); white-space: nowrap; }
.mmv-dans-look__bouton { width: 100%; background: var(--laiton-clair); border-color: var(--laiton-clair); color: var(--encre); }
.mmv-dans-look__bouton:hover { background: var(--sable-clair); border-color: var(--sable-clair); color: var(--encre); }
.mmv-dans-look .mmv-msg { color: var(--laiton-clair); }
.mmv-dans-look .mmv-msg a { color: var(--sable-clair); }
@media (min-width: 900px) {
	.mmv-looks__tete { grid-template-columns: 1fr 1fr; align-items: end; }
	.mmv-looks__corps { grid-template-columns: minmax(0, 1fr) 380px; gap: 0; align-items: stretch; max-width: 1600px; margin-inline: auto; }
	.mmv-roue-cadre { height: min(76vh, 760px); }
	.mmv-roue-fl { top: 50%; bottom: auto; transform: translateY(-50%); width: 50px; height: 50px; }
	.mmv-dans-look { margin: 0 var(--marge) 0 0; }
}

/* 5.7.3 Le portant : pièces de profil qui se tournent de face au survol ; clic = la fiche */
.mmv-portant { padding: clamp(32px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.mmv-portant__tete { display: grid; gap: 14px; margin-bottom: 40px; }
.mmv-portant__tete p { max-width: 46ch; margin: 0; color: var(--encre-doux); }
.mmv-portant-cadre { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.mmv-portant-cadre::-webkit-scrollbar { display: none; }
.mmv-tringle { position: absolute; left: 0; top: 13px; width: 100%; min-width: 100%; height: 6px; border-radius: 4px; background: linear-gradient(#ebe6dc, #bdb4a4 45%, #8f8676); box-shadow: 0 2px 3px rgba(29, 24, 20, .14); }
.mmv-cintres { position: relative; display: flex; width: max-content; padding: 0 calc(50vw - 40px); }
.mmv-piece { position: relative; z-index: 1; flex: none; cursor: pointer; transform-origin: 50% 0; perspective: 1100px; scroll-snap-align: center; outline: none; }
.mmv-piece .mmv-vue { position: absolute; top: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; pointer-events: none; }
.mmv-piece .mmv-vue img { display: block; width: 100%; height: 100%; max-width: none; -webkit-user-drag: none; -webkit-user-select: none; user-select: none; }
.mmv-piece .mmv-face { visibility: hidden; opacity: 0; filter: drop-shadow(0 22px 24px rgba(29, 24, 20, .16)); }
.mmv-piece .mmv-profil { filter: drop-shadow(0 12px 12px rgba(29, 24, 20, .1)); }
/* Superposition : la pièce montrée passe toujours devant celle qui se retourne, quel que soit le côté d'où vient la souris. */
.mmv-piece.est-repart { z-index: 4; }
.mmv-piece.est-devant { z-index: 6; }
.mmv-piece__nom { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 8px; white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 1.2; opacity: 0; transition: opacity .25s; }
.mmv-piece__nom b { font-weight: 800; }
.mmv-piece.est-nomme .mmv-piece__nom { opacity: 1; }
.mmv-piece:focus-visible .mmv-profil { outline: 2px solid var(--laiton); }
/* Sous le portant qui défile (téléphone, tablette) : « Fais glisser » et trois flèches qui s'allument vers la droite ;
   s'efface dès qu'on a fait glisser. */
.mmv-glisse { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-doux); transition: opacity .5s; }
.mmv-glisse[hidden] { display: none; }
/* Barre de défilement dessinée sous le portant (21/11) : toujours visible quand il y a trop de pièces, même là où le
   navigateur cache la sienne (Mac, iPhone) ; on peut la tirer. */
.mmv-barre-defile { display: none; position: relative; height: 6px; margin: 14px var(--marge) 0; border-radius: 6px; background: rgba(29, 24, 20, .12); cursor: pointer; touch-action: none; }
.mmv-barre-defile::before { content: ""; position: absolute; inset: -10px 0; }
.mmv-barre-defile span { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: 6px; background: var(--laiton); }
.mmv-portant.a-defile .mmv-barre-defile { display: block; }
.mmv-glisse.est-vu { opacity: 0; }
.mmv-glisse__fleches { display: inline-flex; gap: 2px; }
.mmv-glisse__fleches i { width: 9px; height: 9px; border-top: 2px solid var(--laiton); border-right: 2px solid var(--laiton); transform: rotate(45deg); opacity: .2; animation: mmv-glisse 1.5s ease-in-out infinite; }
.mmv-glisse__fleches i:nth-child(2) { animation-delay: .2s; }
.mmv-glisse__fleches i:nth-child(3) { animation-delay: .4s; }
@keyframes mmv-glisse { 0%, 70%, 100% { opacity: .2; transform: rotate(45deg) translate(0, 0); } 35% { opacity: 1; transform: rotate(45deg) translate(2px, -2px); } }
@media (prefers-reduced-motion: reduce) { .mmv-glisse__fleches i { animation: none; opacity: .8; } }
@media (min-width: 900px) {
	.mmv-glisse { display: none; }
	.mmv-portant__tete { grid-template-columns: 1fr 1fr; align-items: end; }
	.mmv-portant-cadre { display: flex; }
	.mmv-tringle { left: 5%; width: 90%; min-width: 0; }
	.mmv-cintres { margin: 0 auto; padding: 0; }
	/* Trop de pièces pour l'écran : le portant défile, avec une barre en bas (21/11, comme sur téléphone) ; on peut
	   aussi le faire glisser à la souris. */
	.mmv-portant.a-defile .mmv-portant-cadre { cursor: grab; }
	.mmv-portant.a-defile .mmv-portant-cadre.est-tenu { cursor: grabbing; scroll-snap-type: none; }
	.mmv-portant.a-defile .mmv-tringle { left: 0; }
	.mmv-portant.a-defile .mmv-cintres { padding: 0 var(--marge); }
	.mmv-portant.a-defile .mmv-glisse { display: flex; }
	.mmv-portant__tete .mmv-ecriteau { grid-column: 2; }
}
/* L'écriteau « Clique sur un article pour changer de couleur » : une petite pancarte qui pend à un fil et se balance */
.mmv-ecriteau { justify-self: start; position: relative; padding: 24px 0 0; border: 0; background: none; color: var(--encre); font: inherit; cursor: pointer; transform-origin: 50% 0; animation: mmv-balance 4.5s ease-in-out infinite; }
.mmv-ecriteau__fil { position: absolute; left: 50%; top: 0; width: 44%; height: 30px; transform: translateX(-50%); border: 1.5px solid var(--laiton); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.mmv-ecriteau__fil::before { content: ""; position: absolute; left: 50%; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--laiton); transform: translateX(-50%); }
.mmv-ecriteau__carte { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid rgba(162, 123, 51, .55); border-radius: 12px; background: var(--sable-clair); box-shadow: 0 12px 24px -14px rgba(29, 24, 20, .5); font-size: 14px; font-weight: 700; line-height: 1.3; text-align: left; transition: transform .25s var(--doux), box-shadow .25s; }
.mmv-ecriteau:hover .mmv-ecriteau__carte { transform: translateY(2px); box-shadow: 0 16px 28px -14px rgba(29, 24, 20, .55); }
.mmv-ecriteau:focus-visible .mmv-ecriteau__carte { outline: 2px solid var(--laiton); outline-offset: 3px; }
.mmv-ecriteau__points { display: inline-flex; flex: none; }
.mmv-ecriteau__points i { width: 14px; height: 14px; margin-right: -4px; border-radius: 50%; box-shadow: 0 0 0 2px var(--sable-clair); }
.mmv-ecriteau__points i:nth-child(1) { background: #262626; }
.mmv-ecriteau__points i:nth-child(2) { background: #8c857a; }
.mmv-ecriteau__points i:nth-child(3) { background: #bcd2e6; margin-right: 0; }
@keyframes mmv-balance { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@media (prefers-reduced-motion: reduce) { .mmv-ecriteau { animation: none; } }

/* La fiche (s'ouvre depuis le portant) : au-dessus de l'en-tête, sous le panier */
.mmv-fiche { --flou: 0px; position: fixed; z-index: 80; inset: 0; display: grid; grid-template-rows: auto 1fr auto; visibility: hidden; background: rgba(244, 238, 228, 0); -webkit-backdrop-filter: blur(var(--flou)); backdrop-filter: blur(var(--flou)); }
.mmv-fiche.est-ouverte { visibility: visible; }
.mmv-fiche__fermer { z-index: 3; justify-self: end; height: 44px; margin: 12px var(--marge) 0; padding: 0 18px; border: 0; border-radius: 999px; background: var(--encre); color: var(--sable-clair); font-family: var(--texte); font-size: 14px; font-weight: 700; cursor: pointer; }
.mmv-fiche__scene { position: relative; min-height: 0; perspective: 1600px; }
.mmv-carte { position: absolute; transform-style: preserve-3d; will-change: transform; }
.mmv-cote { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.mmv-cote--dos { transform: rotateY(180deg); visibility: hidden; }
/* Safari ne cache pas toujours la face arrière (ombres portées) : le script montre l'une ou l'autre face au milieu du retournement. */
.mmv-carte.est-dos .mmv-cote--dos { visibility: visible; }
.mmv-carte.est-dos .mmv-cote--devant { visibility: hidden; }
.mmv-cote img { position: absolute; top: 0; max-width: none; filter: drop-shadow(0 26px 30px rgba(29, 24, 20, .18)); }
.mmv-cote .mmv-nouv { opacity: 0; filter: none; } /* pas d'ombre sur la couleur qui monte : son ombre, coupée au bord de l'image par le masque, dessinait un rectangle (21/11) */
.mmv-etiquettes { position: absolute; z-index: 2; width: 0; height: 0; }
.mmv-etiquettes .mmv-fils { position: absolute; left: 0; top: 0; width: 160px; height: 120px; max-width: none; overflow: visible; pointer-events: none; } /* max-width : sinon la règle générale des svg (100 % d'une boîte de largeur 0) cache les fils dans Chrome */
.mmv-etiquettes .mmv-fils line { stroke: var(--encre); stroke-width: 1.2; }
.mmv-etiquette { position: absolute; width: 30px; height: 58px; padding: 0; border: 0; border-radius: 3px; background: var(--c); transform: rotate(var(--a)); transform-origin: 50% 6px; clip-path: polygon(28% 0, 72% 0, 100% 18%, 100% 100%, 0 100%, 0 18%); box-shadow: inset 0 0 0 1px rgba(29, 24, 20, .18); cursor: pointer; }
.mmv-etiquette i { position: absolute; left: 50%; top: 6px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--sable-clair); box-shadow: inset 0 0 0 1px rgba(29, 24, 20, .25); }
.mmv-etiquette span { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); font-size: 10px; font-weight: 800; color: var(--encre); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.mmv-etiquette.est-actif { outline: 2px solid var(--encre); outline-offset: 2px; }
.mmv-etiquette.est-actif span, .mmv-etiquette:hover span { opacity: 1; }
.mmv-etiquette::after { content: ""; position: absolute; inset: -10px -8px; }
.mmv-fiche__fl { position: absolute; z-index: 3; top: 46%; transform: translateY(-50%); width: 48px; height: 48px; padding: 0; border: 1px solid var(--trait); border-radius: 50%; background: var(--sable-clair); color: var(--encre); font-size: 19px; line-height: 1; cursor: pointer; box-shadow: 0 4px 18px rgba(29, 24, 20, .08); }
.mmv-fiche__fl--gauche { left: var(--marge); }
.mmv-fiche__fl--droite { right: var(--marge); }
.mmv-fiche__info { display: grid; gap: 10px; justify-items: center; padding: 24px var(--marge) calc(16px + env(safe-area-inset-bottom)); text-align: center; background: linear-gradient(to top, var(--sable) 80%, rgba(244, 238, 228, 0)); }
.mmv-fiche__nom { margin: 0; font-family: var(--titre); font-size: clamp(28px, 7vw, 44px); font-weight: 700; line-height: 1; text-transform: uppercase; }
.mmv-fiche__prix { margin: 0; font-size: 19px; font-weight: 800; }
.mmv-fiche__boutons { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 20px; }
.mmv-fiche .mmv-msg { color: var(--laiton-fonce); }
.mmv-bascule { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--trait); border-radius: 999px; background: var(--sable-clair); }
.mmv-bascule button { position: relative; z-index: 1; width: 92px; height: 36px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--encre); font-family: var(--texte); font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: color .3s; }
.mmv-bascule button.est-actif { color: var(--sable-clair); }
.mmv-bascule__fond { position: absolute; left: 4px; top: 4px; width: 92px; height: 36px; border-radius: 999px; background: var(--encre); transition: transform .45s cubic-bezier(.6, 0, .2, 1); }
.mmv-bascule.est-dos .mmv-bascule__fond { transform: translateX(92px); }
.mmv-clone-vol { position: fixed; z-index: 85; max-width: none; pointer-events: none; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(29, 24, 20, .18)); }
/* Téléphone : les couleurs sont des pastilles sous le vêtement (les étiquettes à fils le rapetissaient et sortaient de
   l'écran) ; la scène monte jusqu'en haut, à côté de « Fermer », pour que le vêtement soit plus grand. */
.mmv-fiche__palette { display: none; }
@media (max-width: 700px) {
	.mmv-etiquettes { display: none; }
	.mmv-fiche__scene { grid-row: 1 / 3; grid-column: 1; }
	.mmv-fiche__fermer { grid-row: 1; grid-column: 1; }
	.mmv-fiche__info { grid-column: 1; gap: 8px; padding-top: 14px; }
	.mmv-fiche__palette { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 4px 0 6px; }
	.mmv-fiche__palette[hidden] { display: none; }
	.mmv-fiche__palette button { position: relative; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(29, 24, 20, .22); cursor: pointer; }
	.mmv-fiche__palette button::before { content: ""; position: absolute; inset: -7px; }
	.mmv-fiche__palette button::after { content: ""; position: absolute; inset: -5px; border: 2px solid transparent; border-radius: 50%; transition: border-color .2s; }
	.mmv-fiche__palette button[aria-checked="true"]::after { border-color: var(--encre); }
}
@media (min-width: 900px) {
	.mmv-fiche__info { gap: 12px; padding-top: 10px; padding-bottom: 24px; background: none; }
}

/* 5.7.4 Le mur des montres (repris du mur de baskets de Bloc) : la photo prend toute la largeur (ordinateur)
   ou toute la hauteur et on glisse de côté (téléphone). « monde » = le mur entier, que la caméra agrandit. */
.mmv-mur { display: grid; gap: 14px; padding: clamp(40px, 6vw, 72px) 0 40px; }
.mmv-mur-cadre { position: relative; overflow: hidden; background: var(--sable-fonce); }
.mmv-mur-vue { position: relative; height: min(74svh, 620px); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.mmv-mur-vue::-webkit-scrollbar { display: none; }
.mmv-mur-vue.est-bloque { overflow: hidden; }
.mmv-mur-monde { position: relative; transform-origin: 0 0; }
.mmv-mur-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; -webkit-user-drag: none; -webkit-user-select: none; user-select: none; pointer-events: none; }
/* le mur prolongé en miroir à gauche et à droite (ordinateur) : pendant le zoom sur une niche du bord, on ne voit jamais la fin de la photo */
.mmv-mur-rallonge { display: none; position: absolute; top: 0; width: 100%; height: 100%; max-width: none; transform: scaleX(-1); pointer-events: none; }
.mmv-mur-rallonge--gauche { right: calc(100% - 3px); }
.mmv-mur-rallonge--droite { left: calc(100% - 3px); }
.mmv-niche { position: absolute; display: block; padding: 0; border: 0; background: none; cursor: pointer; outline: none; }
.mmv-niche img { position: absolute; max-width: none; -webkit-user-drag: none; -webkit-user-select: none; user-select: none; pointer-events: none; }
.mmv-niche__fond { inset: 0; width: 100%; height: 100%; }
.mmv-lueur { position: absolute; opacity: 0; transition: opacity .35s; background: radial-gradient(90% 75% at 50% 0%, rgba(255, 236, 214, .75), rgba(255, 236, 214, 0) 75%); mix-blend-mode: screen; pointer-events: none; }
.mmv-lueur::after { content: ""; position: absolute; left: 3%; right: 3%; bottom: -3px; height: 3px; border-radius: 3px; background: var(--laiton-clair); box-shadow: 0 0 8px 2px rgba(220, 196, 143, .95), 0 4px 18px 4px rgba(220, 196, 143, .5); }
.mmv-niche.est-allume .mmv-lueur, .mmv-niche:focus-visible .mmv-lueur { opacity: 1; }
/* l'ombre de contact est dessinée sur la pierre dans les photos du mur (outils/preparer_mur.py) ; celle-ci reste légère */
.mmv-ombre { position: absolute; height: 6%; margin-top: -3%; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 45, 25, .18), rgba(70, 45, 25, 0)); transition: opacity .5s, transform .5s; pointer-events: none; }
.mmv-montre { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.mmv-niche.est-allume .mmv-montre { transform: translateY(-3%); }
.mmv-niche.est-sortie .mmv-montre { visibility: hidden; }
.mmv-niche.est-flotte .mmv-ombre { opacity: .55; transform: scaleX(.82); }
.mmv-mur-cadre.est-pres .mmv-mur-monde { cursor: zoom-out; }
.mmv-mur-cadre.est-pres .mmv-niche { cursor: pointer; }
.mmv-mur-3d { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; visibility: hidden; }
.mmv-mur-3d.est-on { visibility: visible; }
@media (hover: none) { .mmv-mur-3d.est-on { pointer-events: auto; touch-action: pan-y; } }
.mmv-mur-tete { position: absolute; z-index: 3; left: var(--marge); top: 22px; right: var(--marge); display: grid; gap: 6px; pointer-events: none; }
.mmv-mur-tete .mm-surtitre { margin: 0; }
.mmv-mur-tete .mmv-grand-titre { font-size: clamp(40px, 9vw, 64px); }
.mmv-mur-tete p { max-width: 34ch; margin: 0; font-size: 15px; color: var(--encre-doux); }
.mmv-mur-glisse { position: absolute; z-index: 3; right: 12px; bottom: 12px; padding: 9px 14px; border-radius: 999px; background: rgba(251, 248, 243, .94); font-size: 13px; font-weight: 700; line-height: 1; pointer-events: none; }
/* la fiche, posée sur le gros plan */
.mmv-mur-fiche { position: absolute; z-index: 4; inset: 0; visibility: hidden; pointer-events: none; }
.mmv-mur-fiche.est-on { visibility: visible; }
.mmv-mur-fiche button, .mmv-mur-fiche a, .mmv-mur-info { pointer-events: auto; }
.mmv-mur-retour { position: absolute; left: 12px; top: 12px; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--sable-clair); color: var(--encre); font-family: var(--texte); font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(29, 24, 20, .1); }
.mmv-mur-fl { position: absolute; top: 12px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--sable-clair); color: var(--encre); font-size: 17px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(29, 24, 20, .1); }
.mmv-mur-fl--gauche { right: 60px; }
.mmv-mur-fl--droite { right: 12px; }
.mmv-mur-info { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; padding: 30px var(--marge) 12px; background: linear-gradient(to top, var(--sable-clair) 82%, rgba(251, 248, 243, 0)); }
.mmv-mur-info > .mmv-petit, .mmv-mur-info__boutons, .mmv-mur-astuce, .mmv-mur-info .mmv-msg { grid-column: 1 / -1; justify-self: start; }
.mmv-mur-info h3 { margin: 0; font-family: var(--titre); font-size: clamp(26px, 8vw, 44px); font-weight: 700; line-height: .95; text-transform: uppercase; }
.mmv-mur-prix { justify-self: end; margin: 0; font-family: var(--titre); font-size: 30px; font-weight: 700; line-height: 1; white-space: nowrap; }
.mmv-mur-info__boutons { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.mmv-mur-astuce { margin: 0; font-size: 13px; color: var(--encre-doux); }
.mmv-mur-astuce.mmv-sur-tel { display: none; }
@media (hover: none) { .mmv-mur-astuce.mmv-sur-ordi { display: none; } .mmv-mur-astuce.mmv-sur-tel { display: block; } }
.mmv-mur-info .mmv-msg { color: var(--laiton-fonce); }
.mmv-mur-pied { display: grid; gap: 10px; padding: 0 var(--marge); }
.mmv-mur-statut { min-height: 1.3em; margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.mmv-mur-statut b { font-weight: 800; }
.mmv-mur-index { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.mmv-mur-index::-webkit-scrollbar { display: none; }
.mmv-vig { flex: none; display: grid; justify-items: center; gap: 4px; width: 64px; padding: 8px 6px 6px; border: 2px solid transparent; border-radius: 10px; background: var(--sable-fonce); color: var(--encre-doux); font-family: var(--texte); font-size: 11px; font-weight: 700; line-height: 1; cursor: pointer; transition: border-color .2s, background-color .2s; }
.mmv-vig img { width: 100%; height: 36px; object-fit: contain; }
.mmv-vig.est-actif { border-color: var(--encre); background: var(--sable-clair); color: var(--encre); }
@media (hover: hover) { .mmv-vig:hover { background: var(--sable-clair); } }
@media (min-width: 701px) {
	.mmv-mur-vue { height: auto; aspect-ratio: var(--mur-ratio, 16 / 9); overflow: hidden; }
	.mmv-mur-rallonge { display: block; }
	.mmv-mur-glisse { display: none; }
	/* le titre tient dans la bande de mur vide au-dessus de la 1re rangée de niches (23 % de la hauteur) */
	.mmv-mur-tete { left: 4.5%; top: 3.6%; right: auto; gap: 4px; }
	.mmv-mur-tete .mmv-grand-titre { font-size: clamp(38px, 4.2vw, 80px); }
	.mmv-mur-tete p { max-width: none; white-space: nowrap; }
	/* gros plan : --haut et --hvis = début et hauteur de la partie du mur visible à l'écran (écrits par le script).
	   Comme sur Bloc : la fiche en haut à droite, au niveau du haut de la niche ; les flèches au niveau de la lumière du bas. */
	.mmv-mur-retour { top: calc(var(--haut, 0px) + 12px); }
	.mmv-mur-fl { top: calc(var(--haut, 0px) + var(--hvis, 100%) * .73 - 24px); width: 48px; height: 48px; font-size: 18px; }
	.mmv-mur-fl--gauche { right: auto; left: 18px; }
	.mmv-mur-fl--droite { right: auto; left: 74px; }
	.mmv-mur-info { left: auto; right: 3%; top: calc(var(--haut, 0px) + var(--hvis, 100%) * .05); bottom: auto; width: min(32%, 400px); grid-template-columns: 1fr; gap: 12px; padding: 26px; border-radius: 16px; background: rgba(251, 248, 243, .94); box-shadow: 0 18px 50px -20px rgba(29, 24, 20, .35); }
	.mmv-mur-prix { justify-self: start; }
	.mmv-mur-pied { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
	.mmv-mur-index { justify-content: flex-end; }
}
@media (min-width: 701px) and (max-width: 1099px) {
	/* tablette : la bande vide au-dessus des niches est trop basse pour la phrase, on garde le titre seul */
	.mmv-mur-tete p { display: none; }
}
@media (max-width: 700px) {
	/* Téléphone (Ibrahim, 20/11) : le titre et la phrase au-dessus du mur, la bulle « Glisse… » en dessous : plus rien sur les montres.
	   Le cadre devient une grille de 3 lignes ; la toile 3D reste sur tout le cadre (le script mesure la montre par rapport au cadre),
	   la fiche du gros plan reste sur le mur seul (ligne 2). */
	.mmv-mur-cadre { display: grid; grid-template-columns: minmax(0, 1fr); background: none; }
	.mmv-mur-tete { position: relative; inset: auto; grid-row: 1; padding: 0 var(--marge) 14px; }
	.mmv-mur-vue { grid-row: 2; background: var(--sable-fonce); }
	.mmv-mur-glisse { position: relative; inset: auto; grid-row: 3; justify-self: end; margin: 10px var(--marge) 0; }
	.mmv-mur-fiche { grid-row: 2; grid-column: 1; }
}

/* ---------- 6. Cartes produit et rayons ---------- */
.mm ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; margin: 0; padding: 0; list-style: none; }
.mm ul.products::before, .mm ul.products::after { content: none; }
@media (min-width: 768px) { .mm ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; } }
@media (min-width: 1100px) { .mm ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 26px; } }

.mm-carte { position: relative; min-width: 0; }
.mm-carte__lien { display: block; }
.mm-carte__image { position: relative; display: block; }
.mm-carte__seconde { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
@media (hover: hover) { .mm-carte__lien:hover .mm-carte__seconde { opacity: 1; } }
.mm-carte__texte { display: block; padding: 12px 2px 0; }
.mm-carte__rayon { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--laiton-fonce); }
.mm-carte__nom { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; }
.mm-carte__prix { display: block; margin-top: 5px; font-size: 15px; font-weight: 600; color: inherit; opacity: .86; }
.mm-carte__prix del { margin-right: 6px; opacity: .55; font-weight: 500; }
.mm-carte__prix ins { text-decoration: none; font-weight: 800; }
.mm-carte__lien:hover .mm-carte__nom { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (min-width: 768px) { .mm-carte__nom { font-size: 16px; } .mm-carte__prix { font-size: 16px; } }

/* Ajout rapide : le rond « + » posé en bas à droite de la photo (la marge en % suit la largeur de la carte). */
.mm .mm-carte .mm-ajout { position: absolute; z-index: 3; right: 10px; top: 0; margin-top: calc(125% - 54px); width: 44px; min-width: 0; height: 44px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: var(--sable-clair); color: transparent; font-size: 0; box-shadow: 0 6px 18px -8px rgba(29, 24, 20, .6); }
.mm .mm-carte .mm-ajout::before { content: ""; width: 20px; height: 20px; background: var(--encre); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--doux); }
.mm .mm-carte .mm-ajout:hover { background: var(--encre); }
.mm .mm-carte .mm-ajout:hover::before { background: var(--sable); transform: rotate(90deg); }
.mm .mm-carte .mm-ajout.loading::before { animation: mm-tourne .8s linear infinite; }
.mm .mm-carte .mm-ajout.added { background: var(--laiton-fonce); }
.mm .mm-carte .mm-ajout.added::before { background: #fff; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.mm .mm-carte .added_to_cart { display: none; }
.mm-univers__carte .mm-cadre, .mm-carte .mm-cadre { transition: box-shadow .3s; }
@keyframes mm-tourne { to { transform: rotate(360deg); } }

/* Rayons */
.mm-boutique { padding-block: 18px clamp(56px, 8vw, 110px); }
.mm-fil { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 18px; font-size: 13px; font-weight: 600; color: var(--encre-doux); }
.mm-fil a:hover { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.mm-fil__sep { opacity: .5; }
.mm .woocommerce-products-header { margin-bottom: 22px; }
.mm .woocommerce-products-header__title { font-family: var(--titre); font-size: clamp(40px, 10vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.mm-rayon-photo { margin: 0 0 22px; overflow: hidden; border-radius: var(--rayon); background: var(--sable-fonce); box-shadow: var(--ombre); aspect-ratio: 4 / 3; }
.mm-rayon-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 700px) { .mm-rayon-photo { aspect-ratio: 12 / 5; margin-bottom: 28px; } }
@media (min-width: 1200px) { .mm-rayon-photo { aspect-ratio: 3 / 1; } }
.mm .term-description, .mm .page-description { max-width: 640px; margin-top: 14px; color: var(--encre-doux); }
.mm-pastilles { margin: 0 calc(var(--marge) * -1) 18px; }
.mm-pastilles__piste { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--marge); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mm-pastilles__piste::-webkit-scrollbar { display: none; }
.mm-pastille { flex: none; padding: 10px 18px; border: 1px solid var(--trait-fort); border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; background: rgba(251, 248, 243, .6); transition: background-color .2s, color .2s, border-color .2s; }
.mm-pastille:hover { border-color: var(--encre); }
.mm-pastille.est-actif { background: var(--encre); border-color: var(--encre); color: var(--sable-clair); }
.mm .woocommerce-ordering { display: flex; justify-content: flex-end; margin: 0 0 22px; }
.mm .woocommerce-ordering select { width: auto; min-height: 44px; padding-block: 8px; font-size: 14px; font-weight: 600; }
.mm .woocommerce-pagination { margin-top: 48px; text-align: center; }
.mm .woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mm .woocommerce-pagination .page-numbers:not(ul) { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--trait-fort); border-radius: 999px; font-weight: 700; }
.mm .woocommerce-pagination .current { background: var(--encre); border-color: var(--encre); color: var(--sable-clair); }
.mm .woocommerce-no-products-found { padding: 30px 0; }

/* ---------- 7. Fiche produit ---------- */
.mm div.product { position: relative; display: grid; gap: 26px; }
.mm div.product > .onsale { position: absolute; left: 12px; top: 12px; z-index: 6; padding: 6px 13px; border-radius: 999px; background: var(--laiton-fonce); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mm .woocommerce-product-gallery { position: relative; min-width: 0; margin: 0 calc(var(--marge) * -1); }
.mm .woocommerce-product-gallery__wrapper { margin: 0; }
.mm .woocommerce-product-gallery__image { background: var(--sable-fonce); }
.mm .woocommerce-product-gallery__image a { display: block; }
.mm .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.mm .woocommerce-product-gallery .flex-viewport { background: var(--sable-fonce); }
.mm .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 8px; margin: 10px 0 0; padding: 0 var(--marge) 4px; overflow-x: auto; scrollbar-width: none; }
.mm .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar { display: none; }
.mm .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 64px; }
.mm .woocommerce-product-gallery .flex-control-thumbs img { display: block; width: 64px; height: 80px; object-fit: cover; border-radius: 10px; opacity: .5; cursor: pointer; transition: opacity .2s; background: var(--sable-fonce); }
.mm .woocommerce-product-gallery .flex-control-thumbs img.flex-active, .mm .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.mm .woocommerce-product-gallery .flex-control-thumbs img.flex-active { box-shadow: 0 0 0 2px var(--sable), 0 0 0 3.5px var(--encre); }
.mm .woocommerce-product-gallery__trigger { position: absolute; right: 12px; top: 12px; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(251, 248, 243, .92); font-size: 0; color: transparent; box-shadow: 0 6px 18px -8px rgba(29, 24, 20, .5); }
.mm .woocommerce-product-gallery__trigger::before { content: ""; width: 20px; height: 20px; background: var(--encre); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.2'/%3E%3Cpath d='M20 20l-4.4-4.4M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.2'/%3E%3Cpath d='M20 20l-4.4-4.4M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / contain no-repeat; }
.mm .woocommerce-product-gallery__trigger img { display: none !important; }

.mm div.product .summary { min-width: 0; }
.mm .product_title { font-family: var(--titre); font-size: clamp(34px, 8.6vw, 50px); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.mm div.product .summary p.price { margin: 12px 0 0; font-size: 22px; font-weight: 800; color: var(--encre); }
.mm div.product .summary .price del { margin-right: 8px; font-weight: 500; opacity: .5; }
.mm div.product .summary .price ins { text-decoration: none; }
.mm .woocommerce-product-details__short-description { margin-top: 16px; color: var(--encre-doux); }
.mm .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.mm div.product .stock { margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--laiton-fonce); }
.mm div.product .stock.out-of-stock { color: var(--alerte); }

.mm div.product form.cart { margin: 22px 0 0; }
.mm div.product form.cart:not(.variations_form), .mm .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.mm div.product form.cart > *:not(.quantity):not(.single_add_to_cart_button):not(input[type="hidden"]) { flex: 1 1 100%; }
.mm .single_add_to_cart_button { flex: 1 1 180px; min-height: 56px; font-size: 16px; }
.mm table.variations { width: 100%; margin: 0 0 16px; border-collapse: collapse; }
.mm table.variations tr { display: block; margin-bottom: 14px; }
.mm table.variations tr:last-child { margin-bottom: 0; }
.mm table.variations th, .mm table.variations td { display: block; padding: 0; text-align: left; }
.mm table.variations th label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mm table.variations .mm-choix-valeur { margin-left: 8px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--encre-doux); }
.mm .reset_variations { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--encre-doux); text-decoration: underline; text-underline-offset: 3px; }
/* Couleur de l'article (pastilles rondes, inc/couleurs.php) ; une couleur sans prix : « Prix bientôt disponible » */
.mm-couleurs { margin: 0 0 22px; }
.mm-couleurs__titre { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mm-couleurs__titre strong { margin-left: 8px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--encre-doux); }
.mm-couleurs__choix { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-couleurs__choix button { position: relative; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(29, 24, 20, .22); cursor: pointer; transition: transform .2s; }
.mm-couleurs__choix button::after { content: ""; position: absolute; inset: -5px; border: 2px solid transparent; border-radius: 50%; transition: border-color .2s; }
.mm-couleurs__choix button:hover { transform: scale(1.06); }
.mm-couleurs__choix button[aria-checked="true"]::after { border-color: var(--encre); }
.mm-couleurs__choix button:focus-visible { outline: 2px solid var(--laiton); outline-offset: 6px; }
.mm-bientot { margin: 14px 0 0; padding: 12px 16px; border: 1px solid var(--trait-fort); border-radius: 14px; font-weight: 600; }
.mm-bientot-prix { font-family: var(--titre); font-weight: 600; font-style: italic; }
.mm .summary form.cart[hidden], .mm table.variations tr[hidden], .mm.a-couleur-sans-prix .mm-barre-achat { display: none; }
.mm div.product.a-couleurs .reset_variations { display: none !important; }
.mm-carte__couleurs { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 7px; }
.mm-carte__couleurs i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(29, 24, 20, .25); }
.mm-carte__couleurs span { margin-left: 3px; font-size: 13px; color: var(--encre-doux); }
.mm-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-choix button { min-width: 54px; min-height: 50px; padding: 8px 16px; border: 1px solid var(--trait-fort); border-radius: 14px; background: rgba(251, 248, 243, .7); font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.mm-choix button:hover { border-color: var(--encre); }
.mm-choix button.est-choisi { background: var(--encre); border-color: var(--encre); color: var(--sable-clair); }
.mm-choix button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
/* Pas encore de taille : le bouton reste normal (il avait l'air éteint) ; un clic secoue les tailles + « Choisis ta taille ». */
.mm .single_add_to_cart_button.wc-variation-selection-needed { opacity: 1; cursor: pointer; }
.mm-choix.est-a-choisir { animation: mm-secoue .5s ease-in-out; }
.mm-choix.est-a-choisir button:not(:disabled):not(.est-choisi) { border-color: var(--laiton); box-shadow: 0 0 0 3px rgba(162, 123, 51, .22); }
.mm-choix-msg { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--laiton-fonce); }
@keyframes mm-secoue { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .mm-choix.est-a-choisir { animation: none; } }
.mm .a-des-choix select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mm .woocommerce-variation { margin-bottom: 14px; }
.mm .woocommerce-variation:empty, .mm .woocommerce-variation[style*="none"] { margin: 0; }
.mm .reset_variations[style*="hidden"] { display: none; }
.mm div.product .summary .woocommerce-variation-price .price { display: block; font-size: 20px; font-weight: 800; }
.mm .woocommerce-variation-description p { margin: 0 0 8px; color: var(--encre-doux); }

/* Quantité */
.mm div.quantity { display: inline-flex; align-items: center; flex: none; height: 56px; border: 1px solid var(--trait-fort); border-radius: 999px; background: rgba(251, 248, 243, .7); }
.mm div.quantity .qty { width: 44px; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: center; font-size: 16px; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.mm div.quantity .qty::-webkit-outer-spin-button, .mm div.quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mm div.quantity .mm-qte { display: grid; place-items: center; width: 42px; height: 100%; padding: 0; border: 0; background: none; font-size: 22px; font-weight: 500; line-height: 1; cursor: pointer; }
.mm div.quantity:not(.a-des-boutons) .qty { width: 72px; }
.mm div.quantity.hidden, .mm div.quantity:has(input[type="hidden"]) { display: none; }

.mm-rassure { display: grid; gap: 0; margin: 22px 0 0; border-top: 1px solid var(--trait); }
.mm-rassure li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--trait); font-size: 14px; font-weight: 600; line-height: 1.35; }
.mm-rassure .mm-icone { color: var(--laiton-fonce); }

/* Volets (description, informations, avis) */
.mm-volets { margin-top: 26px; border-top: 1px solid var(--trait-fort); }
.mm-volet { border-bottom: 1px solid var(--trait-fort); }
.mm-volet summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 800; cursor: pointer; list-style: none; }
.mm-volet summary::-webkit-details-marker { display: none; }
.mm-volet summary .mm-icone { transition: transform .3s var(--doux); }
.mm-volet[open] summary .mm-icone { transform: rotate(180deg); }
.mm-volet__corps { padding: 0 0 20px; color: var(--encre-doux); font-size: 15.5px; overflow-wrap: anywhere; }
.mm-volet__corps > *:last-child { margin-bottom: 0; }
.mm-volet__corps h2, .mm-volet__corps h3, .mm-volet__corps h4 { margin: 18px 0 8px; font-size: 17px; font-weight: 800; color: var(--encre); }
.mm-volet__corps ul { margin: 0 0 1em; }
.mm-volet__corps ul li { position: relative; padding: 4px 0 4px 20px; }
.mm-volet__corps ul li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 6px; height: 6px; background: var(--laiton); transform: rotate(45deg); }
.mm-volet__corps strong, .mm-volet__corps b { color: var(--encre); }
.mm-volet__corps a { text-decoration: underline; text-underline-offset: 3px; }
.mm table.shop_attributes { width: 100%; border-collapse: collapse; font-size: 15px; }
.mm table.shop_attributes th, .mm table.shop_attributes td { padding: 10px 0; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: top; }
.mm table.shop_attributes th { width: 40%; padding-right: 14px; font-weight: 700; color: var(--encre); }
.mm table.shop_attributes p { margin: 0; }
.mm table.shop_attributes tr:last-child th, .mm table.shop_attributes tr:last-child td { border-bottom: 0; }

/* Avis */
.mm .star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.2em; overflow: hidden; font-size: 15px; line-height: 1.2; letter-spacing: .08em; color: var(--laiton); }
.mm .star-rating::before { content: "★★★★★"; position: absolute; left: 0; top: 0; opacity: .25; }
.mm .star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; padding-top: 1.2em; }
.mm .star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; }
.mm p.stars { margin: 0 0 12px; }
.mm p.stars a { position: relative; display: inline-block; width: 34px; height: 34px; font-size: 0; }
.mm p.stars a::before { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: var(--laiton); opacity: .3; }
.mm p.stars:hover a::before, .mm p.stars.selected a::before { opacity: 1; }
.mm p.stars a:hover ~ a::before, .mm p.stars.selected a.active ~ a::before { opacity: .3; }
.mm #reviews .commentlist li { padding: 14px 0; border-bottom: 1px solid var(--trait); }
.mm #reviews .avatar { display: none; }
.mm #reviews .comment-reply-title { display: block; margin-bottom: 10px; font-weight: 800; color: var(--encre); }
.mm #reviews .comment-form > p { margin-bottom: 14px; }

/* Produits proches */
.mm div.product > section.products { margin-top: clamp(30px, 6vw, 80px); }
.mm div.product > section.products > h2 { margin-bottom: clamp(20px, 3vw, 34px); font-family: var(--titre); font-size: clamp(32px, 7.6vw, 48px); font-weight: 600; }

@media (min-width: 900px) {
	/* La photo tient dans l'écran ; elle défile avec la page (elle ne reste plus collée : elle passait sur « Vous aimerez aussi »). */
	.mm div.product { --galerie: clamp(420px, calc(100vh - var(--entete) - 150px), 640px); grid-template-columns: minmax(0, var(--galerie)) minmax(0, 1fr); column-gap: clamp(40px, 7vw, 120px); align-items: start; }
	.mm div.product.a-photo-haute { --galerie: clamp(360px, calc((100vh - var(--entete) - 190px) * .667), 560px); }
	.mm .woocommerce-product-gallery { margin: 0; }
	.mm .woocommerce-product-gallery .flex-viewport, .mm .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child { border-radius: 24px; overflow: hidden; }
	.mm .woocommerce-product-gallery .flex-control-thumbs { padding-inline: 0; flex-wrap: wrap; overflow: visible; }
	.mm .woocommerce-product-gallery .flex-control-thumbs li { flex-basis: 76px; }
	.mm .woocommerce-product-gallery .flex-control-thumbs img { width: 76px; height: 95px; }
	.mm div.product .summary { max-width: 620px; padding-top: 8px; }
	.mm div.product > section.products, .mm div.product > .onsale ~ section { grid-column: 1 / -1; }
}

/* Barre d'achat collée en bas (téléphone) */
.mm-barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 14px; padding: 10px var(--marge) calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 248, 243, .96); border-top: 1px solid var(--trait); box-shadow: 0 -14px 34px -22px rgba(29, 24, 20, .5); transform: translateY(110%); transition: transform .35s var(--doux); }
.mm-barre-achat.est-visible { transform: none; }
.mm-barre-achat__texte { flex: 1; min-width: 0; line-height: 1.3; }
.mm-barre-achat__texte strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; }
.mm-barre-achat__texte span { font-size: 14px; font-weight: 700; color: var(--encre-doux); }
.mm-barre-achat .mm-bouton { min-height: 48px; padding-inline: 26px; }
@media (min-width: 900px) { .mm-barre-achat { display: none; } }
.mm.a-barre-achat .mm-pied { padding-bottom: 84px; }
@media (min-width: 900px) { .mm.a-barre-achat .mm-pied { padding-bottom: 0; } }

/* ---------- 8. Formulaires et messages ---------- */
.mm input[type="text"], .mm input[type="email"], .mm input[type="tel"], .mm input[type="password"], .mm input[type="number"], .mm input[type="search"], .mm input[type="url"], .mm input[type="date"], .mm select, .mm textarea {
	width: 100%; min-height: 52px; padding: 12px 16px;
	border: 1px solid var(--trait-fort); border-radius: 14px;
	background: var(--sable-clair); color: var(--encre);
	font-family: var(--texte); font-size: 16px; font-weight: 500; line-height: 1.4;
	-webkit-appearance: none; appearance: none; box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.mm textarea { min-height: 120px; resize: vertical; }
.mm select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1814' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; cursor: pointer; }
.mm input:focus, .mm select:focus, .mm textarea:focus { outline: 0; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(162, 123, 51, .28); }
.mm input::placeholder, .mm textarea::placeholder { color: rgba(95, 85, 74, .75); }
.mm input[type="checkbox"], .mm input[type="radio"] { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: -4px; accent-color: var(--encre); }
.mm .form-row { margin: 0 0 16px; padding: 0; }
.mm .form-row label { display: block; margin-bottom: 7px; line-height: 1.35; }
.mm .form-row label.checkbox, .mm .form-row label.woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 2px; font-weight: 600; }
.mm .form-row .required { color: var(--alerte); text-decoration: none; }
.mm .form-row .optional { font-weight: 500; color: var(--encre-doux); }
.mm .form-row.woocommerce-invalid input, .mm .form-row.woocommerce-invalid select { border-color: var(--alerte); }
.mm .form-row .description, .mm .checkout-inline-error-message { display: block; margin-top: 6px; font-size: 13px; color: var(--encre-doux); }
.mm .checkout-inline-error-message { color: var(--alerte); font-weight: 600; }
.mm .woocommerce-input-wrapper { display: block; }
.mm .password-input { position: relative; display: block; }
.mm .show-password-input { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.mm .show-password-input::before { content: ""; position: absolute; inset: 9px; background: var(--encre-doux); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-6.5 10-6.5S22 12 22 12s-3.6 6.5-10 6.5S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-6.5 10-6.5S22 12 22 12s-3.6 6.5-10 6.5S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 600px) {
	.mm .form-row-first, .mm .form-row-last { float: left; width: calc(50% - 8px); }
	.mm .form-row-last { float: right; }
	.mm .form-row-wide, .mm .woocommerce-billing-fields__field-wrapper::after, .mm .woocommerce-shipping-fields__field-wrapper::after, .mm .woocommerce-address-fields__field-wrapper::after, .mm form .clear { clear: both; }
	.mm .woocommerce-billing-fields__field-wrapper::after, .mm .woocommerce-shipping-fields__field-wrapper::after, .mm .woocommerce-address-fields__field-wrapper::after, .mm .woocommerce-form::after, .mm .woocommerce-EditAccountForm::after { content: ""; display: table; clear: both; }
}
/* Listes déroulantes avec recherche (pays, etc.) */
.mm .select2-container .select2-selection--single { display: flex; align-items: center; height: 52px; margin: 0; border: 1px solid var(--trait-fort); border-radius: 14px; background: var(--sable-clair); }
.mm .select2-container .select2-selection--single .select2-selection__rendered { flex: 1; min-width: 0; padding: 0 42px 0 16px; line-height: 1.4; color: var(--encre); font-size: 16px; }
.mm .select2-container .select2-selection--single .select2-selection__arrow { top: 0; right: 12px; height: 100%; }
.select2-dropdown { border-color: rgba(29, 24, 20, .28) !important; border-radius: 12px !important; overflow: hidden; font-family: "Manrope", system-ui, sans-serif; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: #1d1814 !important; }

/* Messages de la boutique */
.mm .woocommerce-notices-wrapper:empty { display: none; }
.mm .woocommerce-message, .mm .woocommerce-info, .mm .woocommerce-error, .mm .woocommerce-noreviews, .mm p.no-comments, .mm .wc-block-components-notice-banner {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
	margin: 0 0 20px; padding: 14px 18px; list-style: none;
	border: 1px solid var(--trait); border-left: 4px solid var(--laiton); border-radius: 14px;
	background: var(--sable-clair); font-size: 15px; font-weight: 600; line-height: 1.45;
}
.mm .woocommerce-error { border-left-color: var(--alerte); }
.mm .woocommerce-error li { flex: 1 1 100%; }
.mm .woocommerce-message .button, .mm .woocommerce-info .button, .mm .woocommerce-error .button { order: 2; min-height: 40px; margin-left: auto; padding: 8px 18px; font-size: 14px; }
.mm .woocommerce-message a:not(.button), .mm .woocommerce-info a:not(.button), .mm .woocommerce-error a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.mm .woocommerce-message:focus, .mm .woocommerce-info:focus, .mm .woocommerce-error:focus { outline: 0; }
.mm .blockUI.blockOverlay { background: rgba(244, 238, 228, .6) !important; opacity: 1 !important; border-radius: inherit; }
.mm .blockUI.blockOverlay::before { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 2.5px solid var(--trait-fort); border-top-color: var(--encre); border-radius: 50%; animation: mm-tourne .8s linear infinite; }
.mm .woocommerce-password-strength { margin-top: 8px; font-size: 13px; font-weight: 700; }
.mm .woocommerce-password-hint { display: block; margin-top: 4px; font-size: 13px; color: var(--encre-doux); }

/* ---------- 9. Panier, paiement, compte ---------- */
.mm-page { padding-block: clamp(26px, 5vw, 64px) clamp(56px, 8vw, 110px); }
.mm-page__tete { margin-bottom: clamp(22px, 3.4vw, 40px); }
.mm table.shop_table { width: 100%; max-width: 100%; border-collapse: collapse; font-size: 15px; }
.mm table.shop_table td.product-name { overflow-wrap: anywhere; }
.mm table.shop_table th, .mm table.shop_table td { padding: 13px 0; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: top; }
.mm table.shop_table th { font-weight: 700; }
.mm table.shop_table td:last-child, .mm table.shop_table th:last-child { text-align: right; }
.mm table.shop_table tfoot th, .mm table.shop_table tfoot td { font-weight: 700; }
.mm .order-total .amount, .mm .cart_totals .order-total .amount { font-size: 20px; font-weight: 800; }
.mm .product-name .variation, .mm .wc-item-meta { margin: 4px 0 0; font-size: 13px; font-weight: 500; color: var(--encre-doux); }
.mm .product-name .variation dt, .mm .product-name .variation dd, .mm .wc-item-meta li > * { display: inline; margin: 0; }
.mm .product-name .variation dd p, .mm .wc-item-meta p { display: inline; margin: 0; }

/* Panier */
.mm .woocommerce-cart-form table.cart thead { display: none; }
.mm .woocommerce-cart-form table.cart, .mm .woocommerce-cart-form table.cart tbody { display: block; }
.mm .woocommerce-cart-form tr.cart_item { position: relative; display: grid; grid-template-columns: 92px 1fr auto; grid-template-areas: "photo nom nom" "photo prix prix" "photo quantite total"; column-gap: 16px; row-gap: 6px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.mm .woocommerce-cart-form tr.cart_item td { display: block; padding: 0; border: 0; text-align: left; }
.mm .woocommerce-cart-form td.product-thumbnail { grid-area: photo; align-self: start; }
.mm .woocommerce-cart-form td.product-thumbnail img { display: block; width: 92px; height: 115px; object-fit: cover; border-radius: 14px; background: var(--sable-fonce); }
.mm .woocommerce-cart-form td.product-name { grid-area: nom; padding-right: 40px; font-weight: 700; line-height: 1.35; }
.mm .woocommerce-cart-form td.product-price { grid-area: prix; font-size: 14px; color: var(--encre-doux); }
.mm .woocommerce-cart-form td.product-quantity { grid-area: quantite; }
.mm .woocommerce-cart-form td.product-quantity div.quantity { height: 44px; }
.mm .woocommerce-cart-form td.product-subtotal { grid-area: total; text-align: right; font-weight: 800; }
.mm .woocommerce-cart-form td.product-remove { position: absolute; right: -6px; top: 12px; z-index: 2; }
.mm .woocommerce-cart-form a.remove { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--encre-doux) !important; }
.mm .woocommerce-cart-form a.remove:hover { background: var(--sable-fonce); color: var(--alerte) !important; }
.mm .woocommerce-cart-form td.actions { display: grid; gap: 12px; padding: 20px 0 0; border: 0; text-align: left; }
.mm .woocommerce-cart-form .coupon { display: flex; flex-wrap: wrap; gap: 8px; }
.mm .woocommerce-cart-form .coupon input { flex: 1 1 170px; min-width: 0; }
.mm .woocommerce-cart-form .coupon .button { flex: 1 1 auto; background: transparent; color: var(--encre); border-color: var(--trait-fort); }
.mm .woocommerce-cart-form .coupon .button:hover { background: var(--encre); color: var(--sable-clair); border-color: var(--encre); }
/* Le total se met à jour tout seul : le bouton « Mettre à jour » ne sert que sans script. */
.mm.mm-js .woocommerce-cart-form button[name="update_cart"] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; opacity: 0; pointer-events: none; }
.mm .cart-collaterals { margin-top: 30px; }
.mm .cart_totals, .mm #order_review, .mm .woocommerce-order-details, .mm .woocommerce-customer-details { padding: 22px 20px; border: 1px solid var(--trait); border-radius: 22px; background: rgba(251, 248, 243, .82); }
.mm .cart_totals > h2, .mm #order_review_heading, .mm .woocommerce-billing-fields > h3, .mm .woocommerce-shipping-fields h3, .mm .woocommerce-additional-fields > h3, .mm .woocommerce-order-details__title, .mm .woocommerce-column__title, .mm .woocommerce-MyAccount-content h2, .mm .woocommerce-MyAccount-content h3, .mm #customer_login h2, .mm .cross-sells > h2 { margin: 0 0 14px; font-family: var(--titre); font-size: 28px; font-weight: 600; line-height: 1.1; }
.mm .cart_totals table.shop_table tr:last-child { border-bottom: 0; }
.mm .wc-proceed-to-checkout { margin-top: 14px; }
.mm .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 58px; font-size: 17px; }
/* Choix de la livraison : une ligne entière, un cadre par transporteur, le bouton du point relais dessous. */
/* Les tableaux de total (panier et paiement) sont affichés en lignes souples : la ligne « Expédition »
   peut ainsi prendre toute la largeur. */
.mm .cart_totals table.shop_table, .mm .cart_totals table.shop_table > tbody, .mm table.woocommerce-checkout-review-order-table, .mm table.woocommerce-checkout-review-order-table > thead, .mm table.woocommerce-checkout-review-order-table > tbody, .mm table.woocommerce-checkout-review-order-table > tfoot { display: block; }
.mm .cart_totals table.shop_table tr, .mm table.woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; gap: 4px 18px; border-bottom: 1px solid var(--trait); }
.mm .cart_totals table.shop_table tr > *, .mm table.woocommerce-checkout-review-order-table tr > * { display: block; width: auto; border-bottom: 0; }
.mm .cart_totals table.shop_table tr > :first-child, .mm table.woocommerce-checkout-review-order-table tr > :first-child { flex: 1 1 auto; min-width: 0; padding-right: 0; text-align: left; }
.mm .cart_totals table.shop_table tr > :last-child, .mm table.woocommerce-checkout-review-order-table tr > :last-child { flex: 0 1 auto; min-width: 0; text-align: right; }
.mm .cart_totals table.shop_table tr.woocommerce-shipping-totals, .mm table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { display: block; }
.mm .cart_totals table.shop_table tr.woocommerce-shipping-totals > *, .mm table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > * { text-align: left; }
.mm table.shop_table tr.woocommerce-shipping-totals > th { padding-bottom: 8px; }
.mm table.shop_table tr.woocommerce-shipping-totals > td { padding-top: 0; }
.mm ul#shipping_method li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px 10px; align-items: start; margin-bottom: 8px; padding: 12px 14px; border: 1px solid var(--trait-fort); border-radius: 14px; background: var(--sable-clair); text-align: left; }
.mm ul#shipping_method li > input { margin: 2px 0 0; }
.mm ul#shipping_method li > label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; font-weight: 600; line-height: 1.4; cursor: pointer; }
.mm ul#shipping_method li > label img { width: auto; max-width: 90px; max-height: 26px; }
.mm ul#shipping_method li > *:not(input):not(label) { grid-column: 1 / -1; min-width: 0; }
.mm ul#shipping_method li > *:not(input):not(label) { margin: 0; }
.mm ul#shipping_method li .button, .mm ul#shipping_method li button { width: 100%; max-width: 100%; min-height: 44px; margin: 0; padding: 8px 16px; font-size: 14px; }
.mm .woocommerce-shipping-destination, .mm .woocommerce-shipping-calculator { margin: 8px 0 0; font-size: 13.5px; font-weight: 500; color: var(--encre-doux); }
.mm .shipping-calculator-button { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.mm .shipping-calculator-form { margin-top: 12px; text-align: left; }
.mm .cart-empty { justify-content: center; margin-top: 20px; padding: 36px 20px; border: 0; background: none; font-family: var(--titre); font-size: 28px; font-weight: 600; text-align: center; }
.mm .return-to-shop { text-align: center; }
.mm .cross-sells { margin-bottom: 30px; }
@media (min-width: 1000px) {
	.mm.woocommerce-cart .mm-page__corps > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: clamp(36px, 5vw, 72px); align-items: start; }
	.mm.woocommerce-cart .mm-page__corps > .woocommerce > * { grid-column: 1 / -1; }
	.mm.woocommerce-cart .mm-page__corps > .woocommerce > .woocommerce-cart-form { grid-column: 1; }
	.mm.woocommerce-cart .mm-page__corps > .woocommerce > .cart-collaterals { grid-column: 2; margin-top: 0; position: sticky; top: calc(var(--entete) + 20px); }
	.mm .woocommerce-cart-form tr.cart_item { grid-template-columns: 110px minmax(0, 1fr) auto auto; grid-template-areas: "photo nom quantite total" "photo prix quantite total"; column-gap: 24px; }
	.mm .woocommerce-cart-form td.product-thumbnail img { width: 110px; height: 138px; }
	.mm .woocommerce-cart-form td.product-name { padding-right: 0; align-self: end; font-size: 17px; }
	.mm .woocommerce-cart-form td.product-price { align-self: start; }
	.mm .woocommerce-cart-form td.product-subtotal { min-width: 96px; padding-right: 44px; font-size: 17px; }
	.mm .woocommerce-cart-form td.product-remove { top: 50%; transform: translateY(-50%); }
	.mm .woocommerce-cart-form td.actions { grid-template-columns: minmax(0, 420px) auto; justify-content: space-between; }
}

/* Paiement */
.mm .woocommerce-form-coupon-toggle .woocommerce-info, .mm .woocommerce-form-login-toggle .woocommerce-info { font-weight: 600; }
.mm form.checkout_coupon, .mm form.woocommerce-form-login:not(#customer_login form) { margin: 0 0 20px; padding: 20px; border: 1px solid var(--trait); border-radius: 18px; background: rgba(251, 248, 243, .82); }
.mm form.checkout_coupon { display: grid; gap: 10px; }
.mm form.checkout_coupon .form-row { float: none; width: auto; margin: 0; }
.mm form.checkout { display: grid; gap: 26px; }
.mm #customer_details { display: grid; gap: 26px; min-width: 0; }
.mm #customer_details .col-1, .mm #customer_details .col-2 { float: none; width: auto; min-width: 0; }
.mm #order_review_heading { margin: 0 0 -12px; }
.mm #order_review { min-width: 0; }
.mm .woocommerce-checkout-review-order-table .product-name { font-weight: 600; }
.mm .woocommerce-checkout-review-order-table .product-quantity { font-weight: 800; white-space: nowrap; }
.mm #payment { margin-top: 18px; }
.mm #payment ul.payment_methods { margin: 0 0 16px; }
.mm #payment ul.payment_methods > li { padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--trait-fort); border-radius: 16px; background: var(--sable-clair); }
.mm #payment ul.payment_methods > li > label { display: inline; font-size: 15px; cursor: pointer; }
.mm #payment ul.payment_methods > li > label img { max-height: 24px; width: auto; margin-left: 6px; vertical-align: middle; }
.mm #payment .payment_box { margin-top: 12px; font-size: 14px; color: var(--encre-doux); }
.mm #payment .payment_box p:last-child { margin-bottom: 0; }
.mm #payment .payment_box fieldset { margin: 0; padding: 0; border: 0; }
.mm .woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; font-size: 14px; color: var(--encre-doux); }
.mm .woocommerce-terms-and-conditions-wrapper a, .mm .woocommerce-privacy-policy-text a { text-decoration: underline; text-underline-offset: 3px; }
.mm #place_order { width: 100%; min-height: 60px; font-size: 17px; }
.mm #ship-to-different-address { margin: 0 0 14px; font-family: var(--texte); font-size: 15px; }
.mm #ship-to-different-address label { display: flex; align-items: center; font-weight: 700; cursor: pointer; }
@media (min-width: 1000px) {
	.mm form.checkout { grid-template-columns: minmax(0, 1fr) 440px; grid-template-areas: "client titre" "client recap"; grid-template-rows: auto 1fr; column-gap: clamp(36px, 5vw, 72px); row-gap: 14px; align-items: start; }
	.mm form.checkout > * { grid-column: 1 / -1; }
	.mm form.checkout > #customer_details { grid-area: client; }
	.mm form.checkout > #order_review_heading { grid-area: titre; margin: 0; }
	.mm form.checkout > #order_review { grid-area: recap; position: sticky; top: calc(var(--entete) + 20px); }
}
/* Commande reçue */
.mm .woocommerce-thankyou-order-received { font-family: var(--titre); font-size: clamp(26px, 6vw, 36px); font-weight: 600; line-height: 1.15; }
.mm ul.order_details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 26px; }
.mm ul.order_details li { padding: 14px 16px; border: 1px solid var(--trait); border-radius: 16px; background: rgba(251, 248, 243, .82); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-doux); }
.mm ul.order_details li strong { display: block; margin-top: 4px; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--encre); overflow-wrap: anywhere; }
.mm .woocommerce-order-details, .mm .woocommerce-customer-details { margin-bottom: 22px; }
.mm .woocommerce-customer-details address { font-style: normal; line-height: 1.6; }
.mm .woocommerce-columns--addresses { display: grid; gap: 20px; }
@media (min-width: 700px) { .mm .woocommerce-columns--addresses { grid-template-columns: 1fr 1fr; } }

/* Mon compte */
.mm .woocommerce-MyAccount-navigation { margin: 0 calc(var(--marge) * -1) 24px; }
.mm .woocommerce-MyAccount-navigation ul { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--marge); scrollbar-width: none; }
.mm .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.mm .woocommerce-MyAccount-navigation a { display: block; padding: 10px 18px; border: 1px solid var(--trait-fort); border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; background: rgba(251, 248, 243, .6); }
.mm .woocommerce-MyAccount-navigation .is-active a { background: var(--encre); border-color: var(--encre); color: var(--sable-clair); }
.mm .woocommerce-MyAccount-content { min-width: 0; }
.mm .woocommerce-MyAccount-content > p a, .mm .woocommerce-MyAccount-content address + a, .mm .woocommerce-Address-title a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.mm .woocommerce-MyAccount-content fieldset { margin: 22px 0; padding: 18px; border: 1px solid var(--trait); border-radius: 16px; }
.mm .woocommerce-MyAccount-content legend { padding: 0 8px; font-weight: 800; }
.mm .woocommerce-MyAccount-content address { font-style: normal; }
.mm .woocommerce-Addresses { display: grid; gap: 20px; }
.mm .woocommerce-Address { padding: 20px; border: 1px solid var(--trait); border-radius: 18px; background: rgba(251, 248, 243, .82); }
.mm .woocommerce-orders-table { display: block; }
.mm .woocommerce-orders-table thead { display: none; }
.mm .woocommerce-orders-table tbody, .mm .woocommerce-orders-table tr { display: block; }
.mm .woocommerce-orders-table tr { margin-bottom: 14px; padding: 6px 18px; border: 1px solid var(--trait); border-radius: 18px; background: rgba(251, 248, 243, .82); }
.mm .woocommerce-orders-table td, .mm .woocommerce-orders-table th[scope="row"] { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; text-align: right; }
.mm .woocommerce-orders-table td::before, .mm .woocommerce-orders-table th[scope="row"]::before { content: attr(data-title); font-weight: 700; text-align: left; color: var(--encre-doux); }
.mm .woocommerce-orders-table tr > *:last-child { border-bottom: 0; }
.mm .woocommerce-orders-table .button { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.mm #customer_login { display: grid; gap: 22px; }
.mm #customer_login .u-column1, .mm #customer_login .u-column2, .mm.woocommerce-account:not(.logged-in) .mm-page__corps > .woocommerce > form, .mm.woocommerce-account:not(.logged-in) .mm-page__corps > .woocommerce > h2 + form, .mm .woocommerce-ResetPassword, .mm form.track_order { float: none; width: auto; padding: 24px 20px; border: 1px solid var(--trait); border-radius: 22px; background: rgba(251, 248, 243, .82); }
.mm.woocommerce-account:not(.logged-in) .mm-page__corps > .woocommerce { max-width: 980px; margin-inline: auto; }
.mm.woocommerce-account:not(.logged-in) .mm-page__corps > .woocommerce > h2 { margin-bottom: 14px; font-family: var(--titre); font-size: 30px; }
.mm .woocommerce-form-login .woocommerce-form-login__submit, .mm .woocommerce-form-register .woocommerce-form-register__submit { width: 100%; margin-top: 6px; }
.mm .form-row label.woocommerce-form-login__rememberme { display: flex; align-items: center; margin-bottom: 12px; font-weight: 600; }
.mm .woocommerce-LostPassword, .mm .lost_password { margin: 14px 0 0; font-size: 14px; }
.mm .woocommerce-LostPassword a, .mm .lost_password a { text-decoration: underline; text-underline-offset: 3px; }
.mm .woocommerce-privacy-policy-text { font-size: 13px; color: var(--encre-doux); }
@media (min-width: 900px) {
	.mm #customer_login { grid-template-columns: 1fr 1fr; align-items: start; }
	.mm.logged-in.woocommerce-account .mm-page__corps > .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
	.mm .woocommerce-MyAccount-navigation { margin: 0; position: sticky; top: calc(var(--entete) + 20px); }
	.mm .woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; padding: 0; overflow: visible; }
	.mm .woocommerce-MyAccount-navigation a { border-color: transparent; background: none; border-radius: 12px; font-size: 15px; white-space: normal; }
	.mm .woocommerce-MyAccount-navigation a:hover { background: var(--sable-fonce); }
	.mm .woocommerce-Addresses { grid-template-columns: 1fr 1fr; }
}

/* ---------- 10. Pages de texte ---------- */
.mm-page--texte { max-width: 860px; }
.mm-texte { font-size: 16.5px; overflow-wrap: break-word; }
.mm-page--texte .mm-texte { color: #3d352d; }
.mm-texte h1, .mm-texte h2 { margin: 1.5em 0 .5em; font-family: var(--titre); font-size: clamp(26px, 6vw, 34px); font-weight: 600; color: var(--encre); }
.mm-texte h3, .mm-texte h4 { margin: 1.4em 0 .5em; font-size: 18px; font-weight: 800; color: var(--encre); }
.mm-texte > :first-child { margin-top: 0; }
.mm-texte p a, .mm-texte li a { text-decoration: underline; text-underline-offset: 3px; }
.mm-page--texte .mm-texte ul:not([class]), .mm-page--texte .mm-texte ol:not([class]) { margin: 0 0 1em; padding-left: 22px; list-style: revert; }
.mm-texte table:not(.shop_table):not(.variations) { width: 100%; border-collapse: collapse; }
.mm-texte table:not(.shop_table):not(.variations) td, .mm-texte table:not(.shop_table):not(.variations) th { padding: 10px; border: 1px solid var(--trait); text-align: left; }
.mm-articles li a { display: block; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.mm-articles strong { display: block; font-family: var(--titre); font-size: 26px; }
.mm-articles span { color: var(--encre-doux); }
.mm-introuvable { text-align: left; padding-block: clamp(60px, 12vw, 140px); }
.mm-introuvable .mm-titre { margin-bottom: 18px; }
.mm form.track_order p:first-child { color: var(--encre-doux); }
.mm form.track_order .button { width: 100%; }

/* Contact */
.mm-contact { display: grid; gap: 34px; }
.mm-contact__phrase { max-width: 460px; margin: 18px 0 20px; color: var(--encre-doux); }
.mm-contact .mm-liste a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--trait-fort); }
.mm-contact__formulaire { padding: 24px 20px; border: 1px solid var(--trait); border-radius: 22px; background: rgba(251, 248, 243, .82); }
.mm-contact div.wpforms-container-full { margin: 0; }
.mm-contact div.wpforms-container-full .wpforms-form .wpforms-field { padding: 0 0 16px; }
.mm-contact div.wpforms-container-full .wpforms-form .wpforms-field-label { margin-bottom: 7px; font-size: 14px; font-weight: 700; color: var(--encre); }
.mm-contact div.wpforms-container-full .wpforms-form .wpforms-field-sublabel { font-size: 12.5px; color: var(--encre-doux); }
.mm-contact div.wpforms-container-full .wpforms-form input[type="text"], .mm-contact div.wpforms-container-full .wpforms-form input[type="email"], .mm-contact div.wpforms-container-full .wpforms-form input[type="tel"], .mm-contact div.wpforms-container-full .wpforms-form select, .mm-contact div.wpforms-container-full .wpforms-form textarea { max-width: none; height: auto; min-height: 52px; padding: 12px 16px; border: 1px solid var(--trait-fort); border-radius: 14px; background: var(--sable-clair); color: var(--encre); font-family: var(--texte); font-size: 16px; }
.mm-contact div.wpforms-container-full .wpforms-form textarea { min-height: 150px; }
.mm-contact div.wpforms-container-full .wpforms-form input:focus, .mm-contact div.wpforms-container-full .wpforms-form textarea:focus { border-color: var(--encre); box-shadow: 0 0 0 3px rgba(162, 123, 51, .28); }
.mm-contact div.wpforms-container-full .wpforms-form button[type="submit"] { width: 100%; min-height: 56px; padding: 12px 30px; border: 1px solid var(--encre); border-radius: 999px; background: var(--encre); color: var(--sable-clair); font-family: var(--texte); font-size: 16px; font-weight: 700; }
.mm-contact div.wpforms-container-full .wpforms-form button[type="submit"]:hover { background: var(--laiton-fonce); border-color: var(--laiton-fonce); }
.mm-contact div.wpforms-container-full .wpforms-form .wpforms-submit-container { padding: 4px 0 0; }
.mm-contact .wpforms-confirmation-container-full { margin: 0; border: 0; border-left: 4px solid var(--laiton); border-radius: 14px; background: var(--sable-clair); color: var(--encre); }
@media (min-width: 900px) {
	.mm-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
	.mm-contact__formulaire { padding: 36px; }
}

/* ---------- 11. Bas de page ---------- */
.mm-infolettre { padding-block: 0 clamp(44px, 6vw, 80px); }
.mm-infolettre__carte { position: relative; display: grid; gap: 22px; width: calc(100% - 2 * var(--marge)); max-width: calc(1360px - 2 * var(--marge)); padding: clamp(28px, 5vw, 60px) clamp(22px, 5vw, 64px); border: 1px solid rgba(162, 123, 51, .35); border-radius: 30px; overflow: hidden; background: linear-gradient(120deg, rgba(251, 248, 243, .95), rgba(240, 228, 204, .9)); }
.mm-infolettre__carte::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56' fill='none' stroke='%23a27b33' stroke-opacity='.35'%3E%3Crect x='14' y='14' width='28' height='28'/%3E%3Cpath d='M28 8.2L47.8 28 28 47.8 8.2 28z'/%3E%3C/svg%3E") 0 0 / 56px 56px; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 100%); mask-image: linear-gradient(100deg, transparent 30%, #000 100%); }
.mm-infolettre__carte > * { position: relative; }
.mm-infolettre__texte p:last-child { margin: 12px 0 0; color: var(--encre-doux); }
.mm-infolettre .mm-titre { font-size: clamp(30px, 7.4vw, 46px); }
.mm-lettre__ligne { display: grid; gap: 10px; }
.mm-lettre__piege { position: absolute; left: -9999px; }
.mm-lettre__accord { display: flex; align-items: flex-start; margin-top: 12px; font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--encre-doux); cursor: pointer; }
.mm-lettre__accord input { flex: none; margin-top: 1px; }
.mm-lettre__message { min-height: 0; margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.mm-lettre__message.est-erreur { color: var(--alerte); }
.mm-lettre.est-fait .mm-lettre__ligne, .mm-lettre.est-fait .mm-lettre__accord { display: none; }
.mm-lettre.est-fait .mm-lettre__message { font-family: var(--titre); font-size: 24px; font-weight: 600; }
@media (min-width: 560px) { .mm-lettre__ligne { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 900px) { .mm-infolettre__carte { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; } }

.mm-pied { padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--trait); font-size: 15px; }
.mm-pied__grille { display: grid; gap: 34px; }
.mm-pied__marque p { max-width: 320px; margin: 16px 0 0; color: var(--encre-doux); }
.mm-pied__contact { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.mm-pied__contact a, .mm-pied__colonne a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s var(--doux); }
.mm-pied__contact a:hover, .mm-pied__colonne a:hover { background-size: 100% 1px; }
.mm-pied__reseau { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 18px; border: 1px solid var(--trait-fort); border-radius: 999px; font-weight: 700; transition: background-color .2s, color .2s; }
.mm-pied__reseau:hover { background: var(--encre); color: var(--sable); }
.mm-pied__colonne h2 { margin-bottom: 14px; font-family: var(--texte); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--laiton-fonce); }
.mm-pied__colonne li { margin-bottom: 10px; }
.mm-pied__colonne a { font-weight: 600; }
.mm-pied__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: clamp(34px, 5vw, 60px); padding-block: 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--trait); font-size: 13px; color: var(--encre-doux); }
.mm-pied__bas p { margin: 0; }
.mm-pied__paiement { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
@media (min-width: 700px) { .mm-pied__grille { grid-template-columns: 1.5fr 1fr 1fr; } .mm-pied__marque { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .mm-pied__grille { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; } .mm-pied__marque { grid-column: auto; } }

/* ---------- 12. Mouvements ---------- */
/* Les blocs montent doucement à l'arrivée. Sans script, tout reste visible. */
.mm-anime [data-vue] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--doux), transform .7s var(--doux); transition-delay: calc(var(--rang, 0) * 70ms); }
.mm-anime [data-vue].est-vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.mm *, .mm *::before, .mm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.mm-bande__piste { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--marge); }
	.mm-bande__piste > :nth-child(n + 13) { display: none; }
	.mm-anime [data-vue] { opacity: 1; transform: none; }
}
