/* ─────────────────────────────────────────────────────────
   MG Product Page — CSS Front-end
   Design MettaGymFit pixel-perfect
───────────────────────────────────────────────────────── */
:root {
  --mg-gold:   #D4AF37;
  --mg-blue:   #B7D7E8;
  --mg-black:  #111111;
  --mg-cream:  #F8F8F6;
  --mg-yellow: #DFFF00;
  --mg-grey:   #D9D9D9;
  --mg-text:   #3d3d3d;
}

/* Reset pour la page produit */
.mg-product-body { background: var(--mg-cream) !important; }
.mg-product-detail { font-family: Inter, Arial, sans-serif; background: var(--mg-cream); color: var(--mg-black); overflow: hidden; }
.mg-product-detail * { box-sizing: border-box; }

/* ── KICKER ── */
.mg-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--mg-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ══ HERO ══ */
.mg-product-hero {
  padding: 90px 6%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: start;
  background: #fff;
}

/* ── Galerie ── */
.mg-product-gallery { display: grid; gap: 18px; }

.mg-main-image {
  border-radius: 42px;
  overflow: hidden;
  background: var(--mg-cream);
}

.mg-main-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
  transition: .4s ease;
}

.mg-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mg-thumbs img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 24px;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s, transform .2s;
  border: 3px solid transparent;
}

.mg-thumbs img:hover { opacity: .85; transform: scale(1.03); }
.mg-thumbs img.active { opacity: 1; border-color: var(--mg-gold); }

/* ── Info ── */
.mg-product-info { padding: 40px; }

.mg-product-info h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.5vw, 66px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 950;
}

.mg-subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: var(--mg-text);
  margin-bottom: 22px;
}

.mg-rating { color: var(--mg-gold); font-weight: 900; margin-bottom: 22px; }
.mg-rating span { color: #555; font-weight: 700; }

/* WooCommerce price override */
.mg-product-info .price,
.mg-product-detail .mg-price .price,
.mg-price { margin-bottom: 26px; }

.mg-product-info .price ins,
.mg-product-info .price,
.mg-price .woocommerce-Price-amount {
  font-size: 34px;
  font-weight: 950;
  color: var(--mg-black) !important;
  text-decoration: none;
}

/* Highlights */
.mg-product-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.mg-product-highlights div {
  padding: 16px;
  border-radius: 18px;
  background: var(--mg-cream);
  font-weight: 800;
  font-size: 14px;
}

/* WooCommerce add-to-cart button override */
.mg-product-info .cart,
.mg-final-cta .cart { display: block; margin-bottom: 0; }

.mg-product-info .single_add_to_cart_button,
.mg-final-cta .single_add_to_cart_button,
.mg-product-info .button,
.mg-final-cta .button {
  display: block !important;
  width: 100% !important;
  padding: 18px 32px !important;
  border-radius: 999px !important;
  background: var(--mg-black) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  text-align: center !important;
  border: none !important;
  cursor: pointer !important;
  transition: .25s ease !important;
  text-decoration: none !important;
}

.mg-product-info .single_add_to_cart_button:hover,
.mg-final-cta .single_add_to_cart_button:hover,
.mg-product-info .button:hover,
.mg-final-cta .button:hover {
  background: var(--mg-gold) !important;
  color: var(--mg-black) !important;
  transform: translateY(-3px) !important;
}

/* Qty field */
.mg-product-info .quantity { margin-bottom: 14px; }
.mg-product-info .qty {
  width: 80px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
}

.mg-microcopy { text-align: center; color: #666; font-size: 14px; margin: 16px 0 28px; }

.mg-trust-box { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.mg-trust-box div { padding: 20px; border-radius: 22px; background: var(--mg-cream); }
.mg-trust-box strong { display: block; margin-bottom: 6px; font-size: 13px; }
.mg-trust-box span { color: #555; font-size: 14px; }

/* ══ PROMESSE ══ */
.mg-promise {
  padding: 130px 6%;
  text-align: center;
  max-width: 1050px;
  margin: auto;
}
.mg-promise h2 {
  font-size: clamp(34px,5vw,68px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 950;
  margin: 0 0 24px;
}
.mg-promise p { font-size: 20px; line-height: 1.7; color: var(--mg-text); }

/* ══ BÉNÉFICES ══ */
.mg-benefits {
  padding: 100px 6%;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  background: var(--mg-black);
  color: #fff;
}
.mg-benefits > div {
  padding: 44px;
  border-radius: 34px;
  background: rgba(255,255,255,.07);
}
.mg-benefits span { color: var(--mg-gold); font-weight: 900; font-size: 13px; }
.mg-benefits h3 { margin: 22px 0 12px; font-size: 34px; letter-spacing: -.045em; font-weight: 900; }
.mg-benefits p { color: rgba(255,255,255,.72); line-height: 1.65; }

/* ══ POUR QUI ══ */
.mg-split {
  padding: 130px 6%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: #fff;
}
.mg-split h2 { font-size: clamp(34px,5vw,68px); line-height:.92; letter-spacing:-.065em; font-weight:950; margin:0 0 24px; }
.mg-split p { font-size: 20px; line-height: 1.7; color: var(--mg-text); }
.mg-split ul { list-style:none; padding:0; margin:30px 0 0; display:grid; gap:12px; }
.mg-split li { padding:16px 18px; border-radius:18px; background:var(--mg-cream); font-weight:800; font-size:15px; }
.mg-split-image img { width:100%; height:560px; object-fit:cover; border-radius:38px; display:block; }

/* ══ ZONES ══ */
.mg-zones { padding: 120px 6%; text-align: center; }
.mg-zones h2 { font-size:clamp(34px,5vw,68px); line-height:.92; letter-spacing:-.065em; font-weight:950; margin:0 0 24px; }
.mg-zone-grid { margin-top:50px; display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.mg-zone-grid div { padding:26px 18px; border-radius:999px; background:#fff; font-weight:900; box-shadow:0 18px 50px rgba(0,0,0,.04); }

/* ══ CARACTÉRISTIQUES ══ */
.mg-details {
  padding: 120px 6%;
  background: #fff;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
}
.mg-details h2 { font-size:clamp(34px,5vw,68px); line-height:.92; letter-spacing:-.065em; font-weight:950; margin:0 0 24px; }
.mg-detail-list { display:grid; gap:16px; }
.mg-detail-list > div { padding:26px; border-radius:24px; background:var(--mg-cream); }
.mg-detail-list strong { display:block; margin-bottom:8px; font-size:18px; font-weight:900; }
.mg-detail-list span { color:#555; }

/* ══ AVIS ══ */
.mg-reviews { padding: 120px 6%; }
.mg-reviews h2 { font-size:clamp(34px,5vw,68px); line-height:.92; letter-spacing:-.065em; font-weight:950; margin:0 0 24px; }
.mg-review-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:50px; }
.mg-review-grid > div { padding:36px; border-radius:32px; background:#fff; }
.mg-review-grid strong { color:var(--mg-gold); display:block; margin-bottom:12px; font-size:18px; }
.mg-review-grid p { color:#444; line-height:1.65; margin-bottom:14px; }
.mg-review-grid span { color:#888; font-size:13px; font-weight:700; }

/* ══ FAQ ══ */
.mg-faq { padding: 120px 6%; background: #fff; }
.mg-faq h2 { font-size:clamp(34px,5vw,68px); line-height:.92; letter-spacing:-.065em; font-weight:950; margin:0 0 40px; }
.mg-faq details { max-width:980px; padding:26px 30px; margin-bottom:16px; border-radius:24px; background:var(--mg-cream); }
.mg-faq summary { cursor:pointer; font-size:18px; font-weight:900; }
.mg-faq details p { color:#555; line-height:1.7; margin-top:14px; }

/* ══ CTA FINAL ══ */
.mg-final-cta {
  padding: 140px 6%;
  text-align: center;
  background: var(--mg-black);
  color: #fff;
}
.mg-final-cta h2 { font-size:clamp(34px,5vw,68px); line-height:.92; letter-spacing:-.065em; font-weight:950; margin:0 0 24px; }
.mg-final-cta .cart { max-width:360px; margin:25px auto 0; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1000px) {
  .mg-product-hero,
  .mg-split,
  .mg-details,
  .mg-benefits,
  .mg-review-grid { grid-template-columns: 1fr; }

  .mg-product-hero,
  .mg-promise,
  .mg-benefits,
  .mg-split,
  .mg-zones,
  .mg-details,
  .mg-reviews,
  .mg-faq,
  .mg-final-cta { padding: 80px 5%; }

  .mg-product-info { padding: 10px 0; }
  .mg-main-image img,
  .mg-split-image img { height: 420px; }
  .mg-zone-grid { grid-template-columns: repeat(2,1fr); }
  .mg-product-highlights,
  .mg-trust-box { grid-template-columns: 1fr; }
}
