/* Custom code goes here.
 * A template should always ship with an empty custom.css
 */

:root {
  --el-violet:        #8B3DF5;
  --el-violet-sombre: #6D23D0;
  --el-violet-pale:   #F4EEFE;
  --el-encre:         #111214;
  --el-gris:          #5B6069;
  --el-trait:         #E3E5E9;
  --el-fond-doux:     #F7F7F9;
  --el-promo:         #C0392B;

  /* Rythme vertical : tout est multiple de 8 px */
  --el-u: 8px;
  /* Hauteur commune des vignettes du menu : une seule valeur à régler */
  --el-mm-img-h: 90px;
}

#content-wrapper .page-title {
  font-size: 2rem;
}

#wrapper .breadcrumb li, #wrapper .breadcrumb a {
  font-size: 1.1rem;
}

#wrapper .block-title a:link, #wrapper .block-title a:visited {
    font-size: 1.3rem;
}

.block-links ul>li a {
  font-size: 1.1rem;
}

.block-categories ul>li {
    margin-bottom: 5px;
    margin-top: 5px;
}

#footer .block-title, #checkout-footer .block-title {
  font-size: 1.5rem;
}

#footer-container-main a, #checkout-footer a {
  font-size: 1.1rem;
}

/** HEADER **/
.ps-shoppingcart.dropdown #blockcart-content {
z-index: 1000;
}
.search-widget .search-btn {
  background-color: #8B3DF5;
}
.header-top a.header-cart-btn:not(:hover) {
  color: #8B3DF5;
}
.desktop-header-style-2 .search-widget {
    max-width: 70%;
}

#header .container {
  max-width: 75%;
}

#header .container.iqit-megamenu-container {
  max-width: 100%;
  margin: 0 auto;
}

/*#header .container.container-iqitmegamenu {
  max-width: 100%;
}*/

#header .container.iqitmegamenu-submenu-container {
  max-width: 100%;
}

#desktop-header .col-header-right a.header-btn > i, #desktop-header .col-header-right a.header-btn .icon {  
  font-size: 2rem!important;
}
#desktop-header .col-header-right a.header-btn .title {
  font-size: 1rem!important;
}

@media (max-width: 2354px) {
  .desktop-header-style-2 .search-widget {
    max-width: 100%;
  }

  #header .container {
    max-width: 100%;
  }
}

/* =========================================================================
   1. Colonne gauche — logo + baseline
   ========================================================================= */
 
#desktop-header .col-header-left {
  display: flex;
  align-items: center;
  gap: calc(var(--el-u) * 2);
}
 
#desktop-header #desktop_logo { margin: 0; }
#desktop-header #desktop_logo img { display: block; }
 
.el-hd-baseline {
  margin: 0;
  padding-left: calc(var(--el-u) * 2);
  border-left: 1px solid var(--el-trait);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--el-encre);
  white-space: nowrap;
}
 
/* =========================================================================
   2. Colonne centre — recherche + téléphone sur une seule ligne
   ========================================================================= */
 
#desktop-header .col-header-center {
  display: flex;
  align-items: center;
  gap: calc(var(--el-u) * 12);
  margin-left: 25px;
}
 
/* La recherche prend la place restante */
#desktop-header .col-header-center #search_widget,
#desktop-header .col-header-center .iqitsearch-widget {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
 
#desktop-header #search_widget .form-control {
  height: 46px;
  border: 1px solid var(--el-trait);
  border-radius: 8px 0 0 8px;
  box-shadow: none;
}
 
#desktop-header #search_widget .btn,
#desktop-header #search_widget button[type="submit"] {
  height: 46px;
  border-radius: 0 8px 8px 0;
  background: var(--el-violet);
  border-color: var(--el-violet);
  color: #fff;
}
 
#desktop-header #search_widget .btn:hover {
  background: var(--el-violet-sombre);
  border-color: var(--el-violet-sombre);
}
 
/* Le bloc texte libre du theme editor ne doit plus s'intercaler */
#desktop-header .col-header-center .header-custom-html { display: none; }
 
/* --- Téléphone --- */
 
.el-hd-phone {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: calc(var(--el-u) * 1.5);
  text-decoration: none;
  white-space: nowrap;
}
 
.el-hd-phone__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--el-violet);
  color: #fff;
  font-size: 1rem;
}
 
.el-hd-phone__num {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--el-encre);
  transition: color .15s ease;
}
 
.el-hd-phone:hover .el-hd-phone__num { color: var(--el-violet); }
 
/* =========================================================================
   3. Colonne droite — icônes plus grandes, libellé dessous
   Le markup réel est :
     a.header-btn > i.icon + span.title
   et pour le panier :
     a.header-btn > i.icon > span.cart-products-count-btn
                  + span.info-wrapper > span.title
   ========================================================================= */
 
#desktop-header .col-header-right > .row {
  gap: calc(var(--el-u) * 3);
  align-items: flex-start;
  flex-wrap: nowrap;
}
 
/* Chaque bouton devient une pile verticale */
#desktop-header .col-header-right a.header-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: var(--el-encre);
  text-decoration: none;
  line-height: 1.2;
}
 
/* Pictogrammes */
#desktop-header .col-header-right a.header-btn > i,
#desktop-header .col-header-right a.header-btn .icon {
  position: relative;          /* ancre la pastille du panier */
  font-size: 1.5rem;
  width: auto;
  margin: 0;
  color: var(--el-encre);
}
 
/* Libellés */
#desktop-header .col-header-right a.header-btn .title {
  display: block!important;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--el-encre);
}
 
#desktop-header .col-header-right .header-cart-btn .info-wrapper {
  display: block;
  text-align: center;
}
 
/* Le détail « / (2) 45,00 € » reste dans le volet, pas dans le bouton.
   Règle de sécurité si la surcharge du template n'est pas en place. */
#desktop-header .cart-toggle-details { display: none; }
 
#desktop-header .col-header-right a.header-btn:hover,
#desktop-header .col-header-right a.header-btn:hover > i,
#desktop-header .col-header-right a.header-btn:hover .title { color: var(--el-violet); }
 
/* Pastille du compteur, posée sur l'icône.
   Elle vit dans le <i> Font Awesome : il faut lui rendre une police
   normale, sinon les chiffres héritent de la fonte d'icônes. */
#desktop-header .cart-products-count-btn {
  position: absolute;
  top: -7px;
  right: -11px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--el-violet);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
 
/* =========================================================================
   4. Repli
   ========================================================================= */
 
@media (max-width: 1199.98px) {
  .el-hd-baseline { font-size: .875rem; }
  .el-hd-phone__num { font-size: 1.125rem; }
  #desktop-header .col-header-center { gap: calc(var(--el-u) * 2); }
  #desktop-header .col-header-right > .row { gap: calc(var(--el-u) * 2); }
}
 
@media (max-width: 991.98px) {
  /* L'en-tête mobile de Warehouse est un bloc distinct : on ne masque ici
     que ce qui n'y a pas sa place. */
  .el-hd-baseline { display: none; }
  .el-hd-phone__num { display: none; }
}
 
/* =========================================================================
   5. Accessibilité
   ========================================================================= */
 
#desktop-header a:focus-visible {
  outline: 2px solid var(--el-violet);
  outline-offset: 3px;
  border-radius: 4px;
}
 
@media (prefers-reduced-motion: reduce) {
  .el-hd-phone__num,
  #desktop-header .col-header-right a { transition: none; }
}
 

/** END HEADER **/

/** HOME **/
#index #wrapper {
  padding-top: 0!important;
  padding-bottom: 0!important;
}
#index #inner-wrapper.container {
  max-width:100%!important;
}
/** END HOME **/

/** MENU **/


#cbp-hrmenu-tab-21 > div > div > div > div.row.menu_row.menu-element.first_rows.menu-element-id-8 > div.col-10.cbp-menu-column.cbp-menu-element.menu-element-id-7 > div > div.row.menu_row.menu-element.menu-element-id-49 > div.col-4.cbp-menu-column.cbp-menu-element.menu-element-id-4.cbp-empty-column > div > div.row.menu_row {
  align-items: center;
}
#cbp-hrmenu-tab-21 > div > div > div > div.row.menu_row.menu-element.first_rows.menu-element-id-8 > div.col-10.cbp-menu-column.cbp-menu-element.menu-element-id-7 > div > div.row.menu_row.menu-element.menu-element-id-49 > div.col-4.cbp-menu-column.cbp-menu-element.menu-element-id-4.cbp-empty-column > div > div.row > div.col-6.cbp-menu-column > div > img {
  height: 70px;
}

/* ---- Téléphone + contact à droite de la recherche ---- */
#elindo-mobile-contact.elindo-contact {
  display: inline-flex;
  /*flex-direction: column;*/
  align-items: flex-start;
}
.mobile-main-bar #elindo-mobile-contact.elindo-contact a {
  color: #FFFFFF;
}
.mobile-menu__above-content .elementor-displayAboveMobileMenu {
  display:none;
}
.elindo-contact { display: flex; align-items: center; gap: 1.5rem; white-space: nowrap; justify-content: end; margin: 20px 0 5px 0; }
.elindo-contact a {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 2rem; text-decoration: none; color: #000000!important;
  transition: color .2s;
}

.elindo-contact a:hover {
  color: #8B3DF5;
}
.elindo-contact .elindo-ico i {
  color: #000;   /* figé : n'hérite jamais du lien */
}

.elindo-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: #8B3DF5; font-size: 1.5rem;
}

@media (min-width: 991px) and (max-width: 1243px) {
  .desktop-header-style-2 .elementor-displayHeaderTop .elementor-icon-list-icon {display:none;}
}

.cbp-hrmenu .cbp-links li a:before {
    font-size: 15px;
    font-weight: 600;
    color: var(--el-violet);
}

.menu-element-id-18 .el-mm-head {
  border:0!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}

.menu-element-id-18 .el-mm-head__title {
  width: min-content;
}

.cbp-hrmenu .cbp-links li {
  font-size: 1.2rem;
}

#cbp-hrmenu .cbp-links a {
  position: relative;
  display: inline-block;
  padding-left: 16px;
}

#cbp-hrmenu .cbp-links a::before {
  content: "";
  position: absolute;
  box-sizing: content-box;        /* indispensable : le thème impose border-box */
  left: 3px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -4px;               /* centrage vertical, en dehors du transform */
  border: solid var(--el-violet);
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
  transition: left .2s ease;
}

#cbp-hrmenu .cbp-links a:hover::before { left: 5px; }

.cbp-hrmenu .cbp-links.cbp-valinks-vertical li {
  width: 100%;
  margin: 3px 0;
  padding-left: 2px;
}

.cbp-hrmenu .cbp-mainlink-iicon, .cbp-hrmenu .cbp-mainlink-icon {
  font-size: 1.5rem;
  margin-right: 10px;
}

/* =========================================================================
   Vignettes des colonnes

   Les images d'iqitmegamenu portent .img-fluid, donc `height: auto` :
   leur hauteur suit la largeur de leur cellule. Comme vos colonnes n'ont
   pas la même largeur (col-6 dans une col-4 contre col-12 dans une col-3),
   les hauteurs divergent.

   On impose donc une hauteur commune et on recadre au lieu de déformer.
   Réglez --el-mm-img-h en haut du fichier.
   ========================================================================= */

#cbp-hrmenu .cbp-banner-image {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: var(--el-mm-img-h);
  aspect-ratio: auto;          /* neutralise les attributs width/height */
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: calc(var(--el-u) * 1.5);
}


/* -------------------------------------------------------------------------
   Colonnes de hauteur égale, boutons alignés en bas.
 
   `align-items: stretch` ne suffit pas : il étire bien les .col-*, mais le
   .cbp-menu-column-inner qu'elles contiennent garde la hauteur de son
   contenu. Et `height: 100%` sur cet enfant est peu fiable, parce que son
   parent est un élément flex sans hauteur explicite.
 
   Il faut une chaîne flex continue de la ligne jusqu'au dernier bloc.
   ------------------------------------------------------------------------- */
 
/* 1. La ligne étire ses colonnes */
#cbp-hrmenu .menu_row {
  display: flex;
  align-items: stretch;
}
 
/* 2. La colonne devient elle-même un conteneur flex vertical */
#cbp-hrmenu .cbp-menu-column {
  display: flex;
  flex-direction: column;
}
 
/* 3. Le conteneur interne occupe toute la hauteur disponible */
#cbp-hrmenu .cbp-menu-column-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
 
/* 4. La dernière ligne imbriquée — le bouton « Voir tout… » — est poussée
      en bas, ce qui aligne les trois boutons sur la même ligne de base. */
#cbp-hrmenu #cbp-hrmenu-tab-5 .cbp-menu-column-inner > .menu_row:last-child {
  margin-top: auto;
}
 
/* L'éditeur HTML d'iqitmegamenu enveloppe les boutons dans un <p> :
   on neutralise sa marge, sinon elle décale l'alignement. */
#cbp-hrmenu .cbp-menu-column-inner > .menu_row p:last-child { margin-bottom: 0; }
 
/* Les listes de liens ne doivent pas s'étirer, sinon leurs puces
   se répartissent sur toute la hauteur de la colonne. */
#cbp-hrmenu .cbp-links,
#cbp-hrmenu .cbp-categories-row { flex: 0 0 auto; }
 
 
/* =========================================================================
   En-tête de dropdown — pastille + titre + accroche
   À placer dans une première ligne en col-12.
   ========================================================================= */
 
#cbp-hrmenu .el-mm-head {
  display: flex;
  align-items: center;
  gap: calc(var(--el-u) * 2);
  padding-bottom: calc(var(--el-u) * 2.5);
  margin-bottom: calc(var(--el-u) * 3);
  border-bottom: 1px solid var(--el-trait);
}
 
#cbp-hrmenu .el-mm-head__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--el-violet-pale);
  color: var(--el-violet);
  font-size: 1.5rem;
}
 
#cbp-hrmenu .el-mm-head__title {
  flex: 0 0 auto;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--el-encre);
}
 
/* Le filet vertical qui sépare le titre de l'accroche */
#cbp-hrmenu .el-mm-head__text {
  flex: 1 1 auto;
  margin: 0;
  padding-left: calc(var(--el-u) * 2);
  border-left: 1px solid var(--el-trait);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--el-gris);
}
 
@media (max-width: 991.98px) {
  #cbp-hrmenu .el-mm-head { flex-wrap: wrap; gap: calc(var(--el-u) * 1.5); }
  #cbp-hrmenu .el-mm-head__title { font-size: 1.375rem; }
  #cbp-hrmenu .el-mm-head__text {
    flex-basis: 100%;
    padding-left: 0;
    border-left: 0;
  }
}
 
 
/* =========================================================================
   Titres de colonne
   Warehouse les passe en petites capitales ; la maquette les veut en
   casse normale et plus affirmés.
   ========================================================================= */
 
#cbp-hrmenu .cbp-column-title,
#cbp-hrmenu .cbp-category-title {
  text-transform: none;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--el-encre);
}
 
 
/* =========================================================================
   Colonne latérale — structure commune
   ========================================================================= */
 
#cbp-hrmenu .el-mm-side {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;          /* remplit la hauteur de la colonne */
  background: var(--el-violet-pale);
  border-radius: 14px;
  padding: calc(var(--el-u) * 2.5);
}
 
#cbp-hrmenu .el-mm-side__title {
  display: flex;
  align-items: center;
  gap: var(--el-u);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--el-encre);
  margin: 0 20px calc(var(--el-u) * 2);
}
 
#cbp-hrmenu .el-mm-side__title i { color: var(--el-violet); }
 
#cbp-hrmenu .el-mm-side__list {
  list-style: none;
  margin: 0 0 calc(var(--el-u) * 2);
  padding: 0;
  /*flex: 1 1 auto;*/
}
 
#cbp-hrmenu .el-mm-side__list li { margin-bottom: 4px; }
 
/* Une ligne : pastille d'icône + libellé (+ chevron si c'est un lien) */
#cbp-hrmenu .el-mm-side__list li,
#cbp-hrmenu .el-mm-side__list a {
  display: flex;
  align-items: center;
  gap: calc(var(--el-u) * 1.25);
  font-size: 1.4rem;
  color: var(--el-encre);
  text-decoration: none;
  padding: 10px 8px;
  border-radius: 8px;
}
 
#cbp-hrmenu .el-mm-side__list a { width: 100%; }
 
#cbp-hrmenu .el-mm-side__list i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  color: var(--el-violet);
  font-size: 1.5rem;
}
 
#cbp-hrmenu .el-mm-side__list span { flex: 1 1 auto; }
 
/* Chevron sur les entrées cliquables uniquement */
#cbp-hrmenu .el-mm-side__list a::after {
  content: "\f105";              /* fa-angle-right */
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  color: var(--el-gris);
  font-size: .875rem;
}
 
#cbp-hrmenu .el-mm-side__list a:hover { background: #fff; color: var(--el-violet); }
#cbp-hrmenu .el-mm-side__list a:hover::after { color: var(--el-violet); }
 
/* Variante sans interaction : la liste des services */
#cbp-hrmenu .el-mm-side__list--plain li { cursor: default; }
 
 
/* =========================================================================
   Boutons — à plat, sans dégradé
   ========================================================================= */
 
#cbp-hrmenu .el-mm-side__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--el-u);
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--el-violet);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
 
#cbp-hrmenu .el-mm-side__btn:hover {
  background: #000;
  color: #fff!important;
}
 
#cbp-hrmenu .el-mm-side__btn--solid {
  background: var(--el-violet);
  color: #fff;
}
 
#cbp-hrmenu .el-mm-side__btn--solid:hover {
  background: #000;
  color: #fff!important;
}
 
 
/* =========================================================================
   Bandeau de réassurance
   ========================================================================= */
 
#cbp-hrmenu .el-mm-usp {
  display: flex;
  list-style: none;
  margin: calc(var(--el-u) * 2) 0 0;
  padding: calc(var(--el-u) * 2) 0 0;
  border-top: 1px solid var(--el-trait);
}
 
#cbp-hrmenu .el-mm-usp li {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: calc(var(--el-u) * 1.5);
  padding-inline: calc(var(--el-u) * 9);
  border-left: 1px solid var(--el-trait);
}
 
#cbp-hrmenu .el-mm-usp li:first-child { border-left: 0; padding-left: calc(var(--el-u) * 10); }
 
#cbp-hrmenu .el-mm-usp i {
  flex: 0 0 auto;
  font-size: 3rem;
  color: var(--el-violet);
}
 
#cbp-hrmenu .el-mm-usp span {
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  color: var(--el-gris);
  line-height: 1.35;
}
 
#cbp-hrmenu .el-mm-usp strong {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--el-encre);
}
 
 
/* =========================================================================
   Repli mobile : le mega menu devient un accordéon, le bandeau à cinq
   colonnes n'y tient pas.
   ========================================================================= */
 
@media (max-width: 991.98px) {
  #cbp-hrmenu .el-mm-usp { flex-wrap: wrap; row-gap: calc(var(--el-u) * 2); }
 
  #cbp-hrmenu .el-mm-usp li {
    flex: 0 0 50%;
    border-left: 0;
    padding-inline: 0 calc(var(--el-u) * 2);
  }
 
  #cbp-hrmenu .el-mm-side { margin-top: calc(var(--el-u) * 2); }
}
 
@media (max-width: 575.98px) {
  #cbp-hrmenu .el-mm-usp li { flex-basis: 100%; }
}
 
 
/* =========================================================================
   Accessibilité
   ========================================================================= */
 
#cbp-hrmenu .el-mm-side a:focus-visible {
  outline: 2px solid var(--el-violet);
  outline-offset: 2px;
}
 
@media (prefers-reduced-motion: reduce) {
  #cbp-hrmenu .el-mm-side__btn,
  #cbp-hrmenu .el-mm-side__list a { transition: none; }
}

.pack-helper { background:var(--el-violet-pale); border-radius:8px; padding:24px; }
.pack-helper__title { font-size: 1.5rem; font-weight:700; color:#000000; margin:0 0 8px; }
.pack-helper__text { font-size: 1.2rem; color:#6b7b93; margin:0 0 18px; }
.pack-helper__btn {
  font-size: 1.3rem; display:inline-block; background:rgb(140, 74, 200); color:#fff; font-weight:700;
  border-radius:999px; padding:12px 26px; text-decoration:none;
}
.pack-helper__btn:hover { background:#000000; }
.pack-helper a:link:not(.nav-link):not(.btn), .pack-helper a:visited:not(.nav-link):not(.btn) {
  color:#ffffff!important;
}

.brand-helper { background:var(--el-violet-pale); border-radius:8px; padding:24px; }
.brand-helper__title { font-size: 1.5rem; font-weight:700; color:#000000; margin:0 0 8px; }
.brand-helper__text { font-size: 1.2rem; color:#6b7b93; margin:0 0 18px; }
.brand-helper__btn {
  font-size: 1.3rem; display:inline-block; background:rgb(140, 74, 200); color:#fff; font-weight:700;
  border-radius:999px; padding:12px 26px; text-decoration:none;
}
.brand-helper__btn:hover { background:#000000; }
.brand-helper a:link:not(.nav-link):not(.btn), .brand-helper a:visited:not(.nav-link):not(.btn) {
  color:#ffffff!important;
}

.advice-helper { background:var(--el-violet-pale); border-radius:8px; padding:24px; }
.advice-helper__title { font-size: 1.5rem; font-weight:700; color:#000000; margin:0 0 8px; }
.advice-helper__text { font-size: 1.2rem; color:#6b7b93; margin:0 0 18px; }
.advice-helper__btn {
  font-size: 1.3rem; display:inline-block; background:rgb(140, 74, 200); color:#fff; font-weight:700;
  border-radius:999px; padding:12px 26px; text-decoration:none;
}
.advice-helper__btn:hover { background:#000000; }
.advice-helper a:link:not(.nav-link):not(.btn), .advice-helper a:visited:not(.nav-link):not(.btn) {
  color:#ffffff!important;
}


/* =========================================================================
   MENU MOBILE — #iqitmegamenu-mobile

   Les blocs HTML du méga-menu (el-mm-head, el-mm-side, el-mm-usp, boutons)
   sont stylés plus haut sous #cbp-hrmenu, qui n'existe que sur le menu
   bureau. Le menu mobile reprend le même HTML dans #iqitmegamenu-mobile :
   sans les règles ci-dessous, ces blocs s'y affichent bruts.

   Même charte qu'au bureau, ramenée à la largeur du volet (≈ 300 px) :
   tout s'empile sur une colonne.
   ========================================================================= */

/* --- En-tête de panneau : pastille + titre, accroche dessous ------------ */

#iqitmegamenu-mobile .el-mm-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: calc(var(--el-u) * 1.5);
  row-gap: var(--el-u);
  padding-bottom: calc(var(--el-u) * 2);
  margin-bottom: var(--el-u);
  border-bottom: 1px solid var(--el-trait);
}

#iqitmegamenu-mobile .el-mm-head__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--el-violet-pale);
  color: var(--el-violet);
  font-size: 1.6rem;
}

#iqitmegamenu-mobile .el-mm-head__title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--el-encre);
}

#iqitmegamenu-mobile .el-mm-head__title a {
  color: inherit;
  text-decoration: none;
}

#iqitmegamenu-mobile .el-mm-head__text {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--el-gris);
}

/* --- Titres de colonne : casse normale, comme au bureau ----------------- */

#iqitmegamenu-mobile .mobile-menu__column-title {
  display: block;
  margin: calc(var(--el-u) * 2) 0 var(--el-u);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--el-encre);
  text-decoration: none;
}

#iqitmegamenu-mobile a.mobile-menu__column-title:hover { color: var(--el-violet); }

/* --- Listes de liens : chevron violet, comme au bureau ------------------- */

#iqitmegamenu-mobile .mobile-menu__links-list,
#iqitmegamenu-mobile .cbp-links {
  list-style: none;
  margin: 0 0 var(--el-u);
  padding: 0;
}

#iqitmegamenu-mobile .mobile-menu__links-list a,
#iqitmegamenu-mobile .cbp-links a {
  position: relative;
  display: block;
  padding: 6px 0 6px 16px;
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--el-encre);
  text-decoration: none;
}

#iqitmegamenu-mobile .mobile-menu__links-list a::before,
#iqitmegamenu-mobile .cbp-links a::before {
  content: "";
  position: absolute;
  box-sizing: content-box;
  left: 3px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -3px;
  border: solid var(--el-violet);
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}

#iqitmegamenu-mobile .mobile-menu__links-list a:hover,
#iqitmegamenu-mobile .cbp-links a:hover { color: var(--el-violet); }

/* --- Vignettes : même hauteur qu'au bureau, recadrées ------------------ */

#iqitmegamenu-mobile .mobile-menu__banner-image {
  display: block;
  width: 100%;
  height: var(--el-mm-img-h);
  object-fit: cover;
  border-radius: 8px;
  margin: var(--el-u) 0;
}

/* --- Boutons ------------------------------------------------------------ */

#iqitmegamenu-mobile p:has(> .el-mm-side__btn) { margin: calc(var(--el-u) * 2) 0; }

#iqitmegamenu-mobile .el-mm-side__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--el-u);
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--el-violet);
  border-radius: 10px;
  background: #fff;
  color: var(--el-violet);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

#iqitmegamenu-mobile .el-mm-side__btn--solid {
  background: var(--el-violet);
  color: #fff;
}

#iqitmegamenu-mobile .el-mm-side__btn:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}

/* --- Encadrés « À découvrir » et « Nos services » ----------------------- */

#iqitmegamenu-mobile .el-mm-side {
  margin-top: calc(var(--el-u) * 2);
  padding: calc(var(--el-u) * 2);
  border-radius: 12px;
  background: var(--el-violet-pale);
}

#iqitmegamenu-mobile .el-mm-side__title {
  display: flex;
  align-items: center;
  gap: var(--el-u);
  margin: 0 0 calc(var(--el-u) * 1.5);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--el-encre);
}

#iqitmegamenu-mobile .el-mm-side__title i { color: var(--el-violet); }

#iqitmegamenu-mobile .el-mm-side__list {
  list-style: none;
  margin: 0 0 calc(var(--el-u) * 1.5);
  padding: 0;
}

#iqitmegamenu-mobile .el-mm-side__list li,
#iqitmegamenu-mobile .el-mm-side__list a {
  display: flex;
  align-items: center;
  gap: calc(var(--el-u) * 1.25);
  padding: 5px 0;
  font-size: 1.3rem;
  color: var(--el-encre);
  text-decoration: none;
}

#iqitmegamenu-mobile .el-mm-side__list a { width: 100%; padding: 0; }

#iqitmegamenu-mobile .el-mm-side__list i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  color: var(--el-violet);
  font-size: 1.3rem;
}

#iqitmegamenu-mobile .el-mm-side__list span { flex: 1 1 auto; }

#iqitmegamenu-mobile .el-mm-side__list a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  font-size: .875rem;
  color: var(--el-gris);
}

#iqitmegamenu-mobile .el-mm-side__list--plain li { cursor: default; }

/* --- Bandeau de réassurance : deux colonnes, intitulé au-dessus --------- */

#iqitmegamenu-mobile .el-mm-usp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--el-u) * 2) calc(var(--el-u) * 1.5);
  list-style: none;
  margin: calc(var(--el-u) * 2) 0 0;
  padding: calc(var(--el-u) * 2) 0 0;
  border-top: 1px solid var(--el-trait);
}

#iqitmegamenu-mobile .el-mm-usp li {
  display: flex;
  align-items: flex-start;
  gap: var(--el-u);
}

#iqitmegamenu-mobile .el-mm-usp i {
  flex: 0 0 auto;
  width: 1.3em;
  margin-top: 2px;
  font-size: 1.6rem;
  text-align: center;
  color: var(--el-violet);
}

#iqitmegamenu-mobile .el-mm-usp span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--el-gris);
}

#iqitmegamenu-mobile .el-mm-usp strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--el-encre);
}

/* --- Accessibilité ------------------------------------------------------ */

#iqitmegamenu-mobile a:focus-visible {
  outline: 2px solid var(--el-violet);
  outline-offset: 2px;
  border-radius: 4px;
}

/** END MENU **/

/** PAGES **/
.qsn-partenaires .swiper-wrapper {
  align-items: center;
}
/** END PAGES **/

/** PRODUCT **/


/** LEFT COLUMN **/
/* ==========================================================================
   ELINDO — Menu des catégories (colonne de gauche, pages catégorie)
   À coller à la fin de custom.css du thème enfant.

   - Rubriques (niveau 1) : blocs nets, en gras, séparés.
   - Sous-rubriques : en retrait, reliées à leur rubrique par un filet violet.
   - 3e et 4e niveaux : plus petits, avec une puce.
   - La rubrique et la page en cours sont marquées.
   - Le bouton d'ouverture est une vraie cible (32 px), la flèche tourne.
   ========================================================================== */

#left-column .block-categories {
  --mc-violet: var(--el-violet, #8B3DF5);
  --mc-violet-dark: var(--el-violet-sombre, #6D23D0);
  --mc-pale: var(--el-violet-pale, #F4EEFE);
  --mc-ink: var(--el-encre, #111214);
  --mc-grey: var(--el-gris, #5B6069);
  --mc-line: var(--el-trait, #E3E5E9);

  overflow: hidden;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  background: #fff;
}

/* Titre du bloc (« Accueil ») */
#left-column .block-categories .block-title {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--mc-line);
  background: #fff;
  font-size: 1rem;
}

#left-column .block-categories .block-title a { color: var(--mc-ink); font-weight: 700; }
#left-column .block-categories .block-content { padding: 0; }

/* Remise à zéro des listes et des chevrons « › » du thème */
#left-column .block-categories ul.category-sub-menu { margin: 0; padding: 0; list-style: none; }
#left-column .block-categories ul.category-sub-menu li { position: relative; margin: 0; padding: 0; }

#left-column .block-categories .category-sub-menu a::before,
#left-column .block-categories .category-sub-menu li::before { content: none !important; display: none !important; }

#left-column .block-categories .category-sub-menu a {
  display: block;
  padding-right: 44px;               /* place du bouton d'ouverture */
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .15s, background-color .15s;
}

/* --- Niveau 1 : les rubriques -------------------------------------------- */

#left-column .block-categories li[data-depth="0"] { border-bottom: 1px solid var(--mc-line); }
#left-column .block-categories li[data-depth="0"]:last-child { border-bottom: 0; }

#left-column .block-categories li[data-depth="0"] > a {
  padding: 12px 44px 12px 16px;
  color: var(--mc-ink);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
}

#left-column .block-categories li[data-depth="0"] > a:hover { background: var(--mc-pale); color: var(--mc-violet-dark); }

/* Rubrique en cours : bandeau violet à gauche, fond pâle */
#left-column .block-categories li[data-depth="0"].is-current-branch > a {
  box-shadow: inset 4px 0 0 var(--mc-violet);
  background: var(--mc-pale);
  color: var(--mc-violet-dark);
}

/* --- Niveau 2 : les sous-rubriques ----------------------------------------- */

#left-column .block-categories li[data-depth="0"] > .collapse > ul,
#left-column .block-categories li[data-depth="0"] > .collapsing > ul {
  margin: 4px 0 10px 16px;
  border-left: 2px solid var(--mc-pale);
}

#left-column .block-categories li[data-depth="0"].is-current-branch > .collapse > ul { border-left-color: var(--mc-violet); }

#left-column .block-categories li[data-depth="1"] > a {
  padding: 7px 44px 7px 14px;
  color: var(--mc-ink);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
}

#left-column .block-categories li[data-depth="1"] > a:hover { color: var(--mc-violet); }

/* --- Niveaux 3 et 4 -------------------------------------------------------- */

#left-column .block-categories li[data-depth="1"] > .collapse > ul,
#left-column .block-categories li[data-depth="2"] > .collapse > ul { margin: 0 0 6px 14px; }

#left-column .block-categories li[data-depth="2"] > a,
#left-column .block-categories li[data-depth="3"] > a {
  position: relative;
  padding: 5px 40px 5px 26px;
  color: var(--mc-grey);
  font-size: .85rem;
  font-weight: 400;
  line-height: 1.35;
}

#left-column .block-categories li[data-depth="2"] > a::after,
#left-column .block-categories li[data-depth="3"] > a::after {
  content: "";
  position: absolute;
  top: calc(5px + .675em);
  left: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C9B3EC;
}

#left-column .block-categories li[data-depth="3"] > a::after { width: 5px; height: 2px; border-radius: 1px; }

#left-column .block-categories li[data-depth="2"] > a:hover,
#left-column .block-categories li[data-depth="3"] > a:hover { color: var(--mc-violet); }

/* --- La page en cours (la plus profonde de la branche) --------------------- */

#left-column .block-categories li.is-current-branch:not(:has(li.is-current-branch)) > a {
  color: var(--mc-violet-dark) !important;
  font-weight: 700;
}

#left-column .block-categories li[data-depth="1"].is-current-branch > a,
#left-column .block-categories li[data-depth="2"].is-current-branch > a { color: var(--mc-violet-dark); }

#left-column .block-categories li.is-current-branch:not(:has(li.is-current-branch))[data-depth="2"] > a::after,
#left-column .block-categories li.is-current-branch:not(:has(li.is-current-branch))[data-depth="3"] > a::after { background: var(--mc-violet); }

/* --- Bouton d'ouverture ---------------------------------------------------- */

#left-column .block-categories .collapse-icons {
  position: absolute;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 8px;
  color: var(--mc-grey);
  cursor: pointer;
  float: none;
  transition: background-color .15s, color .15s;
}

#left-column .block-categories li[data-depth="0"] > .collapse-icons { top: 6px; }
#left-column .block-categories li[data-depth="1"] > .collapse-icons { top: 2px; width: 28px; height: 28px; }
#left-column .block-categories li[data-depth="2"] > .collapse-icons { top: 1px; width: 26px; height: 26px; }

#left-column .block-categories .collapse-icons:hover { background: var(--mc-pale); color: var(--mc-violet); }

/* Une seule flèche, qui pivote à l'ouverture */
#left-column .block-categories .collapse-icons .remove { display: none !important; }

#left-column .block-categories .collapse-icons .add {
  display: block !important;
  margin: 0;
  font-size: 15px;
  line-height: 1;
  transition: transform .2s;
}

#left-column .block-categories .collapse-icons[aria-expanded="true"] .add { transform: rotate(180deg); }
#left-column .block-categories .is-current-branch > .collapse-icons { color: var(--mc-violet); }

#left-column .block-categories .collapse-icons:focus-visible { outline: 2px solid var(--mc-violet); outline-offset: 1px; }

/* --- Bloc « Navigation » vide au-dessus du menu ---------------------------- */
/* Le menu vertical d'iqitmegamenu n'a aucun lien : on le masque tant qu'il est vide. */
#left-column .cbp-vertical:not(:has(li)) { display: none; }

/* --- Mobile ---------------------------------------------------------------- */

@media (max-width: 767px) {
  #left-column .block-categories li[data-depth="0"] > a { padding-top: 14px; padding-bottom: 14px; }
  #left-column .block-categories li[data-depth="0"] > .collapse-icons { top: 8px; width: 36px; height: 36px; }
  #left-column .block-categories li[data-depth="1"] > a { padding-top: 9px; padding-bottom: 9px; }
}

/* --- Desktop : le menu suit l'internaute au défilement --------------------- */
/* Il se cale sous l'en-tête collant (100 px) et s'arrête en bas de la colonne,
   avant le pied de page. S'il est plus haut que l'écran (rubriques ouvertes),
   il défile dans son propre cadre. Hauteur de l'en-tête à ajuster ici. */
@media (min-width: 992px) {
  #left-column { --elindo-sticky-top: 100px; }

  #left-column .block-categories {
    position: sticky;
    top: calc(var(--elindo-sticky-top) + 16px);
    max-height: calc(100vh - var(--elindo-sticky-top) - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #C9B3EC transparent;
  }
}
/** END LEFT COLUMN **/

#product .product-sidebar { display: none; }

/* =========================================================================
   1. Respiration générale
   La page actuelle est dense de haut en bas : on lui donne de l'air
   avant toute autre chose.
   ========================================================================= */

#main-product-wrapper {
  padding-block: calc(var(--el-u) * 4);
}

#main-product-wrapper .product-info-row {
  row-gap: calc(var(--el-u) * 5);
}

@media (min-width: 992px) {
  #col-product-info { padding-left: calc(var(--el-u) * 5); }
}

/* =========================================================================
   2. Colonne image
   L'image flotte actuellement sans ancrage. On lui donne un contenant
   discret et on aligne les vignettes sur la grille.
   ========================================================================= */

.col-product-image .product-cover {
  background: var(--el-fond-doux);
  border-radius: 10px;
  padding: calc(var(--el-u) * 3);
}

.col-product-image #product-images-large img {
  mix-blend-mode: multiply; /* supprime le liseré blanc des packshots */
}

#product-images-thumbs { margin-top: calc(var(--el-u) * 2); }

#product-images-thumbs .thumb-container img {
  border: 1px solid var(--el-trait);
  border-radius: 6px;
  padding: 4px;
  transition: border-color .15s ease;
}

#product-images-thumbs .thumb-container img:hover,
#product-images-thumbs .swiper-slide-thumb-active .thumb-container img {
  border-color: var(--el-violet);
}

/* Badges promo : plus lisibles, posés sur l'image */
.col-product-image .product-flags { top: var(--el-u); left: var(--el-u); }

.product-flag {
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 4px 10px;
}

.product-flag.discount { background: var(--el-promo); color: #fff; }

/* =========================================================================
   3. Titre et marque
   Le H1 fait actuellement la même taille que le reste. C'est le premier
   point d'entrée de la page, il doit se détacher nettement.
   ========================================================================= */

.product_header_container {
  border-bottom: 1px solid var(--el-trait);
  padding-bottom: calc(var(--el-u) * 2);
  margin-bottom: calc(var(--el-u) * 3);
}

#col-product-info h1.page-title {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--el-encre);
  margin: 0;
  max-width: 28ch;
}

.product-manufacturer { margin-bottom: var(--el-u); }
/*.product-manufacturer img { max-height: 36px; width: auto; }*/

/* =========================================================================
   4. Prix
   C'est l'élément fort de la page : un seul endroit où on monte le volume.
   Prix barré d'abord, prix actuel ensuite, économie explicite.
   ========================================================================= */

.product-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--el-u) calc(var(--el-u) * 2);
  margin-bottom: var(--el-u);
}

.product-prices .current-price,
.product-prices .product-price {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--el-encre);
  font-variant-numeric: tabular-nums; /* les chiffres s'alignent d'un produit à l'autre */
}

.product-prices .regular-price {
  font-size: 1.0625rem;
  color: var(--el-gris);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  font-variant-numeric: tabular-nums;
}

.product-prices .discount,
.product-prices .discount-percentage {
  background: var(--el-promo);
  color: #fff;
  border-radius: 4px;
  padding: 3px 9px;
  font-size: .875rem;
  font-weight: 600;
}

.tax-shipping-delivery-label {
  flex-basis: 100%;
  font-size: .8125rem;
  color: var(--el-gris);
  margin: 0;
}

/* =========================================================================
   5. Description courte
   Bloc de texte dense et peu lisible aujourd'hui. On élargit l'interligne
   et on borne la longueur de ligne.
   ========================================================================= */

.product-information .product-description {
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--el-gris);
  max-width: 68ch;
  margin-bottom: calc(var(--el-u) * 3);
}

.product-information .product-description strong { color: var(--el-encre); }

.product-information .product-description ul {
  padding-left: 1.1em;
  margin-block: var(--el-u);
}

.product-information .product-description li { margin-bottom: 4px; }

/* =========================================================================
   6. Zone d'achat
   Quantité et bouton sont aujourd'hui au même niveau visuel que le reste.
   On les isole dans une zone identifiable, sans en faire une carte de plus.
   ========================================================================= */

.product-actions {
  background: var(--el-fond-doux);
  border-radius: 10px;
  padding: calc(var(--el-u) * 3);
  margin-bottom: calc(var(--el-u) * 3);
}

.product-variants { margin-bottom: calc(var(--el-u) * 2); }

.product-variants .form-control,
.product-variants select {
  border-color: var(--el-trait);
  border-radius: 6px;
  min-height: 44px;
}

.product-quantity { align-items: stretch; row-gap: var(--el-u); }

.col-add-qty .input-group.bootstrap-touchspin {
  border: 1px solid var(--el-trait);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  height: 48px;
}

.col-add-qty .input-group.bootstrap-touchspin input {
  border: 0;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.col-add-qty .input-group.bootstrap-touchspin .btn { border: 0; background: transparent; }

.col-add-btn { flex: 1 1 260px; }

.product-add-to-cart .add .btn,
.product-add-to-cart button[data-button-action="add-to-cart"] {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--el-violet);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background-color .15s ease;
}

.product-add-to-cart .add .btn:hover,
.product-add-to-cart button[data-button-action="add-to-cart"]:hover {
  background: var(--el-violet-sombre);
}

.product-minimal-quantity {
  font-size: .8125rem;
  color: var(--el-gris);
  margin-top: var(--el-u);
}

/* =========================================================================
   7. Partage
   Trois icônes orphelines en bas de colonne. On les range discrètement.
   ========================================================================= */

.product-additional-info .social-sharing {
  display: flex;
  align-items: center;
  gap: calc(var(--el-u) * 2);
  padding-top: calc(var(--el-u) * 2);
  border-top: 1px solid var(--el-trait);
}

.social-sharing a { color: var(--el-gris); transition: color .15s ease; }
.social-sharing a:hover { color: var(--el-violet); }

/* =========================================================================
   8. Sections basses
   Description, détails, pièces jointes et produits liés s'enchaînent
   aujourd'hui sans séparation. On marque les ruptures par un filet,
   pas par une succession de cartes identiques.
   ========================================================================= */

.product-sections .block-section,
.category-products.block-section {
  border-top: 1px solid var(--el-trait);
  padding-top: calc(var(--el-u) * 4);
  margin-top: calc(var(--el-u) * 5);
}

.product-sections .section-title,
.category-products .section-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--el-encre);
  margin-bottom: calc(var(--el-u) * 3);
}

/* Section vide laissée par le thème : elle crée un trou inexpliqué */
.block-section.empty-product-details { display: none; }

/* =========================================================================
   9. Contenu riche de la description
   C'est le cœur d'une fiche de matériel pro : des listes de
   caractéristiques. On les rend scannables plutôt que décoratives.
   ========================================================================= */

.product-description-section .rte-content {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--el-gris);
  max-width: 78ch;
}

.product-description-section .rte-content p { margin-bottom: 1.1em; }

.product-description-section .rte-content strong,
.product-description-section .rte-content b { color: var(--el-encre); }

/* Les intertitres violets du contenu migré : on les structure */
.product-description-section .rte-content h2,
.product-description-section .rte-content h3,
.product-description-section .rte-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--el-encre);
  margin-top: calc(var(--el-u) * 4);
  margin-bottom: calc(var(--el-u) * 1.5);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--el-violet);
  display: inline-block;
}

/* Listes de specs : puce discrète, valeurs alignées */
.product-description-section .rte-content ul {
  list-style: none;
  padding-left: 0;
  margin-block: calc(var(--el-u) * 1.5);
}

.product-description-section .rte-content ul li {
  position: relative;
  padding-left: 1.4em;
  padding-block: 5px;
  border-bottom: 1px solid var(--el-trait);
  font-variant-numeric: tabular-nums;
}

.product-description-section .rte-content ul li:last-child { border-bottom: 0; }

.product-description-section .rte-content ul li::before {
  content: "";
  position: absolute;
  left: .35em;
  top: 1.05em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--el-violet);
}

/* =========================================================================
   10. Pièces jointes
   Les fiches techniques PDF sont un argument de vente sur du matériel pro :
   on les rend cliquables et identifiables.
   ========================================================================= */

.product-attachments .attachment {
  display: block;
  border: 1px solid var(--el-trait);
  border-radius: 8px;
  padding: calc(var(--el-u) * 2);
  margin-bottom: var(--el-u);
  transition: border-color .15s ease, background-color .15s ease;
}

.product-attachments .attachment:hover {
  border-color: var(--el-violet);
  background: var(--el-fond-doux);
}

.product-attachments .attachment a {
  font-weight: 600;
  color: var(--el-encre);
  text-decoration: none;
}

.product-attachments .attachment a:hover { color: var(--el-violet); }

/* =========================================================================
   12. Mobile
   ========================================================================= */

@media (max-width: 767.98px) {
  #main-product-wrapper { padding-block: calc(var(--el-u) * 2); }

  #col-product-info h1.page-title { font-size: 1.375rem; }

  .product-prices .current-price,
  .product-prices .product-price { font-size: 1.75rem; }

  .product-actions { padding: calc(var(--el-u) * 2); }

  .col-add-qty, .col-add-btn { width: 100%; }
  .col-add-qty .input-group.bootstrap-touchspin { width: 100%; }
}

/* =========================================================================
   13. Accessibilité
   ========================================================================= */

#main-product-wrapper a:focus-visible,
#main-product-wrapper button:focus-visible,
#main-product-wrapper input:focus-visible,
#main-product-wrapper select:focus-visible {
  outline: 2px solid var(--el-violet);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  #main-product-wrapper * { transition: none !important; }
}

/** END PRODUCT **/

/** BRAND **/

/* =========================================================================
   3. Densité de la grille
   Le thème passe à col-xl-1, soit douze marques par ligne au-delà de
   1200 px : les logos deviennent des miniatures illisibles. On plafonne
   à six, et on desserre progressivement vers le mobile.
   ========================================================================= */

.ms-grid > .row {
  row-gap: calc(var(--el-u) * 3);
  margin-inline: calc(var(--el-u) * -1.5);
}

.ms-grid .brand {
  padding-inline: calc(var(--el-u) * 1.5);
  flex: 0 0 50%;
  max-width: 50%;
}

@media (min-width: 576px) {
  .ms-grid .brand { flex-basis: 33.3333%; max-width: 33.3333%; }
}

@media (min-width: 768px) {
  .ms-grid .brand { flex-basis: 25%; max-width: 25%; }
}

@media (min-width: 992px) {
  .ms-grid .brand { flex-basis: 16.6667%; max-width: 16.6667%; }
}

/* =========================================================================
   4. La tuile de marque
   Les logos fournis par les fabricants n'ont ni le même format ni le même
   poids visuel. Un cadre à rapport fixe et un centrage optique les
   alignent : c'est ce qui fait tenir un mur de marques.
   ========================================================================= */

.ms-grid .brand {
  display: flex;
  flex-direction: column;
}

.ms-grid .brand-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  background: #fff;
  border: 1px solid var(--el-trait);
  border-radius: 10px;
  padding: calc(var(--el-u) * 2);
  overflow: hidden;
  transition: border-color .15s ease;
}

.ms-grid .brand-img a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ms-grid .brand-img picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ms-grid .brand-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;   /* efface le fond blanc des logos JPG */
  transition: transform .2s ease;
}

.ms-grid .brand:hover .brand-img { border-color: var(--el-violet); }
.ms-grid .brand:hover .brand-img img { transform: scale(1.04); }

/* =========================================================================
   5. Le nom
   Les libellés vont de « TAG » à « Wiim France – Solutions Audio
   Connectées & Streaming Pro ». Sans hauteur réservée, la grille
   se désaligne d'une ligne à l'autre.
   ========================================================================= */

.ms-grid .brand-infos {
  padding-top: calc(var(--el-u) * 1.5);
  text-align: center;
}

.ms-grid .brand-infos a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .005em;
  color: var(--el-encre);
  text-decoration: none;
  min-height: 2.7em;          /* deux lignes réservées */
  transition: color .15s ease;
}

.ms-grid .brand:hover .brand-infos a { color: var(--el-violet); }

/* =========================================================================
   6. Mobile
   ========================================================================= */

@media (max-width: 575.98px) {
  #main > h1.page-title { margin-bottom: calc(var(--el-u) * 3); }

  .ms-grid > .row { row-gap: calc(var(--el-u) * 2); }

  .ms-grid .brand-img { padding: var(--el-u); border-radius: 8px; }

  .ms-grid .brand-infos a { font-size: .75rem; }
}

/* =========================================================================
   7. Accessibilité
   ========================================================================= */

.ms-grid a:focus-visible {
  outline: 2px solid var(--el-violet);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .ms-grid .brand-img img,
  .ms-grid .brand-infos a,
  .ms-grid .brand-img { transition: none; }
  .ms-grid .brand:hover .brand-img img { transform: none; }
}


/* =========================================================================
   Elindo Sonorisation — titres de groupes sur la page Marques
   À ajouter à la suite de brands-page.css
   ========================================================================= */

.el-brand-group + .el-brand-group {
  margin-top: calc(var(--el-u) * 6);
}

.el-brand-group__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--el-encre);
  margin: 0 0 calc(var(--el-u) * 3);
  padding-bottom: calc(var(--el-u) * 1.5);
  border-bottom: 1px solid var(--el-trait);
  display: flex;
  align-items: center;
  gap: var(--el-u);
}

/* Trait violet court en tête de titre : marque la rupture de section
   sans alourdir la page de blocs colorés. */
.el-brand-group__title::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: var(--el-violet);
}

@media (max-width: 575.98px) {
  .el-brand-group + .el-brand-group { margin-top: calc(var(--el-u) * 4); }
}


/** END BRAND **/

/** FOOTER **/
#footer-copyrights { display: none; }

#main .page-content {
  margin-bottom: 0;
}

#cms #wrapper {
  padding-bottom: 0;
}

/** END FOOTER **/