/* REPI Product Page Styles - Scoped to prevent conflicts */

/* ------------------------------------------------------------------ */
/* Prérequis sticky : un ancêtre avec overflow:hidden casse position:  */
/* sticky. Le CDN du shop FR force overflow-x:hidden sur html/body,    */
/* on le remplace par "clip" (clipping visuel sans contexte de scroll).*/
/* !important : indispensable pour battre la règle CDN intouchable.    */
/* ------------------------------------------------------------------ */
html,
body {
  overflow-x: clip !important;
}

/* Variable Font (plage de poids 200 à 700) */
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 700;
  font-style: normal;
}

/* Fallbacks (facultatifs si variable font est bien supporté) */
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald/Oswald-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSS';
  src: url('../fonts/OpenSS/OpenSauceSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSS';
  src: url('../fonts/OpenSS/OpenSauceSans-Bold.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

:root {
  --repi-red: #FC2938;
  --repi-blue-dark: #112a3f;
  --repi-blue-light: #163c5d;
  --repi-blue-light-hover: #184974;
  --repi-beige: #f9f7f6;
  --radius: 6px;
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.06);

  --primary-color: #e84242;
  --title-color: #112a33;

  --vert-color: #79B246;
  --vert-color-light: #F7FCF5;
  --vert-color-dark: #14A71E;

  --rupture-color: #E84242;
  --rupture-color-light: #f9f7f6;
  --rupture-color-dark: #992727;

  --rest-color: #FEBA27;
  --rest-color-light: #f9f7f6;
  --rest-color-dark: #C58E17;

  --btn-color-bg: #FC2938;
  --btn-color-hover: #e84242;
  --btn-color: #FC2938;
  --btn-color-focus: #FC2938;
  --btn-color-active: #FC2938;
  --btn-color-disabled: #FC2938;
  --btn-color-focus-visible: #FC2938;
  --btn-color-focus-visible-hover: #FC2938;

  --border-radius: 6px;

  --text-color: #9ca3af;

  --font-weight-bold: 350;
  --font-weight-regular: 300;
  --font-weight-light: 300;
  --font-weight-extra-light: 200;
}

body#product {
  background: #F8F7F5;
  margin: 0;
}

.repi-product-page {
  font-family: 'Oswald', sans-serif;
  color: var(--repi-blue-light);
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
    margin-bottom: 50px;
  padding-left: 28px;
  padding-right: 28px;
}

/* Breadcrumb : ses items (liens + séparateurs) sont centrés horizontalement.
   Scope sur la page produit uniquement. */
body#product .breadcrumb.hidden-sm-down {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px;
    text-align: center;
}

body#product .breadcrumb.hidden-sm-down ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

body#product .container.pad15 {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Item courant du breadcrumb (page actuelle) : weight 500, pas bold */
body#product .breadcrumb.hidden-sm-down li:last-child span,
body#product .breadcrumb.hidden-sm-down li:last-child b {
    font-weight: 500 !important;
}



.repi-product-page *,
.repi-product-page *::before,
.repi-product-page *::after {
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .far,
.repi-product-page .fas,
.repi-product-page .fab {
  font-family: 'Font Awesome 6 Free' !important;
  color: #163C5D;
}

.repi-product-page .far::before,
.repi-product-page .fas::before,
.repi-product-page .fab::before {
  font-family: 'Font Awesome 6 Free' !important;
}

.repi-product-page h1,
.repi-product-page h2,
.repi-product-page h5,
.repi-product-page h6,
.repi-product-page .block-title,
.repi-product-page .price.current-price-value,
.repi-product-page .price-currency {
  font-family: 'Oswald', sans-serif !important;
}

#item-box-title h4 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
}

.shipping-title-text {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.repi-product-page h4 {
  font-family: 'Oswald', sans-serif;
}

.repi-product-page a {
  all: unset;
  cursor: pointer;
  /* Facultatif, mais recommandé pour garder l'apparence cliquable */
}

/* Reset and Base Styles */
.repi-product-page * {
  box-sizing: border-box;
}

.repi-product-page img {
  max-width: 100%;
  height: auto;
}

#description-section p {
  font-family: 'Poppins', sans-serif;
}

.repi-product-page button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.repi-product-page input,
.repi-product-page select,
.repi-product-page textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Breadcrumb Navigation */
nav.breadcrumb {
  /*padding: 1.5rem 0;*/
  padding: 0px 1rem;
  background-color: transparent;
  font-size: 0.875rem;
  margin-bottom: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

nav.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

nav.breadcrumb li {
  display: flex;
  align-items: center;
}

nav.breadcrumb a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.15s ease;
}

nav.breadcrumb a:hover {
  color: #1d4ed8;
}

nav.breadcrumb span {
  margin: 0 0.1rem;
  color: #163c5d;
  transition: color 0.15s ease;
}

nav.breadcrumb span:hover {
  color: #FC2938;
}

nav.breadcrumb span p {
  font-weight: normal;
}

nav.breadcrumb li:last-child span {
  font-weight: var(--font-weight-bold);
}

/* Breadcrumb Right Container */
.breadcrumb-right-container {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Product Section */
.repi-product-page .product-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 0 1rem 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

/* Product Images */
.repi-product-page .product-images {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 20px;
}

.repi-product-page scalapay-widget {
  margin: 10px 0;
  background-color: rgba(43, 143, 242, 0.07);
  border-radius: var(--border-radius);
  padding: 0px 20px;
}

/* Widget Scalapay natif : superposé en transparent par-dessus notre .scalapay-bar
   custom, pour récupérer les clics natifs (qui ouvrent sa modale "En savoir plus"). */
.repi-product-page .scalapay-quantity-wrapper {
  position: relative;
}

#scalapay-widget-hidden {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  z-index: 2 !important;
  cursor: pointer;
}

/* Notre bar custom reste visible MAIS non-cliquable :
   le clic traverse vers le widget Scalapay natif au-dessus. */
.repi-product-page .scalapay-bar {
  pointer-events: none;
  position: relative;
  z-index: 1;
}

[data-testid="product-widget-label"] {
  font-weight: bolder;
  color: #163c5d;
}

[data-testid="product-widget-label"] .font-semibold {
  font-weight: 700 !important;
}

.repi-product-page .scalapay-quantity-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ─── Scalapay bar (maquette) ─────────────────────────────── */
.repi-product-page .scalapay-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 143, 242, 0.07);
  border-radius: 10px;
  padding: 8px 18px;
  font-size: 12px;
  color: #163C5D;
  width: fit-content;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .scalapay-bar svg {
  width: 16px;
  height: 16px;
  stroke: #163C5D;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.repi-product-page .scalapay-bar strong {
  margin: 0 3px;
  font-weight: 600;
  color: #163C5D;
}

.repi-product-page .scalapay-bar a,
.repi-product-page .scalapay-bar .scalapay-link {
  color: #163C5D;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  cursor: pointer;
}

.repi-product-page .scalapay-bar a:hover,
.repi-product-page .scalapay-bar .scalapay-link:hover {
  color: #E81F1F;
}
/*
.repi-product-page .scalapay-quantity-wrapper scalapay-widget {
  flex-shrink: 0;
}
*/

.repi-product-page .scalapay-quantity-wrapper .quantity-selector-wrapper {
  flex-shrink: 0;
}

/* Hide only the PrestaShop default quantity selector (not our custom one) */
.repi-product-page .product-add-to-cart .wrapper-quantity-selector > .product-quantity {
  display: none;
}

.repi-product-page .product-add-to-cart .wrapper-quantity-selector > .input-group.bootstrap-touchspin {
  display: none;
}

.repi-product-page .zoom-icon {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: white;
  border-radius: 50%;
  padding: 0.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.15s ease;
}

.repi-product-page .zoom-icon:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.repi-product-page .zoom-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
}

.repi-product-page .thumbnails {
  display: flex;
  margin-top: 1rem;
  gap: 1rem;
  justify-content: center;
}

.repi-product-page .thumbnail {
  width: 6rem;
  height: 6rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.375rem;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.repi-product-page .thumbnail.active {
  border-color: var(--shadow-soft);
}

.repi-product-page .thumbnail:hover {
  border-color: var(--repi-blue-light-hover);
}

.repi-product-page .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Details */
.repi-product-page .product-title {
  font-size: 28px;
  font-weight: 600;
  color: #163C5D;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-left: 0;
  margin-right: 0;
}

/* Badge stock (maquette : pilule arrondie compacte) */
.repi-product-page .stock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: #22C55E;
  color: #ffffff;
  border: none;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .stock-status-content-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.repi-product-page .stock-status-icon {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  margin: 0;
  position: static;
  flex-shrink: 0;
}

.repi-product-page .stock-status-icon::after {
  content: none;
}

.repi-product-page .stock-status-text {
  font-weight: 600;
  font-size: 11px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .stock-status.stock-status-green {
  background: #22C55E;
  color: #ffffff;
}

.repi-product-page .stock-status.stock-status-yellow {
  background: #FEBA27;
  color: #ffffff;
}

.repi-product-page .stock-status.stock-status-red {
  background: #E81F1F;
  color: #ffffff;
}

.repi-product-page .stock-status-green .stock-indicator {
  background-color: #fff;
}

.repi-product-page .stock-status-yellow .stock-indicator {
  background-color: #fff;
}

.repi-product-page .stock-status-red .stock-indicator {
  background-color: #fff;
}


/* Product Info Table */
.repi-product-page .item-box {
  background-color: #fff;
  padding: 30px 40px;
  border: 1px solid #E8EDF2;
  border-radius: 16px;
  margin-bottom: 10px;
}

/* Chaque .product-right-item-box est une carte indépendante avec ses propres coins arrondis */

.repi-product-page .info-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  margin: 0;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.repi-product-page .info-label {
  color: var(--repi-blue-light);
  font-weight: 550;
  /*! border-bottom: 1px solid #ccc; */
}

.repi-product-page .info-value {
  font-weight: 400;
  color: var(--repi-blue-light);
  text-align: right;
}

/* Price and Add to Cart */
/* Prix (maquette : flex baseline avec gros prix + petit "TTC") */
.repi-product-page .product-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #163C5D;
  margin: 6px 0px 6px 0px;
}

.repi-product-page .price-section .price,
.repi-product-page .product-prices .price {
  font-size: 32px;
  font-weight: 700;
  color: #163C5D;
  letter-spacing: -1px;
  line-height: 1;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .price-section .price-currency,
.repi-product-page .product-prices .price-currency {
  font-size: 13px;
  font-weight: 400;
  color: #163C5D;
  line-height: 1;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page #advanceddateofdelivery_button {
  display: none;
}

#shipping-modal .price {
  font-size: 1rem;
  font-weight: normal;
  color: var(--repi-blue-dark);
}

.repi-product-page .payment-info {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 1.2rem 0 1.7rem 0;
}

.repi-product-page .add-to-cart-form {
  display: block;
}

/* Anciennes règles .quantity-* supprimées — remplacées par .qty-input / .qty-btn / .qty-val (voir plus bas) */

.repi-product-page .add-to-cart-btn {
  flex: 1;
  background-color: #E84242;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  transition: background-color 0.15s ease;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.repi-product-page .add-to-cart-btn:hover {
  background-color: var(--btn-color-hover);
}

.repi-product-page .add-to-cart-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--btn-color-bg), 0.3);
}

/* Payment Methods (maquette : icônes nues, sans bordure) */
.repi-product-page .payment-methods {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.repi-product-page .payment-method {
  height: 28px;
  width: auto;
  border: none;
  border-radius: 0;
  object-fit: contain;
}

/* Shipping Info */
.repi-product-page .shipping-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  font-size: 1rem;
}

.repi-product-page .shipping-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.repi-product-page .shipping-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.repi-product-page .shipping-title {
  font-weight: 500;
  /*! font-weight: var(--font-weight-bold); */
  /*! color: var(--repi-blue-light); */
  font-size: 13px;
  text-transform: uppercase;
}

.repi-product-page .shipping-subtitle {
  /*color: #6b7280;
      font-size: 0.75rem;*/
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
}

/* Product Tabs */
.repi-product-page .tabs-section {
  /*! padding: 0 1rem; */
  /*! margin-bottom: 2rem; */
}

#tabs-section-container {
  position: relative;
  overflow: visible;
}

#tabs-section-container::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.repi-product-page .tab-headers {
  border-bottom: 1px solid #e5e7eb;
}

.repi-product-page .tab-nav {
  display: flex;
  flex-direction: column;
  margin-bottom: -1px;
}

.repi-product-page .tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  border-bottom: 2px solid transparent;
  font-weight: var(--font-weight-bold);
  font-size: 0.875rem;
  color: #6b7280;
  transition: all 0.15s ease;
  text-align: left;
  width: 100%;
}

.repi-product-page .tab-btn.active {
  border-bottom-color: #2563eb;
  color: #2563eb;
}

.repi-product-page .tab-btn:hover {
  color: #374151;
  border-bottom-color: #d1d5db;
}

.repi-product-page .tab-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.15s ease;
}

.repi-product-page .tab-content {
  padding: 1rem 0;
}

.repi-product-page .tab-panel {
  display: block;
}

.repi-product-page .tab-panel[style*="display: none"] {
  display: none !important;
}

/* Tables */
.repi-product-page .specs-table {
  overflow-x: auto;
}

.repi-product-page .specs-table table {
  width: 100%;
  border-collapse: collapse;
}

.repi-product-page .specs-table tbody {
  background: white;
}

.repi-product-page .specs-table tr {
  border-bottom: 1px solid #e5e7eb;
}

.repi-product-page .specs-table tr:last-child {
  border-bottom: none;
}

.repi-product-page .specs-table td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  vertical-align: top;
}

.repi-product-page .specs-table td:first-child {
  font-weight: 550;
  color: var(--repi-blue-light);
  width: 33.333333%;
  /*! background-color: #f9fafb; */
}

.repi-product-page .specs-table td:last-child {
  color: var(--repi-blue-light);
  font-weight: 400;
}

/* ─── Lignes specs façon maquette (grid 2 colonnes) ───────── */
.repi-product-page .specs-table {
  padding: 0;
  border: 1px solid #E8EDF2;
  border-top: none;
  border-radius: 10px;
  overflow: hidden;
}

.repi-product-page .specs-row {
  display: grid;
  grid-template-columns: 46% 1fr;
  font-size: 12px;
  border-bottom: 1px solid #E8EDF2;
  align-items: stretch;
}

.repi-product-page .specs-row:last-child {
  border-bottom: none;
}

/* Alternance de couleur entre chaque ligne (effet zébré) */
.repi-product-page .specs-row:nth-child(odd) {
  background: #fff;
}

.repi-product-page .specs-row:nth-child(even) {
  background: #f5f7fa;
}

.repi-product-page .specs-label {
  color: #4A6B85;
  font-weight: 400;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.repi-product-page .specs-value {
  color: #163C5D;
  font-weight: 500;
  border-left: 1px solid #E8EDF2;
  padding: 14px 18px;
  display: flex;
  align-items: center;
}

/* Description Section */
.repi-product-page .description-section {
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.repi-product-page .description-section h2 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--repi-blue-light);
  margin-bottom: 1rem;
}

.repi-product-page .description-section p {
  color: #374151;
  line-height: 1.6;
  font-size: 1.25rem;
  font-weight: lighter;
}

.repi-product-page .contact-form {
  padding: 0px;
}

/* Modal */
.modal_v1 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 1;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.modal_v1.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal_v1-content {
  background: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  transition: transform 300ms ease;
}

.modal_v1.hidden .modal_v1-content {
  transform: translateY(-20px);
}

.modal_v1:not(.hidden) .modal_v1-content {
  transform: translateY(0);
}

.modal_v1-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  /*! border-bottom: 1px solid #e5e7eb; */
}

.modal_v1-title {
  font-family: 'Oswald', sans-serif !important;
  font-size: 20px;
  font-weight: 300;
  color: var(--repi-blue-light);;
  margin: 0;
}

.modal_v1-close {
  color: var(--text-color);
  transition: color 0.15s ease;
  padding: 0.25rem;
  transition: transform 0.2s ease-in-out !important;
  position: relative;
  top: -15px;
  right: -15px;
}

.modal_v1-close:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: unset !important;
}


.modal_v1-close:hover {
  color: #6b7280;
}

.modal_v1-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.modal_v1-body {
  padding: 1rem;
  border-top: 1px solid #efefefef;
}

.modal_v1-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.modal_v1-body th {
  padding: 0.75rem 1rem;
  text-align: left;
  /*! font-size: 0.75rem; */
  /*! font-weight: var(--font-weight-bold); */
  /*! color: #6b7280; */
  /*! text-transform: uppercase; */
  letter-spacing: 0.05em;
  border-bottom: 1px solid #f9fafb;
  background-color: #efefef;
}

.modal_v1-body td {
  padding: 1rem;
  border: 1px solid #e5e7eb;
}

/* Related Products */
.repi-product-page .related-section {
  background: white;
  padding: 35px 40px 40px 40px;
  border: 1px solid #E8EDF2;
  border-radius: 16px;
}

.repi-product-page .related-title {
  color: #163C5D;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4em;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.repi-product-page .related-products-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.repi-product-page .related-product-item {
  display: block;
  padding: 5px 0;
  text-decoration: none;
  transition: all 0.15s ease;
  border-bottom: 1px solid #d1d5db;
}

.repi-product-page .related-product-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.repi-product-page .related-product-item:hover {
  background-color: #f9fafb;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
}

.repi-product-page .related-product-name {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--repi-blue-light);
  line-height: 1.5;
  transition: color 0.15s ease;
}

.repi-product-page .related-product-item:hover .related-product-name {
  color: var(--repi-red);
}

/* Contact Form */
.repi-product-page .contact-section {
  background-image: url('../img/_Image/back-formulaire-contact.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  color: white;
  border-radius: 0.375rem;
  padding: 2.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.repi-product-page .contact-section .contact-form {
  background-color: transparent;
  padding: 0;
}

.repi-product-page .contact-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.repi-product-page .image-icon {
  width: 1rem;
  height: 1rem;
}

.repi-product-page .shipping-info .image-icon {
  width: 4rem;
  height: 4rem;
}

.repi-product-page .contact-title {
  font-size: 20px;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 500;
  margin: 0;
}

.repi-product-page .contact-subtitle {
  font-size: 13px;
  color: white;
  margin: 0 0 1rem 0;
  font-family: "OpenSS", Arial, Sans-serif;
}

.repi-product-page .contact-form .form-group {
  margin-bottom: 1rem;
}

#product-images-right .slick-track {
  margin-left: 20px !important;
}


#product-left .slick-slide {
  height: auto !important;
}

.repi-product-page .contact-form input,
.repi-product-page .contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent !important;
  border: 2px solid #fff;
  border-radius: 0.375rem;
  color: white;
  font-size: 0.875rem;
}

.repi-product-page .contact-submit {
  background-color: #E84242;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.25s ease;
}

.repi-product-page .contact-submit:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(232, 66, 66, 0.4);
  filter: brightness(1.25);
}

.repi-product-page .contact-submit:hover {
  background-color: #E84242;
  color: #fff;
}

.repi-product-page .contact-submit svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

/* Utility Classes */
.repi-product-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Focus States for Accessibility */
.repi-product-page button:focus,
.repi-product-page input:focus,
.repi-product-page select:focus,
.repi-product-page textarea:focus {
  /*! outline: 2px solid #3b82f6; */
  /*! outline-offset: 2px; */
  /*! color: var(--repi-blue-light); */
}

/* Print Styles */
@media print {

  .modal_v1,
  .repi-product-page .contact-section {
    display: none;
  }

  .repi-product-page .zoom-icon,
  .repi-product-page .related-add-btn {
    display: none;
  }
}

/* === REPIAUTO DESIGN SYSTEM === */

.repi-product-page h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: var(--font-weight-bold);
  font-size: 2.2rem;
  color: var(--repi-blue-dark);
  margin-bottom: 0.5em;
}

.repi-product-page h2 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: #163c5d;
  margin-bottom: 0.5em;
  font-weight: var(--font-weight-regular);
}

.repi-product-page h3 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: var(--repi-blue-light);
  margin-bottom: 0px;
}

/* COULEURS PRINCIPALES */
.repi-product-page .add-to-cart-btn,
.repi-product-page .btn-red {
  color: #fff;
  background: #E84242;
  border-color: #E84242;
}

.repi-product-page .btn-blue {
  color: #fff;
  background: var(--repi-blue-dark);
  border-color: var(--repi-blue-dark);
}

.repi-product-page .btn-outline-red {
  color: var(--repi-red);
  background: transparent;
  border: 2px solid var(--repi-red);
}

.repi-product-page .btn-outline-blue {
  color: var(--repi-blue-dark);
  background: transparent;
  border: 2px solid var(--repi-blue-dark);
}

.repi-product-page .btn-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* BOUTONS */
.repi-product-page button,
.repi-product-page .btn {
  border-radius: var(--radius);
  /*! box-shadow: var(--shadow-soft); */
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 400;
  padding: 12px 0;
  font-size: 13px;
}
/*
.repi-product-page button:hover:not(.btn-disabled),
.repi-product-page .btn:hover:not(.btn-disabled) {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
*/

/* ARRONDIS */
.repi-product-page .card,
.repi-product-page .popup,
.modal_v1,
.repi-product-page .add-to-cart-btn,
.repi-product-page .btn,
.repi-product-page input,
.repi-product-page select,
.repi-product-page textarea {
  border-radius: var(--radius);
}

/* GRILLE & MARGES */
.repi-product-page .main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .repi-product-page .main-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
  }

  .repi-product-page {
    /*! padding-left: 8vw; */
    /*! padding-right: 8vw; */
  }
}

/* ICONES */
.repi-product-page svg {
  min-width: 16px;
  min-height: 16px;
  vertical-align: middle;
}

.stars__rating {
  line-height: 5px !important;
}

.repi-product-page .icon-red svg {
  color: var(--repi-red);
}

.repi-product-page .icon-blue svg {
  color: var(--repi-blue-light);
}

/* INTERACTIFS */
.repi-product-page button,
.repi-product-page .btn,
.repi-product-page .card,
.repi-product-page .popup {
  /*! transition: box-shadow 0.3s, background 0.3s, color 0.3s; */
}

.repi-product-page button:hover,
.repi-product-page .btn:hover,
.repi-product-page .card:hover {
  cursor: pointer;
  /*! box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10); */
}

/* OMBRAGES — supprimées pour uniformité des cartes */

/* ANIMATION */
.repi-product-page .transition {
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}

/* EXEMPLES DE CLASSES UTILITAIRES */
.repi-product-page .bg-beige {
  background: var(--repi-beige);
}

.repi-product-page .text-blue-dark {
  color: var(--repi-blue-dark);
}

.repi-product-page .text-blue-light {
  color: var(--repi-blue-light);
}

.repi-product-page .text-red {
  color: var(--repi-red);
}

.repi-product-page .specs-table tr:nth-child(2n+1) td {
  background: #f9fafb;
}

/* ─── Nouvelle structure image principale (maquette) ──────── */
.repi-product-page .product-image-main {
  width: 100%;
  background: #ffffff;
  border: 1px solid #E8EDF2;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}

.repi-product-page .product-image-main > img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  transition: opacity 0.2s;
}

.repi-product-page .product-thumbnails {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  flex-direction: row;
  gap: 6px;
  z-index: 5;
}

.repi-product-page .product-thumbnails .thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1.5px solid #E8EDF2;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.repi-product-page .product-thumbnails .thumb.active,
.repi-product-page .product-thumbnails .thumb:hover {
  border-color: #163C5D;
}

.repi-product-page .product-thumbnails .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ─── OEM en H2 dans le tableau Caractéristiques générales ─ */
.repi-product-page .specs-table .oem-h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  display: inline;
  line-height: inherit;
}

/* ─── Ligne stock + rating (côte à côte, stock en premier) ─── */
.repi-product-page .rating-stock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stock à gauche, avis à droite */
.repi-product-page .rating-stock-row .stock-netreviews-container {
  order: 1;
}

.repi-product-page .rating-stock-row .product-rating {
  order: 2;
}

/* Barre séparatrice grise entre le stock et la notation
   (premier enfant flex du .product-rating, devient un item à part entière). */
.repi-product-page .rating-stock-row .product-rating::before {
  content: '';
  display: block;
  width: 1px;
  height: 16px;
  background: #E8EDF2;
  flex-shrink: 0;
}

/* ─── Notation produit (étoiles + note + nb avis) ─────────── */
.repi-product-page .product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  line-height: 1.2;
}

.repi-product-page .product-rating .rating-stars {
  display: inline-flex;
  align-items: center;
}

.repi-product-page .product-rating .rating-stars img,
.repi-product-page .product-rating .rating-stars svg {
  height: 16px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.repi-product-page .product-rating .rating-score {
  font-size: 13px;
  font-weight: 600;
  color: var(--repi-blue-light);
  white-space: nowrap;
}

.repi-product-page .product-rating .rating-link {
  font-size: 12px;
  color: #6B8499;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color 0.2s;
  cursor: pointer;
}

.repi-product-page .product-rating .rating-link:hover {
  color: #1B8EF8;
}

.repi-product-page .product-rating .rating-score:empty,
.repi-product-page .product-rating .rating-link:empty {
  display: none;
}

/* Skeepers injecte son propre compteur — on le masque, on a le nôtre */
.repi-product-page .product-rating .skeepers_product__stars .rate-total {
  display: none !important;
}

/* ─── Pastilles références (RA + OEM) ─────────────────────── */
.repi-product-page .product-refs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.repi-product-page .ref-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  line-height: 1.4;
}

.repi-product-page .ref-tag-ra {
  background: #E8F3FF;
  color: #1B8EF8;
}

.repi-product-page .ref-tag-oem {
  background: #F3F4F6;
  color: #374151;
}

/* OEM items : 3 max en desktop (par défaut, tous visibles vu qu'on rend max 3). */
.repi-product-page .ref-tag-oem .oem-item {
  display: inline;
}

.product-left {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  position: sticky;
  top: 118px; /* hauteur header sticky (100px) + 18px de respiration */
}

.product-left .product-info.item-box {
  position: static;
  border-radius: var(--border-radius);
  width: 100%;
  margin-top: 1rem;
}

#product-images.item-box {
  /*! min-height: 420px; */
  border-radius: var(--border-radius);
  padding: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  /*! display: flex; */
}

.product-title {
  margin-top: 0;
    margin-bottom: 8px;
}

.product-details {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.product-info.item-box {
  position: static;
  border-radius: var(--border-radius);
  width: 100%;
  margin-top: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#item-box-main {
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#tabs-section-container {
  position: relative;
}

#item-box-price {
  border-radius: var(--border-radius);
}

/* ─── Espacements colonne gauche : image 24px puis 12px ───── */
.repi-product-page .product-left > .product-image-main {
  margin-top: 0;
  margin-bottom: 24px;
}

.repi-product-page .product-left > #tabs-section-container {
  margin-top: 0;
  margin-bottom: 12px;
}

.repi-product-page .product-left > #tabs-section-container > * {
  margin-bottom: 12px;
}

.repi-product-page .product-left > #tabs-section-container > *:last-child {
  margin-bottom: 0;
}

/* ─── Espacements colonne droite : 20px sous item-box-main puis 10px ─── */
.repi-product-page .product-details > #item-box-main {
  margin-top: 0;
  margin-bottom: 20px;
}

.repi-product-page .product-details > *:not(#item-box-main) {
  margin-bottom: 20px;
}

.repi-product-page .product-details > *:last-child {
  margin-bottom: 0;
}

#item-box-shipping {
  border-radius: var(--border-radius);
}

#item-box-shipping h4 {
  font-weight: 500;
  margin-bottom: 10px !important;
}

#item-box-shipping p {
  font-family: "OpenSS", Arial, Sans-serif;
}

#item-box-shipping .shipping-separator {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 15px 0;
}

#item-box-shipping #shipping-min-price {
  font-weight: bold;
}

#item-box-shipping .shipping-fees-info {
  color: #d0121a;
  font-size: 13px;
  font-style: italic;
}

.info-icon-custom {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #163C5D;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-size: 12px;
  font-weight: bold;
  margin-right: 8px;
}

.repi-product-page p {
  font-size: 13px;
  color: var(--repi-blue-light);
}

.related-info {
  width: 70%;
}

.repi-product-page {
  /*! padding: 1rem; */
}

.related-item a.image-link {
  margin-right: 10px;
  margin-left: 10px;
}

.repi-product-page .contact-title {
  color: white;
}

.repi-product-page .related-item:first-child {
  border-radius: var(--border-radius);
}

.repi-product-page .related-item:last-child {
  border-radius: var(--border-radius);
}

.tab-item div.tab-title {
  border-bottom: 1px solid var(--repi-blue-dark);
  margin-bottom: 1rem;
}

.repi-product-page .item-box-title {
  font-family: "OpenSS", Arial, Sans-serif;
  color: var(--repi-blue-light);
  padding-top: 0;
  margin-top: 0;
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.repi-product-page .item-box-title:hover {
  color: #2B8FF2;
}

.repi-product-page .item-box-title:hover a svg circle {
  fill: #2B8FF2 !important;
}

.repi-product-page .item-box-title a {
  display: inline-block;
}

.repi-product-page .item-box-title a:hover svg circle {
  fill: #2B8FF2 !important;
}

.repi-product-page a:visited {
  text-decoration: none
}

.repi-product-page a {
  text-decoration: none;
}

.repi-product-page .accordion-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 14px 18px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: background-color 0.15s ease;
  z-index: 1;
  text-align: left;
}

.repi-product-page .accordion-btn .tab-title {
  font-size: 13px;
  font-weight: 600;
  color: #163C5D;
  letter-spacing: 0.3px;
  text-align: left;
}

.repi-product-page .accordion-btn:hover {
  background: #FAFBFC;
}

.repi-product-page .accordion-btn .toggle-icon {
  flex-shrink: 0;
  justify-self: end;
  transition: transform 0.25s ease;
}

.accordion-btn:hover {
  background-color: #f8f9fa;
  border-radius: 4px;
}

.repi-product-page .accordion-btn:hover {
  box-shadow: unset !important;
}

.accordion-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease-in-out;
}

.accordion-btn.active .accordion-icon.toggle-icon {
  transform: rotate(0deg);
}

.accordion-btn:not(.active) .accordion-icon.toggle-icon {
  transform: rotate(-90deg);
}

.accordion-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #e9ecef;
}

.compatibility-header .accordion-icon {
  transform: rotate(180deg) !important;
}

.compatibility-header.active .accordion-icon {
  transform: rotate(360deg) !important;
}

.accordion-content {
  display: none;
  padding: 22px 0;
}

.accordion-content.active {
  display: block;
}

.shipping-info-links {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 500;
}

.shipping-info-links div {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.caret-icon-custom {
  margin-right: 8px;
  color: #163C5D;
  font-weight: bold;
}

.shipping-info-links div:hover .caret-icon-custom {
  color: #2B8FF2;
}

/* Quand la lightbox est ouverte, on assombrit le bubble chat (Crisp/Tawk/...)
   pour qu'il ne reste pas trop lumineux par-dessus le fond noir de la lightbox. */
body.lightbox-open div:has(> #chat-bubble) {
  filter: brightness(0.2) !important;
  transition: filter 0.3s ease;
}

/* ─── Cross sell "Complétez votre réparation" (maquette) ───── */
.crosssell-section {
  max-width: 1200px;
  margin: 16px auto 16px 0;
  padding: 0 0px;
}

.crosssell-section .crosssell-title {
  font-size: 16px;
  font-weight: 600;
  color: #163C5D;
  margin: 0 0 16px;
  display: flex;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif !important;
}

.crosssell-section .crosssell-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: #E81F1F;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Mode grille (≤ 4 produits) : .crosssell-outer se comporte comme un grid */
.crosssell-section:not(.crosssell-has-carousel) .crosssell-outer {
  overflow: visible;
}
.crosssell-section:not(.crosssell-has-carousel) .crosssell-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  transform: none !important;
}

/* Mode carrousel (> 4 produits) : track horizontal, cards à largeur fixe */
.crosssell-section.crosssell-has-carousel .crosssell-outer {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.crosssell-section.crosssell-has-carousel .crosssell-outer:active {
  cursor: grabbing;
}
.crosssell-section.crosssell-has-carousel .crosssell-track {
  display: flex;
  gap: 14px;
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.crosssell-section.crosssell-has-carousel .crosssell-card {
  /* 4 cartes visibles + 3 gaps de 14px à répartir */
  width: calc((100% - 42px) / 4);
  flex-shrink: 0;
}

/* Barre de progression du carrousel */
.crosssell-section .crosssell-prog-bg {
  margin-top: 16px;
  height: 5px;
  background: #C8D5E0;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.crosssell-section .crosssell-prog-fg {
  height: 5px;
  /* width et left sont pilotés en JS pour refléter la portion visible
     du carrousel par rapport au total. */
  background: #163C5D;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 0;
  transition: left 0.4s cubic-bezier(.4, 0, .2, 1), width 0.4s cubic-bezier(.4, 0, .2, 1);
}

.crosssell-section .crosssell-card {
  background: #ffffff;
  border: 1px solid #E8EDF2;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.crosssell-section .crosssell-card:hover {
  transform: translateY(-2px);
}

.crosssell-section .crosssell-img {
  background: #ffffff;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid #E8EDF2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.crosssell-section .crosssell-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.crosssell-section .crosssell-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.crosssell-section .crosssell-name {
  font-size: 11px;
  font-weight: 500;
  color: #163C5D;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
  font-family: 'Poppins', sans-serif;
}

.crosssell-section .crosssell-card:hover .crosssell-name {
  color: #E81F1F;
}

.crosssell-section .crosssell-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.crosssell-section .crosssell-ref {
  font-size: 10px;
  color: #1B8EF8;
  background: #E8F3FF;
  padding: 2px 7px;
  border-radius: 4px;
  width: fit-content;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.crosssell-section .crosssell-ref-oem {
  font-size: 10px;
  color: #374151;
  background: #F3F4F6;
  padding: 2px 7px;
  border-radius: 4px;
  width: fit-content;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.crosssell-section .crosssell-price {
  font-size: 14px;
  font-weight: 700;
  color: #163C5D;
  margin-top: auto;
  padding-top: 4px;
  font-family: 'Poppins', sans-serif;
}

.crosssell-section .crosssell-price span {
  font-size: 10px;
  font-weight: 400;
  color: #4A6B85;
  margin-left: 2px;
}

@media (max-width: 900px) {
  /* Grille : 2 colonnes */
  .crosssell-section:not(.crosssell-has-carousel) .crosssell-track {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Carrousel : 2 cartes visibles + 1 gap de 14px */
  .crosssell-section.crosssell-has-carousel .crosssell-card {
    width: calc((100% - 14px) / 2);
  }
}

@media (max-width: 480px) {
  /* Grille : 1 colonne */
  .crosssell-section:not(.crosssell-has-carousel) .crosssell-track {
    grid-template-columns: 1fr;
  }
  /* Carrousel : 1 carte visible */
  .crosssell-section.crosssell-has-carousel .crosssell-card {
    width: 100%;
  }
}

/* ─── Lightbox image produit (maquette) ───────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 30, 0.92);
  z-index: 2000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 80vw;
  max-height: 80vh;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
}

.lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.repi-product-page .lightbox-close,
.lightbox .lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: none !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 16px !important;
  color: #163C5D !important;
  transition: background 0.2s, color 0.2s, transform 0.3s !important;
  font-family: 'Poppins', sans-serif !important;
  padding: 0 !important;
  z-index: 2;
  box-shadow: none !important;
  line-height: 1;
}

.repi-product-page .lightbox-close:hover,
.lightbox .lightbox-close:hover {
  background: #E81F1F !important;
  color: #ffffff !important;
  transform: rotate(90deg) !important;
}

.repi-product-page .lightbox-nav,
.lightbox .lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 25px !important;
  line-height: 0 !important;
  transition: background 0.2s !important;
  padding: 0 0 4px !important;
  font-family: 'Poppins', sans-serif !important;
  box-shadow: none !important;
}

.repi-product-page .lightbox-nav:hover,
.lightbox .lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}

.lightbox-nav.prev {
  left: -56px;
}

.lightbox-nav.next {
  right: -56px;
}

.lightbox-counter {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
  margin-top: 12px;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
  .lightbox-nav.prev {
    left: 8px;
  }
  .lightbox-nav.next {
    right: 8px;
  }
  .lightbox-close {
    top: 8px;
    right: 8px;
  }
}

.shipping-info-links div a {
  font-family: 'OpenSS', Arial, sans-serif;
  color: #163C5D;
  text-decoration: none;
}

.shipping-info-links div a:hover {
  color: #2B8FF2;
}

.repi-product-page .slick-prev::before {
  left: -20px;
}

.repi-product-page .slick-next::before {
  right: -20px;
}

.product-images-container {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


/* ─── Carte type "specs-card" pour chaque tab-item ─────────── */
.repi-product-page .tab-item {
  background: #ffffff;
  border: 1px solid #E8EDF2;
  border-radius: 16px;
  overflow: hidden;
}

.repi-product-page .tab-item + .tab-item {
  margin-top: 12px;
}

/* Le wrapper #tabs-section (qui contient les tab-item) ne doit plus
   afficher sa propre carte — chaque .tab-item porte la sienne. */
.repi-product-page #tabs-section.item-box {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

/* ─── Compatibilité véhicule (maquette) ───────────────────── */
.repi-product-page .tab-item.vehicle-compatibility-section .accordion-content,
.repi-product-page #description-section .accordion-content {
  padding: 14px 18px 18px;
}

.repi-product-page #description-section .accordion-content {
  font-size: 13px;
  line-height: 1.7;
  color: #4A6B85;
}

.repi-product-page #description-section .accordion-content p {
  margin: 0 0 10px;
  font-size: inherit;
  color: inherit;
}

.repi-product-page #description-section .accordion-content p:last-child {
  margin-bottom: 0;
}

.repi-product-page #description-section .accordion-content strong {
  color: #163C5D;
}

.repi-product-page #description-section .accordion-content a {
  color: #163C5D;
  font-weight: 500;
}

.repi-product-page #description-section .accordion-content a:hover {
  color: #E81F1F;
}

.repi-product-page .compat-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #163C5D;
  margin: 12px 0;
}

.repi-product-page .compat-info svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.repi-product-page .compat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: transparent;
}

.repi-product-page .compat-table thead tr {
  background: rgba(43, 143, 242, 0.07);
}

.repi-product-page .compat-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  color: #163C5D;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .compat-table th:first-child {
  border-radius: 8px 0 0 8px;
}

.repi-product-page .compat-table th:last-child {
  border-radius: 0 8px 8px 0;
}

.repi-product-page .compat-table tbody tr {
  border-bottom: 1px solid #F0F4F8;
  background: transparent;
}

.repi-product-page .compat-table tbody tr:last-child {
  border-bottom: none;
}

.repi-product-page .compat-table td {
  padding: 12px 16px;
  border: none;
  font-family: 'Poppins', sans-serif !important;
  vertical-align: middle;
}

.repi-product-page .compat-table .compat-brand {
  font-weight: 600;
  color: #163C5D;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.repi-product-page .compat-table .compat-model {
  color: #4A6B85;
  font-weight: 500;
}

.repi-product-page .compat-table .compat-year {
  background: rgba(43, 143, 242, 0.07);
  color: #163C5D;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin: 2px 4px 2px 0;
  transition: background 0.2s, color 0.2s;
}

.repi-product-page .compat-table .compat-year:hover {
  background: rgba(43, 143, 242, 0.18);
  color: #163C5D;
  text-decoration: none;
}

/* Ligne du véhicule courant : transparente comme les autres (la mise en avant
   pourra se faire autrement si besoin, ex. une icône à côté). */
.repi-product-page .vehicle-compatibility-section .current-product-row {
  background: transparent;
}

.repi-product-page .tab-item .accordion-btn.active {
  border-bottom: 1px solid #E8EDF2;
}

.repi-product-page .tab-item .accordion-content {
  display: none;
  padding: 0;
}

.repi-product-page .tab-item .accordion-content.active {
  display: block;
}

.repi-product-page .wrapper-quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.repi-product-page .product-quantity .qty {
  margin-right: 0;
  margin-bottom: 0;
}

#product .repi-product-page .product-quantity.flex-between {
  margin-bottom: 0;
}

.add.add-to-cart-wrapper {
  flex: 1;
}

.product-add-to-cart.js-product-add-to-cart {
  width: 100%;
}

.add-to-cart-btn.add-to-cart {
  width: 100%;
}

/* ─── Sélecteur de quantité (maquette) ───────────────────── */
.repi-product-page .qty-input {
  display: flex !important;
  align-items: stretch;
  border: 1px solid #E8EDF2 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  width: 116px !important;
  min-width: 116px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.repi-product-page .qty-input .qty-btn {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 44px !important;
  background: #f5f7fa !important;
  border: none !important;
  font-size: 18px !important;
  color: #163C5D !important;
  cursor: pointer !important;
  font-family: 'Poppins', sans-serif !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  flex-basis: 36px !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  line-height: 1;
  text-transform: none;
  position: relative;
  z-index: 2;
}

.repi-product-page .qty-input .qty-btn-minus {
  border-right: 1px solid #E8EDF2 !important;
}

.repi-product-page .qty-input .qty-btn-plus {
  border-left: 1px solid #E8EDF2 !important;
}

.repi-product-page .qty-input .qty-btn:hover {
  background: #163C5D !important;
  color: #ffffff !important;
}

.repi-product-page .qty-input .qty-val {
  width: 44px !important;
  height: 44px !important;
  text-align: center;
  font-size: 14px !important;
  font-weight: 600;
  color: #163C5D !important;
  border: none !important;
  background: #ffffff !important;
  font-family: 'Poppins', sans-serif !important;
  outline: none;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -moz-appearance: textfield;
}

.repi-product-page .qty-input .qty-val::-webkit-outer-spin-button,
.repi-product-page .qty-input .qty-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Neutralise le wrapper Bootstrap-TouchSpin que PrestaShop core injecte
   autour de #quantity_wanted : on aplatit la structure et on masque ses
   boutons up/down internes — on garde nos propres .qty-btn-minus/.qty-btn-plus. */
.repi-product-page .qty-input .input-group.bootstrap-touchspin {
  display: contents !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.repi-product-page .qty-input .input-group.bootstrap-touchspin .bootstrap-touchspin-prefix,
.repi-product-page .qty-input .input-group.bootstrap-touchspin .bootstrap-touchspin-postfix,
.repi-product-page .qty-input .input-group.bootstrap-touchspin .input-group-btn-vertical,
.repi-product-page .qty-input .input-group.bootstrap-touchspin .bootstrap-touchspin-up,
.repi-product-page .qty-input .input-group.bootstrap-touchspin .bootstrap-touchspin-down {
  display: none !important;
}

/* ─── Carte livraison (maquette delivery-card) ────────────── */
.repi-product-page .delivery-card {
  background: #ffffff;
  border: 1px solid #E8EDF2;
  border-radius: 14px;
  overflow: hidden;
}

.repi-product-page .delivery-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid #E8EDF2;
  font-size: 13px;
  font-weight: 600;
  color: #163C5D;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .delivery-card-header svg {
  width: 14px;
  height: 14px;
  stroke: #4A6B85;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.repi-product-page .delivery-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 0.5px solid #F0F4F8;
  gap: 12px;
}

.repi-product-page .delivery-option:last-child {
  border-bottom: none;
}

.repi-product-page .delivery-option-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.repi-product-page .delivery-option-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(43, 143, 242, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.repi-product-page .delivery-option-icon svg {
  width: 15px;
  height: 15px;
  stroke: #163C5D;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.repi-product-page .delivery-option-name {
  font-size: 12px;
  font-weight: 600;
  color: #163C5D;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .delivery-option-delay {
  font-size: 11px;
  color: #4A6B85;
  margin-top: 1px;
  font-family: 'Poppins', sans-serif !important;
}

/* Prix de livraison (réactivé, calculé pour le produit seul via getDeliveryOptionList) */
.repi-product-page .delivery-option-price {
  font-size: 12px;
  font-weight: 600;
  color: #163C5D;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .delivery-option-price.free {
  color: #2E7D32;
}

/* Lien "Informations sur le délai de livraison" sous la carte livraison */
.repi-product-page #item-box-shipping .shipping-info-extra {
  padding: 10px 4px 0;
}

.repi-product-page #item-box-shipping .shipping-info-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #4A6B85;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.repi-product-page #item-box-shipping .shipping-info-link:hover {
  color: #163C5D;
}

.repi-product-page #item-box-shipping .shipping-info-link svg {
  flex-shrink: 0;
}

/* ─── Réassurance (maquette reassurance-strip) ───────────── */
.repi-product-page .reassurance-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #E8EDF2;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.repi-product-page .reassurance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 14px 10px;
  text-align: center;
  border-right: 1px solid #E8EDF2;
}

.repi-product-page .reassurance-item:last-child {
  border-right: none;
}

.repi-product-page .reassurance-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.repi-product-page .reassurance-item svg {
  width: 32px;
  height: 32px;
  object-fit: contain;
  stroke: #E81F1F;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.repi-product-page .reassurance-label {
  font-size: 10px;
  font-weight: 700;
  color: #163C5D;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .reassurance-sub {
  font-size: 11px;
  color: #163C5D;
  font-weight: 600;
  font-family: 'Poppins', sans-serif !important;
}

/* ─── Carte contact "Doute sur cette pièce ?" (maquette) ─── */
.repi-product-page .contact-card {
  background: linear-gradient(180deg, #1e5580 0%, #0f2540 100%);
  border-radius: 14px;
  padding: 28px;
  color: #ffffff;
}

.repi-product-page .contact-card .contact-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .contact-card .contact-card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .contact-card .contact-form {
  display: block;
  background: transparent;
  padding: 0;
}

.repi-product-page .contact-card .contact-input {
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  outline: none;
  margin-bottom: 8px;
  transition: border-color 0.2s;
  box-shadow: none;
}

/* Placeholder blanc : theme.css:10876 force #7a7a7a sur tous les input via les
   variantes vendor-prefixees, qui battent ::placeholder standard sur certains
   navigateurs. IMPORTANT : grouper ces variantes dans une seule liste
   invalide toute la regle (toute variante non reconnue casse le selecteur),
   donc chaque variante doit etre dans un bloc independant. */
.repi-product-page .contact-card .contact-input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}
.repi-product-page .contact-card .contact-input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}
.repi-product-page .contact-card .contact-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}
.repi-product-page .contact-card .contact-input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}
.repi-product-page .contact-card .contact-input::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
}

/* Selecteur ultra-specifique : forcer le placeholder blanc opaque sur TOUS
   les champs de la contact-card (email, immatriculation, message) pour avoir
   un rendu cohérent. Sans ça, theme.css force #7a7a7a sur certains champs. */
#product-contact-email::placeholder,
#product-contact-plate::placeholder,
#product-contact-message::placeholder {
  color: rgba(255, 255, 255, 1) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 1) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .contact-card .contact-input:focus {
  border-color: rgba(255, 255, 255, 0.9);
}

/* Champ invalide : bordure + glow rouge pour signaler l'erreur en temps réel */
.repi-product-page .contact-card .contact-input.contact-input-invalid,
.repi-product-page .contact-card .contact-input.contact-input-invalid:focus {
  border-color: #E81F1F !important;
  box-shadow: 0 0 0 2px rgba(232, 31, 31, 0.2);
}

.repi-product-page .contact-card .contact-textarea {
  height: 80px;
  resize: none;
}

.repi-product-page .contact-card .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E81F1F;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s;
  box-shadow: none;
  text-transform: none;
}

.repi-product-page .contact-card .contact-btn:hover {
  background: #c01515;
}

.repi-product-page .contact-card .contact-btn svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.repi-product-page .contact-card .contact-btn:hover svg {
  transform: translateX(3px);
}

/* ─── Message de réponse du formulaire contact ─────────────── */
.repi-product-page .contact-card #product-contact-response,
.repi-product-page .product-contact-response {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  font-family: 'Poppins', sans-serif !important;
  border: 1px solid transparent;
  animation: contactResponseIn 0.3s ease-out;
}

@keyframes contactResponseIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.repi-product-page .contact-card #product-contact-response.success,
.repi-product-page .product-contact-response.success {
  background: rgba(34, 197, 94, 0.15);
  color: #FFFFFF;
  border-color: rgba(34, 197, 94, 0.45);
}

.repi-product-page .contact-card #product-contact-response.error,
.repi-product-page .product-contact-response.error {
  background: rgba(232, 31, 31, 0.18);
  color: #FFFFFF;
  border-color: rgba(232, 31, 31, 0.55);
}

/* ─── Liens utiles (Conditions de livraison / Politique retour) ─── */
.repi-product-page .info-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.repi-product-page .info-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #163C5D;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  font-family: 'Poppins', sans-serif !important;
}

.repi-product-page .info-link svg {
  width: 10px;
  height: 10px;
  fill: #163C5D;
  stroke: none;
  flex-shrink: 0;
  transition: fill 0.2s;
}

.repi-product-page .info-link:hover {
  color: #E81F1F;
}

.repi-product-page .info-link:hover svg {
  fill: #E81F1F;
}

/* ─── Bouton "Ajouter au panier" (maquette) ─────────────── */
.repi-product-page .add-to-cart-btn.add-to-cart {
  flex: 1;
  background: #E81F1F;
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: auto;
  box-shadow: none;
  transition: background 0.2s;
}

.repi-product-page .add-to-cart-btn.add-to-cart:hover {
  background: #E81F1F;
}

.repi-product-page .add-to-cart-btn.add-to-cart .add-to-cart-icon {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(.4, 0, .2, 1);
  flex-shrink: 0;
}

.repi-product-page .add-to-cart-btn.add-to-cart:hover .add-to-cart-icon {
  transform: translateX(4px);
}

.repi-product-page .add-to-cart-btn.add-to-cart[disabled],
.repi-product-page .add-to-cart-btn.add-to-cart:disabled {
  background: #c8c8c8;
  cursor: not-allowed;
}

/* #quantity_wanted : styles déplacés dans .qty-val (voir bloc Sélecteur de quantité) */

.input-group.bootstrap-touchspin {
  position: relative;
  flex-shrink: 0;
  /*! border: 1px solid var(--repi-blue-light); */
  border-radius: 6px;
}

.btn.btn-touchspin.js-touchspin {
  flex: 1;
  padding: 0 0.375rem;
  background-color: #f3f4f6;
  border-left: 1px solid #d1d5db;
  /*! display: flex; */
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
  border-radius: 0;
  border-top-right-radius: 0px;
  color: #6b7280;
}

.bootstrap-touchspin .input-group-btn-vertical {
  /*! position: absolute; */
  /*! top: 0; */
  /*! right: 0; */
  /*! height: 100%; */
  /*! display: flex; */
  /*! flex-direction: column; */
  display: none;
}

.quantity-selector-wrapper {
  position: relative;
  flex-shrink: 0;
  border: none;
  border-radius: 6px;
}

.breadcrumb.hidden-sm-down {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #163c5d;
  font-weight: 400;
  flex: 1;
}

#breadcrumb-right-container .review-modal-show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--repi-blue-light);
  text-decoration: none;
}

#breadcrumb-right-container .review-modal-show span {
  margin: 0;
}

#item-box-title a[data-target="#modalNetreviews"] {
  display: none !important;
}

/* Hide NetReviews that are direct children of #item-box-title (not in our container) */
#item-box-title > a[data-target="#modalNetreviews"],
#item-box-title > div:not(.stock-netreviews-container) a[data-target="#modalNetreviews"] {
  display: none !important;
}

#breadcrumb-backwards ::after {
  display: none;
}

#breadcrumb-backwards a.cta-backwards {
  margin: 0;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #163C5D !important;
}

#breadcrumb-backwards a.cta-backwards:hover {
  color: #FC2938 !important;
}

/* Styliser la flèche <i> */
#breadcrumb-backwards a.cta-backwards i {
  font-size: 17px;
  color: #163C5D !important;
  top: 0px !important;
}

#breadcrumb-backwards a.cta-backwards:hover i {
  color: #FC2938 !important;
}

#header .header-top {
  color: #003D60;
  padding: 25px;
}

#mega_menu_plus ul.mg-menu>li>a {
  color: #003D60;
  text-transform: uppercase !important;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Oswald', Arial, sans-serif !important;
  letter-spacing: 0.05em;
  min-height: unset;
}

#mega_menu_plus ul.mg-menu>li>a:hover {
  color: #E94243;
}

#mega_menu_plus li.submenu-box span.submore::after {
  font-family: 'FontAwesome';
  font-size: 9px;
  content: "\f078";
  padding-left: 7px;
  width: 20px;
  height: 30px;
  position: relative;
  top: 10px;
}

.mg-menu>li.submenu-box:hover>a::before {
  bottom: -10px;
}

.breadcrumb li::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #163c5dd4;
  border-right: 2px solid #163c5dd4;
  transform: rotate(45deg);
  margin: 0 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.breadcrumb li:last-child::after {
  display: none;
}

#breadcrumb-backwards::after {
  content: none;
}

#breadcrumb-backwards {
  font-weight: normal;
  text-transform: lowercase;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

#mega_menu_plus>ul>li:nth-child(4)>a {
  /*color: #FEC800;*/
}

#breadcrumb-backwards .elementor-icon-wrapper {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
}

#breadcrumb-backwards .elementor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

#breadcrumb-backwards .ceicon-long-arrow-left {
  font-size: 1.2rem;
  line-height: 1;
}


.zoom-container {
  position: relative;
  overflow: hidden;
}

.zoom-image {
  width: 100%;
  display: block;
}

.zoom-lens {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 200%;
  /* Niveau de zoom */
  z-index: 10;
}

.product-info.item-box::before {
  content: "";
  background: #fff;
  width: 12px;
  height: 100%;
  display: block;
  position: absolute;
  left: -12px;
  top: 0;
  z-index: 0;
}

/* Responsive Design */

@media (max-width: 1024px) {
  .repi-product-page .product-section {
    gap: 0;
  }

  .repi-product-page .add-to-cart-btn {
    font-size: 13px;
  }

  .repi-product-page .item-box {
    padding: 1rem 1.5rem;
  }

  .stars {
    margin-right: 0px;
  }
}



@media (min-width: 1024px) {
  .repi-product-page nav {
    padding: 0.75rem 0;
    background-color: transparent;
  }

  .repi-product-page .product-section {
    grid-template-columns: 1fr 1.2fr;
    padding: 0 0 2rem;
  }

  .repi-product-page .thumbnails {
    /*! justify-content: flex-start; */
  }

  .repi-product-page .product-title {
    font-size: 28px;
    font-weight: 600;
  }

  .repi-product-page .price-section .price {
    font-size: 28px;
    font-weight: 700;
  }

  .repi-product-page .tab-nav {
    flex-direction: row;
  }

  .repi-product-page .tab-btn {
    margin-left: 2rem;
    justify-content: flex-start;
  }

  .repi-product-page .tab-btn:first-child {
    margin-left: 0;
  }

  .repi-product-page .tab-btn svg {
    display: none;
  }

  .repi-product-page .related-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 1024px) {
  .repi-product-page .related-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 768px) {
  .repi-product-page .product-section {
    display: block;
    padding: 0;
  }

  .product-left,
  .product-details {
    grid-area: unset;
  }

  .product-left {
    margin: 0px 16px;
    display: flex;
    flex-direction: column;
    position: static;
    top: auto;
  }

  .product-left .product-info.item-box {
    margin-top: 10px;
  }

  .cta-backwards {
    display: none !important;
  }

  .product-info.item-box {
    width: auto;
  }

  .vehicle-compatibility-section .section-title {
    padding: 12px 26px 12px 0px !important;
  }

  .repi-product-page .main-image {
    width: 70% !important;
    margin: 0 auto;
    display: block;
  }

  #product #wrapper .container {
    padding: 0;
  }

  .product-info.item-box::before {
    display: none;
  }

  /* Ancien code - désactivé car NetReviews est maintenant dans stock-netreviews-container */
  #item-box-title > a[data-target="#modalNetreviews"],
  #item-box-title > div:not(.stock-netreviews-container) a[data-target="#modalNetreviews"] {
    display: none !important;
  }

  #item-box-title a[data-target="#modalNetreviews"] .ratingText {
    margin-right: 6px;
    position: relative;
    top: -2px;
  }

  #breadcrumb-right-container {
    display: none;
  }

  .repi-product-page {
    padding: 0;
  }

  .repi-product-page #product-images {
    width: 100%;
    /*! min-height: 250px; */
    margin-bottom: 0;
    border-radius: var(--border-radius);
  }

  .repi-product-page .product-images-container {
    height: 250px;
  }

  .product-image-main {
    padding: 0;
  }

  #contact-section {
    border-radius: 0;
  }

  #product-images-right {
    width: 100%;
  }

  .repi-product-page .thumbnails {
    display: none;
  }

  .product-info.item-box {
    position: static;
  }

  .repi-product-page .item-box {
    /*! padding: 1rem; */
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
  }

  .repi-product-page h2.tab-title {
    font-size: 1rem;
  }

  .repi-product-page .tab-btn {
    font-size: 0.75rem;
  }

  .accordion-content {
    padding: 0;
  }

  #product-right {
    position: relative;
    top: 0;
    margin-top: 10px;
  }

  .repi-product-page .contact-section {
    margin-top: 10px;
  }

  #tabs-section.item-box {
    padding: 1rem;
  }

  #tabs-section.item-box .accordion-btn {
    padding-left: 0;
  }

  /* Menu hamburger mobile (taille titre + flou) */
  #mega_menu_plus ul.mg-menu>li>a {
    font-size: 1.25rem;
  }

  #header.is-open::before {
    content: '';
    position: fixed;
    top: 60px;
    /* Commencer APRÈS le header (même valeur que le menu) */
    left: 75vw;
    width: 25vw;
    height: calc(100vh - 60px);
    /* Ajuster la hauteur pour compenser */
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 8;
    /* Z-index plus bas que le menu (9999) */
    opacity: 0;
    animation: backdropFadeIn 0.5s ease-in-out 0.2s forwards;
  }

  @keyframes backdropFadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  /* Fin menu hamburger */

  .add.add-to-cart-wrapper {
    max-width: 100%;
  }

}


/* FIN DESIGN SYSTEM */

.repi-product-page .product-slider {
    width: 100%;
    height: 500px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.repi-product-page .product-slider .slick-list,
.repi-product-page .product-slider .slick-track {
    height: 100%;
}

.repi-product-page .product-slider .main-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Custom Thumbnail Carousel */
.product-thumbnails-carousel {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.thumb-track-wrapper {
  flex: 1;
  overflow: hidden;
}

.thumb-track {
  display: flex;
  transition: transform 0.3s ease;
}

.thumb-slide {
  padding: 4px;
  box-sizing: border-box;
  cursor: pointer;
  flex-shrink: 0;
}

/* L'ancienne bordure sur l'img interne a été retirée — seule la bordure du
   .thumb parent est utilisée (voir .product-thumbnails .thumb plus haut). */

.thumb-arrow {
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: #163C5D;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
  padding: 0 !important;
}


.thumb-arrow:hover:not(:disabled) {
  opacity: 0.7;
}

.thumb-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Navigation arrows */
.repi-product-page .slick-prev,
.repi-product-page .slick-next {
  width: 2rem;
  height: 2rem;
  z-index: 1;
}

.repi-product-page .slick-prev {
  left: 0.5rem;
}

.repi-product-page .slick-next {
  right: 0.5rem;
}

.repi-product-page .slick-prev:before,
.repi-product-page .slick-next:before {
  font-size: 2rem;
  color: #bdc0c4;
  opacity: 0.5;
  position: absolute;
  /*! left: 0; */
}

.repi-product-page .slick-prev:hover:before,
.repi-product-page .slick-next:hover:before {
  opacity: 1;
}

@media (max-width: 768px) {

  .repi-product-page .slick-prev,
  .repi-product-page .slick-next {
    width: 3rem;
    height: 3rem;
  }

  .repi-product-page .slick-prev:before,
  .repi-product-page .slick-next:before {
    font-size: 2rem;
  }
}

@media screen and (min-width: 768px) {
  #header .header-nav {
    padding: 15px;
  }
}

.wishlist {
  display: none;
}

small {
  line-height: 1.3rem;
}

.stock-status span {
  font-weight: 400;
}

.repi-product-page scalapay-widget {
  margin: 20px 0 !important;
}

.item-box-title .image-icon {
  margin-left: 0.3rem;
}

.contact-title img {
  display: none;
}

.related-price .price-currency {
  font-size: .6rem;
}

#description-section h2 {
    font-size: 16px;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500;
}

#description-section p {
  font-family: 'OpenSS', Arial, sans-serif;
  font-weight: 400;
}

#description-section h2 {
  margin-bottom: 10px;
}

#description-section p {
  font-size: 13px;
}

.tab-item .tab-title {
  font-weight: 500 !important;
}

@media screen and (max-width: 500px) {
  .shipping-info-links {
    display: block;
  }

  .shipping-info-links div {
    width: 100%;
    margin-bottom: 5px;
  }

  .repi-product-page .item-box {
    padding: 1rem 1.5rem;
  }

  #item-box-main {
    padding: 0.5rem 1rem;
  }

  #tabs-section.item-box {
    padding: 1.5rem 2rem;
  }

  .repi-product-page .specs-table td:first-child {
    width: 50%;
  }

  .repi-product-page .related-title {
    margin-top: 15px;
  }

  .plazo-delivery {
    display: none !important;
  }
}

@media screen and (max-width: 375px) {
  .repi-product-page .stock-status-text {
    font-size: 10px;
  }

  .skeepers_product__stars span {
    font-size: 10px !important;
  }

  .skeepers_product__stars .review__header {
    gap: 5px !important;
  }
}

@media screen and (max-width: 325px) {
  .repi-product-page svg {
    min-width: 12px !important;
    min-height: 12px !important;
  }

  .skeepers_product__stars .stars__item.stars__item {
    height: 12px !important;
    width: 12px !important;
  }

  .skeepers_product__stars .stars__item svg.stars__item svg {
    height: 12px !important;
    width: 12px !important;
  }
}

.plazo-delivery {
  display: none;
}

.specs-table td h2,
.info-value h2 {
  font-size: 0.875rem;
  font-weight: inherit;
  color: var(--repi-blue-light);
}

#header div#search_widget {
  min-width: 40%;
}

.hidden-sm-down a.leo-quicklogin-nav.leo-quicklogin {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  background-color: #fff;
  width: 100%;
}

span.cart-products-counts {
    color: white;
    font-weight: 500;
    font-family: Poppins, Sans-serif;
    font-size: 11px;
    border: solid 1px;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    margin-bottom: 22px;
    background-color: #E81F1F;
}

.right-nav {
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 5px;
}

.col-md-3.right-nav img.img-icon {
  margin-right: 5px;
}

.col-md-3.right-nav span.mon-compte {
  color: #003D60;
  font-size: 16px;
}


#_desktop_cart .cart-price {
  font-size: 14px;
  color: #003D60;
  font-family: Poppins, Sans-serif;
}

.header .price-total {
  margin-left: 5px;
  margin-right: 5px;
  font-weight: 500;
}

.header .price-total:hover {
    margin-left: 5px;
    margin-right: 5px;
    font-weight: 500;
    color: #E81F1F;
}

.cart-label {
    font-size: 14px;
}

.col-md-3.right-nav img.img-icon,
.col-md-3.right-nav img-icon-panier {
  width: 29px;
}


#header .header-nav {
  margin-top: 0;
  padding: 30px;
  background-color: #fff;
  margin-bottom: -4px;
  border-bottom: 1px solid #EDEDED;
}

#header {
  background-color: transparent;
  box-shadow: none;
  position: static;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    background-color: #e0e0e0;
    border-radius: 25px;
    box-shadow: 0 0 16px -8px rgba(0, 0, 0, 0.40) !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
}

.floating-label {
  font-size: 12px;
  font-weight: 400;
  font-family: Poppins, Sans-serif;
  color: #163c5dcf !important;
  margin-left: 32px;
}

.leo-quicklogin-nav.leo-quicklogin span:hover {
  color: #E81F1F !important;
}

.leo-quicklogin-nav .ms-2.hidden-sm-down.mon-compte:hover {
  color: #E81F1F !important;
}

#header .top-header {
  padding: 0;
}

#header .top-header-left,
#header .top-header-left a {
  color: #fff;
  font-weight: 500;
  font-size: 11px;
  font-family: OpenSS, Arial, Sans-serif;
}


#header .top-header-left {
  padding: 10px 10px 10px 20px;
}

#header .top-header-center {
  padding: 10px;
}

#header .top-header {
  text-align: initial;
}

#header .top-header-right {
  padding: 10px;
}

#header .top-header-center p {
  font-weight: 500;
  font-size: 11px;
  font-family: OpenSS, Arial, Sans-serif;
}

#header .top-header .top-header-left a:hover {
  color: #e53e3e !important;
}

#header a.pro-button {
  align-items: center;
  gap: 6px;
  background-color: #e53e3e;
  color: white;
  padding: 5px 25px;
  border: none;
  border-radius: 30px 0;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  position: absolute;
  height: 39px;
  top: 0;
  right: 0;
}

@media (min-width: 768px) and (max-width: 991px) {
    #header a.pro-button {
        align-items: center;
        gap: 6px;
        background-color: #e53e3e;
        color: white;
        padding: 5px 25px;
        border: none;
        border-radius: 30px 0;
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
        display: inline-flex;
        position: absolute;
        height: 40px;
        top: -10px;
        right: -12px;
    }
}

.pro-button:hover {
  background-color: #c53030;
}

.pro-icon {
  width: 16px;
  height: 16px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: OpenSS, Arial, Sans-serif;
}

.pro-icon::before {
  content: 'P';
  color: #e53e3e;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  font-family: OpenSS, Arial, Sans-serif;
}

#header .breadcrumb-container,
#header .header-top {
  background-color: #F9F7F6;
}

#category .header-top {
  /*padding-bottom: 0;*/
}

#category nav.breadcrumb {
  padding-top: 0;
}

.pro-text {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  font-family: OpenSS, Arial, Sans-serif;
}

#_desktop_cart .header {
  display: inline-flex;
  align-items: center;
}

.right-nav #_desktop_cart {
  display: flex;
  align-items: center;
}

.right-nav #_desktop_cart::before {
  content: "";
  display: block;
  height: 20px;
  width: 2px;
  background-color: #ccc;
  margin-right: 10px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .right-nav #_desktop_cart::before {
    display: none;
  }
}

.leo-quicklogin-nav.leo-quicklogin {
  line-height: 2rem;
  margin-bottom: 1px;
}


.leo-dropdown-cart-total .value.color-red {
  color: #FC2947;
}

.cart-preview.active.leo-blockcart.show-leo-loading {
  align-items: initial;
}

.cart-preview .leo-blockcart {
  width: 130px;
  padding-left: 0;
  margin-left: 0;
}

#header a.pro-button:hover {
  background: #fff;
  color: #163c5d;
}


#menu-icon .material-icons.d-inline {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-icon.material-icons.d-inline.rotate {
  transform: rotate(90deg);
  opacity: 0;
}

#promo-code .promo-submit.text-primary {
  position: absolute;
  top: 0;
}

#header a.pro-button:hover .pro-icon {
  background-color: #163c5d;
}

#header a.pro-button:hover .pro-icon::before {
  color: #fff;
}

.btn-brand.add-to-cart.cart-dropdow-button {
  background-color: #FC2947;
  /* border-color: #467c40; */
}

.btn-brand.add-to-cart.cart-dropdow-button:hover {
  background-color: #e84242;
}

a.cart-dropdow-button.cart-dropdow-checkout.btn-brand.view-cart {
  background-color: #163c5d;
  border-radius: 5px;
  margin-bottom: 10px;
}

a.cart-dropdow-button.cart-dropdow-checkout.btn-brand.view-cart:hover {
  background-color: #184974;
}

.leo-quicklogin-nav .ms-2.hidden-sm-down.mon-compte {
  color: #163c5d;
  font-size: 14px;
  font-family: Poppins, Sans-serif;
  text-decoration: underline!important;
  width: max-content;
}

.ms-2 .hidden-sm-down .mon-compte {
    text-decoration: underline!important;
}

.header-nav.sticky-element-original.sticky-element-sticky {}

/* Tablet */
@media (max-width: 768px) {}

/* Desktop */
/* Mobile */
@media (max-width: 991px) {
  .leo-quicklogin-nav .ms-2.hidden-sm-down.mon-compte {
    display: none;
  }

  .cart-preview .cart-price.hidden-sm-down {
    display: none;
  }

  #header .header-nav .right-nav {
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    height: 40px;
  }

  #header .header-nav {
    padding: 13px 13px 13px 13px;
    margin-bottom: 0;
  }

  #_mobile_logo a {
    display: block;
    width: fit-content;
    margin: 0 auto;
    line-height: 0;
  }

  #header .header-nav #menu-icon {
    padding: 0 8px;
  }

  #header .header-top {
    height: auto;
    padding: 10px 0;
  }

  .header-top #search_widget {
    display: initial;
    width: 88%;
    max-width: none;
    padding: 10px 0;
  }

  .header-top .floating-label {
    font-size: 11px;
    font-weight: 500;
    font-family: OpenSS, Arial, Sans-serif;
  }

  #_desktop_cart .cart-products-counts {
    font-size: 9px;
    position: relative;
    top: 0;
    right: 12px;
    font-weight: 500;
    font-family: OpenSS, Arial, Sans-serif;
  }

  #header .top-header-left,
  #header .top-header-right {
    display: none;
  }

  #_desktop_cart .header {
    display: block;
  }

  .right-nav a.leo-quicklogin-nav::after {
    display: none;
  }

  body ul.mg-menu li {
    display: block;
    float: none;
  }

  .mg-menu.clearfix.menu-content.hidden-ul {
    display: none;
  }

  #mega_menu_plus {
    display: block;
    width: 100%;
    background-color: #fff;
  }

  #mega_menu_plus ul.mg-menu li {
    border-bottom: 1px solid #efefef;
  }

  #mega_menu_plus .submore {
    display: inline-block !important;
    position: absolute;
    right: 30px;
    top: -9px;
  }

  #mega_menu_plus li.submenu-box span.submore::after {
    color: #ee5252;
  }

  .cart-preview.active.leo-blockcart.show-leo-loading {
    align-items: center;
  }
}

.pipe {
  padding: 0 5px 0 5px;
}

#header .logo {
  max-width: 220px !important;
}

.leo-blockcart {
  padding: 0 !important;
  margin-left: 0 !important;
}

#header .header-nav .cart-preview.active a {
  margin-left: 10px !important;
}

.search-icon {
  fill: #003d60;
}

.search-container {
  max-width: 700px !important;
}

#mega_menu_plus ul.mg-menu>li>a:hover {
  font-weight: 600 !important;
}

#mega_menu_plus ul li div.sub {
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: #EDEDED;
  box-shadow: none;
}

/** Icon header **/

.icon-hover {
  opacity: 0;
}

.cart-link:hover .icon-hover {
  opacity: 1;
}

.cart-link:hover .icon-default {
  opacity: 0;
}

a.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}


.leo-quicklogin-nav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.img-wrapper img,
.cart-icon img {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

#header .header-nav .material-icons {
    color: #003d60 !important;
}

#header .header-nav .material-icons:hover {
    color: #E81F1F!important;
}

.img-icon,
.img-icon-hover {
  width: 23px;
  /* taille exacte de l'image */
  height: 23px;
}

.img-icon {
  opacity: 1;
  z-index: 1;
}

.img-icon-hover {
  opacity: 0;
  z-index: 2;
}

/* Hover */
.leo-quicklogin-nav:hover .img-icon-hover {
  opacity: 1;
}

.leo-quicklogin-nav:hover .img-icon {
  opacity: 0;
}

/** hover mobile **/
.img-wrapper.toggled .img-icon,
.cart-icon.toggled .icon-default {
  opacity: 0;
}

.img-wrapper.toggled .img-icon-hover,
.cart-icon.toggled .icon-hover {
  opacity: 1;
}

#mega_menu_plus ul.mg-menu li div.sub {
  left: calc((-94vw + 100%) / 2) !important;
}

ul.menulink li:first-child span.menu-item-link-text.child {
  font-family: Oswald, Arial, Sans-serif;
}


#header #mega_menu_plus .mg-menu li a {
  font-family: OpenSS, Arial, Sans-serif;
}

.disable-sticky {
  position: static !important;
}

/* Stock and NetReviews Container */
.stock-netreviews-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stock-netreviews-container .stock-status {
  flex: 0 1 auto;
}

.stock-netreviews-container .netreviews-wrapper {
  flex: 0 1 auto;
  margin-left: auto;
}

/* Override absolute positioning for NetReviews when inside container */
.stock-netreviews-container #item-box-title a[data-target="#modalNetreviews"],
.stock-netreviews-container .netreviews-wrapper a[data-target="#modalNetreviews"] {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  display: flex !important;
}

#item-box-title .stock-netreviews-container a[data-target="#modalNetreviews"] {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  display: flex !important;
}

/* NetReviews Modal */
.netreviews-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 1;
  transition: background-color 0.3s ease;
}

.netreviews-modal.show {
  background-color: rgba(0, 0, 0, 0.7);
}

.netreviews-modal-content {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
}

.netreviews-modal.show .netreviews-modal-content {
  transform: scale(1);
  opacity: 1;
}

.netreviews-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--repi-blue-light);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  background-color: transparent;
}

.netreviews-modal-close:hover {
  background-color: #f3f4f6;
  color: var(--repi-red);
  transform: rotate(90deg);
}

.netreviews-modal-body {
  padding: 2rem;
}

span.tab-title {
    font-size: 18px;
    color: #163c5d;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
}

/* Mobile styles for NetReviews Modal */
@media (max-width: 767px) {
  .netreviews-modal-content {
    max-width: 95%;
    max-height: 90vh;
    margin: 1rem;
  }

  .netreviews-modal-body {
    padding: 1.5rem;
  }

  .netreviews-modal-close {
    top: 10px;
    right: 10px;
    font-size: 24px;
  }

    .repi-product-page .product-slider {
        height: 100%;
    }

    .repi-product-page .main-image {
        max-height: 350px;
    }
}

/* Skeepers Widget Styles */
.skeepers_product__stars .review__header {
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
}

.review__header .stars {
  margin-right: 0px !important;
}

.skeepers_product__stars .stars__item {
  height: 16px !important;
  width: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.skeepers_product__stars .stars__item svg {
  height: 16px !important;
  width: 16px !important;
}

.skeepers_product__stars .stars__rating {
  font-weight: 600;
  text-decoration: underline !important;
  cursor: pointer !important;
}

.skeepers_product__stars .rate-aggregate,
.skeepers_product__stars .rate-aggregate__separator,
.skeepers_product__stars .rate-aggregate__max {
  display: none !important;
}

/* H1 SEO placé en haut du DOM (avant le H2 OEM) mais masqué visuellement.
   Le titre produit visible est rendu via <p class="product-title"> plus bas. */
.seo-product-title-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── AVIS CLIENTS (section pleine largeur, sous les 2 colonnes) ─── */
.avis-section {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 0;
}

.avis-section .avis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 20px;
}

.avis-section .avis-title {
    font-size: 16px;
    font-weight: 600;
    color: #163C5D;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: 'Poppins', sans-serif !important;
}

.avis-section .avis-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: #E81F1F;
    border-radius: 2px;
}

.avis-section .avis-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.avis-section .avis-summary {
    flex-shrink: 0;
    width: 220px;
    background: #ffffff;
    border: 1px solid #E8EDF2;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.avis-section .avis-summary-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.avis-section .avis-score-big {
    font-size: 42px;
    font-weight: 700;
    color: #163C5D;
    line-height: 1;
    letter-spacing: -2px;
    font-family: 'Poppins', sans-serif !important;
}

.avis-section .avis-score-big span {
    font-size: 18px;
    font-weight: 400;
    color: #4A6B85;
}

.avis-section .avis-stars {
    display: flex;
    gap: 3px;
    justify-content: center;
}

.avis-section .avis-stars svg {
    width: 16px;
    height: 16px;
    fill: #1B8EF8;
    stroke: #1B8EF8;
}

.avis-section .avis-count {
    font-size: 10px;
    color: #4A6B85;
    font-weight: 500;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif !important;
}

.avis-section .avis-av-logo {
    font-size: 11px;
    color: #1B8EF8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Poppins', sans-serif !important;
}

.avis-section .avis-distribution {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
}

.avis-section .avis-dist-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #4A6B85;
}

.avis-section .avis-dist-label {
    width: 28px;
    flex-shrink: 0;
    text-align: left;
    font-size: 11px;
}

.avis-section .avis-dist-bar-bg {
    flex: 1;
    height: 5px;
    background: #F0F4F8;
    border-radius: 3px;
    overflow: hidden;
}

.avis-section .avis-dist-bar {
    height: 100%;
    background: #1B8EF8;
    border-radius: 3px;
}

.avis-section .avis-dist-count {
    width: 16px;
    text-align: right;
    color: #163C5D;
    font-weight: 600;
    font-size: 11px;
}

.avis-section .avis-pagination-block {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #E8EDF2;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.avis-section .avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex: 1;
}

.avis-section .avis-card {
    background: transparent;
    border: none;
    border-right: 1px solid #E8EDF2;
    border-radius: 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.avis-section .avis-card:last-child {
    border-right: none;
}

.avis-section .avis-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.avis-section .avis-card-stars {
    display: flex;
    gap: 2px;
}

.avis-section .avis-card-stars svg {
    width: 13px;
    height: 13px;
    fill: #1B8EF8;
    stroke: #1B8EF8;
}

.avis-section .avis-card-stars svg.empty {
    fill: #E8EDF2;
    stroke: #E8EDF2;
}

.avis-section .avis-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 500;
    color: #1B8EF8;
    font-family: 'Poppins', sans-serif !important;
}

.avis-section .avis-badge svg {
    width: 12px;
    height: 12px;
    stroke: #1B8EF8;
    fill: none;
    stroke-width: 2;
}

.avis-section .avis-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #163C5D;
    font-family: 'Poppins', sans-serif !important;
}

.avis-section .avis-card-footer {
    font-size: 10px;
    color: #4A6B85;
    margin-top: auto;
    font-family: 'Poppins', sans-serif !important;
}

.avis-section .avis-card-footer strong {
    color: #163C5D;
}

.avis-section .avis-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 0.5px solid #E8EDF2;
    margin-top: 16px;
}

.avis-section .avis-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.avis-section .avis-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E8EDF2;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.avis-section .avis-dot.active {
    background: #163C5D;
    transform: scale(1.2);
}

.avis-section .avis-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #E8EDF2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #163C5D;
    transition: background 0.2s;
    box-shadow: none;
    padding: 0;
    font-family: 'Poppins', sans-serif !important;
}

.avis-section .avis-nav-btn:hover {
    background: #EEF2F7;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE / TABLETTE (≤ 900px) — maquette mobile dédiée.
   Tout passe en 1 colonne, padding 16px latéral uniforme,
   typographies/marges réduites en cohérence avec la maquette.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

    /* Layout : page produit en colonne unique, padding 16px latéral */
    .repi-product-page {
        padding-left: 16px;
        padding-right: 16px;
    }
    .repi-product-page .product-section {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 12px 0 0;
        margin-bottom: 0;
    }
    /* En mobile, on aplatit la hiérarchie pour que TOUS les blocs
       (image, tabs caract / compat / description, item-box-main, livraison,
       réassurance, contact, info-links) soient enfants directs de
       .product-section et bénéficient du même gap 10px du flex parent. */
    .repi-product-page .product-left,
    .repi-product-page .product-details,
    .repi-product-page #tabs-section-container,
    .repi-product-page #tabs-section {
        display: contents;
        position: static !important;
        top: auto !important;
        grid-column: auto;
        grid-row: auto;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Aucune margin résiduelle sur les blocs (le gap parent gère TOUT). */
    .repi-product-page .product-section *,
    .repi-product-page .product-section > *,
    .repi-product-page .tab-item,
    .repi-product-page .tab-item + .tab-item {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Image principale */
    .repi-product-page .product-image-main {
        aspect-ratio: 16 / 9;
        border-radius: 16px;
        padding: 10px 16px;
    }
    .repi-product-page .product-thumbnails {
        gap: 8px;
    }

    /* Pastilles refs */
    .repi-product-page .ref-tag {
        font-size: 10px;
        padding: 3px 8px;
    }

    /* OEM : 2 max en mobile (la 3ème est masquée) */
    .repi-product-page .ref-tag-oem .oem-item-3 {
        display: none;
    }

    /* Titre + rating */
    .repi-product-page .product-title {
        font-weight: 600;
        line-height: 1.3;
        letter-spacing: normal;
    }
    .repi-product-page .product-rating {
        gap: 6px;
        padding-bottom: 4px;
    }
    .repi-product-page .product-rating .rating-stars svg,
    .repi-product-page .product-rating .rating-stars img {
        height: 13px;
    }
    .repi-product-page .product-rating .rating-score {
        font-size: 12px;
    }
    .repi-product-page .product-rating .rating-link {
        font-size: 11px;
    }

    /* Badges stock + relais */
    .repi-product-page .stock-status,
    .repi-product-page .badge {
        font-size: 10px;
        padding: 4px 9px;
        gap: 5px;
    }
    .repi-product-page .stock-status-text {
        font-size: 10px;
    }

    /* Prix */
    .repi-product-page .product-prices,
    .repi-product-page .product-price-block {
        gap: 6px;
    }
    .repi-product-page .price-section .price,
    .repi-product-page .product-prices .price {
        font-size: 22px;
        letter-spacing: -1px;
    }
    .repi-product-page .price-section .price-currency,
    .repi-product-page .product-prices .price-currency {
        font-size: 12px;
    }

    /* Scalapay bar : repartition propre sur 2 lignes en mobile.
       Ligne 1 : icone + texte "Payez en 3x X€ sans interet" sur une seule ligne.
       Ligne 2 : "En savoir plus" en pleine largeur sous le texte. */
    .repi-product-page .scalapay-bar {
        font-size: 11px;
        padding: 10px 14px;
        gap: 8px;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "icon text"
            ".    link";
        row-gap: 4px;
        column-gap: 8px;
        align-items: center;
        width: 100%;
    }
    .repi-product-page .scalapay-bar svg {
        grid-area: icon;
    }
    .repi-product-page .scalapay-bar .scalapay-text {
        grid-area: text;
        line-height: 1.3;
    }
    .repi-product-page .scalapay-bar .scalapay-sep {
        display: none;
    }
    .repi-product-page .scalapay-bar .scalapay-link {
        grid-area: link;
        justify-self: start;
        font-size: 11px;
    }

    /* Carte item-box-main : padding 18, gap 12 */
    .repi-product-page #item-box-main {
        padding: 18px;
        gap: 12px;
        border-radius: 16px;
    }

    /* Bouton "Ajouter au panier" en mobile : on masque l'icone panier pour
       garder le label sur une seule ligne, meme avec un texte long (ES :
       "Anadir al carrito" passe) ou un padding/quantite a gauche. */
    .repi-product-page .add-to-cart-btn.add-to-cart {
        padding: 12px 16px;
        font-size: 13px;
        gap: 0;
    }
    .repi-product-page .add-to-cart-btn.add-to-cart .add-to-cart-label {
        white-space: nowrap;
    }
    .repi-product-page .add-to-cart-btn.add-to-cart .add-to-cart-icon {
        display: none;
    }

    /* Quantité */
    .repi-product-page .qty-input .qty-val {
        width: 40px !important;
    }

    /* Tabs caractéristiques / compat / description */
    .repi-product-page .tab-item {
        border-radius: 16px;
    }
    .repi-product-page .accordion-btn {
        padding: 14px 16px;
        /* Desktop force grid 1fr 1fr (icone a droite), ce qui coupe les
           titres longs sur 2 lignes en mobile. On repasse en flex pour que
           le titre prenne toute la largeur disponible et l'icone reste a droite. */
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    .repi-product-page .accordion-btn .tab-title {
        font-size: 13px;
        flex: 1;
        min-width: 0;
    }
    .repi-product-page .specs-row {
        padding: 10px 16px;
        font-size: 11px;
    }

    /* Compat véhicule */
    .repi-product-page .compat-info {
        font-size: 12px;
        padding: 12px 16px 8px;
        margin: 0;
    }
    .repi-product-page .compat-table {
        font-size: 11px;
    }
    .repi-product-page .compat-table .compat-brand {
        font-size: 10px;
    }
    .repi-product-page .compat-table .compat-year {
        font-size: 10px;
        padding: 2px 8px;
    }

    /* Description */
    .repi-product-page #description-section .accordion-content {
        padding: 14px 16px 16px;
        font-size: 12px;
    }
    /* Override de la regle universelle ci-dessus qui force margin-bottom:0 sur
       tout enfant de .product-section. Le h2 dans la description doit garder
       sa marge native pour aerer le texte. */
    .repi-product-page .product-section .accordion-content.description-content.active h2 {
        margin-bottom: revert !important;
    }

    /* Réassurance */
    .repi-product-page .reassurance-strip {
        border-radius: 14px;
    }
    .repi-product-page .reassurance-item {
        padding: 12px 8px;
        gap: 4px;
    }
    .repi-product-page .reassurance-label,
    .repi-product-page .reassurance-sub {
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    /* Livraison */
    .repi-product-page .delivery-card {
        border-radius: 14px;
    }
    .repi-product-page .delivery-card-header {
        padding: 12px 16px;
        font-size: 13px;
    }
    .repi-product-page .delivery-option {
        padding: 10px 16px;
        gap: 10px;
    }
    .repi-product-page .delivery-option-icon {
        width: 30px;
        height: 30px;
    }
    .repi-product-page .delivery-option-name {
        font-size: 11px;
    }
    .repi-product-page .delivery-option-delay {
        font-size: 10px;
    }
    .repi-product-page .delivery-option-price {
        font-size: 12px;
    }

    /* Contact card */
    .repi-product-page .contact-card {
        padding: 24px 20px;
        border-radius: 14px !important;
        overflow: hidden;
    }
    .repi-product-page .contact-card .contact-card-title {
        font-size: 15px;
        margin-bottom: 8px !important;
    }
    /* Aerer entre la description et le premier champ : la regle universelle
       `.product-section * { margin-bottom: 0 !important }` ecrase la marge
       definie en desktop. On la restaure ici. */
    .repi-product-page .contact-card .contact-card-desc {
        margin-bottom: 16px !important;
    }
    /* Texte tape dans le champ immatriculation : forcer le blanc comme les
       deux autres inputs (l'autofill ou un style global passe outre sinon). */
    .repi-product-page .contact-card #product-contact-plate {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    /* Placeholder : la regle blanche est posee hors media query (vers ligne 2610)
       et s'applique a tous les viewports. Pas besoin de la repeter ici. */
    /* Marge verticale entre les 3 inputs : la regle universelle
       `.product-section * { margin-bottom: 0 !important }` (ligne ~4600)
       ecrase les 8px definis sur .contact-input. On la restaure ici. */
    .repi-product-page .contact-card .contact-input {
        margin-bottom: 10px !important;
    }

    /* Réordonner en mobile : Informations de livraison (#item-box-shipping)
       passe APRÈS la description (#description-section).
       On utilise flex order plutôt que toucher au DOM. */
    .repi-product-page .product-image-main { order: 1; }
    .repi-product-page #item-box-main { order: 2; }
    /* #tabs-section est en display:contents → l'order doit être posé
       sur ses ENFANTS .tab-item (qui deviennent enfants du flex parent). */
    .repi-product-page #tabs-section > .tab-item { order: 3; }
    .repi-product-page #description-section { order: 4; }
    .repi-product-page #item-box-shipping { order: 5; }
    .repi-product-page .reassurance-strip { order: 6; }
    .repi-product-page #contact-section { order: 7; }
    .repi-product-page .info-links {
        order: 8;
        padding: 12px 0;
    }

    /* Cross-sell : carrousel horizontal swipe au lieu de grid 4 colonnes */
    .crosssell-section .crosssell-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .crosssell-section .crosssell-grid {
        display: flex;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        grid-template-columns: none;
    }
    .crosssell-section .crosssell-card {
        flex: 0 0 60%;
        scroll-snap-align: start;
        border-radius: 12px;
    }
    .crosssell-section .crosssell-img {
        height: 140px;
        padding: 12px;
        aspect-ratio: auto;
    }
    .crosssell-section .crosssell-body {
        padding: 10px;
        gap: 5px;
    }
    .crosssell-section .crosssell-ref,
    .crosssell-section .crosssell-ref-oem {
        font-size: 9px;
        padding: 2px 6px;
    }
    .crosssell-section .crosssell-price {
        font-size: 13px;
    }

    /* ─── Avis clients mobile : refonte visuelle compacte ─── */
    .avis-section {
        padding: 0;
        margin-top: 20px;
    }
    /* Titre : barre rouge inline + label */
    .avis-section .avis-header {
        margin-bottom: 12px;
    }
    .avis-section .avis-title {
        font-size: 15px;
        font-weight: 600;
        color: #163C5D;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
    }
    .avis-section .avis-title::before {
        content: '';
        display: inline-block;
        width: 3px;
        height: 16px;
        background: #E81F1F;
        border-radius: 2px;
    }
    /* Carte unique englobant resume + cards + pager */
    .avis-section .avis-layout {
        background: #fff;
        border: 1px solid #E8EDF2;
        border-radius: 14px;
        overflow: hidden;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    /* ── Bloc resume (haut de la carte) ──
       Surcharge complete des regles desktop (lignes 4304+) pour repasser en
       layout horizontal : score+etoiles a gauche, barres de distribution a droite. */
    .avis-section .avis-summary {
        width: 100% !important;
        padding: 16px !important;
        border-bottom: 1px solid #E8EDF2 !important;
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 16px !important;
        text-align: left !important;
    }
    .avis-section .avis-summary-top {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
        width: auto !important;
        margin: 0 !important;
    }
    .avis-section .avis-distribution {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        width: auto !important;
        min-width: 0;
    }
    .avis-section .avis-score-big {
        font-size: 32px;
        font-weight: 700;
        color: #163C5D;
        letter-spacing: -1px;
        line-height: 1;
    }
    .avis-section .avis-score-big span {
        font-size: 14px;
        font-weight: 400;
        color: #4A6B85;
    }
    .avis-section .avis-stars {
        display: flex;
        gap: 2px;
    }
    .avis-section .avis-stars svg {
        width: 13px;
        height: 13px;
    }
    .avis-section .avis-count {
        font-size: 9px;
        color: #4A6B85;
        text-align: center;
        white-space: nowrap;
    }
    .avis-section .avis-av-logo {
        font-size: 9px;
        color: #1B8EF8;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 3px;
    }
    .avis-section .avis-av-logo svg {
        width: 10px;
        height: 10px;
    }
    /* Distribution : les regles .avis-distribution flex column sont posees plus
       haut dans .avis-summary avec !important. Ici on affine les rows. */
    .avis-section .avis-dist-row {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 10px !important;
        color: #4A6B85 !important;
    }
    .avis-section .avis-dist-label {
        width: 24px !important;
        text-align: left !important;
        font-size: 10px !important;
    }
    .avis-section .avis-dist-bar-bg {
        flex: 1;
        height: 5px;
        background: #F0F4F8;
        border-radius: 3px;
        overflow: hidden;
    }
    .avis-section .avis-dist-bar {
        height: 100%;
        background: #1B8EF8;
        border-radius: 3px;
    }
    .avis-section .avis-dist-count {
        width: 14px;
        text-align: right;
        color: #163C5D;
        font-weight: 600;
    }

    /* ── Cards avis ── */
    .avis-section .avis-pagination-block {
        padding: 0;
    }
    .avis-section .avis-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .avis-section .avis-card {
        border-right: none;
        border-bottom: 1px solid #E8EDF2;
        padding: 14px 16px;
    }
    .avis-section .avis-card:last-child {
        border-bottom: none;
    }
    .avis-section .avis-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 6px;
    }
    .avis-section .avis-card-stars {
        display: flex;
        gap: 2px;
    }
    .avis-section .avis-card-stars svg {
        width: 12px;
        height: 12px;
    }
    .avis-section .avis-badge {
        font-size: 10px;
        color: #1B8EF8;
        font-weight: 500;
        padding: 0;
        background: transparent;
        border: 0;
    }
    .avis-section .avis-badge svg {
        display: none;
    }
    .avis-section .avis-card-title {
        font-size: 12px;
        font-weight: 600;
        color: #163C5D;
        margin-bottom: 4px;
    }
    .avis-section .avis-card-footer {
        font-size: 10px;
        color: #4A6B85;
    }

    /* ── Pager bas ── */
    .avis-section .avis-pager {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        border-top: 1px solid #E8EDF2;
        gap: 0;
    }
    .avis-section .avis-dots {
        display: flex;
        gap: 6px;
        align-items: center;
    }
    .avis-section .avis-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #E8EDF2;
        border: 0;
        padding: 0;
        cursor: pointer;
    }
    .avis-section .avis-dot.active {
        background: #1B8EF8;
    }
    .avis-section .avis-nav-btn {
        width: 24px;
        height: 24px;
        background: transparent;
        border: 0;
        color: #163C5D;
        font-size: 18px;
        line-height: 1;
        padding: 0;
        cursor: pointer;
    }

    /* Breadcrumb */
    .breadcrumb.hidden-sm-down {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Sticky CTA mobile : barre fixe en bas qui apparaît quand le bouton
       add-to-cart principal n'est plus visible à l'écran. */
    .sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #E8EDF2;
        padding: 12px 16px;
        align-items: center;
        gap: 10px;
        z-index: 200;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
    }

    .sticky-cta.visible {
        transform: translateY(0);
    }

    .sticky-cta-price {
        font-size: 16px;
        font-weight: 700;
        color: #163C5D;
        white-space: nowrap;
        font-family: 'Poppins', sans-serif !important;
    }

    .sticky-cta-tax {
        font-size: 11px;
        font-weight: 400;
        color: #163C5D;
        margin-left: 2px;
    }

    .sticky-cta-btn {
        flex: 1;
        background: #E81F1F !important;
        color: #ffffff !important;
        border: none !important;
        padding: 12px 16px !important;
        border-radius: 10px !important;
        font-family: 'Poppins', sans-serif !important;
        font-size: 13px !important;
        font-weight: 600;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-shadow: none !important;
        line-height: 1.2;
        transition: background 0.2s;
    }

    .sticky-cta-btn:hover {
        background: #E81F1F !important;
    }

    .sticky-cta-btn svg {
        width: 15px;
        height: 15px;
        stroke: #ffffff;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 0.25s cubic-bezier(.4, 0, .2, 1);
        flex-shrink: 0;
    }

    .sticky-cta-btn:hover svg {
        transform: translateX(4px);
    }

    /* Évite que le bouton add-to-cart principal soit masqué par la sticky CTA
       (qui occupe ~70px en bas de fenêtre). */
    .repi-product-page {
        padding-bottom: 80px;
    }
}

/* Quand la sticky CTA mobile est visible (body.repi-sticky-cta-visible),
   on cache les éléments fixes qui se superposeraient en bas d'écran :
   - bouton flottant WhatsApp (.repi-wa-widget / #repiWaWidget)
   - bandeau de consentement cookies (iframes courantes)
   Restreint aux viewports mobile/tablette (la barre n'existe pas en desktop). */
@media (max-width: 900px) {
    body.repi-sticky-cta-visible .repi-wa-widget,
    body.repi-sticky-cta-visible #repiWaWidget,
    body.repi-sticky-cta-visible iframe[src*="consent"],
    body.repi-sticky-cta-visible iframe[src*="cookie"],
    body.repi-sticky-cta-visible iframe[id*="cookie"],
    body.repi-sticky-cta-visible iframe[id*="consent"],
    body.repi-sticky-cta-visible #cookies-banner,
    body.repi-sticky-cta-visible #cookie-banner,
    body.repi-sticky-cta-visible .cookies-banner,
    body.repi-sticky-cta-visible .cookie-banner {
        display: none !important;
    }
}

/* Sticky CTA cachée sur desktop (la barre n'est utile qu'en mobile/tablette). */
@media (min-width: 901px) {
    .sticky-cta {
        display: none !important;
    }
}