/* ------------------------------------------------ */
/* Affichage des icones de comptes, panier, favoris */
/* ------------------------------------------------ */
body.is-guest #panier {
  display: none !important;
}

body.is-guest .user-info {
  display: block !important;
}

/* ---------------------------------------------------- */
/* Grille pour les logos des marques - NOUVELLE VERSION */
/* ---------------------------------------------------- */
.custom-brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  /* On augmente un peu l'espace */
  padding: 20px 0;
  margin: 0;
}

/* Conteneur de chaque logo */
.brand-item {
  flex: 0 1 16%;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* === CHANGEMENT : Bordure retirée === */
  padding: 15px;
  border-radius: 8px;
  /* On arrondit un peu plus pour un look moderne */
  min-height: 90px;
  background-color: #fff;
  /* On utilise une ombre portée pour délimiter les blocs */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effet au survol du conteneur */
.brand-item:hover {
  transform: translateY(-4px);
  /* Effet de surélévation au survol */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Style de l'image du logo */
.brand-item img {
  max-width: 100%;
  max-height: 60px;
  height: auto;
  object-fit: contain;
  /* On ajoute une transition pour que l'effet de grisé soit progressif */
  transition: filter 0.3s ease-in-out;
}

/* === NOUVEL EFFET : L'image passe en niveaux de gris au survol === */
.brand-item:hover img {
  filter: grayscale(100%);
  opacity: 0.8;
  /* On peut ajouter une légère transparence pour adoucir */
}

/* --- Adaptation pour les tablettes --- */
@media (max-width: 992px) {
  .brand-item {
    flex: 0 1 28%;
  }
}

/* --- Adaptation pour les mobiles --- */
@media (max-width: 768px) {
  .brand-item {
    flex: 0 1 40%;
  }
}

/* ------------------- */
/* Conteneur principal */
/* ------------------- */

.proxitech-categories-wrapper {
  margin: 30px 0;
}

/* Grille : 4 colonnes sur grand écran */
.proxitech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Carte individuelle : empilee verticalement */
.proxitech-cat-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Ligne 1 : Image + Titre sur la meme ligne */
.proxitech-cat-card .cat-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

/* Image de la categorie */
.proxitech-cat-card .cat-image {
  flex: 0 0 80px;
}

.proxitech-cat-card .cat-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Titre de la categorie */
.proxitech-cat-card .cat-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

.proxitech-cat-card .cat-title a {
  color: #000;
  text-decoration: none;
}

.proxitech-cat-card .cat-title a:hover {
  color: var(--theme-color-default);
}

/* Ligne 2 : Sous-categories sur toute la largeur */
.proxitech-cat-card .cat-body {
  width: 100%;
  padding-left: 0;
}

/* Liste des sous-categories */
.proxitech-cat-card .sub-cat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.proxitech-cat-card .sub-cat-list li {
  font-size: 13px;
  color: #333;
  margin-bottom: 2px;
  line-height: 1.4;
}

.proxitech-cat-card .sub-cat-list li a {
  color: #333;
  text-decoration: none;
}

.proxitech-cat-card .sub-cat-list li a:hover {
  text-decoration: underline;
}

.proxitech-cat-card .sub-cat-list .chevron {
  font-weight: bold;
  margin-right: 3px;
}

/* Lien "Voir plus" */
.proxitech-cat-card .see-more-link {
  font-size: 13px;
  text-decoration: underline;
  color: #333;
  margin-top: auto;
}

/* --- Responsive --- */

/* Tablette : 2 par ligne */
@media (max-width: 992px) {
  .proxitech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile : 1 par ligne */
@media (max-width: 576px) {
  .proxitech-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------ */
/* --- Conteneur global --- */
/* ------------------------ */
.process-bar-container {
  padding: 0;
  /* MODIFIÉ : On retire le overflow:hidden pour voir la dernière flèche */
  overflow: visible;
  /* MODIFIÉ : On ajoute une marge à droite pour laisser la place à la flèche de 90px */
  margin-right: 90px;
  margin-bottom: 30px;
}

/* --- Style de base des boites --- */
.step-item {
  position: relative;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  z-index: 1;
}

/* --- Contenu (Icône + Texte) --- */
.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  width: 100%;
  /* Le contenu prend toute la largeur pour bien calculer le centre */

  /* Correction Icônes (rappel) */
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome, sans-serif !important;
  font-weight: 900 !important;
  font-style: normal;
}

.step-content i {
  font-size: 30px;
  margin-bottom: 10px;
  /* On force le navigateur à utiliser FontAwesome */
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome, sans-serif !important;
  /* Le poids 900 est obligatoire pour les icônes "Solid" (fa-solid) */
  font-weight: 900 !important;
  /* S'assure que l'icône hérite de la couleur blanche du texte */
  color: inherit;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* --- ALIGNEMENT SPÉCIFIQUE (Le Secret du centrage) --- */

/* 1. Pour le TOUT PREMIER bloc (Noir) */
/* Il est droit à gauche, donc on le centre simplement avec une légère compensation pour la pointe à droite */
.step-item:first-child .step-content {
  padding-left: 0;
  padding-right: 45px;
  /* On compense visuellement la pointe qui part à droite */
}

/* 2. Pour TOUS LES AUTRES blocs (qui ont le creux à gauche) */
/* On pousse le texte vers la droite pour qu'il ne soit pas dans le creux de la flèche */
.step-item:not(:first-child) .step-content {
  padding-left: 100px;
  /* On pousse le texte pour éviter la flèche précédente */
  padding-right: 0;
}

/* --- Ajustement de l'icône et du texte --- */
.step-content i {
  font-size: 36px;
  /* Icône un peu plus grosse */
  margin-bottom: 15px;
}

.step-content .step-title {
  padding: 0 10px;
  /* Petite marge interne pour éviter que le texte ne touche les bords */
  line-height: 1.2;
  /* Interligne plus serré pour faire "bloc" */
}

/* --- Couleurs --- */
.step-dark {
  background-color: #000000;
}

.step-red {
  background-color: #d21923;
}

/* --- Création de la flèche (Triangle à droite) --- */
.step-item::after {
  content: "";
  position: absolute;
  top: 0;
  /* La flèche sort de 90px à droite */
  right: -90px;
  width: 0;
  height: 0;
  /* Hauteur (185px / 2 = 92.5px) */
  border-top: 92.5px solid transparent;
  border-bottom: 92.5px solid transparent;
  /* Longueur de la flèche (90px) */
  border-left: 90px solid;
  z-index: 10;
}

/* Assigner la couleur de la flèche */
.step-dark::after {
  border-left-color: #000000;
}

.step-red::after {
  border-left-color: #d21923;
}

/* --- Gestion de l'empilement (Z-Index) --- */
.step-item:nth-child(1) {
  z-index: 4;
}

.step-item:nth-child(2) {
  z-index: 3;
}

.step-item:nth-child(3) {
  z-index: 2;
}

.step-item:nth-child(4) {
  z-index: 1;
}

/* --- Version Mobile --- */
@media (max-width: 991px) {
  .process-bar-container {
    /* Sur mobile, on annule la marge car les blocs sont empilés */
    margin-right: 0;
  }

  .step-item {
    margin-bottom: 10px;
    height: auto;
    padding: 20px 0;
  }

  .step-item::after {
    display: none;
  }

  .step-content {
    padding-left: 0;
  }
}

/* ----------------------- */
/* Product list Proxitech  */
/* ----------------------- */
.plist-proxi .thumbnail-container {
  margin-bottom: 30px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.4s;
  border-radius: 8px;
}

.plist-proxi .thumbnail-container:hover {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  .plist-proxi .thumbnail-container {
    margin-bottom: 20px;
  }
}

.plist-proxi .thumbnail-container .product-attr {
  margin-top: 8px;
  margin-bottom: 10px;
}

@media (max-width: 480px) {
  .plist-proxi .thumbnail-container .slick-arrows {
    display: none;
  }
}

.plist-proxi .thumbnail-container .leo-list-product-reviews-wraper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
}

.plist-proxi .thumbnail-container .functional-buttons {
  bottom: 50%;
  position: absolute;
  right: auto;
  left: 10px;
  padding: 0;
  transform: translateY(50%);
  z-index: 9;
}

.rtl .plist-proxi .thumbnail-container .functional-buttons {
  right: 10px;
  left: auto;
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product,
.plist-proxi .thumbnail-container .functional-buttons .quick-view {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border: 0;
  line-height: 40px;
  text-align: center;
  padding: 0;
  background: var(--product-button-bg);
  border-radius: 8px;
  display: block;
  color: var(--product-button-color);
  transition: all 0.4s;
  position: relative;
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product.added,
.plist-proxi .thumbnail-container .functional-buttons .quick-view.added {
  color: var(--product-button-color-hover);
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product:hover,
.plist-proxi .thumbnail-container .functional-buttons .quick-view:hover {
  background: var(--product-button-bg-hover);
  color: var(--product-button-color-hover);
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product:hover i,
.plist-proxi .thumbnail-container .functional-buttons .quick-view:hover i {
  color: var(--product-button-color-hover);
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product i,
.plist-proxi .thumbnail-container .functional-buttons .quick-view i {
  display: inline-block;
  vertical-align: middle;
  margin: auto;
  color: var(--product-button-color);
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product .leo-wishlist-bt-content,
.plist-proxi .thumbnail-container .functional-buttons .btn-product .leo-bt-cart-content,
.plist-proxi .thumbnail-container .functional-buttons .btn-product .leo-quickview-bt-content,
.plist-proxi .thumbnail-container .functional-buttons .quick-view .leo-wishlist-bt-content,
.plist-proxi .thumbnail-container .functional-buttons .quick-view .leo-bt-cart-content,
.plist-proxi .thumbnail-container .functional-buttons .quick-view .leo-quickview-bt-content {
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  box-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  margin: auto;
  height: 100%;
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product span span,
.plist-proxi .thumbnail-container .functional-buttons .quick-view span span {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 7px;
  color: #fff;
  background: #000;
  font-size: 14px;
  padding: 6px 10px;
  transition: all 0.4s;
  opacity: 0;
  visibility: hidden;
  line-height: 20px;
  white-space: nowrap;
  align-self: flex-start;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  border-radius: 4px;
  pointer-events: none;
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product span span:before,
.plist-proxi .thumbnail-container .functional-buttons .quick-view span span:before {
  content: "";
  border: 5px solid transparent;
  border-top-color: #000;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product:hover span span,
.plist-proxi .thumbnail-container .functional-buttons .quick-view:hover span span {
  opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  filter: alpha(opacity=100);
  visibility: visible;
}

@media (min-width: 992px) {
  .plist-proxi .thumbnail-container .functional-buttons {
    opacity: 0;
    -ms-opacity: 0;
    -o-opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    filter: alpha(opacity=0);
    visibility: hidden;
  }
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product,
.plist-proxi .thumbnail-container .functional-buttons .quick-view {
  margin: 5px 0;
}

@media (min-width: 992px) {

  .plist-proxi .thumbnail-container .functional-buttons .btn-product,
  .plist-proxi .thumbnail-container .functional-buttons .quick-view {
    transform: translateX(-100%);
  }
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product span span,
.plist-proxi .thumbnail-container .functional-buttons .quick-view span span {
  bottom: auto;
  right: initial;
  top: 50%;
  margin-left: 10px;
  transform: translate(-10px, -50%);
  left: 100%;
  border-radius: 3px;
}

.rtl .plist-proxi .thumbnail-container .functional-buttons .btn-product span span,
.rtl .plist-proxi .thumbnail-container .functional-buttons .quick-view span span {
  margin-right: 10px;
  margin-left: inherit;
}

.rtl .plist-proxi .thumbnail-container .functional-buttons .btn-product span span,
.rtl .plist-proxi .thumbnail-container .functional-buttons .quick-view span span {
  right: 100%;
  left: auto;
}

.plist-proxi .thumbnail-container .functional-buttons .btn-product span span:before,
.plist-proxi .thumbnail-container .functional-buttons .quick-view span span:before {
  top: 10px;
  left: -10px;
  border: 5px solid transparent;
  border-right: 5px solid #000;
  margin-left: 0;
}

.rtl .plist-proxi .thumbnail-container .functional-buttons .btn-product span span:before,
.rtl .plist-proxi .thumbnail-container .functional-buttons .quick-view span span:before {
  right: -10px;
  left: auto;
}

.rtl .plist-proxi .thumbnail-container .functional-buttons .btn-product span span:before,
.rtl .plist-proxi .thumbnail-container .functional-buttons .quick-view span span:before {
  border-left: 5px solid #000;
  border-right: inherit;
}

.rtl .plist-proxi .thumbnail-container .functional-buttons .btn-product span span:before,
.rtl .plist-proxi .thumbnail-container .functional-buttons .quick-view span span:before {
  margin-right: 0;
  margin-left: inherit;
}

.plist-proxi .thumbnail-container .button-review {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 0 10px;
}

.plist-proxi .thumbnail-container .button-review .btn-product,
.plist-proxi .thumbnail-container .button-review .quick-view {
  width: 25px;
  height: 25px;
  text-align: center;
  padding: 0;
  position: relative;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  position: relative;
}

.plist-proxi .thumbnail-container .button-review .btn-product .cssload-speeding-wheel,
.plist-proxi .thumbnail-container .button-review .quick-view .cssload-speeding-wheel {
  border-color: #000;
  border-left-color: transparent;
  border-right-color: transparent;
}

.plist-proxi .thumbnail-container .button-review .btn-product i::before,
.plist-proxi .thumbnail-container .button-review .quick-view i::before {
  font-family: "Font Awesome Regular";
}

.plist-proxi .thumbnail-container .button-review .btn-product i:hover,
.plist-proxi .thumbnail-container .button-review .quick-view i:hover {
  color: var(--theme-color-default);
}

.plist-proxi .thumbnail-container .button-review .btn-product span span,
.plist-proxi .thumbnail-container .button-review .quick-view span span {
  display: block;
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 7px;
  line-height: 25px;
  font-size: 10px;
  transition: all 0.4s;
  background: #333;
  color: #fff;
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  align-self: flex-start;
}

.plist-proxi .thumbnail-container .button-review .btn-product span span:before,
.plist-proxi .thumbnail-container .button-review .quick-view span span:before {
  content: "";
  border: 5px solid transparent;
  border-top-color: #333;
  position: absolute;
  top: 100%;
  right: 10px;
}

.plist-proxi .thumbnail-container .button-review .btn-product:hover,
.plist-proxi .thumbnail-container .button-review .quick-view:hover {
  color: var(--theme-color-default);
}

.plist-proxi .thumbnail-container .button-review .btn-product:hover span span,
.plist-proxi .thumbnail-container .button-review .quick-view:hover span span {
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
}

.plist-proxi .thumbnail-container .button-review .leo-list-product-reviews {
  float: left;
  text-align: left;
  line-height: 1;
  display: flex;
  flex: 1;
}

.rtl .plist-proxi .thumbnail-container .button-review .leo-list-product-reviews {
  float: right;
}

.rtl .plist-proxi .thumbnail-container .button-review .leo-list-product-reviews {
  text-align: right;
}

.plist-proxi .thumbnail-container .button-review .leo-list-product-reviews .nb-revews {
  display: none;
}

.plist-proxi .thumbnail-container .button-review>div:not(.leo-list-product-reviews) {
  float: right;
  width: 100%;
}

.rtl .plist-proxi .thumbnail-container .button-review>div:not(.leo-list-product-reviews) {
  float: left;
}

.plist-proxi .thumbnail-container .product-meta {
  padding: 20px 15px 15px;
}

.plist-proxi .thumbnail-container .leo-list-product-reviews {
  margin: 0;
  min-width: 100px;
}

.plist-proxi .thumbnail-container .discount-percentage {
  display: none;
}

.plist-proxi .thumbnail-container .product-price-and-shipping {
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .plist-proxi .thumbnail-container:hover .functional-buttons {
    opacity: 1;
    -ms-opacity: 1;
    -o-opacity: 1;
    -moz-opacity: 1;
    -webkit-opacity: 1;
    filter: alpha(opacity=100);
    visibility: visible;
  }
}

.plist-proxi .thumbnail-container:hover .functional-buttons .btn-product,
.plist-proxi .thumbnail-container:hover .functional-buttons .quick-view {
  margin: 5px 0;
}

@media (min-width: 992px) {

  .plist-proxi .thumbnail-container:hover .functional-buttons .btn-product,
  .plist-proxi .thumbnail-container:hover .functional-buttons .quick-view {
    transform: translateX(0);
  }
}

.plist-proxi .thumbnail-container:hover .functional-buttons .btn-product span span,
.plist-proxi .thumbnail-container:hover .functional-buttons .quick-view span span {
  transform: translate(0, -50%);
}

.plist-proxi .thumbnail-container .btn-product.add-to-cart {
  position: relative;
  width: 25%;
  font-size: 16px;
  line-height: 20px;
  padding: 9px 20px;
  border-radius: 8px;
  min-height: 38px;
  color: #fff;
  transition: 0.5s all ease;
  border: none;
  background-size: 300%;
  background-image: linear-gradient(120deg, var(--theme-color-default) 50%, #000 50%);
}

.plist-proxi .thumbnail-container .btn-product.add-to-cart .icon-btn-product {
  order: 2;
  font-weight: 400;
}

.plist-proxi .thumbnail-container .btn-product.add-to-cart .cssload-speeding-wheel {
  border-top-color: #fff;
  border-bottom-color: #fff;
}

.plist-proxi .thumbnail-container .btn-product.add-to-cart .leo-bt-cart-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.plist-proxi .thumbnail-container .btn-product.add-to-cart:hover {
  background-position: 100%;
}

.plist-proxi .thumbnail-container .product__bottom {
  padding-top: 10px;
  transition: 0.3s all ease;
}

@media (min-width: 992px) {
  .plist-proxi .thumbnail-container .product__bottom {
    position: absolute;
    top: calc(100% - 20px);
    left: -1px;
    right: -1px;
    z-index: 2;
    background-color: #fff;
    padding: 10px 20px 20px;
    border: 1px solid #DBDFE1;
    border-top: none;
    border-radius: 0 0 8px 8px;
    height: 0;
    opacity: 0;
    visibility: hidden;
  }
}

/* -------------------------------------------- */
/* Modification des tabulations en page produit */
/* -------------------------------------------- */

/* 1. Réinitialisation du conteneur des onglets */
.product-tabs.tabs {
  padding-top: 40px;
  background: #fff;
}

/* 2. Alignement de la liste des onglets */
.product-tabs.tabs .nav-tabs {
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Changez en 'center' si vous voulez centrer le menu */
  gap: 0;
  /* On gère l'espacement via le padding des liens */
  margin-bottom: 20px;
}

/* 3. Style des éléments de liste et Ajout du séparateur pipe "|" */
.product-tabs.tabs .nav-tabs .nav-item {
  display: flex;
  align-items: center;
  margin: 0;
}

/* Ajoute le | après chaque élément sauf le dernier */
.product-tabs.tabs .nav-tabs .nav-item:not(:last-child)::after {
  content: "|";
  color: #000;
  font-weight: 600;
  font-size: 18px;
}

/* 4. Style des Liens (Reset du style bouton) */
.product-tabs.tabs .nav-tabs .nav-link {
  border: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  padding: 0 15px !important;
  /* Espace autour du texte */
  margin: 0 !important;
  color: #000 !important;
  font-size: 18px;
  /* Taille du texte */
  font-weight: 700;
  /* Gras */
  text-transform: uppercase;
  /* Majuscules */
  position: relative;
  /* Nécessaire pour positionner le soulignement rouge */
  transition: all 0.3s ease;
}

/* Suppression des effets de survol/focus par défaut */
.product-tabs.tabs .nav-tabs .nav-link:hover,
.product-tabs.tabs .nav-tabs .nav-link:focus {
  border: none;
  background-color: transparent;
  color: #000;
}

/* 5. Style de l'onglet Actif (Le trait rouge) */
.product-tabs.tabs .nav-tabs .nav-link.active {
  color: #000 !important;
  background: transparent !important;
}

/* Création du trait rouge sous le texte actif */
.product-tabs.tabs .nav-tabs .nav-link.active::after {
  content: "";
  display: block;
  width: 40px;
  /* Largeur du trait rouge */
  height: 3px;
  /* Épaisseur du trait */
  background-color: #EC2324;
  /* Votre couleur rouge (récupérée de votre theme.css) */
  position: absolute;
  bottom: -10px;
  /* Position sous le texte */
  left: 50%;
  transform: translateX(-50%);
  /* Centre le trait parfaitement */
}

/* Uniformise la hauteur des cartes produit (titre sur 1 ou 2 lignes) */
.product-miniature .product-title {
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* champ quantité panier */

.product-line-grid-right .bootstrap-touchspin>.form-control,
.product-line-grid-right .bootstrap-touchspin>.input-group {
  width: 5rem;
}

/* ----------------------------------------------- */
/* Product list : quantite + bouton ajout au panier */
/* ----------------------------------------------- */

/* Masquer le bloc button-review vide */
.product-meta>.button-review:empty {
  display: none;
}

/* Le bloc prend toute la largeur */
.product-list-cart-bar {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.product-list-add-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

/* Wrapper quantite : - [champ] + prend 75% */
.product-list-qty-wrapper {
  display: flex;
  align-items: stretch;
  flex: 3;
  min-width: 0;
}

/* Boutons - et + : meme hauteur que le champ */
.product-list-qty-btn {
  width: 36px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
  user-select: none;
}

.product-list-qty-minus {
  border-radius: 4px 0 0 4px;
  border-right: none;
}

.product-list-qty-plus {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

.product-list-qty-btn:hover {
  background: #d21923;
  color: #fff;
  border-color: #d21923;
}

.product-list-qty-btn:active {
  background: #b5141d;
}

/* Champ quantite : prend l'espace restant dans le wrapper */
.product-list-qty-input {
  width: auto !important;
  min-width: 40px;
  flex: 1;
  height: 40px !important;
  text-align: center;
  border: 1px solid #ccc !important;
  border-radius: 0 !important;
  font-size: 14px;
  font-weight: 700;
  padding: 0 4px !important;
  -moz-appearance: textfield;
  background: #fff;
  color: #333;
}

.product-list-qty-input:focus {
  border-color: #d21923 !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(210, 25, 35, 0.15);
}

.product-list-qty-input::-webkit-outer-spin-button,
.product-list-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Bouton panier : 25% */
.product-list-cart-form .leo-bt-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  border-radius: 6px !important;
  border: none !important;
  background: #d21923 !important;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0 !important;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  position: relative;
  margin-left: 6px;
}

.product-list-cart-form .leo-bt-cart:hover {
  background: #b5141d !important;
  box-shadow: 0 3px 8px rgba(210, 25, 35, 0.3);
}

.product-list-cart-form .leo-bt-cart.active {
  background: #b5141d !important;
}

.product-list-cart-form .leo-bt-cart .leo-loading {
  display: none !important;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-left-color: #fff;
  border-radius: 50%;
  animation: cssload-spin 0.6s infinite linear;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -9px;
  margin-left: -9px;
}

.product-list-cart-form .leo-bt-cart.active .leo-loading {
  display: block !important;
}

.product-list-cart-form .leo-bt-cart.active .leo-bt-cart-content {
  visibility: hidden;
}

.product-list-cart-form .leo-bt-cart .icon-cart {
  font-size: 22px;
}

.product-list-cart-form .leo-bt-cart .name-btn-product {
  display: none;
}

/* Les boutons +/- meme hauteur */
.product-list-qty-wrapper .product-list-qty-btn {
  height: 46px;
}

@keyframes cssload-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .product-list-cart-bar {
    margin-top: 8px;
    padding-top: 8px;
  }
}

@media (max-width: 576px) {
  .product-list-add-form {
    gap: 0;
  }

  .product-list-qty-btn {
    width: 30px;
    font-size: 18px;
  }

  .product-list-qty-wrapper .product-list-qty-btn {
    height: 36px;
  }

  .product-list-qty-input {
    height: 36px !important;
    font-size: 13px;
  }

  .product-list-cart-form .leo-bt-cart {
    width: 25%;
  }

  .product-list-cart-form .leo-bt-cart .icon-cart {
    font-size: 18px;
  }
}
/* Encarts de produits - meme taille */
.product-miniature {
  height: 100%;
}
.product-miniature .thumbnail-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-miniature .product-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --------------------------- */
/* bouton stock liste produits */
/* --------------------------- */
.plist-stock-mini{display:inline-flex;align-items:center;gap:5px;font-size:1rem;font-weight:600}
.plist-stock-mini .stock-dot{width:15px;height:15px;border-radius:50%;display:inline-block;flex-shrink:0}
.plist-stock-mini .stock-dot.red{background:#d32f2f}
.plist-stock-mini .stock-dot.orange{background:#f57c00}
.plist-stock-mini .stock-dot.green{background:#388e3c}
.plist-stock-mini .stock-text.red{color:#d32f2f}
.plist-stock-mini .stock-text.orange{color:#f57c00}
.plist-stock-mini .stock-text.green{color:#388e3c}
/* Grille produits - hauteur uniforme */
#js-product-list .products,
#js-product-list .product-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
#js-product-list .product-miniature {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#js-product-list .product-miniature .thumbnail-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#js-product-list .product-miniature .product-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#js-product-list .product-miniature .product-meta > * {
  flex-shrink: 0;
}
#js-product-list .product-miniature .product-meta .archipel-contact-wrapper,
#js-product-list .product-miniature .product-meta .product-list-cart-bar {
  margin-top: auto;
}
#js-product-list .product_list {
  flex: 1 1 100%;
  width: 100%;
}


/* B2B-HIDE-FN-LN */
/* B2B : masquer les champs Prénom/Nom (clients issus de Sage, société suffit) */
.form-group.row:has(#field-firstname),
.form-group.row:has(#field-lastname) {
  display: none !important;
}

/* B2B-HIDE-IDENTITY-LINK */
/* Masquer l encart Informations sur mon-compte */
#identity-link { display: none !important; }


/* B2B-CART-BTN-FEEDBACK */
/* Feedback visuel bouton ajouter au panier (liste produits) */
.product-list-add-to-cart {
  position: relative;
  transition: background 0.2s, opacity 0.2s;
}

/* Etat loading : spinner a la place de l'icone */
.product-list-add-to-cart.is-loading {
  pointer-events: none;
  opacity: 0.8;
}
.product-list-add-to-cart.is-loading .material-icons {
  visibility: hidden;
}
.product-list-add-to-cart.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  margin-left: -9px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cssload-spin 0.6s infinite linear;
}

/* Etat added : flash de confirmation */
.product-list-add-to-cart.is-added {
  background: #1e7e34 !important;
}
.product-list-add-to-cart.is-added .material-icons::before {
  content: '\E876';
}

/* Badge "Multiple de X" - quantite minimale commande */
.plist-min-qty-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #b34700;
  background: #fff3e0;
  border: 1px solid #ffcc80;
  padding: 1px 7px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.4;
  white-space: nowrap;
  align-self: flex-start;
}

/* Badge "Multiple de X" - specifique page panier (sous le champ quantite) */
.cart-qty-multiple {
  margin-top: 4px;
}

/* Badge "Multiple de X" - specifique commande rapide (centre sous le champ quantite) */
.qty-multiple-label {
  text-align: center;
  margin-top: 4px;
}

/* ===== Archipel : harmonisation des H2 de contenu (rouge Proxitech #e30614) ===== */
/* Page catalogue et autres pages CMS Elementor : uniformise la couleur des titres H2 */
/* Surcharge des couleurs specifiques generees par Elementor (rouge pur -> rouge marque) */
.elementor .elementor-widget-heading.elementor-widget-heading .elementor-heading-title,
.elementor-section .elementor-element.elementor-widget-heading .elementor-heading-title,
.elementor-22 .elementor-widget-heading .elementor-heading-title {
  color: #e30614 !important;
}
.elementor .elementor-widget-heading .elementor-heading-title a {
  color: #e30614 !important;
}

/* ===== Archipel : correction pagination pages marques/fournisseurs ===== */
/* La règle theme.css "#manufacturer #main ul { display: grid; ... }" cible
   par erreur le .page-list (qui est un <ul>), créant un décalage vertical.
   On neutralise la grille pour rétablir l'affichage flex standard de la pagination. */
#manufacturer .pagination .page-list,
#supplier .pagination .page-list {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
}

/* ===== Archipel : compacter le menu du haut pour tenir sur 1 ligne ===== */
/* Réduction des paddings latéraux et de la taille de police pour gagner de l'espace,
   tout en restant lisible. Le menu reste responsive (le breakpoint mobile du thème
   prend le relais en dessous de lg). */
@media (min-width: 992px) {
  ul.nav.navbar-nav.megamenu.horizontal {
    flex-wrap: nowrap !important;
    justify-content: space-between;
    width: 100%;
  }
  ul.nav.navbar-nav.megamenu.horizontal > li > a,
  ul.nav.navbar-nav.megamenu.horizontal > li > .nav-link {
    padding: 17px 10px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }
}

/* ============================================================
   Archipel (2026-10-28) — Header droite : pictos AU-DESSUS des
   libellés (maquette) : Mon compte / Favoris / Panier.
   Panier masqué pour les non-connectés (voir tpl ps_shoppingcart).
   ============================================================ */
.header__button--account .header-account-link,
.header__button--wishlist .ap-btn-wishlist,
.blockcart.cart-preview > .header {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  min-width: 64px;
  padding: 0 6px;
  text-decoration: none;
  line-height: 1.2;
}

.header__button--account .header-account-link i,
.header__button--wishlist .ap-btn-wishlist i,
.blockcart.cart-preview > .header i {
  font-size: 22px;
  color: #1a1a1a;
  line-height: 1;
}

.header-icon-label {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

/* Compteur panier en badge sur l'icône */
.header__button--cart .header-cart-icon {
  position: relative;
  display: inline-block;
  line-height: 1;
}
.header__button--cart .header-cart-icon .cart-products-count {
  position: absolute;
  top: -7px;
  right: -14px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #ec2324;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.header__button--cart a.header-cart-link,
.header__button--cart a.header-cart-link:hover,
.header__button--account a.header-account-link:hover,
.header__button--wishlist a.ap-btn-wishlist:hover {
  text-decoration: none;
}

/* ============================================================
   Archipel (2026-10-28) v2 — bouton compte sur blockgrouptop
   (widget réellement visible) + correction chevauchement badge panier.
   ============================================================ */
/* Bouton compte : picto au-dessus du libellé (maquette) */
.leo_block_top .header-account-link {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 6px;
  text-decoration: none !important;
  line-height: 1.2;
}
.leo_block_top .header-account-link i {
  font-size: 22px;
  color: #1a1a1a;
  line-height: 1;
}
.leo_block_top .header-account-link .header-icon-label {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
/* Barre utilitaire haute : version compacte en ligne */
.header-nav .leo_block_top .header-account-link {
  flex-direction: row;
  gap: 6px;
}
.header-nav .leo_block_top .header-account-link i { font-size: 16px; }
.header-nav .leo_block_top .header-account-link .header-icon-label {
  font-size: 12px;
  max-width: 180px;
}

/* Panier : le thème gagne en spécificité via #_desktop_cart -> ID obligatoire */
#_desktop_cart .blockcart.cart-preview > .header.header__button--cart {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px;
  padding: 0 6px;
  line-height: 1.2;
}
#_desktop_cart .header__button--cart i {
  font-size: 22px;
  color: #1a1a1a;
  line-height: 1;
}
#_desktop_cart .header__button--cart .header-icon-label {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
}
#_desktop_cart .header__button--cart .header-cart-icon {
  position: relative;
  display: inline-block;
  margin-top: 5px;
  line-height: 1;
}
#_desktop_cart .header__button--cart .header-cart-icon .cart-products-count {
  position: absolute;
  top: -9px;
  right: -13px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #ec2324;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
#_desktop_cart a.header-cart-link,
#_desktop_cart a.header-cart-link:hover,
.leo_block_top a.header-account-link:hover {
  text-decoration: none !important;
}

/* ============================================================
   Archipel (2026-10-28) v3 — anti-décalage connecté :
   la rangée des 3 boutons ne doit jamais wrapper quand le nom
   client élargit le widget compte ; le libellé se tronque.
   ============================================================ */
.elementor-element-2427e32 > .elementor-column-wrap {
  flex-wrap: nowrap !important;
}
.elementor-element-2427e32 .elementor-widget {
  min-width: 0;
}
/* Tolérance générique si la colonne change d'ID (support :has) */
.elementor-widget-wrap:has(> .elementor-widget #leo_block_top) {
  flex-wrap: nowrap;
}
/* Nom client borné plus serré dans la rangée du header */
.elementor-element-3106f3d .header-account-link .header-icon-label {
  max-width: 130px;
}

/* ============================================================
   Archipel (2026-10-28) v4 — la section header (logo/menu/boutons)
   ne doit jamais wrapper : les colonnes se serrent, le libellé
   du compte se tronque. Cas générique + ciblage précis.
   ============================================================ */
.elementor-element-1369578 > .elementor-container > .elementor-row {
  flex-wrap: nowrap !important;
}
.elementor-element-1369578 .elementor-column {
  min-width: 0;
}
.elementor-element-1369578 .elementor-widget-wrap {
  flex-wrap: nowrap !important;
}
/* Resserrer les 3 widgets boutons */
.elementor-element-2427e32 .elementor-widget {
  margin: 0 !important;
  padding-left: 2px;
  padding-right: 2px;
}

/* ============================================================
   Archipel (2026-10-28) v5 — conteneur final : menu + boutons sur
   une seule ligne ; le menu se resserre, les boutons ne bougent pas.
   ============================================================ */
.elementor-element-49bae4f .elementor-widget-wrap {
  flex-wrap: nowrap !important;
  align-items: center;
}
.elementor-element-49bae4f .elementor-widget {
  min-width: 0;
}
.elementor-element-1369578 {
  flex-shrink: 0;
}

/* ============================================================
   Archipel (2026-10-28) v6 — le lien panier lui-même en colonne
   (front.css force #_desktop_cart .header a en flex row).
   ============================================================ */
#_desktop_cart .header__button--cart a.header-cart-link {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px;
}

/* Archipel 2026-10-28 : pastilles compteurs cachees si vides ou a 0 */
.ap-total:empty { display: none !important; }
/* ============================================================
   Archipel (2026-10-29) v7 — MOBILE (≤767px)
   1. Univers produits : 2 cartes/ligne + accordéon (cat-body replié)
   2. Barre du bas fixe (.header__fixed--bottom) : picto au-dessus
      du libellé, une ligne par bouton, libellés courts/tronqués
   3. Nom client du header tronqué (anti-retour à la ligne)
   4. Listes produits : 2 produits/ligne, image bornée, boutons
      décollés du bord droit
   5. Fiche produit : image contenue dans l'écran, scroll vertical
      au doigt sur l'image (touch-action), zoom lens masqué
   6. Panier : bouton supprimer à côté de la quantité, photo réduite
   NB : le CSS mobile de la maquette header (logo 160px, burger rouge,
   bandeau 15 000, titre fiche 22px) vit dans le custom CSS Elementor
   des pages builder (leoelements_meta), pas dans ce fichier.
   ============================================================ */

/* --- 1. Univers produits (accueil, nos-produits) --- */
.proxitech-subcats-toggle { display: none; } /* bouton accordéon : mobile uniquement */
@media (max-width: 767px) {
  .proxitech-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }
  .proxitech-cat-card .cat-header { gap: 8px; }
  .proxitech-cat-card .cat-image { flex: 0 0 48px; }
  .proxitech-cat-card .cat-image img { width: 48px; }
  .proxitech-cat-card .cat-title { font-size: 13px; }
  /* Accordéon : corps replié par défaut, ouvert si .open sur la carte */
  .proxitech-cat-card .cat-body { display: none; }
  .proxitech-cat-card.open .cat-body { display: block; }
  .proxitech-subcats-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-left: auto;
    background: #fff;
    border: 1px solid #dbdfe1;
    border-radius: 4px;
    color: #d21923;
    padding: 0;
    cursor: pointer;
  }
  .proxitech-subcats-toggle .material-icons { font-size: 22px; line-height: 1; transition: transform .2s; }
  .proxitech-cat-card.open .proxitech-subcats-toggle .material-icons { transform: rotate(180deg); }
}

/* --- 2. Barre du bas fixe (section Elementor header__fixed--bottom) --- */
@media (max-width: 767px) {
  .header__fixed--bottom .elementor-icon-box-wrapper {
    flex-direction: column !important;
    text-align: center !important;
    gap: 2px;
  }
  .header__fixed--bottom .elementor-icon-box-icon .elementor-icon { font-size: 20px !important; }
  .header__fixed--bottom .elementor-icon-box-content .elementor-icon-box-title { margin-bottom: 0; }
  .header__fixed--bottom .elementor-icon-box-content .elementor-icon-box-title a {
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .3px !important;
    white-space: nowrap;
  }
  .header__fixed--bottom .header__button--account .header-account-link {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    line-height: 1.2;
  }
  .header__fixed--bottom .header__button--account .header-account-link i { font-size: 20px; line-height: 1; }
  .header__fixed--bottom .header__button--account .header-icon-label {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .header__fixed--bottom .ap-btn-wishlist {
    flex-direction: column;
    gap: 2px;
    text-align: center;
    font-size: 10px;
    letter-spacing: .3px;
    line-height: 1.2;
  }
  .header__fixed--bottom .ap-btn-wishlist i { margin-right: 0; font-size: 20px; }
  .header__fixed--bottom .userinfo-selector { width: 100%; text-align: center; }
}
@media (max-width: 400px) {
  /* reprendre le comportement prévu par le thème : icônes seules */
  .header__fixed--bottom .ap-btn-wishlist { font-size: 0; }
  .header__fixed--bottom .header__button--account .header-icon-label { display: none; }
}

/* --- 3. Header : nom client tronqué, boutons sur une ligne --- */
@media (max-width: 767px) {
  .elementor-element-1369578 .header-account-link .header-icon-label {
    max-width: 90px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
  }
  .elementor-element-1369578 .elementor-widget { min-width: 0; }
}

/* --- 4. Listes produits : 2 par ligne --- */
@media (max-width: 767px) {
  #js-product-list .products .ajax_block_product {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    padding-left: 5px;
    padding-right: 5px;
  }
  #js-product-list .product-miniature .product-image img {
    max-width: 130px;
    margin: 0 auto;
    display: block;
  }
  #js-product-list .product-miniature .product-title a { font-size: 13px; }
  #js-product-list .product-miniature .product-price-and-shipping .price { font-size: 14px; }
  #js-product-list .product-miniature .thumbnail-container { padding-bottom: 10px; }
  /* boutons posés sur l'image (wishlist/panier) : décollés du bord droit */
  #js-product-list .product-miniature .functional-buttons { left: auto; right: 8px; bottom: 8px; }
  #js-product-list .product-list-cart-bar { padding-right: 8px; }
}

/* --- 5. Fiche produit : image visible + scroll tactile --- */
@media (max-width: 767px) {
  .product-cover img {
    width: auto !important;
    max-width: 100%;
    max-height: 60vh;
    margin: 0 auto;
    display: block;
    object-fit: contain;
  }
  /* le scroll vertical reprend la main même quand le doigt est sur l'image */
  .product-cover,
  .product-cover img,
  .images-container,
  .lslide img {
    touch-action: pan-y !important;
  }
  /* lentilles du zoom (zoomsl/leogallery) inutiles en tactile */
  .cursorshade,
  .magnifier,
  .tracker,
  .statusdiv {
    display: none !important;
  }
}

/* --- 6. Panier : supprimer à côté de la quantité, photo réduite --- */
/* (révision 2026-11-05) le thème parent pose flex-wrap:wrap + float:right sur
   .product-line-actions (theme.css ~19343) : en ≤767px la colonne d'actions
   (col-xs-8 flottée à droite ≈ 214px) est trop étroite pour [poubelle][qté][total]
   (~236px) → le wrap éclate chaque élément sur sa propre ligne (capture client).
   Correctif : la ligne d'actions repasse en pleine largeur sous la rangée
   image/titre, sans wrap. v4 (retour client) : poubelle collée immédiatement
   à droite du champ quantité → display:contents sur .gr__qty--price (ses
   enfants deviennent items du flex parent) puis ordre [qté][poubelle][total],
   total refoulé à droite par margin-left:auto. */
@media (max-width: 767px) {
  .product-line-grid-left .product-image img { max-width: 80px; }
  .product-line-grid-right.product-line-actions {
    float: none;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 12px;
  }
  /* display:contents (spécificité 0,2,0, chargé après theme.css = gagne) :
     qty et price deviennent des items directs de .product-line-actions */
  .product-line-actions .gr__qty--price { display: contents; }
  /* neutralise la règle thème ≤360px « .qty { width: 100% } » */
  .product-line-actions .gr__qty--price .qty { width: auto; order: 0; }
  /* v5 : poubelle et total alignés sur le MILIEU DU CHAMP quantité (46px),
     pas sur la ligne entière — le bloc .qty peut être plus haut que le champ
     (badge « Multiple de N » ~+26px, ou flèches empilées sous le champ ≤360px)
     → sans ça l'icône descend de ~10px sous le milieu du champ. */
  .product-line-actions .text-xs-right {
    order: 1;
    align-self: flex-start;
    height: 46px;
    display: flex;
    align-items: center;
  }
  .product-line-actions .text-xs-right .cart-line-product-actions { display: flex; align-items: center; }
  .product-line-actions .gr__qty--price .price {
    order: 2;
    margin-left: auto;
    align-self: flex-start;
    height: 46px;
    display: flex;
    align-items: center;
  }
  .product-line-actions .remove-from-cart i { font-size: 22px; }
}

/* ============================================================
   Archipel (2026-10-29) — index A-Z des marques
   (page native /marques + module archipel_liste_marques)
   ============================================================ */
.proxitech-brand-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 15px 0;
}
.proxitech-brand-letters .brand-letter {
  display: inline-block;
  min-width: 30px;
  padding: 4px 6px;
  text-align: center;
  border: 1px solid #dbdfe1;
  border-radius: 4px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}
.proxitech-brand-letters .brand-letter:hover {
  background: #d21923;
  border-color: #d21923;
  color: #fff;
}
.brand-letter-heading {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 24px 0 10px;
}
.proxitech-brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.proxitech-brands-group { margin-bottom: 10px; }

/* ============================================================
   Archipel (2026-10-29) v8 — ajustements maquette mobile
   1. Logo lisible : le widget image plafonnait le logo à ~58px
      (max-width du widget) ; préfixe #header = priorité sur le CSS
      inline Elementor.
   2. Widget menu mort (d94bdeb) masqué : il poussait le logo à 105px.
   3. Logo + burger regroupés à gauche, boutons refoulés à droite.
   4. Menu off-canvas : transition limitée au glissement (le raccourci
      0.4s = all animait la hauteur relancée par auto_height/resize
      mobile = clignotement à l'ouverture) + hauteur stable.
   ============================================================ */
@media (max-width: 767px) {
  #header .elementor-element-d94bdeb { display: none !important; }
  #header .elementor-element-49bae4f > .elementor-column-wrap > .elementor-widget-wrap {
    justify-content: flex-start !important;
  }
  #header .elementor-element-7fa763a,
  #header .elementor-element-fd9d671 { width: auto !important; }
  #header .elementor-element-1369578 {
    width: auto !important;
    min-width: 0 !important;
    max-width: 175px !important;
    margin-left: auto !important;
  }
  #header .elementor-element-2427e32 .header-icon-label { max-width: 82px !important; }
  #header .elementor-element-cca2243 { text-align: left !important; }
  #header .elementor-element-cca2243 img.logo {
    width: 150px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    display: block;
  }
}
@media (max-width: 380px) {
  #header .elementor-element-cca2243 img.logo { width: 128px !important; }
}
@media (max-width: 991px) {
  .off-canvas-nav-megamenu { transition: transform .3s ease !important; }
  .off-canvas-nav-megamenu .offcanvas-mainnav {
    height: 100vh !important;
    height: 100dvh !important;
    overflow-y: auto !important;
  }
}

/* ============================================================
   v8 (2026-11-05) — Masquer les liens « Commande rapide » en
   version mobile : item du menu burger off-canvas + item de la
   liste de liens du footer (widget Elementor LeoBlockLink
   1da0cab). Desktop >=768px inchangé.
   Ciblage par href (les classes leo-1/leo-2 du megamenu ne sont
   pas uniques) via :has() pour masquer le <li> entier.
   ============================================================ */
@media (max-width: 767px) {
  li.nav-item:has(> a[href*="commande_rapide"]),
  li.list-item:has(> a[href*="commande_rapide"]) {
    display: none !important;
  }
}
/* ============================================================
   v9 (2026-11-05, rév. 2) — Fiche produit mobile : taille réelle
   de l'image + scroll tactile.
   Contexte : l'image visible <=767px est la slide leogallery
   #lightSlider .lslide img (créée en JS par buildSlider(), FRÈRE de
   .product-cover dans .images-container). Le fragment v5 du 29/10
   ciblait .product-cover img (display:none) → jamais appliqué.
   Hauteurs : profil mobile leogallery vertical (↑↓ + vignettes),
   verticalHeight 500 → passé à 380 en base
   (LEOGALLERY_SLIDEM_VERTICAL_HEIGHT).
   !!! RÉVISION 2 : la v9-1 clampait ul/li/wrapper en max-height →
   au resize (refresh lightslider : z.init mesure h.outerHeight()
   du 1er li pour item==1, et les hauteurs inline des li sont
   effacées ; l'img absolue du CSS vertical ne contribue pas à la
   hauteur auto) → li/wrapper/ul = 0px = image effondrée (gris).
   FIX = hauteurs EXPLICITES en CSS (indépendantes de la mesure JS)
   sur wrapper + .lslide, et RIEN sur le ul (le translate/maths
   lightslider doit rester libre ; le wrapper clippe déjà).
   enableTouch:false est dans l'override tpl gallery/head (swipe).
   ============================================================ */
@media (max-width: 767px) {
  .images-container .lSSlideWrapper {
    touch-action: pan-y !important;
    height: 45vh !important;
  }
  .images-container .lSSlideWrapper .lslide {
    height: 45vh !important;
  }
  .images-container .lSSlideWrapper ul {
    touch-action: pan-y !important;
  }
  .images-container .lslide img {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    max-height: 45vh !important;
    margin: 0 auto;
    display: block;
  }
}
/* ============================================================
   v10 (2026-11-05) — Barre du bas mobile (section Elementor
   7762495, .header__fixed--bottom) : remplace le bloc v7
   « 2. Barre du bas fixe » ET sa déclinaison @media ≤400px.
   (extrait de custom.css, section 2, lignes ~1580-1645)
   ============================================================ */
@media (max-width: 767px) {
  /* neutralise le mode « icônes seules » ≤400px de front.css ;
     font-size/line-height tuent la ligne de strut héritée (16px)
     qui gonflait le bloc à 48px et décalait l'icône de 7px */
  section.header__fixed--bottom .elementor-icon-box-content { display: block; font-size: 10px; line-height: 1.2; }
  /* picto au-dessus du libellé, centré dans la cellule */
  section.header__fixed--bottom .elementor-icon-box-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2px;
  }
  section.header__fixed--bottom .elementor-icon-box-icon { margin: 0 !important; } /* marge 6px builder (position-left) */
  section.header__fixed--bottom .elementor-icon-box-icon .elementor-icon { font-size: 20px !important; }
  section.header__fixed--bottom .elementor-icon-box-content .elementor-icon-box-title {
    margin-bottom: 0;
    font-size: 10px !important;
    line-height: 1.2 !important; /* 26px du builder = bloc 28px de haut */
  }
  section.header__fixed--bottom .elementor-icon-box-content .elementor-icon-box-title a {
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .3px !important;
    white-space: nowrap;
  }
  section.header__fixed--bottom .header__button--account .header-account-link {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .3px;
  }
  section.header__fixed--bottom .header__button--account .header-account-link i { font-size: 20px; line-height: 1; }
  section.header__fixed--bottom .header__button--account .header-icon-label {
    font-size: 10px; /* 13px posé en direct sur ce span (v4 28/10) */
    line-height: 1.2;
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  section.header__fixed--bottom .ap-btn-wishlist {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    font-size: 10px;
    letter-spacing: .3px;
    line-height: 1.2; /* 28px front.css = bouton 54px, le plus haut de la barre */
  }
  section.header__fixed--bottom .ap-btn-wishlist i { margin-right: 0; font-size: 20px; width: 20px; height: 20px; line-height: 20px; }
  section.header__fixed--bottom .userinfo-selector { width: 100%; text-align: center; }
  /* liseré supérieur sur chaque colonne (le border-top de la section
     était recouvert par la cellule centrale en mobile réel) */
  section.header__fixed--bottom { border-top-width: 0 !important; }
  section.header__fixed--bottom > .elementor-container > .elementor-row > .elementor-column { border-top: 1px solid #dbdfe1; }
}
/* ============================================================
   Archipel (2026-11-05) v11 — MOBILE (≤767px)
   1. Correctif chevauchement des cartes des listes produits :
      le front.css du thème PARENT (leoelements) force en ≤767px
      .products .thumbnail-container { width: fit-content;
      margin-left:auto; margin-right:auto } → le bloc interne prend
      la largeur du titre non coupé (jusqu'à ~300px mesuré) au lieu
      de la carte 50% (175px en 390px) = chevauchement entre cartes
      + débordement à droite. On restaure la pleine largeur de carte.
      (spécificité (1,2,0)+!important > (0,2,0) du parent)
   2. Tuiles sous-catégories sur les pages catégorie (mobile
      uniquement, masqué ≥768px) : rangée scrollable horizontalement,
      vignette + libellé. Markup : override enfant
      templates/catalog/listing/category.tpl.
   ============================================================ */

@media (max-width: 767px) {
  #js-product-list .products .thumbnail-container {
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* --- 2. Tuiles sous-catégories (pages catégorie) --- */
.proxitech-subcats { display: none; }
@media (max-width: 767px) {
  .proxitech-subcats {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .proxitech-subcats .proxitech-subcat-tile {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: 104px;
    padding: 10px 8px;
    background: #fff;
    border: 1px solid #dbdfe1;
    border-radius: 6px;
    text-decoration: none;
  }
  .proxitech-subcats .proxitech-subcat-tile img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
  }
  .proxitech-subcats .proxitech-subcat-tile .proxitech-subcat-name {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .2px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .proxitech-subcats .proxitech-subcat-noimg {
    color: #d21923;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
/* ============================================================
   Archipel (2026-11-05) v12 — header connecté mobile : tout doit tenir.
   Symptômes (iPhone + Android réels, tous clients connectés) :
   - le libellé compte "CODE - SOCIETE" (82px tronqué) débordait de son
     widget (marges builder 20px) et chevauchait « Favoris » ;
   - favoris/panier ont un min-width:64px (thème front.css) -> la colonne
     débordait du viewport à droite -> « Panier » coupé ;
   - la colonne plafonnée 175px fixes dépassait l'écran ≤380px.
   Contenu raccourci côté PHP (blockgrouptop.php : CODE - INITIALES).
   Ici, le CSS :
   1. colonne boutons bornée au viewport (au lieu de 175px fixes) ;
   2. marges builder du compte neutralisées + min-width thème à 0 ;
   3. libellés rangée header 10px, icônes 20px, padding 2px
      (cohérent barre du bas v10) ;
   4. chaîne ellipsis : chaque lien se plie à la largeur de son widget ;
   5. badge panier : dépassement réduit (-13px -> -8px).
   Vérifié chrome-devtools connecté 320/360/390/393/430 + desktop.
   ============================================================ */
@media (max-width: 767px) {
  #header .elementor-element-1369578 { width: auto !important; min-width: 0 !important; max-width: min(175px, calc(100vw - 193px)) !important; }
  #header .elementor-element-1369578 .elementor-widget { min-width: 0 !important; flex: 0 1 auto !important; }
  #header .elementor-element-1369578 .elementor-widget .elementor-widget-container { margin-left: 0 !important; margin-right: 0 !important; min-width: 0; }
  #header .elementor-element-1369578 .ap-btn-wishlist,
  #_desktop_cart .header__button--cart { min-width: 0 !important; }
  #header .elementor-element-1369578 .header-icon-label { font-size: 10px !important; }
  #header .elementor-element-1369578 .ap-btn-wishlist { font-size: 10px !important; }
  #header .elementor-element-1369578 .header-account-link i,
  #header .elementor-element-1369578 .ap-btn-wishlist i,
  #_desktop_cart .header__button--cart i { font-size: 20px !important; }
  .leo_block_top .header-account-link,
  #header .elementor-element-1369578 .ap-btn-wishlist,
  #_desktop_cart .header__button--cart { padding-left: 2px !important; padding-right: 2px !important; }
  #header .elementor-element-1369578 .header-account-link,
  #header .elementor-element-1369578 .ap-btn-wishlist { max-width: 100% !important; }
  #header .elementor-element-1369578 .header-icon-label { max-width: 100% !important; }
  #_desktop_cart .header__button--cart { max-width: 100% !important; }
  #header .elementor-element-3106f3d #leo_block_top { text-align: center; }
  #_desktop_cart .header-cart-icon .cart-products-count { right: -8px; }
}
@media (min-width: 381px) and (max-width: 767px) {
  #header .elementor-element-1369578 { max-width: min(215px, calc(100vw - 215px)) !important; }
}/* ============================================================
   Archipel (2026-11-06) v13 — mobile : 4 retours client (items 8-11)
   1. Univers produits (accueil + nos-produits) : la grille mobile
      repeat(2, 1fr) laissait le min-content des titres (uppercase
      800) gonfler les pistes (183/179px mesurées pour 340px dispo
      accueil, conteneur 300px sur nos-produits) -> carte de droite
      et flèche coupées au bord (accueil 360px), colonne de droite
      entière hors écran (nos-produits). minmax(0,1fr) = pistes
      exactement à moitié ; titres rétrécissables (min-width:0) ;
      image 40px et gaps 6px <=576px pour garder du poids au titre ;
      page CMS : wrapper élargi de 2x14px dans les marges.
   2. Burger à droite : section fd9d671 passée en order:4 (ordre
      visuel logo | boutons | burger). Les bornes v12 de la colonne
      boutons sont recalées (le burger prend ~35px côté droit).
   3. Anti-flash menu (Safari surtout) : theme.css pose
      `transition: all 400ms` sur #page fermé -> anim de layout
      inutile ; neutralisée <=991px. Le saut de scroll à
      l'ouverture/fermeture (#page passe en position:fixed sans
      compensation) est corrigé en JS (custom.js v13).
   4. Ancres Nos marques (/partenaires et /marques) : les cibles
      section.proxitech-brands-group atterrissaient collées au bord
      haut. scroll-margin-top 200px (header fixe desktop 180px),
      15px <=767px (header statique mobile).
   Desktop >=768px : Univers produits inchangé (4 colonnes) sauf
   scroll-margin ; burger reste caché >=992px (hidden-lg-up).
   ============================================================ */
@media (max-width: 767px) {
  .proxitech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .proxitech-cat-card { min-width: 0; }
  .proxitech-cat-card .cat-header { min-width: 0; }
  .proxitech-cat-card .cat-title { min-width: 0; flex: 1 1 auto; overflow-wrap: break-word; hyphens: auto; }
  #header .elementor-element-fd9d671 {
    order: 4;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: 8px !important;
    margin-right: 2px !important;
  }
  /* v13 : remplace les bornes v12 (le burger est passe a droite) */
  #header .elementor-element-1369578 { max-width: min(175px, calc(100vw - 215px)) !important; }
}
@media (min-width: 381px) and (max-width: 767px) {
  #header .elementor-element-1369578 { max-width: min(215px, calc(100vw - 240px)) !important; }
}
@media (max-width: 576px) {
  .proxitech-cat-card .cat-header { gap: 6px; }
  .proxitech-cat-card .cat-image { flex: 0 0 40px; }
  .proxitech-cat-card .cat-image img { width: 40px; }
  body.page-cms .proxitech-categories-wrapper { margin-left: -14px !important; margin-right: -14px !important; }
}
@media (max-width: 991px) {
  #page { transition: none !important; }
}
/* --- 4. Nos marques : respiration apres saut d'ancre --- */
.proxitech-brands-group { scroll-margin-top: 200px; }
@media (max-width: 767px) {
  .proxitech-brands-group { scroll-margin-top: 15px; }
}
/* ============================================================
   Archipel (2026-11-09) v14 — anti-flash burger Safari iOS (v2)
   Le fix v13 (top:-scrollY pose avant le toggle) tenait les pixels
   mais pas le mecanisme : passer #page en position:fixed force
   Safari iOS a re-rasteriser TOUTE la page en couche fixe, effondre
   la hauteur du document (le scroll clampe a 0, la barre d'URL peut
   se redeployer) => flash blanc a l'ouverture, memes pixels.
   v14 supprime le toggle fixed sur mobile : #page ne change JAMAIS
   de position (relative !important), le panneau s'ancre lui-meme au
   viewport (position:fixed), le scroll de fond est verrouille par
   overflow:hidden + preventDefault touchmove/wheel (custom.js v14 ;
   gestes autorises dans le panneau s'il deborde reellement).
   Ouverture = zero changement de layout ni de scroll => rien a
   repeindre => plus de flash possible. Fermeture = scroll intact,
   plus aucune restauration JS.
   ============================================================ */
@media (max-width: 991px) {
  body.off-canvas-active #page {
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }
  body.off-canvas-active > .off-canvas-nav-megamenu {
    position: fixed !important;
    top: 0 !important;
  }
  body.off-canvas-active {
    overflow: hidden;
  }
  /* panneau scrollable (overflow-y:auto v8) : pas de chainage du
     scroll vers la page en butee (Safari 16+, Chrome, Firefox) */
  .off-canvas-nav-megamenu .offcanvas-mainnav {
    overscroll-behavior: contain;
  }
}

/* ============================================================
   Archipel (2026-11-19) v15 — panier + prix net
   ============================================================ */

/* Mention « Prix net » (fiche + listings) : produit dont le tarif
   applique est un Prix Net Sage (regle price >= 0). Remplace le
   prix public barre et le badge rouge -0,00 EUR du coeur. */
.archipel-net-mention {
  display: inline-block;
  background-color: #e8f5e9;
  color: #1b5e20;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  margin-left: 8px;
  vertical-align: middle;
  line-height: 1.4;
  white-space: nowrap;
}

/* Message d'erreur serveur au moment de l'ajout au panier
   (quantite minimale, stock, restriction...) : custom.js v15
   l'affiche au plus pres du bouton, plus aucun rejet silencieux. */
.archipel-cart-msg {
  display: none;
  margin: 8px 0 0;
  padding: 8px 12px;
  border: 1px solid #d32f2f;
  background-color: #fdecea;
  color: #b71c1c;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.archipel-cart-msg.is-visible {
  display: block;
}
