/* ============================================================================
   MATCHA BRUT — design system
   Archétype soft-organic : formes rondes, vagues, ombres diffuses.
   Palette : vert matcha + washi (papier japonais) + crème. Accent terre cuite.
   Typo : Fraunces (titres) + Manrope (corps).  Préfixe de classes : .mb-
   ========================================================================== */

:root {
  /* Verts */
  --matcha: #4a7a44;
  --matcha-deep: #2f5129;
  --matcha-bright: #7fae5a;
  --matcha-soft: #e7f0df;
  --matcha-mist: #f2f7ee;

  /* Washi (papier japonais) */
  --washi: #e5d9c3;
  --washi-soft: #f4eee1;
  --washi-deep: #c2ad86;

  /* Encre & fonds */
  --ink: #1f2b1c;
  --ink-soft: #5a6656;
  --ink-faint: #8b958a;
  --cream: #fbf9f3;
  --white: #ffffff;
  --line: #e6dfd0;

  /* Accent chaud, réservé aux promos et CTA secondaires */
  --clay: #b85f38;
  --clay-soft: #f7e2d6;
  --star: #d4a017;

  /* Élévation */
  --shadow-soft: 0 18px 50px -26px rgba(31, 43, 28, .40);
  --shadow-card: 0 22px 46px -30px rgba(31, 43, 28, .50);
  --shadow-lift: 0 30px 60px -28px rgba(47, 81, 41, .45);

  /* Formes */
  --blob: 46% 54% 58% 42% / 44% 46% 54% 56%;
  --blob-alt: 58% 42% 40% 60% / 52% 58% 42% 48%;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.33, 1.4, .55, 1);

  --wrap: 1200px;
  --header-h: 68px;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────────────────*/
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .45em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.02rem; font-family: var(--sans); font-weight: 800; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--matcha); outline-offset: 3px; border-radius: 6px; }

.mb-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.mb-section { padding: clamp(54px, 7.5vw, 104px) 0; position: relative; }
.mb-center { text-align: center; }
.mb-muted { color: var(--ink-soft); }
.mb-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.mb-eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em;
  font-size: .7rem; font-weight: 800; color: var(--matcha); margin: 0 0 .9em;
}
.mb-lead { font-size: clamp(1rem, 1.6vw, 1.16rem); color: var(--ink-soft); max-width: 58ch; }
.mb-center .mb-lead, .mb-lead.mb-center, .mb-news .mb-lead { margin-inline: auto; }

/* ── Boutons ──────────────────────────────────────────────────────────────*/
.mb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 800; font-size: .95rem; line-height: 1;
  border-radius: 999px; padding: 1em 1.75em; text-align: center;
  background: var(--matcha); color: #fff; box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .3s, background .25s, opacity .2s;
}
.mb-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); background: var(--matcha-deep); }
.mb-btn:active { transform: translateY(-1px); }
.mb-btn[disabled], .mb-btn.is-busy { opacity: .55; pointer-events: none; }

.mb-btn--ghost { background: transparent; color: var(--ink); box-shadow: none;
  border: 1.5px solid var(--line); }
.mb-btn--ghost:hover { background: var(--white); border-color: var(--matcha); color: var(--matcha-deep); }

.mb-btn--ink { background: var(--ink); }
.mb-btn--ink:hover { background: #101a0e; }

.mb-btn--clay { background: var(--clay); }
.mb-btn--clay:hover { background: #9b4d2c; }

.mb-btn--sm { padding: .72em 1.25em; font-size: .85rem; }
.mb-btn--block { display: flex; width: 100%; }

/* ── Puces & badges ───────────────────────────────────────────────────────*/
.mb-chip {
  display: inline-flex; align-items: center; gap: .4em; font-size: .72rem; font-weight: 800;
  letter-spacing: .04em; padding: .42em .8em; border-radius: 999px;
  background: var(--matcha-soft); color: var(--matcha-deep);
}
.mb-chip--clay { background: var(--clay-soft); color: var(--clay); }
.mb-chip--washi { background: var(--washi-soft); color: #7a6a4a; }
.mb-chip--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }

/* ── Bandeau d'annonce ────────────────────────────────────────────────────*/
.mb-announce {
  background: var(--matcha-deep); color: #eaf3e4; font-size: .8rem; font-weight: 600;
  text-align: center; padding: .62em 16px; letter-spacing: .01em;
}
.mb-announce b { color: #fff; font-weight: 800; }

/* ── Header ───────────────────────────────────────────────────────────────*/
.mb-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 249, 243, .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.mb-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(31, 43, 28, .5); }
.mb-header__in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 22px; height: var(--header-h);
  display: flex; align-items: center; gap: 18px;
}
/* Logo : PNG noir sur fond transparent. Sur les fonds sombres (footer, menu),
   on l'inverse en blanc plutôt que de maintenir un second fichier. */
.mb-logo { display: inline-flex; align-items: center; flex: none; }
/* Le PNG est recadré au ras des lettres (ratio 6.47) : la hauteur CSS est donc
   directement la hauteur des capitales. */
.mb-logo img { height: clamp(19px, 2vw, 24px); width: auto; }

.mb-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mb-nav a {
  font-size: .9rem; font-weight: 700; padding: .55em .8em; border-radius: 999px;
  color: var(--ink-soft); transition: color .2s, background .2s;
}
.mb-nav a:hover, .mb-nav a[aria-current="page"] { color: var(--matcha-deep); background: var(--matcha-soft); }

.mb-tools { display: flex; align-items: center; gap: 6px; }
.mb-icon-btn {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  color: var(--ink); position: relative; transition: background .2s, color .2s;
}
.mb-icon-btn:hover { background: var(--matcha-soft); color: var(--matcha-deep); }
.mb-icon-btn svg { width: 20px; height: 20px; }
.mb-count {
  position: absolute; top: 2px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--clay); color: #fff; font-size: .66rem; font-weight: 800;
  display: grid; place-items: center; line-height: 1;
}
.mb-count:empty, .mb-count[hidden] { display: none; }
.mb-burger { display: none; }

/* Menu mobile */
.mb-mobile {
  position: fixed; inset: 0; z-index: 90; background: var(--cream);
  padding: 22px; overflow-y: auto; transform: translateY(-100%);
  transition: transform .4s var(--ease); display: flex; flex-direction: column; gap: 6px;
}
.mb-mobile.is-open { transform: none; }
.mb-mobile__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mb-mobile a { font-family: var(--serif); font-size: 1.5rem; padding: .5em 0; border-bottom: 1px solid var(--line); }

/* ── Hero ─────────────────────────────────────────────────────────────────*/
.mb-hero { padding: clamp(36px, 5vw, 76px) 0 clamp(50px, 7vw, 96px); overflow: hidden; }
.mb-hero__grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.mb-hero h1 { margin-bottom: .3em; }
.mb-hero h1 em { font-style: italic; color: var(--matcha); }
.mb-hero__sub { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; }
.mb-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.7em 0 1.4em; }
/* Pas de flex ici : le contenu est une phrase, et le flex en découpait les
   fragments en colonnes séparées sur petit écran. */
.mb-hero__proof { font-size: .88rem; color: var(--ink-soft); line-height: 1.7; }
.mb-hero__proof strong { color: var(--ink); }

.mb-hero__art { position: relative; max-width: 500px; margin-left: auto; }
.mb-hero__blob {
  border-radius: var(--blob); overflow: hidden; aspect-ratio: 1 / 1.06;
  box-shadow: var(--shadow-lift); background: var(--matcha-soft);
  animation: mb-morph 16s ease-in-out infinite;
}
.mb-hero__blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes mb-morph {
  0%, 100% { border-radius: var(--blob); }
  50% { border-radius: var(--blob-alt); }
}
.mb-hero__dot { position: absolute; border-radius: 50%; z-index: -1; filter: blur(.5px); opacity: .8; }
.mb-hero__float {
  position: absolute; left: -10px; bottom: 26px; background: var(--white);
  border-radius: var(--r); padding: 10px 16px 10px 10px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-card); max-width: 260px;
}
.mb-hero__float img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; }
.mb-hero__float small { display: block; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .12em; font-weight: 800; color: var(--ink-faint); }
.mb-hero__float b { font-size: .92rem; display: block; line-height: 1.3; }

@media (prefers-reduced-motion: reduce) {
  .mb-hero__blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Ticker ───────────────────────────────────────────────────────────────*/
.mb-ticker {
  background: var(--matcha-deep); color: #e6f0e0; overflow: hidden; padding: .85em 0;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.mb-ticker__track { display: flex; gap: 42px; width: max-content; animation: mb-scroll 34s linear infinite; }
.mb-ticker__track span { display: inline-flex; align-items: center; gap: 42px; white-space: nowrap; }
.mb-ticker__track span::after { content: "·"; color: var(--matcha-bright); }
@keyframes mb-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mb-ticker__track { animation: none; } }

/* ── Bandes & vagues ──────────────────────────────────────────────────────*/
.mb-band { background: var(--matcha-mist); }
.mb-band-washi { background: var(--washi-soft); }
.mb-wave { display: block; width: 100%; height: 52px; }
.mb-wave path { fill: var(--matcha-mist); }
.mb-wave--washi path { fill: var(--washi-soft); }
.mb-wave--up { transform: rotate(180deg); }

/* ── Grille de catégories ─────────────────────────────────────────────────*/
.mb-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.mb-cat {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow-card); background: var(--matcha-soft);
  transition: transform .4s var(--ease), box-shadow .3s;
}
.mb-cat:hover { transform: translateY(-6px) rotate(-.7deg); box-shadow: var(--shadow-lift); }
.mb-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mb-cat:hover img { transform: scale(1.06); }
/* Les photos produit sont très claires : il faut un voile appuyé pour que le
   libellé blanc reste lisible en bas de carte. */
.mb-cat__veil { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24, 36, 22, .92) 0%, rgba(24, 36, 22, .58) 34%,
    rgba(24, 36, 22, .12) 62%, transparent 82%); }
.mb-cat__label { position: absolute; left: 20px; right: 20px; bottom: 18px; color: #fff; }
.mb-cat__label strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  display: flex; align-items: center; gap: .4em; }
/* Une seule ligne : sinon un libellé long décale le titre par rapport aux
   autres cartes de la grille. */
.mb-cat__label span { font-size: .82rem; opacity: .85; display: block; margin-top: .1em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-cat__label svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.mb-cat:hover .mb-cat__label svg { transform: translateX(5px); }

/* ── Carte produit ────────────────────────────────────────────────────────*/
.mb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }

.mb-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.mb-card__media {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1.12;
  background: var(--washi-soft); box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), box-shadow .3s;
}
.mb-card:hover .mb-card__media { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.mb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s var(--ease); }
.mb-card__media img.mb-card__alt { position: absolute; inset: 0; opacity: 0; }
.mb-card:hover .mb-card__media img.mb-card__alt { opacity: 1; }
.mb-card:hover .mb-card__media img { transform: scale(1.04); }

.mb-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.mb-card__badges .mb-chip { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 4px 12px -6px rgba(31,43,28,.4); }
.mb-card__badges .mb-chip--clay { background: var(--clay); color: #fff; }

.mb-card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .35s var(--ease);
}
.mb-card:hover .mb-card__quick, .mb-card:focus-within .mb-card__quick { opacity: 1; transform: none; }
@media (hover: none) { .mb-card__quick { opacity: 1; transform: none; } }

.mb-card__body { padding: 14px 4px 0; display: flex; flex-direction: column; flex: 1; }
.mb-card__meta { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: .35em; }
.mb-card__name { font-family: var(--serif); font-size: 1.06rem; font-weight: 500; line-height: 1.25;
  margin: 0 0 .3em; }
.mb-card__short { font-size: .84rem; color: var(--ink-soft); margin: 0 0 .7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mb-card__price { margin-top: auto; display: flex; align-items: baseline; gap: .5em; flex-wrap: wrap; }
.mb-card__price b { font-size: 1.08rem; font-weight: 800; }
.mb-card__was { font-size: .85rem; color: var(--ink-faint); text-decoration: line-through; }
.mb-card__off { font-size: .74rem; font-weight: 800; color: var(--clay); }
.mb-card__from { font-size: .74rem; color: var(--ink-faint); }
.mb-card--out .mb-card__media { filter: grayscale(.55); opacity: .75; }

/* Rail horizontal (best-sellers) */
.mb-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 268px);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 22px 26px; max-width: calc(var(--wrap) + 44px); margin: 34px auto 0;
  scrollbar-width: thin; scrollbar-color: var(--washi-deep) transparent;
}
.mb-rail > * { scroll-snap-align: start; }
.mb-rail::-webkit-scrollbar { height: 7px; }
.mb-rail::-webkit-scrollbar-thumb { background: var(--washi-deep); border-radius: 999px; }
.mb-rail::-webkit-scrollbar-track { background: transparent; }

/* ── Édito split ──────────────────────────────────────────────────────────*/
.mb-edito { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 66px); align-items: center; }
.mb-edito__img { border-radius: var(--blob-alt); overflow: hidden; aspect-ratio: 1 / .92;
  box-shadow: var(--shadow-lift); }
.mb-edito__img img { width: 100%; height: 100%; object-fit: cover; }
.mb-edito--flip .mb-edito__img { order: 2; }

/* ── Bande stats ──────────────────────────────────────────────────────────*/
.mb-statsband { background: var(--matcha); color: #fff; padding: clamp(40px, 6vw, 68px) 0; }
.mb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.mb-stat__n { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 600;
  display: block; line-height: 1; }
.mb-stat__l { font-size: .84rem; opacity: .88; display: block; margin-top: .5em; }

/* ── Étapes ───────────────────────────────────────────────────────────────*/
.mb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.mb-step { background: var(--white); border-radius: var(--r-lg); padding: 34px 26px 28px;
  position: relative; box-shadow: var(--shadow-card); }
.mb-step__num {
  position: absolute; top: -16px; left: 26px; width: 40px; height: 40px; border-radius: var(--blob);
  background: var(--matcha); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
}
.mb-step__ic { width: 42px; height: 42px; color: var(--matcha); margin-bottom: 14px; }
.mb-step__ic svg { width: 100%; height: 100%; }
.mb-step h3 { margin-bottom: .3em; }
.mb-step p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ── Tableau des grades ───────────────────────────────────────────────────*/
.mb-grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.mb-grade { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; transition: border-color .25s, transform .35s var(--ease); }
.mb-grade:hover { border-color: var(--matcha); transform: translateY(-4px); }
.mb-grade__dot { display: block; width: 34px; height: 34px; border-radius: var(--blob); margin-bottom: 14px; }
.mb-grade h3 { margin-bottom: .25em; }
.mb-grade p { font-size: .9rem; color: var(--ink-soft); margin: 0 0 1em; }
.mb-grade ul { margin: 0 0 1.2em; padding-left: 1.1em; font-size: .88rem; color: var(--ink-soft); }
.mb-grade li { margin-bottom: .3em; }

/* ── Lookbook ─────────────────────────────────────────────────────────────*/
.mb-look { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.mb-look__cell { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 3.2; }
.mb-look__cell:nth-child(2) { margin-top: 36px; }
.mb-look__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mb-look__cell:hover img { transform: scale(1.05); }
.mb-look__cap { position: absolute; left: 16px; bottom: 14px; color: #fff; font-weight: 700;
  font-size: .9rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }

/* ── Avis ─────────────────────────────────────────────────────────────────*/
.mb-stars { display: inline-flex; gap: 2px; color: var(--star); }
.mb-stars svg { width: 15px; height: 15px; }
.mb-bubbles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.mb-bubble { background: var(--white); border-radius: var(--r-lg); padding: 26px 24px;
  box-shadow: var(--shadow-card); position: relative; }
.mb-bubble p { font-size: .95rem; margin: .7em 0 1.1em; }
.mb-bubble__who { display: flex; align-items: center; gap: 10px; font-size: .84rem; }
.mb-bubble__av { width: 36px; height: 36px; border-radius: var(--blob); background: var(--matcha-soft);
  color: var(--matcha-deep); display: grid; place-items: center; font-weight: 800; }
.mb-bubble__who b { display: block; }
.mb-bubble__who span { color: var(--ink-faint); font-size: .78rem; }

/* ── Newsletter ───────────────────────────────────────────────────────────*/
.mb-news {
  position: relative; overflow: hidden; background: var(--washi-soft); border-radius: 36px;
  padding: clamp(38px, 6vw, 68px) clamp(24px, 5vw, 60px); text-align: center;
}
.mb-news__blob { position: absolute; border-radius: var(--blob); opacity: .5; }
.mb-news__blob--a { width: 220px; height: 220px; background: var(--matcha-soft); top: -70px; left: -60px; }
.mb-news__blob--b { width: 180px; height: 180px; background: var(--clay-soft); bottom: -70px; right: -50px; }
.mb-news > * { position: relative; }
.mb-news__form { display: flex; gap: 10px; max-width: 460px; margin: 1.6em auto 0; flex-wrap: wrap; }
.mb-news__form input {
  flex: 1 1 220px; border: 1.5px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 1em 1.3em; font-size: .95rem; transition: border-color .2s;
}
.mb-news__form input:focus { outline: none; border-color: var(--matcha); }
.mb-news__ok { display: block; margin-top: 1em; color: var(--matcha-deep); font-weight: 700; font-size: .92rem; }

/* ── Boutique : barre de filtres ──────────────────────────────────────────*/
.mb-shopbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0 22px; }
.mb-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-filter {
  font-size: .84rem; font-weight: 700; padding: .55em 1.05em; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink-soft);
  transition: all .22s;
}
.mb-filter:hover { border-color: var(--matcha); color: var(--matcha-deep); }
.mb-filter[aria-pressed="true"] { background: var(--matcha); border-color: var(--matcha); color: #fff; }
.mb-shopbar__right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.mb-select {
  border: 1.5px solid var(--line); background: var(--white); border-radius: 999px;
  padding: .6em 2.2em .6em 1.05em; font-size: .84rem; font-weight: 700; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6656' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8em center; background-size: 14px;
}
.mb-search {
  border: 1.5px solid var(--line); background: var(--white); border-radius: 999px;
  padding: .6em 1.1em; font-size: .88rem; min-width: 200px;
}
.mb-search:focus { outline: none; border-color: var(--matcha); }
.mb-count-line { font-size: .86rem; color: var(--ink-soft); margin: 0; }
.mb-empty { text-align: center; padding: 70px 20px; color: var(--ink-soft); }

/* ── Fiche produit ────────────────────────────────────────────────────────*/
.mb-pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px);
  align-items: start; padding-top: 34px; }
.mb-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.mb-gallery__main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1.08;
  background: var(--washi-soft); box-shadow: var(--shadow-card); }
.mb-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.mb-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.mb-thumb { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; flex: none;
  border: 2px solid transparent; transition: border-color .2s, transform .25s; padding: 0; }
.mb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mb-thumb[aria-current="true"] { border-color: var(--matcha); }
.mb-thumb:hover { transform: translateY(-2px); }

.mb-pdp__crumbs { font-size: .82rem; color: var(--ink-faint); margin-bottom: 1.2em; }
.mb-pdp__crumbs a:hover { color: var(--matcha); }
.mb-pdp h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: .25em; }
.mb-pdp__hook { font-size: 1.05rem; color: var(--ink-soft); }
.mb-pdp__price { display: flex; align-items: baseline; gap: .6em; flex-wrap: wrap; margin: 1.1em 0 .3em; }
.mb-pdp__price b { font-size: 1.9rem; font-family: var(--serif); font-weight: 600; }
.mb-pdp__price .mb-card__was { font-size: 1.05rem; }
.mb-pdp__tax { font-size: .78rem; color: var(--ink-faint); margin-bottom: 1.4em; }

.mb-opt { margin-bottom: 1.4em; }
.mb-opt__label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-faint); margin-bottom: .7em; display: block; }
.mb-opt__list { display: flex; flex-wrap: wrap; gap: 9px; }
.mb-opt__btn {
  border: 1.5px solid var(--line); background: var(--white); border-radius: 14px;
  padding: .7em 1.05em; font-size: .88rem; font-weight: 700; text-align: left;
  transition: all .22s; line-height: 1.3;
}
.mb-opt__btn small { display: block; font-weight: 600; font-size: .78rem; color: var(--ink-faint); }
.mb-opt__btn:hover { border-color: var(--matcha); }
.mb-opt__btn[aria-pressed="true"] { border-color: var(--matcha); background: var(--matcha-soft);
  color: var(--matcha-deep); }
.mb-opt__btn[disabled] { opacity: .4; pointer-events: none; text-decoration: line-through; }

.mb-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line);
  border-radius: 999px; background: var(--white); overflow: hidden; }
.mb-qty button { width: 42px; height: 46px; font-size: 1.15rem; font-weight: 700; color: var(--ink-soft); }
.mb-qty button:hover { background: var(--matcha-soft); color: var(--matcha-deep); }
.mb-qty span { min-width: 34px; text-align: center; font-weight: 800; }
.mb-buy { display: flex; gap: 12px; align-items: center; margin-bottom: 1.5em; }
.mb-buy .mb-btn { flex: 1; }

.mb-reassure { display: grid; gap: 12px; padding: 20px 22px; background: var(--matcha-mist);
  border-radius: var(--r); margin-bottom: 1.8em; }
.mb-reassure div { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; }
.mb-reassure svg { width: 19px; height: 19px; color: var(--matcha); flex: none; margin-top: 2px; }

.mb-acc { border-top: 1px solid var(--line); }
.mb-acc__item { border-bottom: 1px solid var(--line); }
.mb-acc__head { width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 1.15em 0; font-weight: 800; font-size: .95rem; text-align: left; }
.mb-acc__head svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); color: var(--matcha); }
.mb-acc__head[aria-expanded="true"] svg { transform: rotate(45deg); }
.mb-acc__body { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.mb-acc__body > div { padding: 0 0 1.3em; font-size: .93rem; color: var(--ink-soft); }
.mb-acc__body ul { padding-left: 1.15em; margin: 0; }
.mb-acc__body li { margin-bottom: .35em; }
.mb-specs { display: grid; gap: 0; }
.mb-specs div { display: flex; justify-content: space-between; gap: 20px; padding: .6em 0;
  border-bottom: 1px dashed var(--line); font-size: .9rem; }
.mb-specs div:last-child { border-bottom: none; }
.mb-specs dt { color: var(--ink-faint); }
.mb-specs dd { margin: 0; text-align: right; font-weight: 600; }

/* ── Panier ───────────────────────────────────────────────────────────────*/
.mb-cart { display: grid; grid-template-columns: 1.5fr .8fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.mb-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--line); align-items: center; }
.mb-line__img { width: 96px; height: 108px; border-radius: 14px; overflow: hidden; background: var(--washi-soft); }
.mb-line__img img { width: 100%; height: 100%; object-fit: cover; }
.mb-line__name { font-family: var(--serif); font-size: 1.05rem; margin: 0 0 .15em; }
.mb-line__var { font-size: .82rem; color: var(--ink-faint); margin: 0 0 .6em; }
.mb-line__rm { font-size: .8rem; color: var(--ink-faint); text-decoration: underline; }
.mb-line__rm:hover { color: var(--clay); }
.mb-line__price { text-align: right; font-weight: 800; white-space: nowrap; }

.mb-summary { background: var(--white); border-radius: var(--r-lg); padding: 28px 26px;
  box-shadow: var(--shadow-card); position: sticky; top: calc(var(--header-h) + 20px); }
.mb-summary__row { display: flex; justify-content: space-between; gap: 16px; padding: .5em 0; font-size: .93rem; }
.mb-summary__row--total { border-top: 1px solid var(--line); margin-top: .6em; padding-top: 1em;
  font-size: 1.15rem; font-weight: 800; }
.mb-progress { height: 7px; border-radius: 999px; background: var(--matcha-soft); overflow: hidden; margin: .6em 0 1em; }
.mb-progress i { display: block; height: 100%; background: var(--matcha); border-radius: 999px;
  transition: width .5s var(--ease); }

/* ── Tiroir panier ────────────────────────────────────────────────────────*/
.mb-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.mb-drawer__veil { position: absolute; inset: 0; background: rgba(31, 43, 28, .42);
  opacity: 0; transition: opacity .35s; }
.mb-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .42s var(--ease); box-shadow: var(--shadow-lift);
}
.mb-drawer.is-open { pointer-events: auto; }
.mb-drawer.is-open .mb-drawer__veil { opacity: 1; }
.mb-drawer.is-open .mb-drawer__panel { transform: none; }
.mb-drawer__head { display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line); }
.mb-drawer__head h3 { margin: 0; }
.mb-drawer__body { flex: 1; overflow-y: auto; padding: 0 22px; }
.mb-drawer__foot { padding: 20px 22px; border-top: 1px solid var(--line); background: var(--white); }
.mb-drawer .mb-line { grid-template-columns: 70px 1fr auto; padding: 16px 0; }
.mb-drawer .mb-line__img { width: 70px; height: 80px; }

/* ── Toast ────────────────────────────────────────────────────────────────*/
.mb-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 130%);
  background: var(--ink); color: #fff; padding: .95em 1.5em; border-radius: 999px;
  font-size: .9rem; font-weight: 700; z-index: 120; box-shadow: var(--shadow-lift);
  transition: transform .4s var(--ease); max-width: calc(100% - 40px); text-align: center;
}
.mb-toast.is-on { transform: translate(-50%, 0); }

/* ── Pages éditoriales ────────────────────────────────────────────────────*/
.mb-prose { max-width: 72ch; }
.mb-prose h2 { margin-top: 1.8em; }
.mb-prose h3 { margin-top: 1.5em; }
.mb-prose ul, .mb-prose ol { padding-left: 1.3em; }
.mb-prose li { margin-bottom: .45em; }
.mb-prose a { color: var(--matcha-deep); text-decoration: underline; text-underline-offset: 3px; }
.mb-pagehead { background: var(--matcha-mist); padding: clamp(40px, 6vw, 76px) 0 clamp(36px, 5vw, 60px); }
.mb-pagehead h1 { margin-bottom: .2em; }

/* ── Footer ───────────────────────────────────────────────────────────────*/
.mb-footer { background: var(--ink); color: #cfd8cc; padding: clamp(48px, 6vw, 76px) 0 28px; margin-top: 0; }
.mb-footer a { color: #cfd8cc; }
.mb-footer a:hover { color: #fff; }
.mb-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.mb-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em;
  margin-bottom: 1.2em; }
.mb-footer ul { list-style: none; margin: 0; padding: 0; }
.mb-footer li { margin-bottom: .6em; font-size: .9rem; }
.mb-footer .mb-logo { margin-bottom: 1em; }
.mb-footer .mb-logo img { filter: invert(1); height: 26px; }
.mb-footer__about { font-size: .9rem; max-width: 34ch; }
.mb-footer__pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1.1em; }
.mb-footer__pay span { background: rgba(255, 255, 255, .1); border-radius: 6px; padding: .35em .6em;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; }
.mb-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .8rem; color: #93a08f; }

/* ── Révélation au scroll ─────────────────────────────────────────────────*/
.mb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s var(--ease); }
.mb-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mb-reveal { opacity: 1; transform: none; transition: none; } }

/* ── Responsive ───────────────────────────────────────────────────────────*/
@media (max-width: 1000px) {
  .mb-cats, .mb-steps, .mb-grades { grid-template-columns: repeat(2, 1fr); }
  .mb-bubbles { grid-template-columns: 1fr; }
  .mb-footer__grid { grid-template-columns: 1fr 1fr; }
  .mb-cart { grid-template-columns: 1fr; }
  .mb-summary { position: static; }
}
@media (max-width: 860px) {
  .mb-nav { display: none; }
  .mb-burger { display: grid; }
  .mb-tools { margin-left: auto; }
  .mb-hero__grid, .mb-edito, .mb-pdp { grid-template-columns: 1fr; }
  .mb-edito--flip .mb-edito__img { order: 0; }
  .mb-gallery { position: static; }
  .mb-stats { grid-template-columns: repeat(2, 1fr); }
  .mb-look { grid-template-columns: 1fr 1fr; }
  .mb-look__cell:nth-child(3) { display: none; }
  .mb-hero__art { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .mb-cats, .mb-steps, .mb-grades { grid-template-columns: 1fr; }
  .mb-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .mb-card__short { display: none; }
  .mb-card__name { font-size: .95rem; }
  .mb-footer__grid { grid-template-columns: 1fr; }
  .mb-look { grid-template-columns: 1fr; }
  .mb-look__cell:nth-child(2) { margin-top: 0; }
  .mb-shopbar__right { margin-left: 0; width: 100%; }
  .mb-search { flex: 1; min-width: 0; }
  .mb-hero__float { left: 0; bottom: 10px; }
  .mb-line { grid-template-columns: 76px 1fr; }
  /* La vignette doit suivre la colonne, sinon elle déborde sur le titre. */
  .mb-line__img { width: 76px; height: 86px; }
  .mb-line__price { grid-column: 2; text-align: left; }
}
