/* ============================================================================
   Restaupro - Fiche Produit Moderne (Standards E-commerce 2026)
   Preview uniquement (new.restaupro.com / web21). Ne jamais toucher la prod.
   Design tokens : Noir #1f1d20, Jaune #CCD61C, Fond clair #f6f5f0, Contenu 1400px.
   ============================================================================ */

/* Reset & suppression intégrale des ombres / bordures legacy */
body.page-product {
  background: #f6f5f0 !important;
  color: #1f1d20 !important;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

body.page-product main#page {
  background: #f6f5f0 !important;
  box-shadow: none !important;
  border: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}

body.page-product .parallax,
body.page-product .parallax .breadcrumbs + article,
body.page-product .parallax .parallax-text,
body.page-product #product_details,
body.page-product #product_details.rp-fiche,
body.page-product .rp-fiche-wrap,
body.page-product .rp-fiche-more,
body.page-product #products_related,
body.page-product #products_associated {
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
}

/* ----------------------------------------------------------------------------
   Fil d'Ariane unifié (rp-breadcrumb / breadcrumbs)
   ---------------------------------------------------------------------------- */
body.page-product nav.rp-breadcrumb,
body.page-product .breadcrumbs {
  position: static !important;
  width: min(1400px, calc(100% - 40px)) !important;
  max-width: 1400px !important;
  margin: 1.25rem auto 0.75rem !important;
  padding: 0.65rem 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  float: none !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

body.page-product nav.rp-breadcrumb .inner,
body.page-product .breadcrumbs .inner {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box !important;
}

body.page-product .rp-breadcrumb-list,
body.page-product .breadcrumbs ul,
body.page-product .breadcrumbs ol {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.2rem 0.15rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

body.page-product .rp-breadcrumb-item,
body.page-product .breadcrumbs li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  color: #3c3c38 !important;
  font-size: 0.875rem !important;
  line-height: 1.4 !important;
  float: none !important;
}

body.page-product .rp-breadcrumb-item + .rp-breadcrumb-item::before,
body.page-product .breadcrumbs li + li::before {
  content: "/" !important;
  margin: 0 0.45rem 0 0.25rem !important;
  color: #8a8a82 !important;
}

body.page-product .rp-breadcrumb a,
body.page-product .rp-breadcrumb a span,
body.page-product .breadcrumbs a,
body.page-product .breadcrumbs a span {
  color: #3c3c38 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}

body.page-product .rp-breadcrumb a:hover,
body.page-product .breadcrumbs a:hover {
  color: #090907 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

body.page-product .rp-breadcrumb-item:last-child span,
body.page-product .breadcrumbs li:last-child,
body.page-product .breadcrumbs li:last-child span {
  color: #090907 !important;
  font-weight: 600 !important;
}

/* ----------------------------------------------------------------------------
   Structure principale de la fiche (1400px)
   ---------------------------------------------------------------------------- */
body.page-product .rp-fiche-wrap {
  width: min(1400px, calc(100% - 40px));
  max-width: 1400px;
  margin: 1rem auto 2.5rem;
  padding: 0;
  box-sizing: border-box;
  float: none;
}

#product_details.rp-fiche {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#product_details.rp-fiche .rp-fiche-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

/* ----------------------------------------------------------------------------
   Colonne Gauche : Galerie
   ---------------------------------------------------------------------------- */
#product_details .rp-fiche-gallery figure {
  position: relative;
  margin: 0;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(31, 29, 32, 0.08);
  border-radius: 16px;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  box-shadow: 0 2px 12px rgba(31, 29, 32, 0.03) !important;
  float: none;
}

#product_details .fiche_prod_marque {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

#product_details .fiche_prod_marque img {
  max-width: 96px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

#product_details #prod_images {
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  background: #fff;
  border: 0;
  box-shadow: none !important;
  border-radius: 12px;
  overflow: hidden;
}

#product_details #prod_images .product_image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  background: #fff;
}

#product_details #prod_images .product_image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}

#product_details figcaption,
#product_details .rp-fiche-gallery figcaption {
  margin: 0.85rem 0 0;
  color: #6b6860;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

/* ----------------------------------------------------------------------------
   Colonne Droite : Bloc d'Achat (Buy Box)
   ---------------------------------------------------------------------------- */
#product_details .rp-fiche-buy {
  background: #fff;
  border: 1px solid rgba(31, 29, 32, 0.08);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-sizing: border-box;
  min-width: 0;
  box-shadow: 0 2px 12px rgba(31, 29, 32, 0.03) !important;
}

#product_details .rp-fiche-brand {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.65rem;
  background: #f6f5f0;
  color: #1f1d20;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
}

#product_details h1 {
  margin: 0 0 0.45rem;
  color: #1f1d20 !important;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  background: none !important;
  text-align: left !important;
  text-shadow: none !important;
}

#product_details .rp-fiche-ref {
  margin: 0 0 1.25rem;
  color: #6b6860;
  font-size: 0.88rem;
}

#product_details #add_to_cart {
  margin: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
}

/* Prix */
#product_details .rp-fiche-price,
#product_details #prix_produit.rp-fiche-price {
  display: block !important;
  width: 100% !important;
  margin: 0 0 1rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(31, 29, 32, 0.08);
}

#product_details .rp-fiche-old {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.35rem;
  color: #6b6860;
  font-size: 1rem;
}

#product_details .rp-fiche-old s {
  text-decoration: line-through;
  color: #8a8880;
}

#product_details .taux_promotion {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.15rem 0.5rem;
  background: #CCD61C;
  color: #1f1d20;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

#product_details .rp-fiche-now {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 0.5rem 0.85rem !important;
  margin: 0 !important;
}

#product_details .rp-fiche-now strong {
  display: inline !important;
  color: #1f1d20 !important;
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}

#product_details #prix_produit sup,
#product_details .rp-fiche-now strong sup {
  display: inline !important;
  position: static !important;
  font-size: 0.45em !important;
  font-weight: 700 !important;
  vertical-align: super !important;
  line-height: 0 !important;
  margin-left: 2px !important;
}

#product_details .rp-fiche-now span {
  display: inline !important;
  color: #6b6860 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
}

#product_details .rp-fiche-now span sup {
  font-size: 0.7em !important;
  vertical-align: baseline !important;
}

#product_details .rp-fiche-eco {
  margin: 0.35rem 0 0;
  color: #8a8880;
  font-size: 0.78rem;
}

/* Stock & Expédition */
#product_details .rp-fiche-stock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

#product_details .rp-fiche-stock strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}

#product_details .rp-fiche-stock strong::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #2f7d32;
}

#product_details .rp-fiche-stock.is-out strong::before {
  background: #b45309;
}

#product_details .rp-fiche-stock.is-make strong::before {
  background: #1f1d20;
}

#product_details .rp-fiche-stock span {
  color: #6b6860;
  font-size: 0.9rem;
}

/* Déclinaisons / Options */
#product_details .rp-fiche-decli {
  margin: 0 0 1rem;
}

#product_details .rp-fiche-decli label {
  display: block;
  margin: 0 0 0.35rem;
  color: #1f1d20;
  font-size: 0.85rem;
  font-weight: 700;
}

#product_details select {
  width: 100%;
  height: 46px;
  padding: 0 0.75rem;
  border: 1px solid rgba(31, 29, 32, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #1f1d20;
  font: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
}

#product_details .rp-fiche-options:not(:has(input)) {
  display: none !important;
}

#product_details .rp-fiche-pay:has(+ #paiement_plusieurs_fois:empty) {
  display: none !important;
}

#product_details .rp-fiche-pay {
  margin: 0.5rem 0 0.25rem;
  color: #1f1d20;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Actions : Quantité + Ajout au panier côte-à-côte */
#product_details .rp-fiche-actions {
  display: flex !important;
  align-items: flex-end !important;
  gap: 0.75rem !important;
  width: 100% !important;
  margin: 0.25rem 0 1.25rem !important;
}

#product_details .rp-fiche-actions .rp-fiche-qty {
  display: grid !important;
  grid-template-columns: 44px 56px 44px !important;
  grid-template-rows: auto 48px !important;
  align-items: center !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  gap: 0 !important;
  border: 1px solid rgba(31, 29, 32, 0.18);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

#product_details .rp-fiche-actions .rp-fiche-qty label {
  grid-column: 1 / -1 !important;
  display: block;
  margin: 0 0 0.35rem;
  color: #1f1d20;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#product_details .rp-fiche-actions .rp-fiche-qty button {
  width: 44px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #f6f5f0 !important;
  color: #1f1d20 !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease;
}

#product_details .rp-fiche-actions .rp-fiche-qty button:hover {
  background: #e8e6dc !important;
}

#product_details .rp-fiche-actions .rp-fiche-qty input {
  width: 56px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid rgba(31, 29, 32, 0.1) !important;
  border-right: 1px solid rgba(31, 29, 32, 0.1) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #1f1d20 !important;
  font: inherit !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  -moz-appearance: textfield;
}

#product_details .rp-fiche-actions .rp-fiche-qty input::-webkit-outer-spin-button,
#product_details .rp-fiche-actions .rp-fiche-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#product_details .rp-fiche-actions a.rp-fiche-add,
#product_details a.rp-fiche-add {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-height: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 1.5rem !important;
  background: #CCD61C !important;
  color: #1f1d20 !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(204, 214, 28, 0.35) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
  box-sizing: border-box !important;
  align-self: end !important;
}

#product_details a.rp-fiche-add:hover,
#product_details a.rp-fiche-add:focus {
  background: #d8e225 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(204, 214, 28, 0.45) !important;
}

/* Réassurance */
#product_details .rp-fiche-trust {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

#product_details .rp-fiche-trust li {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0.4rem !important;
  margin: 0 !important;
  padding: 0.4rem 0.8rem !important;
  background: #f6f5f0 !important;
  border: 1px solid rgba(31, 29, 32, 0.06) !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
}

#product_details .rp-fiche-trust span {
  color: #6b6860 !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

#product_details .rp-fiche-trust strong {
  color: #1f1d20 !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

/* Liens rapides */
#product_details .rp-fiche-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 29, 32, 0.08);
}

#product_details .rp-fiche-links a {
  color: #1f1d20 !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

#product_details .rp-fiche-links a:hover {
  color: #000 !important;
}

#product_details .rp-fiche-help {
  margin: 0.75rem 0 0;
  color: #5b585d;
  font-size: 0.82rem;
  line-height: 1.5;
}

#product_details .rp-fiche-help a {
  color: #1f1d20 !important;
  font-weight: 600;
  white-space: nowrap;
}

/* ----------------------------------------------------------------------------
   Barre d'onglets / ancres rapides (Caractéristiques, Description, Accessoires)
   ---------------------------------------------------------------------------- */
body.page-product .rp-fiche-anchors {
  display: flex;
  gap: 0.5rem;
  width: min(1400px, calc(100% - 40px));
  max-width: 1400px;
  margin: 1.5rem auto 1.5rem;
  padding: 0;
  overflow-x: auto;
  box-sizing: border-box;
}

body.page-product .rp-fiche-anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1.15rem;
  border: 1px solid rgba(31, 29, 32, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #1f1d20 !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.15s ease;
}

body.page-product .rp-fiche-anchors a:hover,
body.page-product .rp-fiche-anchors a:focus {
  background: #CCD61C;
  border-color: #CCD61C;
  color: #1f1d20 !important;
}

/* Décalage pour sticky header */
#product_details #carac,
#product_details #description,
body.page-product #products_related,
body.page-product #products_associated {
  scroll-margin-top: 176px;
}

/* ----------------------------------------------------------------------------
   Caractéristiques & Description (Cartes blanches aérées, aucun zébrage sombre)
   ---------------------------------------------------------------------------- */
#product_details .rp-fiche-info {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

#product_details .rp-fiche-specs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}

#product_details .rp-fiche-specs > div,
#product_details #description {
  background: #fff;
  border: 1px solid rgba(31, 29, 32, 0.08);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
  min-width: 0;
  box-shadow: 0 2px 12px rgba(31, 29, 32, 0.03) !important;
}

body.page-product #product_details h2,
body.page-product #product_details h3,
body.page-product #product_details h4,
body.page-product #product_details .letterpress,
body.page-product #product_details .rp-fiche-sub,
body.page-product #product_details .rp-fiche-desc h2,
body.page-product #product_details .rp-fiche-desc h3,
body.page-product #product_details .rp-fiche-desc h4,
body.page-product .rp-fiche-more h2,
body.page-product .rp-fiche-more h3 {
  margin: 0 0 1rem !important;
  padding: 0 !important;
  color: #1f1d20 !important;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
  background: none !important;
  background-image: none !important;
  text-align: left !important;
}

body.page-product #product_details .rp-fiche-info h2,
body.page-product .rp-fiche-more h2 {
  font-size: 1.3rem !important;
}

body.page-product #product_details .rp-fiche-desc h3,
body.page-product #product_details .rp-fiche-desc h4,
body.page-product #product_details .rp-fiche-sub,
body.page-product .rp-fiche-more h3 {
  font-size: 1.1rem !important;
}

/* Suppression des filets dégradés legacy (.lineafter, .letterpress) */
body.page-product #product_details .letterpress::before,
body.page-product #product_details .letterpress::after,
body.page-product #product_details .lineafter::before,
body.page-product #product_details .lineafter::after,
body.page-product #product_details .rp-fiche-sub::before,
body.page-product #product_details .rp-fiche-sub::after,
body.page-product #product_details .rp-fiche-desc h3::before,
body.page-product #product_details .rp-fiche-desc h3::after,
body.page-product #product_details .rp-fiche-desc h4::after {
  content: none !important;
  display: none !important;
  background: none !important;
  height: 0 !important;
}

/* Caractéristiques techniques : tableau propre, sans zébrage */
#product_details .caracteristiques_produit {
  margin: 0;
  padding: 0;
  list-style: none;
}

#product_details .caracteristiques_produit li,
#product_details .caracteristiques_produit li:nth-child(2n) {
  display: grid !important;
  grid-template-columns: minmax(12rem, 30%) minmax(0, 1fr) !important;
  gap: 0.5rem 1.5rem !important;
  margin: 0 !important;
  padding: 0.65rem 0 !important;
  border-bottom: 1px solid rgba(31, 29, 32, 0.06) !important;
  background: transparent !important;
  color: #1f1d20 !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

#product_details .caracteristiques_produit li:last-child {
  border-bottom: 0 !important;
}

#product_details .caracteristiques_produit li .item_carac {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  color: #6b6860 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#product_details .caracteristiques_produit li .item_carac::after {
  content: none !important;
}

#product_details .caracteristiques_produit li .item_carac_value {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  color: #1f1d20 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Description texte */
#product_details .rp-fiche-desc {
  color: #1f1d20;
  font-size: 0.98rem;
  line-height: 1.7;
}

#product_details .rp-fiche-desc p {
  margin: 0 0 1rem;
}

#product_details .rp-fiche-desc ul {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
}

#product_details .rp-fiche-desc li {
  margin-bottom: 0.35rem;
}

#product_details .rp-fiche-desc img,
#product_details .rp-fiche-desc table,
#product_details .rp-fiche-desc iframe {
  max-width: 100%;
}

/* ----------------------------------------------------------------------------
   Produits Associés & Similaires (Grille 4 cartes par ligne sur desktop)
   ---------------------------------------------------------------------------- */
body.page-product .rp-fiche-more,
body.page-product #products_related,
body.page-product #products_associated {
  width: min(1400px, calc(100% - 40px));
  max-width: 1400px;
  margin: 2.5rem auto;
  padding: 0;
  box-sizing: border-box;
}

body.page-product .rp-card-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 1.25rem 0 2rem !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* ----------------------------------------------------------------------------
   Carte produit rp-card (alignée sur le catalogue commun)
   ---------------------------------------------------------------------------- */
body.page-product article.rp-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 0 0.85rem !important;
  float: none !important;
  overflow: visible !important;
  background: #fff !important;
  color: #090907 !important;
  border: 1px solid rgba(9, 9, 7, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(31, 29, 32, 0.04) !important;
  font-family: "Open Sans", sans-serif !important;
  text-align: left !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.2s ease !important;
}

body.page-product article.rp-card:hover {
  border-color: #CCD61C !important;
  box-shadow: 0 14px 28px rgba(9, 9, 7, 0.1), 0 2px 6px rgba(204, 214, 28, 0.3) !important;
  transform: translateY(-4px) !important;
}

body.page-product .rp-card .rp-card-media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  padding: 0.85rem !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid rgba(9, 9, 7, 0.06) !important;
  border-radius: 11px 11px 0 0 !important;
  overflow: hidden !important;
  background: #fff !important;
}

body.page-product .rp-card .rp-card-img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

body.page-product article.rp-card:hover .rp-card-img {
  transform: scale(1.06) !important;
}

body.page-product .rp-card .rp-card-title {
  padding: 0.75rem 0.9rem 0 !important;
  margin: 0 !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

body.page-product .rp-card .rp-card-link {
  color: #1f1d20 !important;
  text-decoration: none !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  min-height: 2.5em !important;
}

body.page-product .rp-card .rp-card-cart {
  position: absolute !important;
  right: 0.75rem !important;
  bottom: 0.75rem !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: #CCD61C !important;
  color: #1f1d20 !important;
  box-shadow: 0 2px 6px rgba(204, 214, 28, 0.4) !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, background-color 0.15s ease !important;
}

body.page-product .rp-card .rp-card-cart:hover {
  background: #d8e225 !important;
  transform: scale(1.08) !important;
}

/* ----------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------------- */
.rp-fiche-dock {
  display: none;
}

@media (min-width: 861px) {
  #product_details .rp-fiche-gallery figure {
    position: static !important;
  }
}

@media (max-width: 1100px) {
  body.page-product .rp-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  body.page-product .rp-fiche-wrap,
  body.page-product .breadcrumbs,
  body.page-product .rp-fiche-more,
  body.page-product #products_related,
  body.page-product #products_associated {
    width: calc(100% - 24px) !important;
  }

  #product_details.rp-fiche .rp-fiche-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  #product_details .rp-fiche-specs {
    grid-template-columns: 1fr !important;
  }

  #product_details .rp-fiche-buy {
    padding: 1.25rem 1.15rem !important;
  }

  #product_details .rp-fiche-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #product_details .rp-fiche-actions .rp-fiche-qty {
    width: 100% !important;
    grid-template-columns: 1fr 2fr 1fr !important;
  }

  #product_details .rp-fiche-actions a.rp-fiche-add {
    width: 100% !important;
  }

  body.page-product .rp-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  #product_details .caracteristiques_produit li,
  #product_details .caracteristiques_produit li:nth-child(2n) {
    grid-template-columns: 1fr !important;
    gap: 0.15rem !important;
  }

  /* Dock bas mobile */
  .rp-fiche-dock {
    display: flex !important;
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid rgba(31, 29, 32, 0.12);
    box-shadow: 0 -8px 24px rgba(31, 29, 32, 0.08);
    box-sizing: border-box;
  }

  .rp-fiche-dock-price {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-width: 0;
  }

  .rp-fiche-dock-price strong {
    color: #1f1d20;
    font-size: 1.05rem;
    line-height: 1.1;
  }

  .rp-fiche-dock-price span {
    color: #6b6860;
    font-size: 0.78rem;
  }

  .rp-fiche-dock-add {
    margin-left: auto;
    min-height: 46px;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 10px;
    background: #CCD61C;
    color: #1f1d20;
    font: inherit;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
  }

  body.page-product {
    padding-bottom: 84px !important;
  }
}

/* Neutralisation définitive letterpress résiduel sur fiche */
.letterpress,
[class*="letterpress"] {
  text-shadow: none !important;
  color: #1f1d20 !important;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
}

.lineafter::after,
.lineafter::before,
header.lineafter::after,
h1.lineafter::after,
h2.lineafter::after,
h3.lineafter::after {
  content: none !important;
  display: none !important;
}


