/* ==========================================================================
   Cake Beauty — identité 2026
   Le logo, la Fraunces et la palette viennent de la maison (logo d'origine, pages Bar Matcha).
   Le site est entièrement blanc. La structure mêle deux références : visuels seuls sur fond uni, tuiles bord à bord
   et apparitions montantes d'un côté ; logo centré, vitrine encadrée, titres à filet, rails de créations,
   bloc éditorial et engagements de l'autre. Le motif au trait est tracé d'après les créations de Romy.
   Chargé après le <style> historique de base.html.
   ========================================================================== */

:root {
  /* Site entièrement blanc : ces quatre fonds valent tous #fff (les visuels produit sont sur blanc pur eux aussi).
     Les blocs se distinguent par un filet, plus par une teinte. Version crème : étiquette git v-creme. */
  --cb-blanc: #ffffff;
  --cb-creme: #ffffff;        /* bandeau, pied de page */
  --cb-fond: #ffffff;         /* fond des packshots */
  --cb-papier: #ffffff;       /* panneaux */
  --cb-encre: #2a2a27;
  --cb-encre2: #55554f;
  --cb-mute: #8c867b;
  --cb-nuit: #101a13;         /* boutons pleins, bande Bar Matcha */
  --cb-or: #b59a6c;
  --cb-or-fonce: #8e7446;     /* l'or, lisible en texte sur blanc */
  --cb-matcha: #5f8f4a;
  --cb-filet: rgba(42, 42, 39, 0.14);
  --cb-h: 104px;              /* hauteur de l'en-tête */
  --cb-gout: clamp(18px, 4.4vw, 60px);
  --cb-f-titre: 'Fraunces', Georgia, 'Times New Roman', serif;
  --cb-f: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --cb-doux: cubic-bezier(0.23, 1, 0.32, 1);
}
@media (max-width: 1079px) {
  :root { --cb-h: 72px; }
}

html { scroll-padding-top: calc(var(--cb-h) + 16px); }

body.mz {
  font-family: var(--cb-f);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cb-encre);
  background: var(--cb-blanc);
}
body.mz main { min-height: 60vh; }
body.mz ::selection { background: var(--cb-or); color: #fff; }
body.mz img { max-width: 100%; }

/* -------------------------------------------------------------------------
   Typographie commune
   ------------------------------------------------------------------------- */
.mz-kicker {
  margin: 0;
  font-family: var(--cb-f);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cb-encre);
}
.mz-kicker--or { color: var(--cb-or-fonce); }
/* titre de section : petites capitales + court filet doré */
.mz-kicker--trait { text-align: center; }
.mz-kicker--trait::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--cb-or);
}
.mz-h {
  margin: 0;
  font-family: var(--cb-f-titre);
  font-variation-settings: 'SOFT' 50;
  font-size: clamp(32px, 4.3vw, 58px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--cb-encre);
  text-wrap: balance;
}
.mz-h em { font-style: italic; font-weight: 300; }
.mz-h--m { font-size: clamp(28px, 3.3vw, 44px); }
.mz-texte { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--cb-encre2); max-width: 46ch; }

.mz-wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--cb-gout); padding-right: var(--cb-gout); }

.mz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px 34px;
  border: 1px solid var(--cb-nuit);
  border-radius: 0;
  background: var(--cb-nuit);
  color: #f6f0e6 !important;
  font: 500 12.5px/1.4 var(--cb-f);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.mz-btn:hover { background: #26352b; border-color: #26352b; }
.mz-btn--clair { background: #fff; border-color: var(--cb-encre); color: var(--cb-encre) !important; }
.mz-btn--clair:hover { background: var(--cb-encre); color: #f6f0e6 !important; }
.mz-btn--filet { background: transparent; border-color: var(--cb-encre); color: var(--cb-encre) !important; }
.mz-btn--filet:hover { background: var(--cb-encre); border-color: var(--cb-encre); color: #f6f0e6 !important; }
.mz-btn--large { width: 100%; }
.mz-btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.mz-lien {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  font: 500 12.5px/1.4 var(--cb-f);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--cb-or-fonce) !important;
  cursor: pointer;
}
.mz-lien svg { overflow: visible; }
.mz-lien svg line,
.mz-lien svg polyline { transition: transform 0.3s ease; }
.mz-lien svg line { transform-box: fill-box; transform-origin: 0 50%; }
.mz-lien:hover svg line { transform: scaleX(1.5); }
.mz-lien:hover svg polyline { transform: translate(10px); }

/* Motif maison : silhouettes des créations, au trait doré */
.mz-motif { position: relative; isolation: isolate; }
.mz-motif::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../images/maison/motif.svg') center top / 720px auto;
  opacity: 0.6;
}

/* -------------------------------------------------------------------------
   En-tête : bandeau crème, logo au centre, menu réparti de part et d'autre
   ------------------------------------------------------------------------- */
.mz-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cb-creme);
  color: var(--cb-encre);
  box-shadow: 0 1px 0 var(--cb-filet);
  transition: box-shadow 0.4s;
}
/* resserré après quelques pixels de défilement ; la marge compense la hauteur perdue pour que la page ne bouge pas */
.mz-header { transition: box-shadow 0.4s, margin-bottom 0.4s var(--cb-doux); }
.mz-header.est-compact { box-shadow: 0 1px 0 var(--cb-filet), 0 10px 30px rgba(16, 26, 19, 0.05); margin-bottom: 26px; }
.mz-header__in {
  height: var(--cb-h);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--cb-gout);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: height 0.4s var(--cb-doux);
}
.mz-header.est-compact .mz-header__in { height: 78px; }
.mz-logo { display: block; line-height: 0; text-decoration: none; }
.mz-logo img { display: block; width: auto; height: 50px; transition: height 0.4s var(--cb-doux); }
.mz-header.est-compact .mz-logo img { height: 40px; }
.mz-nav { display: flex; align-items: center; gap: 30px; min-width: 0; }
.mz-nav--fin { justify-content: flex-end; }
.mz-nav a.mz-nav__lien {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--cb-encre);
  padding: 6px 0;
  background: linear-gradient(var(--cb-or), var(--cb-or)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mz-nav a.mz-nav__lien:hover,
.mz-nav a.mz-nav__lien:focus-visible { background-size: 100% 2px; }
.mz-tools { display: flex; align-items: center; gap: 22px; margin-left: 8px; }
.mz-tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cb-encre);
  cursor: pointer;
}
.mz-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--cb-nuit);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 17px;
  text-align: center;
}
.mz-header__burger {
  display: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cb-encre);
  cursor: pointer;
}
.mz-search {
  display: flex;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--cb-gout) 20px;
}
.mz-search[hidden] { display: none; }
.mz-search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 1px solid var(--cb-encre);
  border-right: 0;
  border-radius: 0;
  background: #fff;
  padding: 0 16px;
  font: 400 15px var(--cb-f);
  color: var(--cb-encre);
  outline: none;
}
.mz-search button {
  height: 48px;
  padding: 0 24px;
  border: 1px solid var(--cb-nuit);
  border-radius: 0;
  background: var(--cb-nuit);
  color: #f6f0e6;
  font: 500 12px var(--cb-f);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (max-width: 1079px) {
  .mz-header__in { gap: 12px; }
  .mz-header.est-compact .mz-header__in { height: 64px; }
  .mz-header.est-compact { margin-bottom: 8px; }
  .mz-header__burger { display: inline-flex; align-items: center; justify-content: center; }
  .mz-nav .mz-nav__lien { display: none; }
  .mz-tool--search { display: none; }
  .mz-logo img { height: 36px; }
  .mz-header.est-compact .mz-logo img { height: 32px; }
  .mz-tools { gap: 18px; margin-left: 0; }
}

/* Tiroir mobile */
.mz-drawer {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: var(--cb-creme);
  color: var(--cb-encre);
  transform: translateX(-100%);
  transition: transform 0.45s var(--cb-doux), visibility 0s 0.45s;
  overflow-y: auto;
  visibility: hidden;
}
.mz-drawer.is-open { transform: translateX(0); visibility: visible; transition: transform 0.45s var(--cb-doux); }
.mz-drawer__top { height: 72px; padding: 0 var(--cb-gout); display: flex; align-items: center; justify-content: space-between; }
.mz-drawer__top img { height: 36px; width: auto; }
.mz-drawer__close {
  width: 40px;
  height: 40px;
  margin-right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: var(--cb-encre);
  cursor: pointer;
}
.mz-drawer__nav { padding: 18px var(--cb-gout) 8px; display: flex; flex-direction: column; }
.mz-drawer__nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--cb-filet);
  font-family: var(--cb-f-titre);
  font-variation-settings: 'SOFT' 50;
  font-size: 27px;
  font-weight: 300;
  line-height: 1.2;
  text-decoration: none;
  color: var(--cb-encre);
}
.mz-drawer__nav a.mz-drawer__petit {
  font-family: var(--cb-f);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 0;
}
.mz-drawer__count {
  display: inline-block;
  min-width: 20px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--cb-nuit);
  color: #fff;
  font: 500 12px/20px var(--cb-f);
  letter-spacing: 0;
  text-align: center;
  vertical-align: 2px;
}
.mz-drawer__search { padding: 24px var(--cb-gout) 40px; }
.mz-drawer__search input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--cb-encre);
  border-radius: 0;
  background: #fff;
  padding: 0 14px;
  font: 400 15px var(--cb-f);
  outline: none;
}
@media (min-width: 1080px) { .mz-drawer { display: none; } }

/* Messages flash : sous l'en-tête, angles droits */
body.mz main > .fixed.top-4 { top: calc(var(--cb-h) + 14px); z-index: 70; }
body.mz .flash-message {
  border-radius: 0;
  border: 1px solid var(--cb-encre);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: opacity 0.3s ease;
}

/* -------------------------------------------------------------------------
   Accueil — vitrine encadrée (diaporama) posée sur le motif
   ------------------------------------------------------------------------- */
.mz-vitrine { padding: clamp(18px, 3vw, 40px) var(--cb-gout) clamp(28px, 4vw, 56px); }
.mz-vitrine__cadre {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  overflow: hidden;
  background: var(--cb-creme);
  box-shadow: 0 0 0 1px var(--cb-filet);
}
.mz-diapo {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  grid-template-columns: 44fr 56fr;
  min-height: min(70vh, 640px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s 0.9s;
}
.mz-diapo.est-actif { opacity: 1; visibility: visible; transition: opacity 0.9s ease; z-index: 1; }
.mz-diapo__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding: clamp(28px, 5vw, 72px) clamp(24px, 4.6vw, 68px) clamp(64px, 7vw, 96px);
}
.mz-diapo__txt .mz-h { font-size: clamp(36px, 4.6vw, 64px); }
.mz-diapo__img { position: relative; overflow: hidden; background: var(--cb-fond); }
.mz-diapo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mz-vitrine__points {
  position: absolute;
  left: clamp(24px, 4.6vw, 68px);
  bottom: clamp(24px, 3vw, 40px);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.mz-vitrine__points button {
  position: relative;
  width: 34px;
  height: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.mz-vitrine__points button::before,
.mz-vitrine__points button::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  height: 2px;
  width: 100%;
  background: rgba(42, 42, 39, 0.22);
}
.mz-vitrine__points button::after { background: var(--cb-encre); width: 0; }
.mz-vitrine__points button.est-actif::after { width: 100%; }
.mz-vitrine.est-auto .mz-vitrine__points button.est-actif::after { animation: cb-progres var(--cb-diapo, 6.5s) linear both; }
.mz-vitrine.est-en-pause .mz-vitrine__points button.est-actif::after { animation-play-state: paused; }
@keyframes cb-progres { from { width: 0; } to { width: 100%; } }
@media (max-width: 899px) {
  .mz-vitrine { padding-left: 14px; padding-right: 14px; }
  .mz-diapo { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
  .mz-diapo__img { order: -1; aspect-ratio: 4 / 3.3; }
  .mz-diapo__txt { gap: 16px; padding: 28px 24px 62px; }
  .mz-vitrine__points { left: 24px; bottom: 26px; }
}

/* -------------------------------------------------------------------------
   Accueil — sections
   ------------------------------------------------------------------------- */
.mz-section { padding: clamp(56px, 8vw, 112px) 0; }
.mz-section--serre { padding-top: clamp(40px, 5vw, 64px); }
.mz-section__tete { display: flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: clamp(30px, 4vw, 52px); padding: 0 var(--cb-gout); text-align: center; }

/* univers : tuiles carrées bord à bord */
.mz-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.mz-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cb-fond);
  color: var(--cb-encre) !important;
  text-decoration: none;
}
.mz-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.mz-tile:hover img { transform: scale(1.1); }
/* filets entre les tuiles, portés par chaque tuile pour apparaître avec elle */
.mz-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-top: 1px solid var(--cb-filet);
  border-bottom: 1px solid var(--cb-filet);
}
.mz-tile + .mz-tile::after { border-left: 1px solid var(--cb-filet); }
/* cartel : petite étiquette claire, comme sous une œuvre */
.mz-tile__label {
  position: absolute;
  left: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 1;
  min-width: min(200px, 70%);
  margin: 0;
  padding: 14px 20px 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--cb-filet);
  color: var(--cb-encre);
  transition: transform 0.5s var(--cb-doux);
}
.mz-tile:hover .mz-tile__label { transform: translateY(-6px); }
.mz-tile__label small { font: 500 11px/1.5 var(--cb-f); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cb-or-fonce); }
.mz-tile__label span {
  align-self: flex-start;
  font-family: var(--cb-f-titre);
  font-variation-settings: 'SOFT' 50;
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 300;
  line-height: 1.15;
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mz-tile:hover .mz-tile__label span { background-size: 100% 1px; }
@media (max-width: 767px) {
  .mz-tiles { grid-template-columns: 1fr; }
  .mz-tile + .mz-tile::after { border-left: 0; border-top: 0; }
  .mz-tile { aspect-ratio: 5 / 4; }
}

/* rail de créations */
.mz-rail { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 var(--cb-gout); }
.mz-rail__piste {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 22px) / 4);
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.mz-rail__piste::-webkit-scrollbar { display: none; }
.mz-rail__piste > * { scroll-snap-align: start; }
.mz-rail__fleche {
  position: absolute;
  top: 34%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--cb-filet);
  background: rgba(255, 255, 255, 0.94);
  color: var(--cb-encre);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s var(--cb-doux);
}
.mz-rail.est-pret .mz-rail__fleche { display: inline-flex; }
.mz-rail__fleche:hover { background: #fff; transform: scale(1.06); }
.mz-rail__fleche[disabled] { opacity: 0; pointer-events: none; }
.mz-rail__fleche--prec { left: calc(var(--cb-gout) - 22px); }
.mz-rail__fleche--suiv { right: calc(var(--cb-gout) - 22px); }
.mz-rail__pied { display: flex; justify-content: center; margin-top: clamp(28px, 3.4vw, 44px); }
@media (max-width: 1023px) { .mz-rail__piste { grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; } }
@media (max-width: 767px) {
  .mz-rail__piste { grid-auto-columns: 66%; gap: 14px; }
  .mz-rail__fleche { display: none !important; }
}

/* bloc éditorial : panneau doux + photo d'atelier */
.mz-edito { max-width: 1320px; margin: 0 auto; padding: 0 var(--cb-gout); }
.mz-edito__in { display: grid; grid-template-columns: 1fr 1fr; background: var(--cb-papier); box-shadow: 0 0 0 1px var(--cb-filet); }
.mz-edito__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding: clamp(36px, 6vw, 96px) clamp(26px, 5.4vw, 88px);
}
.mz-edito__img { position: relative; min-height: clamp(380px, 46vw, 620px); overflow: hidden; }
.mz-edito__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mz-edito__signe { height: 44px; width: auto; opacity: 0.9; }
@media (max-width: 899px) {
  .mz-edito__in { grid-template-columns: 1fr; }
  .mz-edito__img { order: -1; min-height: 0; aspect-ratio: 4 / 3.4; }
}

/* Bar Matcha : bloc encadré, photo à gauche, texte à droite (même gabarit que l'atelier, en miroir) */
.mz-matcha { max-width: 1320px; margin: 0 auto; padding: 0 var(--cb-gout); color: var(--cb-encre); }
.mz-matcha__in { display: grid; grid-template-columns: 54fr 46fr; background: var(--cb-papier); box-shadow: 0 0 0 1px var(--cb-filet); }
.mz-matcha__img { position: relative; min-height: clamp(360px, 42vw, 600px); overflow: hidden; }
.mz-matcha__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mz-matcha__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding: clamp(40px, 6vw, 96px) clamp(26px, 5.4vw, 84px);
}
.mz-matcha .mz-kicker { color: var(--cb-or-fonce); }
@media (max-width: 899px) {
  .mz-matcha__in { grid-template-columns: 1fr; }
  .mz-matcha__img { min-height: 0; aspect-ratio: 4 / 3; }
}

/* engagements : panneau posé sur le motif */
.mz-gages { padding: clamp(40px, 6vw, 84px) var(--cb-gout); }
.mz-gages__in {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: clamp(30px, 4vw, 52px) clamp(20px, 3vw, 44px);
  background: var(--cb-papier);
  box-shadow: 0 0 0 1px var(--cb-filet);
}
.mz-gage { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.mz-gage svg { color: var(--cb-or-fonce); margin-bottom: 6px; }
.mz-gage p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--cb-encre2); max-width: 30ch; }
@media (max-width: 767px) { .mz-gages__in { grid-template-columns: 1fr; gap: 34px; } }

/* -------------------------------------------------------------------------
   Carte produit : visuel 5:6 sur fond crème, légende centrée
   ------------------------------------------------------------------------- */
.mz-card { min-width: 0; text-align: center; }
.mz-card__visuel {
  position: relative;
  display: block;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: var(--cb-fond);
}
.mz-card__visuel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, opacity 0.7s ease;
}
.mz-card__visuel .mz-card__img1 { z-index: 1; }
.mz-card__visuel .mz-card__img2 { z-index: 0; }
.mz-card:hover .mz-card__visuel img { transform: scale(1.1); }
.mz-card__visuel .mz-card__img2:not([src]) { display: none; }
@media (hover: hover) {
  /* la photo d'atelier n'est téléchargée qu'au premier survol (voir cakebeauty.js), puis remplace le visuel en fondu */
  .mz-card:hover .mz-card__visuel--2.est-charge .mz-card__img1 { opacity: 0; }
}
.mz-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px 4px;
  background: var(--cb-encre);
  color: #f6f0e6;
  font: 500 10.5px/1.3 var(--cb-f);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mz-card__vide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.mz-card__vide img { position: static; width: 34%; height: auto; opacity: 0.55; transform: none !important; }
.mz-card__pied { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 16px 6px 0; }
.mz-card__nom { margin: 0; font: 400 15px/1.4 var(--cb-f); color: var(--cb-encre); text-wrap: balance; }
.mz-card__nom a { text-decoration: none; color: inherit; }
.mz-card__nom a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mz-card__prix { font: 500 14.5px/1.4 var(--cb-f); color: var(--cb-encre); }
.mz-card__plus {
  margin-top: 6px;
  padding: 0 0 2px;
  border: 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  font: 500 11px/1.5 var(--cb-f);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cb-or-fonce) !important;
  cursor: pointer;
  transition: background-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mz-card__plus:hover { background-size: 0 1px; background-position: 100% 100%; }

/* -------------------------------------------------------------------------
   Catalogue, recherche
   ------------------------------------------------------------------------- */
.mz-collection { padding-top: clamp(34px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 110px); }
.mz-collection__tete { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.mz-collection__sous { margin: 0; max-width: 54ch; font-size: 16px; color: var(--cb-encre2); }
.mz-toolbar {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: clamp(26px, 3.4vw, 44px) 0 clamp(22px, 2.6vw, 34px);
  padding: 14px 0;
  border-top: 1px solid var(--cb-filet);
  border-bottom: 1px solid var(--cb-filet);
  font: 500 12.5px/1.4 var(--cb-f);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mz-toolbar__fin { margin-left: auto; color: var(--cb-mute); }
.mz-toolbar__fin strong { font-weight: 500; color: var(--cb-encre); }
.mz-menu { position: relative; }
.mz-menu > summary { list-style: none; cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: 8px; }
.mz-menu > summary::-webkit-details-marker { display: none; }
.mz-menu > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.mz-menu[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.mz-menu__liste {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  z-index: 20;
  min-width: 250px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--cb-filet);
  box-shadow: 0 18px 40px rgba(16, 26, 19, 0.08);
  animation: cb-fondu 0.25s ease both;
}
.mz-menu__liste a {
  display: block;
  padding: 9px 20px;
  font: 400 15px/1.4 var(--cb-f);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  color: var(--cb-encre);
}
.mz-menu__liste a:hover { background: rgba(42, 42, 39, 0.05); }
.mz-menu__liste a[aria-current='true'] { color: var(--cb-or-fonce); font-weight: 500; }

.mz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 3.4vw, 48px) clamp(16px, 2vw, 28px); }
.mz-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .mz-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .mz-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .mz-card__nom { font-size: 14px; }
  .mz-toolbar { gap: 22px; font-size: 11.5px; letter-spacing: 0.12em; }
}
@media (max-width: 359px) { .mz-grid { grid-template-columns: 1fr; } }

.mz-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: clamp(40px, 5vw, 64px) 0 0;
  font: 500 12.5px/1.4 var(--cb-f);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mz-pagination a { text-decoration: none; color: var(--cb-encre); padding-bottom: 3px; border-bottom: 1px solid var(--cb-encre); }
.mz-pagination a:hover { color: var(--cb-or-fonce); border-color: var(--cb-or-fonce); }
.mz-pagination span { color: var(--cb-mute); }
.mz-vide { padding: 70px 24px; text-align: center; }
.mz-vide p { margin: 0 auto 26px; max-width: 46ch; color: var(--cb-encre2); }

/* Fenêtre « me prévenir » */
.mz-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(16, 26, 19, 0.5);
}
.mz-modal.hidden { display: none; }
.mz-modal__boite { position: relative; width: 100%; max-width: 460px; padding: 46px 36px 36px; background: var(--cb-blanc); text-align: center; }
.mz-modal__fermer {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: none;
  border: 0;
  color: var(--cb-encre);
  cursor: pointer;
}
.mz-modal__titre {
  margin: 0 0 10px;
  font-family: var(--cb-f-titre);
  font-variation-settings: 'SOFT' 50;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.15;
}
.mz-modal__txt { margin: 0 0 22px; font-size: 15.5px; color: var(--cb-encre2); }
.mz-champ {
  width: 100%;
  height: 52px;
  margin: 0 0 12px;
  padding: 0 16px;
  border: 1px solid var(--cb-encre);
  border-radius: 0;
  background: #fff;
  font: 400 15.5px var(--cb-f);
  color: var(--cb-encre);
  outline: none;
}
.mz-champ:focus { box-shadow: inset 0 0 0 1px var(--cb-encre); }
.mz-modal .mz-btn { width: 100%; }

/* -------------------------------------------------------------------------
   Fiche produit
   ------------------------------------------------------------------------- */
.mz-fil { max-width: 1320px; margin: 0 auto; padding: 18px var(--cb-gout) 0; font-size: 12.5px; color: var(--cb-mute); }
.mz-fil ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mz-fil a { text-decoration: none; color: inherit; }
.mz-fil a:hover { color: var(--cb-encre); }
.mz-produit {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 84px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px var(--cb-gout) clamp(64px, 8vw, 110px);
}
.mz-produit__media { display: grid; grid-template-columns: 1fr; gap: 10px; align-self: start; }
.mz-produit__cadre {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: var(--cb-fond);
  cursor: zoom-in;
}
.mz-produit__cadre--atelier { aspect-ratio: 16 / 10; }
.mz-produit__cadre img,
.mz-produit__cadre video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--cb-doux); }
.mz-produit__cadre:hover img { transform: scale(1.04); }
.mz-produit__cadre .hidden { display: none; }
.mz-produit__legende {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 5px 10px 4px;
  background: rgba(255, 255, 255, 0.92);
  font: 500 10.5px/1.3 var(--cb-f);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cb-encre);
}
.mz-produit__infos { align-self: start; position: sticky; top: calc(var(--cb-h) + 18px); padding-top: clamp(4px, 2vw, 34px); }
.mz-produit__col { max-width: 460px; }
.mz-produit__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.mz-badge {
  padding: 5px 10px 4px;
  background: var(--cb-encre);
  color: #f6f0e6;
  font: 500 10.5px/1.3 var(--cb-f);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mz-badge--clair { background: transparent; color: var(--cb-encre); box-shadow: inset 0 0 0 1px var(--cb-filet); }
.mz-produit__titre {
  margin: 0;
  font-family: var(--cb-f-titre);
  font-variation-settings: 'SOFT' 50;
  font-size: clamp(28px, 2.9vw, 40px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.mz-produit__par { margin: 8px 0 0; font-family: var(--cb-f-titre); font-style: italic; font-weight: 300; font-size: 16px; color: var(--cb-mute); }
.mz-produit__prix { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 20px; font: 500 21px/1.3 var(--cb-f); }
.mz-produit__prix s { color: var(--cb-mute); font-size: 15px; font-weight: 400; }
.mz-produit__prix small { font-size: 12.5px; font-weight: 400; color: var(--cb-mute); }
.mz-produit__desc { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--cb-encre2); white-space: pre-line; }
.mz-produit__note { margin: 0 0 22px; font-size: 13px; font-style: italic; color: var(--cb-mute); }
.mz-option { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.mz-option legend,
.mz-label {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font: 500 11.5px/1.4 var(--cb-f);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mz-option legend small, .mz-label small { font-weight: 400; letter-spacing: 0.06em; color: var(--cb-mute); text-transform: none; font-size: 12.5px; }
.mz-option__sous { margin: 12px 0 8px; font-size: 12.5px; color: var(--cb-mute); }
.mz-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.mz-choix--1 { display: grid; grid-template-columns: 1fr; }
.mz-choix label { position: relative; display: block; cursor: pointer; }
.mz-choix input { position: absolute; opacity: 0; pointer-events: none; }
.mz-choix__case {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--cb-filet);
  font: 500 11.5px/1.3 var(--cb-f);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.mz-choix__case small { font-size: 12px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; opacity: 0.7; }
.mz-choix label:hover .mz-choix__case { border-color: var(--cb-encre); }
.mz-choix input:checked + .mz-choix__case { background: var(--cb-encre); border-color: var(--cb-encre); color: #f6f0e6; }
.mz-choix input:focus-visible + .mz-choix__case { outline: 2px solid var(--cb-or); outline-offset: 2px; }
.mz-choix--1 .mz-choix__case { justify-content: space-between; text-align: left; text-transform: none; letter-spacing: 0; font: 400 15px/1.3 var(--cb-f); }
.mz-achat { display: flex; gap: 10px; align-items: stretch; margin: 24px 0 0; }
.mz-qte { display: flex; align-items: center; height: 54px; border: 1px solid var(--cb-filet); }
.mz-qte button { width: 38px; height: 100%; background: none; border: 0; font-size: 18px; line-height: 1; color: var(--cb-encre); cursor: pointer; }
.mz-qte input {
  width: 30px;
  height: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  font: 500 15px var(--cb-f);
  color: var(--cb-encre);
  outline: none;
  -moz-appearance: textfield;
  padding: 0;
}
.mz-qte input::-webkit-outer-spin-button,
.mz-qte input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mz-achat .mz-btn { flex: 1; padding-left: 18px; padding-right: 18px; }
@media (max-width: 479px) {
  .mz-achat .mz-btn { gap: 7px; padding-left: 10px; padding-right: 10px; font-size: 11.5px; letter-spacing: 0.1em; white-space: nowrap; }
}
.mz-retrait { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font: 500 11.5px/1.4 var(--cb-f); letter-spacing: 0.16em; text-transform: uppercase; }
.mz-retrait svg { color: var(--cb-or-fonce); flex: none; }
.mz-epuise { margin: 4px 0 0; }
.mz-epuise p { margin: 0 0 18px; color: var(--cb-encre2); }
.mz-epuise__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mz-epuise__actions .mz-btn { flex: 1 1 190px; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
.mz-details { margin: 30px 0 0; border-top: 1px solid var(--cb-filet); }
.mz-details > div { border-bottom: 1px solid var(--cb-filet); }
.mz-details .accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  background: none;
  border: 0;
  font: 500 11.5px/1.4 var(--cb-f);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cb-encre);
  text-align: left;
  cursor: pointer;
}
.mz-details .accordion-icon { transition: transform 0.3s var(--cb-doux); }
.mz-details .accordion-trigger.open .accordion-icon { transform: rotate(180deg); }
.mz-details .accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--cb-doux); }
.mz-details .accordion-content.open { max-height: 480px; }
.mz-details .accordion-content p { margin: 0; padding: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--cb-encre2); }

.mz-suite { padding: 0 0 clamp(64px, 8vw, 110px); }

.mz-collant {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--cb-blanc);
  border-top: 1px solid var(--cb-filet);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.mz-collant__txt { flex: 1; min-width: 0; }
.mz-collant__txt p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mz-collant__txt p:first-child { font-size: 14px; }
.mz-collant__txt p:last-child { font-size: 15px; font-weight: 500; }
.mz-collant .mz-btn { min-height: 46px; padding: 12px 20px; }
@media (max-width: 899px) {
  .mz-produit { grid-template-columns: 1fr; gap: 26px; padding-top: 12px; }
  .mz-produit__infos { position: static; padding-top: 0; }
  .mz-produit__col { max-width: none; }
  .mz-collant { display: flex; }
}

/* -------------------------------------------------------------------------
   Pied de page : bandeau crème, monogramme, trois colonnes
   ------------------------------------------------------------------------- */
.mz-pied { background: var(--cb-creme); color: var(--cb-encre); border-top: 1px solid var(--cb-filet); }
.mz-pied__in { max-width: 1320px; margin: 0 auto; padding: clamp(44px, 6vw, 80px) var(--cb-gout) 26px; }
.mz-pied__signe { display: block; height: 58px; width: auto; margin: 0 auto clamp(34px, 4.4vw, 56px); }
.mz-pied__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 34px clamp(24px, 5vw, 80px); }
.mz-pied__col h3 { margin: 0 0 14px; font: 500 11.5px/1.4 var(--cb-f); letter-spacing: 0.18em; text-transform: uppercase; }
.mz-pied__col p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.6; color: var(--cb-encre2); max-width: 34ch; }
.mz-pied__col p.mz-pied__promesse {
  font-family: var(--cb-f-titre);
  font-variation-settings: 'SOFT' 50;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--cb-encre);
}
.mz-pied__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.mz-pied__col ul a { font-size: 15.5px; text-decoration: none; color: var(--cb-encre2); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s cubic-bezier(0.4, 0, 0.2, 1); padding-bottom: 2px; }
.mz-pied__col ul a:hover { background-size: 100% 1px; color: var(--cb-encre); }
.mz-pied__bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  margin-top: clamp(34px, 4.4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--cb-filet);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--cb-mute);
}
.mz-pied__bas a { color: inherit; text-decoration: none; }
.mz-pied__bas a:hover { color: var(--cb-encre); }
.mz-pied__reseaux { display: inline-flex; gap: 20px; }
.mz-pied__reseaux a { display: inline-flex; color: var(--cb-encre); transition: color 0.3s ease, transform 0.3s var(--cb-doux); }
.mz-pied__reseaux a:hover { color: var(--cb-or-fonce); transform: translateY(-2px); }
@media (max-width: 767px) { .mz-pied__cols { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   Animations
   - blocs [data-anim] : fondu montant de 100 px en 0,6 s, décalés (--d), rejoués à chaque passage
   - [data-anim="cascade"] : les enfants montent de 15 px en 1 s, l'un après l'autre (textes)
   - [data-anim="trait"] : les tracés SVG se dessinent en 1,5 s (pictos)
   - vitrine : fondu entre les volets, image qui se pose (1,12 -> 1 en 1,6 s), textes en cascade
   La classe mz-anim est posée sur <html> par un script du <head> : sans JavaScript tout reste visible.
   ------------------------------------------------------------------------- */
@keyframes cb-monte { from { transform: translate3d(0, 100px, 0); opacity: 0; } to { transform: translate3d(0, 0, 0); opacity: 1; } }
@keyframes cb-cascade { from { transform: translate3d(0, 15px, 0); opacity: 0; } to { transform: translate3d(0, 0, 0); opacity: 1; } }
@keyframes cb-pose { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes cb-trait { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes cb-fondu { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.mz-diapo.est-actif .mz-diapo__img img { animation: cb-pose 1.6s var(--cb-doux) both; }
.mz-diapo.est-actif .mz-diapo__txt > * { animation: cb-cascade 1s ease both; }
.mz-diapo.est-actif .mz-diapo__txt > :nth-child(2) { animation-delay: 0.15s; }
.mz-diapo.est-actif .mz-diapo__txt > :nth-child(3) { animation-delay: 0.3s; }
.mz-diapo.est-actif .mz-diapo__txt > :nth-child(4) { animation-delay: 0.45s; }
.mz-modal:not(.hidden) .mz-modal__boite { animation: cb-monte 0.6s ease both; }

html.mz-anim [data-anim] {
  opacity: 0;
  transform: translate3d(0, 100px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0s;
}
html.mz-anim [data-anim].est-vu { opacity: 1; transform: none; transition-delay: var(--d, 0ms); }

html.mz-anim [data-anim='cascade'],
html.mz-anim [data-anim='trait'] { opacity: 1; transform: none; transition: none; }
html.mz-anim [data-anim='cascade'] > * { opacity: 0; }
html.mz-anim [data-anim='cascade'].est-vu > * { animation: cb-cascade 1s ease both; }
html.mz-anim [data-anim='cascade'].est-vu > :nth-child(2) { animation-delay: 0.15s; }
html.mz-anim [data-anim='cascade'].est-vu > :nth-child(3) { animation-delay: 0.3s; }
html.mz-anim [data-anim='cascade'].est-vu > :nth-child(4) { animation-delay: 0.45s; }
html.mz-anim [data-anim='cascade'].est-vu > :nth-child(5) { animation-delay: 0.6s; }
html.mz-anim [data-anim='trait'] svg [pathLength] { stroke-dasharray: 100; stroke-dashoffset: 100; }
html.mz-anim [data-anim='trait'].est-vu svg [pathLength] { animation: cb-trait 1.5s linear forwards; animation-delay: var(--d, 0ms); }
html.mz-anim [data-anim='trait'] > :not(svg) { opacity: 0; }
html.mz-anim [data-anim='trait'].est-vu > :not(svg) { animation: cb-cascade 1s ease both; animation-delay: calc(var(--d, 0ms) + 0.25s); }

@media (prefers-reduced-motion: reduce) {
  .mz-diapo.est-actif .mz-diapo__img img,
  .mz-diapo.est-actif .mz-diapo__txt > *,
  .mz-modal:not(.hidden) .mz-modal__boite,
  .mz-vitrine__points button.est-actif::after,
  .mz-menu__liste { animation: none !important; }
  .mz-vitrine__points button.est-actif::after { width: 100%; }
  html.mz-anim [data-anim],
  html.mz-anim [data-anim] > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  html.mz-anim [data-anim='trait'] svg [pathLength] { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
  .mz-tile img,
  .mz-card__visuel img,
  .mz-produit__cadre img,
  .mz-header,
  .mz-header__in,
  .mz-logo img,
  .mz-diapo,
  .mz-drawer,
  .mz-lien svg line,
  .mz-lien svg polyline { transition: none !important; }
}

/* -------------------------------------------------------------------------
   Bandeau cookies (CNIL : refuser aussi simple qu'accepter, même apparence)
   ------------------------------------------------------------------------- */
.cb-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483100;
  padding: 18px var(--cb-gout) calc(18px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--cb-filet);
  box-shadow: 0 -10px 30px rgba(16, 26, 19, 0.08);
}
.cb-consent[hidden] { display: none; }
.cb-consent__in { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; }
.cb-consent__titre { margin: 0; grid-column: 1 / -1; font: 500 12px/1.4 var(--cb-f); letter-spacing: 0.16em; text-transform: uppercase; }
.cb-consent__txt { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--cb-encre2); }
.cb-consent__actions { display: flex; gap: 10px; }
.cb-consent__actions .mz-btn { min-height: 46px; padding: 12px 22px; }
@media (max-width: 767px) {
  .cb-consent__in { grid-template-columns: minmax(0, 1fr); }
  .cb-consent__actions .mz-btn { flex: 1; }
}
.mz-pied__cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; cursor: pointer; text-decoration: none; }
.mz-pied__cookies:hover { color: var(--cb-encre); }

/* Bandeau « salon » sur l'accueil et le catalogue */
.cb-annonce { display: block; padding: 12px var(--cb-gout); background: var(--cb-nuit); color: #f6f0e6 !important; text-align: center; text-decoration: none; font: 500 12.5px/1.5 var(--cb-f); letter-spacing: 0.12em; text-transform: uppercase; }
.cb-annonce strong { font-weight: 500; color: #fff; border-bottom: 1px solid currentColor; }

/* -------------------------------------------------------------------------
   Pages historiques (panier, commande, compositions, suivi) : même peau,
   sans toucher à leurs formulaires ni à leurs scripts. Pas d'animation ici.
   ------------------------------------------------------------------------- */
body.mz main .font-grolet {
  font-family: var(--cb-f-titre);
  font-variation-settings: 'SOFT' 50;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-transform: none;
}
body.mz main .font-din { font-family: var(--cb-f); letter-spacing: 0.08em; }
body.mz main h1.font-grolet,
body.mz main h2.font-grolet,
body.mz main h1.text-2xl,
body.mz main h1.text-3xl,
body.mz main h1.text-4xl {
  font-family: var(--cb-f-titre);
  font-variation-settings: 'SOFT' 50;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: none;
}
body.mz main h1.font-grolet em,
body.mz main h1.font-grolet i,
body.mz main h1.font-grolet .italic { font-style: italic; }
body.mz main .rounded,
body.mz main .rounded-sm,
body.mz main .rounded-md,
body.mz main .rounded-lg,
body.mz main .rounded-xl,
body.mz main .rounded-2xl,
body.mz main .rounded-3xl { border-radius: 0 !important; }
body.mz main input[type='text'],
body.mz main input[type='email'],
body.mz main input[type='tel'],
body.mz main input[type='number'],
body.mz main input[type='search'],
body.mz main input[type='date'],
body.mz main select,
body.mz main textarea { border-radius: 0 !important; font-family: var(--cb-f); }
body.mz main button,
body.mz main .btn { font-family: var(--cb-f); }
/* le noir des pages historiques devient la teinte « nuit », en respectant les transparences Tailwind (bg-opacity-*) */
body.mz main .bg-black { background-color: rgb(16 26 19 / var(--tw-bg-opacity, 1)) !important; }
/* fonds gris des écrans de commande et de suivi : blancs eux aussi, un filet garde le contour des encarts */
body.mz main .bg-gray-50,
body.mz main .bg-gray-100 { background-color: #fff !important; box-shadow: inset 0 0 0 1px var(--cb-filet); }
body.mz main .min-h-screen.bg-gray-50 { box-shadow: none; }
body.mz main .product-image-container { background-image: none !important; background-color: #fff !important; }
/* encarts d'état (confirmation, information, erreur) : fond blanc, le sens est porté par un filet de couleur.
   Les petites pastilles d'état (bg-*-100) gardent leur teinte : ce sont des étiquettes, pas des fonds. */
body.mz main .bg-green-50 { background-color: #fff !important; box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.35); }
body.mz main .bg-blue-50 { background-color: #fff !important; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.3); }
body.mz main .bg-red-50 { background-color: #fff !important; box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.35); }
body.mz main .bg-orange-50 { background-color: #fff !important; box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.35); }
body.mz main .shadow-lg,
body.mz main .shadow-xl,
body.mz main .shadow-2xl,
body.mz main .shadow-elegant { box-shadow: none !important; }
