/**
 * ==========================================================================
 * HELENERIU.FR — product-page-2026.css
 * ==========================================================================
 * Refonte fiche produit 2026-07-08 — feuille UNIQUE de la page produit.
 * Chargée en DERNIER (fin de head.tpl, après stitch-redesign + mobile-hotfix),
 * scopée body#product : elle arbitre la cascade des couches historiques
 * (design-system/_product.css, stitch-redesign.css, fixes/product.css,
 * mobile-hotfix.css) SANS les modifier — ne pas ajouter de règle produit
 * ailleurs, tout passe ici désormais.
 *
 * Va de pair avec la réécriture de product-add-to-cart.tpl (form unique,
 * zéro style inline) et le nettoyage de product.tpl (classes hr-*).
 * Palette : tokens stitch (#8B6A00 gold CTA — AA 5.3:1, crème/taupe).
 * ==========================================================================
 */

/* ══════════════════════════════════════════
   1. LAYOUT — 2 colonnes équilibrées
   ══════════════════════════════════════════ */

body#product .product-container.product-improved-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}

@media (max-width: 991px) {
  body#product .product-container.product-improved-layout {
    /* minmax(0,…) obligatoire : 1fr seul = minmax(auto,1fr) → l'iframe PayPal
       (452px fixes) élargissait la track au-delà du viewport mobile */
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

/* L'iframe PayPal Pay Later a une largeur intrinsèque fixe : on la contraint */
body#product .paypal-pay-later-message,
body#product .paypal-pay-later-message iframe {
  max-width: 100% !important;
  min-width: 0 !important;
}

body#product .product-info-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Espace vertical géré par le gap flex : on neutralise les marges héritées */
body#product .product-info-column > * {
  margin-top: 0;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════
   2. BREADCRUMB — wrap propre sur mobile
   ══════════════════════════════════════════ */

body#product .luxury-breadcrumb .breadcrumb-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
}

body#product .luxury-breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  max-width: 100%;
}

body#product .luxury-breadcrumb .breadcrumb-item:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════
   3. GALERIE — photo plus grande, cadre léger
   ══════════════════════════════════════════ */

body#product .images-container,
body#product .product-cover-thumbnails {
  background: #ffffff !important;
  border: 1px solid #EDE6D8 !important;
  border-radius: 14px !important;
  padding: 12px !important;
  box-shadow: 0 8px 24px rgba(139, 115, 85, 0.07) !important;
}

body#product .product-cover {
  border: none;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 10px;
  aspect-ratio: 1;
}

body#product .product-cover img {
  padding: 4px;
  object-fit: contain;
}

/* Thumbnails centrées, accent gold sur l'active */
body#product .product-images,
body#product .js-qv-product-images {
  justify-content: center;
  padding: 4px 0 0;
}

body#product .thumb-container,
body#product .product-images li {
  width: 64px;
  height: 64px;
  border-radius: 10px;
}

body#product .thumb-container.selected,
body#product .thumb-container.active,
body#product .product-images .product-thumbs li.active {
  border-color: #8B6A00 !important;
  box-shadow: 0 0 0 2px rgba(139, 106, 0, 0.18);
}

/* ══════════════════════════════════════════
   4. TITRE + PRIX — hiérarchie nette
   ══════════════════════════════════════════ */

body#product h1.product-title-improved {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: #3A3028 !important;
  margin: 0 !important;
  text-wrap: balance;
}

body#product .product-prices {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #EDE6D8 !important;
  border-radius: 0 !important;
  padding: 0 0 10px !important;
  margin: 0 !important;
}

body#product .product-prices .current-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

body#product .product-prices .current-price-value,
body#product .current-price span[itemprop="price"] {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  color: #3A3028 !important;
  line-height: 1 !important;
}

/* Bandeau promo : prix barré + badge, compact */
body#product .product-discount.discount-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}

body#product .product-prices .regular-price {
  font-size: 1.05rem;
  color: #a8998a;
  text-decoration: line-through;
}

body#product .saving-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #B03E1E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
}

body#product .saving-badge .material-icons { font-size: 14px; }

body#product .product-prices .discount {
  background: #FDEAE3;
  color: #B03E1E;
  border: 1px solid rgba(176, 62, 30, 0.25);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Badge disponibilité : pastille verte discrète à côté du prix */
body#product .availability-badge-inline {
  background: #E8F0EB !important;
  color: #336042 !important;
  border: 1px solid rgba(77, 124, 91, 0.3) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}

body#product .availability-badge-inline .stock-icon { color: #336042 !important; }

body#product .availability-badge-inline.out-of-stock {
  background: #FDF2F1 !important;
  color: #A03328 !important;
  border-color: rgba(196, 69, 54, 0.3) !important;
}

/* Ligne fiscalité/livraison sous le prix */
body#product .tax-shipping-delivery-label {
  font-size: 13px;
  color: #756f66;
  margin-top: 8px;
}

body#product .tax-shipping-delivery-label .delivery-information {
  display: inline-block;
}

/* ══════════════════════════════════════════
   5. BUY BOX — quantité + CTA fluides
   (plus AUCUNE hauteur fixe : fini les débordements mobiles)
   ══════════════════════════════════════════ */

/* !important requis : stitch-redesign impose display:flex + align-items:center
   !important sur .product-add-to-cart (en ligne, centré) — on force la colonne */
body#product .product-add-to-cart,
.quickview .product-add-to-cart {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 4px 0 0 !important;
  border: none !important;
  background: transparent !important;
}

/* Info quantité minimale AVANT le sélecteur (l'acheteur la lit avant d'agir) */
body#product .minimal-quantity-info,
.quickview .minimal-quantity-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FEF8EB;
  border: 1px solid rgba(201, 148, 46, 0.35);
  color: #7a5a1c;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0;
}

body#product .hr-buy-row,
.quickview .hr-buy-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
}

body#product .hr-qty-wrapper,
.quickview .hr-qty-wrapper {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  border: 2px solid #E0D5C5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  min-height: 52px;
}

/* Sur-spécifie _product.css (.product-actions button → pill grise) */
body#product .product-actions .qty-btn,
body#product .qty-btn,
.quickview .qty-btn {
  appearance: none;
  -webkit-appearance: none;
  width: 46px;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF8F4;
  border: none;
  border-radius: 0;
  padding: 0;
  color: #8B7355;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

body#product .qty-btn:hover {
  background: #F0E9DD;
  color: #6D5A42;
}

body#product .qty-btn:focus-visible {
  outline: 2px solid #8B6A00;
  outline-offset: -2px;
}

body#product .quantity-input,
body#product input#quantity_wanted,
.quickview .quantity-input {
  appearance: textfield;
  -moz-appearance: textfield;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 56px !important;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-left: 1px solid #E0D5C5 !important;
  border-right: 1px solid #E0D5C5 !important;
  border-radius: 0 !important;
  background: #fff !important;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2d2418;
  box-shadow: none !important;
}

body#product input#quantity_wanted::-webkit-outer-spin-button,
body#product input#quantity_wanted::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body#product input#quantity_wanted:focus-visible {
  outline: 2px solid #8B6A00;
  outline-offset: -2px;
}

body#product .add-to-cart-wrapper,
.quickview .add-to-cart-wrapper {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
}

/* CTA gold — AA (blanc sur #8B6A00 = 5.3:1), cohérent avec le quick-add des cards */
body#product .product-actions .btn-add-to-cart,
body#product .btn-add-to-cart,
.quickview .btn-add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 24px;
  background: #8B6A00 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(139, 106, 0, 0.25);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

body#product .btn-add-to-cart:hover:not(:disabled) {
  background: #755900 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139, 106, 0, 0.35);
}

body#product .btn-add-to-cart:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(139, 106, 0, 0.3);
}

body#product .btn-add-to-cart:focus-visible {
  outline: 2px solid #3A3028;
  outline-offset: 2px;
}

body#product .btn-add-to-cart:disabled,
body#product .btn-add-to-cart.out-of-stock,
body#product .btn-add-to-cart.quantity-exceeded {
  background: #B5B0A8 !important;
  color: #ffffff !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 1 !important;
}

/* Alerte rupture / quantité > stock (insérée par le JS) */
body#product .hr-oos-alert,
body#product .quantity-stock-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FDF2F1;
  border: 1px solid rgba(196, 69, 54, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #A03328;
  margin: 0;
}

body#product .quantity-stock-error p { margin: 2px 0 0; }

/* ══════════════════════════════════════════
   6. LIVRAISON + RÉASSURANCE — un seul bloc calme
   ══════════════════════════════════════════ */

body#product .hr-shipping-info,
.quickview .hr-shipping-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid #EDE6D8;
  padding-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #756f66;
}

body#product .hr-shipping-info .hr-low-stock {
  color: #B03E1E;
  font-weight: 700;
}

body#product .hr-shipping-info strong { color: #5F4D38; }
body#product .hr-shipping-info .hr-free-shipping { color: #336042; }

body#product .hr-payment-badges {
  grid-column: auto;
  width: auto;
  margin: 0;
  padding: 8px 12px;
  background: #FAF8F4;
  border: 1px solid #EDE6D8;
  border-radius: 8px;
  color: #756f66;
  font-size: 12.5px;
  text-align: center;
}

/* Bloc bijou (badges + guide tailles + disclaimer) */
body#product .bijou-extra-info {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body#product .bijou-badges { margin: 0; }
body#product .bijou-badge { color: #336042; font-size: 13px; font-weight: 600; }

/* Neutralise le style pill gris de _product.css sur les liens de .product-actions */
body#product .product-actions .bijou-size-link a {
  display: inline;
  padding: 0;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #8B6A00;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body#product .product-actions .bijou-size-link a:hover { color: #5F4D38; background: none; }

body#product .bijou-disclaimer { color: #918b82; font-size: 12px; }

/* ══════════════════════════════════════════
   7. RÉFÉRENCE — discrète, plus de grosse card
   ══════════════════════════════════════════ */

body#product .product-meta-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  gap: 12px;
}

body#product .product-meta-wrapper .product-reference,
body#product .product-meta-wrapper .product-condition {
  font-size: 12px;
  color: #918b82;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

body#product .product-meta-wrapper label {
  color: #918b82;
  font-weight: 500;
  margin: 0;
}

/* ══════════════════════════════════════════
   8. DESCRIPTION COURTE + BLOCS LAINE
   ══════════════════════════════════════════ */

body#product .product-information {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body#product .product-information > .product-description {
  font-size: 15px;
  line-height: 1.65;
  color: #5F5A53;
  padding: 0;
  border: none;
  margin: 0;
}

/* Estimation pelotes (ex-inline) */
body#product .hr-yarn-estimate {
  background: #F5F0E8;
  border: 1px solid #E0D5C5;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0;
}

body#product .hr-yarn-estimate .hr-block-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: #3A3028;
  font-size: 13px;
}

body#product .hr-yarn-estimate p:last-child {
  margin: 0;
  color: #6D5A42;
  font-size: 13px;
  line-height: 1.6;
}

/* « Souvent achetés avec » (ex-inline) : cards cliquables, 1 colonne mobile */
body#product .hr-complements { margin: 0; }

body#product .hr-complements .hr-block-title {
  margin: 0 0 10px;
  font-weight: 600;
  color: #3A3028;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body#product .hr-complements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 640px) {
  body#product .hr-complements-grid { grid-template-columns: 1fr; }
}

body#product .hr-complement-card {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: #FAF7F2;
  border: 1px solid #EDE6D8;
  color: #4a4034;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

body#product .hr-complement-card:hover {
  border-color: #C5B8A8;
  background: #ffffff;
  transform: translateY(-1px);
}

body#product .hr-complement-card:focus-visible {
  outline: 2px solid #8B6A00;
  outline-offset: 2px;
}

body#product .hr-complement-card strong {
  display: block;
  font-size: 14px;
  color: #3A3028;
  margin-bottom: 2px;
}

body#product .hr-complement-card span {
  font-size: 12.5px;
  color: #766755;
  line-height: 1.45;
}

/* ══════════════════════════════════════════
   9. ONGLETS — intégrés à la colonne
   ══════════════════════════════════════════ */

body#product .product-information .tabs {
  margin: 4px 0 0;
  background: #ffffff;
  border: 1px solid #EDE6D8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  padding: 0;
}

body#product .tabs .nav-tabs {
  background: #FAF8F4;
  border-bottom: 1px solid #EDE6D8;
  margin: 0;
}

body#product .tabs .nav-tabs .nav-link {
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #756f66;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

body#product .tabs .nav-tabs .nav-link.active {
  color: #3A3028;
  background: #ffffff;
  border-bottom-color: #8B6A00;
}

body#product .tabs .tab-content {
  padding: 20px 22px;
  background: #ffffff;
}

body#product .tabs .tab-content .product-description {
  font-size: 14.5px;
  line-height: 1.7;
  color: #5F5A53;
}

body#product .tabs .tab-content h2,
body#product .tabs .tab-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: #3A3028;
  margin: 18px 0 10px;
}

/* ══════════════════════════════════════════
   10. FAQ + ACCESSOIRES (pleine largeur sous le grid)
   ══════════════════════════════════════════ */

body#product .bijou-faq { margin: 32px auto 0; }

body#product .bijou-faq summary {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

body#product .product-accessories {
  margin-top: 40px;
  padding: 28px;
  border-radius: 14px;
}

/* Grille des accessoires : core.min (bootstrap .row → flex) écrasait le grid de
   _product.css depuis le retrait de son 2e chargement — on rejoue le grid ici.
   Les cards ont width:100% !important (_product.css), pensé pour un parent grid. */
body#product .product-accessories .products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 0;
}

@media (max-width: 640px) {
  body#product .product-accessories .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ══════════════════════════════════════════
   11. MOBILE ≤ 767px
   ══════════════════════════════════════════ */

@media (max-width: 767.98px) {
  body#product h1.product-title-improved {
    font-size: clamp(1.3rem, 5.5vw, 1.55rem) !important;
  }

  body#product .product-prices .current-price-value,
  body#product .current-price span[itemprop="price"] {
    font-size: 1.75rem !important;
  }

  body#product .images-container,
  body#product .product-cover-thumbnails {
    padding: 8px !important;
  }

  /* qty compact + CTA : wrap naturel, jamais de débordement */
  body#product .hr-qty-wrapper { min-height: 50px; }
  body#product .btn-add-to-cart { min-height: 50px; }

  body#product .tabs .nav-tabs .nav-link { padding: 11px 14px; font-size: 12.5px; }
  body#product .tabs .tab-content { padding: 16px; }

  body#product .product-accessories { padding: 18px 14px; }
}

/* ══════════════════════════════════════════
   13. PASSE ERGONOMIE 2026-07-09
   ══════════════════════════════════════════ */

/* Flux d'achat réordonné : couleurs → quantité+CTA → remises volume.
   (ordre DOM PS : variants → discounts → add-to-cart ; le tableau repoussait
   le CTA sous la ligne de flottaison sur les produits à déclinaisons) */
body#product #add-to-cart-or-refresh {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body#product #add-to-cart-or-refresh > .product-variants { order: 1; margin: 0 !important; }
body#product #add-to-cart-or-refresh > .product-add-to-cart { order: 2; }
body#product #add-to-cart-or-refresh > .product-discounts { order: 3; margin: 0 !important; }
body#product #add-to-cart-or-refresh > .product-additional-info { order: 4; margin: 0 !important; }

/* Bloc variantes : rangée compacte — fini le label isolé à droite et les vides */
body#product .product-variants-redesigned {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body#product .product-variants-item {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 !important;
  padding: 0 !important;
}

body#product .product-variants .variant-label,
body#product .product-variants .control-label {
  float: none !important;
  position: static !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #756f66 !important;
  text-align: left !important;
}

/* « Couleurs · Noir » : la valeur sélectionnée redevient du texte, plus une pill */
body#product .variant-selected-value {
  float: none !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#product .variant-selected-value .current-selection {
  display: inline-block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important; /* product.min.css laissait une ombre fantôme */
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #3A3028 !important;
}

/* Produit à image unique : la barre de vignettes (et sa card) n'apporte rien */
body#product .product-images:has(> li:only-child),
body#product .js-qv-product-images:has(> li:only-child) {
  display: none !important;
}

body#product .product-variants fieldset {
  flex: 1 1 100%;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
}

body#product .product-variants fieldset ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  height: auto !important;
}

body#product .product-variants .input-container {
  float: none !important;
  margin: 0 !important;
}

/* Tableau remises volume : compact, fluide, aucun débordement possible */
body#product .product-discounts-title {
  margin: 0 0 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #756f66 !important;
}

body#product .table-product-discounts {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid #EDE6D8 !important;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 !important;
  background: #fff;
}

body#product .table-product-discounts th {
  background: #FAF8F4 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #5F5A53 !important;
  padding: 8px 10px !important;
  border-bottom: 1px solid #EDE6D8 !important;
  text-align: center;
  overflow-wrap: break-word;
}

body#product .table-product-discounts td {
  padding: 8px 10px !important;
  font-size: 13px;
  text-align: center;
  color: #3A3028;
  background: #fff !important;
  border-bottom: 1px solid #F5F0E8;
}

body#product .table-product-discounts tr:last-child td { border-bottom: none; }

/* Tiret décoratif ::before hérité de theme.css sur l'info livraison : supprimé */
body#product .delivery-information::before { content: none !important; }

/* Quick-specs (pills injectées par a11y-runtime) : wrap garanti */
body#product .product-quick-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  max-width: 100%;
}

body#product .product-quick-specs .spec-pill { white-space: normal; }

/* Référence : label et valeur sur la même ligne de base */
body#product .product-meta-wrapper .product-reference {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

/* Garde-fou : jamais de scroll horizontal sur la fiche mobile */
@media (max-width: 767.98px) {
  body#product .product-info-column {
    max-width: 100%;
    overflow-x: clip;
  }
}

/* ══════════════════════════════════════════
   12. REDUCED MOTION
   ══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  body#product .btn-add-to-cart,
  body#product .hr-complement-card,
  body#product .qty-btn,
  body#product .product-cover img {
    transition: none !important;
    transform: none !important;
  }
}
