
/* Import de la police Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Application globale à tout le site */
body, html {
    font-family: 'Montserrat', Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 600;
}


#home-slider{
    height: 600px;
}

.customtext-wrapper iframe { 
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); 
}

/* --- Header full-width --- */
.hb-topbar {
    width: 100%;
    background: #f4f4f4;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
}

/* --- Contenu centré et large --- */
.hb-topbar-content {
    /* max-width: 1500px; */
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* --- Zones gauche / centre / droite --- */
.hb-left,
.hb-right {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

/* --- Liens --- */
.hb-link {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s ease;
}

.hb-link:hover {
    color: #0077cc;
}

/* --- Séparateur vertical  --- */
.hb-sep {
    width: 1px;
    height: 18px;
    background: #d0d0d0;
    display: inline-block;
}

/* --- Barre de recherche centrée --- */
.hb-center {
    flex: 1;
    max-width: 500px;
}

.hb-center form {
    width: 100%;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hb-topbar-premium-content {
        flex-direction: column;
        gap: 15px;
    }
    .hb-left, .hb-right {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hb-sep {
        display: none;
    }
}


/* Masque la recherche du header-bottom */
#_desktop_search {
    display: none !important;
}

.header-bottom {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding: 12px 0;
}

.header-bottom__container {
    max-width: 100%; /*1500px;*/
    margin: 0 auto;
    padding: 0 25px;
}

.js-menu-desktop { 
    margin-left: auto !important; 
}

.js-sub-menu:empty {
  display: none !important;
}

.subLevelSvg{
    display: block;
    width: 8rem;
    transition: transform .2s ease; 
    transform-origin: center; /* important pour une rotation propre */
}

.subLevelSvg:hover{
    transform: scale(1.1) rotate(5deg);
}


/* Cutomisation bloc text + image en haut page produit detail catégorie*/

.category-header-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

/* Agrandir l'image de catégorie */
.category-header-image {
  width: 100%;
  max-width: 250px;      /* largeur max du bloc image */
  height: 250px;         /* hauteur fixe de ton bandeau */
  overflow: hidden;      /* tout ce qui dépasse est masqué */
  border-radius: 6px;
}

.category-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* remplit le cadre en recadrant, sans déformer */
  object-position: center center; /* centre le recadrage */
}



.category-header-text {
  flex: 1;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .category-header-flex {
    flex-direction: column;
  }

  .category-header-image img {
    max-width: 100%;
    flex: none;
  }
}
