/** Shopify CDN: Minification failed

Line 13:10 Expected identifier but found whitespace
Line 13:12 Unexpected "{"
Line 13:21 Expected ":"
Line 13:57 Expected ":"

**/

                                              /* Style du Conteneur */
  
.custom-header {
  padding: {{ section.settings.custom_header_padding }}px 5px;
  background: var(--bg-button-alt);
}

.custom-header a {
  color: var(--text-color);      
  text-decoration: none;
  text-shadow: none;
}

.custom-header a:hover,
.custom-header a:focus {
  color: white;
  text-decoration: underline;
}

.custom-header-container {
  display: grid;
  grid-template-columns: 0.20fr 0.6fr 0.10fr;
  place-items: center;
  padding: 10px 20px;
}

                                            /* Style des Éléments */
  
                                            /* Logo - Nom du Site */

.custom-logo {
  text-align: center;
  font-size: clamp(2.6rem, 2.2vw, 4.5rem);
  font-weight: bold;
}

.custom-logo-img {
  display: block;
  height: 80%;
  max-height: 80px;
  width: auto;
  max-width: 100%;
  align-self: center;
}


                                              /* Menu */

/* Masquer le menu mobile */
.custom-mobile-menu-toggle,
.custom-mobile-menu-overlay {
  display: none;
}
  
.custom-main-menu {
  text-align: center; 
  font-weight: bold;
  font-size: var(--font-size-text);
  text-shadow: var(--text-shadow);
  font-weight: 595;
}

.custom-main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* Centre horizontalement les items */
  align-items: center;     /* Centre verticalement les items */
}

.custom-main-menu li {
  margin: 0 15px; /* Espace entre les éléments du menu */
}

.custom-submenu-link {
  display: inline-flex;
  white-space: nowrap;
}


                                            /* Sous-Menu (style) */

.custom-submenu {  /* Style du sous-menu bordure*/
  border-radius: var(--border-radius);
  border: var(--border-style);
}

.custom-submenu li {
  margin: 0px; /* Espace entre les éléments du menu */
}

.custom-main-menu ul.custom-submenu { /* Style du sous-menu */
  background: var(--bg-button);
  color: var(--secondary-text-color);
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.custom-main-menu ul.custom-submenu a {
  color: var(--secondary-text-color);
}

.custom-main-menu ul.custom-submenu a:hover {
  color: var(--text-color);
}

.custom-submenu-item { 
  padding: 7px 15px;
  white-space: nowrap;
  text-align: start;
  display: block; /* Permet au lien de s'étendre sur toute la largeur de son conteneur */
  width: 100%;
}

.custom-submenu-item:hover {
  background: var(--bg-button-alt);
  border-radius: var(--border-radius);
  }


                                                /* Sous-Menu (affichage) */

.custom-main-menu ul.custom-submenu {
  transition: opacity 0.5s ease, visibility 0.5s ease;
  position: absolute;
  z-index: 1000;
  display: none;
}

.custom-menu-item.active > ul.custom-submenu,
.custom-submenu-item.active > ul.custom-submenu {
  display: block;
}

.custom-submenu-level2,
.custom-submenu-level3 {
  top: 0;
  left: 100%;
}

                                                /* Icônes panier - recherche - compte */
  
.custom-header-icons {
  font-size: clamp(1.5rem, 1.5vw, 2.5rem);
}

.loupe-svg {
  width: 30px; /* Ajuste selon la taille souhaitée */
  height: auto;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .custom-header-icons .custom-icon-search {
    display: none;
  }
}

                                                /* Overlay de recherche */
.custom-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 255, 237, 0.6); /* fond semi-transparent */
  backdrop-filter: blur(8px);     /* effet de flou sur le contenu en arrière-plan */
  display: none;                  /* masqué par défaut */
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.custom-search-overlay.active {
  display: flex;
}

/* Modal de recherche */
.custom-search-modal {
  background: none;
  padding: 20px;
  border-radius: 6px;
  max-width: 800px;
  width: 90%;
  position: relative;
}

/* Champ de saisie */
.custom-search-input {
  width: 100%;
  padding: 15px;
  border: 1px solid black;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #C1D6B7;
  font-size: clamp(1.5rem, 1.30vw, 2.5rem);
  font-weight: 570;
}

/* Bouton de recherche */
.custom-search-button {
  width: 25%;
  padding: 15px;
  border: none;
  background: #374D39;
  color: #FAFFED;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  font-size: clamp(1.5rem, 1.30vw, 2.5rem);
  font-weight: 570;
}

/* Bouton de fermeture de l'overlay */
.custom-search-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #374D39;
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: clamp(1.5rem, 1.30vw, 2.5rem);
  font-weight: 570;
}

.custom-search-overlay,
.custom-search-modal,
.custom-search-input,
.custom-search-button {
  font-family: inherit;
}

/* Suggestions de pages */

.custom-search-suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #C1D6B7;
  border: 2px solid black;
  border-radius: 6px;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  top: 100%; /* Directement sous le champ */
  left: 0;
  right: 0;
  z-index: 2100;
  display: none; /* Masquée par défaut */
}

.custom-search-suggestions li {
  padding: 10px;
  cursor: pointer;
  font-size: clamp(2rem, 1.8vw, 3.5rem);
  font-weight: bold;
}

.custom-search-suggestions li:hover {
  background-color: var(--texte-color);
  color: var(--secondary-text-color);
}



                                                          /* MENU MOBILE */
@media (max-width: 768px) {
  /* Masquer le menu desktop */
.custom-main-menu {
    display: none;
  }

.custom-header-container {
    display: flex;
    padding: 0 10px;
    justify-content: center;
  }

.custom-logo {
    margin: 5px auto;
    width: 80%;
  }  

.custom-logo img {
    width: 20%;
    margin-left: 52%;
  }  

  
  /* Afficher le bouton hamburger */
.custom-mobile-menu-toggle {
    cursor: pointer;
    right: 0px;
    display: flex;
    width: 20%;
    justify-content: center;
  }
  
.custom-hamburger-icon {
    font-size: 3.5rem;
    color: var(--text-color);	
    margin: 0 auto;

  }

/* Overlay du menu mobile */
.custom-mobile-menu-overlay {
    display: none; /* Sera affiché via JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
  }

/* Conteneur du menu mobile (tiroir) */
.custom-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: var(--bg-button);							
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 3001;
    overflow-y: auto;
    padding: 20px;
    border-radius: 6px 0 0 6px;
    border: var(--border-style);
  }
  
.custom-mobile-menu a {
      color: var(--secondary-text-color);
  }
  
/* Quand le menu est actif */
.custom-mobile-menu.active {
    transform: translateX(0);
  }

/* Bouton de fermeture du menu mobile */
.custom-mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: var(--text-color);
  }

/* Liste du menu mobile */
.custom-mobile-menu-list,
.custom-mobile-submenu-list  {
    list-style: none;
    padding: 0;
    margin: 0;
  }

.custom-mobile-menu-list ul,
.custom-mobile-submenu-list ul {
    padding-inline-start: 0px;
  }
  
.custom-mobile-menu-item {
    border-radius: var(--border-radius);
  }
  
.custom-mobile-menu-link {
    display: block;
    padding: 15px;
    text-decoration: none;
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  }

/* Sous-menu : cacher par défaut */
.custom-mobile-submenu-container {
    display: none;
  }

.custom-mobile-menu-item.active {
    background: rgba(210, 201, 172, 0.1); /* #d2c9ac */
}

.custom-mobile-menu-item.active > .custom-mobile-submenu-container {
    display: block;
    background: rgba(210, 201, 172, 0.1); /* #d2c9ac */
    border-bottom: 1px solid var(--third-color);
    border-radius: 0 0 6px 6px; /* Bordure arrondie seulement en bas */
}
  
/* Style du conteneur de recherche dans le menu mobile */
.custom-mobile-search {
    padding: 15px;
    margin-top: 10px;
  }
  
.custom-mobile-search-input {
    width: calc(100% - 50px);
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    vertical-align: middle;
  }
  
.custom-mobile-search-button {
    padding: 10px;
    font-size: 1rem;
    border: none;
    background: var(--text-color);
    color: var(--secondary-text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    vertical-align: middle;
    margin-left: 5px;
  }

.custom-mobile-search-suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: var(--secondary-color);
  border: 2px solid black;
  border-radius: var(--border-radius);
}

.custom-mobile-search-suggestions li {
  padding: 5px;
  cursor: pointer;
  font-size: var(--font-size-li);
}

.custom-mobile-search-suggestions li:hover {
  background-color: var(--text-color);
  color: var(--secondary-text-color);
}
}
