/* ═══════════════════════════════════════════════════════════
   MY AMERICAN MARKET — warehousechild/assets/css/custom.css
   Refonte 2026 · v1.2 — … + Brand bar + Onglets + Carrousel produits
   ─────────────────────────────────────────────────────────
    1. Tokens
    2. Body
    3. Promo bar (Elementor)
    4. Heritage strip (Elementor)
    5. Header container + colonnes
    6. Logo
    7. Search (loupe DANS input + bouton rond → coral hover)
    8. Actions wrapper
    9. Langue (#language_selector → flag-pill)
   10. Wishlist (iqitwishlist → icon-btn)
   11. User button (#header-user-btn → icon-btn)
   12. Cart button (#blockcart → icon-btn + badge)
   13. Sticky header
   ⚠ Pas de devise (1 seule, EUR), pas de currency_selector dans le header
   ═══════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════
   1. TOKENS
════════════════════════════════════════════════════════════ */
:root {
  --mam-coral:        #FF5A5F;
  --mam-coral-d:      #ED4045;
  --mam-coral-pale:   #FFE9EA;
  --mam-navy:         #41556B;
  --mam-navy-d:       #1A2738;
  --mam-cream:        #FBF6EF;
  --mam-cream-2:      #F4EEDF;
  --mam-white:        #FFFFFF;

  --mam-text:         #1A2030;
  --mam-text-2:       #4A5468;
  --mam-muted:        #8B94A6;

  --mam-border:       #EAE3D2;
  --mam-line:         #E8E2D6;
  --mam-line-soft:    #F1EAD9;

  --mam-sh-sm:        0 1px 2px rgba(26,32,48,.05);
  --mam-sh-md:        0 6px 18px rgba(26,32,48,.08);

  --mam-r-sm:         8px;
  --mam-r-md:         14px;
  --mam-r-lg:         20px;
  --mam-r-pill:       999px;

  --mam-f-display:    'Fraunces', Georgia, serif;
  --mam-f-body:       'DM Sans', system-ui, sans-serif;

  /* — Fiche produit — */
  --mam-butter:       #F4C95D;
  --mam-success:      #2E8259;
  --mam-danger:       #C0392B;
  --mam-r-xl:         32px;
  --mam-sh-coral:     0 12px 32px -10px rgba(255,90,95,.45);
}

/* ════════════════════════════════════════════════════════════
   2. BODY
════════════════════════════════════════════════════════════ */
body {
  background: var(--mam-cream);
  color: var(--mam-text);
}

/* ════════════════════════════════════════════════════════════
   3. PROMO BAR  (HTML Elementor)
════════════════════════════════════════════════════════════ */
.mam-promo-bar {
  background: var(--mam-navy-d);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  width: 100vw;
  position: relative;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
}
.mam-promo-bar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  max-width: 1320px; margin: 0 auto; padding: 9px 16px;
}
.mam-promo-bar__item { display: inline-flex; align-items: center; gap: 6px; }
.mam-promo-bar__item strong { font-weight: 600; }
.mam-promo-bar__item .mam-code {
  background: rgba(255,255,255,.12);
  padding: 2px 8px; border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px; letter-spacing: 0.08em;
}
.mam-promo-bar__sep {
  width: 4px; height: 4px;
  background: rgba(255,255,255,.35);
  border-radius: 50%;
}
/* bouton « copier le code » */
.mam-code-copy {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px dashed rgba(255,255,255,.4); border-radius: 5px;
  padding: 2px 9px; margin-left: 2px; cursor: pointer;
  font-family: inherit; font-size: inherit; line-height: 1.4;
  transition: background .15s, border-color .15s;
}
.mam-code-copy:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.7); }
.mam-code-copy .mam-code {
  background: none; padding: 0; border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700; letter-spacing: 0.08em;
}
.mam-code-copy__ic { font-size: 13px; opacity: .85; }
.mam-code-copy__done { display: none; color: #8FE3B0; font-weight: 600; }
.mam-code-copy.is-copied .mam-code,
.mam-code-copy.is-copied .mam-code-copy__ic { display: none; }
.mam-code-copy.is-copied .mam-code-copy__done { display: inline; }
.mam-code-copy.is-copied { border-color: #8FE3B0; background: rgba(143,227,176,.15); }
@media (max-width: 767px) {
  .mam-promo-bar__inner { gap: 10px; padding: 8px 12px; font-size: 11.5px; }
  .mam-promo-bar__sep { display: none; }
}

/* ════════════════════════════════════════════════════════════
   4. HERITAGE STRIP  (HTML Elementor)
════════════════════════════════════════════════════════════ */
.mam-heritage-strip {
  background: var(--mam-cream-2);
  border-top: 1px solid var(--mam-border);
  border-bottom: 1px solid var(--mam-border);
  overflow: hidden;
  width: 100vw; position: relative;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
}
.mam-heritage-strip__track {
  display: flex; width: max-content;
  animation: mamHeritageScroll 42s linear infinite;
}
.mam-heritage-strip__seg {
  display: flex; align-items: center; gap: 38px;
  padding: 11px 19px;
  font-family: var(--mam-f-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mam-navy); white-space: nowrap;
}
.mam-heritage-strip .mam-star { color: var(--mam-coral); font-size: 11px; }
@keyframes mamHeritageScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.mam-heritage-strip:hover .mam-heritage-strip__track { animation-play-state: paused; }
@media (max-width: 767px) {
  .mam-heritage-strip__seg { gap: 22px; padding: 9px 14px; font-size: 11px; letter-spacing: 0.16em; }
}

/* ════════════════════════════════════════════════════════════
   5. HEADER CONTAINER + COLONNES          [recodé sur DOM réel v0.4]
   .header-top > #desktop-header-container.container
     > .row.align-items-center
        > .col.col-auto.col-header-left      (#desktop_logo)
        > .col.col-header-center             (#search_widget)
        > .col.col-auto.col-header-right     (.row.no-gutters.justify-content-end)
════════════════════════════════════════════════════════════ */
.header-top {
  background: var(--mam-white);
  border-bottom: 1px solid var(--mam-line);
}
.header-top #desktop-header-container > .row { align-items: center; flex-wrap: nowrap; }

.header-top .col-header-left   { flex: 0 0 auto; padding-right: 24px; }
.header-top .col-header-center { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
.header-top .col-header-right  { flex: 0 0 auto; padding-left: 24px; }

@media (max-width: 1199px) {
  .header-top .col-header-left  { padding-right: 14px; }
  .header-top .col-header-right { padding-left: 14px; }
}

/* ════════════════════════════════════════════════════════════
   6. LOGO  (#desktop_logo > a > img.logo.img-fluid — SVG)
════════════════════════════════════════════════════════════ */
.header-top #desktop_logo a { display: inline-block; }
.header-top #desktop_logo img.logo {
  width: 160px;
  height: auto;
  max-width: 100%;
}
@media (max-width: 1199px) {
  .header-top #desktop_logo img.logo { width: 132px; }
}

/* ════════════════════════════════════════════════════════════
   7. SEARCH  (#search_widget : form > .input-group(input + button.search-btn))
   pill cream · loupe statique gauche · bouton rond navy → coral (flèche)
════════════════════════════════════════════════════════════ */
.header-top #search_widget { width: 100%; max-width: 1560px; }
.header-top #search_widget form { position: relative; margin: 0; }

.header-top #search_widget .input-group {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  background: var(--mam-cream);
  border: 1.5px solid transparent;
  border-radius: var(--mam-r-pill);
  padding: 4px 4px 4px 46px;
  transition: border-color .2s, background .2s;
}
.header-top #search_widget .input-group:focus-within {
  border-color: var(--mam-coral);
  background: var(--mam-white);
}
/* loupe statique (gauche) */
.header-top #search_widget .input-group::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background: var(--mam-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2711%27%20cy%3D%2711%27%20r%3D%278%27%2F%3E%3Cpath%20d%3D%27m21%2021-4.3-4.3%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2711%27%20cy%3D%2711%27%20r%3D%278%27%2F%3E%3Cpath%20d%3D%27m21%2021-4.3-4.3%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
/* input : reset complet du form-control Bootstrap */
.header-top #search_widget input.form-control,
.header-top #search_widget input.form-search-control {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  height: auto;
  margin: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  outline: none;
  padding: 12px;
  font-family: var(--mam-f-body);
  font-size: 14px;
  color: var(--mam-text);
}
.header-top #search_widget input.form-control:focus { box-shadow: none; outline: none; }
.header-top #search_widget input::placeholder { color: var(--mam-muted); }
/* bouton submit → rond navy, flèche, hover coral */
.header-top #search_widget .search-btn {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: var(--mam-navy-d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.header-top #search_widget .search-btn:hover { background: var(--mam-coral); }
.header-top #search_widget .search-btn i { display: none; }
.header-top #search_widget .search-btn::before {
  content: "";
  width: 16px; height: 16px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012h14%27%2F%3E%3Cpath%20d%3D%27m12%205%207%207-7%207%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%2012h14%27%2F%3E%3Cpath%20d%3D%27m12%205%207%207-7%207%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
/* autocomplete sous la barre */
.header-top #search_widget .autocomplete-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-md);
  box-shadow: var(--mam-sh-md);
  overflow: hidden;
  z-index: 230;
}

/* ════════════════════════════════════════════════════════════
   8. ACTIONS WRAPPER + SLOT ICÔNE 44px partagé
   colonne droite : #language_selector · .mam-wishlist-wrap ·
                     #header-user-btn · #ps-shoppingcart-wrapper
════════════════════════════════════════════════════════════ */
.header-top .col-header-right > .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.header-top .col-header-right > .row > * { flex: 0 0 auto; width: auto; }
.header-top .header-btn-w { padding: 0; }

/* slot rond 44px : wishlist · user · panier */
.header-top .mam-icon-btn,
.header-top #header-user-btn .header-user-btn,
.header-top #blockcart .cart-toogle {
  position: relative;
  width: 44px; height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--mam-navy-d);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.header-top .mam-icon-btn:hover,
.header-top #header-user-btn .header-user-btn:hover,
.header-top #blockcart .cart-toogle:hover { background: var(--mam-cream); }

/* neutralise les glyphes Font Awesome dans les slots */
.header-top .mam-icon-btn > i,
.header-top #header-user-btn .header-user-btn > i.icon { display: none; }
.header-top #blockcart .cart-toogle > i.icon { font-size: 0; line-height: 0; width: auto; }
.header-top #blockcart .cart-toogle > i.icon::before { content: none; }

/* badge coral commun (wishlist .mam-badge · panier .cart-products-count-btn) */
.header-top .mam-badge,
.header-top #blockcart .cart-products-count-btn {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  background: var(--mam-coral);
  color: #fff;
  border-radius: var(--mam-r-pill);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--mam-white);
}
.header-top .mam-badge > span { font: inherit; color: inherit; }
/* masqués si vide (classes natives) */
.header-top .mam-badge.empty,
.header-top #blockcart .cart-products-count-btn.d-none { display: none; }

/* ════════════════════════════════════════════════════════════
   9. LANGUE  (override .tpl déployé : .mam-lang > .mam-lang-toggle + .mam-lang-menu)
   Toggle JS = classe .is-open sur .mam-lang
   Dropdown piloté par Bootstrap (data-bs-toggle) — pas de JS maison.
════════════════════════════════════════════════════════════ */
.header-top .mam-lang { position: relative; display: flex; align-items: center; }

/* trigger flag-pill */
.header-top .mam-lang .mam-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: none;
  border-radius: var(--mam-r-pill);
  background: var(--mam-cream);
  font-family: var(--mam-f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mam-text);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.header-top .mam-lang .mam-lang-toggle:hover,
.header-top .mam-lang.is-open .mam-lang-toggle { background: var(--mam-cream-2); }
.header-top .mam-lang .mam-flag {
  width: 20px; height: 14px;
  border-radius: 2px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(26,32,48,.08);
}
.header-top .mam-lang .mam-lang-code { font-weight: 600; }
/* le SVG .mam-caret n'a pas de width/height → on le borne (sinon géant) */
.header-top .mam-lang .mam-caret {
  width: 12px; height: 12px;
  flex: 0 0 auto;
  color: var(--mam-muted);
  transition: transform .2s;
}
.header-top .mam-lang.is-open .mam-caret { transform: rotate(180deg); }

/* dropdown */
.header-top .mam-lang .mam-lang-menu {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  min-width: 200px;
  margin: 0; padding: 6px;
  list-style: none;
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-md);
  box-shadow: var(--mam-sh-md);
  z-index: 220;
  display: none;
}
.header-top .mam-lang.is-open .mam-lang-menu { display: block; }
.header-top .mam-lang .mam-lang-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: var(--mam-r-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mam-text-2);
  text-decoration: none;
  white-space: nowrap;
}
.header-top .mam-lang .mam-lang-menu a:hover { background: var(--mam-cream); color: var(--mam-text); }
.header-top .mam-lang .mam-lang-menu li.is-current a { color: var(--mam-text); font-weight: 700; }
.header-top .mam-lang .mam-lang-menu .mam-flag { width: 20px; height: 13px; }

/* ════════════════════════════════════════════════════════════
   10. WISHLIST  (.mam-wishlist-wrap > a.mam-icon-btn > i.fa-heart-o + .mam-badge)
   Slot + badge gérés en section 8 ; ici : le cœur.
════════════════════════════════════════════════════════════ */
.header-top .mam-icon-btn::before {
  content: "";
  width: 22px; height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M19%2014c1.49-1.46%203-3.21%203-5.5A5.5%205.5%200%200%200%2016.5%203c-1.76%200-3%20.5-4.5%202-1.5-1.5-2.74-2-4.5-2A5.5%205.5%200%200%200%202%208.5c0%202.3%201.5%204.05%203%205.5l7%207Z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.8%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M19%2014c1.49-1.46%203-3.21%203-5.5A5.5%205.5%200%200%200%2016.5%203c-1.76%200-3%20.5-4.5%202-1.5-1.5-2.74-2-4.5-2A5.5%205.5%200%200%200%202%208.5c0%202.3%201.5%204.05%203%205.5l7%207Z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

/* ════════════════════════════════════════════════════════════
   11. USER BUTTON  (#header-user-btn — override .tpl déployé : svg.mam-ico)
════════════════════════════════════════════════════════════ */
.header-top #header-user-btn { display: flex; align-items: center; }
.header-top #header-user-btn .header-user-btn .title { display: none; }
.header-top #header-user-btn .header-user-btn .mam-ico {
  width: 22px; height: 22px;
  display: block;
  color: var(--mam-navy-d);
}
/* dropdown compte (si h_user_dropdown actif) */
.header-top #header-user-btn .dropdown-menu {
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-md);
  box-shadow: var(--mam-sh-md);
  padding: 6px;
  margin-top: 8px;
}
.header-top #header-user-btn .dropdown-item {
  border-radius: var(--mam-r-sm);
  font-size: 13.5px;
  color: var(--mam-text-2);
}
.header-top #header-user-btn .dropdown-item:hover { background: var(--mam-cream); color: var(--mam-text); }

/* ════════════════════════════════════════════════════════════
   12. CART BUTTON
   #ps-shoppingcart > #blockcart > a#cart-toogle > i.fa-shopping-bag.icon
        > span.cart-products-count-btn (badge, d-none si vide)
   + span.info-wrapper (titre + total → masqué)
   Icône = sacoche identique aux cartes produits.
════════════════════════════════════════════════════════════ */
.header-top #blockcart .cart-toogle::before {
  content: "";
  width: 22px; height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4Z%27%2F%3E%3Cpath%20d%3D%27M3%206h18%27%2F%3E%3Cpath%20d%3D%27M16%2010a4%204%200%200%201-8%200%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4Z%27%2F%3E%3Cpath%20d%3D%27M3%206h18%27%2F%3E%3Cpath%20d%3D%27M16%2010a4%204%200%200%201-8%200%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.header-top #blockcart .cart-toogle .info-wrapper { display: none; }

/* ════════════════════════════════════════════════════════════
   13. STICKY HEADER
   ✅ Préférer le sticky natif du thème ; sinon fallback CSS :
════════════════════════════════════════════════════════════ */
.header-top {
  position: sticky;
  top: 0;
  z-index: 200;
}
.iqit-megamenu-container { background: var(--mam-white); }

/* ═══════════════════════════════════════════════════════════
   FICHE PRODUIT  —  scopé #main-product-wrapper (DOM réel iqit)
   Sections 14→20. Sans équivalent live (tpl ultérieur) :
   label marque, format, brand-bar, trust-row, DDM.
   ═══════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════
   14. PRODUIT · GRILLE  (.product-info-row > .col-product-image | .col-product-info)
════════════════════════════════════════════════════════════ */
#main-product-wrapper .product-info-row { align-items: flex-start; }
@media (min-width: 768px) {
  #main-product-wrapper .col-product-image { padding-right: 32px; }
  #main-product-wrapper .col-product-info  { padding-left: 32px; }
}

/* ════════════════════════════════════════════════════════════
   15. PRODUIT · GALERIE  (Swiper natif — vignettes horizontales sous l'image)
════════════════════════════════════════════════════════════ */
#main-product-wrapper .product-cover { position: relative; }

/* carte image principale */
#main-product-wrapper #product-images-large {
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl);
  overflow: hidden;
}
#main-product-wrapper .product-lmage-large {        /* (typo iqit) = le slide */
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
#main-product-wrapper .product-lmage-large picture { display: block; width: 100%; }
#main-product-wrapper .product-lmage-large img {
  width: 100%; height: auto;
  max-height: 480px;
  object-fit: contain;
  mix-blend-mode: multiply;        /* fond blanc du JPG fondu dans la carte blanche */
}

/* badges / flags (coin haut-gauche) */
#main-product-wrapper .product-cover .product-flags {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
#main-product-wrapper .product-cover .product-flags li {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px;
  border-radius: var(--mam-r-pill);
  font-size: 11px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--mam-coral); color: #fff;
}
#main-product-wrapper .product-cover .product-flags li.discount,
#main-product-wrapper .product-cover .product-flags li.on-sale { background: var(--mam-coral); }
#main-product-wrapper .product-cover .product-flags li.new { background: var(--mam-navy); }

/* bouton zoom (a.expander) coin bas-droite */
#main-product-wrapper .product-cover .expander {
  position: absolute; right: 16px; bottom: 16px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--mam-white); box-shadow: var(--mam-sh-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--mam-navy-d);
  transition: transform .2s, color .2s;
}
#main-product-wrapper .product-cover .expander:hover { transform: scale(1.05); color: var(--mam-coral); }
#main-product-wrapper .product-cover .expander span { display: flex; }

/* flèches Swiper de la cover : discrètes */
#main-product-wrapper #product-images-large .swiper-button-arrow {
  color: var(--mam-navy-d);
  --swiper-navigation-size: 26px;
}

/* vignettes (sous l'image) */
#main-product-wrapper #product-images-thumbs { margin-top: 14px; }
#main-product-wrapper #product-images-thumbs .thumb-container {
  margin: 6px 4px;                   /* espace entre vignettes (vertical + horizontal) sans toucher la largeur Swiper */
  border-radius: var(--mam-r-md);
  border: 1.5px solid var(--mam-line);
  overflow: hidden;
  background: var(--mam-white);
  transition: border-color .2s;
  cursor: pointer;
}
#main-product-wrapper #product-images-thumbs .swiper-slide-thumb-active .thumb-container,
#main-product-wrapper #product-images-thumbs .thumb-container:hover {
  border-color: var(--mam-coral);
}
#main-product-wrapper #product-images-thumbs img.thumb {
  width: 100%; aspect-ratio: 1; object-fit: contain; display: block;
}
/* pas de bullets sous le carrousel d'images produit */
#main-product-wrapper .swiper-pagination,
.swiper-pagination-product { display: none !important; }

/* mobile : supprimer le vide entre les vignettes et le titre (conteneurs vides) + cover moins haute */
@media (max-width: 767.98px) {
  #main-product-wrapper .after-cover-tumbnails:empty,
  #main-product-wrapper .after-cover-tumbnails2,
  #main-product-wrapper .tabs.product-tabs { display: none !important; margin: 0 !important; padding: 0 !important; }
  #main-product-wrapper .product-lmage-large { padding: 14px; }
  #main-product-wrapper .product-lmage-large img { max-height: 320px; }
  #main-product-wrapper #product-images-thumbs { margin-top: 10px; padding-left: 4px; box-sizing: border-box; }
  /* vignettes uniformes et carrées (image + tuile vidéo) */
  #main-product-wrapper #product-images-thumbs .thumb-container { aspect-ratio: 1; margin: 4px; }
  #main-product-wrapper #product-images-thumbs .thumb-container.h-100 { height: auto; }
  #main-product-wrapper #product-images-thumbs .iqitextened-img-thumb-video {
    width: 100% !important; height: 100% !important; aspect-ratio: 1;
    display: flex !important; align-items: center; justify-content: center;
    background: var(--mam-cream-2); color: var(--mam-navy-d); margin: 0;
    font-size: 11px; font-weight: 600;
  }
  #main-product-wrapper #product-images-thumbs .iqitextened-img-thumb-video .fa-play { font-size: 15px; margin: 0 0 3px !important; }
}

/* ════════════════════════════════════════════════════════════
   16. PRODUIT · HEADER INFOS  (marque · titre · note)
════════════════════════════════════════════════════════════ */
#main-product-wrapper #col-product-info { padding-top: 4px; }

/* logo fabricant (haut-droite) */
#main-product-wrapper .product-manufacturer { margin-bottom: 10px; }
#main-product-wrapper .product-manufacturer img.manufacturer-logo {
  max-height: 46px; width: auto;
}

/* titre */
#main-product-wrapper .page-title {
  font-family: var(--mam-f-display);
  font-weight: 600;
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--mam-navy-d);
  margin-bottom: 10px;
}

/* note (#iqitreviews-rating-product) */
#main-product-wrapper #iqitreviews-rating-product {
  display: flex; align-items: center; gap: 14px;
  margin: 16px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--mam-line);
}
#main-product-wrapper #iqitreviews-rating-product .iqitreviews-rating { display: flex; gap: 2px; }
#main-product-wrapper #iqitreviews-rating-product .iqit-review-star { color: var(--mam-butter); }
#main-product-wrapper #iqitreviews-rating-product .iqitreviews-nb { font-size: 14px; color: var(--mam-text-2); }

/* zone avis (onglet) : note + bouton « Laisser un avis » */
#iqit-reviews #iqit-reviews-top .row { align-items: center; }
#iqit-reviews #iqitreviews-snippet { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mam-text-2); }
#iqit-reviews .iqitreviews-rating { display: inline-flex; gap: 2px; }
#iqit-reviews .iqit-review-star { color: var(--mam-butter); }
#iqit-reviews #iqit-reviews-top .btn-primary,
#iqit-reviews-modal .modal-footer .btn-primary,
#iqit-reviews-modal input[type="submit"] {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; border-radius: var(--mam-r-pill);
  background: var(--mam-coral); color: #fff;
  padding: 10px 20px; font-family: var(--mam-f-body); font-weight: 600; font-size: 14px;
  box-shadow: var(--mam-sh-coral); transition: background .2s, transform .15s;
}
#iqit-reviews #iqit-reviews-top .btn-primary:hover,
#iqit-reviews-modal .modal-footer .btn-primary:hover,
#iqit-reviews-modal input[type="submit"]:hover { background: var(--mam-coral-d); transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════
   17. PRODUIT · PITCH  (.product-information > .product-description courte)
════════════════════════════════════════════════════════════ */
#main-product-wrapper .product-information > .product-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mam-text-2);
  margin-bottom: 24px;
  max-width: 540px;
}

/* ════════════════════════════════════════════════════════════
   18. PRODUIT · PRIX + DISPONIBILITÉ + DISPONIBILITÉ  (.product-prices)
════════════════════════════════════════════════════════════ */
#main-product-wrapper .product-prices { margin: 0 0 24px; }

/* dispo : badge stylé entièrement en section 43 (#product-availability.badge) */

/* prix */
#main-product-wrapper .product-prices .current-price {
  display: inline-flex; align-items: baseline; gap: 12px;
}
#main-product-wrapper .product-prices .current-price-value {
  font-family: var(--mam-f-display);
  font-size: 40px; font-weight: 600;
  color: var(--mam-navy-d);
  letter-spacing: -0.02em; line-height: 1;
}
#main-product-wrapper .product-prices .current-price .tax-label {
  font-size: 12px; font-weight: 500; color: var(--mam-muted);
  font-family: var(--mam-f-body); white-space: nowrap;
}
#main-product-wrapper .product-prices .tax-shipping-delivery-label {
  font-size: 12px; color: var(--mam-muted); margin: 0;
}
/* décoller le bloc DDM du prix */
#main-product-wrapper .product-prices .ddm-module { margin-top: 18px; }

/* remise : prix actuel coral + prix barré + badge -% */
#main-product-wrapper .has-discount > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; }
#main-product-wrapper .has-discount .current-price-value { color: var(--mam-coral); }
#main-product-wrapper .has-discount .product-discount .regular-price {
  font-family: var(--mam-f-body); font-size: 19px; font-weight: 500;
  color: var(--mam-muted); text-decoration: line-through;
}
#main-product-wrapper .has-discount .badge-discount {
  align-self: center;
  background: var(--mam-coral); color: #fff;
  font-family: var(--mam-f-body); font-weight: 700; font-size: 13px; letter-spacing: .02em;
  padding: 5px 11px; border-radius: var(--mam-r-pill); line-height: 1;
}

/* ════════════════════════════════════════════════════════════
   19. PRODUIT · ADD-TO-CART  (.product-add-to-cart .product-quantity)
   qty touchspin · bouton coral · favori cercle · comparer masqué
════════════════════════════════════════════════════════════ */
#main-product-wrapper .product-add-to-cart { padding-top: 4px; }
#main-product-wrapper .product-add-to-cart .product-quantity {
  display: flex !important; flex-wrap: nowrap !important; align-items: center !important;
  gap: 10px !important; margin: 0 0 22px !important; width: 100% !important; max-width: 100% !important;
}
#main-product-wrapper .product-add-to-cart .product-quantity > [class*="col"] {
  width: auto !important; max-width: none !important; flex: 0 0 auto !important;
  padding: 0 !important; margin: 0 !important;
}
#main-product-wrapper .product-add-to-cart .product-quantity > .col-add-qty { position: relative; z-index: 2; }
#main-product-wrapper .product-add-to-cart .product-quantity > .col-add-btn { flex: 1 1 auto !important; min-width: 0 !important; position: relative; z-index: 1; }
#main-product-wrapper .product-add-to-cart .product-quantity > .col-add-wishlist { position: relative; z-index: 2; }

/* --- stepper quantité : [ 1 ] à gauche · flèches ▲▼ empilées à droite (robuste) --- */
#main-product-wrapper .product-add-to-cart .col-add-qty { flex: 0 0 88px !important; width: 88px !important; }
#main-product-wrapper .qty { width: 100% !important; margin: 0 !important; }
#main-product-wrapper .qty .input-group.bootstrap-touchspin {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 88px !important;
  height: 44px !important;
  margin: 0 !important;
  border: 1.5px solid var(--mam-line) !important;
  border-radius: var(--mam-r-pill) !important;
  overflow: hidden !important;
  background: var(--mam-white) !important;
}
#main-product-wrapper .qty .input-group-addon { display: none !important; }

#main-product-wrapper .qty #quantity_wanted {
  display: block !important;
  flex: 1 1 auto !important;
  width: auto !important; min-width: 0 !important; max-width: none !important;
  height: 100% !important;
  padding: 0 0 0 10px !important; margin: 0 !important;
  text-align: center;
  border: none !important; background: transparent !important; box-shadow: none !important; outline: none;
  font-family: var(--mam-f-display);
  font-size: 15px; font-weight: 600; color: var(--mam-navy-d);
  -moz-appearance: textfield; appearance: textfield;
}
#main-product-wrapper .qty #quantity_wanted::-webkit-outer-spin-button,
#main-product-wrapper .qty #quantity_wanted::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* colonne des flèches à droite */
#main-product-wrapper .qty .input-group-btn-vertical {
  position: static !important;
  display: flex !important; flex-direction: column !important;
  flex: 0 0 30px !important;
  width: 30px !important; height: 100% !important;
  border-left: 1.5px solid var(--mam-line) !important;
}
#main-product-wrapper .qty .bootstrap-touchspin-up,
#main-product-wrapper .qty .bootstrap-touchspin-down {
  position: static !important;
  flex: 1 1 50% !important;
  width: 100% !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  border: none !important; border-radius: 0 !important; box-shadow: none !important;
  background: transparent; color: var(--mam-navy-d);
  display: flex !important; align-items: center; justify-content: center;
  font-size: 11px; line-height: 1; cursor: pointer;
  transition: background .15s, color .15s;
}
#main-product-wrapper .qty .bootstrap-touchspin-down { border-top: 1px solid var(--mam-line) !important; }
/* icônes : le tpl utilise fa-solid (FA6) non chargé → chevrons SVG indépendants */
#main-product-wrapper .qty .bootstrap-touchspin-up i,
#main-product-wrapper .qty .bootstrap-touchspin-down i { display: none !important; }
#main-product-wrapper .qty .bootstrap-touchspin-up::after,
#main-product-wrapper .qty .bootstrap-touchspin-down::after {
  content: ""; width: 11px; height: 11px; display: block;
  background: center / contain no-repeat;
}
#main-product-wrapper .qty .bootstrap-touchspin-up::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%231A2738%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%2015%206-6%206%206%27%2F%3E%3C%2Fsvg%3E");
}
#main-product-wrapper .qty .bootstrap-touchspin-down::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%231A2738%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%209%206%206%206-6%27%2F%3E%3C%2Fsvg%3E");
}
#main-product-wrapper .qty .bootstrap-touchspin-up:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23FF5A5F%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%2015%206-6%206%206%27%2F%3E%3C%2Fsvg%3E");
}
#main-product-wrapper .qty .bootstrap-touchspin-down:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23FF5A5F%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%209%206%206%206-6%27%2F%3E%3C%2Fsvg%3E");
}
#main-product-wrapper .qty .bootstrap-touchspin-up:hover,
#main-product-wrapper .qty .bootstrap-touchspin-down:hover { background: var(--mam-cream); color: var(--mam-coral); }

/* bouton ajouter au panier : remplit sa colonne, sans déborder */
#main-product-wrapper .col-add-btn .add { width: 100% !important; margin: 0 !important; }
#main-product-wrapper .col-add-btn .add .add-to-cart {
  width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* --- bouton ajouter au panier --- */
#main-product-wrapper .col-add-btn .add { display: flex; width: 100%; }
#main-product-wrapper button.add-to-cart {
  flex: 1; width: 100%; height: 44px;
  border: none; border-radius: var(--mam-r-pill);
  background: var(--mam-coral); color: #fff;
  font-family: var(--mam-f-body);
  font-weight: 700; font-size: 14.5px; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: var(--mam-sh-coral);
  transition: transform .15s, background .2s;
}
#main-product-wrapper button.add-to-cart:hover:not(:disabled) {
  background: var(--mam-coral-d); transform: translateY(-1px);
}
#main-product-wrapper button.add-to-cart:disabled {
  background: var(--mam-coral); color: #fff;
  border: none; box-shadow: none; cursor: not-allowed;
  opacity: .6; filter: saturate(.7);
}
#main-product-wrapper button.add-to-cart .bag-icon { font-size: 16px; }

/* --- favori (wishlist) cercle --- */
#main-product-wrapper .col-add-wishlist .btn-iqitwishlist-add {
  width: 44px; height: 44px; padding: 0;
  border-radius: 50%;
  background: var(--mam-white); border: 1.5px solid var(--mam-line);
  color: var(--mam-navy-d);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
}
#main-product-wrapper .col-add-wishlist .btn-iqitwishlist-add:hover { color: var(--mam-coral); border-color: var(--mam-coral); }
#main-product-wrapper .col-add-wishlist .btn-iqitwishlist-add .added { display: none; }   /* état initial : hors wishlist */

/* --- comparer : masqué (hors maquette) --- */
#main-product-wrapper .col-add-compare { display: none; }

/* ════════════════════════════════════════════════════════════
   20. PRODUIT · ADDITIONAL INFO  (partage · alerte de réappro si rupture)
════════════════════════════════════════════════════════════ */
#main-product-wrapper .product-additional-info { margin-top: 18px; }

#main-product-wrapper .social-sharing ul {
  display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px;
}
#main-product-wrapper .social-sharing a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--mam-cream); color: var(--mam-navy-d);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
#main-product-wrapper .social-sharing a:hover { background: var(--mam-coral); color: #fff; }

/* alerte « prévenez-moi » (produit en rupture) */
#main-product-wrapper .js-mailalert .form-control {
  border: 1.5px solid var(--mam-line);
  border-radius: var(--mam-r-pill);
  padding: 10px 16px;
}
#main-product-wrapper .js-mailalert .btn-secondary,
#main-product-wrapper .js-mailalert input[type="submit"] {
  border: none; border-radius: var(--mam-r-pill);
  background: var(--mam-navy-d); color: #fff;
  padding: 11px 18px; font-weight: 600;
  transition: background .2s;
}
#main-product-wrapper .js-mailalert .btn-secondary:hover,
#main-product-wrapper .js-mailalert input[type="submit"]:hover { background: var(--mam-coral); }
/* centrage du bloc « prévenez-moi » (notamment sur mobile) */
#main-product-wrapper .js-mailalert .form-inline,
#main-product-wrapper .js-mailalert > form { justify-content: center; }
#main-product-wrapper .js-mailalert .input-group { justify-content: center; }
#main-product-wrapper .js-mailalert input[type="submit"] { margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════
   PAGE CATÉGORIE  —  scopé #js-product-list (DOM réel iqit)
   Sections 21→24 · grille de cards (filtres / promo-card : plus tard)
   ═══════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════
   21. CATÉGORIE · GRILLE
   #js-product-list > .products.row.products-grid > .js-product-miniature-wrapper.col-*
   Override des colonnes Bootstrap → CSS grid (gap régulier, responsive 2/3/4)
════════════════════════════════════════════════════════════ */
#js-product-list .products.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0;
}
@media (min-width: 992px)  { #js-product-list .products.products-grid { grid-template-columns: repeat(3, 1fr); } }
#js-product-list .products-grid > [class*="col"] {
  max-width: none; width: auto; flex: none;
  padding: 0; margin: 0;
  display: flex;
}
#js-product-list .products-grid > [class*="col"] > .product-miniature { flex: 1 1 auto; width: 100%; }

/* ════════════════════════════════════════════════════════════
   22. CATÉGORIE · CARD (article.product-miniature)
════════════════════════════════════════════════════════════ */
#js-product-list .product-miniature {
  position: relative;
  display: flex; flex-direction: column;
  text-align: left;          /* le thème centre la miniature → titre/prix/badge à gauche */
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
#js-product-list .product-miniature:hover {
  transform: translateY(-3px);
  box-shadow: var(--mam-sh-md);
  border-color: var(--mam-coral-pale);
}

/* --- média (carré, JPG fond blanc fondu en multiply) --- */
#js-product-list .thumbnail-container {
  position: relative;
  flex: 0 0 auto;            /* ne pas écraser le carré dans la card flex */
  aspect-ratio: 1;
  background: var(--mam-cream-2);
  overflow: hidden;
}
#js-product-list .thumbnail-container .product-thumbnail { position: relative; display: block; width: 100%; height: 100%; }
#js-product-list .thumbnail-container picture { position: absolute; inset: 0; display: block; }
#js-product-list .thumbnail-container img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  mix-blend-mode: multiply;
  transition: transform .35s, opacity .35s;
}
#js-product-list .product-miniature:hover .thumbnail-container img { transform: scale(1.04); }
/* swap image au survol : la 2e (absolue) se superpose à la 1re si elle existe.
   On NE masque PAS la 1re → pas de carré blanc quand il n'y a pas de 2e image. */
#js-product-list .thumbnail-container .product-thumbnail-second { opacity: 0; }
#js-product-list .product-miniature:hover .product-thumbnail-second { opacity: 1; }

/* --- flags (haut-gauche) --- */
#js-product-list .thumbnail-container .product-flags {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
#js-product-list .thumbnail-container .product-flags li {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: var(--mam-r-pill);
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--mam-coral); color: #fff;
}
#js-product-list .thumbnail-container .product-flags li.new { background: var(--mam-navy); }

/* --- boutons fonctionnels : cœur seul (haut-droite), TOUJOURS visible --- */
/* le thème masque .product-functional-buttons-bottom hors survol → on force */
#js-product-list .product-functional-buttons {
  position: absolute; top: 12px; right: 12px; bottom: auto; left: auto;
  z-index: 3; width: auto; margin: 0;
  opacity: 1; visibility: visible; transform: none;
}
#js-product-list .product-functional-buttons-links {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  opacity: 1; visibility: visible; transform: none;
}
#js-product-list .js-quick-view-iqit {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mam-white); box-shadow: var(--mam-sh-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--mam-navy); font-size: 15px;
  transition: color .2s, transform .2s;
}
#js-product-list .js-quick-view-iqit:hover { color: var(--mam-coral); transform: scale(1.1); }
#js-product-list .btn-iqitwishlist-add {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mam-white); box-shadow: var(--mam-sh-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--mam-navy); font-size: 15px;
  transition: color .2s, transform .2s;
}
#js-product-list .btn-iqitwishlist-add:hover { color: var(--mam-coral); transform: scale(1.1); }
#js-product-list .btn-iqitwishlist-add .added { display: none; }

/* --- dispo (badge soft, bas du média, centré) --- */
#js-product-list .thumbnail-container .product-availability {
  position: absolute; left: 50%; right: auto; bottom: 10px; transform: translateX(-50%);
  z-index: 3; text-align: center; max-width: calc(100% - 16px);
}
#js-product-list .thumbnail-container .product-availability .badge {
  display: inline-flex; align-items: center; gap: 5px;
  margin: 0; padding: 6px 11px;
  border-radius: 8px;
  background: #FDECEA; border: 1px solid #F2C4BF; color: var(--mam-danger);
  font-size: 11px; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap; max-width: 100%; line-height: 1.3;
}
/* icône SVG en ::before (indépendant de FontAwesome) ; icône native masquée */
#js-product-list .thumbnail-container .product-availability .badge i { display: none; }
#js-product-list .thumbnail-container .product-availability .badge::before {
  content: ""; width: 13px; height: 13px; flex: 0 0 auto;
  background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23C0392B%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27m6%206%2012%2012%27%2F%3E%3C%2Fsvg%3E");   /* défaut = rupture */
}
/* en stock (success) : contour vert + check */
#js-product-list .thumbnail-container .product-availability .badge.badge-success,
#js-product-list .thumbnail-container .product-availability .badge.product-available {
  background: #E6F3EC; border-color: #BFE0CC; color: var(--mam-success);
}
#js-product-list .thumbnail-container .product-availability .badge.badge-success::before,
#js-product-list .thumbnail-container .product-availability .badge.product-available::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%232E8259%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%206%209%2017l-5-5%27%2F%3E%3C%2Fsvg%3E");
}
/* bientôt épuisé (warning) : contour ambre + horloge */
#js-product-list .thumbnail-container .product-availability .badge.badge-warning {
  background: #FFF7ED; border-color: #FED7AA; color: #EA580C;
}
#js-product-list .thumbnail-container .product-availability .badge.badge-warning::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23EA580C%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27M12%207v5l3%202%27%2F%3E%3C%2Fsvg%3E");
}

/* ════════════════════════════════════════════════════════════
   23. CATÉGORIE · CARD BODY (.product-description)
   Réordonné : marque → titre → note → prix (+ bouton sacoche absolu)
════════════════════════════════════════════════════════════ */
#js-product-list .product-description {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column;
  gap: 5px;
  padding: 14px 16px 16px;
}
#js-product-list .product-description .product-category-name,
#js-product-list .product-description .product-reference,
#js-product-list .product-description .product-description-short { display: none; }

#js-product-list .product-brand { order: 1; margin: 0; }
#js-product-list .product-brand a {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mam-muted); text-decoration: none;
}
#js-product-list .product-title { order: 2; margin: 0; }
#js-product-list .product-title a {
  font-family: var(--mam-f-display); font-size: 16px; font-weight: 600;
  color: var(--mam-navy-d); line-height: 1.2; text-decoration: none;
  display: block; overflow: visible;
}
#js-product-list .product-title a:hover { color: var(--mam-coral); }

#js-product-list .iqitreviews-simple {
  order: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--mam-text-2);
}
#js-product-list .iqitreviews-simple .iqitreviews-rating { display: inline-flex; gap: 1px; }
#js-product-list .iqitreviews-simple .iqit-review-star { color: var(--mam-butter); font-size: 12px; }
#js-product-list .iqitreviews-simple .iqitreviews-nb { color: var(--mam-muted); }

#js-product-list .product-price-and-shipping {
  order: 4;
  margin-top: auto; padding-top: 10px; padding-right: 52px;
}
#js-product-list .product-price-and-shipping a { text-decoration: none; }
#js-product-list .product-price-and-shipping .product-price {
  font-family: var(--mam-f-display); font-size: 21px; font-weight: 600; color: var(--mam-navy-d);
}

/* bouton liste → rond sacoche (texte « View » masqué) ; ⚠ mène à la fiche, pas add-to-cart */
#js-product-list .product-add-cart { position: absolute; right: 16px; bottom: 14px; margin: 0; padding: 0; }
#js-product-list .product-add-cart .btn-product-list {
  width: 44px; height: 44px; padding: 0;
  border: none; border-radius: 50%;
  background: var(--mam-navy-d); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
  transition: background .2s, transform .2s;
}
#js-product-list .product-add-cart .btn-product-list::before {
  content: ""; width: 18px; height: 18px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4Z%27%2F%3E%3Cpath%20d%3D%27M3%206h18%27%2F%3E%3Cpath%20d%3D%27M16%2010a4%204%200%200%201-8%200%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4Z%27%2F%3E%3Cpath%20d%3D%27M3%206h18%27%2F%3E%3Cpath%20d%3D%27M16%2010a4%204%200%200%201-8%200%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
#js-product-list .product-add-cart .btn-product-list:hover { background: var(--mam-coral); transform: scale(1.05); }

/* ════════════════════════════════════════════════════════════
   24. CATÉGORIE · PAGINATION
════════════════════════════════════════════════════════════ */
#js-product-list .pagination { margin-top: 32px; }
#js-product-list .page-list {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px;
  list-style: none; padding: 0; margin: 0;
}
#js-product-list .page-list li a,
#js-product-list .page-list li span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: var(--mam-r-pill);
  background: var(--mam-white); border: 1px solid var(--mam-line);
  color: var(--mam-text-2); text-decoration: none; font-weight: 600; font-size: 14px;
  transition: border-color .2s, color .2s, background .2s;
}
#js-product-list .page-list li.current a { background: var(--mam-navy-d); color: #fff; border-color: var(--mam-navy-d); }
#js-product-list .page-list li a:not(.disabled):hover { border-color: var(--mam-coral); color: var(--mam-coral); }
#js-product-list .page-list li.spacer span { border: none; background: none; min-width: 0; }
/* tuer les bordures que le thème pose sur le <li> (la pilule est portée par le <a>/<span>) */
#js-product-list .page-list li,
#js-product-list .page-list li.current { border: 0 !important; display: block; }

/* ════════════════════════════════════════════════════════════
   25. CATÉGORIE · FILTRES  (module AmazzingFilter #amazzing_filter)
   Calé sur la maquette « .filters » (fond blanc, checks custom coral,
   chevrons ▲, prix en 2 champs bordés). On NEUTRALISE le rendu natif
   du module (pseudo-checkbox, inputs absolus) pour reprendre la main.
════════════════════════════════════════════════════════════ */

/* ---- carte sidebar (fond blanc net) ---- */
#amazzing_filter,
#amazzing_filter.af {
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg);
  padding: 6px 14px 12px;
  font-family: var(--mam-f-body);
  color: var(--mam-text-2);
}
#amazzing_filter * { box-sizing: border-box; }
#amazzing_filter .block_content { background: none; border: none; padding: 0; margin: 0; }
#amazzing_filter .af-form { margin: 0; padding: 0; }

/* titre principal « Filtrer » */
#amazzing_filter .title_block {
  font-family: var(--mam-f-display);
  font-size: 18px; font-weight: 600; color: var(--mam-navy-d);
  background: none; border: none;
  padding: 14px 0 6px; margin: 0;
  display: flex; align-items: center; justify-content: space-between;
}
#amazzing_filter .title_block .compact-toggle { display: none; }
#amazzing_filter > .compact-toggle { display: none; }

/* ---- groupe de filtre ---- */
#amazzing_filter .af_filter {
  padding: 18px 0;
  margin: 0;
  border: none;
  border-bottom: 1px solid var(--mam-line);
}
#amazzing_filter .af_filter:last-of-type { border-bottom: none; }

/* sous-titre + chevron ▲ */
#amazzing_filter .af_subtitle {
  position: relative;
  font-family: var(--mam-f-display);
  font-size: 15px; font-weight: 600; color: var(--mam-navy-d);
  margin: 0 0 14px; padding: 0 38px 0 0; cursor: pointer;
  background-image: none !important;
}
/* rond cream (pur CSS) */
#amazzing_filter .af_subtitle::before {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--mam-cream);
  box-shadow: none !important; border: 0 !important;
  transition: background .2s;
}
/* chevron (bordures) — !important pour battre le CSS natif du module qui charge après */
#amazzing_filter .af_subtitle::after {
  content: "" !important; position: absolute; right: 13px; top: 50%; box-sizing: border-box;
  width: 8px !important; height: 8px !important;
  border: 0 !important;
  border-top: 2.4px solid var(--mam-navy-d) !important;
  border-right: 2.4px solid var(--mam-navy-d) !important;
  border-radius: 0 !important; box-shadow: none !important; background: none !important;
  transform: translate(50%, -50%) rotate(-45deg);
  transition: transform .2s;
}
#amazzing_filter .af_subtitle:hover::before { background: var(--mam-coral-pale); }
/* fermé : chevron vers le bas */
#amazzing_filter .af_filter.closed .af_subtitle::after,
#amazzing_filter .af_filter.foldered .af_subtitle::after { transform: translate(50%, -50%) rotate(135deg) !important; }

/* ---- RESET du rendu natif des listes / labels / inputs ---- */
#amazzing_filter .af_filter_content { margin: 0; padding: 0; }
#amazzing_filter .af_filter_content ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
#amazzing_filter .af_filter_content li { margin: 0; padding: 0; list-style: none; }
#amazzing_filter .af_filter_content .child-categories {
  margin: 12px 0 2px; padding-left: 14px;
  border-left: 1px solid var(--mam-line);
}

/* le module dessine sa propre case en ::before/::after sur le label → on la tue */
#amazzing_filter .af-radio-label::before,  #amazzing_filter .af-radio-label::after,
#amazzing_filter .af-checkbox-label::before,#amazzing_filter .af-checkbox-label::after { content: none !important; }

#amazzing_filter .af-radio-label,
#amazzing_filter .af-checkbox-label {
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding-left: 0; position: static;
  font-size: 14px; font-weight: 400; line-height: 1.3;
  color: var(--mam-text-2); cursor: pointer;
}
#amazzing_filter .af-radio-label:hover,
#amazzing_filter .af-checkbox-label:hover { color: var(--mam-navy-d); }
#amazzing_filter .af-parent-category > .af-radio-label { font-weight: 600; color: var(--mam-text); }

/* vrai input rendu visible, en flux (pas d'absolu natif) */
#amazzing_filter input.af {
  appearance: none; -webkit-appearance: none;
  position: static !important; left: auto !important; top: auto !important;
  opacity: 1 !important;
  width: 18px; height: 18px; flex-shrink: 0; margin: 0;
  border: 1.5px solid var(--mam-line); background: var(--mam-white);
  cursor: pointer;
}
#amazzing_filter input.af.checkbox { border-radius: 5px; }
#amazzing_filter input.af.radio    { border-radius: 50%; }
#amazzing_filter input.af:checked { background: var(--mam-coral); border-color: var(--mam-coral); }
#amazzing_filter input.af.checkbox:checked { position: relative !important; }
#amazzing_filter input.af.checkbox:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
#amazzing_filter input.af.radio:checked { position: relative !important; }
#amazzing_filter input.af.radio:checked::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff;
}

#amazzing_filter .af-radio-label .name,
#amazzing_filter .af-checkbox-label .name { flex: 1 1 auto; min-width: 0; }
#amazzing_filter .af-radio-label .count,
#amazzing_filter .af-checkbox-label .count {
  margin-left: auto; flex-shrink: 0; color: var(--mam-muted); font-size: 12px;
}
#amazzing_filter .af-toggle-child {
  display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%25238B94A6%27%20stroke-width%3D%272.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%209%206%206%206-6%27%2F%3E%3C%2Fsvg%3E") center / 10px no-repeat; cursor: pointer; opacity: .7;
}
#amazzing_filter .af-toggle-child:hover { opacity: 1; }

/* ---- select fabricants ---- */
#amazzing_filter .af-select,
#amazzing_filter select.form-control-select {
  width: 100%; height: auto; padding: 11px 34px 11px 12px; margin: 0;
  border: 1.5px solid var(--mam-line); border-radius: var(--mam-r-sm);
  background: var(--mam-white) url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%25238B94A6%27%20stroke-width%3D%272.4%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%209%206%206%206-6%27%2F%3E%3C%2Fsvg%3E") right 12px center / 12px no-repeat;
  color: var(--mam-text); font-size: 14px; font-family: var(--mam-f-body); line-height: 1.3;
  appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; box-shadow: none;
}
#amazzing_filter .af-select:focus { border-color: var(--mam-coral); outline: none; }
#amazzing_filter .dynamic-select-options { display: none; }

/* ---- slider prix ---- */
#amazzing_filter .p_slider { padding: 2px 2px 0; }
#amazzing_filter .p_slider .slider-bar {
  height: 4px; background: var(--mam-cream-2); border-radius: var(--mam-r-pill);
  margin: 14px 8px 20px; position: relative;
}
#amazzing_filter .p_slider .selected-bar {
  position: absolute; top: 0; bottom: 0; background: var(--mam-coral); border-radius: var(--mam-r-pill);
}
#amazzing_filter .p_slider .pointer {
  position: absolute; top: 50%; margin-top: -8px; margin-left: -8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--mam-white); border: 2.5px solid var(--mam-coral);
  box-shadow: var(--mam-sh-sm); cursor: grab; z-index: 2;
}
#amazzing_filter .p_slider .clickable-dummy { position: absolute; inset: -8px 0; cursor: pointer; }
/* valeurs en 2 champs bordés (comme la maquette) */
#amazzing_filter .slider-values { display: flex; align-items: center; gap: 10px; }
#amazzing_filter .slider_value {
  flex: 1 1 0; min-width: 0;
  border: 1.5px solid var(--mam-line); border-radius: var(--mam-r-sm);
  background: var(--mam-white);
  padding: 9px 12px; font-size: 14px; font-weight: 600; color: var(--mam-navy-d);
  text-align: left; white-space: nowrap; overflow: hidden;
}
#amazzing_filter .slider_value .suffix { color: var(--mam-muted); }
#amazzing_filter .slider_value .input-text { display: none; }

/* ---- bouton « Voir les produits » ---- */
#amazzing_filter .btn-holder { padding: 16px 0 4px; margin: 0; }
#amazzing_filter .viewFilteredProducts {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 16px;
  background: var(--mam-coral); color: #fff;
  border: none; border-radius: var(--mam-r-pill);
  font-family: var(--mam-f-body); font-weight: 600; font-size: 14px; text-decoration: none;
  box-shadow: var(--mam-sh-coral); transition: background .2s;
}
#amazzing_filter .viewFilteredProducts:hover { background: var(--mam-coral-d); }
#amazzing_filter .af-total-count {
  background: rgba(255,255,255,.25); border-radius: var(--mam-r-pill);
  padding: 1px 8px; font-size: 12px; font-weight: 700;
}

#search_filter_controls .btn { border-radius: var(--mam-r-pill); }

/* ════════════════════════════════════════════════════════════
   26. TOOLBAR LISTE  (#js-product-list-top — catégorie + marque)
   compteur · switch vue grille/liste · tri · nombre par page
════════════════════════════════════════════════════════════ */
#js-product-list-top { margin: 0 0 18px; }
#js-product-list-top .products-selection .row,
#js-product-list-top > .row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--mam-line);
}
#js-product-list-top .row > [class*="col"] { padding: 0; margin: 0; width: auto; flex: 0 0 auto; }
#js-product-list-top .facated-toggler:empty { display: none; }
/* groupe de droite (compteur + tris) */
#js-product-list-top .row > .col.col-auto:last-child {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
#js-product-list-top .showing { font-size: 14px; color: var(--mam-muted); }

/* switch vue grille / liste */
#js-product-list-top .view-switcher {
  display: flex; gap: 4px; background: var(--mam-cream);
  border-radius: var(--mam-r-pill); padding: 4px;
}
#js-product-list-top .view-switcher a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--mam-muted); text-decoration: none; transition: background .2s, color .2s;
}
#js-product-list-top .view-switcher a.current {
  background: var(--mam-white); color: var(--mam-navy-d); box-shadow: var(--mam-sh-sm);
}
#js-product-list-top .view-switcher a i { font-size: 14px; }

/* selects tri / nombre */
#js-product-list-top .products-sort-nb-dropdown { position: relative; }
#js-product-list-top .select-title {
  display: inline-flex; align-items: center; gap: 10px;
  height: auto; padding: 9px 16px;
  background: var(--mam-white); border: 1.5px solid var(--mam-line); border-radius: var(--mam-r-pill);
  font-size: 13.5px; font-weight: 600; color: var(--mam-text);
  cursor: pointer; white-space: nowrap; box-shadow: none;
}
#js-product-list-top .select-title:hover { border-color: var(--mam-coral); }
#js-product-list-top .select-title .fa-angle-down { font-size: 12px; color: var(--mam-muted); }
#js-product-list-top .dropdown-menu {
  margin-top: 6px; padding: 6px; min-width: 180px;
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-md); box-shadow: var(--mam-sh-md);
}
#js-product-list-top .dropdown-menu .dropdown-item {
  padding: 9px 12px; border-radius: var(--mam-r-sm);
  font-size: 13.5px; color: var(--mam-text-2); white-space: nowrap;
}
#js-product-list-top .dropdown-menu .dropdown-item:hover { background: var(--mam-cream); color: var(--mam-text); }
#js-product-list-top .dropdown-menu .dropdown-item.current { color: var(--mam-coral); font-weight: 700; }

/* ════════════════════════════════════════════════════════════
   27. PAGE MARQUE  (#manufacturer-description-wrapper + #brand-story)
   Intro = logo encadré + résumé + CTA ; histoire rebasculée en bas.
   Le déplacement + l'injection logo sont gérés par mam-brand.js
   (classe .mam-ready posée par le JS → on évite tout flash pré-JS).
════════════════════════════════════════════════════════════ */
#content-wrapper .page-title {
  font-family: var(--mam-f-display); font-weight: 600;
  font-size: 20px; color: var(--mam-navy-d); margin: 24px 0 16px;
}

/* ---- intro (hero) ---- */
#manufacturer-description-wrapper.mam-ready {
  display: flex; align-items: center; gap: 36px;
  margin: 0 0 26px;
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl);
  padding: 32px 38px;
}
#manufacturer-description-wrapper .mam-brand-logo {
  flex: 0 0 auto; width: 152px; height: 152px;
  background: var(--mam-cream); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
#manufacturer-description-wrapper .mam-brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
/* la 1re card (résumé) devient le corps de l'intro */
#manufacturer-description-wrapper.mam-ready > .card {
  flex: 1 1 auto; min-width: 0;
  background: none; border: none; box-shadow: none; margin: 0; padding: 0;
}
#manufacturer-short-description { font-size: 14px; line-height: 1.7; color: var(--mam-text-2); }
#manufacturer-short-description h1 {
  font-family: var(--mam-f-display); font-weight: 600; font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15; color: var(--mam-navy-d); margin: 0 0 16px; letter-spacing: -.01em;
}
#manufacturer-short-description strong { color: var(--mam-text); }
#manufacturer-short-description p { margin: 0 0 14px; }

/* bouton "More" → CTA scroll vers l'histoire */
.btn-brands-more {
  display: inline-flex; align-items: center; gap: 8px; float: none;
  margin-top: 8px; padding: 12px 20px;
  background: var(--mam-coral); color: #fff; text-decoration: none;
  border: none; border-radius: var(--mam-r-pill);
  font-weight: 600; font-size: 14px; box-shadow: var(--mam-sh-coral);
  transition: background .2s, transform .2s;
}
.btn-brands-more:hover { background: var(--mam-coral-d); color: #fff; transform: translateY(-1px); }

/* ---- histoire (bas, bloc large 2 colonnes) ---- */
#brand-story {
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl); padding: 44px 52px; margin: 34px 0 0;
}
#brand-story .mam-story-head { text-align: center; margin-bottom: 32px; }
#brand-story .mam-story-head .eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mam-coral-d); margin-bottom: 8px;
}
#brand-story .mam-story-title {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 28px;
  color: var(--mam-navy-d); margin: 0 0 12px; padding: 0; border: none;
}
#brand-story .mam-story-rule { display: block; width: 54px; height: 3px; background: var(--mam-coral); border-radius: 2px; margin: 0 auto; }

#brand-story #manufacturer-description { display: block; }
#brand-story #manufacturer-description h2 {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 22px; color: var(--mam-navy-d);
  margin: 32px 0 14px; padding-left: 14px; border-left: 3px solid var(--mam-coral);
}
#brand-story #manufacturer-description h2:first-child { margin-top: 0; }
#brand-story #manufacturer-description p { font-size: 14px; line-height: 1.85; color: var(--mam-text-2); margin: 0 0 18px; }
#brand-story #manufacturer-description .btn,
#brand-story #manufacturer-description .btn-secondary { display: none; }   /* le bouton "Less" n'a plus de sens */

@media (max-width: 900px) {
  #manufacturer-description-wrapper.mam-ready { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 700px) {
  #brand-story { padding: 30px 24px; }
}

/* ════════════════════════════════════════════════════════════
   28. FICHE PRODUIT · RÉASSURANCE  (.mam-trust — bloc HTML Elementor)
   3 items : icône coral (pastille cream) + titre Fraunces + sous-titre
════════════════════════════════════════════════════════════ */
.mam-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  padding: 18px 0; border-top: 1px solid var(--mam-line);
}
.mam-trust-item { text-align: center; padding: 4px 12px; }
.mam-trust-ico {
  width: 38px; height: 38px; margin-bottom: 8px;
  background: var(--mam-cream); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mam-coral);
}
.mam-trust-ico svg { width: 20px; height: 20px; }
.mam-trust-title {
  font-family: var(--mam-f-display); font-size: 14px; font-weight: 600;
  color: var(--mam-navy-d);
}
.mam-trust-desc { font-size: 11.5px; color: var(--mam-muted); margin-top: 2px; }
@media (max-width: 767px) {
  .mam-trust { grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 14px 0; }
  .mam-trust-item { padding: 0 4px; }
  .mam-trust-ico { width: 28px; height: 28px; margin-bottom: 5px; }
  .mam-trust-ico svg { width: 15px; height: 15px; }
  .mam-trust-title { font-size: 11.5px; line-height: 1.2; }
  .mam-trust-desc { font-size: 10px; margin-top: 1px; }
}

/* ════════════════════════════════════════════════════════════
   29. FICHE PRODUIT · BRAND BAR  (.mam-brand-bar — injecté par mam-product.js)
   Barre cream sous l'ajout-panier : logo rond + label/nom + lien.
   Construite depuis le bloc natif .product-manufacturer (lien + logo + alt).
════════════════════════════════════════════════════════════ */
.mam-brand-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; margin: 16px 0 0;
  background: var(--mam-cream); border-radius: var(--mam-r-md);
}
.mam-brand-bar__logo {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: var(--mam-white); border: 1.5px solid var(--mam-line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  text-decoration: none;
  font-family: var(--mam-f-display); font-style: italic; font-weight: 600;
  color: var(--mam-coral); font-size: 18px;
}
.mam-brand-bar__logo img { max-width: 74%; max-height: 74%; object-fit: contain; }
.mam-brand-bar__info { flex: 1; min-width: 0; }
.mam-brand-bar__label {
  font-size: 11px; color: var(--mam-muted); text-transform: uppercase;
  letter-spacing: .1em; font-weight: 600;
}
.mam-brand-bar__name {
  font-family: var(--mam-f-display); font-size: 17px; font-weight: 600; color: var(--mam-navy-d);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mam-brand-bar__see {
  flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--mam-coral);
  text-decoration: none; white-space: nowrap;
}
.mam-brand-bar__see:hover { color: var(--mam-coral-d); }
/* logo marque natif (flottant en haut à droite) masqué : remplacé par le brand bar */
#col-product-info .product-manufacturer.product-manufacturer-next { display: none; }

/* ════════════════════════════════════════════════════════════
   30. FICHE PRODUIT · ONGLETS  (#product-infos-tabs / #product-details)
   Nav filetée (actif navy + soulignement coral, pastille compteur),
   et onglet Détails en 2 colonnes : description | aside caractéristiques.
   La grille de l'onglet Détails est posée par mam-product.js.
════════════════════════════════════════════════════════════ */
.product-tabs { margin-top: 48px; }

/* --- barre d'onglets --- */
#product-infos-tabs.nav-tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  border-bottom: 1px solid var(--mam-line);
  margin: 0 0 32px; padding: 0;
}
#product-infos-tabs .nav-item { margin: 0; }
#product-infos-tabs .nav-link {
  border: 0; background: none; border-radius: 0; margin: 0;
  padding: 16px 22px;
  font-family: var(--mam-f-display); font-size: 18px; font-weight: 500;
  color: var(--mam-muted); cursor: pointer; position: relative;
  transition: color .2s;
}
#product-infos-tabs .nav-link:hover { color: var(--mam-navy-d); }
#product-infos-tabs .nav-link.active {
  color: var(--mam-navy-d); font-weight: 600; background: none; border: 0;
}
#product-infos-tabs .nav-link.active::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px;
  height: 3px; background: var(--mam-coral); border-radius: 3px 3px 0 0;
}
#product-infos-tabs .iqitreviews-title { float: none !important; }
#product-infos-tabs .iqitreviews-nb {
  display: inline-block; margin-left: 6px; vertical-align: middle;
  background: var(--mam-coral-pale); color: var(--mam-coral-d);
  font-family: var(--mam-f-body); font-size: 12px; font-weight: 600;
  padding: 2px 8px; border-radius: var(--mam-r-pill);
}
#product-infos-tabs-content { font-size: 14px; }

/* --- onglet Détails : caractéristiques en colonne unique (plus de split 2 col) --- */
#product-details { font-size: 14px; line-height: 1.7; color: var(--mam-text-2); }
#product-details .product-features { margin: 0; }
#product-details .data-sheet {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; margin: 0; max-width: none;
}
#product-details .mam-feat {
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-md); padding: 18px 20px;
}
#product-details .mam-feat--tags { grid-column: span 2; }
#product-details .mam-feat .name {
  display: block; float: none; width: auto; margin: 0 0 8px; padding: 0 !important; background: none;
  border: 0 !important; box-shadow: none !important;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mam-muted);
}
#product-details .mam-feat .value {
  display: block; float: none; width: auto; margin: 0; padding: 0 !important;
  border: 0 !important; box-shadow: none !important; background: none;
  font-family: var(--mam-f-display); font-weight: 600; font-size: 20px; color: var(--mam-navy-d); line-height: 1.15;
}
#product-details .mam-feat--tags .value { display: flex; flex-wrap: wrap; gap: 6px; }
#product-details .mam-feat .mam-tag {
  font-family: var(--mam-f-body); background: var(--mam-coral-pale); color: var(--mam-coral-d);
  font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: var(--mam-r-pill);
}
@media (max-width: 560px) { #product-details .mam-feat--tags { grid-column: span 1; } }
/* on masque réf / stock / EAN dans l'onglet Détails (gardés ailleurs sur la fiche) */
#product-details .product-reference,
#product-details .specific-references,
#product-details .product-quantities { display: none !important; }

@media (max-width: 768px) {
  #product-infos-tabs .nav-link { font-size: 16px; padding: 14px 16px; }
  #product-infos-tabs .nav-link.active::after { left: 16px; right: 16px; }
}

/* ════════════════════════════════════════════════════════════
   31. CARROUSEL PRODUITS (fiche)  (.category-products — swiper)
   Réutilise le style des cards catégorie SANS la grille (reste swiper).
   Titre de section, hauteurs égales, pagination/flèches, qty masqué.
════════════════════════════════════════════════════════════ */
section.category-products { margin-top: 48px; position: relative; }
section.category-products .section-title,
section.category-products .section-title span {
  font-family: var(--mam-f-display) !important; color: var(--mam-navy-d) !important;
}
section.category-products .section-title {
  font-weight: 600 !important; font-size: 26px !important; line-height: 1.2 !important;
  margin: 0 0 26px !important; padding-right: 110px;
}
/* cards à hauteur égale dans le swiper */
.category-products .swiper-slide { height: auto; }
.category-products .product-carousel { height: 100%; }
.category-products .product-miniature { height: 100%; }
/* add-to-cart compact : on masque le champ quantité (ajout qty 1) */
.category-products .product-add-cart .input-qty { display: none; }
.category-products .product-add-cart form,
.category-products .product-add-cart .input-group-add-cart { margin: 0; }
/* pagination */
.category-products .swiper-pagination-bullet { background: var(--mam-line); opacity: 1; }
.category-products .swiper-pagination-bullet-active { background: var(--mam-coral); }
/* flèches natives masquées (rognées par overflow:hidden du swiper) → nav custom */
.category-products .swiper-button-prev,
.category-products .swiper-button-next { display: none !important; }
/* nav custom : boutons ronds en haut-droite de la section (mam-product.js) */
.category-products .mam-carousel-nav { position: absolute; top: -4px; right: 0; display: flex; gap: 8px; }
.category-products .mam-cnav-prev,
.category-products .mam-cnav-next {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: var(--mam-white); border: 1px solid var(--mam-line); color: var(--mam-navy-d);
  font-size: 20px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s, opacity .2s;
}
.category-products .mam-cnav-prev:hover,
.category-products .mam-cnav-next:hover { border-color: var(--mam-coral); color: var(--mam-coral); }
.category-products .mam-cnav-prev:disabled,
.category-products .mam-cnav-next:disabled { opacity: .4; cursor: default; border-color: var(--mam-line); color: var(--mam-navy-d); }
@media (max-width: 760px) {
  .category-products .mam-carousel-nav { display: none; }
  section.category-products .section-title { padding-right: 0; }
}

/* --- style des cards (dupliqué des sections 22-23, scopé carrousel) --- */
.category-products .product-miniature {
  position: relative;
  display: flex; flex-direction: column;
  text-align: left;          /* le thème centre la miniature → titre/prix/badge à gauche */
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.category-products .product-miniature:hover {
  transform: translateY(-3px);
  box-shadow: var(--mam-sh-md);
  border-color: var(--mam-coral-pale);
}

/* --- média (carré, JPG fond blanc fondu en multiply) --- */
.category-products .thumbnail-container {
  position: relative;
  flex: 0 0 auto;            /* ne pas écraser le carré dans la card flex */
  aspect-ratio: 1;
  background: var(--mam-cream-2);
  overflow: hidden;
}
.category-products .thumbnail-container .product-thumbnail { position: relative; display: block; width: 100%; height: 100%; }
.category-products .thumbnail-container picture { position: absolute; inset: 0; display: block; }
.category-products .thumbnail-container img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  mix-blend-mode: multiply;
  transition: transform .35s, opacity .35s;
}
.category-products .product-miniature:hover .thumbnail-container img { transform: scale(1.04); }
/* swap image au survol : la 2e (absolue) se superpose à la 1re si elle existe.
   On NE masque PAS la 1re → pas de carré blanc quand il n'y a pas de 2e image. */
.category-products .thumbnail-container .product-thumbnail-second { opacity: 0; }
.category-products .product-miniature:hover .product-thumbnail-second { opacity: 1; }

/* --- flags (haut-gauche) --- */
.category-products .thumbnail-container .product-flags {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.category-products .thumbnail-container .product-flags li {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: var(--mam-r-pill);
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--mam-coral); color: #fff;
}
.category-products .thumbnail-container .product-flags li.new { background: var(--mam-navy); }

/* --- boutons fonctionnels : cœur seul (haut-droite), TOUJOURS visible --- */
/* le thème masque .product-functional-buttons-bottom hors survol → on force */
.category-products .product-functional-buttons {
  position: absolute; top: 12px; right: 12px; bottom: auto; left: auto;
  z-index: 3; width: auto; margin: 0;
  opacity: 1; visibility: visible; transform: none;
}
.category-products .product-functional-buttons-links {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  opacity: 1; visibility: visible; transform: none;
}
.category-products .js-quick-view-iqit {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mam-white); box-shadow: var(--mam-sh-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--mam-navy); font-size: 15px;
  transition: color .2s, transform .2s;
}
.category-products .js-quick-view-iqit:hover { color: var(--mam-coral); transform: scale(1.1); }
.category-products .btn-iqitwishlist-add {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mam-white); box-shadow: var(--mam-sh-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--mam-navy); font-size: 15px;
  transition: color .2s, transform .2s;
}
.category-products .btn-iqitwishlist-add:hover { color: var(--mam-coral); transform: scale(1.1); }
.category-products .btn-iqitwishlist-add .added { display: none; }

/* --- dispo (badge soft, bas du média, centré) --- */
.category-products .thumbnail-container .product-availability {
  position: absolute; left: 50%; right: auto; bottom: 10px; transform: translateX(-50%);
  z-index: 3; text-align: center; max-width: calc(100% - 16px);
}
.category-products .thumbnail-container .product-availability .badge {
  display: inline-flex; align-items: center; gap: 5px;
  margin: 0; padding: 6px 11px;
  border-radius: 8px;
  background: #FDECEA; border: 1px solid #F2C4BF; color: var(--mam-danger);
  font-size: 11px; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap; max-width: 100%; line-height: 1.3;
}
/* icône SVG en ::before (indépendant de FontAwesome) ; icône native masquée */
.category-products .thumbnail-container .product-availability .badge i { display: none; }
.category-products .thumbnail-container .product-availability .badge::before {
  content: ""; width: 13px; height: 13px; flex: 0 0 auto;
  background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23C0392B%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27m6%206%2012%2012%27%2F%3E%3C%2Fsvg%3E");   /* défaut = rupture */
}
/* en stock (success) : contour vert + check */
.category-products .thumbnail-container .product-availability .badge.badge-success,
.category-products .thumbnail-container .product-availability .badge.product-available {
  background: #E6F3EC; border-color: #BFE0CC; color: var(--mam-success);
}
.category-products .thumbnail-container .product-availability .badge.badge-success::before,
.category-products .thumbnail-container .product-availability .badge.product-available::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%232E8259%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%206%209%2017l-5-5%27%2F%3E%3C%2Fsvg%3E");
}
/* bientôt épuisé (warning) : contour ambre + horloge */
.category-products .thumbnail-container .product-availability .badge.badge-warning {
  background: #FFF7ED; border-color: #FED7AA; color: #EA580C;
}
.category-products .thumbnail-container .product-availability .badge.badge-warning::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23EA580C%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27M12%207v5l3%202%27%2F%3E%3C%2Fsvg%3E");
}

/* ════════════════════════════════════════════════════════════
   23. CATÉGORIE · CARD BODY (.product-description)
   Réordonné : marque → titre → note → prix (+ bouton sacoche absolu)
════════════════════════════════════════════════════════════ */
.category-products .product-description {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column;
  gap: 5px;
  padding: 14px 16px 16px;
}
.category-products .product-description .product-category-name,
.category-products .product-description .product-reference,
.category-products .product-description .product-description-short { display: none; }

.category-products .product-brand { order: 1; margin: 0; }
.category-products .product-brand a {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mam-muted); text-decoration: none;
}
.category-products .product-title { order: 2; margin: 0; }
.category-products .product-title a {
  font-family: var(--mam-f-display); font-size: 16px; font-weight: 600;
  color: var(--mam-navy-d); line-height: 1.2; text-decoration: none;
  display: block; overflow: visible;
}
.category-products .product-title a:hover { color: var(--mam-coral); }

.category-products .iqitreviews-simple {
  order: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--mam-text-2);
}
.category-products .iqitreviews-simple .iqitreviews-rating { display: inline-flex; gap: 1px; }
.category-products .iqitreviews-simple .iqit-review-star { color: var(--mam-butter); font-size: 12px; }
.category-products .iqitreviews-simple .iqitreviews-nb { color: var(--mam-muted); }

.category-products .product-price-and-shipping {
  order: 4;
  margin-top: auto; padding-top: 10px; padding-right: 52px;
}
.category-products .product-price-and-shipping a { text-decoration: none; }
.category-products .product-price-and-shipping .product-price {
  font-family: var(--mam-f-display); font-size: 21px; font-weight: 600; color: var(--mam-navy-d);
}

/* bouton liste → rond sacoche (texte « View » masqué) ; ⚠ mène à la fiche, pas add-to-cart */
.category-products .product-add-cart { position: absolute; right: 16px; bottom: 14px; margin: 0; padding: 0; }
.category-products .product-add-cart .btn-product-list {
  width: 44px; height: 44px; padding: 0;
  border: none; border-radius: 50%;
  background: var(--mam-navy-d); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
  transition: background .2s, transform .2s;
}
.category-products .product-add-cart .btn-product-list::before {
  content: ""; width: 18px; height: 18px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4Z%27%2F%3E%3Cpath%20d%3D%27M3%206h18%27%2F%3E%3Cpath%20d%3D%27M16%2010a4%204%200%200%201-8%200%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4Z%27%2F%3E%3Cpath%20d%3D%27M3%206h18%27%2F%3E%3Cpath%20d%3D%27M16%2010a4%204%200%200%201-8%200%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.category-products .product-add-cart .btn-product-list:hover { background: var(--mam-coral); transform: scale(1.05); }

/* =========================================================
   32 · FOOTER BOTTOM BAR (bloc HTML Warehouse)
   © + moyens de paiement, fond navy autonome
   ========================================================= */
.mam-footer-bottom {
  background: var(--mam-navy-d);
  color: #8E97A8;
  font-family: var(--mam-f-body);
  font-size: 13px;
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 24px;
}
.mam-footer-bottom .mam-fb-copy { color: #8E97A8; }
.mam-footer-bottom .mam-fb-pay { display: flex; gap: 10px; flex-wrap: wrap; }
.mam-footer-bottom .mam-fb-pay span {
  background: rgba(255,255,255,0.06);
  padding: 6px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 600; color: #fff; letter-spacing: .3px;
}
@media (max-width: 600px) {
  .mam-footer-bottom { justify-content: center; text-align: center; }
  .mam-footer-bottom .mam-fb-pay { justify-content: center; gap: 6px; }
  .mam-footer-bottom .mam-fb-pay span { padding: 5px 9px; font-size: 10px; }
}

/* =========================================================
   33 · RÉSEAUX SOCIAUX (bloc logo footer)
   pastilles coral-pale, hover coral plein — marche sur fond clair/cream
   ========================================================= */
.mam-socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.mam-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mam-coral-pale); color: var(--mam-coral);
  font-size: 17px; line-height: 1; text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.mam-socials a:hover { background: var(--mam-coral); color: #fff; transform: translateY(-2px); }
.mam-socials a i { color: inherit; }

/* =========================================================
   34 · FOOTER — masquer le titre du SEUL bloc logo
   (les autres titres : INFO / Compte / Contact us restent)
   contenu du bloc logo gardé visible (son toggle mobile est masqué)
   ========================================================= */
#footer-container-main #iqithtmlandbanners-block-2 .block-title { display: none !important; }
#footer-container-main #iqithtmlandbanners-block-2 .block-content { display: block !important; }

/* =========================================================
   35 · FOOTER — bloc logo (iqithtmlandbanners) en 1re colonne
   .row Bootstrap = flex → on le remonte avec order
   ========================================================= */
#footer-container-main #iqithtmlandbanners-block-2 { order: -1; }
/* mobile : centrer le logo du bloc */
@media (max-width: 767.98px) {
  #footer-container-main #iqithtmlandbanners-block-2 .block-content { text-align: center; }
  #footer-container-main #iqithtmlandbanners-block-2 .block-content p { text-align: center; margin: 0 auto; }
  #footer-container-main #iqithtmlandbanners-block-2 .block-content img { display: inline-block; margin: 0 auto; }
}

/* =========================================================
   36 · HOME — barre de réassurance (widget HTML Elementor)
   carte blanche arrondie, 4 items, pastilles colorées (calé maquette)
   ========================================================= */
.mam-home-trust {
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl);
  box-shadow: var(--mam-sh-md);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 32px;
}
.mam-home-trust .mam-ht-item { display: flex; gap: 14px; align-items: center; }
.mam-home-trust .mam-ht-ic {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--mam-coral-pale); color: var(--mam-coral);
}
.mam-home-trust .mam-ht-item:nth-child(2) .mam-ht-ic { background: #E8EDF4; color: var(--mam-navy); }
.mam-home-trust .mam-ht-item:nth-child(3) .mam-ht-ic { background: #FFE6BF; color: #8A5410; }
.mam-home-trust .mam-ht-item:nth-child(4) .mam-ht-ic { background: #DDEFE3; color: var(--mam-success); }
.mam-home-trust .mam-ht-t { font-family: var(--mam-f-body); font-weight: 600; font-size: 14px; color: var(--mam-navy-d); line-height: 1.3; }
.mam-home-trust .mam-ht-s { font-family: var(--mam-f-body); font-size: 12px; color: var(--mam-muted); line-height: 1.3; margin-top: 2px; }
@media (max-width: 900px) { .mam-home-trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .mam-home-trust { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; padding: 20px 16px; }
  .mam-home-trust .mam-ht-item { gap: 10px; }
  .mam-home-trust .mam-ht-t { font-size: 13px; }
  .mam-home-trust .mam-ht-s { font-size: 11px; }
}

/* =========================================================
   37 · HOME — ornement de section (filets + étoiles + mot)
   ========================================================= */
.mam-ornament { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 4px 0 0; }
.mam-ornament .mam-orn-bar { width: 110px; height: 4px; border-top: 1px solid var(--mam-line); border-bottom: 1px solid var(--mam-line); }
.mam-ornament .mam-orn-stars { color: var(--mam-coral); font-size: 11px; letter-spacing: 7px; }
.mam-ornament .mam-orn-word {
  font-family: var(--mam-f-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--mam-muted);
}
@media (max-width: 560px) { .mam-ornament .mam-orn-bar { width: 40px; } }

/* =========================================================
   38 · HOME — en-tête éditorial de section
   ========================================================= */
.mam-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin: 48px 0 40px;
}
.mam-section-head .mam-sh-left { max-width: 600px; }
.mam-section-head .mam-sh-eyebrow {
  font-family: var(--mam-f-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mam-coral);
  margin-bottom: 12px;
}
.mam-section-head .mam-sh-title {
  font-family: var(--mam-f-display); font-weight: 600;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--mam-navy-d); margin: 0;
}
.mam-section-head .mam-sh-title em { font-style: italic; color: var(--mam-coral); }
.mam-section-head .mam-sh-link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--mam-f-body); font-weight: 600; font-size: 14px; color: var(--mam-navy-d);
  text-decoration: none; transition: color .2s;
}
.mam-section-head .mam-sh-link:hover,
.mam-section-head .mam-sh-link:hover * { color: var(--mam-coral) !important; }
@media (max-width: 640px) {
  .mam-section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* =========================================================
   39 · HOME — grille catégories asymétrique (5 tuiles)
   ========================================================= */
.mam-cats {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 20px;
}
.mam-cat {
  position: relative; display: block; overflow: hidden; min-height: 220px;
  border-radius: var(--mam-r-lg); background: var(--mam-cream-2);
  transition: transform .3s;
}
.mam-cat:hover { transform: translateY(-4px); }
.mam-cat-1 { grid-row: span 2; }
.mam-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mam-cat:hover img { transform: scale(1.05); }
.mam-cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(26,39,56,0.7) 100%); }
.mam-cat-content {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 24px; color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.mam-cat-content h3 { font-family: var(--mam-f-display); font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: -0.01em; margin: 0; }
.mam-cat-1 .mam-cat-content h3 { font-size: 40px; }
.mam-cat-count { font-family: var(--mam-f-body); font-size: 12px; opacity: 0.85; letter-spacing: 0.04em; margin-bottom: 4px; }
.mam-cat-arrow {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
}
.mam-cat:hover .mam-cat-arrow { background: var(--mam-coral); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .mam-cats { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mam-cat-1 { grid-row: span 1; grid-column: span 2; }
}
@media (max-width: 560px) {
  .mam-cats { grid-template-columns: 1fr; }
  .mam-cat-1 { grid-column: span 1; }
}

/* ════════════════════════════════════════════════════════════
   40. CARROUSEL PRODUITS ELEMENTOR (home)  (.elementor-products)
   Même design de cards que la section 31, scopé sur le widget
   PrestaShop ProductsList d'Elementor. Flèches gérées par Elementor.
════════════════════════════════════════════════════════════ */
/* cards à hauteur égale dans le swiper */
.elementor-products .swiper-slide { height: auto; }
.elementor-products .product-carousel { height: 100%; }
.elementor-products .product-miniature { height: 100%; }
/* add-to-cart compact : on masque le champ quantité (ajout qty 1) */
.elementor-products .product-add-cart .input-qty { display: none; }
.elementor-products .product-add-cart form,
.elementor-products .product-add-cart .input-group-add-cart { margin: 0; }

/* --- style des cards (dupliqué des sections 22-23, scopé carrousel) --- */
.elementor-products .product-miniature {
  position: relative;
  display: flex; flex-direction: column;
  text-align: left;          /* le thème centre la miniature → titre/prix/badge à gauche */
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.elementor-products .product-miniature:hover {
  transform: translateY(-3px);
  box-shadow: var(--mam-sh-md);
  border-color: var(--mam-coral-pale);
}

/* --- média (carré, JPG fond blanc fondu en multiply) --- */
.elementor-products .thumbnail-container {
  position: relative;
  flex: 0 0 auto;            /* ne pas écraser le carré dans la card flex */
  aspect-ratio: 1;
  background: var(--mam-cream-2);
  overflow: hidden;
}
.elementor-products .thumbnail-container .product-thumbnail { position: relative; display: block; width: 100%; height: 100%; }
.elementor-products .thumbnail-container picture { position: absolute; inset: 0; display: block; }
.elementor-products .thumbnail-container img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  mix-blend-mode: multiply;
  transition: transform .35s, opacity .35s;
}
.elementor-products .product-miniature:hover .thumbnail-container img { transform: scale(1.04); }
/* swap image au survol : la 2e (absolue) se superpose à la 1re si elle existe.
   On NE masque PAS la 1re → pas de carré blanc quand il n'y a pas de 2e image. */
.elementor-products .thumbnail-container .product-thumbnail-second { opacity: 0; }
.elementor-products .product-miniature:hover .product-thumbnail-second { opacity: 1; }

/* --- flags (haut-gauche) --- */
.elementor-products .thumbnail-container .product-flags {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.elementor-products .thumbnail-container .product-flags li {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: var(--mam-r-pill);
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: var(--mam-coral); color: #fff;
}
.elementor-products .thumbnail-container .product-flags li.new { background: var(--mam-navy); }

/* --- boutons fonctionnels : cœur seul (haut-droite), TOUJOURS visible --- */
/* le thème masque .product-functional-buttons-bottom hors survol → on force */
.elementor-products .product-functional-buttons {
  position: absolute; top: 12px; right: 12px; bottom: auto; left: auto;
  z-index: 3; width: auto; margin: 0;
  opacity: 1; visibility: visible; transform: none;
}
.elementor-products .product-functional-buttons-links {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  opacity: 1; visibility: visible; transform: none;
}
.elementor-products .js-quick-view-iqit {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mam-white); box-shadow: var(--mam-sh-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--mam-navy); font-size: 15px;
  transition: color .2s, transform .2s;
}
.elementor-products .js-quick-view-iqit:hover { color: var(--mam-coral); transform: scale(1.1); }
.elementor-products .btn-iqitwishlist-add {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mam-white); box-shadow: var(--mam-sh-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--mam-navy); font-size: 15px;
  transition: color .2s, transform .2s;
}
.elementor-products .btn-iqitwishlist-add:hover { color: var(--mam-coral); transform: scale(1.1); }
.elementor-products .btn-iqitwishlist-add .added { display: none; }

/* --- dispo (badge soft, bas-gauche du média) --- */
.elementor-products .thumbnail-container .product-availability { position: absolute; right: 0; bottom: 10px; z-index: 3; text-align: center; }
.elementor-products .thumbnail-container .product-availability .badge {
  display: inline-flex; align-items: flex-start; gap: 5px;
  margin: 0; padding: 6px 11px;
  border-radius: 8px;
  background: #FDECEA; border: 1px solid #F2C4BF; color: var(--mam-danger);
  font-size: 11px; font-weight: 600; letter-spacing: .01em;
  white-space: normal; max-width: 100%; line-height: 1.3;
}
/* icône SVG en ::before (indépendant de FontAwesome) ; icône native masquée */
.elementor-products .thumbnail-container .product-availability .badge i { display: none; }
.elementor-products .thumbnail-container .product-availability .badge::before {
  content: ""; width: 13px; height: 13px; flex: 0 0 auto;
  background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23C0392B%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27m6%206%2012%2012%27%2F%3E%3C%2Fsvg%3E");   /* défaut = rupture */
}
/* en stock (success) : contour vert + check */
.elementor-products .thumbnail-container .product-availability .badge.badge-success,
.elementor-products .thumbnail-container .product-availability .badge.product-available {
  background: #E6F3EC; border-color: #BFE0CC; color: var(--mam-success);
}
.elementor-products .thumbnail-container .product-availability .badge.badge-success::before,
.elementor-products .thumbnail-container .product-availability .badge.product-available::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%232E8259%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%206%209%2017l-5-5%27%2F%3E%3C%2Fsvg%3E");
}
/* bientôt épuisé (warning) : contour ambre + horloge */
.elementor-products .thumbnail-container .product-availability .badge.badge-warning {
  background: #FFF7ED; border-color: #FED7AA; color: #EA580C;
}
.elementor-products .thumbnail-container .product-availability .badge.badge-warning::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23EA580C%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27M12%207v5l3%202%27%2F%3E%3C%2Fsvg%3E");
}

/* ════════════════════════════════════════════════════════════
   23. CATÉGORIE · CARD BODY (.product-description)
   Réordonné : marque → titre → note → prix (+ bouton sacoche absolu)
════════════════════════════════════════════════════════════ */
.elementor-products .product-description {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column;
  gap: 5px;
  padding: 14px 16px 16px;
}
.elementor-products .product-description .product-category-name,
.elementor-products .product-description .product-reference,
.elementor-products .product-description .product-description-short { display: none; }

.elementor-products .product-brand { order: 1; margin: 0; }
.elementor-products .product-brand a {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mam-muted); text-decoration: none;
}
.elementor-products .product-title { order: 2; margin: 0; }
.elementor-products .product-title a {
  font-family: var(--mam-f-display); font-size: 16px; font-weight: 600;
  color: var(--mam-navy-d); line-height: 1.2; text-decoration: none;
  display: block; overflow: visible;
}
.elementor-products .product-title a:hover { color: var(--mam-coral); }

.elementor-products .iqitreviews-simple {
  order: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--mam-text-2);
}
.elementor-products .iqitreviews-simple .iqitreviews-rating { display: inline-flex; gap: 1px; }
.elementor-products .iqitreviews-simple .iqit-review-star { color: var(--mam-butter); font-size: 12px; }
.elementor-products .iqitreviews-simple .iqitreviews-nb { color: var(--mam-muted); }

.elementor-products .product-price-and-shipping {
  order: 4;
  margin-top: auto; padding-top: 10px; padding-right: 52px;
}
.elementor-products .product-price-and-shipping a { text-decoration: none; }
.elementor-products .product-price-and-shipping .product-price {
  font-family: var(--mam-f-display); font-size: 21px; font-weight: 600; color: var(--mam-navy-d);
}

/* bouton liste → rond sacoche (texte « View » masqué) ; ⚠ mène à la fiche, pas add-to-cart */
.elementor-products .product-add-cart { position: absolute; right: 16px; bottom: 14px; margin: 0; padding: 0; }
.elementor-products .product-add-cart .btn-product-list {
  width: 44px; height: 44px; padding: 0;
  border: none; border-radius: 50%;
  background: var(--mam-navy-d); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
  transition: background .2s, transform .2s;
}
.elementor-products .product-add-cart .btn-product-list::before {
  content: ""; width: 18px; height: 18px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4Z%27%2F%3E%3Cpath%20d%3D%27M3%206h18%27%2F%3E%3Cpath%20d%3D%27M16%2010a4%204%200%200%201-8%200%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%202%203%206v14a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V6l-3-4Z%27%2F%3E%3Cpath%20d%3D%27M3%206h18%27%2F%3E%3Cpath%20d%3D%27M16%2010a4%204%200%200%201-8%200%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.elementor-products .product-add-cart .btn-product-list:hover { background: var(--mam-coral); transform: scale(1.05); }

/* gap entre cards du carrousel Elementor : swiper spaceBetween=0 → on crée
   la gouttière en padding interne (border-box garde la largeur de slide intacte) */
.elementor-products .swiper-slide { box-sizing: border-box; padding: 0 10px; }

/* =========================================================
   41 · FOOTER — bande pleine largeur : texte épicerie (gauche)
   + « Let's Keep In Touch! » et réseaux (droite)
   icônes SVG en currentColor → couleur pilotée par .links-item
   ========================================================= */
.mam-footer-band {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px 48px; flex-wrap: wrap;
}
.mam-footer-band .mam-fb-text {
  max-width: 620px; margin: 0;
  font-family: var(--mam-f-body); font-size: 14px; line-height: 1.6; color: var(--mam-text-2);
}
.mam-footer-band .footer-partners { flex-shrink: 0; }
.mam-footer-band .partner-block { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.mam-footer-band .links-text {
  margin: 0; font-family: var(--mam-f-display); font-weight: 600; font-size: 15px; color: var(--mam-navy-d);
}
.mam-footer-band .links-items { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.mam-footer-band .links-item {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mam-navy); text-decoration: none;
  transition: color .2s, transform .2s;
}
.mam-footer-band .links-item:hover { color: var(--mam-coral); transform: translateY(-2px); }
/* taille uniforme (certains SVG ont un width/height inline → !important pour normaliser) */
.mam-footer-band .links-item .icon { width: 22px !important; height: 22px !important; display: block; }
@media (min-width: 769px) {
  #footer-container-main { margin-top: 56px; }
  #footer-container-main > .container { margin-top: 56px; }
}
@media (max-width: 768px) {
  .mam-footer-band { flex-direction: column; align-items: flex-start; }
  .mam-footer-band .partner-block { align-items: flex-start; }
  .mam-footer-band .links-items { justify-content: flex-start; }
}

/* =========================================================
   42 · HOME — bloc histoire/SEO (V1 « Lire la suite »)
   collapse pur CSS (checkbox hack, zéro JS). Ornement = section 37.
   ========================================================= */
.mam-story { max-width: 1080px; margin: 0 auto; }
.mam-story-eyebrow {
  text-align: center; font-family: var(--mam-f-body);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mam-coral); margin-bottom: 10px;
}
.mam-story-title {
  text-align: center; margin: 0 0 10px;
  font-family: var(--mam-f-display) !important; font-weight: 600 !important;
  font-size: clamp(28px, 4vw, 42px) !important; line-height: 1.05 !important;
  letter-spacing: -.02em; color: var(--mam-navy-d) !important;
}
.mam-story-title em { font-style: italic; color: var(--mam-coral) !important; }
.mam-story-lede { text-align: center; max-width: 680px; margin: 0 auto 30px; color: var(--mam-text-2); font-size: 14px; font-family: var(--mam-f-body); }

.mam-story-card {
  position: relative; background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl); padding: clamp(28px, 5vw, 56px); box-shadow: var(--mam-sh-md);
}
.mam-story-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.mam-story-body { position: relative; overflow: hidden; max-height: 300px; transition: max-height .5s ease; }
.mam-story-body::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--mam-white)); transition: opacity .3s;
}
.mam-story-toggle:checked ~ .mam-story-body { max-height: 4000px; }
.mam-story-toggle:checked ~ .mam-story-body::after { opacity: 0; }

.mam-story-body p { margin: 0 0 14px; font-family: var(--mam-f-body); font-size: 14px; line-height: 1.65; color: var(--mam-text-2); }
.mam-story-body p:first-child { color: var(--mam-text); }
.mam-story-body p strong { color: var(--mam-navy-d); font-weight: 600; }
.mam-story-body h3 { font-family: var(--mam-f-display); font-weight: 600; font-size: 22px; color: var(--mam-navy-d); margin: 26px 0 8px; letter-spacing: -.01em; }

.mam-story-morewrap { text-align: center; }
.mam-story-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; cursor: pointer;
  font-family: var(--mam-f-body); font-weight: 600; font-size: 14px; color: #fff;
  background: var(--mam-coral); border: none; padding: 12px 22px; border-radius: var(--mam-r-pill);
  transition: background .2s;
}
.mam-story-more:hover { background: var(--mam-coral-d); }
.mam-story-more svg { transition: transform .3s; }
.mam-story-more .mam-more-close { display: none; }
.mam-story-toggle:checked ~ .mam-story-morewrap .mam-story-more .mam-more-open { display: none; }
.mam-story-toggle:checked ~ .mam-story-morewrap .mam-story-more .mam-more-close { display: inline; }
.mam-story-toggle:checked ~ .mam-story-morewrap .mam-story-more svg { transform: rotate(180deg); }

/* =========================================================
   43 · FICHE PRODUIT — badge disponibilité (#product-availability)
   même style soft que le listing (contour + icône SVG ::before)
   ========================================================= */
#product-availability.badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 10px; padding: 8px 14px; border-radius: 8px;
  background: #FDECEA; border: 1px solid #F2C4BF; color: var(--mam-danger);
  font-size: 14px; font-weight: 600; letter-spacing: .01em; line-height: 1.3;
  white-space: normal; max-width: 100%;
}
#product-availability.badge i { display: none; }
#product-availability.badge::before {
  content: ""; width: 16px; height: 16px; flex: 0 0 auto;
  background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23C0392B%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27m6%206%2012%2012%27%2F%3E%3C%2Fsvg%3E");
}
#product-availability.badge.badge-success,
#product-availability.badge.product-available {
  background: #E6F3EC; border-color: #BFE0CC; color: var(--mam-success);
}
#product-availability.badge.badge-success::before,
#product-availability.badge.product-available::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%232E8259%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%206%209%2017l-5-5%27%2F%3E%3C%2Fsvg%3E");
}
#product-availability.badge.badge-warning { background: #FFF7ED; border-color: #FED7AA; color: #EA580C; }
#product-availability.badge.badge-warning::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23EA580C%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27M12%207v5l3%202%27%2F%3E%3C%2Fsvg%3E");
}

/* =========================================================
   44 · AVIS (iqitreviews) — synthèse + cartes
   ========================================================= */
#iqit-reviews { margin-top: 8px; padding: 0 clamp(8px, 2vw, 24px) 20px; }
/* synthèse note + nombre */
#iqit-reviews-top { margin: 0 0 18px; }
#iqitreviews-snippet {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mam-f-body); font-weight: 600; font-size: 15px; color: var(--mam-navy-d);
}
#iqitreviews-snippet .iqitreviews-rating { display: inline-flex; gap: 2px; }
#iqit-reviews .iqit-review-star { color: var(--mam-butter); font-size: 15px; }

/* liste de cartes */
#iqitreviews-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 4px; }
#iqitreviews-list .iqitreviews-review {
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg); padding: 24px 26px !important; margin: 0;
  box-shadow: var(--mam-sh-sm);
}
.iqitreviews-review hr { display: none; }
.iqitreviews-review .title { margin: 0; }
.iqitreviews-review .title:has(strong:empty) { display: none; }
.iqitreviews-review .title strong { font-family: var(--mam-f-display); font-weight: 600; font-size: 16px; color: var(--mam-navy-d); }
.iqitreviews-review .rating { display: inline-flex; gap: 2px; margin-bottom: 9px; }
.iqitreviews-review .rating .iqit-review-star { font-size: 14px; }
.iqitreviews-review .comment { font-family: var(--mam-f-body); font-size: 14.5px; line-height: 1.6; color: var(--mam-text); margin-bottom: 12px; }
.iqitreviews-review .author { font-size: 12.5px; color: var(--mam-muted); }
.iqitreviews-review .author span span { color: var(--mam-navy-d); font-weight: 600; }
@media (max-width: 720px) { #iqitreviews-list { grid-template-columns: 1fr; } }

/* =========================================================
   45 · MODAL AJOUT PANIER (#blockcart-modal) + toast (#blockcart-notification)
   ========================================================= */
/* --- modal --- */
#blockcart-modal .modal-dialog { max-width: 760px; }
#blockcart-modal .modal-content {
  border: none; border-radius: var(--mam-r-lg); overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(26,39,56,.45);
  background: var(--mam-white);
  font-family: var(--mam-f-body);
}

/* header succès */
#blockcart-modal .modal-header {
  background: #E6F3EC; border-bottom: 1px solid #BFE0CC;
  padding: 16px 24px; align-items: center;
}
#blockcart-modal .modal-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mam-f-body); font-weight: 600; font-size: 15px; color: var(--mam-success);
}
#blockcart-modal .modal-title .fa {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--mam-success); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
}
#blockcart-modal .close {
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--mam-navy-d); opacity: .55;
  transition: opacity .15s; padding: 0 4px; margin: 0;
}
#blockcart-modal .close:hover { opacity: 1; }

/* corps */
#blockcart-modal .modal-body { padding: 26px 28px; }
#blockcart-modal .divide-right { border-right: 1px solid var(--mam-line); }
@media (max-width: 767px) { #blockcart-modal .divide-right { border-right: 0; border-bottom: 1px solid var(--mam-line); padding-bottom: 16px; margin-bottom: 16px; } }

/* produit ajouté */
#blockcart-modal .product-image {
  background: var(--mam-cream); border-radius: var(--mam-r-md);
  mix-blend-mode: multiply; max-height: 150px; width: auto;
}
#blockcart-modal .product-name a {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 17px; line-height: 1.25;
  color: var(--mam-navy-d); text-decoration: none;
}
#blockcart-modal .product-name a:hover { color: var(--mam-coral); }
#blockcart-modal .col-info > span { font-size: 14px; color: var(--mam-text-2); }
#blockcart-modal .col-info .text-muted { color: var(--mam-muted) !important; }

/* récap panier */
#blockcart-modal .cart-content { padding-top: 0 !important; }
#blockcart-modal .cart-products-count {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 18px; color: var(--mam-navy-d);
  margin: 0 0 14px;
}
#blockcart-modal .cart-subtotals > div {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--mam-line-soft);
  font-size: 14px;
}
#blockcart-modal .cart-subtotals > div > .value { margin-left: auto; }   /* la valeur reste à droite même avec un 3e enfant */
#blockcart-modal .cart-subtotals > div > div:last-child:has(small:empty) { display: none; }   /* div fantôme (small vide) de la ligne Livraison */
#blockcart-modal .cart-subtotals strong { font-weight: 500; color: var(--mam-text-2); }
#blockcart-modal .cart-subtotals .value { font-weight: 600; color: var(--mam-navy-d); }
#blockcart-modal .clearfix.mb-2 {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 0 0; margin: 4px 0 18px !important;
}
#blockcart-modal .clearfix.mb-2 strong { font-size: 15px; font-weight: 600; color: var(--mam-navy-d); }
#blockcart-modal .clearfix.mb-2 .value {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 26px; letter-spacing: -0.01em;
  color: var(--mam-navy-d);
}

/* boutons */
#blockcart-modal .cart-content-btn { display: flex; flex-direction: column; gap: 10px; }
#blockcart-modal .cart-content-btn .btn { float: none; width: 100%; margin: 0 !important; }
#blockcart-modal .cart-content-btn .btn-primary {
  background: var(--mam-coral); border: none; color: #fff;
  font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: var(--mam-r-pill);
  box-shadow: var(--mam-sh-coral); transition: background .2s;
}
#blockcart-modal .cart-content-btn .btn-primary:hover { background: var(--mam-coral-d); }
#blockcart-modal .cart-content-btn .btn-secondary {
  background: transparent; border: 1.5px solid var(--mam-line); color: var(--mam-navy-d);
  font-weight: 600; font-size: 14px;
  padding: 12px 22px; border-radius: var(--mam-r-pill);
  box-shadow: none; transition: border-color .2s, color .2s;
}
#blockcart-modal .cart-content-btn .btn-secondary:hover { border-color: var(--mam-navy); color: var(--mam-navy); }

/* fond assombri derrière le modal */
.modal-backdrop.show { background: rgba(26,32,48,.55); }

/* --- toast notification --- */
#blockcart-notification.ns-box {
  background: var(--mam-navy-d); color: #fff;
  border-radius: var(--mam-r-md); box-shadow: 0 18px 40px -16px rgba(26,39,56,.5);
  padding: 14px 16px;
  font-family: var(--mam-f-body);
}
#blockcart-notification .ns-thumb img {
  background: var(--mam-cream); border-radius: 10px;
}
#blockcart-notification .ns-title { font-size: 13.5px; line-height: 1.45; color: #E8ECF3; }
#blockcart-notification .ns-title strong { color: #fff; font-weight: 600; }
#blockcart-notification .ns-title .fa {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--mam-success); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; margin-right: 4px;
}
#blockcart-notification .ns-delivery:empty { display: none; }

/* =========================================================
   46 · HOME — bande de logos marques (widget marques Elementor/iqit)
   carte blanche arrondie, logos estompés → pleins au hover
   ========================================================= */
/* carte blanche autour du carrousel (DOM réel : .elementor-brands > wrapper swiper) */
.elementor-brands {
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl);
  padding: 22px 64px;            /* latéral large : place pour les flèches */
  position: relative;
}
.elementor-brands .swiper-slide {
  display: flex; align-items: center; justify-content: center;
}
.elementor-brands .swiper-slide a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 130px; padding: 0 8px;
  opacity: .75; filter: grayscale(30%);
  transition: opacity .2s, filter .2s, transform .2s;
}
.elementor-brands .swiper-slide a:hover { opacity: 1; filter: none; transform: translateY(-2px); }
/* images 452x584 portrait : on recadre la hauteur, le logo reste entier */
.elementor-brands .swiper-slide img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain; mix-blend-mode: multiply;
}
/* flèches du carrousel à la charte (dans le padding de la carte) */
.elementor-brands .elementor-swiper-button {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--mam-white); border: 1.5px solid var(--mam-line);
  color: var(--mam-navy-d);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s, opacity .2s;
  top: 50%; transform: translateY(-50%); margin: 0;
}
.elementor-brands .elementor-swiper-button-prev { left: 14px; }
.elementor-brands .elementor-swiper-button-next { right: 14px; }
.elementor-brands .elementor-swiper-button:hover { border-color: var(--mam-coral); color: var(--mam-coral); }
.elementor-brands .elementor-swiper-button.swiper-button-disabled { opacity: .35; pointer-events: none; }
.elementor-brands .elementor-swiper-button::after { font-size: 13px; font-weight: 700; }
@media (max-width: 640px) { .elementor-brands { padding: 16px 48px; } .elementor-brands .swiper-slide a { height: 96px; } }

/* =========================================================
   47 · HOME — bloc newsletter (.mam-nwl)
   section Elementor 2 colonnes : édito (HTML) | widget ps_emailsubscription
   ========================================================= */
/* la carte = la section Elementor portant .mam-nwl */
.mam-nwl {
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl);
  position: relative; overflow: hidden;
  padding: 56px;
}
.mam-nwl::before {
  content: ''; position: absolute; top: -50px; left: -50px;
  width: 200px; height: 200px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,90,95,.15), transparent 70%);
}
@media (max-width: 900px) { .mam-nwl { padding: 32px; } }

/* --- colonne gauche : édito --- */
.mam-nwl-eyebrow {
  font-family: var(--mam-f-body); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mam-coral);
}
.mam-nwl-title {
  font-family: var(--mam-f-display) !important; font-weight: 600 !important;
  font-size: clamp(30px, 3.5vw, 46px) !important; line-height: 1.04 !important;
  letter-spacing: -.02em; color: var(--mam-navy-d) !important;
  margin: 12px 0 12px !important;
}
.mam-nwl-title em { font-style: italic; color: var(--mam-coral) !important; }
.mam-nwl-text { font-family: var(--mam-f-body); font-size: 15px; line-height: 1.6; color: var(--mam-text-2); margin: 0 0 24px; max-width: 380px; }
.mam-nwl-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.mam-nwl-perks li { display: flex; align-items: center; gap: 10px; font-family: var(--mam-f-body); font-size: 14px; color: var(--mam-text-2); }
.mam-nwl-perks li svg { color: var(--mam-coral); flex: 0 0 auto; }

/* --- colonne droite : widget Newsletter Elementor → panneau cream --- */
.mam-nwl .elementor-widget-prestashop-widget-Newsletter .elementor-widget-container {
  background: var(--mam-cream);
  border-radius: var(--mam-r-lg);
  padding: 32px; margin: 0;
  position: relative; z-index: 1;
}
/* le panneau = .elementor-newsletter (widget Newsletter / iqitemailsubscriptionconf) */
.mam-nwl .elementor-newsletter { background: none; padding: 0; }
/* titre injecté en ::before du panneau (le widget n'a pas de titre) */
.mam-nwl .elementor-newsletter::before {
  content: "Reçois ton code -10%";
  display: block;
  font-family: var(--mam-f-display); font-weight: 600; font-size: 20px; color: var(--mam-navy-d);
  margin: 0 0 4px;
}
/* rangée : DOM = submit (desktop) + submit (mobile) + .input-wrapper → flex + order */
.mam-nwl .elementor-newsletter .col-12 {
  display: flex !important; gap: 8px; margin-top: 16px;
  flex-wrap: nowrap; align-items: stretch;
  padding: 0; width: 100%; max-width: 100%;
}
.mam-nwl .elementor-newsletter .input-wrapper { order: 1; flex: 1 1 auto; min-width: 0; }
.mam-nwl .elementor-newsletter .elementor-newsletter-input {
  display: block; width: 100% !important; height: 100%;
  padding: 14px 18px !important; margin: 0 !important;
  border-radius: var(--mam-r-pill) !important;
  border: 1.5px solid var(--mam-line) !important;
  background: var(--mam-white) !important;
  font-family: var(--mam-f-body); font-size: 14px; color: var(--mam-text);
  box-shadow: none !important; outline: none;
}
.mam-nwl .elementor-newsletter .elementor-newsletter-input:focus { border-color: var(--mam-coral) !important; }
.mam-nwl .elementor-newsletter .elementor-newsletter-input::placeholder { color: var(--mam-muted); }
.mam-nwl .elementor-newsletter .elementor-newsletter-btn {
  order: 2; float: none !important; flex: 0 0 auto;
  background: var(--mam-coral) !important; color: #fff !important;
  border: none !important; border-radius: var(--mam-r-pill) !important;
  font-family: var(--mam-f-body); font-weight: 600 !important; font-size: 14px !important;
  padding: 14px 24px !important; margin: 0 !important;
  box-shadow: var(--mam-sh-coral); cursor: pointer;
  transition: background .2s;
}
.mam-nwl .elementor-newsletter .elementor-newsletter-btn:hover { background: var(--mam-coral-d) !important; }
/* le widget a 2 submit (desktop/mobile) gérés par d-none/d-sm-* : on n'y touche pas */
/* note RGPD / texte muted sous le champ */
.mam-nwl .elementor-newsletter .text-muted {
  font-family: var(--mam-f-body); font-size: 12.5px; color: var(--mam-text-2) !important; margin-top: 12px;
}
.mam-nwl .elementor-newsletter .text-muted:empty { display: none; }
/* messages retour (succès / erreur) */
.mam-nwl .elementor-newsletter .alert { border-radius: var(--mam-r-md); font-size: 13.5px; margin-top: 14px; }

/* =========================================================
   48 · HOME — bloc anti-gaspi / DDM (.mam-ddm) — calé maquette
   bandeau NAVY dégradé + halo coral · 2 colonnes :
   édito (HTML, accents butter) | widget produits en grille 2×2,
   cards transformées en mini-cards horizontales
   ========================================================= */
/* le bandeau : classe posée sur la COLONNE Elementor (cas actuel) */
.elementor-column.mam-ddm { background: none; border: none; padding: 0; }
.elementor-column.mam-ddm > .elementor-column-wrap,
section.mam-ddm,
div.elementor-section.mam-ddm > .elementor-container {
  background: linear-gradient(135deg, #2D3E54 0%, var(--mam-navy) 100%);
  border-radius: var(--mam-r-xl);
  padding: 56px;
  color: #fff;
  position: relative; overflow: hidden;
}
.elementor-column.mam-ddm > .elementor-column-wrap::before,
section.mam-ddm::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; pointer-events: none;
  background: radial-gradient(circle, rgba(255,90,95,.25), transparent 70%);
}
@media (max-width: 768px) { .elementor-column.mam-ddm > .elementor-column-wrap, section.mam-ddm { padding: 30px 22px; } }

/* 2 colonnes : édito | produits (les 2 widgets empilés passent en grid) */
.mam-ddm .elementor-widget-wrap {
  display: grid !important;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.mam-ddm .elementor-widget-wrap > .elementor-widget { width: auto; min-width: 0; margin: 0; }
@media (max-width: 900px) { .mam-ddm .elementor-widget-wrap { grid-template-columns: 1fr; gap: 30px; } }

/* --- édito (widget HTML) --- */
.mam-ddm-tag {
  display: inline-block; background: var(--mam-butter); color: var(--mam-navy-d);
  font-family: var(--mam-f-body); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--mam-r-pill); margin-bottom: 16px;
}
.mam-ddm-title {
  font-family: var(--mam-f-display) !important; font-weight: 600 !important;
  font-size: clamp(30px, 3.5vw, 44px) !important; line-height: 1.02 !important;
  letter-spacing: -.02em; color: #fff !important; margin: 0 0 16px !important;
}
.mam-ddm-title em { font-style: italic; color: var(--mam-butter) !important; }
.mam-ddm-text {
  font-family: var(--mam-f-body); font-size: 15.5px; line-height: 1.6;
  color: rgba(255,255,255,.75); max-width: 380px; margin: 0 0 28px;
}
.mam-ddm-stat {
  display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
  font-family: var(--mam-f-body); font-size: 14px; color: rgba(255,255,255,.85);
}
.mam-ddm-stat .mam-ddm-pct {
  font-family: var(--mam-f-display); font-size: 36px; font-weight: 600;
  color: var(--mam-butter); min-width: 90px; line-height: 1;
}
.mam-ddm-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: var(--mam-coral); color: #fff !important;
  font-family: var(--mam-f-body); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: var(--mam-r-pill); text-decoration: none;
  box-shadow: var(--mam-sh-coral); transition: background .2s;
}
.mam-ddm-btn:hover { background: var(--mam-coral-d); }

/* --- widget produits : grille 2×2 de mini-cards horizontales --- */
.mam-ddm .elementor-products .products.products-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 0;
}
.mam-ddm .elementor-products .products.products-grid > [class*="col"] {
  width: auto !important; max-width: none !important; flex: none !important;
  padding: 0 !important; margin: 0 !important;
}
@media (max-width: 560px) { .mam-ddm .elementor-products .products.products-grid { grid-template-columns: 1fr; } }

/* mini-card : image à gauche, infos à droite */
.mam-ddm .elementor-products .product-miniature {
  display: flex !important; flex-direction: row !important; align-items: center;
  gap: 20px; height: 100%;
  background: var(--mam-white); border: none; border-radius: var(--mam-r-md);
  padding: 18px; box-shadow: none;
}
.mam-ddm .elementor-products .thumbnail-container {
  width: 116px; flex: 0 0 116px; margin: 0 !important;
  border-radius: var(--mam-r-sm); background: var(--mam-cream-2); overflow: hidden;
}
.mam-ddm .elementor-products .product-description { margin: 0 !important; }
.mam-ddm .elementor-products .thumbnail-container img { mix-blend-mode: multiply; }
.mam-ddm .elementor-products .product-description { flex: 1; min-width: 0; padding: 0; text-align: left; }
.mam-ddm .elementor-products .product-description .product-title,
.mam-ddm .elementor-products .product-description .product-title a {
  font-size: 15px; line-height: 1.25; margin: 2px 0 6px;
}
.mam-ddm .elementor-products .product-brand { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mam-ddm .elementor-products .product-price-and-shipping { margin-top: 8px; }
.mam-ddm .elementor-products .product-price { font-size: 20px; color: var(--mam-coral); }
/* dans le bandeau on allège : pas de boutons hover, pas d'avis, pas de catégorie */
.mam-ddm .elementor-products .product-functional-buttons,
.mam-ddm .elementor-products .iqitreviews-simple,
.mam-ddm .elementor-products .product-category-name,
.mam-ddm .elementor-products .product-description-short,
.mam-ddm .elementor-products .product-add-cart,
.mam-ddm .elementor-products .product-reference { display: none !important; }
/* badge dispo compact sous le titre (les flags -% PS restent en haut de l'image) */
.mam-ddm .elementor-products .product-availability { position: static; margin-top: 4px; }

/* =========================================================
   49 · HOME — avis Trustpilot (.mam-tp) — V1 : score + marquee
   alimenté par tp-reviews.json via mam-trustpilot.js
   ========================================================= */
.mam-tp-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 26px; flex-wrap: wrap;
}
.mam-tp-eyebrow {
  font-family: var(--mam-f-body); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--mam-coral); margin-bottom: 10px;
}
.mam-tp-title {
  font-family: var(--mam-f-display) !important; font-weight: 600 !important;
  font-size: clamp(28px, 3.6vw, 42px) !important; line-height: 1.04 !important;
  letter-spacing: -.02em; color: var(--mam-navy-d) !important; margin: 0 !important;
}
.mam-tp-title em { font-style: italic; color: var(--mam-coral) !important; }

/* carte score */
.mam-tp-score {
  display: flex; align-items: center; gap: 18px;
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg); padding: 18px 24px; box-shadow: var(--mam-sh-sm);
}
.mam-tp-score .mam-tp-n { font-family: var(--mam-f-display); font-weight: 600; font-size: 44px; line-height: 1; color: var(--mam-navy-d); }
.mam-tp-score .mam-tp-d { font-family: var(--mam-f-body); font-size: 12.5px; color: var(--mam-muted); line-height: 1.45; }
.mam-tp-score .mam-tp-d strong { color: var(--mam-navy-d); }
.mam-tp-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--mam-navy-d); }

/* étoiles Trustpilot (carrés verts) */
.mam-tp-stars { display: inline-flex; gap: 3px; }
.mam-tp-star {
  width: 22px; height: 22px; background: #00B67A;
  display: inline-flex; align-items: center; justify-content: center;
}
.mam-tp-star svg { width: 14px; height: 14px; fill: #fff; }
.mam-tp-star.is-half { background: linear-gradient(90deg, #00B67A 50%, #DCDCE6 50%); }
.mam-tp-star.is-off { background: #DCDCE6; }

/* marquee */
.mam-tp-marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.mam-tp-track { display: flex; gap: 16px; width: max-content; animation: mam-tp-scroll 45s linear infinite; }
.mam-tp-marquee:hover .mam-tp-track { animation-play-state: paused; }
@keyframes mam-tp-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mam-tp-track { animation: none; } }

/* card d'avis */
.mam-tp-card {
  width: 330px; flex: 0 0 auto;
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg); padding: 22px 24px; box-shadow: var(--mam-sh-sm);
}
.mam-tp-card .mam-tp-stars { margin-bottom: 10px; }
.mam-tp-card .mam-tp-star { width: 16px; height: 16px; }
.mam-tp-card .mam-tp-star svg { width: 10px; height: 10px; }
.mam-tp-card .mam-tp-t { font-family: var(--mam-f-display); font-weight: 600; font-size: 15.5px; color: var(--mam-navy-d); margin-bottom: 6px; }
.mam-tp-card .mam-tp-c {
  font-family: var(--mam-f-body); font-size: 13.5px; color: var(--mam-text-2); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.mam-tp-card .mam-tp-a { font-family: var(--mam-f-body); font-size: 12px; color: var(--mam-muted); }
.mam-tp-card .mam-tp-a strong { color: var(--mam-navy-d); }
.mam-tp-card .mam-tp-ok { color: #00B67A; font-weight: 600; }

/* =========================================================
   50 · PAGES COMPTE — login / inscription / mot de passe oublié
   carte centrée, labels au-dessus, champs pilule, bouton coral
   ========================================================= */
/* carte commune */
#content-wrapper .login-form,
#content-wrapper .register-form,
#content-wrapper #content > .form-fields,
#content-wrapper .forgotten-password,
#content-wrapper #content:has(> .form-fields) {
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl);
  box-shadow: var(--mam-sh-sm);
  padding: clamp(26px, 4vw, 48px);
}
.login-form { max-width: 560px; margin: 0 auto; }
.register-form { max-width: 760px; margin: 0 auto; }

/* titre de page centré au-dessus de la carte */
#content-wrapper .page-header { text-align: center; margin: 8px 0 26px; }
#content-wrapper .page-header .page-title {
  font-family: var(--mam-f-display) !important; font-weight: 600 !important;
  font-size: clamp(26px, 3.4vw, 38px) !important; color: var(--mam-navy-d) !important;
  letter-spacing: -.02em; margin: 0;
}

/* lignes du formulaire : label au-dessus du champ (au lieu des colonnes 2/8/2) */
.login-form .form-group.row,
.register-form .form-group.row {
  display: block; margin: 0 0 18px;
}
.login-form .form-group .col-form-label,
.register-form .form-group .col-form-label {
  display: block; width: 100%; max-width: none; flex: none;
  padding: 0 0 7px; text-align: left;
  font-family: var(--mam-f-body); font-size: 13px; font-weight: 600; color: var(--mam-navy-d);
}
.login-form .form-group .col-form-label.required::after,
.register-form .form-group .col-form-label.required::after { content: " *"; color: var(--mam-coral); }
.login-form .form-group .js-input-column,
.register-form .form-group .js-input-column {
  width: 100%; max-width: none; flex: none; padding: 0;
}
/* la colonne commentaire de droite passe sous le champ */
.login-form .form-group > .form-control-comment,
.register-form .form-group > .form-control-comment {
  width: auto; max-width: none; flex: none; padding: 4px 0 0;
  font-size: 12px; color: var(--mam-muted);
}
.register-form .js-input-column .form-control-comment {
  display: block; margin-top: 5px; font-size: 12px; color: var(--mam-muted);
}

/* champs */
.login-form .form-control,
.register-form .form-control,
#content .form-fields .form-control {
  width: 100%;
  padding: 13px 18px; height: auto;
  border: 1.5px solid var(--mam-line); border-radius: var(--mam-r-pill);
  background: var(--mam-cream); color: var(--mam-text);
  font-family: var(--mam-f-body); font-size: 14px;
  box-shadow: none; outline: none;
  transition: border-color .2s, background .2s;
}
.login-form .form-control:focus,
.register-form .form-control:focus,
#content .form-fields .form-control:focus { border-color: var(--mam-coral); background: var(--mam-white); }

/* champ mot de passe + œil */
.login-form .input-group.js-parent-focus,
.register-form .input-group.js-parent-focus {
  display: flex; align-items: stretch; flex-wrap: nowrap;
  border: 1.5px solid var(--mam-line); border-radius: var(--mam-r-pill);
  background: var(--mam-cream); overflow: hidden;
  transition: border-color .2s;
}
.login-form .input-group.js-parent-focus:focus-within,
.register-form .input-group.js-parent-focus:focus-within { border-color: var(--mam-coral); background: var(--mam-white); }
.login-form .input-group .form-control,
.register-form .input-group .form-control { border: none !important; border-radius: 0 !important; background: transparent !important; flex: 1 1 auto; min-width: 0; }
.login-form .input-group-append .btn,
.register-form .input-group-append .btn {
  height: 100%; border: none; background: transparent; box-shadow: none;
  color: var(--mam-muted); padding: 0 16px; cursor: pointer;
}
.login-form .input-group-append .btn:hover,
.register-form .input-group-append .btn:hover { color: var(--mam-navy-d); }

/* radios (titre M./Mme) et checkboxes */
.register-form .radio-inline { margin-right: 18px; font-size: 14px; color: var(--mam-text-2); cursor: pointer; }
.register-form .custom-radio input { accent-color: var(--mam-coral); }
.register-form .custom-checkbox { display: flex; gap: 10px; align-items: flex-start; }
.register-form .custom-checkbox input { accent-color: var(--mam-coral); margin-top: 3px; }
.register-form .custom-checkbox label { font-size: 13px; color: var(--mam-text-2); cursor: pointer; margin: 0; }
.register-form .custom-checkbox label em { display: block; font-style: normal; font-size: 11.5px; color: var(--mam-muted); margin-top: 2px; }

/* force du mot de passe */
.register-form .password-strength-feedback .progress { height: 6px; border-radius: 99px; background: var(--mam-cream-2); }
.register-form .password-strength-feedback .progress-bar { border-radius: 99px; }
.register-form .password-requirements { font-size: 12px; }
.register-form .password-requirements .fa-check { color: var(--mam-success); }

/* lien mdp oublié + bouton */
.login-form .forgot-password { margin: 4px 0 0; }
.login-form .forgot-password a,
#back-to-login,
.no-account a, .register-form > p a {
  font-family: var(--mam-f-body); font-size: 13.5px; font-weight: 600;
  color: var(--mam-navy-d); text-decoration: none; transition: color .2s;
}
.login-form .forgot-password a:hover, #back-to-login:hover,
.no-account a:hover, .register-form > p a:hover { color: var(--mam-coral); }

#content-wrapper .form-footer { margin-top: 22px; }
#content-wrapper .form-control-submit.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 220px; width: auto;
  background: var(--mam-coral); border: none; color: #fff;
  font-family: var(--mam-f-body); font-weight: 600; font-size: 15px;
  padding: 14px 30px; border-radius: var(--mam-r-pill);
  box-shadow: var(--mam-sh-coral); cursor: pointer;
  transition: background .2s;
}
#content-wrapper .form-control-submit.btn-primary:hover { background: var(--mam-coral-d); }

/* "Pas de compte ?" sous la carte */
#content .no-account { text-align: center; margin-top: 18px; }
#content > hr, .register-form + hr { border: 0; border-top: 1px solid var(--mam-line); margin: 26px auto; max-width: 560px; }
/* intro inscription ("Vous avez déjà un compte ?") */
.register-form > p { font-size: 14px; color: var(--mam-text-2); margin-bottom: 22px; }

/* --- mot de passe oublié (form-inline → empilé propre) --- */
#content .send-renew-password-link {
  max-width: 560px; margin: 0 auto 22px; text-align: center;
  font-size: 14.5px; color: var(--mam-text-2);
}
#content .form-fields { max-width: 560px; margin: 0 auto; }
#content .form-fields .form-inline { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
#content .form-fields .form-inline label {
  margin: 0; text-align: left;
  font-size: 13px; font-weight: 600; color: var(--mam-navy-d);
}
#content .form-fields .form-inline label.required::after { content: " *"; color: var(--mam-coral); }
#content .form-fields .form-inline .form-control { margin: 0 !important; }
#content .form-fields #send-reset-link { margin-top: 6px; }
#back-to-login { display: inline-flex; align-items: center; gap: 6px; }
#content:has(.send-renew-password-link) { text-align: center; }
#content:has(.send-renew-password-link) .form-fields { text-align: left; }

/* =========================================================
   51 · PANIER LATÉRAL (#blockcart-content)
   ========================================================= */
#blockcart-content { font-family: var(--mam-f-body); }
#blockcart-content .cart-title .modal-title {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 20px; color: var(--mam-navy-d);
}
#blockcart-content .cart-title hr { border: 0; border-top: 1px solid var(--mam-line); margin: 14px 0 0; }
#blockcart-content #js-cart-close {
  background: none; border: none; cursor: pointer;
  font-size: 24px; line-height: 1; color: var(--mam-navy-d); opacity: .55; transition: opacity .15s;
}
#blockcart-content #js-cart-close:hover { opacity: 1; }

#blockcart-content .cart-products { list-style: none; margin: 0; padding: 0; }
#blockcart-content .cart-products > li { padding: 16px 0; border-bottom: 1px solid var(--mam-line-soft); }
#blockcart-content .product-image img {
  background: var(--mam-cream); border-radius: var(--mam-r-sm); mix-blend-mode: multiply;
}
#blockcart-content .col-info > div:first-child a {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 14.5px; line-height: 1.3;
  color: var(--mam-navy-d); text-decoration: none;
}
#blockcart-content .col-info > div:first-child a:hover { color: var(--mam-coral); }
#blockcart-content .col-info .text-right > span:first-child,
#blockcart-content .col-info .text-right > span {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 15px; color: var(--mam-navy-d);
}
#blockcart-content .remove-from-cart {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-left: 8px; border-radius: 50%;
  color: var(--mam-muted); transition: color .15s, background .15s;
}
#blockcart-content .remove-from-cart:hover { color: var(--mam-danger); background: #FDECEA; }

#blockcart-content .cart-subtotals { margin-top: 14px; }
#blockcart-content .cart-summary-line {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 7px 0; font-size: 14px;
}
#blockcart-content .cart-summary-line .label { color: var(--mam-text-2); }
#blockcart-content .cart-summary-line .value { margin-left: auto; font-weight: 600; color: var(--mam-navy-d); }
#blockcart-content .cart-summary-line > div:has(small:empty) { display: none; }
#blockcart-content .cart-totals { border-top: 1px solid var(--mam-line); margin-top: 6px; padding-top: 12px; }
#blockcart-content .cart-totals .label { font-weight: 600; color: var(--mam-navy-d); }
#blockcart-content .cart-totals .value {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 24px; letter-spacing: -.01em; color: var(--mam-navy-d);
}
#blockcart-content .cart-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
#blockcart-content .cart-buttons .btn { float: none; width: 100%; margin: 0 !important; }
#blockcart-content .cart-buttons .btn-primary {
  background: var(--mam-coral); border: none; color: #fff;
  font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: var(--mam-r-pill);
  box-shadow: var(--mam-sh-coral); transition: background .2s;
}
#blockcart-content .cart-buttons .btn-primary:hover { background: var(--mam-coral-d); }
#blockcart-content .cart-buttons .btn-secondary {
  background: transparent; border: 1.5px solid var(--mam-line); color: var(--mam-navy-d);
  font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: var(--mam-r-pill);
  box-shadow: none; transition: border-color .2s, color .2s;
}
#blockcart-content .cart-buttons .btn-secondary:hover { border-color: var(--mam-navy); color: var(--mam-navy); }

/* =========================================================
   52 · PAGE PANIER (.cart-grid)
   ========================================================= */
.cart-grid { margin-top: 8px; }
.cart-grid .cart-container {
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg); box-shadow: var(--mam-sh-sm);
  padding: 8px 26px;
}
.cart-grid .cart-items { list-style: none; margin: 0; padding: 0; }
.cart-grid .cart-item { padding: 20px 0; border-bottom: 1px solid var(--mam-line-soft); }
.cart-grid .cart-item:last-child { border-bottom: none; }
.cart-grid .product-image img {
  background: var(--mam-cream); border-radius: var(--mam-r-sm); mix-blend-mode: multiply;
}
.cart-grid .product-line-info .label {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 16px; line-height: 1.3;
  color: var(--mam-navy-d); text-decoration: none;
}
.cart-grid .product-line-info .label:hover { color: var(--mam-coral); }
.cart-grid .unit-price .value { font-size: 13.5px; color: var(--mam-muted); }
.cart-grid .price .product-price strong {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 18px; color: var(--mam-navy-d);
}
.cart-grid .remove-from-cart {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--mam-muted); transition: color .15s, background .15s;
}
.cart-grid .remove-from-cart:hover { color: var(--mam-danger); background: #FDECEA; }
/* bouton continuer */
.cart-grid .cart-grid-body > .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1.5px solid var(--mam-line); color: var(--mam-navy-d);
  font-family: var(--mam-f-body); font-weight: 600; font-size: 14px;
  padding: 12px 22px; border-radius: var(--mam-r-pill); box-shadow: none;
  transition: border-color .2s, color .2s;
}
.cart-grid .cart-grid-body > .btn-secondary:hover { border-color: var(--mam-navy); color: var(--mam-navy); }

/* --- carte résumé (page panier ET checkout : .card.cart-summary) --- */
.card.cart-summary {
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg); box-shadow: var(--mam-sh-sm);
  overflow: hidden; font-family: var(--mam-f-body);
}
.card.cart-summary hr { border: 0; border-top: 1px solid var(--mam-line-soft); margin: 0; }
.card.cart-summary .card-body, .card.cart-summary .card-block { padding: 18px 22px; }
.card.cart-summary .cart-summary-line {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 6px 0; font-size: 14px;
}
.card.cart-summary .cart-summary-line .label { color: var(--mam-text-2); }
.card.cart-summary .cart-summary-line .value { margin-left: auto; font-weight: 600; color: var(--mam-navy-d); }
.card.cart-summary .cart-summary-line > div:has(small:empty) { display: none; }
.card.cart-summary .cart-total .label { font-weight: 600; color: var(--mam-navy-d); }
.card.cart-summary .cart-total .value {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 26px; letter-spacing: -.01em;
}
.card.cart-summary .cart-detailed-actions .btn-primary {
  width: 100%; background: var(--mam-coral); border: none; color: #fff;
  font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: var(--mam-r-pill);
  box-shadow: var(--mam-sh-coral); transition: background .2s;
}
.card.cart-summary .cart-detailed-actions .btn-primary:hover { background: var(--mam-coral-d); }
/* résumé checkout : liste produits repliable */
.card.cart-summary .cart-summary-products a { color: var(--mam-navy-d); text-decoration: none; font-size: 14px; }
.card.cart-summary .cart-summary-products a:hover { color: var(--mam-coral); }
.card.cart-summary .cart-summary-product img { background: var(--mam-cream); border-radius: var(--mam-r-sm); mix-blend-mode: multiply; }
.card.cart-summary .cart-summary-product { padding: 10px 0; }
.card.cart-summary .cart-summary-product .product-name { font-size: 13.5px; }
.card.cart-summary .step-edit { font-size: 12.5px; color: var(--mam-muted); }
.card.cart-summary .step-edit:hover { color: var(--mam-coral); }

/* --- touchspin quantité (panier latéral + page panier) : pilule compacte --- */
#blockcart-content .input-group.bootstrap-touchspin,
.cart-grid .input-group.bootstrap-touchspin {
  display: flex !important; flex-wrap: nowrap !important; align-items: stretch !important;
  width: 96px !important; height: 44px !important; margin: 0 !important;
  border: 1.5px solid var(--mam-line) !important; border-radius: var(--mam-r-pill) !important;
  overflow: hidden !important; background: var(--mam-white) !important;
}
#blockcart-content .bootstrap-touchspin .form-control,
.cart-grid .bootstrap-touchspin .form-control {
  display: block !important; flex: 1 1 auto !important;
  width: auto !important; min-width: 0 !important; height: 100% !important;
  padding: 0 0 0 10px !important; margin: 0 !important; text-align: center;
  border: none !important; background: transparent !important; box-shadow: none !important; outline: none;
  font-family: var(--mam-f-display); font-size: 15px; font-weight: 600; color: var(--mam-navy-d);
  -moz-appearance: textfield; appearance: textfield;
}
#blockcart-content .bootstrap-touchspin .input-group-addon,
.cart-grid .bootstrap-touchspin .input-group-addon { display: none !important; }
#blockcart-content .bootstrap-touchspin .input-group-btn-vertical,
.cart-grid .bootstrap-touchspin .input-group-btn-vertical {
  position: static !important; display: flex !important; flex-direction: column !important;
  flex: 0 0 30px !important; width: 30px !important; height: 100% !important;
  border-left: 1.5px solid var(--mam-line) !important;
}
#blockcart-content .bootstrap-touchspin .btn-touchspin,
.cart-grid .bootstrap-touchspin .btn-touchspin {
  position: static !important; flex: 1 1 50% !important;
  width: 100% !important; min-width: 0 !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important;
  border: none !important; border-radius: 0 !important; box-shadow: none !important;
  background: transparent; display: flex !important; align-items: center; justify-content: center; cursor: pointer;
}
#blockcart-content .bootstrap-touchspin .bootstrap-touchspin-down,
.cart-grid .bootstrap-touchspin .bootstrap-touchspin-down { border-top: 1px solid var(--mam-line) !important; }
#blockcart-content .bootstrap-touchspin .btn-touchspin i,
.cart-grid .bootstrap-touchspin .btn-touchspin i { display: none !important; }
#blockcart-content .bootstrap-touchspin .btn-touchspin::after,
.cart-grid .bootstrap-touchspin .btn-touchspin::after {
  content: ""; width: 10px; height: 10px; display: block;
  background: center / contain no-repeat;
}
#blockcart-content .bootstrap-touchspin .bootstrap-touchspin-up::after,
.cart-grid .bootstrap-touchspin .bootstrap-touchspin-up::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%231A2738%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%2015%206-6%206%206%27%2F%3E%3C%2Fsvg%3E");
}
#blockcart-content .bootstrap-touchspin .bootstrap-touchspin-down::after,
.cart-grid .bootstrap-touchspin .bootstrap-touchspin-down::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%231A2738%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%209%206%206%206-6%27%2F%3E%3C%2Fsvg%3E");
}

/* =========================================================
   53 · CHECKOUT — étapes + formulaires
   ========================================================= */
.checkout-step {
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg); box-shadow: var(--mam-sh-sm);
  padding: 22px 26px; margin-bottom: 16px;
  font-family: var(--mam-f-body);
}
.checkout-step .step-title {
  display: flex; align-items: center; gap: 14px; margin: 0;
  font-family: var(--mam-f-display) !important; font-weight: 600 !important;
  font-size: 19px !important; color: var(--mam-navy-d) !important;
}
.checkout-step .step-number {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  flex: 0 0 auto; box-sizing: border-box;
  width: 34px !important; height: 34px !important; min-width: 34px; padding: 0 !important;
  border-radius: 50%;
  background: var(--mam-cream-2); color: var(--mam-navy-d);
  font-family: var(--mam-f-body) !important; font-weight: 700; font-size: 14px;
  line-height: 1 !important; text-align: center; vertical-align: middle;
}
.checkout-step .step-number::before,
.checkout-step .step-number::after { content: none !important; }
.checkout-step.-current .step-number { background: var(--mam-coral); color: #fff; }
.checkout-step.-complete .step-number { background: var(--mam-success); color: #fff; }
.checkout-step.-unreachable { opacity: .55; }
.checkout-step .step-title .done { color: var(--mam-success); }
.checkout-step .step-title .step-edit { margin-left: auto; font-family: var(--mam-f-body); font-size: 12.5px; cursor: pointer; }
.checkout-step .step-title .step-edit:hover { color: var(--mam-coral); }
.checkout-step .content { padding-top: 18px; }
.checkout-step .content > p { font-size: 14px; color: var(--mam-text-2); }
.checkout-step .content a { color: var(--mam-navy-d); }
.checkout-step .content a:hover { color: var(--mam-coral); }

/* formulaires checkout : même layout que section 50 (labels au-dessus) */
.checkout-step .form-group.row { display: block; margin: 0 0 18px; }
.checkout-step .form-group .col-form-label {
  display: block; width: 100%; max-width: none; flex: none;
  padding: 0 0 7px; text-align: left;
  font-size: 13px; font-weight: 600; color: var(--mam-navy-d);
}
.checkout-step .form-group .col-form-label.required::after { content: " *"; color: var(--mam-coral); }
.checkout-step .form-group .js-input-column { width: 100%; max-width: none; flex: none; padding: 0; }
.checkout-step .form-group > .form-control-comment { width: auto; max-width: none; flex: none; padding: 4px 0 0; font-size: 12px; color: var(--mam-muted); }
.checkout-step .js-input-column .form-control-comment { display: block; margin-top: 5px; font-size: 12px; color: var(--mam-muted); }
.checkout-step .form-control {
  width: 100%; padding: 13px 18px; height: auto;
  border: 1.5px solid var(--mam-line); border-radius: var(--mam-r-pill);
  background: var(--mam-cream); color: var(--mam-text);
  font-size: 14px; box-shadow: none; outline: none;
  transition: border-color .2s, background .2s;
}
.checkout-step .form-control:focus { border-color: var(--mam-coral); background: var(--mam-white); }
.checkout-step .input-group.js-parent-focus {
  display: flex; align-items: stretch; flex-wrap: nowrap;
  border: 1.5px solid var(--mam-line); border-radius: var(--mam-r-pill);
  background: var(--mam-cream); overflow: hidden; transition: border-color .2s;
}
.checkout-step .input-group.js-parent-focus:focus-within { border-color: var(--mam-coral); background: var(--mam-white); }
.checkout-step .input-group .form-control { border: none !important; border-radius: 0 !important; background: transparent !important; flex: 1 1 auto; min-width: 0; }
.checkout-step .input-group-append .btn { height: 100%; border: none; background: transparent; box-shadow: none; color: var(--mam-muted); padding: 0 16px; cursor: pointer; }
.checkout-step .radio-inline { margin-right: 18px; font-size: 14px; color: var(--mam-text-2); cursor: pointer; }
.checkout-step .custom-radio input { accent-color: var(--mam-coral); }
.checkout-step .custom-checkbox { display: flex; gap: 10px; align-items: flex-start; }
.checkout-step .custom-checkbox input { accent-color: var(--mam-coral); margin-top: 3px; }
.checkout-step .custom-checkbox label { font-size: 13px; color: var(--mam-text-2); cursor: pointer; margin: 0; }
.checkout-step .custom-checkbox label em { display: block; font-style: normal; font-size: 11.5px; color: var(--mam-muted); margin-top: 2px; }
.checkout-step .password-strength-feedback .progress { height: 6px; border-radius: 99px; background: var(--mam-cream-2); }
.checkout-step .password-requirements { font-size: 12px; }
.checkout-step .password-requirements .fa-check { color: var(--mam-success); }
.checkout-step .forgot-password a { font-size: 13.5px; font-weight: 600; }
/* boutons continuer / connexion */
.checkout-step .btn-primary.continue,
.checkout-step .form-footer .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 220px; width: auto;
  background: var(--mam-coral); border: none; color: #fff;
  font-weight: 600; font-size: 15px; padding: 14px 30px; border-radius: var(--mam-r-pill);
  box-shadow: var(--mam-sh-coral); cursor: pointer; transition: background .2s;
}
.checkout-step .btn-primary.continue:hover,
.checkout-step .form-footer .btn-primary:hover { background: var(--mam-coral-d); }

/* bouton final de commande (étape paiement) */
#payment-confirmation .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-width: 0;
  background: var(--mam-coral); border: none; color: #fff;
  font-family: var(--mam-f-body); font-weight: 600; font-size: 16px;
  padding: 16px 30px; border-radius: var(--mam-r-pill);
  box-shadow: var(--mam-sh-coral); cursor: pointer;
  transition: background .2s, transform .15s;
}
#payment-confirmation .btn-primary:hover { background: var(--mam-coral-d); }
#payment-confirmation .btn-primary:active { transform: translateY(1px); }
#payment-confirmation .btn-primary:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* =========================================================
   54 · PAGES CMS (.page-cms)
   carte blanche lisible, titres Fraunces, contenu RTE soigné
   ========================================================= */
#content.page-cms {
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl);
  box-shadow: var(--mam-sh-sm);
  padding: clamp(28px, 5vw, 56px);
  margin: 8px 0 0;
}
/* titre de page éventuel au-dessus de la carte */
.page-cms ~ .page-header,
.cms-id .page-header { text-align: center; }

.page-cms .rte-content { font-family: var(--mam-f-body); color: var(--mam-text-2); font-size: 15.5px; line-height: 1.75; }
.page-cms .rte-content > *:first-child { margin-top: 0; }
.page-cms .rte-content > *:last-child { margin-bottom: 0; }

/* titres */
.page-cms .rte-content h1,
.page-cms .rte-content h2 {
  font-family: var(--mam-f-display); font-weight: 600; letter-spacing: -.01em;
  color: var(--mam-navy-d); line-height: 1.15;
  font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 18px;
}
.page-cms .rte-content h2:not(:first-child) { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--mam-line-soft); }
.page-cms .rte-content h3 {
  font-family: var(--mam-f-display); font-weight: 600; color: var(--mam-navy-d);
  font-size: 20px; margin: 32px 0 12px;
}
.page-cms .rte-content h4 {
  font-family: var(--mam-f-body); font-weight: 700; color: var(--mam-navy-d);
  font-size: 16px; margin: 24px 0 10px;
}

/* corps */
.page-cms .rte-content p { margin: 0 0 16px; }
.page-cms .rte-content a { color: var(--mam-coral); text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .15s; }
.page-cms .rte-content a:hover { border-bottom-color: var(--mam-coral); }
.page-cms .rte-content strong { color: var(--mam-navy-d); font-weight: 600; }

/* listes */
.page-cms .rte-content ul,
.page-cms .rte-content ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.page-cms .rte-content ol { counter-reset: cms; }
.page-cms .rte-content li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.page-cms .rte-content ul > li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--mam-coral);
}
.page-cms .rte-content ol > li { counter-increment: cms; }
.page-cms .rte-content ol > li::before {
  content: counter(cms); position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--mam-coral-pale); color: var(--mam-coral-d);
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* divers contenus riches */
.page-cms .rte-content img { max-width: 100%; height: auto; border-radius: var(--mam-r-md); }
.page-cms .rte-content blockquote {
  margin: 22px 0; padding: 16px 22px; border-left: 4px solid var(--mam-coral);
  background: var(--mam-cream); border-radius: 0 var(--mam-r-md) var(--mam-r-md) 0;
  font-style: italic; color: var(--mam-text);
}
.page-cms .rte-content hr { border: 0; border-top: 1px solid var(--mam-line); margin: 32px 0; }
.page-cms .rte-content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
.page-cms .rte-content th, .page-cms .rte-content td { padding: 11px 14px; border: 1px solid var(--mam-line); text-align: left; }
.page-cms .rte-content th { background: var(--mam-cream-2); font-family: var(--mam-f-body); font-weight: 600; color: var(--mam-navy-d); }
.page-cms .rte-content tr:nth-child(even) td { background: var(--mam-cream); }

/* =========================================================
   55 · BLOG — article (.simpleblog__post), méta, auteur, commentaires
   réutilise le style RTE des pages CMS (section 54)
   ========================================================= */
/* méta sous le titre */
.simpleblog__postInfo {
  margin: 0 0 22px; padding: 0;
}
.simpleblog__postInfo ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.simpleblog__postInfo li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--mam-muted); }
.simpleblog__postInfo li .fa { color: var(--mam-coral); }
.simpleblog__postInfo a { color: var(--mam-navy-d); text-decoration: none; font-weight: 600; }
.simpleblog__postInfo a:hover { color: var(--mam-coral); }

/* carte article */
.simpleblog__post.cardblog {
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl);
  box-shadow: var(--mam-sh-sm);
  overflow: hidden;
}
.simpleblog__post .card-block { padding: clamp(26px, 4vw, 52px); }

/* contenu RTE : même traitement que CMS */
.simpleblog__post .rte-content { font-family: var(--mam-f-body); color: var(--mam-text-2); font-size: 16px; line-height: 1.8; }
.simpleblog__post .rte-content > *:first-child { margin-top: 0; }
.simpleblog__post .rte-content > *:last-child { margin-bottom: 0; }
/* titre H1 de l'article (interne au RTE) */
.simpleblog__post .rte-content h1 {
  font-family: var(--mam-f-display); font-weight: 600; letter-spacing: -.02em;
  color: var(--mam-navy-d); line-height: 1.08;
  font-size: clamp(30px, 4vw, 46px); margin: 0 0 24px;
}
.simpleblog__post .rte-content h2 {
  font-family: var(--mam-f-display); font-weight: 600; color: var(--mam-navy-d);
  font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 44px 0 16px;
}
.simpleblog__post .rte-content h3 {
  font-family: var(--mam-f-display); font-weight: 600; color: var(--mam-navy-d);
  font-size: 21px; margin: 32px 0 12px;
}
.simpleblog__post .rte-content p { margin: 0 0 18px; }
.simpleblog__post .rte-content strong { color: var(--mam-navy-d); font-weight: 600; }
.simpleblog__post .rte-content a { color: var(--mam-coral); text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .15s; }
.simpleblog__post .rte-content a:hover { border-bottom-color: var(--mam-coral); }
/* images full-width PageBuilder : pleine largeur de la carte, joliment cadrées */
.simpleblog__post .rte-content figure {
  margin: 32px 0; border-radius: var(--mam-r-lg); overflow: hidden; box-shadow: var(--mam-sh-sm);
}
.simpleblog__post .rte-content figure img { display: block; width: 100%; height: auto; }
.simpleblog__post .rte-content img { max-width: 100%; height: auto; border-radius: var(--mam-r-md); }
.simpleblog__post .rte-content ul, .simpleblog__post .rte-content ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.simpleblog__post .rte-content ul > li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.simpleblog__post .rte-content ul > li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--mam-coral); }
.simpleblog__post .rte-content blockquote {
  margin: 24px 0; padding: 16px 24px; border-left: 4px solid var(--mam-coral);
  background: var(--mam-cream); border-radius: 0 var(--mam-r-md) var(--mam-r-md) 0; font-style: italic; color: var(--mam-text);
}

/* --- carte auteur --- */
.author-card.cardblog {
  background: var(--mam-cream); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg); margin-top: 22px;
}
.author-card .card-block { padding: 22px 26px; }
.author-card__row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.author-card__block--desc { flex: 1; min-width: 0; }
.author-card h5 {
  font-family: var(--mam-f-display) !important; font-weight: 600 !important;
  font-size: 18px !important; color: var(--mam-navy-d) !important; margin: 0;
}
.author-card .authorMiniature__btn {
  display: inline-flex; align-items: center;
  background: transparent; border: 1.5px solid var(--mam-line); color: var(--mam-navy-d);
  font-family: var(--mam-f-body); font-weight: 600; font-size: 13px;
  padding: 10px 18px; border-radius: var(--mam-r-pill); box-shadow: none;
  transition: border-color .2s, color .2s;
}
.author-card .authorMiniature__btn:hover { border-color: var(--mam-coral); color: var(--mam-coral); }

/* --- commentaires --- */
.simpleblog__comments-empty .section-title,
.simpleblog__addComment .section-title {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 22px; color: var(--mam-navy-d);
  margin: 8px 0 16px;
}
.simpleblog__comments-empty .alert-warning {
  background: var(--mam-cream-2); border: 1px solid var(--mam-line); color: var(--mam-text-2);
  border-radius: var(--mam-r-md); padding: 14px 18px; font-size: 14px;
}
/* formulaire d'ajout de commentaire */
.simpleblog__addComment__form.cardblog {
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-lg); box-shadow: var(--mam-sh-sm); overflow: hidden;
}
.simpleblog__addComment__form .card-header,
.simpleblog__addComment__form .card-block { padding: 22px 26px; }
.simpleblog__addComment__form .form-control-label { font-size: 13px; font-weight: 600; color: var(--mam-navy-d); margin-bottom: 7px; }
.simpleblog__addComment__form .form-control {
  width: 100%; padding: 13px 18px; height: auto;
  border: 1.5px solid var(--mam-line); border-radius: var(--mam-r-md);
  background: var(--mam-cream); color: var(--mam-text);
  font-family: var(--mam-f-body); font-size: 14px; box-shadow: none; outline: none;
  transition: border-color .2s, background .2s;
}
.simpleblog__addComment__form textarea.form-control { border-radius: var(--mam-r-md); }
.simpleblog__addComment__form .form-control:focus { border-color: var(--mam-coral); background: var(--mam-white); }
.simpleblog__addComment__form .form-control[readonly] { background: var(--mam-cream-2); color: var(--mam-muted); }
.simpleblog__addComment__form .form-footer { margin-top: 16px; display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.simpleblog__addComment__form .btn-primary {
  background: var(--mam-coral); border: none; color: #fff;
  font-family: var(--mam-f-body); font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: var(--mam-r-pill); box-shadow: var(--mam-sh-coral);
  float: none !important; transition: background .2s;
}
.simpleblog__addComment__form .btn-primary:hover { background: var(--mam-coral-d); }
.simpleblog__addComment__form .btn-secondary {
  background: transparent; border: 1.5px solid var(--mam-line); color: var(--mam-navy-d);
  font-family: var(--mam-f-body); font-weight: 600; font-size: 14px;
  padding: 13px 22px; border-radius: var(--mam-r-pill); box-shadow: none;
  float: none !important; transition: border-color .2s, color .2s;
}
.simpleblog__addComment__form .btn-secondary:hover { border-color: var(--mam-navy); color: var(--mam-navy); }

/* =========================================================
   56 · PAGE CATÉGORIE — blocs de contenu (haut SEO + bas PS9)
   ========================================================= */
/* masquer le titre natif du thème (.page-title, devenu un span) sur la page catégorie — le titre éditorial du bloc .category-description-top fait office de H1 */
body#category .page-title,
body.category .page-title { display: none !important; }

/* --- bloc HAUT : description SEO sous le titre (.category-description-top) --- */
#content-wrapper .category-description-top {
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl);
  box-shadow: var(--mam-sh-sm);
  padding: clamp(24px, 3vw, 38px);
  margin: 4px 0 28px;
}
#content-wrapper .category-description-top .rte-content {
  font-family: var(--mam-f-body); color: var(--mam-text-2);
  font-size: 15.5px; line-height: 1.7;
}
/* H1 interne = titre principal de la catégorie (conservé, restylé) */
#content-wrapper .category-description-top .rte-content > h1:first-child {
  font-family: var(--mam-f-display); font-weight: 600; letter-spacing: -.02em;
  color: var(--mam-navy-d); line-height: 1.1;
  font-size: clamp(28px, 4vw, 44px); margin: 0 0 20px;
}
/* intro (le 1er bloc de <p>) mise en avant */
#content-wrapper .category-description-top .rte-content > div:first-of-type p:first-child { font-size: 16.5px; color: var(--mam-text); }
#content-wrapper .category-description-top .rte-content p { margin: 0 0 12px; max-width: 1000px; }
#content-wrapper .category-description-top .rte-content a { color: var(--mam-coral); text-decoration: none; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .15s; }
#content-wrapper .category-description-top .rte-content a:hover { border-bottom-color: var(--mam-coral); }
#content-wrapper .category-description-top .rte-content strong { color: var(--mam-navy-d); font-weight: 600; }

/* titre "Laisse-toi tenter..." : en-tête de section sobre */
#content-wrapper .category-description-top .rte-content h2 {
  font-family: var(--mam-f-display); font-weight: 600; color: var(--mam-navy-d);
  font-size: clamp(18px, 2.2vw, 22px); line-height: 1.2; letter-spacing: -.01em;
  text-transform: none; margin: 28px 0 16px; padding-top: 22px; border-top: 1px solid var(--mam-line-soft);
}
/* sous-catégories : chaque h3(lien) + son p → carte cliquable cream, en grille */
#content-wrapper .category-description-top .rte-content h3 {
  display: block; margin: 14px 0 0; padding: 16px 18px 6px;
  background: var(--mam-cream); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-md) var(--mam-r-md) 0 0; border-bottom: none;
  font-family: var(--mam-f-display); font-weight: 600; font-size: 16px;
}
#content-wrapper .category-description-top .rte-content h3 a {
  color: var(--mam-navy-d); font-weight: 600; border: none;
  display: inline-flex; align-items: center; gap: 7px;
}
#content-wrapper .category-description-top .rte-content h3 a::after {
  content: "\2192"; color: var(--mam-coral); transition: transform .15s;
}
#content-wrapper .category-description-top .rte-content h3 a:hover { color: var(--mam-coral); }
#content-wrapper .category-description-top .rte-content h3 a:hover::after { transform: translateX(3px); }
/* le paragraphe qui suit un h3 = corps de la carte */
#content-wrapper .category-description-top .rte-content h3 + p {
  margin: 0; padding: 4px 18px 16px;
  background: var(--mam-cream); border: 1px solid var(--mam-line);
  border-radius: 0 0 var(--mam-r-md) var(--mam-r-md); border-top: none;
  font-size: 13.5px; color: var(--mam-text-2);
}

/* --- bloc BAS : informations complémentaires PS9 (souvent masqué par le thème) --- */
#content-wrapper .category-additional-description,
#content-wrapper #category-additional-description,
#content-wrapper .category-description-bottom,
#content-wrapper .block-category-bottom,
#js-product-list-bottom .category-description {
  display: block !important;
  background: var(--mam-white);
  border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-xl);
  padding: clamp(26px, 4vw, 44px);
  margin: 40px 0 0;
}
#content-wrapper .category-additional-description .rte-content,
#content-wrapper #category-additional-description .rte-content,
#content-wrapper .category-description-bottom .rte-content,
#content-wrapper .block-category-bottom .rte-content,
#js-product-list-bottom .category-description .rte-content {
  font-family: var(--mam-f-body); color: var(--mam-text-2); font-size: 15.5px; line-height: 1.75;
}
#content-wrapper .category-additional-description .rte-content > *:first-child,
#content-wrapper #category-additional-description .rte-content > *:first-child,
#content-wrapper .category-description-bottom .rte-content > *:first-child,
#content-wrapper .block-category-bottom .rte-content > *:first-child { margin-top: 0; }
#content-wrapper .category-additional-description .rte-content h1,
#content-wrapper .category-additional-description .rte-content h2,
#content-wrapper #category-additional-description .rte-content h2,
#content-wrapper .category-description-bottom .rte-content h2,
#content-wrapper .block-category-bottom .rte-content h2,
#js-product-list-bottom .category-description .rte-content h2 {
  font-family: var(--mam-f-display); font-weight: 600; color: var(--mam-navy-d);
  font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; margin: 0 0 16px; text-transform: none; letter-spacing: -.01em;
}
#content-wrapper .category-additional-description .rte-content h3,
#content-wrapper #category-additional-description .rte-content h3,
#content-wrapper .category-description-bottom .rte-content h3,
#content-wrapper .block-category-bottom .rte-content h3 {
  font-family: var(--mam-f-display); font-weight: 600; color: var(--mam-navy-d); font-size: 19px; margin: 26px 0 10px;
}
#content-wrapper .category-additional-description .rte-content p,
#content-wrapper #category-additional-description .rte-content p,
#content-wrapper .category-description-bottom .rte-content p,
#content-wrapper .block-category-bottom .rte-content p,
#js-product-list-bottom .category-description .rte-content p { margin: 0 0 14px; }
#content-wrapper .category-additional-description .rte-content a,
#content-wrapper #category-additional-description .rte-content a,
#content-wrapper .category-description-bottom .rte-content a,
#content-wrapper .block-category-bottom .rte-content a,
#js-product-list-bottom .category-description .rte-content a { color: var(--mam-coral); text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; }
#content-wrapper .category-additional-description .rte-content a:hover,
#content-wrapper .category-description-bottom .rte-content a:hover,
#content-wrapper .block-category-bottom .rte-content a:hover { border-bottom-color: var(--mam-coral); }
#content-wrapper .category-additional-description .rte-content strong,
#content-wrapper #category-additional-description .rte-content strong,
#content-wrapper .category-description-bottom .rte-content strong,
#content-wrapper .block-category-bottom .rte-content strong { color: var(--mam-navy-d); font-weight: 600; }

/* =========================================================
   57 · PAGE LISTE DES MARQUES (.ms-grid) + filtre live
   ========================================================= */
.ms-grid { margin-top: 8px; }

/* pleine largeur : neutraliser la colonne gauche fantôme + le wrapper col-md-9
   ⚠ ciblage UNIQUEMENT via .ms-grid (page LISTING) : le contrôleur "manufacturer"
   sert aussi aux pages marque individuelle, qui doivent garder leur colonne filtre. */
#content-wrapper:has(.ms-grid) {
  flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important;
}
#left-column:has(~ #content-wrapper .ms-grid),
#content-wrapper:has(.ms-grid) ~ #left-column { display: none !important; }

/* barre d'outils : recherche à gauche + alphabet sur une ligne */
.mam-bs-bar {
  display: flex; align-items: center; gap: 18px; margin: 0 0 10px; flex-wrap: nowrap;
}
.mam-alpha {
  display: flex; flex-wrap: nowrap; gap: 5px; justify-content: flex-start;
  flex: 1; min-width: 0; overflow-x: auto; padding-bottom: 4px;
  -ms-overflow-style: none; scrollbar-width: thin;
}
.mam-alpha::-webkit-scrollbar { height: 5px; }
.mam-alpha::-webkit-scrollbar-thumb { background: var(--mam-line); border-radius: 99px; }
.mam-alpha a {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  min-width: 30px; height: 30px; padding: 0 5px;
  border-radius: var(--mam-r-pill); border: 1px solid var(--mam-line);
  background: var(--mam-white); color: var(--mam-navy-d);
  font-family: var(--mam-f-body); font-weight: 600; font-size: 12.5px;
  text-decoration: none; cursor: pointer; transition: all .15s;
}
.mam-alpha a:hover { border-color: var(--mam-coral); color: var(--mam-coral); }
.mam-alpha a.is-active { background: var(--mam-coral); border-color: var(--mam-coral); color: #fff; }
.mam-alpha a.is-disabled { opacity: .35; pointer-events: none; }

/* séparateur de lettre dans la grille (injecté en JS) */
.mam-letter {
  grid-column: 1 / -1; scroll-margin-top: 90px;
  display: flex; align-items: center; gap: 14px; margin: 14px 0 2px;
}
.mam-letter span {
  font-family: var(--mam-f-display); font-weight: 600; font-size: 24px; color: var(--mam-coral); line-height: 1;
}
.mam-letter::after { content: ""; flex: 1; height: 1px; background: var(--mam-line); }

/* barre de recherche (injectée en JS) */
.mam-brandsearch {
  position: relative; flex: 0 0 300px; max-width: 300px;
}
.mam-brandsearch input {
  width: 100%; height: 52px; padding: 0 48px 0 50px;
  border: 1.5px solid var(--mam-line); border-radius: var(--mam-r-pill);
  background: var(--mam-white); color: var(--mam-text);
  font-family: var(--mam-f-body); font-size: 15px; outline: none;
  box-shadow: var(--mam-sh-sm); transition: border-color .2s, box-shadow .2s;
}
.mam-brandsearch input:focus { border-color: var(--mam-coral); box-shadow: var(--mam-sh-coral); }
.mam-brandsearch input::placeholder { color: var(--mam-muted); }
.mam-brandsearch .mam-bs-ico {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--mam-muted); pointer-events: none;
}
.mam-brandsearch .mam-bs-clear {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border: none; border-radius: 50%;
  background: var(--mam-cream-2); color: var(--mam-navy-d); cursor: pointer;
  display: none; align-items: center; justify-content: center; font-size: 15px; line-height: 1;
}
.mam-brandsearch .mam-bs-clear:hover { background: var(--mam-coral-pale); color: var(--mam-coral-d); }
.mam-brandsearch.has-value .mam-bs-clear { display: flex; }
.mam-bs-count { text-align: left; font-size: 13px; color: var(--mam-muted); margin: 0 0 22px; }
/* compteur collé au H1 page-title */
.page-title .mam-bs-count--title {
  display: inline-block; margin: 0 0 0 12px; vertical-align: middle;
  font-family: var(--mam-f-body); font-weight: 600; font-size: 13px;
  color: var(--mam-coral-d); background: var(--mam-coral-pale);
  padding: 4px 12px; border-radius: var(--mam-r-pill);
}

/* grille : on neutralise les colonnes Bootstrap → grid régulière */
.ms-grid .row {
  display: grid; gap: 16px; margin: 0;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 576px) { .ms-grid .row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .ms-grid .row { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .ms-grid .row { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1200px){ .ms-grid .row { grid-template-columns: repeat(6, 1fr); } }

.ms-grid .brand {
  width: auto; max-width: none; flex: none; margin: 0;
  display: flex; flex-direction: column;
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-md); padding: 12px 12px 14px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ms-grid .brand:hover {
  border-color: var(--mam-coral); box-shadow: var(--mam-sh-coral); transform: translateY(-3px);
}
/* zone logo (plus de cadre propre : c'est la carte qui porte le cadre) */
.ms-grid .brand-img {
  background: none; border: 0; border-radius: 0; padding: 0;
  height: 96px; display: flex; align-items: center; justify-content: center;
}
.ms-grid .brand-img a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ms-grid .brand-img img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  mix-blend-mode: multiply; filter: saturate(.96);
}
/* fallback : nom de la marque quand pas de logo */
.ms-grid .brand-img .mam-brand-name {
  font-family: var(--mam-f-display); font-weight: 600; color: var(--mam-navy-d);
  font-size: 15px; line-height: 1.2; text-align: center; padding: 4px 6px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ms-grid .brand:hover .brand-img .mam-brand-name { color: var(--mam-coral); }
/* nom de la marque : sous le logo, DANS le cadre */
.ms-grid .brand-infos {
  display: block !important; text-align: center; margin-top: 10px; padding: 8px 4px 0;
  border-top: 1px solid var(--mam-line);
}
.ms-grid .brand-infos a {
  font-family: var(--mam-f-body); font-weight: 600; font-size: 12.5px;
  color: var(--mam-navy-d); text-decoration: none; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ms-grid .brand:hover .brand-infos a { color: var(--mam-coral); }

/* état "aucun résultat" injecté en JS */
.mam-bs-empty { text-align: center; padding: 40px 0; color: var(--mam-muted); font-size: 15px; display: none; }

/* page marques — responsive barre d'outils */
@media (max-width: 768px) {
  .mam-bs-bar { flex-wrap: wrap; }
  .mam-brandsearch { flex: 1 1 100%; max-width: none; }
  .mam-alpha { flex: 1 1 100%; }
}
/* ==========================================
   PAGE LIVRAISON MYAMERICANMARKET
   Style : editorial epicerie fine
   Palette : coral #FF5A5F + navy #1A2738 + cream #FBF6EF
   Toutes classes scopees .mam-ship*
   ========================================== */

.mam-ship {
  --mam-coral: #FF5A5F;
  --mam-navy: #1A2738;
  --mam-cream: #FBF6EF;
  --mam-cream-2: #F4EEE3;
  --mam-line: #E8E1D2;
  --mam-text: #2A3142;
  --mam-text-soft: #6B7180;

  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  color: var(--mam-text);
  font-family: inherit;
  line-height: 1.6;
}

.mam-ship p { margin: 0 0 1rem; }
.mam-ship a { color: var(--mam-coral); text-decoration: none; border-bottom: 1px solid currentColor; }
.mam-ship a:hover { color: var(--mam-navy); }

/* ============= HERO ============= */
.mam-ship__hero {
  background: var(--mam-cream);
  border-radius: 6px;
  padding: 3.5rem 2.5rem 3rem;
  margin-bottom: 2.5rem;
}
.mam-ship__eyebrow {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mam-coral);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.mam-ship__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
  color: var(--mam-navy);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.mam-ship__title em {
  font-style: italic;
  color: var(--mam-coral);
}
.mam-ship__lead {
  max-width: 600px;
  font-size: 1.05rem;
  color: var(--mam-text-soft);
  line-height: 1.65;
  margin: 0;
}

/* ============= ZONE ============= */
.mam-ship__zone {
  background: #fff;
  border: 1px solid var(--mam-line);
  border-radius: 6px;
  padding: 2.25rem;
  margin-bottom: 2rem;
}

.mam-ship__zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--mam-line);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.mam-ship__zone-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  margin: 0 0 0.25rem;
  font-weight: 400;
  color: var(--mam-navy);
  letter-spacing: -0.01em;
}
.mam-ship__zone-head p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--mam-text-soft);
}

.mam-ship__pill {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 7px 14px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.mam-ship__pill--navy {
  background: var(--mam-navy);
  color: var(--mam-cream);
}

/* ============= CALLOUT ============= */
.mam-ship__callout {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.4rem;
  border-radius: 4px;
  margin: 1.25rem 0;
  border-left: 3px solid var(--mam-coral);
  background: var(--mam-cream);
}
.mam-ship__callout strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  color: var(--mam-navy);
  font-weight: 400;
  font-style: italic;
}
.mam-ship__callout span {
  font-size: 0.93rem;
  color: var(--mam-text-soft);
  line-height: 1.55;
}
.mam-ship__callout--reduced {
  background: var(--mam-cream-2);
  border-left-color: var(--mam-navy);
}

/* ============= SUBHEAD ============= */
.mam-ship__subhead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mam-navy);
  margin: 1.75rem 0 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--mam-line);
}
.mam-ship__subhead small {
  font-weight: 400;
  color: var(--mam-text-soft);
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  font-family: Georgia, serif;
}

/* ============= GRID PRIX ============= */
.mam-ship__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
  margin: 1rem 0 1.5rem;
}
.mam-ship__card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  background: var(--mam-cream);
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.mam-ship__card:hover {
  background: #fff;
  border-color: var(--mam-line);
}
.mam-ship__weight {
  font-size: 0.78rem;
  color: var(--mam-text-soft);
  letter-spacing: 0.04em;
}
.mam-ship__price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--mam-navy);
}
.mam-ship__grid--reduced .mam-ship__card {
  background: var(--mam-cream-2);
}
.mam-ship__grid--reduced .mam-ship__price {
  color: var(--mam-coral);
}

/* ============= NOTES ============= */
.mam-ship__note {
  font-size: 0.88rem;
  color: var(--mam-text-soft);
  font-style: italic;
  font-family: Georgia, serif;
  margin: 1.25rem 0 0;
}
.mam-ship__note--alert {
  color: var(--mam-navy);
  font-style: normal;
  font-family: inherit;
  font-weight: 500;
  background: var(--mam-cream-2);
  padding: 0.7rem 1rem;
  border-radius: 4px;
  border-left: 3px solid var(--mam-coral);
  font-size: 0.92rem;
}

/* ============= COUNTRIES ============= */
.mam-ship__countries {
  margin-top: 1.75rem;
  padding: 1.5rem;
  background: var(--mam-cream);
  border-radius: 4px;
}
.mam-ship__countries h4 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mam-navy);
  font-weight: 400;
}
.mam-ship__countries ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.mam-ship__countries li {
  background: #fff;
  padding: 0.5rem 0.95rem;
  border-radius: 2px;
  font-size: 0.9rem;
  border: 1px solid var(--mam-line);
  color: var(--mam-navy);
  transition: all 0.15s ease;
}
.mam-ship__countries li:hover {
  background: var(--mam-navy);
  color: var(--mam-cream);
  border-color: var(--mam-navy);
}

/* ============= RECAP ============= */
.mam-ship__recap {
  background: var(--mam-navy);
  color: var(--mam-cream);
  padding: 2.25rem 2.5rem;
  border-radius: 6px;
  margin: 2.5rem 0;
}
.mam-ship__recap-eyebrow {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mam-coral);
  margin: 0 0 1.5rem;
}
.mam-ship__recap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mam-ship__recap li {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(251, 246, 239, 0.12);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--mam-cream);
}
.mam-ship__recap li:last-child { border-bottom: 0; }
.mam-ship__recap strong {
  color: var(--mam-coral);
  font-weight: 600;
}
.mam-ship__arrow {
  color: var(--mam-coral);
  font-weight: 600;
  flex-shrink: 0;
}

/* ============= BLOCS GENERIQUES ============= */
.mam-ship__block {
  margin: 2.5rem 0;
  padding: 0 0.25rem;
}
.mam-ship__block h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--mam-navy);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 1rem;
}
.mam-ship__block h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 0.8em;
  background: var(--mam-coral);
}

/* CHECKLIST */
.mam-ship__check {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.mam-ship__check li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  line-height: 1.6;
}
.mam-ship__check li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--mam-coral);
  font-weight: 600;
}

/* TIPS */
.mam-ship__tip {
  background: var(--mam-cream);
  border-left: 3px solid var(--mam-coral);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin: 1.5rem 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* COLS */
.mam-ship__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.mam-ship__col {
  background: var(--mam-cream);
  padding: 1.5rem;
  border-radius: 4px;
}
.mam-ship__col h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--mam-navy);
  font-weight: 400;
}
.mam-ship__col p:last-child { margin-bottom: 0; }
.mam-ship__col .mam-ship__note { margin-top: 0.5rem; }

/* WARNINGS */
.mam-ship__warnings {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.mam-ship__warnings li {
  padding: 1rem 1.25rem;
  background: var(--mam-cream);
  border-left: 3px solid var(--mam-navy);
  margin-bottom: 0.5rem;
  border-radius: 0 4px 4px 0;
  line-height: 1.55;
  font-size: 0.95rem;
}

/* SEASON */
.mam-ship__season {
  margin: 1.25rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--mam-cream-2);
  border-radius: 4px;
  border-left: 3px solid var(--mam-coral);
}
.mam-ship__season strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  color: var(--mam-navy);
  margin-bottom: 0.5rem;
  font-style: italic;
  font-weight: 400;
}
.mam-ship__season p { margin: 0; color: var(--mam-text); line-height: 1.55; }

/* WARNING BOX */
.mam-ship__warning-box {
  background: var(--mam-cream-2);
  border-radius: 4px;
  border-left: 3px solid var(--mam-coral);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.mam-ship__warning-box p { margin: 0; line-height: 1.6; }

/* CONTACT */
.mam-ship__contact {
  font-size: 1.05rem;
  margin: 1rem 0 0;
}
.mam-ship__contact a {
  font-weight: 500;
}
.mam-ship__sep {
  margin: 0 0.75rem;
  color: var(--mam-text-soft);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 700px) {
  .mam-ship { padding: 1rem 0.75rem 3rem; }
  .mam-ship__hero { padding: 2.25rem 1.5rem 2rem; }
  .mam-ship__zone { padding: 1.5rem 1.25rem; }
  .mam-ship__zone-head { flex-direction: column; align-items: flex-start; }
  .mam-ship__recap { padding: 1.75rem 1.5rem; }
  .mam-ship__subhead {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}
/* Override la couleur navy du theme dans le bloc recap navy */
.page-cms .rte-content .mam-ship__recap strong,
.mam-ship__recap strong {
  color: var(--mam-coral, #FF5A5F) !important;
  font-weight: 600;
}
/* ============= OVERRIDES THEME ============= */
/* Les regles theme du contenu CMS interferent sur les ul/li/h2 du module livraison.
   On force notre layout avec une specificite suffisante. */

.page-cms .rte-content .mam-ship ul,
.page-cms .rte-content .mam-ship ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
}
.page-cms .rte-content .mam-ship li {
  list-style: none !important;
  padding-left: 0;
  margin: 0;
  background: none !important;
}
.page-cms .rte-content .mam-ship li::before,
.page-cms .rte-content .mam-ship li::marker {
  display: none !important;
  content: none !important;
}

/* Re-applique nos puces */
.page-cms .rte-content .mam-ship__check li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem !important;
  line-height: 1.6;
}
.page-cms .rte-content .mam-ship__check li::before {
  content: '→' !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.5rem !important;
  color: #FF5A5F !important;
  font-weight: 600 !important;
  background: none !important;
}

/* H2 avec barre coral correctement alignee */
.page-cms .rte-content .mam-ship__block h2,
.mam-ship__block h2 {
  position: relative;
  padding-left: 1rem !important;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.page-cms .rte-content .mam-ship__block h2::before,
.mam-ship__block h2::before {
  content: '' !important;
  position: static !important;
  display: inline-block !important;
  width: 4px !important;
  height: 0.85em !important;
  background: #FF5A5F !important;
  flex-shrink: 0;
}

/* Pays / warnings / countries ul */
.page-cms .rte-content .mam-ship__countries ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.page-cms .rte-content .mam-ship__recap ul,
.page-cms .rte-content .mam-ship__warnings,
.page-cms .rte-content .mam-ship__check {
  margin: 1rem 0 !important;
}
/* =========================================================
   58 · PAGE CMS PAIEMENT — grille moyens de paiement
   ========================================================= */
.page-cms .cms-lead { font-size: 17px; color: var(--mam-text); }
.page-cms .mam-pay-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin: 24px 0 32px; padding: 0; list-style: none;
}
.page-cms .mam-pay-card {
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-md); padding: 16px 18px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.page-cms .mam-pay-card:hover {
  border-color: var(--mam-coral); box-shadow: var(--mam-sh-coral); transform: translateY(-2px);
}
.page-cms .mam-pay-logo {
  height: 38px; display: flex; align-items: center; margin-bottom: 12px;
}
.page-cms .mam-pay-logo svg { height: 100%; width: auto; max-width: 100%; }
.page-cms .mam-pay-card .mam-pay-name {
  font-family: var(--mam-f-display); font-weight: 600; color: var(--mam-navy-d);
  font-size: 16px; line-height: 1.2; margin: 0 0 6px;
}
.page-cms .mam-pay-card p { margin: 0; font-size: 13.5px; color: var(--mam-text-2); line-height: 1.5; }

/* =========================================================
   59 · HEADER MOBILE — réduire le logo
   ========================================================= */
@media (max-width: 991px) {
  #mobile-header .col-mobile-logo .logo {
    max-height: 54px; width: auto; height: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════
   60 · MÉGA-MENU iqit (HTML personnalisé) — scope .mam-mega
   ═══════════════════════════════════════════════════════════════ */
.mam-mega {
  font-family: var(--mam-f-body); color: var(--mam-navy);
}
.mam-mega * { box-sizing: border-box; }
.mam-mega a { text-decoration: none; }

.mam-mega .mm-rich { display: flex; gap: 26px; align-items: stretch; }
.mam-mega .mm-flex { display: flex; gap: 30px; align-items: stretch; }
.mam-mega .mm-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; flex: 1; }
.mam-mega .mm-cols.cols-5 { grid-template-columns: repeat(5, 1fr); }
.mam-mega .mm-cols.cols-2 { grid-template-columns: repeat(2, minmax(0, 240px)); }
.mam-mega .mm-col { min-width: 0; display: flex; flex-direction: column; padding: 0 22px; }
.mam-mega .mm-col + .mm-col { border-left: 1px solid var(--mam-line); }
.mam-mega .mm-rich .mm-col { text-align: left; }
.mam-mega .mm-col .mm-h {
  font-family: var(--mam-f-display); font-size: 14px; letter-spacing: .3px; text-transform: uppercase;
  color: var(--mam-coral); margin: 0 0 12px; border-bottom: 2px solid var(--mam-line); padding-bottom: 7px;
}
.mam-mega .mm-col a { display: block; color: var(--mam-navy); font-size: 14px; font-weight: 400; padding: 5px 9px; margin: 0 -9px; border-radius: 9px; line-height: 1.3; transition: color .15s, background .15s, transform .15s; }
.mam-mega .mm-col a:hover { color: var(--mam-coral); background: var(--mam-cream); transform: translateX(2px); }
.mam-mega .mm-col a.more { color: var(--mam-coral); font-weight: 700; margin-top: 10px; }

/* rail best-sellers / visuel */
.mam-mega .mm-rail { flex-shrink: 0; width: 248px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--mam-line); padding-left: 22px; }
.mam-mega .rail-h { font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--mam-coral); font-weight: 600; }
.mam-mega .mm-prod { display: flex; align-items: center; gap: 11px; background: var(--mam-cream); border-radius: 10px; padding: 8px; transition: background .15s, transform .15s; }
.mam-mega .mm-prod:hover { background: var(--mam-cream-2); transform: translateX(2px); }
.mam-mega .mm-prod img { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; background: #fff; border-radius: 8px; }
.mam-mega .mm-prod .pinfo { display: flex; flex-direction: column; gap: 1px; }
.mam-mega .mm-prod .pname { font-size: 12.5px; color: var(--mam-navy); line-height: 1.25; }
.mam-mega .mm-prod .pprice { font-size: 12.5px; color: var(--mam-coral); font-weight: 700; }
.mam-mega .rail-visual { margin-top: auto; border-radius: 12px; overflow: hidden; display: block; position: relative; background: var(--mam-navy); }
.mam-mega .rail-visual img { width: 100%; height: 128px; object-fit: cover; display: block; }
.mam-mega .rail-visual .rv-cap { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(26,39,56,.82); color: #fff; font-weight: 600; font-size: 13px; padding: 9px 12px; }
.mam-mega .rail-visual.tall { margin-top: 0; flex: 1; min-height: 240px; }
.mam-mega .rail-visual.tall img { height: 100%; }

/* marques (logos) */
.mam-mega .mm-col a.brand { display: flex; align-items: center; gap: 11px; padding: 7px 9px; margin: 0; border-radius: 9px; transition: background .15s, transform .15s; }
.mam-mega .mm-col a.brand:hover { background: var(--mam-cream); transform: translateX(2px); color: var(--mam-navy); }
.mam-mega .mm-col a.brand img { height: 22px; width: auto; max-width: 60px; object-fit: contain; flex-shrink: 0; }

/* encart promo + footer marques */
.mam-mega .mm-promo {
  flex-shrink: 0; width: 252px; background: var(--mam-navy-d); border-radius: 14px; display: flex; flex-direction: column;
  justify-content: center; gap: 10px; color: #fff; min-height: 248px; overflow: hidden; padding: 24px; transition: filter .15s;
}
.mam-mega .mm-promo:hover { filter: brightness(1.08); }
.mam-mega .mm-promo .pz-eyebrow { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #ff8a7a; font-weight: 600; }
.mam-mega .mm-promo .pz-title { font-family: var(--mam-f-display); font-size: 20px; font-weight: 700; line-height: 1.25; color: #fff; }
.mam-mega .mm-promo .pz-btn { margin-top: 6px; align-self: flex-start; background: var(--mam-coral); color: #fff; font-weight: 600; font-size: 13px; padding: 9px 15px; border-radius: 9px; }
.mam-mega .mm-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--mam-line); text-align: center; }
.mam-mega .mm-foot-brands { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.mam-mega .mm-foot-brands .mf-count { color: var(--mam-navy); font-weight: 600; font-size: 14px; }
.mam-mega .mm-foot-brands .mf-count b { color: var(--mam-coral); }
.mam-mega .mm-foot-brands .mf-btn { background: var(--mam-coral); color: #fff; font-weight: 600; font-size: 13px; padding: 10px 20px; border-radius: 10px; letter-spacing: .3px; transition: filter .15s; }
.mam-mega .mm-foot-brands .mf-btn:hover { filter: brightness(1.07); color: #fff; }

@media (max-width: 991px) {
  .mam-mega .mm-rich, .mam-mega .mm-flex { flex-direction: column; gap: 0; }
  /* colonne unique empilée : neutralise la grille (et les inline-styles) */
  .mam-mega .mm-cols,
  .mam-mega .mm-cols.cols-5,
  .mam-mega .mm-cols.cols-2 { display: block !important; }
  .mam-mega .mm-col {
    border-left: 0 !important; border-top: 1px solid var(--mam-line);
    padding: 14px 2px;
  }
  .mam-mega .mm-col:first-child { border-top: 0; }
  .mam-mega .mm-col .mm-h { margin-bottom: 8px; }
  .mam-mega .mm-rail, .mam-mega .mm-promo {
    width: 100%; border-left: 0; padding-left: 0;
  }
  .mam-mega .mm-rail { border-top: 1px solid var(--mam-line); padding-top: 14px; margin-top: 4px; }
  .mam-mega .rail-visual.tall { min-height: 150px; }
  .mam-mega .rail-visual.tall img { height: 150px; }
  .mam-mega .mm-promo { min-height: 0; margin-top: 12px; }
  .mam-mega .mm-foot { margin-top: 12px; }
  .mam-mega .mm-foot-brands { flex-direction: column; gap: 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   61 · HOME — H1 « tagline » au-dessus de la recherche (header)
   ═══════════════════════════════════════════════════════════════ */
.mam-home-h1 {
  flex: 0 0 100%; width: 100%; order: -1;
  margin: 0 0 10px; padding: 0; text-align: center;
  font-family: var(--mam-f-display); font-weight: 600; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--mam-navy-d); line-height: 1.3;
}
/* le conteneur recherche doit pouvoir wrapper pour laisser la H1 prendre sa ligne */
.col-header-center:has(.mam-home-h1) { flex-wrap: wrap; }
.mam-home-h1 .hl { color: var(--mam-coral); }
.mam-home-h1 sup { font-size: .6em; vertical-align: super; }
@media (max-width: 991px) { .mam-home-h1 { font-size: 12.5px; margin-bottom: 8px; } }

/* ═══════════════════════════════════════════════════════════════
   62 · PAGE CATÉGORIE — sous-catégories en rangées compactes (var. C)
   Markup : override category-subcategories.tpl (.mam-subcats)
   ═══════════════════════════════════════════════════════════════ */
.mam-subcats { margin: 8px 0 30px; }
.mam-subcats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mam-subcat {
  display: flex; align-items: center; gap: 14px;
  background: var(--mam-white); border: 1px solid var(--mam-line);
  border-radius: var(--mam-r-md); padding: 12px 14px; text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.mam-subcat__ic {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; background: var(--mam-cream-2); line-height: 1;
}
.mam-subcat__body { min-width: 0; flex: 1; }
.mam-subcat__name {
  display: block; font-family: var(--mam-f-display); font-weight: 600;
  font-size: 15px; color: var(--mam-navy-d); line-height: 1.2;
}
.mam-subcat__go { flex: 0 0 auto; color: var(--mam-muted); font-size: 18px; transition: transform .2s, color .2s; }
.mam-subcat:hover { border-color: var(--mam-coral); box-shadow: var(--mam-sh-sm); transform: translateX(2px); }
.mam-subcat:hover .mam-subcat__ic { background: var(--mam-coral-pale); }
.mam-subcat:hover .mam-subcat__go { color: var(--mam-coral); transform: translateX(3px); }
@media (max-width: 980px) { .mam-subcats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mam-subcats-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   63 · PAGE CATÉGORIE — bouton « Voir la suite » (desc. courte → desc. complémentaire)
   Bouton injecté par mam-combined.js (.mam-cat-more)
   ═══════════════════════════════════════════════════════════════ */
.category-description-top .mam-cat-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 11px 20px;
  background: var(--mam-coral); color: #fff; text-decoration: none;
  border: none; border-radius: var(--mam-r-pill);
  font-family: var(--mam-f-body); font-weight: 600; font-size: 14px;
  box-shadow: var(--mam-sh-coral); cursor: pointer;
  transition: background .2s, transform .2s;
}
.category-description-top .mam-cat-more::after { content: "↓"; font-size: 15px; line-height: 1; }
.category-description-top .mam-cat-more:hover { background: var(--mam-coral-d); color: #fff; transform: translateY(-1px); }
/* la cible n'arrive pas collée sous le header */
.category-additional-description { scroll-margin-top: 90px; }

/* ═══════════════════════════════════════════════════════════════
   64 · HOME — section blog (ph_simpleblog via widget Elementor)
   Gauche = widget Blog mode CAROUSEL (1 article featured)
   Droite = widget Blog mode GRID (3 articles → mini-cards empilées)
   ⚠ Ajouter la classe CSS « mam-blog-home » sur la SECTION Elementor.
   ═══════════════════════════════════════════════════════════════ */

/* colonnes de même hauteur */
.mam-blog-home .elementor-column-wrap,
.mam-blog-home .elementor-widget-wrap,
.mam-blog-home .elementor-widget-prestashop-widget-Blog,
.mam-blog-home .elementor-widget-container,
.mam-blog-home .elementor-blog-posts,
.mam-blog-home .simpleblog-posts-column,
.mam-blog-home .simpleblog__listing__post { height: 100%; }

/* ---------- GAUCHE : article featured (carousel) ---------- */
.mam-blog-home .elementor-blog-posts-carousel .swiper-slide { height: auto; }
.mam-blog-home .elementor-blog-posts-carousel .simpleblog__listing__post__wrapper {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--mam-line); border-radius: var(--mam-r-lg);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.mam-blog-home .elementor-blog-posts-carousel .simpleblog__listing__post__wrapper:hover {
  transform: translateY(-4px); box-shadow: var(--mam-sh-md); border-color: var(--mam-coral);
}
.mam-blog-home .elementor-blog-posts-carousel .simpleblog__listing__post__wrapper > a:first-child { display: block; overflow: hidden; }
.mam-blog-home .elementor-blog-posts-carousel img.photo {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; margin: 0 !important; transition: transform .4s;
}
.mam-blog-home .elementor-blog-posts-carousel .simpleblog__listing__post__wrapper:hover img.photo { transform: scale(1.04); }
.mam-blog-home .elementor-blog-posts-carousel .simpleblog__listing__post__wrapper__content { padding: 24px 26px 0; }
.mam-blog-home .elementor-blog-posts-carousel .post-title { font-family: var(--mam-f-display); font-weight: 600; font-size: 25px; line-height: 1.15; margin: 0 0 10px; }
.mam-blog-home .elementor-blog-posts-carousel .post-title a { color: var(--mam-navy-d); text-decoration: none; }
.mam-blog-home .elementor-blog-posts-carousel .post-title a:hover { color: var(--mam-coral); }
.mam-blog-home .elementor-blog-posts-carousel .simpleblog__listing__post__wrapper__content p { color: var(--mam-text-2); font-size: 14.5px; line-height: 1.55; margin: 0; }
.mam-blog-home .elementor-blog-posts-carousel .simpleblog__listing__post__wrapper__content__readmore {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  color: var(--mam-coral) !important; font-weight: 600; text-decoration: none;
}
.mam-blog-home .elementor-blog-posts-carousel .simpleblog__listing__post__wrapper__content__readmore .text-underline { text-decoration: none; }
.mam-blog-home .elementor-blog-posts-carousel .simpleblog__listing__post__wrapper__footer {
  margin: auto 0 0 !important; padding: 16px 26px 22px !important; border: 0 !important;
  font-size: 12.5px; color: var(--mam-muted);
}

/* ---------- DROITE : 3 mini-cards empilées (grid) ---------- */
.mam-blog-home .elementor-blog-posts-grid .row.simpleblog-posts { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.mam-blog-home .elementor-blog-posts-grid .simpleblog-posts-column { width: 100%; max-width: 100%; flex: 0 0 auto; padding: 0; }
.mam-blog-home .elementor-blog-posts-grid .simpleblog__listing__post__wrapper {
  display: grid; grid-template-columns: 116px 1fr; column-gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--mam-line); border-radius: var(--mam-r-md);
  overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mam-blog-home .elementor-blog-posts-grid .simpleblog__listing__post__wrapper:hover { transform: translateX(3px); box-shadow: var(--mam-sh-sm); border-color: var(--mam-coral); }
.mam-blog-home .elementor-blog-posts-grid .simpleblog__listing__post__wrapper > a:first-child { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; display: block; overflow: hidden; }
.mam-blog-home .elementor-blog-posts-grid img.photo { width: 116px; height: 100%; min-height: 94px; object-fit: cover; display: block; margin: 0 !important; }
.mam-blog-home .elementor-blog-posts-grid .simpleblog__listing__post__wrapper__content { grid-column: 2; grid-row: 1; padding: 12px 14px 4px 0; }
.mam-blog-home .elementor-blog-posts-grid .post-title { font-family: var(--mam-f-display); font-weight: 600; font-size: 15.5px; line-height: 1.2; margin: 0; }
.mam-blog-home .elementor-blog-posts-grid .post-title a {
  color: var(--mam-navy-d); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mam-blog-home .elementor-blog-posts-grid .post-title a:hover { color: var(--mam-coral); }
.mam-blog-home .elementor-blog-posts-grid .simpleblog__listing__post__wrapper__content p,
.mam-blog-home .elementor-blog-posts-grid .simpleblog__listing__post__wrapper__content__readmore { display: none; }
.mam-blog-home .elementor-blog-posts-grid .simpleblog__listing__post__wrapper__footer {
  grid-column: 2; grid-row: 2; margin: 0 !important; padding: 0 14px 12px 0 !important; border: 0 !important;
  font-size: 11.5px; color: var(--mam-muted);
}
.mam-blog-home .elementor-blog-posts-grid .simpleblog__listing__post__wrapper__footer__block { margin-right: 10px; }

@media (max-width: 480px) {
  .mam-blog-home .elementor-blog-posts-carousel .post-title { font-size: 21px; }
  .mam-blog-home .elementor-blog-posts-grid .simpleblog__listing__post__wrapper { grid-template-columns: 96px 1fr; }
  .mam-blog-home .elementor-blog-posts-grid img.photo { width: 96px; }
}

/* ═══════════════════════════════════════════════════════════════
   65 · SÉLECTEUR DE LANGUE — drapeaux SVG clean (remplacent /img/l/*.jpg)
   alt vide → ciblage par hreflang du lien parent ET par id du src.
   ═══════════════════════════════════════════════════════════════ */
.mam-flag {
  width: 22px; height: 16px; border-radius: 3px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(26,39,56,.12); vertical-align: middle; display: inline-block;
}
a[hreflang="fr"] .mam-flag { content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%203%202%27%3E%20%3Crect%20width%3D%273%27%20height%3D%272%27%20fill%3D%27%23FFFFFF%27%2F%3E%20%3Crect%20width%3D%271%27%20height%3D%272%27%20fill%3D%27%230055A4%27%2F%3E%20%3Crect%20x%3D%272%27%20width%3D%271%27%20height%3D%272%27%20fill%3D%27%23EF4135%27%2F%3E%3C%2Fsvg%3E"); }
a[hreflang="en"] .mam-flag { content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2060%2030%27%3E%20%3CclipPath%20id%3D%27s%27%3E%3Cpath%20d%3D%27M0%200v30h60V0z%27%2F%3E%3C%2FclipPath%3E%20%3CclipPath%20id%3D%27t%27%3E%3Cpath%20d%3D%27M30%2015h30v15zv15H0zH0V0zV0h30z%27%2F%3E%3C%2FclipPath%3E%20%3Cg%20clip-path%3D%27url%28%23s%29%27%3E%20%3Cpath%20d%3D%27M0%200v30h60V0z%27%20fill%3D%27%23012169%27%2F%3E%20%3Cpath%20d%3D%27M0%200l60%2030m0-30L0%2030%27%20stroke%3D%27%23fff%27%20stroke-width%3D%276%27%2F%3E%20%3Cpath%20d%3D%27M0%200l60%2030m0-30L0%2030%27%20clip-path%3D%27url%28%23t%29%27%20stroke%3D%27%23C8102E%27%20stroke-width%3D%274%27%2F%3E%20%3Cpath%20d%3D%27M30%200v30M0%2015h60%27%20stroke%3D%27%23fff%27%20stroke-width%3D%2710%27%2F%3E%20%3Cpath%20d%3D%27M30%200v30M0%2015h60%27%20stroke%3D%27%23C8102E%27%20stroke-width%3D%276%27%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E"); }
a[hreflang="es"] .mam-flag { content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%204%203%27%3E%20%3Crect%20width%3D%274%27%20height%3D%273%27%20fill%3D%27%23AA151B%27%2F%3E%20%3Crect%20y%3D%270.75%27%20width%3D%274%27%20height%3D%271.5%27%20fill%3D%27%23F1BF00%27%2F%3E%3C%2Fsvg%3E"); }
a[hreflang="it"] .mam-flag { content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%203%202%27%3E%20%3Crect%20width%3D%273%27%20height%3D%272%27%20fill%3D%27%23FFFFFF%27%2F%3E%20%3Crect%20width%3D%271%27%20height%3D%272%27%20fill%3D%27%23009246%27%2F%3E%20%3Crect%20x%3D%272%27%20width%3D%271%27%20height%3D%272%27%20fill%3D%27%23CE2B37%27%2F%3E%3C%2Fsvg%3E"); }
.mam-flag[src$="/l/1.jpg"] { content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%203%202%27%3E%20%3Crect%20width%3D%273%27%20height%3D%272%27%20fill%3D%27%23FFFFFF%27%2F%3E%20%3Crect%20width%3D%271%27%20height%3D%272%27%20fill%3D%27%230055A4%27%2F%3E%20%3Crect%20x%3D%272%27%20width%3D%271%27%20height%3D%272%27%20fill%3D%27%23EF4135%27%2F%3E%3C%2Fsvg%3E"); }
.mam-flag[src$="/l/2.jpg"] { content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2060%2030%27%3E%20%3CclipPath%20id%3D%27s%27%3E%3Cpath%20d%3D%27M0%200v30h60V0z%27%2F%3E%3C%2FclipPath%3E%20%3CclipPath%20id%3D%27t%27%3E%3Cpath%20d%3D%27M30%2015h30v15zv15H0zH0V0zV0h30z%27%2F%3E%3C%2FclipPath%3E%20%3Cg%20clip-path%3D%27url%28%23s%29%27%3E%20%3Cpath%20d%3D%27M0%200v30h60V0z%27%20fill%3D%27%23012169%27%2F%3E%20%3Cpath%20d%3D%27M0%200l60%2030m0-30L0%2030%27%20stroke%3D%27%23fff%27%20stroke-width%3D%276%27%2F%3E%20%3Cpath%20d%3D%27M0%200l60%2030m0-30L0%2030%27%20clip-path%3D%27url%28%23t%29%27%20stroke%3D%27%23C8102E%27%20stroke-width%3D%274%27%2F%3E%20%3Cpath%20d%3D%27M30%200v30M0%2015h60%27%20stroke%3D%27%23fff%27%20stroke-width%3D%2710%27%2F%3E%20%3Cpath%20d%3D%27M30%200v30M0%2015h60%27%20stroke%3D%27%23C8102E%27%20stroke-width%3D%276%27%2F%3E%20%3C%2Fg%3E%3C%2Fsvg%3E"); }
.mam-flag[src$="/l/3.jpg"] { content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%204%203%27%3E%20%3Crect%20width%3D%274%27%20height%3D%273%27%20fill%3D%27%23AA151B%27%2F%3E%20%3Crect%20y%3D%270.75%27%20width%3D%274%27%20height%3D%271.5%27%20fill%3D%27%23F1BF00%27%2F%3E%3C%2Fsvg%3E"); }
.mam-flag[src$="/l/4.jpg"] { content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%203%202%27%3E%20%3Crect%20width%3D%273%27%20height%3D%272%27%20fill%3D%27%23FFFFFF%27%2F%3E%20%3Crect%20width%3D%271%27%20height%3D%272%27%20fill%3D%27%23009246%27%2F%3E%20%3Crect%20x%3D%272%27%20width%3D%271%27%20height%3D%272%27%20fill%3D%27%23CE2B37%27%2F%3E%3C%2Fsvg%3E"); }
/* ═══════════════════════════════════════════════════════════════
   66 · LISTINGS — masquer l'ajout panier sur produit en rupture
   (cible toute miniature contenant le badge .product-unavailable)
   ═══════════════════════════════════════════════════════════════ */
.product-miniature:has(.product-availability .product-unavailable) [data-button-action="add-to-cart"],
.product-miniature:has(.product-availability .product-unavailable) .product-add-cart,
.js-product-miniature-wrapper:has(.product-unavailable) .product-add-cart {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   67 · QUICK VIEW (modale « apercevoir ») — skin complet
   Scopé sur #quickview-modal-product-content (hors #main-product-wrapper).
   ═══════════════════════════════════════════════════════════════ */
#quickview-modal-product-content { padding: 8px 4px; }

/* fermer */
.modal-body:has(#quickview-modal-product-content) > .close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--mam-cream); color: var(--mam-navy-d); opacity: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; box-shadow: var(--mam-sh-sm);
  transition: background .2s, transform .2s;
}
.modal-body:has(#quickview-modal-product-content) > .close:hover { background: var(--mam-coral-pale); color: var(--mam-coral); transform: rotate(90deg); }

/* produit précédent / suivant */
#quickview-modal-product-content .js-quickview-np-btn {
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  box-shadow: var(--mam-sh-md); color: var(--mam-navy-d);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: color .2s;
}
#quickview-modal-product-content .js-quickview-np-btn:hover { color: var(--mam-coral); }

/* flèches Swiper photo */
#quickview-modal-product-content .swiper-button-arrow {
  width: 40px; height: 40px; border-radius: 50%; margin: 0;
  background: #fff !important; box-shadow: var(--mam-sh-md); border: 1px solid var(--mam-line);
  transition: transform .2s, border-color .2s; opacity: 1;
}
#quickview-modal-product-content .swiper-button-arrow::before { display: none !important; }
#quickview-modal-product-content .swiper-button-arrow > i { display: none !important; }
/* chevron en bordures */
#quickview-modal-product-content .swiper-button-arrow::after {
  content: "" !important; display: block !important; position: absolute; top: 50%; left: 50%;
  box-sizing: border-box; width: 10px; height: 10px; background: none !important; margin: 0 !important;
  border: 0; border-top: 2.4px solid var(--mam-navy-d); border-right: 2.4px solid var(--mam-navy-d);
}
#quickview-modal-product-content .swiper-button-inner-prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
#quickview-modal-product-content .swiper-button-inner-next::after { transform: translate(-70%, -50%) rotate(45deg); }
#quickview-modal-product-content .swiper-button-arrow:hover { border-color: var(--mam-coral); transform: scale(1.06); }
#quickview-modal-product-content .swiper-button-arrow:hover::after { border-color: var(--mam-coral); }
#quickview-modal-product-content .swiper-button-disabled { opacity: .35; }

/* vignettes */
#quickview-modal-product-content #product-images-thumbs { padding: 2px; }
#quickview-modal-product-content .thumb-container {
  aspect-ratio: 1; margin: 4px; border: 1.5px solid var(--mam-line);
  border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; transition: border-color .2s;
}
#quickview-modal-product-content .thumb-container img.thumb { width: 100%; height: 100%; object-fit: contain; }
#quickview-modal-product-content .thumb-container:has(.selected),
#quickview-modal-product-content .swiper-slide-thumb-active .thumb-container { border-color: var(--mam-coral); }

/* cover + zoom */
#quickview-modal-product-content .product-lmage-large img { border-radius: var(--mam-r-md); }
#quickview-modal-product-content .expander {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: var(--mam-sh-sm);
  display: flex; align-items: center; justify-content: center; color: var(--mam-navy-d); font-size: 13px;
}
#quickview-modal-product-content .expander:hover { color: var(--mam-coral); }

/* titre */
#quickview-modal-product-content .page-title { font-family: var(--mam-f-display); font-weight: 600; font-size: 22px; line-height: 1.2; margin: 0 0 14px; }
#quickview-modal-product-content .page-title a { color: var(--mam-navy-d); text-decoration: none; }
#quickview-modal-product-content .page-title a:hover { color: var(--mam-coral); }

/* badge rupture */
#quickview-modal-product-content #product-availability.product-unavailable {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 7px 13px;
  border-radius: 8px; background: #FDECEA; border: 1px solid #F2C4BF; color: var(--mam-danger);
  font-size: 12.5px; font-weight: 600;
}

/* prix + TTC */
#quickview-modal-product-content .product-prices { margin: 0 0 18px; }
#quickview-modal-product-content .current-price { display: inline-flex; align-items: baseline; gap: 10px; }
#quickview-modal-product-content .current-price-value { font-family: var(--mam-f-display); font-weight: 700; font-size: 28px; color: var(--mam-coral); }
#quickview-modal-product-content .tax-label { font-size: 12px; font-weight: 500; color: var(--mam-muted); white-space: nowrap; }

/* description courte */
#quickview-modal-product-content #product-description-short { font-size: 14px; color: var(--mam-text-2); line-height: 1.6; margin: 0 0 18px; }

/* stepper quantité */
#quickview-modal-product-content .bootstrap-touchspin { border: 1px solid var(--mam-line); border-radius: var(--mam-r-sm); overflow: hidden; height: 46px; }
#quickview-modal-product-content .bootstrap-touchspin .form-control { border: none; text-align: center; font-weight: 600; }
#quickview-modal-product-content .bootstrap-touchspin .btn-touchspin { background: var(--mam-cream); border: none; color: var(--mam-navy-d); }
#quickview-modal-product-content .bootstrap-touchspin .btn-touchspin:hover { color: var(--mam-coral); }

/* ajout panier */
#quickview-modal-product-content .add-to-cart {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; border: none; border-radius: var(--mam-r-pill);
  background: var(--mam-coral); color: #fff; font-family: var(--mam-f-body);
  font-weight: 600; font-size: 14.5px; padding: 0 22px; box-shadow: var(--mam-sh-coral);
  transition: background .2s, transform .15s;
}
#quickview-modal-product-content .add-to-cart:hover:not(:disabled) { background: var(--mam-coral-d); transform: translateY(-1px); }
#quickview-modal-product-content .add-to-cart:disabled { opacity: .6; filter: saturate(.7); box-shadow: none; cursor: not-allowed; }
#quickview-modal-product-content .add-to-cart .spinner-icon { display: none; }

/* wishlist */
#quickview-modal-product-content .btn-iqitwishlist-add {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--mam-line);
  background: #fff; color: var(--mam-navy); display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; transition: color .2s, border-color .2s;
}
#quickview-modal-product-content .btn-iqitwishlist-add:hover { color: var(--mam-coral); border-color: var(--mam-coral); }
#quickview-modal-product-content .btn-iqitwishlist-add .added { display: none; }

/* « prévenez-moi » */
#quickview-modal-product-content .js-mailalert input[type="submit"] {
  background: var(--mam-navy-d); color: #fff; border: none; border-radius: var(--mam-r-pill);
  padding: 11px 20px; font-weight: 600; font-size: 13.5px; transition: background .2s;
}
#quickview-modal-product-content .js-mailalert input[type="submit"]:hover { background: var(--mam-navy); }

/* ═══════════════════════════════════════════════════════════════
   68 · FICHE PRODUIT — flèches Swiper cover + brand bar + badge liste
   ═══════════════════════════════════════════════════════════════ */

/* --- flèches du carrousel photo de la fiche produit --- */
#main-product-wrapper .swiper-button-arrow {
  width: 40px; height: 40px; border-radius: 50%; margin: 0;
  background: #fff !important; box-shadow: var(--mam-sh-md); border: 1px solid var(--mam-line);
  transition: transform .2s, border-color .2s; opacity: 1;
}
#main-product-wrapper .swiper-button-arrow::before { display: none !important; }
#main-product-wrapper .swiper-button-arrow > i { display: none !important; }
/* chevron en bordures */
#main-product-wrapper .swiper-button-arrow::after {
  content: "" !important; display: block !important; position: absolute; top: 50%; left: 50%;
  box-sizing: border-box; width: 10px; height: 10px; background: none !important; margin: 0 !important;
  border: 0; border-top: 2.4px solid var(--mam-navy-d); border-right: 2.4px solid var(--mam-navy-d);
}
#main-product-wrapper .swiper-button-inner-prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
#main-product-wrapper .swiper-button-inner-next::after { transform: translate(-70%, -50%) rotate(45deg); }
#main-product-wrapper .swiper-button-arrow:hover { border-color: var(--mam-coral); transform: scale(1.06); }
#main-product-wrapper .swiper-button-arrow:hover::after { border-color: var(--mam-coral); }
#main-product-wrapper .swiper-button-disabled { opacity: .35; }

/* --- brand bar : logo non cliquable (le CTA « Voir tous les produits » suffit) --- */
.mam-brand-bar__logo { pointer-events: none; cursor: default; }

/* --- badge rupture/dispo en MODE LISTE (hors .thumbnail-container) --- */
#js-product-list .product-availability .badge.product-unavailable {
  display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 6px 11px;
  border-radius: 8px; background: #FDECEA; border: 1px solid #F2C4BF; color: var(--mam-danger);
  font-size: 11px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
}
#js-product-list .product-availability .badge.badge-success,
#js-product-list .product-availability .badge.product-available {
  display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 6px 11px;
  border-radius: 8px; background: #E3F0E8; border: 1px solid #BFE0CC; color: var(--mam-success);
  font-size: 11px; font-weight: 600; white-space: nowrap;
}

/* ── mode liste : masquer la référence produit ── */
#js-product-list .product-reference { display: none; }

/* ═══════════════════════════════════════════════════════════════
   69 · HOME — flèches carrousels Elementor (générique) + fix hover boutons
   ═══════════════════════════════════════════════════════════════ */

/* flèches de TOUS les carrousels Elementor (home incluse) — rond charte
   NB : .elementor-brands a des règles plus spécifiques qui priment (position, etc.) */
.elementor-swiper-button {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--mam-white); border: 1.5px solid var(--mam-line);
  color: var(--mam-navy-d);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--mam-sh-sm);
  transition: border-color .2s, color .2s, opacity .2s, transform .2s;
}
.elementor-swiper-button::after { font-size: 14px; font-weight: 700; }
.elementor-swiper-button:hover { border-color: var(--mam-coral); color: var(--mam-coral); }
.elementor-swiper-button.swiper-button-disabled { opacity: .35; pointer-events: none; }

/* fix : au survol de la carte home, le thème décale les boutons (translate) → on fige */
.elementor-products .product-miniature:hover .product-functional-buttons,
.elementor-products .product-miniature:hover .product-functional-buttons-links,
.elementor-products .product-functional-buttons,
.elementor-products .product-functional-buttons-links { transform: none !important; }

/* ═══════════════════════════════════════════════════════════════
   70 · PANIER — badge de remise + prix barré sur la ligne produit
   (.unit-price : ligne panier ; n'affecte pas la fiche ni le slider filtre)
   ═══════════════════════════════════════════════════════════════ */
.unit-price { display: flex; flex-direction: column; gap: 3px; }
.unit-price .product-discount { display: inline-flex; align-items: center; gap: 8px; }
.unit-price .product-discount .regular-price {
  font-family: var(--mam-f-body); font-size: 13px; font-weight: 500;
  color: var(--mam-muted); text-decoration: line-through;
}
.unit-price .discount.discount-percentage {
  margin: 0 !important;
  background: var(--mam-coral); color: #fff;
  font-family: var(--mam-f-body); font-weight: 700; font-size: 11px; letter-spacing: .02em;
  padding: 3px 8px; border-radius: var(--mam-r-pill); line-height: 1;
}
.unit-price .value {
  font-family: var(--mam-f-display); font-weight: 700; font-size: 16px; color: var(--mam-navy-d);
}

/* ═══════════════════════════════════════════════════════════════
   71 · BLOG — page LISTING (.simpleblog__listing) : cards à la charte
   ═══════════════════════════════════════════════════════════════ */

/* en-tête de la page blog */
#content-wrapper:has(.simpleblog__listing) .page-header { text-align: center; margin: 8px 0 36px; }
#content-wrapper:has(.simpleblog__listing) .page-header .page-title {
  font-family: var(--mam-f-display); font-weight: 600; font-size: clamp(28px, 4vw, 40px);
  color: var(--mam-navy-d); display: inline-block;
}

/* grille */
.simpleblog__listing .row { margin: 0 -12px; }
.simpleblog__listing__post { padding: 0 12px; margin-bottom: 26px; display: flex; }

/* carte */
.simpleblog__listing .simpleblog__listing__post__wrapper {
  display: flex; flex-direction: column; width: 100%;
  background: #fff; border: 1px solid var(--mam-line); border-radius: var(--mam-r-lg);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.simpleblog__listing .simpleblog__listing__post__wrapper:hover {
  transform: translateY(-4px); box-shadow: var(--mam-sh-md); border-color: var(--mam-coral);
}

/* image de couverture */
.simpleblog__listing .simpleblog__listing__post__wrapper > a:first-child { display: block; overflow: hidden; }
.simpleblog__listing .simpleblog__listing__post__wrapper img.photo {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; margin: 0 !important; transition: transform .4s;
}
.simpleblog__listing .simpleblog__listing__post__wrapper:hover img.photo { transform: scale(1.04); }

/* contenu */
.simpleblog__listing .simpleblog__listing__post__wrapper__content { padding: 22px 24px 0; display: flex; flex-direction: column; flex: 1; }
.simpleblog__listing .post-title { font-family: var(--mam-f-display); font-weight: 600; font-size: 20px; line-height: 1.2; margin: 0 0 10px; }
.simpleblog__listing .post-title a { color: var(--mam-navy-d); text-decoration: none; }
.simpleblog__listing .post-title a:hover { color: var(--mam-coral); }
.simpleblog__listing .simpleblog__listing__post__wrapper__content p {
  font-family: var(--mam-f-body); font-size: 14px; line-height: 1.6; color: var(--mam-text-2); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* read more */
.simpleblog__listing .simpleblog__listing__post__wrapper__content__readmore {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  color: var(--mam-coral) !important; font-weight: 600; font-size: 13.5px; text-decoration: none;
}
.simpleblog__listing .simpleblog__listing__post__wrapper__content__readmore .text-underline { text-decoration: none; }

/* footer (date + catégorie) */
.simpleblog__listing .simpleblog__listing__post__wrapper__footer {
  margin: 16px 0 0 !important; padding: 14px 24px !important; border: 0 !important;
  border-top: 1px solid var(--mam-line) !important;
  font-size: 12.5px; color: var(--mam-muted);
}
.simpleblog__listing .simpleblog__listing__post__wrapper__footer .fa { color: var(--mam-coral); }
.simpleblog__listing .simpleblog__listing__post__wrapper__footer a { color: var(--mam-navy-d); font-weight: 600; }
.simpleblog__listing .simpleblog__listing__post__wrapper__footer a:hover { color: var(--mam-coral); }

/* pagination */
.simpleblog__listing__pagination { margin-top: 18px; font-size: 13px; color: var(--mam-muted); align-items: center; }

/* ═══════════════════════════════════════════════════════════════
   72 · MINIATURE — poids net (feature 6) affiché en pastille discrète
   ═══════════════════════════════════════════════════════════════ */
/* titre produit centré + poids centré juste en dessous */
.product-miniature .product-title { text-align: center; }
.product-miniature .mam-net-weight {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: fit-content; margin: 8px auto 0; white-space: nowrap;
  font-family: var(--mam-f-body); font-size: 10.5px; font-weight: 600;
  color: var(--mam-text-2); background: var(--mam-cream-2);
  padding: 3px 9px; border-radius: var(--mam-r-pill);
  letter-spacing: .01em; line-height: 1.3;
}
.product-miniature .mam-net-weight::before {
  content: ""; width: 12px; height: 12px; flex-shrink: 0; opacity: .7;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='rgb(74,84,104)'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%203a2%202%200%200%200-2%202H6l-3%2011a5%205%200%200%200%2010%200L10%205'/%3E%3Cpath%20d='M14%205h4l3%2011a5%205%200%200%201-10%200L14%205'/%3E%3C/svg%3E");
}

/* footer : titres de blocs passés de <h5> à <span> → garder le comportement bloc */
.block-iqitlinksmanager .block-title,
.block-iqitcontactpage .block-title,
.block-iqithtmlandbanners-html .block-title,
.footer-container span.block-title,
span.block-title { display: block; }

/* fiche produit : poids net (feature 6/17) en élément séparé sous le H1 */
#main-product-wrapper .mam-product-weight,
.product-header .mam-product-weight,
.mam-product-weight {
  font-family: var(--mam-f-body); font-weight: 500; font-size: 14px;
  color: var(--mam-muted); margin: 4px 0 0; line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   74 · WIDGET produits format SMALL (.product-miniature-small)
   Layout horizontal image | texte — aérer le tout
   ═══════════════════════════════════════════════════════════════ */
.product-miniature-small { padding: 6px; }
.product-miniature-small .thumbnail-container { padding-left: 6px; }
.product-miniature-small .product-description {
  padding: 4px 10px 4px 16px;
  display: flex; flex-direction: column; justify-content: center; gap: 9px;
}
.product-miniature-small .product-description > * { margin: 0 !important; }
.product-miniature-small .ddm-pill { align-self: flex-start; }
.product-miniature-small .product-title { text-align: left; }
.product-miniature-small .product-price-and-shipping { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }