/* HEADER BASE */
.bluthe_site-header {
  border-bottom: 1px solid #E8E8E8;
  background: #FFF;
}

header .bluthe_header-inner {
  margin: 0 auto;
  padding: 15px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.bluthe_site-branding img.custom-logo {
  max-height: 60px;
  height: 100vh;
  width:auto;
}
header .bluthe_menu_container{
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}
header .blthe_left_container{
  display:flex;
  flex-direction: row;
  align-items: center;
  }
header .blthe_left_container p,
header .blthe_left_container a{
  color: #023EAE;
  font-size: 16px;
  font-weight: 400;
}
header .blthe_left_container a{
  text-decoration: none;
}
header .blthe_left_container p{
  margin-right: 15px;
  border-radius: 3px;
  background: rgba(232, 243, 255, 0.51);
  padding: 8px;
}
header .blthe_right_container > a,
header .blthe_right_container .trigger,
header .blthe_left_container .bluthe_search-icon span{
  color: #003158;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  margin-right: 10px;
}
header .blthe_right_container a img,
header .blthe_right_container .trigger img{
 margin-right: 10px;
 height: 20px;
 }
 header .blthe_right_container{
 display: flex;
 flex-direction: row;
 color:#003158;
 }
 .bluthe_sticky-header {
   position: sticky;
   top: 0;
   z-index: 999;
   background-color: #fff;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);
 }
/* Search BASE */

.bluthe_search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.bluthe_search-form {
  display: none;
  align-items: center;
  background-color: #fdf6f6;
  border-radius: 50px;
  padding: 6px;
  margin-left: 12px;
  transition: all 0.3s ease;
}
.bluthe_search-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.bluthe_search-icon img {
  width: 22px;
  height: 22px;
}
/* MENU */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  justify-content: center;
}
header .main-navigation ul li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  color: #081937;
  display: block;       
  padding: 10x 0;
}
header .main-navigation ul .sub-menu li a{
 font-size: 14px;
}

/* SUBMENU / MEGA MENU */
.main-navigation {
  position: static;   
}

.main-navigation ul li.menu-item-has-children {
   position: static;  
  padding-bottom: 15px;   
  margin-bottom: -15px;
}

/* level 1 -> level 2: this is the mega panel itself */
.main-navigation ul li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 55px 60px 40px 60px;
  grid-template-columns: repeat(3, minmax(160px, 220px));
  justify-content: center;
  gap: 100px;
}

.main-navigation ul li:hover > ul.sub-menu {
  display: grid;
}

.main-navigation ul li ul.sub-menu:hover {
  display: grid;    
}

/* level 2 items = column headings, not links */
.main-navigation ul .sub-menu > li.menu-item-has-children > a {
  padding: 0 0 12px 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: underline;   
  color: #99a3b0;
  pointer-events: none;
}

/* level 3 = the real links inside each column */
.main-navigation ul .sub-menu .sub-menu {
  position: static;
  display: block !important;
  width: auto;
  box-shadow: none;
  padding: 0;
  grid-template-columns: none;
}

.main-navigation ul .sub-menu .sub-menu li a {
  padding: 6px 0px 6px 3px;
  display: block;
  color: #003158;
  font-size: 14px;
}

.main-navigation ul .sub-menu .sub-menu li a:hover {
  background-color: #FEF4F4;
  
}

/* MOBILE TOGGLE */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
header .bluthe_mobile-burger{
  display:none;
  }
 @media (min-width: 768px) and (max-width: 930px) {
 .bluthe_site-branding img.custom-logo{
  max-width: 80px;
  }
  header .main-navigation ul li a,
  header .blthe_left_container p,
   header .blthe_left_container a{
  font-size: 10px;
  }
  header .blthe_right_container a, header .blthe_left_container .bluthe_search-icon span,header .blthe_right_container .trigger {
  font-size: 10px;
  }
 }
 @media (min-width: 930px) and (max-width: 1030px) {
  .bluthe_site-branding img.custom-logo{
   max-width: 80px;
   }
   header .main-navigation ul li a,
   header .blthe_left_container p,
    header .blthe_left_container a{
   font-size: 14px;
   }
   header .blthe_right_container a, header .blthe_left_container .bluthe_search-icon span{
   font-size: 14px;
   }
  }
/* MOBILE VERSION */
@media (max-width: 767px) {
  .bluthe_header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
.menu-toggle {
    display: block;
    margin-left: auto;
  }
  header .blthe_left_container p, header .blthe_left_container a {
  font-size: 12px;
  }
  header .main-navigation ul li a {
  font-size: 14px;
  }
  .bluthe_site-branding img.custom-logo{
      max-width: 116px;
      max-height: 40px;
  }
header .bluthe_menu_container{
    display: unset;
    flex-direction: unset;
    justify-content: unset;
    align-items: unset;
 }
 header .bluthe_menu_container .bluthe_mobile-container{
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      padding: 10px 0px;
 }

  #site-navigation{
    display: none;
  }
   .bluthe_search-icon{
    display: none;
  }
}

.bluthe_mobile-burger {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  z-index: 9999;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.bluthe_mobile-burger.active {
  display: block;
}

.bluthe_menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.bluthe_burger-icon {
  width: 24px;
  height: 2px;
  background: #000;
  position: relative;
  display: block;
}

.bluthe_burger-icon::before,
.bluthe_burger-icon::after {
  content: '';
  width: 24px;
  height: 2px;
  background: #000;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.bluthe_burger-icon::before {
  top: -7px;
}

.bluthe_burger-icon::after {
  top: 7px;
}

.bluthe_menu-toggle.open .bluthe_burger-icon {
  background: transparent;
}

.bluthe_menu-toggle.open .bluthe_burger-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.bluthe_menu-toggle.open .bluthe_burger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Responsive: masquer menu burger en desktop */
@media (min-width: 768px) {
  .bluthe_menu-toggle,
  .bluthe_mobile-burger {
    display: none !important;
  }
}

 /* submenu */
 .bluethe_submenu_div{
 cursor: pointer;
 }
 .bluethe_submenu_div ul{
  display: none;
  position: absolute;
  /* background-color: #fff; */
  /* top: 100%;
  left: 0; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); */
  z-index: 1000;
  min-width: 200px;
  list-style: none;
  padding: 5px 15px;
  margin-top:10px;
  border-radius: var(--MD, 16px);
  border: 1px solid #E9E9E9;
  background: #FFF;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.05);
 }
.blthe_right_container div:last-of-type.bluethe_submenu_div ul {
  right: 0px;
}
.bluethe_submenu_div ul li{
  margin: 5px 0px;
  border-bottom: 1px solid #E9E9E9;
  padding: 10px 5px;
 }
 .bluethe_submenu_div ul li:hover a{
  text-decoration: underline;
}
 .bluethe_submenu_div ul li:last-child{
  border-bottom:0px;
 }
 @media (max-width: 767px) {
  .bluethe_submenu_div ul{
    width:100%;
    left:0px;
  }
 }

 /* Red bubble */
.badge {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(40%, -40%);        /* nudge to the upper-right corner */
  min-width: 16px;                         /* supports 1–3 digits */
  height: 16px;
  padding: 0 4px;                           /* grows horizontally for 2+ digits */
  border-radius: 9999px;                    /* perfect pill/circle */
  background: #ef4444;                      /* red */
  color: #fff;
  font: 700 11px/16px system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;               /* subtle ring to separate from icon */
  pointer-events: none;                     /* click-through */
  margin-top: -3px;
}

/* Optional: hide when "0" */
.badge:where(:empty),
.badge[data-count="0"] {
  display: none;
}
.open-mini-cart{
  position: relative;
}


/* Search panel */
.sp-open {
  cursor: pointer;
}
#sp-panel {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: top 0.3s ease;
  z-index: 999;
  padding: 80px 20px 50px 20px;
  border-radius: 0 0 16px 16px;
  background: #FFF;
}

#sp-panel .sp-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#sp-panel {
  width: 100%;
}
#sp-panel input[type=text] {
  flex: 1;
  padding: 10px 20px;
  font-size:15px;
  /* border: 1px solid #ddd; */
  border-radius: 50px;
  background: rgba(249, 240, 240, 0.67);
  border:0px;
  width: 100%;
  color: #003158;
}

.remove_from_cart_button{
  height: 20px;
  width: 20px;
  font-size: 12px;
}

/* Active states */

#sp-overlay{
  background-color: #00000061;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 999;
  visibility:hidden;
  top:0px;
}
#sp-overlay.active {
  opacity: 1;
  visibility: visible;
}

#sp-panel.active {
  top: 0;
}

/* Responsive */
@media (max-width: 600px) {
  #sp-panel input {
    font-size: 0.9rem;
    padding: 0.6rem;
  }
}


/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  height: 100%;
  background: #003158;
  box-shadow: -2px 0 10px rgba(0,0,0,0.3);
  transition: right 0.3s ease;
  z-index: 1001;
  padding: 25px;
}
.mobile-nav ul {
  list-style: none;
}
.mobile-nav ul li {
  margin: 5px 0px;
  border-bottom: 1px solid #E9E9E9;
  padding: 10px 5px;
}
.mobile-nav ul li a {
  color: white;
}
.mobile-nav ul li:last-child{
  border-bottom: none;
}
.mobile-nav ul li.menu-item-has-children > a{
  text-decoration: underline;
}
.mobile-nav ul li.menu-item-has-children ul {
  padding-left: 25px;
}
/* Close Button */
.close-btn {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 1rem;
  display: block;
}

/* Menu Links */
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-list li {
  margin: 1rem 0;
}
.mobile-nav-list a {
  text-decoration: none;
  font-size: 1.2rem;
  color: #333;
}

/* Active State */
.mobile-nav.active {
  right: 0;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Desktop Hide */
/* @media (min-width: 900px) {
  .menu-toggle,
  .mobile-nav,
  .menu-overlay {
    display: none;
  }
} */
 .bluthe_search-icon-mobile,
 .bluthe_mobile_menu_toggle{
  display: none;
 }

@media (max-width:767px){
  .bluthe_menu_container{
    width: 100%;
  }
  .bluthe_search-icon-mobile,
  .bluthe_mobile_menu_toggle{
    display: block;
  }
  header .blthe_left_container p {
    margin-right: 0px;
  }

}