/* Header Nav - Top Red Bar */
/* Header Nav - Top Red Bar */
.header-nav {
  background-color: #d9272e;
  color: white;
  padding: 10px 0; /* Ajuste l'espace autour */
  display: flex;
  justify-content: flex-end; /* Aligne les éléments à droite */
  align-items: center; /* Aligne verticalement les éléments */
  font-size: 14px; /* Taille uniforme pour tout le texte */
}

.right-nav {
  display: flex; /* Affiche les éléments côte à côte */
  align-items: center; /* Aligne verticalement les liens */
  gap: 15px; /* Ajoute un espacement uniforme entre les éléments */
}

.right-nav a {
  font-size: 14px;
  color: white !important;
  text-decoration: none;
  padding: 5px 10px; /* Ajoute de l'espace cliquable */
  transition: color 0.3s ease; /* Animation de couleur au survol */
}

.right-nav a:hover {
  text-decoration: underline; /* Souligne le texte au survol */
}
.contact-link {
  position: relative;
  top: 9px;
}

/* Header Top */
.header-top {
  background-color: #f5f5f5;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#_desktop_logo img {
  max-height: 500px;
  vertical-align: middle;
}

#dsan-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

#header .dsan-logo {
    max-width: 50%;
    height: 155%;
    right: 125px;
    position: relative;

}
#header .dsan-logo img {
       height: 143px;
    width: 757px;
}



/* Barre de recherche et panier */
.header-top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

/* ✅ Barre de recherche corrigée */
/* Champ de recherche propre */
#search_widget {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

#search_widget form {
  display: flex;
  height: 40px;
}

#search_widget input {
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 0;
  padding: 0 12px;
  height: 100%;
  font-size: 14px;
  background-color: white;
  color: #333;
  width: 240px;
}

#search_widget button {
  background-color: #ef3d45;
  border: none;
  width: 40px;
  height: 100%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

#search_widget button i {
    font-size: 20px;
    position: relative;
    top: -2px;
    left: -6px;
}

/* Style du panier plus lisible */
.shopping-cart-link {
  background-color: #333;
  color: white !important;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.shopping-cart-link:hover {
  background-color: #555;
}

.shopping-cart-link i {
  font-size: 20px;
  margin-right: 8px;
}
/* Menu de navigation */
.main-menu {
  background-color: #ffffff;
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
  padding: 0;
  margin-top: 10px;
}

.main-menu ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #333;
}

.main-menu li {
  padding: 0;
  margin: 0;
  border-right: 1px solid #e7e7e7;
}

.main-menu li:last-child {
  border-right: none;
}

.main-menu a {
  display: block;
  padding: 15px 20px;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main-menu a:hover,
.main-menu a.active {
  color: #d9272e;
}

/* Alignement spécifique pour les logos */
#_desktop_logo,
#dsan-container {
  margin: 0 auto;
  display: inline-block;
  text-align: center;
}

/* Ajustement visuel pour la ligne rouge */
.brand-tagline::before {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background-color: #d9272e;
  margin: 0 auto;
}
/* pour les sliders  */
/* Slider - ps_imageslider corrections */
#carousel {
    max-width: 56%;
    margin: 0 auto;
    position: relative;
    right: 238px;
}
.carousel-control {
  transform: translateY(-50%);
  top: 50%;
}
/* --- MENU AVEC SOUS-MENU --- */
/* --- SOUS-MENU HORIZONTAL CLEAN --- */
/* Bloc parent pour position */
/* --- Menu avec sous-menu horizontal --- */
.has-submenu {
  position: relative; /* Position relative pour permettre le positionnement absolu des sous-menus */
}

/* Sous-menu masqué par défaut */
.has-submenu .submenu {
  display: none !important ; /* Masque le sous-menu par défaut */
  position: absolute; /* Position absolue pour apparaître sous le parent */
  top: 100%; /* Place le sous-menu juste en dessous du parent */
  left: 0;
  min-width: 250px; /* Largeur minimale pour un affichage propre */
  background: white;
  padding: 15px 20px; /* Ajoute un espace intérieur */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* Ajoute une ombre douce */
  border-top: 2px solid #d9272e; /* Ligne rouge en haut */
  z-index: 999; /* Assure que le sous-menu est au-dessus des autres éléments */

  display: flex; /* Permet l'alignement des éléments dans le sous-menu */
  justify-content: center; /* Centrage horizontal du contenu */
  gap: 40px; /* Espace entre les liens */
  white-space: nowrap; /* Empêche le retour à la ligne */
}

/* Affiche le sous-menu uniquement au survol */
.has-submenu:hover .submenu {
  display: flex !important; /* Affiche le sous-menu */
}

/* Liens du sous-menu */
.submenu li {
  list-style: none; /* Supprime les puces des listes */
}

.submenu a {
  font-size: 14px; /* Taille du texte */
  color: #333; /* Couleur du texte */
  font-weight: 500; /* Poids du texte */
  text-decoration: none; /* Supprime le soulignement */
  padding: 5px 10px; /* Ajoute de l'espace cliquable */
  transition: color 0.3s ease; /* Animation douce au survol */
}

.submenu a:hover {
  color: #d9272e; /* Change la couleur au survol */
  background-color: #f9f9f9; /* Ajoute un fond légèrement visible au survol */
  border-radius: 4px; /* Ajoute des coins arrondis */
}
/* Sous-menu masqué par défaut avec spécificité accrue */
ul.main-menu > li.has-submenu > ul.submenu {
  display: none !important; /* Assure que le sous-menu est masqué par défaut */
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: white;
  padding: 15px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border-top: 2px solid #d9272e;
  z-index: 999;
  flex-wrap: wrap; /* Gère les débordements si nécessaire */
  gap: 20px; /* Ajoute de l'espace entre les éléments */
}

/* Affiche le sous-menu uniquement au survol */
ul.main-menu > li.has-submenu:hover > ul.submenu {
  display: flex !important; /* Affiche le sous-menu au survol */
}

/* Liens du sous-menu */
ul.main-menu > li.has-submenu > ul.submenu li {
  list-style: none;
}

ul.main-menu > li.has-submenu > ul.submenu a {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

ul.main-menu > li.has-submenu > ul.submenu a:hover {
  color: #d9272e;
  background-color: #f9f9f9;
  border-radius: 4px;
}
.side-images {
 position: relative;
    display: flex;
    flex-direction: column;
        top: -11px;
    left: 728px;
    max-width: 37vw;
}
.slider-left {
      position: relative;
    top: -401px;
  
}
.bothbanners {
  display: flex;
    position: relative;
    top: -303px;
    width: 100%;

}

.firstone {
  background-color: #e8e8e8;
  padding: 30px;
  border-radius: 8px;
  width: 50%;
}

.firstone ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.firstone li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.imagecedit {
  background-color: #ef3d45;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.imagecedit img {
  width: 28px;
  height: auto;
}

.textblock {
  max-width: 600px;
}

.textblock h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 5px;
  color: #333;
}

.textblock p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

.second.one {
  padding: 20px;
  background-color: #e8e8e8;
  color: #333;
   width: 50%;
}

.dreamteam-info h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  
}

.dreamteam-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 5px;
}

.dreamteam-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}
/* Menu mobile (caché en desktop) */
.mobile-menu-toggle {
  display: none;
  padding: 10px;
  background-color: #d9272e;
  text-align: center;
}

.mobile-menu-toggle button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

/* Menu mobile structure */
.mobile-nav {
  display: none;
  background-color: white;
  padding: 10px 20px;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.mobile-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Sous-menu */
.mobile-submenu {
  display: none;
  padding-left: 10px;
}

.mobile-submenu-toggle {
  background: none;
  border: none;
  font-weight: bold;
  color: #333;
  width: 100%;
  text-align: left;
}

/* Toggle classes */
.mobile-nav.open {
  display: block;
}
.mobile-submenu.open {
  display: block;
}

/* Responsive control */
@media (max-width: 768px) {
  .main-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
   .header-nav,
  .header-top {
    flex-direction: column;
    padding: 10px 15px;
  }

  .header-nav .row,
  .header-top .row {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-nav .container,
  .header-nav .row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
  }

  .right-nav {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
  }

  .right-nav a {
    padding: 0;
    color: white !important;
    font-size: 13px;
  }

  /* Centrer le logo dans le header */
  #_desktop_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 10px 0;
  }

  #_desktop_logo img {
    max-height: 50px;
  }

  /* Éventuellement réduire la hauteur du bloc logo */
  .header-top {
    padding: 10px 0;
  }


  .phone-number {
    font-size: 14px;
    text-align: center;
    width: 100%;
    margin-bottom: 5px;
    color: white;
  }

  .right-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 5px;
  }

  .right-nav a {
    padding: 0;
    font-size: 14px;
    color: white !important;
  }

  .header-top-right {
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    margin-top: 10px;
  }
  #header .dsan-logo {
    right: -5px !important;
  }
   #header .dsan-logo img {
           height: 40px;
        width: 228px;
  }

  #_desktop_logo,
  #dsan-container {
    text-align: center;
    width: 100%;
  }
 

  #_desktop_cart {
    margin-top: 10px;
    width: 100%;
  }

  .shopping-cart-link {
    width: 100%;
    justify-content: flex-start;
  }

  #search_widget {
    width: 100%;
    margin: 10px 0;
  }

  #search_widget form {
    width: 100%;
  }

  #search_widget input {
    width: 100%;
  }
  .side-images {
    display: none !important;
  }
  #carousel {
    display: none !important;
  }
  .slider-left {
    position: relative !important;
    top: auto;
  }

}
@media (max-width:1024px){
  .slider-left {
    top: auto;
  }
  .side-images{
    display: none;
  }
  #carousel {
    right: 0px;
  }
  .main-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }

.bothbanners {
    display: flex
;
    position: relative;
    top: -7px;
    width: 100%;
}
}
@media  (max-width : 425px) {
  .firstone{
    width: 94%;
    position: relative;
    top: 38px;
  }   
  .second.one {
    display: none;
  }
 
  
}
@media (max-width :768px){
  .bothbanners {
    display: flex
;
    position: relative;
    top: -16px;
    width: 100%;
}
}
#link-static-page-stores-2{
  display: none !important;
}
.cart-wrapper-custom {
  display: inline-block;
}

.blockcart-custom {
  background-color: #2f2f2f;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.shopping-cart-link-custom {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  gap: 6px;
}

.cart-icon {
  font-size: 18px;
}

.cart-label {
  font-weight: bold;
  color: #fdf8f8;
}

.dropdown-arrow {
  font-size: 12px;
  margin-left: 4px;
  display: none !important ;
}


