@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Permanent+Marker&display=swap');

/* =========================
   BASE
========================= */

body,
p,
span,
li,
input,
textarea,
button {
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.products-section-title {
  font-family: 'Permanent Marker', cursive !important;
  font-weight: 400;
  letter-spacing: 1px;
}

#header {
  background: #fff;
}

#header .header-nav {
    border-bottom: none !important;
    box-shadow: none !important;
}

.header-nav {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* =========================
   HEADER STRUCTURE
========================= */
.header-banner {
  background: #ffd97a;
  color: black;
  text-align: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  z-index: 1000;
   font-family: 'Permanent Marker', cursive;
}

.bloc-header-desktop {
  width: 100%;
  display: grid !important;
  grid-template-columns: 220px 1fr 420px;
  align-items: center;
  column-gap: 20px;
}

.bloc-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 5;
}

.bloc-logo img {
  max-height: 75px;
  width: auto;
}

.bloc-logo h1 {
  margin: 0;
}

.bloc-nav-left {
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.bloc-nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
 
}

/* =========================
   MENU PRINCIPAL
========================= */

#_desktop_top_menu {
  position: relative;
  width: 100%;
  max-width: 1050px;
  margin: 12px auto 0;
  padding: 14px 20px;
  background: transparent !important;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: translateX(95px) !important;
}

/* Fond image pinceau */
#_desktop_top_menu::before {
  content: "";
  position: absolute;
  left: -120px;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  height: 100px;
  background-image: url('../img/brush-menu.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  z-index: -1;
}

#_desktop_top_menu .top-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

#_desktop_top_menu .top-menu > li {
  list-style: none;
}

#_desktop_top_menu .top-menu > li > a {
  background: #fff;
  color: #000 !important;
  border: 3px solid #000;
  border-radius: 22px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .4px;
  box-shadow: 4px 5px 0 #000;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none !important;
  transition: .2s ease;
  font-family: 'Permanent Marker', cursive;
}

#_desktop_top_menu .top-menu > li > a:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 6px 7px 0 #000;
  background: #f7f2ff;
}

/* Icônes menu */
#_desktop_top_menu .top-menu > li:nth-child(1) > a::before { content: "🧢"; }
#_desktop_top_menu .top-menu > li:nth-child(2) > a::before { content: "💜"; }
#_desktop_top_menu .top-menu > li:nth-child(3) > a::before { content: "⚡"; }
#_desktop_top_menu .top-menu > li:nth-child(4) > a::before { content: "✉️"; }
#_desktop_top_menu .top-menu > li:nth-child(5) > a::before { content: "👑"; }

/* =========================
   CONNEXION + PANIER
========================= */

#_desktop_user_info,
#_desktop_cart,
#_desktop_user_info .user-info,
#_desktop_cart .blockcart {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  float: none;
  line-height: 1;
   transform: translateX(-20px) !important;
}

#_desktop_user_info .user-info a,
#_desktop_cart .blockcart
 {
  width: 180px;
  height: 52px;
  min-height: 52px;
  padding: 0 22px;

  background: #fff;
  color: #000 !important;
  border: 3px solid #000;
  border-radius: 24px;
  box-shadow: 4px 5px 0 #000;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px !important;
  text-transform: uppercase;
  box-sizing: border-box;
  transition: .2s ease;
}

#_desktop_cart .blockcart a
 {
	 color: #000 !important;
 }

#_desktop_user_info .user-info a,
#_desktop_cart .blockcart,
#_desktop_cart .blockcart *,
#_desktop_user_info .user-info a * {
  font-family: 'Permanent Marker', cursive !important;
  font-weight: 500 !important;
}


/* Cache les anciennes icônes */
#_desktop_cart i,
#_desktop_user_info i,
#_desktop_cart .material-icons,
#_desktop_user_info .material-icons {
  display: none !important;
}

/* Icône connexion */
#_desktop_user_info .user-info a::before {
  content: "👩‍⚕️";
  font-size: 18px;
}

/* Icône panier */
#_desktop_cart .blockcart::before {
  content: "🛒";
  font-size: 18px;
}

#_desktop_user_info .user-info a:hover,
#_desktop_cart .blockcart:hover {
  box-shadow: 6px 7px 0 #000;
  background: #f7f2ff;
}



/* =========================
   MOBILE HEADER PROPRE
========================= */

@media (max-width: 767px) {

 #header .header-nav {
    min-height: 115px !important;
	border:none !important;
  }

  
  /* Logo centré en haut */
  #_mobile_logo {
    position: absolute !important;
    left: 20px !important;
    top: 5px !important;
   

    width: auto !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 5;
  }

  #_mobile_logo img {
    max-height: 74px !important;
    width: auto !important;
  }

  /* Ligne des icônes */
  #_mobile_user_info {
    position: absolute !important;
    top: 40px !important;

    width: 60px !important;
    height: 52px !important;
    min-height: 52px !important;

    background: #fff !important;
    border: 3px solid #000 !important;
    border-radius: 22px !important;
    box-shadow: 4px 5px 0 #000 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    overflow: hidden !important;
  }
  
  #_mobile_cart {
	   position: absolute !important;
    top: 40px !important;

    width: 80px !important;
    height: 52px !important;
    min-height: 52px !important;

    background: #fff !important;
    border: 3px solid #000 !important;
    border-radius: 22px !important;
    box-shadow: 4px 5px 0 #000 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    overflow: hidden !important;
  }

  #menu-icon {
	position: absolute !important;
    top: 120px !important;
	left:20px !important;

    width: 58px !important;
    height: 52px !important;
    min-height: 52px !important;

    background: #fff !important;
    border: 3px solid #000 !important;
    border-radius: 22px !important;
    box-shadow: 4px 5px 0 #000 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    overflow: hidden !important;
  }

  #_mobile_cart {
    left: 55% !important;
    transform: translateX(-50%) !important;
  }

  #_mobile_user_info {
    left: 78% !important;
    transform: translateX(-50%) !important;
  }

 /* Nettoyage des éléments internes */
  #menu-icon *,
  #_mobile_user_info *,
  #_mobile_cart *,
  #_mobile_cart .blockcart,
  #_mobile_cart .blockcart *,
  #_mobile_cart a,
  #_mobile_user_info a {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Icônes */
  #menu-icon i,
  #_mobile_user_info i,
  #_mobile_cart i,
  #_mobile_user_info .material-icons,
  #_mobile_cart .material-icons {
    color: #000 !important;
    font-size: 30px !important;
    line-height: 1 !important;
  }

  /* Compteur panier */
  #_mobile_cart .cart-products-count {
    font-family: 'Permanent Marker', cursive !important;
    font-size: 16px !important;
    color: #000 !important;
    margin-left: 4px !important;
  }

/* CACHE TEXTE + ICÔNES NATIVES MOBILE */
#_mobile_cart .hidden-sm-down,
#_mobile_cart .material-icons,
#_mobile_cart i,
#_mobile_user_info .hidden-sm-down,
#_mobile_user_info .material-icons,
#_mobile_user_info i {
  display: none !important;
}

/* CENTRAGE DES LIENS INTERNES */
#_mobile_cart a,
#_mobile_user_info a {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* EMOJI PANIER */
#_mobile_cart .blockcart::before {
  content: "🛍️";
  display: block !important;
  font-size: 28px;
  line-height: 1;
}

/* EMOJI CONNEXION */
#_mobile_user_info a::before {
  content: "💁‍♀️";
  font-size: 28px;
  line-height: 1;
}

  #mobile_top_menu_wrapper {
    position: relative;
    top: 40px;
  }
}