/* Naturopharma v173 - Header/Menu/Cloche clean source
   Source unique pour topbar, header, menu WordPress, panier, cloche et mobile. */

.np-topbar{
  background:var(--np-green,#5ca65e);
  color:#fff;
  font-family:var(--np-sans,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif);
  font-size:13px;
  font-weight:650;
}
.np-topbar .np-container{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  flex-wrap:wrap;
  text-align:center;
}
.np-topbar b{font-weight:750;}

.np-site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid rgba(228,226,219,.95);
  box-shadow:0 8px 24px rgba(20,45,30,.035);
  font-family:var(--np-sans,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif);
}
.admin-bar .np-site-header{top:32px;}

.np-header-inner{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  position:relative;
}

.np-logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  max-width:330px;
  text-decoration:none!important;
}
.np-logo img,
.np-brand-logo-img,
.np-logo .custom-logo{
  display:block;
  width:min(300px,34vw);
  max-width:100%;
  max-height:54px;
  height:auto;
  object-fit:contain;
}
.np-logo-mark,
.np-logo-text{display:none!important;}

.np-main-nav{
  flex:1 1 auto;
  display:flex;
  justify-content:flex-start;
  min-width:0;
  margin-left:18px;
}
.np-main-nav ul{
  list-style:none;
  margin:0;
  padding:0;
}
.np-main-nav > ul,
.np-main-nav .menu{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:22px;
}
.np-main-nav li{position:relative;margin:0;padding:0;}
.np-main-nav a{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  color:#252b27;
  font-size:14px;
  font-weight:650;
  line-height:1.2;
  letter-spacing:.005em;
  text-decoration:none!important;
  text-transform:uppercase;
  white-space:nowrap;
  transition:color .18s ease;
}
.np-main-nav > ul > li > a::before,
.np-main-nav .menu > li > a::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:var(--np-green,#5ca65e);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .2s ease;
}
.np-main-nav > ul > li:hover > a,
.np-main-nav > ul > li:focus-within > a,
.np-main-nav .menu > li:hover > a,
.np-main-nav .menu > li:focus-within > a,
.np-main-nav .current-menu-item > a,
.np-main-nav .current-menu-ancestor > a{
  color:var(--np-green-dark,#2e7a45);
}
.np-main-nav > ul > li:hover > a::before,
.np-main-nav > ul > li:focus-within > a::before,
.np-main-nav .menu > li:hover > a::before,
.np-main-nav .menu > li:focus-within > a::before,
.np-main-nav .current-menu-item > a::before,
.np-main-nav .current-menu-ancestor > a::before{
  transform:scaleX(1);
}
.np-main-nav li.menu-item-has-children > a::after{
  content:"+";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--np-green-dark,#2e7a45);
  font-size:16px;
  font-weight:750;
  line-height:1;
  transition:transform .18s ease;
}
.np-main-nav li.menu-item-has-children:hover > a::after,
.np-main-nav li.menu-item-has-children:focus-within > a::after,
.np-main-nav li.menu-item-has-children.is-submenu-open > a::after{
  transform:rotate(45deg);
}

.np-main-nav .sub-menu{
  position:absolute;
  left:0;
  top:100%;
  min-width:240px;
  padding:10px;
  margin:0;
  background:#fff;
  border:1px solid #e6dfd4;
  border-radius:16px;
  box-shadow:0 22px 54px rgba(20,45,30,.14);
  display:block;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  pointer-events:none;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
  z-index:1100;
}
.np-main-nav li:hover > .sub-menu,
.np-main-nav li:focus-within > .sub-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}
.np-main-nav .sub-menu .sub-menu{
  left:calc(100% + 8px);
  top:0;
}
.np-main-nav .sub-menu li{display:block;}
.np-main-nav .sub-menu a{
  min-height:0;
  display:flex;
  justify-content:space-between;
  padding:10px 12px;
  border-radius:10px;
  color:#3c453f;
  font-size:13px;
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
  white-space:normal;
}
.np-main-nav .sub-menu a::before{display:none!important;content:none!important;}
.np-main-nav .sub-menu a:hover,
.np-main-nav .sub-menu a:focus-visible{
  background:#f5fbf1;
  color:var(--np-green-dark,#2e7a45);
  outline:none;
}

.np-header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
}
.np-cart{
  position:relative;
  width:42px;
  height:42px;
  min-width:42px;
  border:1px solid #e6dfd4;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#1f2521;
  text-decoration:none!important;
  box-shadow:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.np-cart:hover,
.np-cart:focus-visible{
  color:var(--np-green-dark,#2e7a45);
  border-color:#cfe4c6;
  box-shadow:0 10px 24px rgba(20,45,30,.08);
  outline:none;
}
.np-cart-count{
  position:absolute;
  right:-6px;
  top:-7px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--np-red,#e54a32);
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:850;
  box-shadow:0 0 0 3px #fff;
}
.np-mobile-toggle{
  display:none;
  width:42px;
  height:42px;
  min-width:42px;
  border:1px solid #e6dfd4;
  border-radius:12px;
  background:#fff;
  color:#1f2521;
  font:inherit;
  font-size:21px;
  line-height:1;
  cursor:pointer;
  padding:0;
  appearance:none;
  -webkit-appearance:none;
}
.np-mobile-toggle:hover,
.np-mobile-toggle:focus-visible{
  color:var(--np-green-dark,#2e7a45);
  border-color:#cfe4c6;
  outline:none;
}

.np-header-alerts{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  margin-left:2px;
  overflow:visible;
  z-index:60;
}
.np-alert-bell{
  position:relative;
  width:42px;
  height:42px;
  min-width:42px;
  border:1px solid #e6dfd4;
  border-radius:12px;
  background:#fff;
  color:#1f2521;
  display:grid;
  place-items:center;
  cursor:pointer;
  padding:0;
  line-height:1;
  font:inherit;
  appearance:none;
  -webkit-appearance:none;
  box-shadow:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.np-alert-bell:hover,
.np-alert-bell:focus-visible,
.np-header-alerts.is-open .np-alert-bell{
  color:var(--np-green-dark,#2e7a45);
  border-color:#cfe4c6;
  box-shadow:0 10px 24px rgba(20,45,30,.08);
  outline:none;
}
.np-alert-bell svg{
  width:22px;
  height:22px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
.np-alert-count{
  position:absolute;
  right:-6px;
  top:-7px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--np-red,#e54a32);
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:850;
  box-shadow:0 0 0 3px #fff;
  z-index:2;
  pointer-events:none;
}
.np-alert-count[hidden],
.np-header-alerts.is-seen .np-alert-count{display:none!important;}
.np-alert-panel[hidden]{display:none!important;}
.np-alert-panel{
  position:fixed;
  top:0;
  left:0;
  right:auto;
  width:380px;
  max-width:calc(100vw - 24px);
  max-height:430px;
  display:block;
  overflow:auto;
  background:#fff;
  border:1px solid #e6dfd4;
  border-radius:18px;
  box-shadow:0 24px 70px rgba(20,45,30,.20);
  padding:14px;
  z-index:2147483000;
  text-align:left;
  color:#202521;
  font-family:inherit;
  box-sizing:border-box;
}
.np-alert-panel *{box-sizing:border-box;}
.np-alert-panel-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:4px 4px 12px;
  border-bottom:1px solid #eee8dc;
  margin-bottom:8px;
}
.np-alert-panel-head strong{color:#202521;font-size:15px;font-weight:850;line-height:1.2;text-decoration:none;}
.np-alert-panel-head span{color:#7b847c;font-size:12px;font-weight:700;line-height:1.2;}
.np-alert-list{display:grid;gap:8px;}
.np-alert-item{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:12px;
  padding:10px;
  border-radius:14px;
  text-decoration:none!important;
  color:inherit;
  line-height:1.3;
  transition:background .16s ease;
}
.np-alert-item:hover,
.np-alert-item:focus-visible{background:#f7f5ee;text-decoration:none!important;outline:none;}
.np-alert-thumb{width:58px;height:58px;border-radius:12px;overflow:hidden;background:#f5fbf1;display:grid;place-items:center;}
.np-alert-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.np-alert-thumb-fallback{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#5ca65e,#dcefd6);display:block;}
.np-alert-copy{min-width:0;display:block;}
.np-alert-copy em{display:inline-flex;align-items:center;margin:0 0 4px;min-height:20px;padding:3px 7px;border-radius:999px;background:#f5fbf1;color:var(--np-green-dark,#2e7a45);font-style:normal;font-size:10px;font-weight:850;letter-spacing:.05em;text-transform:uppercase;text-decoration:none;}
.np-alert-copy strong{display:block;color:#202521;font-size:14.5px;line-height:1.22;margin:0 0 3px;text-decoration:none;}
.np-alert-copy small{display:block;color:#68716b;font-size:12.5px;line-height:1.35;text-decoration:none;}

@media(max-width:1050px){
  html,body{max-width:100%;overflow-x:hidden;}
  .admin-bar .np-site-header{top:0;}
  .np-header-inner{min-height:74px;gap:12px;}
  .np-logo img,.np-brand-logo-img,.np-logo .custom-logo{width:min(250px,54vw);max-height:48px;}
  .np-header-actions{gap:8px;}
  .np-mobile-toggle{display:grid;place-items:center;}
  .np-main-nav{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    width:100%;
    justify-content:stretch;
    background:#fff;
    border-top:1px solid rgba(214,204,187,.72);
    border-bottom:1px solid rgba(214,204,187,.72);
    box-shadow:0 18px 38px rgba(20,45,30,.11);
    z-index:1050;
  }
  .np-main-nav.is-open{display:block;}
  .np-main-nav > ul,
  .np-main-nav .menu{display:block;width:100%;padding:0;gap:0;}
  .np-main-nav li{display:block;width:100%;border-bottom:1px solid rgba(214,204,187,.55);}
  .np-main-nav li:last-child{border-bottom:0;}
  .np-main-nav a{
    min-height:0;
    width:100%;
    justify-content:space-between;
    padding:15px 22px;
    font-size:15px;
    text-transform:none;
    white-space:normal;
  }
  .np-main-nav > ul > li > a::before,
  .np-main-nav .menu > li > a::before{display:none!important;content:none!important;}
  .np-main-nav li.menu-item-has-children > a::after{font-size:19px;}
  .np-main-nav li.menu-item-has-children.is-submenu-open > a::after{transform:rotate(45deg);}
  .np-main-nav .sub-menu,
  .np-main-nav .sub-menu .sub-menu{
    position:static;
    min-width:0;
    width:100%;
    padding:0 0 9px;
    margin:0;
    border:0;
    border-radius:0;
    box-shadow:none;
    background:#fff;
    display:none;
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
  }
  .np-main-nav li.is-submenu-open > .sub-menu{display:block;}
  .np-main-nav .sub-menu li{border-bottom:0;}
  .np-main-nav .sub-menu a{padding:10px 22px 10px 40px;font-size:14px;color:#526158;background:#fff;}
  .np-alert-bell,.np-cart,.np-mobile-toggle{width:38px;height:38px;min-width:38px;border-radius:10px;}
  .np-alert-panel{border-radius:16px;padding:12px;}
  .np-alert-item{grid-template-columns:50px 1fr;}
  .np-alert-thumb{width:50px;height:50px;}
}

@media(max-width:720px){
  .np-topbar .np-container{min-height:auto;padding:8px 0;gap:6px;flex-direction:column;}
  .np-logo img,.np-brand-logo-img,.np-logo .custom-logo{width:min(220px,50vw);}
  .np-header-actions{gap:6px;}
}
