/*
 * Maison Couture — « Atelier de maison ».
 *
 * La broderie est la seule chose qui brille ; tout le reste s'efface.
 * Ivoire, encre, un seul accent or. Aucun arrondi, aucun dégradé décoratif,
 * aucune ombre colorée. Le filet or de 48 px est le seul ornement.
 *
 * Mobile d'abord (375 px), élargi ensuite. Tout est préfixé `.mc-theme`
 * (classe du <body>) : cette feuille ne peut rien atteindre hors du thème.
 *
 * `!important` n'apparaît que face aux styles EN LIGNE des blocs du moteur
 * (ils portent leur géométrie par défaut) — jamais contre une autre feuille.
 */

/* ─── Base ─────────────────────────────────────────────────────────────── */

.mc-theme {
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--font-corps);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 992px) { .mc-theme { font-size: 17px; } }

.mc-theme h1, .mc-theme h2, .mc-theme h3 {
  font-family: var(--font-titre);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--encre);
}
.mc-theme a { color: var(--encre); }
.mc-theme img { border-radius: 0; }
.mc-theme :focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.mc-main { display: block; }

/* Boutons : un primaire (fond or), le reste en lien souligné d'or. */
.mc-theme .sws-btn,
.mc-theme .sws-v4-cta--plein {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--or-encre) !important;
  color: var(--ivoire) !important;
  font-family: var(--font-corps);
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background .2s ease;
}
.mc-theme .sws-btn:hover,
.mc-theme .sws-v4-cta--plein:hover { background: var(--encre) !important; }
@media (max-width: 767px) {
  .mc-theme .sws-v4-block .sws-v4-cta--plein,
  .mc-theme .mc-buy__cta { width: 100%; }
}

/* Le bouton « contour » du moteur devient un lien souligné d'or. */
.mc-theme .sws-v4-cta__cta:not(.sws-v4-cta--plein),
.mc-theme .sws-v4-hero__cta--secondary,
.mc-theme .sws-v4-text-media__cta:not(.sws-v4-cta--plein) {
  display: inline-block;
  padding: 4px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--or) !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--encre) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none !important;
}

/* Petits libellés : capitales 11 px, espacées. */
.mc-theme .sws-v4-hero__eyebrow,
.mc-theme .sws-v4-entity-showcase__eyebrow,
.mc-theme .mc-buy__collection {
  font-family: var(--font-corps);
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: .15em !important;
  text-transform: uppercase;
}

/* Le filet : 1 px or clair, 48 px, centré — le seul ornement. */
.mc-theme .mnx-section__head::after,
.mc-theme .sws-v4-feature-grid__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 18px auto 0;
  background: var(--or-clair);
}

/* Titres de section : centrés, Cormorant, taille de section. */
.mc-theme .mnx-section__head,
.mc-theme .sws-v4-feature-grid__title { text-align: center; }
.mc-theme .mnx-section__title,
.mc-theme .sws-v4-feature-grid__title,
.mc-theme .sws-v4-text-media__title,
.mc-theme .sws-v4-entity-showcase__title,
.mc-theme .sws-v4-cta__title {
  font-family: var(--font-titre) !important;
  font-weight: 500 !important;
  font-size: var(--font-size-section) !important;
  line-height: 1.12 !important;
  letter-spacing: .02em !important;
  color: var(--encre) !important;
}
.mc-theme .mnx-section__head { margin-bottom: 36px; }

/* Badges : délai (filet or clair), édition (Fès). */
.mc-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border: 1px solid var(--or-clair);
  background: transparent;
  color: var(--gris);
  font-family: var(--font-corps);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.3;
  white-space: nowrap;
}
.mc-badge--edition {
  border-color: var(--fes);
  color: var(--fes);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* ─── Chrome : bandeau, en-tête, tiroir ────────────────────────────────── */

.mc-theme .mnx-announce {
  background: var(--ivoire-2);
  color: var(--gris);
  border: 0;
  font-size: 12px;
  letter-spacing: .04em;
  min-height: 30px;
}
.mc-theme .mnx-announce__item { color: var(--gris); padding: 0 28px; }

.mc-theme .mnx-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(245, 240, 232, .96);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--color-border-soft);
}
.mc-theme .mnx-header__main {
  background: transparent;
  border: 0;
  padding: 0;
}
.mc-theme .mnx-header__main-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "burger logo util";
  align-items: center;
  min-height: 64px;
  gap: 0 12px;
  padding-inline: var(--gutter);
  max-width: none;
}
.mc-theme .mnx-burger { grid-area: burger; justify-self: start; }
.mc-theme .mnx-logo { grid-area: logo; justify-self: center; }
.mc-theme .mnx-header__utility { grid-area: util; justify-self: end; }
.mc-theme .mnx-nav-wrap { grid-area: nav; }

/* La signature : capitales espacées, taille modeste. */
.mc-theme .mnx-logo { gap: .45em; text-decoration: none; }
.mc-theme .mnx-logo__wordmark,
.mc-theme .mnx-logo__sub {
  font-family: var(--font-titre);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--encre);
  line-height: 1;
}
@media (max-width: 480px) {
  .mc-theme .mnx-logo__wordmark,
  .mc-theme .mnx-logo__sub { font-size: 13px; letter-spacing: .14em; }
  .mc-theme .mnx-logo { gap: .35em; }
}
@media (max-width: 380px) {
  /* La pastille de langue tient dans l en-tête : nom un peu moins espacé, rien ne se touche à 360 px. */
  .mc-theme .mnx-logo__wordmark,
  .mc-theme .mnx-logo__sub { font-size: 11.5px; letter-spacing: .08em; }
  .mc-theme .mnx-logo { gap: .3em; }
}

.mc-theme .mnx-header__utility-link,
.mc-theme .mnx-header__utility a { color: var(--encre); min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.mc-theme .mnx-burger span { background: var(--encre); height: 1px; }

@media (min-width: 1025px) {
  .mc-theme .mnx-header__main-inner {
    grid-template-areas: ". logo util" "nav nav nav";
    min-height: 0;
    padding-top: 18px;
  }
  .mc-theme .mnx-nav-wrap { justify-content: center; padding: 14px 0 12px; }
  .mc-theme .mnx-nav-wrap .mnx-nav { gap: 40px; }
  .mc-theme .mnx-logo__wordmark,
  .mc-theme .mnx-logo__sub { font-size: 19px; }
}
.mc-theme .mnx-nav-wrap .mnx-nav > li > a,
.mc-theme .mnx-nav-wrap .mnx-nav__link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--encre);
  border-bottom: 1px solid transparent;
  padding: 4px 0;
}
.mc-theme .mnx-nav-wrap .mnx-nav > li > a:hover,
.mc-theme .mnx-nav-wrap .mnx-nav__link:hover { color: var(--encre); border-bottom-color: var(--or); }

.mc-theme .mnx-drill { background: var(--ivoire); }

/* ─── Accueil : hero ───────────────────────────────────────────────────── */

.mc-theme .sws-v4-hero {
  /* `--sws-vh` : 1svh en boutique, hauteur d'écran plausible dans l'aperçu du Studio —
     dont le cadre prend la hauteur de son contenu : `100svh` y grandissait sans fin. */
  min-height: calc(100 * var(--sws-vh, 1svh) - 94px) !important;
  display: flex !important;
  align-items: flex-end !important;
  background-position: center 20% !important;
  padding: 0 var(--gutter) 56px !important;
}
.mc-theme .sws-v4-hero__inner { width: 100%; margin: 0 !important; max-width: 640px !important; }
.mc-theme .sws-v4-hero__title {
  font-weight: 500 !important;
  line-height: 1.04 !important;
  margin-bottom: .45em !important;
}
.mc-theme .sws-v4-hero__lead { font-size: 17px; margin-bottom: 28px !important; }
.mc-theme .sws-v4-hero__veil {
  background: linear-gradient(to top, rgba(28,26,23,.62) 0%, rgba(28,26,23,.18) 55%, rgba(28,26,23,0) 80%) !important;
}
@media (min-width: 992px) {
  .mc-theme .sws-v4-hero { padding: 0 72px 88px !important; min-height: calc(86 * var(--sws-vh, 1vh)) !important; }
  /* Texte calé au début : le voile monte aussi de ce côté-là. Le voile du bas ne couvre pas
     le titre, qui tombait sur une broderie claire quand le diaporama change de photo. */
  .mc-theme .sws-v4-hero:has(> .sws-v4-hero__inner[style*="text-align:start"]) > .sws-v4-hero__veil {
    background:
      linear-gradient(to right, rgba(28,26,23,.58) 0%, rgba(28,26,23,.32) 34%, rgba(28,26,23,0) 58%),
      linear-gradient(to top, rgba(28,26,23,.62) 0%, rgba(28,26,23,.18) 55%, rgba(28,26,23,0) 80%) !important;
  }
  .mc-theme.is-rtl .sws-v4-hero:has(> .sws-v4-hero__inner[style*="text-align:start"]) > .sws-v4-hero__veil {
    background:
      linear-gradient(to left, rgba(28,26,23,.58) 0%, rgba(28,26,23,.32) 34%, rgba(28,26,23,0) 58%),
      linear-gradient(to top, rgba(28,26,23,.62) 0%, rgba(28,26,23,.18) 55%, rgba(28,26,23,0) 80%) !important;
  }
}

/* ─── Bandeau de statut (texte seul, sans titre) ───────────────────────── */

.mc-theme .sws-v4-text:not(:has(.sws-v4-text__title)) {
  background: var(--ivoire-2) !important;
  padding: 18px var(--gutter) !important;
  max-width: none !important;
  text-align: center;
}
.mc-theme .sws-v4-text:not(:has(.sws-v4-text__title)) .sws-v4-text__body {
  font-size: 12px !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gris) !important;
  margin: 0 auto;
}
.mc-theme .sws-v4-text:not(:has(.sws-v4-text__title)) .sws-v4-text__body p { margin: 0; }

/* ─── Pièce signature (entity_showcase produit) ────────────────────────── */

.mc-theme .sws-v4-entity-showcase--product { padding: 64px var(--gutter) !important; }
.mc-theme .sws-v4-entity-showcase__inner { gap: 32px 72px !important; align-items: center !important; }
.mc-theme .sws-v4-entity-showcase__media img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.mc-theme .sws-v4-entity-showcase__eyebrow { color: var(--fes); margin: 0 0 14px; }
.mc-theme .sws-v4-entity-showcase__title { margin: 0 0 18px; }
.mc-theme .sws-v4-entity-showcase__body { color: var(--gris); max-width: 46ch; margin: 0 0 24px; }
.mc-theme .sws-v4-entity-showcase__body p { margin: 0; }
.mc-theme .sws-v4-entity-showcase__price { font-size: 22px; font-weight: 600; margin: 0 0 6px; color: var(--encre); }
.mc-theme .sws-v4-entity-showcase__note { font-size: 13px; color: var(--gris); margin: 0 0 28px; }
@media (min-width: 992px) {
  .mc-theme .sws-v4-entity-showcase--product { padding: 112px 72px !important; }
  .mc-theme .sws-v4-entity-showcase__media { flex: 0 0 44% !important; }
}

/* ─── Grilles d'arguments (feature_grid) ───────────────────────────────── */

.mc-theme .sws-v4-feature-grid { padding-top: 72px !important; padding-bottom: 72px !important; }
.mc-theme .sws-v4-feature-grid__lead { text-align: center; color: var(--gris); }
.mc-theme .sws-v4-feature-grid__item { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.mc-theme .sws-v4-feature-grid__item h3,
.mc-theme .sws-v4-feature-grid__item strong {
  font-family: var(--font-titre) !important;
  font-weight: 500 !important;
  font-size: 22px !important;
  letter-spacing: .02em !important;
  color: var(--encre) !important;
}
.mc-theme .sws-v4-feature-grid__item p { color: var(--gris) !important; }
.mc-theme .sws-v4-feature-grid__num {
  font-family: var(--font-corps) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .15em;
  color: var(--or-encre) !important;
}
.mc-theme .sws-v4-feature-grid__item img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

/* Pictogrammes filaires : les glyphes pleins de FontAwesome sont remplacés,
   DANS CE SEUL BLOC, par des traits de 1 px or. */
.mc-theme .sws-v4-feature-grid .fa-money,
.mc-theme .sws-v4-feature-grid .fa-calendar,
.mc-theme .sws-v4-feature-grid .fa-scissors,
.mc-theme .sws-v4-feature-grid .fa-certificate {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: var(--or);
  -webkit-mask: var(--mc-ico) center / contain no-repeat;
  mask: var(--mc-ico) center / contain no-repeat;
}
.mc-theme .sws-v4-feature-grid .fa-money::before,
.mc-theme .sws-v4-feature-grid .fa-calendar::before,
.mc-theme .sws-v4-feature-grid .fa-scissors::before,
.mc-theme .sws-v4-feature-grid .fa-certificate::before { content: none; }
.mc-theme .sws-v4-feature-grid .fa-money { --mc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='.8'%3E%3Crect x='2.5' y='6.5' width='19' height='11'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3Cpath d='M5.5 9.5v5M18.5 9.5v5'/%3E%3C/svg%3E"); }
.mc-theme .sws-v4-feature-grid .fa-calendar { --mc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='.8'%3E%3Crect x='3.5' y='5' width='17' height='15.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4M7.5 13.5h4'/%3E%3C/svg%3E"); }
.mc-theme .sws-v4-feature-grid .fa-scissors { --mc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='.8'%3E%3Ccircle cx='6' cy='6.5' r='2.6'/%3E%3Ccircle cx='6' cy='17.5' r='2.6'/%3E%3Cpath d='M8.2 8 20 18M8.2 16 20 6'/%3E%3C/svg%3E"); }
.mc-theme .sws-v4-feature-grid .fa-certificate { --mc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='.8'%3E%3Crect x='3.5' y='3.5' width='17' height='13'/%3E%3Cpath d='M7 7.5h10M7 10.5h6'/%3E%3Ccircle cx='15.5' cy='16.5' r='2.4'/%3E%3Cpath d='M14 18.5 13.5 22l2-1.2 2 1.2-.5-3.5'/%3E%3C/svg%3E"); }

/* ─── Appels (block.cta) ───────────────────────────────────────────────── */

.mc-theme .sws-v4-cta { background: transparent !important; text-align: center; }
.mc-theme .sws-v4-cta__text { color: var(--gris) !important; font-size: 14px; letter-spacing: .02em; }

/* ─── Récit + image (text_media) ───────────────────────────────────────── */

.mc-theme .sws-v4-text-media__media img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.mc-theme .sws-v4-text-media__text p { color: var(--gris); }

/* ─── Grilles produits ─────────────────────────────────────────────────── */

.mc-theme .sws-v4-product-pick__grid,
.mc-theme .mnx-product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px 16px !important;
}
@media (min-width: 992px) {
  .mc-theme .sws-v4-product-pick__grid,
  .mc-theme .mnx-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 48px 24px !important; }
}
.mc-theme .sws-v4-product-pick__more { text-align: center; margin: 40px 0 0; }
.mc-theme .sws-v4-product-pick__more a {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 1px solid var(--or);
  color: var(--encre);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
}

/* La carte : portrait 3:4, deuxième photo au survol. */
.mc-card { background: transparent; box-shadow: none !important; border: 0; display: flex; flex-direction: column; min-width: 0; }
.mc-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.mc-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .45s ease;
}
.mc-card__img--alt { opacity: 0; }
@media (hover: hover) {
  .mc-card--duo:hover .mc-card__img--alt { opacity: 1; }
}
.mc-card .mc-badge--edition { position: absolute; top: 10px; left: 10px; background: var(--ivoire); }
/* « Nouveauté » en bas à droite : en haut, il cachait le visage du mannequin (Meryem, 2026-10-12). */
.mc-card .mc-badge--new { top: auto; left: auto; bottom: 10px; right: 10px; }
.mc-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 14px; }
.mc-card__title {
  font-family: var(--font-titre);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--encre);
  text-decoration: none;
}
.mc-card__price, .mc-card__price .price { font-weight: 600; color: var(--encre); font-size: 15px; white-space: nowrap; }
/* Gamme (Maison › Gamme) : petit libellé au-dessus du nom ; « Sur devis » remplace le prix. */
.mc-card__gamme,
.mc-buy__gamme {
  font-family: var(--font-corps);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--or-encre);
}
.mc-card__price--devis { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--or-encre); }
.mc-buy__price--devis { color: var(--or-encre); font-style: italic; }
.mc-buy__collection { display: flex; flex-wrap: wrap; gap: 4px 0; }
.mc-buy__collection > span + span::before { content: "·"; margin-inline: .6em; }
/* Le délai passe à la ligne dans une carte étroite plutôt que de déborder (4 colonnes en desktop aussi). */
.mc-card .mc-badge--delai { white-space: normal; max-width: 100%; }
.mc-theme .currency { font-weight: 600; }

/* ─── Fiche produit ────────────────────────────────────────────────────── */

.mc-buy { display: flex; flex-direction: column; gap: 0; }
.mc-buy__collection { color: var(--or-encre); margin: 0 0 10px; }
.mc-theme .mc-buy__title {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  margin: 0 0 18px;
}
.mc-buy__price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 6px; }
.mc-buy__price, .mc-buy__price .price { font-size: 22px; font-weight: 600; color: var(--encre); }
.mc-buy__payment { font-size: 13px; color: var(--gris); margin: 0 0 24px; }
.mc-buy__fit { font-size: 13px; color: var(--gris); margin: 10px 0 20px; }
.mc-buy__fit a { color: var(--encre); text-decoration: none; border-bottom: 1px solid var(--or); }
.mc-buy__unavailable { color: var(--gris); }
.mc-theme .mc-buy #sws-wa-pdp {
  background: none;
  color: var(--encre);
  padding: 4px 0;
  margin: 18px 0 0;
  min-height: 44px;
  border-bottom: 1px solid var(--or);
  font: 600 12px/1.2 var(--font-corps);
  letter-spacing: .12em;
  text-transform: uppercase;
  align-self: flex-start;
}
.mc-theme .mc-buy #sws-wa-pdp svg { width: 16px; height: 16px; fill: var(--encre); }
.mc-buy__assurances {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--color-border-soft);
}
.mc-buy__assurances li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; color: var(--gris); }
.mc-buy__assurances svg { width: 28px; height: 28px; fill: none; stroke: var(--or); stroke-width: .9; }

/* Tailles : cases carrées, fil or à la sélection. */
.mc-theme .mnx-optform label,
.mc-theme .mnx-optform .control-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gris);
}

/* Sections empilées. */
.mc-sections { max-width: 820px !important; margin: 0 auto; padding: 24px var(--gutter) 0; }
.mc-section { padding: 36px 0; border-top: 1px solid var(--color-border-soft); }
.mc-theme .mc-section__title { font-size: 28px; margin: 0 0 16px; }
.mc-prose { color: var(--gris); }
.mc-prose p { margin: 0 0 .8em; }
.mc-qa__q { color: var(--encre); font-weight: 600; }
.mc-specs { display: grid; grid-template-columns: 1fr; gap: 0 40px; margin: 0; }
@media (min-width: 768px) { .mc-specs { grid-template-columns: 1fr 1fr; } }
.mc-specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--color-border-soft); font-size: 14px; }
.mc-specs dt { color: var(--gris); font-weight: 500; }
.mc-specs dd { margin: 0; text-align: end; color: var(--encre); }
.mc-care { margin: 0; padding-left: 1.1em; color: var(--gris); }

/* Barre collante mobile : prix + Commander, dès que le bloc d'achat sort. */
.mc-sticky { display: none; }
@media (max-width: 991px) {
  .mc-sticky {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 240, 232, .98);
    border-top: 1px solid var(--color-border-soft);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .mc-sticky.is-visible { transform: none; }
  .mc-sticky__price, .mc-sticky__price .price { font-weight: 600; font-size: 17px; }
  .mc-sticky__cta { flex: 0 0 auto; min-width: 160px; }
  body.mc-has-sticky #sws-wa-float,
  body.mc-has-sticky .sws-wa-float { bottom: 84px !important; }
}

/* ─── Pied de page ─────────────────────────────────────────────────────── */

.mc-theme .mnx-footer {
  background: var(--ivoire-2);
  color: var(--encre);
  border-top: 0;
  padding: 64px 0 24px;
}
.mc-theme .mnx-footer__brand-wordmark {
  font-family: var(--font-titre);
  font-size: 17px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--encre);
  text-decoration: none;
}
.mc-theme .mnx-footer__tagline,
.mc-theme .mnx-footer__contact-line,
.mc-theme .mnx-footer__links a { color: var(--gris); font-size: 14px; text-decoration: none; }
.mc-theme .mnx-footer__links a:hover { color: var(--encre); }
.mc-theme .mnx-footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--encre);
}
.mc-theme .mnx-footer__social a { color: var(--encre); }
.mc-theme .mnx-footer__bar { border-top: 1px solid var(--or-clair); color: var(--gris); font-size: 12px; }

/* ─── Mouvement réduit ─────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .mc-card__img, .mc-sticky, .mc-theme .sws-btn { transition: none; }
}

/* ─── Correctifs mesurés au rendu (2026-09-30) ─────────────────────────── */

/* Le bloc `cta` pose `sws-v4-cta--plein` même en style contour ; seul son fond
   en ligne (`transparent`) les distingue. Contour = lien souligné d'or. */
.mc-theme .sws-v4-cta__cta[style*="background:transparent"] {
  min-height: 0;
  padding: 4px 0 !important;
  background: none !important;
  color: var(--encre) !important;
  border-bottom: 1px solid var(--or) !important;
}
/* Un appel sans destination n'est pas un bouton : pas d'apparence cliquable. */
.mc-theme span.sws-v4-cta__cta { display: none !important; }

/* Panier de l'en-tête : une icône et un compteur, pas un bouton plein. */
.mc-theme .mnx-header__cart-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: var(--encre) !important;
  box-shadow: none !important;
}
.mc-theme .mnx-header__cart-btn .mnx-cart-label { display: none; }
.mc-theme .mnx-header__cart-btn .fa { font-size: 18px; }
.mc-theme .mnx-header__cart-btn .countcart {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--encre);
  color: var(--ivoire);
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

/* Étapes : « 01 » en capitales or, sans pastille. */
.mc-theme .sws-v4-feature-grid__num {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--or-encre) !important;
  font-family: var(--font-corps) !important;
  font-size: 12px !important;
  letter-spacing: .15em;
  justify-content: flex-start !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--or-clair);
  margin-bottom: 18px !important;
}
.mc-theme .sws-v4-feature-grid__num::before { content: "0"; }

/* Six cartes clientes : trois par rangée plutôt que 4 + 2. */
@media (min-width: 768px) {
  .mc-theme .sws-v4-feature-grid__items:has(> :nth-child(6):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Le socle habille la DERNIÈRE section `text_media` en carte (bandeau MEDSON).
   Ici c'est le portrait de la créatrice : posé sur le fond, sans cadre. */
.mc-theme .sws-v4-text-media:last-of-type {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-block: 0;
}
.mc-theme .sws-v4-text-media { padding-inline: var(--gutter) !important; }
.mc-theme .sws-v4-text-media__text .sws-v4-text-media__title { margin-bottom: 18px !important; }
/* « Découvrir la Maison » est un lien, pas un second bouton primaire. */
.mc-theme .sws-v4-text-media__cta {
  min-height: 0 !important;
  padding: 4px 0 !important;
  background: none !important;
  color: var(--encre) !important;
  border-bottom: 1px solid var(--or) !important;
}
/* Il porte aussi `sws-v4-cta--plein`, dont le survol pose un fond encre : texte encre sur fond
   encre, le lien disparaissait (règle du moteur `.sws-v4-block a.sws-v4-cta--plein:hover`, d'où le sélecteur).
   Au survol, le lien reste un lien et passe à l'or. Idem pour le bloc `cta` en style contour
   (« Lire l'article » du bandeau Le360), qui porte la même classe. */
.mc-theme .sws-v4-block a.sws-v4-text-media__cta:hover,
.mc-theme .sws-v4-block a.sws-v4-text-media__cta:focus-visible,
.mc-theme .sws-v4-block a.sws-v4-cta__cta[style*="background:transparent"]:hover,
.mc-theme .sws-v4-block a.sws-v4-cta__cta[style*="background:transparent"]:focus-visible {
  background: none !important;
  color: var(--or-encre) !important;
}

/* Cartes illustrées (occasions, clientes) : l'image seule, sans cadre. */
.mc-theme .sws-v4-feature-grid__item--cartes {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.mc-theme .sws-v4-feature-grid__item--cartes img { margin-bottom: 16px !important; box-shadow: var(--ombre); }
.mc-theme .sws-v4-feature-grid__item--cartes a { text-decoration: none; color: inherit; }
.mc-theme .sws-v4-feature-grid__item--cartes a h3::after,
.mc-theme a.sws-v4-feature-grid__item--cartes h3::after {
  content: "\2192";
  margin-left: .5em;
  font-family: var(--font-corps);
  font-size: .8em;
  color: var(--or);
}

/* Un visuel « photo à venir » doit se lire comme un emplacement, pas se fondre. */
.mc-theme img[src*="photo-a-venir"] {
  outline: 1px solid var(--or-clair);
  outline-offset: -1px;
  box-shadow: none !important;
}

/* Mobile : les occasions défilent à l'horizontale, pleine hauteur 3:4. */
@media (max-width: 767px) {
  .mc-theme .sws-v4-feature-grid__items:has(> .sws-v4-feature-grid__item--cartes:nth-child(3):last-child) {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px !important;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .mc-theme .sws-v4-feature-grid__items:has(> .sws-v4-feature-grid__item--cartes:nth-child(3):last-child) > * {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

@media (max-width: 767px) {
  .mc-theme .sws-v4-feature-grid__items:has(> .sws-v4-feature-grid__item--cartes:nth-child(3):last-child) {
    padding-inline: var(--gutter) !important;
    scroll-padding-inline: var(--gutter);
  }
  /* Deux colonnes de 160 px : le délai passe à la ligne plutôt que de déborder. */
  .mc-card .mc-badge--delai { white-space: normal; max-width: 100%; }
  .mc-card__title { font-size: 17px; }
}

/* ─── Fiche : ajustements mesurés au rendu ─────────────────────────────── */

/* Les prix en Manrope, chiffres alignés — jamais les elzéviriens du Cormorant. */
.mc-theme .mnx-pdp__price,
.mc-theme .mnx-pdp__price .price,
.mc-theme .mnx-pdp__price .currency {
  font-family: var(--font-corps) !important;
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 600;
}

/* Fil d'Ariane : discret, sans la promotion. */
.mc-theme .mnx-breadcrumb { font-size: 12px; letter-spacing: .04em; color: var(--gris); padding: 20px 0 8px; }
.mc-theme .mnx-breadcrumb a { color: var(--gris); text-decoration: none; }
.mc-theme .mnx-breadcrumb__current { color: var(--encre); font-weight: 400; }
.mc-theme .mnx-breadcrumb__deals { display: none; }

/* Photo principale en portrait 3:4. */
.mc-theme .mnx-pdp__main-wrap { aspect-ratio: 3 / 4; background: var(--blanc); overflow: hidden; }
.mc-theme .mnx-pdp__main-wrap .mnx-viewer-img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
}
.mc-theme .mnx-pdp__thumb { border-radius: 0 !important; border-color: var(--color-border-soft) !important; }
.mc-theme .mnx-pdp__thumb--active { border-color: var(--or) !important; }

/* Bloc d'achat collant sur bureau. */
@media (min-width: 992px) {
  .mc-theme .mnx-v4-slot--main .mc-buy { position: sticky; top: 128px; }
  .mc-theme .mnx-v4-cols--gallery-left { gap: 72px !important; align-items: start; }
}

/* La zone « related » : fond ivoire, pas le blanc du socle. */
.mc-theme .mnx-v4-slot--related,
.mc-theme .mnx-v4-slot--related > * { background: var(--ivoire) !important; }

/* Tailles : boutons carrés à la place de la liste déroulante. */
.mc-theme .variant-field { margin: 0 0 4px; }
.mc-theme .variant-field > [class*="col-"] { float: none; width: 100%; padding: 0; }
.mc-theme .variant-field__label { margin: 0 0 10px; }
.mc-theme .variant-field__label .isrequired { color: var(--fes) !important; }
.mc-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-sizes__btn {
  min-width: 52px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-border-soft);
  border-radius: 0;
  background: var(--blanc);
  color: var(--encre);
  font: 500 13px/1 var(--font-corps);
  letter-spacing: .06em;
  cursor: pointer;
}
.mc-sizes__btn:hover { border-color: var(--or-clair); }
.mc-sizes__btn[aria-pressed="true"] { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.mc-sizes + select.mc-sizes__native {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  opacity: 0; pointer-events: none;
}
.mc-theme .variant-field .form-group { position: relative; margin: 0; }
.mc-theme .variant-field label.error { font-size: 12px; color: var(--fes); margin-top: 6px; }
.mc-sizes__error { display: none; margin: 8px 0 0; font-size: 12px; color: var(--fes); }
.mc-sizes.is-invalid ~ .mc-sizes__error { display: block; }
.mc-sizes.is-invalid .mc-sizes__btn { border-color: var(--fes); }



/* Arabe : le nom de la Maison (écriture latine) se lit de gauche à droite — sans quoi « MERYEM »
   et « BOUSSIKOUK », deux éléments, s inversaient. */
[dir="rtl"] .mc-theme .mnx-logo { direction: ltr; }

/* ─── Pages du Page Builder (Biographie, Presse…) ─────────────────────────
   Une page de Maison : titre centré sous le filet, des respirations entre les
   blocs (le moteur les colle les uns aux autres), le texte en Cormorant. */

.mc-theme .mnx-page-wrap:not(.mnx-page-wrap--has-toc) { max-width: 1120px; }
.mc-theme .mnx-page-header {
  margin-bottom: clamp(40px, 6vw, 72px);
  padding-bottom: 0;
  border-bottom: 0;
  text-align: center;
}
.mc-theme .mnx-page-title {
  font-family: var(--font-titre);
  font-size: var(--font-size-section);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-heading);
  color: var(--encre);
}
.mc-theme .mnx-page-header::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--or-clair);
}
.mc-theme .mnx-page-sections > .mnx-page-section + .mnx-page-section { margin-top: clamp(56px, 9vw, 120px); }

/* Chapeau : le premier bloc texte de la page (styles EN LIGNE du moteur). */
.mc-theme .mnx-page-sections > .mnx-page-section[data-type="text"]:first-child .sws-section-text > div {
  max-width: 720px;
  margin-inline: auto;
  font-family: var(--font-titre) !important;
  font-size: clamp(21px, 2.4vw, 26px) !important;
  font-style: italic;
  line-height: 1.5 !important;
  color: var(--encre) !important;
}

/* Bloc texte + média : titre Cormorant suivi du filet. */
.mc-theme .mnx-page-section .sws-block--text-media .sws-section__title {
  font-family: var(--font-titre);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}
.mc-theme .mnx-page-section .sws-block--text-media .sws-section__title:not(:empty)::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 20px 0 22px;
  background: var(--or-clair);
}
.mc-theme .mnx-page-section .sws-block--text-media .sws-text-center .sws-section__title::after { margin-inline: auto; }
.mc-theme .mnx-page-section .sws-block--text-media .sws-block__richtext { color: var(--gris); }

/* Citation de presse : la phrase de l'article, en grand, en italique. */
.mc-theme .mnx-page-section .sws-block__richtext blockquote {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  font-family: var(--font-titre);
  font-size: clamp(21px, 2.3vw, 26px);
  font-style: italic;
  line-height: 1.45;
  color: var(--encre);
}
/* Ligne de source (« Le360 Français · 21 mars 2024 ») : dernier paragraphe fait d'un seul <em>. */
.mc-theme .mnx-page-section .sws-block__richtext > p:last-child > em:only-child {
  font-family: var(--font-corps);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-label);
  text-transform: uppercase;
  color: var(--or-encre);
}

/* Vidéo : la plus large des deux colonnes, cadrée d'un filet. */
@media (min-width: 768px) {
  .mc-theme .sws-block--media-left .sws-block__split:has(> .sws-block__media--embed) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .mc-theme .sws-block--text-left .sws-block__split:has(> .sws-block__media--embed) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .mc-theme .sws-block__split:has(> .sws-block__media--embed) { gap: clamp(32px, 5vw, 72px); }
}
.mc-theme .sws-block__media--embed { aspect-ratio: auto; padding: 10px; border: 1px solid var(--color-border-soft); background: var(--blanc); }
.mc-theme .sws-block__media--embed .sws-block__embed { height: auto; aspect-ratio: 16 / 9; }
