/* ── Variables ── */
    :root {
      --bg: transparent;
      --surface: rgba(0, 0, 0, 0.03);
      --border: rgba(0, 0, 0, 0.08);
      --text-main: #1a1a1a;
      --text-muted: rgba(0, 0, 0, 0.45);
      --text-strike: rgba(0, 0, 0, 0.3);
      --accent: #2a2a2a;
      --badge-bg: rgba(58, 107, 58, 0.08);
      --badge-text: #3a6b3a;
      --btn-bg: #1a1a1a;
      --btn-text: #ffffff;
      --discount-highlight: #4a7c4a;
      --radius: 16px;
      --radius-sm: 10px;
    }
 
    * { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Halo de couleur produit ── */
.product-halo {
  position: fixed;
  bottom: -38%;
  right: -50%;
  width: 80vw;
  height: 55vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(300px);
  transition: background 1.4s ease;
  background: transparent;
  animation: fade-up 1.2s ease both;
}

/* ── Page produit ── */
.product-hero {
  width: 100%;
  min-height: calc(100vh - 85px);
  align-items: center;
  justify-content: center;
  gap: 14rem;
  padding: 2rem 4rem;
  position: relative;
  z-index: 1;
}

.product-hero .article {
  height: min(72vh, 820px);
  width: min(72vh, 820px);
  flex-shrink: 0;
  animation: fade-up 0.55s ease 0.1s both;
}

.product-hero .product-info {
  animation: fade-up 0.55s ease 0.25s both;
}

.product-hero .article-image-wrap {
  width: 100%;
  height: 100%;
}
 
    /* body {
      font-family: inherit;
      background: var(--bg);
      color: var(--text-main);
      display: flex;
      align-items: flex-start;
      justify-content: center;
      min-height: 100vh;
      padding: 2rem;
    } */
 
    /* ── Wrapper de la partie droite ── */
    .product-info {
      width: 100%;
      max-width: 520px;
      display: flex;
      flex-direction: column;
      gap: 0;
    }
 
    /* ── Description ── */
    .section-description {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 0 1.75rem;
      margin-bottom: 1rem;
    }

    .section-description .faq-question {
      font-size: 0.95rem;
      font-weight: 600;
      padding: 1.2rem 0;
    }

    .section-description .faq-answer p {
      font-size: 0.88rem;
      line-height: 1.65;
      color: #444;
      margin-bottom: 0.75rem;
    }
    .section-description .faq-answer p:last-child { margin-bottom: 0; }
 
    /* ── Sélection de quantité ── */
    .section-quantity {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 0 1.75rem 1.5rem;
      margin-bottom: 1rem;
    }
 
    .section-quantity h3 {
      font-family: inherit;
      font-weight: 600;
      font-size: 0.95rem;
      padding: 1.2rem 0;
      margin-bottom: 0.5rem;
      border-bottom: 1px solid var(--border);
    }
 
    .quantity-row {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 0.75rem 0;
    }
 
    .qty-control {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      flex: 1;
    }

    .qty-btn {
      width: 44px;
      height: 44px;
      border: 2px solid rgb(180, 180, 180);
      border-radius: 50%;
      background: transparent;
      font-size: 1.4rem;
      cursor: pointer;
      color: var(--text-main);
      display: flex;
      align-items: center;
      justify-content: center;
      user-select: none;
      transition: transform 0.15s ease;
      flex-shrink: 0;
    }
    .qty-btn:hover { transform: scale(1.1); }
    .qty-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

    .qty-display {
      width: 44px;
      text-align: center;
      font-size: 1.4rem;
      font-weight: 500;
    }
 
    .discount-hint {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      background: rgba(0, 0, 0, 0.72);
      border: none;
      border-radius: var(--radius-sm);
      padding: 0.7rem 0.85rem;
      margin-top: 0.75rem;
    }

    .discount-hint svg {
      flex-shrink: 0;
      margin-top: 1px;
      color: rgba(255, 255, 255, 0.7);
    }

    .discount-hint-text {
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.4;
    }

    .discount-hint-text strong {
      display: block;
      color: #ffffff;
      font-weight: 500;
      margin-bottom: 0.1rem;
    }
 
    /* ── Résumé de prix ── */
    .price-summary {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      margin-top: 1.1rem;
      padding-top: 1.1rem;
      border-top: 1px solid var(--border);
    }
 
    .price-line {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.875rem;
    }
 
    .price-line .label { color: var(--text-muted); }
    .price-line .value { display: flex; align-items: center; gap: 0.5rem; }
 
    .price-strike {
      text-decoration: line-through;
      color: var(--text-strike);
      font-size: 0.85rem;
    }
 
    .price-current { font-weight: 500; }
 
    .savings-line {
      color: var(--discount-highlight);
      font-size: 0.82rem;
    }
    .savings-line .value { color: var(--discount-highlight); font-weight: 500; }
 
    .price-total-line {
      margin-top: 0.2rem;
      display: flex;
      justify-content: space-between;
      align-items: baseline;
    }
 
    .price-total-line .label {
      font-weight: 500;
      font-size: 0.95rem;
    }
 
    .price-total-line .total-block {
      text-align: right;
    }
 
    .price-total-line .total-amount {
      font-family: inherit;
      font-size: 1.9rem;
      font-weight: 600;
      line-height: 1;
    }
 
    .price-total-line .total-savings {
      font-size: 0.78rem;
      color: var(--discount-highlight);
      margin-top: 0.15rem;
    }
 
    /* ── Paliers dégressifs ── */
    .section-tiers {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.25rem 1.75rem;
      margin-bottom: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }
 
    .tier-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.55rem 0.75rem;
      border-radius: var(--radius-sm);
      border: 1.5px solid transparent;
      transition: all 0.2s ease;
      gap: 0.75rem;
    }
 
    .tier-row.active {
      background: #f2f8f2;
      border-color: #b8d4b8;
    }
 
    .tier-label {
      font-size: 0.85rem;
      color: var(--text-muted);
      flex: 1;
    }
 
    .tier-badge {
      font-size: 0.72rem;
      font-weight: 500;
      padding: 0.2em 0.55em;
      border-radius: 20px;
      background: var(--badge-bg);
      color: var(--badge-text);
      letter-spacing: 0.02em;
    }
 
    .tier-badge.active-badge {
      background: var(--discount-highlight);
      color: #fff;
    }
 
    .tier-price {
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--text-muted);
      white-space: nowrap;
    }
 
    .tier-row.active .tier-label,
    .tier-row.active .tier-price {
      color: var(--text-main);
    }
 
    /* ── CTA ── */
    .section-cta {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }
 
    .btn-add {
      width: 100%;
      padding: 1rem 1.5rem;
      background: var(--btn-bg);
      color: var(--btn-text);
      border: none;
      border-radius: var(--radius-sm);
      font-family: inherit;
      font-size: 0.95rem;
      font-weight: 400;
      letter-spacing: 0.03em;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      transition: opacity 0.2s, transform 0.15s;
    }
    .btn-add:hover { opacity: 0.88; transform: translateY(-1px); }
    .btn-add:active { transform: translateY(0); }
 
    .free-shipping {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-size: 0.82rem;
      color: var(--text-muted);
    }
 
    /* ── Specs & Entretien (dans l'accordéon Description) ── */
    .section-description .section-meta {
      display: flex;
      flex-direction: column;
      gap: 0;
      border-top: 1px solid var(--border);
      margin-top: 1rem;
      padding-bottom: 0.5rem;
    }

    .section-description .meta-block {
      padding: 0.85rem 0 0.5rem;
    }

    .section-description .meta-block:first-child {
      border-right: none;
      border-bottom: 1px solid var(--border);
      padding-right: 0;
    }

    .section-description .meta-block:last-child {
      padding-left: 0;
    }

    .section-description .meta-block h4 {
      font-weight: 700;
      font-size: 0.82rem;
      color: rgba(0, 0, 0, 0.45);
      margin-bottom: 0.5rem;
    }

    .section-description .meta-block ul {
      list-style: none;
      padding: 0;
    }

    .section-description .meta-block li {
      font-size: 0.85rem !important;
      font-weight: 500;
      color: var(--text-main);
      line-height: 1.6;
      margin-bottom: 0.15rem;
    }

/* ── Product info : scroll interne si le panel dépasse la hauteur écran ── */
@media (min-width: 1025px) {
  .product-hero .product-info {
    max-height: calc(100vh - 85px - 4rem);
    overflow-y: auto;
  }
}

/* ── Responsive intermédiaire: petits laptops (≤1400px) ── */
@media (min-width: 1025px) and (max-width: 1400px) {
  .product-hero {
    gap: 5rem;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .product-hero {
    gap: 3rem;
    padding: 2rem 2.5rem;
  }

  .product-hero .article {
    height: min(60vh, 580px);
    width: min(60vh, 580px);
  }
}

/* ── Responsive intermédiaire: tablettes (≤1024px) ── */
@media (min-width: 1025px) and (max-width: 1024px) {
  .product-hero {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    min-height: unset;
  }

  .product-hero .article {
    width: min(72vw, 520px);
    height: auto;
  }

  .product-hero .article-image-wrap {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .product-info {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 1024px) {
  .product-halo {
    display: none;
  }

  .product-hero {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0.75rem;
    min-height: unset;
  }

  .product-hero .article {
    width: 85%;
    height: auto;
    margin: 0 auto;
  }

  .product-hero .article-image-wrap {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .product-info {
    width: 100%;
    max-width: 100%;
  }

  .quantity-row {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .qty-control {
    justify-content: center;
  }

  .section-meta {
    grid-template-columns: 1fr;
  }

  .meta-block:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .meta-block ul {
    line-height: 1.4;
  }
}