/* ============================================================
   RESET & BASE PRODUIT
============================================================ */
:root {
  --mm-gold: #C9A84C;
  --mm-gold-light: #E8D28A;
  --mm-gold-pale: #F8F2E0;
  --mm-ink: #0F0F0F;
  --mm-ink-soft: #2C2C2C;
  --mm-mid: #5A5A5A;
  --mm-border: #E2E2E2;
  --mm-red: #C0392B;
  --mm-red-dark: #922B21;
  --mm-green: #1B6F3B;
  --mm-green-pale: #EAF5EE;
  --mm-green-mid: #A8D5B5;
  --mm-surface: #FAFAF8;
  --mm-white: #FFFFFF;
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.mm-product-wrap {
  font-family: var(--ff-body);
  color: var(--mm-ink);
  line-height: 1.6;
}

/* ============================================================
   LAYOUT PRINCIPAL
============================================================ */
.mm-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

.mm-col-media {
  position: sticky;
  top: 80px;
  min-width: 0;
}

.mm-col-info {
  padding: 40px 48px 60px 48px;
  background: var(--mm-white);
  min-width: 0;
}

@media (max-width: 991px) {
  .mm-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mm-col-media {
    position: static;
  }

  .mm-col-info {
    padding: 28px 20px 48px;
  }
}

/* ============================================================
   GALERIE MEDIA — LEFT COLUMN
============================================================ */
.mm-media-wrap {
  background: #F5F4F0;
  padding: 0;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.mm-media-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent 0%, var(--mm-gold) 20%, var(--mm-gold) 80%, transparent 100%);
  z-index: 2;
}

.mm-media-wrap .product-cover {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
}

.mm-media-wrap .product-cover picture {
  display: block;
  max-width: 100%;
}

.mm-media-wrap .product-cover img {
  width: 100%;
  max-width: 100%;
  height: 520px;
  object-fit: contain;
  display: block;
}

@media (max-width: 767px) {
  .mm-media-wrap .product-cover img {
    height: auto;
    max-height: 300px;
  }
}

/* ============================================================
   EYEBROW — MARQUE / CATÉGORIE
============================================================ */
.mm-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  min-width: 0;
}

.mm-eyebrow-line {
  width: 24px;
  height: 2px;
  background: var(--mm-gold);
  flex-shrink: 0;
}

.mm-eyebrow-text {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mm-gold);
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ============================================================
   TITRE PRODUIT
============================================================ */
.mm-product-title {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--mm-ink);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .mm-product-title {
    font-size: 1.55rem;
  }
}

/* ============================================================
   BANDEAU MARC CÉLIANDRE — VERSION PREMIUM
============================================================ */
.mm-expert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #E8D28A;
  background: linear-gradient(135deg, #FAF7EE 0%, #FFF8E6 100%);
  border-radius: var(--r-md);
  padding: 11px 16px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.mm-expert-badge::before {
  content: '"';
  font-family: var(--ff-display);
  font-size: 5rem;
  color: var(--mm-gold-light);
  position: absolute;
  right: 14px;
  top: -10px;
  line-height: 1;
  opacity: 0.5;
  pointer-events: none;
}

.mm-expert-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mm-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(201,168,76,0.4);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.1);
}

.mm-expert-info {
  flex: 1;
  min-width: 0;
}

.mm-expert-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #7A5C00;
  display: block;
  line-height: 1.2;
}

.mm-expert-role {
  font-size: 0.7rem;
  color: #9A7B2A;
  display: block;
  margin-top: 1px;
}

.mm-expert-stars {
  font-size: 0.8rem;
  color: var(--mm-gold);
  letter-spacing: 2px;
  flex-shrink: 0;
}

/* ============================================================
   BADGE STOCK — NOUVELLE VERSION
============================================================ */
.mm-stock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  min-width: 0;
}

.mm-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  min-width: 0;
  overflow-wrap: anywhere;
}

.mm-stock-badge.in-stock {
  background: #EAF5EE;
  color: #1B6F3B;
  border: 1px solid #A8D5B5;
}

.mm-stock-badge.low-stock {
  background: #FFF4E5;
  color: #B75D00;
  border: 1px solid #F5C07A;
}

.mm-stock-badge.very-low {
  background: #FDECEA;
  color: #C0392B;
  border: 1px solid #F5A49E;
  animation: pulse 2s infinite;
}

.mm-stock-badge.out-stock {
  background: #F5F5F5;
  color: #888;
  border: 1px solid #DDD;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .75;
  }
}

.mm-stock-bar {
  flex: 1;
  height: 3px;
  background: #ECECEC;
  border-radius: 3px;
  overflow: hidden;
  max-width: 120px;
}

.mm-stock-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

.mm-stock-bar-fill.green {
  background: #27AE60;
}

.mm-stock-bar-fill.orange {
  background: #E67E22;
}

.mm-stock-bar-fill.red {
  background: #C0392B;
}

/* ============================================================
   PRIX — BLOC PREMIUM
============================================================ */
.mm-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
  min-width: 0;
}

.mm-price-main {
  font-family: var(--ff-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--mm-ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.mm-price-old {
  font-size: 1.1rem;
  color: #AAA;
  text-decoration: line-through;
  font-weight: 400;
}

.mm-price-badge {
  display: inline-flex;
  align-items: center;
  background: var(--mm-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mm-price-shipping {
  font-size: 0.78rem;
  color: var(--mm-green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
  min-width: 0;
}

.mm-price-anchor {
  background: var(--mm-gold-pale);
  border: 1px dashed #D4A017;
  border-radius: var(--r-sm);
  padding: 7px 12px;
  font-size: 0.75rem;
  color: #7A5C00;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

/* ============================================================
   COUNTDOWN EXPÉDITION
============================================================ */
.mm-countdown-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F0FBF5;
  border: 1px solid #A8D5B5;
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  min-width: 0;
}

.mm-countdown-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.mm-countdown-text {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 500;
  color: #1B6F3B;
  line-height: 1.4;
  min-width: 0;
}

.mm-countdown-text strong {
  font-weight: 800;
}

.mm-cd-time {
  display: inline-block;
  background: #1B6F3B;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  margin: 0 2px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.mm-countdown-strip.urgent {
  background: #FFF4E5;
  border-color: #F5C07A;
  animation: urgent-pulse 2s infinite;
}

.mm-countdown-strip.urgent .mm-countdown-text {
  color: #B75D00;
}

.mm-countdown-strip.urgent .mm-cd-time {
  background: #B75D00;
}

@keyframes urgent-pulse {
  0%, 100% {
    box-shadow: none;
  }

  50% {
    box-shadow: 0 0 0 3px rgba(183,93,0,0.12);
  }
}

/* ============================================================
   VARIANTS
============================================================ */
.mm-variants-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mm-mid);
  margin-bottom: 8px;
}

/* ============================================================
   BOUTON CTA PRINCIPAL
============================================================ */
.product-add-to-cart .add-to-cart {
  width: 100%;
  padding: 16px 24px !important;
  font-family: var(--ff-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: var(--r-md) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-align: center !important;
  background: #a4844f !important;
  color: #fff !important;
  border: none !important;
  box-shadow: var(--shadow-md) !important;
  transition: all 0.25s ease !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-add-to-cart .add-to-cart::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.product-add-to-cart .add-to-cart:hover:not([disabled]) {
  background: #1A1A1A !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25) !important;
  transform: translateY(-1px) !important;
}

.product-add-to-cart .add-to-cart:active:not([disabled]) {
  transform: translateY(0) !important;
  background: #000 !important;
}

.product-add-to-cart .add-to-cart[disabled] {
  background: #CCC !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* ============================================================
   TRUST STRIP
============================================================ */
.mm-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 12px;
  min-width: 0;
}

.mm-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  min-width: 0;
}

.mm-trust-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1;
}

.mm-trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mm-ink-soft);
  line-height: 1.3;
}

.mm-trust-sub {
  font-size: 0.65rem;
  color: var(--mm-mid);
  font-weight: 400;
}

/* ============================================================
   GARANTIE
============================================================ */
.mm-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mm-green-pale);
  border: 1px solid var(--mm-green-mid);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-top: 12px;
  min-width: 0;
}

.mm-guarantee-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.mm-guarantee-text {
  flex: 1;
  min-width: 0;
}

.mm-guarantee-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mm-green);
  display: block;
  line-height: 1.3;
}

.mm-guarantee-sub {
  font-size: 0.72rem;
  color: #2E8B57;
  display: block;
  margin-top: 2px;
}

/* ============================================================
   SECTION DESCRIPTION COURTE
============================================================ */
.mm-description-short {
  font-size: 0.9rem;
  color: var(--mm-ink-soft);
  line-height: 1.75;
  margin-bottom: 20px;
  border-left: 3px solid var(--mm-gold);
  padding-left: 14px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.mm-description-short p {
  margin: 0 0 8px;
}

.mm-description-short p:last-child {
  margin: 0;
}

/* ============================================================
   TABS
============================================================ */
.mm-tabs {
  margin-top: 32px;
  border-top: 1px solid var(--mm-border);
  padding-top: 24px;
  min-width: 0;
}

.mm-tabs .nav-tabs {
  border-bottom: 1px solid var(--mm-border);
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}

.mm-tabs .nav-item {
  margin: 0;
}

.mm-tabs .nav-link {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mm-mid);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.mm-tabs .nav-link.active,
.mm-tabs .nav-link:hover {
  color: var(--mm-ink);
  border-bottom-color: var(--mm-gold);
}

.mm-tabs .tab-content {
  font-size: 0.88rem;
  color: var(--mm-ink-soft);
  line-height: 1.8;
  min-width: 0;
  overflow-wrap: anywhere;
}

.mm-tabs .tab-pane {
  display: none;
}

.mm-tabs .tab-pane.active {
  display: block;
}

/* ============================================================
   VIDEO LAZY
============================================================ */
.yt-lazy-box {
  background: var(--mm-ink);
  position: relative;
  padding-top: 56.25%;
  cursor: pointer;
  border-radius: var(--r-md);
  margin: 20px 0;
  display: block;
  overflow: hidden;
  max-width: 100%;
}

.yt-lazy-box img {
  width: 100%;
  max-width: 100%;
  top: 0;
  left: 0;
  opacity: 0.75;
  position: absolute;
  transition: opacity 0.3s;
  object-fit: cover;
  height: 100%;
}

.yt-lazy-box:hover img {
  opacity: 0.9;
}

.yt-lazy-box .play-btn {
  width: 64px;
  height: 44px;
  background: #FF0000;
  border-radius: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
  transition: transform 0.2s;
}

.yt-lazy-box:hover .play-btn {
  transform: translate(-50%,-50%) scale(1.08);
}

.yt-lazy-box .play-btn::after {
  content: '';
  border-style: solid;
  border-width: 9px 0 9px 18px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 13px;
  left: 24px;
}

.yt-lazy-box iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  border: none;
}

/* ============================================================
   QUANTITÉ + BOUTON
============================================================ */
.mm-qty-cta {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.mm-qty-cta .product-quantity {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
}

.mm-qty-cta .product-add-to-cart {
  flex: 1;
}

.input-group-btn .bootstrap-touchspin-up,
.input-group-btn .bootstrap-touchspin-down {
  min-width: 44px !important;
  min-height: 44px !important;
  width: 44px !important;
  height: 44px !important;
  font-size: 1.2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--mm-surface) !important;
  border: 1px solid var(--mm-border) !important;
  color: var(--mm-ink) !important;
  padding: 0 !important;
  transition: background 0.2s !important;
}

.input-group-btn .bootstrap-touchspin-up:hover,
.input-group-btn .bootstrap-touchspin-down:hover {
  background: #EFEFEF !important;
}

#quantity_wanted {
  min-height: 44px !important;
  height: 44px !important;
  font-size: 1rem !important;
  text-align: center !important;
  width: 54px !important;
  min-width: 54px !important;
  border-left: none !important;
  border-right: none !important;
  border-color: var(--mm-border) !important;
  font-weight: 700;
}

/* ============================================================
   MOBILE — QUANTITÉ + AJOUT PANIER SUR UNE SEULE LIGNE
============================================================ */
@media (max-width: 767px) {
  .product-add-to-cart {
    width: 100%;
  }

  .product-add-to-cart .product-quantity {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  .product-add-to-cart .qty {
    flex: 0 0 112px !important;
    width: 112px !important;
    max-width: 112px !important;
    margin: 0 !important;
  }

  .product-add-to-cart .add {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .product-add-to-cart .add-to-cart {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 10px !important;
    font-size: 0.76rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .product-add-to-cart .bootstrap-touchspin,
  .product-add-to-cart .input-group.bootstrap-touchspin {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 112px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
  }

  .product-add-to-cart #quantity_wanted,
  .product-add-to-cart .bootstrap-touchspin input#quantity_wanted,
  .product-add-to-cart .bootstrap-touchspin .form-control {
    order: 1 !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    border: 1px solid var(--mm-border) !important;
    border-right: 0 !important;
    border-radius: var(--r-sm) 0 0 var(--r-sm) !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    box-shadow: none !important;
  }

  .product-add-to-cart .bootstrap-touchspin .input-group-btn-vertical {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 60px !important;
    height: 46px !important;
    min-width: 60px !important;
    margin: 0 !important;
    position: static !important;
  }

  .product-add-to-cart .bootstrap-touchspin .input-group-btn-vertical .btn,
  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-up,
  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-down {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    min-width: 60px !important;
    height: 23px !important;
    min-height: 23px !important;
    max-height: 23px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--mm-surface) !important;
    border: 1px solid var(--mm-border) !important;
    color: var(--mm-ink) !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-up {
    border-radius: 0 var(--r-sm) 0 0 !important;
    border-bottom: 0 !important;
  }

  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-down {
    border-radius: 0 0 var(--r-sm) 0 !important;
  }

  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-up::before,
  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-down::before {
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-up::before {
    content: "+" !important;
  }

  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-down::before {
    content: "−" !important;
  }

  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-up i,
  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-down i,
  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-up .material-icons,
  .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-down .material-icons {
    display: none !important;
  }
}

/* ============================================================
   BOUTON FLOATING MOBILE
============================================================ */
@media (max-width: 767px) {
  .mm-floating-cart {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 9999;
    transition: transform 0.35s cubic-bezier(0.2,0.9,0.4,1.1), opacity 0.35s ease;
    opacity: 0;
    pointer-events: none;
  }

  .mm-floating-cart.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mm-floating-cart .add-to-cart {
    width: auto !important;
    min-width: 200px;
    padding: 12px 24px !important;
    font-size: 0.82rem !important;
    border-radius: var(--r-pill) !important;
    background: #a4844f !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.30) !important;
    white-space: nowrap;
    font-weight: 700 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
  }
}

/* ============================================================
   SÉPARATEUR DORÉ
============================================================ */
.mm-gold-sep {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--mm-gold), transparent);
  margin: 20px 0;
  opacity: 0.5;
}

/* ============================================================
   BREADCRUMB CUSTOM
============================================================ */
.mm-breadcrumb {
  padding: 10px 0 0;
  font-size: 0.72rem;
  color: var(--mm-mid);
  margin-bottom: 0;
}

/* ============================================================
   MOBILE AJUSTEMENTS
============================================================ */
@media (max-width: 767px) {
  .mm-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-price-main {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .mm-trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRODUITS LIÉS — FOOTER ZONE
============================================================ */
.mm-footer-product {
  background: var(--mm-surface);
  border-top: 1px solid var(--mm-border);
  padding: 48px 0;
}

/* ============================================================
   RÉASSURANCE — HOOK PRESTASHOP
============================================================ */
.block-reassurance-item {
  font-size: 0.8rem;
}

/* ============================================================
   FIX MOBILE FINAL — IMAGES PRODUIT QUI DÉBORDENT
   Ciblé pour les fiches où certaines photos forcent 440px
============================================================ */
@media (max-width: 767px) {
  #wrapper,
  main,
  .container,
  .row,
  #content-wrapper,
  .mm-product-wrap,
  #main,
  .mm-product-grid {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .mm-product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: hidden !important;
  }

  .mm-col-media,
  .mm-col-info,
  .mm-media-wrap,
  .page-content,
  .images-container,
  .product-cover {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .mm-col-media,
  .mm-col-info {
    position: static !important;
  }

  .product-cover picture {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .product-cover img,
  .product-cover .js-qv-product-cover,
  img.js-qv-product-cover,
  .js-qv-product-cover.img-fluid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
  }

  .js-qv-mask,
  .mask.scroll,
  .product-images,
  .js-qv-product-images {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .product-images .thumb-container,
  .js-qv-product-images .thumb-container,
  .js-thumb-container {
    flex: 0 0 auto !important;
    max-width: 100px !important;
    box-sizing: border-box !important;
  }

  .product-images img,
  .js-qv-product-images img,
  img.js-thumb {
    max-width: 98px !important;
    height: auto !important;
  }

  .mm-product-title,
  .mm-eyebrow,
  .mm-stock-row,
  .mm-price-block,
  .mm-price-right,
  .mm-price-shipping,
  .mm-countdown-strip,
  .product-information,
  .product-actions,
  form#add-to-cart-or-refresh,
  .product-description,
  .product-description-short,
  .product-additional-info,
  .mm-tabs,
  .tab-content,
  .mm-trust-grid,
  .mm-guarantee {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }

  iframe {
    max-width: 100% !important;
  }

  .StripeElement,
  .__PrivateStripeElement {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .StripeElement iframe,
  .__PrivateStripeElement iframe {
    max-width: 100% !important;
    min-width: 0 !important;
  }
/* ============================================================
   FIX MOBILE - CENTRAGE COLONNE PRODUIT + ONGLET DESCRIPTION
============================================================ */

@media (max-width: 767px) {
  body#product #wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body#product #wrapper .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body#product #wrapper .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body#product #content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body#product .mm-product-wrap,
  body#product #main,
  body#product .mm-product-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body#product .mm-col-media,
  body#product .mm-col-info {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body#product .mm-col-info {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  body#product .mm-tabs {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body#product .mm-tabs .nav-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body#product .mm-tabs .nav-item {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  body#product .mm-tabs .nav-link {
    width: 100% !important;
    padding: 10px 4px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
    text-align: center !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    box-sizing: border-box !important;
  }

  body#product .mm-tabs .tab-content,
  body#product .mm-tabs .tab-pane,
  body#product #description,
  body#product #product-details {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
}