
/* DB Hosting universal dropdown navigation */
.db-universal-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(8,13,24,.97);
  border-bottom:1px solid #26344c;
  backdrop-filter:blur(16px);
}
.db-universal-nav{
  width:min(1180px,calc(100% - 40px));
  margin:auto;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.db-universal-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff!important;
  text-decoration:none;
  font-weight:900;
  white-space:nowrap;
}
.db-universal-mark{
  width:34px;
  height:34px;
  border-radius:10px;
  background:linear-gradient(145deg,#7c86ff,#5966eb);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:13px;
}
.db-nav-toggle{
  display:none;
  width:42px;
  height:42px;
  border:1px solid #34435d;
  border-radius:9px;
  background:#111b2e;
  color:#fff;
  font-size:22px;
  cursor:pointer;
}
.db-nav-menu{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.db-nav-menu a{
  color:#cbd5e1!important;
  text-decoration:none;
  padding:9px 10px;
  border-radius:8px;
  font-size:14px;
  font-weight:750;
}
.db-nav-menu a:hover,
.db-nav-menu a.active{
  color:#fff!important;
  background:#18253b;
}
.db-nav-menu .db-nav-primary{
  background:#fff;
  color:#101828!important;
}
.db-nav-menu .db-nav-danger{
  color:#fecaca!important;
}
@media(max-width:900px){
  .db-universal-nav{
    min-height:68px;
    position:relative;
  }
  .db-nav-toggle{
    display:grid;
    place-items:center;
    flex:0 0 auto;
  }
  .db-nav-menu{
    display:none!important;
    position:absolute!important;
    top:calc(100% + 1px)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    background:#0b1323!important;
    border:1px solid #26344c!important;
    border-top:0!important;
    border-radius:0 0 14px 14px!important;
    padding:12px!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:4px!important;
    box-shadow:0 20px 40px rgba(0,0,0,.25);
  }
  .db-nav-menu.open{
    display:flex!important;
  }
  .db-nav-menu a{
    display:block!important;
    width:100%!important;
    padding:11px 12px!important;
  }
}

/* V2.1 grouped admin navigation */
.db-nav-group{position:relative;margin:0}
.db-nav-group>summary{
  list-style:none;cursor:pointer;color:#cbd5e1;padding:9px 10px;border-radius:8px;
  font-size:14px;font-weight:750;user-select:none;white-space:nowrap
}
.db-nav-group>summary::-webkit-details-marker{display:none}
.db-nav-group>summary::after{content:" ▾";font-size:11px;color:#8192a8}
.db-nav-group>summary:hover,.db-nav-group>summary.active,.db-nav-group[open]>summary{color:#fff;background:#18253b}
.db-nav-dropdown{
  display:none;position:absolute;top:calc(100% + 8px);left:0;min-width:210px;padding:8px;
  background:#0d1726;border:1px solid #2b3d54;border-radius:12px;
  box-shadow:0 18px 42px rgba(0,0,0,.34);z-index:1100
}
.db-nav-group[open]>.db-nav-dropdown{display:grid;gap:3px}
.db-nav-dropdown a{display:block;white-space:nowrap}
@media(min-width:901px){
  .db-nav-group:hover>.db-nav-dropdown{display:grid;gap:3px}
}
@media(max-width:900px){
  .db-nav-group{width:100%}
  .db-nav-group>summary{width:100%;box-sizing:border-box;padding:11px 12px}
  .db-nav-dropdown{
    position:static;min-width:0;margin:3px 0 6px 10px;padding:4px 0 4px 10px;
    background:transparent;border:0;border-left:1px solid #30445c;border-radius:0;box-shadow:none
  }
}


/* V2.1 client cart — dedicated logged-in action */
.db-client-cart{
  position:relative;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:8px 12px!important;
  border-radius:10px!important;
  background:#4a9ee8!important;
  border:1px solid #4a9ee8!important;
  color:#07131f!important;
  font-weight:900!important;
  text-decoration:none!important;
}
.db-client-cart:hover,
.db-client-cart.active{
  background:#79c7f1!important;
  border-color:#79c7f1!important;
  color:#07131f!important;
}
.db-client-cart svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.db-client-cart-count{
  display:grid;
  place-items:center;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  background:#07131f;
  color:#fff;
  font-size:11px;
  font-weight:900;
  line-height:1;
}
@media(max-width:900px){
  .db-client-cart{
    width:100%!important;
    box-sizing:border-box;
    justify-content:flex-start!important;
  }
}
@media(min-width:901px) and (max-width:1060px){
  .db-client-cart-label{display:none}
}

/* V2.1 customer header cart — separate from navigation */
.db-header-cart{
  position:relative;display:inline-grid;place-items:center;flex:0 0 auto;
  width:40px;height:40px;padding:0!important;border-radius:10px;
  background:#4a9ee8;border:1px solid #4a9ee8;color:#07131f!important;
  text-decoration:none!important;margin-left:auto
}
.db-header-cart:hover{background:#79c7f1;border-color:#79c7f1;color:#07131f!important}
.db-header-cart svg{
  width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round
}
.db-header-cart-count{
  position:absolute;top:-6px;right:-6px;display:grid;place-items:center;
  min-width:19px;height:19px;padding:0 4px;border-radius:999px;
  background:#07131f;color:#fff;border:2px solid #0d1726;
  font-size:10px;font-weight:900;line-height:1
}
@media(min-width:901px){
  .db-header-cart{margin-left:8px}
}
@media(max-width:900px){
  .db-universal-nav>.db-header-cart{margin-left:auto;margin-right:7px}
}


/* V2.1 cart/burger visual parity */
.db-universal-nav>.db-header-cart,
.db-universal-nav>.db-nav-toggle{
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  box-sizing:border-box!important;
  padding:0!important;
  align-items:center!important;
  justify-content:center!important;
}
.db-universal-nav>.db-header-cart{display:inline-flex!important}
.db-universal-nav>.db-header-cart svg{
  width:25px!important;
  height:25px!important;
  stroke-width:2.25!important;
}
.db-universal-nav>.db-nav-toggle{
  font-size:25px!important;
  line-height:1!important;
}

/* V2.5 client notification bell */
.db-header-notifications{
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 width:38px;height:38px;border-radius:10px;text-decoration:none!important;
 color:inherit;border:1px solid transparent;flex:0 0 auto
}
.db-header-notifications:hover,.db-header-notifications.active{
 border-color:var(--nh-line,#293b4d);background:var(--nh-panel,#151f2a)
}
.db-header-notifications svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.db-header-notification-count{
 position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 4px;
 display:flex;align-items:center;justify-content:center;border-radius:999px;
 background:#ef4444;color:#fff;font-size:10px;font-weight:900;line-height:1;
 box-sizing:border-box
}

/* V2.5 Admin notification bell */
.db-admin-notifications{
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 width:38px;height:38px;border-radius:10px;text-decoration:none!important;
 color:inherit;border:1px solid transparent;flex:0 0 auto
}
.db-admin-notifications:hover,.db-admin-notifications.active{
 border-color:var(--nh-line,#293b4d);background:var(--nh-panel,#151f2a)
}
.db-admin-notifications svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.db-admin-notification-count{
 position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 4px;
 display:flex;align-items:center;justify-content:center;border-radius:999px;
 background:#ef4444;color:#fff;font-size:10px;font-weight:900;line-height:1;box-sizing:border-box
}


/* V2.5 notification bell visibility — match cart/header controls */
.db-universal-nav>.db-header-notifications,
.db-universal-nav>.db-admin-notifications{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  padding:0!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
  background:#4a9ee8!important;
  border:1px solid #4a9ee8!important;
  color:#07131f!important;
  text-decoration:none!important;
}
.db-universal-nav>.db-header-notifications:hover,
.db-universal-nav>.db-admin-notifications:hover,
.db-universal-nav>.db-header-notifications.active,
.db-universal-nav>.db-admin-notifications.active{
  background:#79c7f1!important;
  border-color:#79c7f1!important;
  color:#07131f!important;
}
.db-universal-nav>.db-header-notifications svg,
.db-universal-nav>.db-admin-notifications svg{
  width:25px!important;
  height:25px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.db-header-notification-count,
.db-admin-notification-count{
  position:absolute!important;
  top:-6px!important;
  right:-6px!important;
  display:grid!important;
  place-items:center!important;
  min-width:19px!important;
  height:19px!important;
  padding:0 4px!important;
  border-radius:999px!important;
  background:#ef4444!important;
  color:#fff!important;
  border:2px solid #0d1726!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1!important;
  box-sizing:border-box!important;
}
/* Admin has no cart, so bell occupies the header-action position. */
body.nh-admin .db-universal-nav>.db-admin-notifications{margin-left:auto!important}
/* Customer cart already owns auto spacing; bell follows it. */
body.nh-app .db-universal-nav>.db-header-notifications{margin-left:0!important;margin-right:0!important}
@media(max-width:900px){
  body.nh-admin .db-universal-nav>.db-admin-notifications{margin-left:auto!important;margin-right:7px!important}
  body.nh-app .db-universal-nav>.db-header-notifications{margin-right:7px!important}
}


/* Customer cart keeps the standard header-action look. */
.db-universal-nav>.db-header-cart{
  order:1!important;
  margin-left:auto!important;
}

/* Notification bell sits immediately to the left of the burger/menu button. */
.db-universal-nav>.db-shared-notification-bell{
  order:2!important;
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 46px!important;
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  margin-left:7px!important;
  margin-right:7px!important;
  padding:0!important;
  border-radius:10px!important;
  box-sizing:border-box!important;

  /* Match cart button */
  background:#4a9ee8!important;
  border:1px solid #4a9ee8!important;
  color:#07131f!important;
  text-decoration:none!important;
  visibility:visible!important;
  opacity:1!important;
  overflow:visible!important;
}
.db-universal-nav>.db-shared-notification-bell:hover,
.db-universal-nav>.db-shared-notification-bell.active{
  background:#79c7f1!important;
  border-color:#79c7f1!important;
  color:#07131f!important;
}

.db-shared-bell-icon{
  display:block!important;
  color:#07131f!important;
  font-size:22px!important;
  line-height:1!important;
  width:26px!important;
  height:26px!important;
  text-align:center!important;
}

.db-shared-notification-count{
  position:absolute!important;
  top:-6px!important;
  right:-6px!important;
  display:grid!important;
  place-items:center!important;
  min-width:19px!important;
  height:19px!important;
  padding:0 4px!important;
  border-radius:999px!important;
  background:#07131f!important;
  color:#fff!important;
  border:2px solid #0d1726!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1!important;
  z-index:30!important;
}

/* Burger follows immediately after the bell. */
.db-universal-nav>.db-nav-toggle{
  order:3!important;
  margin-left:0!important;
  margin-right:0!important;
}
.db-universal-nav>.db-nav-menu{order:4!important}

/* Admin has no cart, so bell moves to the right before burger. */
body.nh-admin .db-universal-nav>.db-shared-notification-bell{
  margin-left:auto!important;
  margin-right:7px!important;
}

/* Customer: cart first, bell next, then burger. */
body.nh-app .db-universal-nav>.db-header-cart{
  margin-left:auto!important;
  margin-right:0!important;
}
body.nh-app .db-universal-nav>.db-shared-notification-bell{
  margin-left:7px!important;
  margin-right:7px!important;
}

@media(max-width:900px){
  .db-universal-nav{gap:0!important}
  body.nh-admin .db-universal-nav>.db-shared-notification-bell{
    margin-left:auto!important;
    margin-right:7px!important;
  }
  body.nh-app .db-universal-nav>.db-header-cart{
    margin-left:auto!important;
    margin-right:0!important;
  }
  body.nh-app .db-universal-nav>.db-shared-notification-bell{
    margin-left:7px!important;
    margin-right:7px!important;
  }
}


/* V2.5 single outline notification bell */
body.nh-admin .db-universal-nav>.db-admin-notifications{
  margin-left:auto!important;
  margin-right:7px!important;
}
body.nh-app .db-universal-nav>.db-header-cart{
  margin-left:auto!important;
  margin-right:7px!important;
}
body.nh-app .db-universal-nav>.db-header-notifications{
  margin-left:0!important;
  margin-right:7px!important;
}
.db-universal-nav>.db-admin-notifications,
.db-universal-nav>.db-header-notifications{
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#4a9ee8!important;
  border:1px solid #4a9ee8!important;
  color:#07131f!important;
  border-radius:10px!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.db-universal-nav>.db-admin-notifications:hover,
.db-universal-nav>.db-header-notifications:hover,
.db-universal-nav>.db-admin-notifications.active,
.db-universal-nav>.db-header-notifications.active{
  background:#79c7f1!important;
  border-color:#79c7f1!important;
  color:#07131f!important;
}
.db-universal-nav>.db-admin-notifications svg,
.db-universal-nav>.db-header-notifications svg{
  width:25px!important;
  height:25px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2.15!important;
}

/* V2.5 customer header action alignment */
body.nh-app .db-universal-nav>.db-header-cart{
  order:1!important;
  margin-left:auto!important;
  margin-right:7px!important;
}
body.nh-app .db-universal-nav>.db-header-notifications{
  order:2!important;
  margin-left:0!important;
  margin-right:7px!important;
}
body.nh-app .db-universal-nav>.db-nav-toggle{
  order:3!important;
  margin-left:0!important;
}
@media(max-width:900px){
 body.nh-app .db-universal-nav{gap:0!important}
 body.nh-app .db-universal-nav>.db-header-cart{margin-left:auto!important;margin-right:7px!important}
 body.nh-app .db-universal-nav>.db-header-notifications{margin-left:0!important;margin-right:7px!important}
}


/* V2.5 circular customer profile menu */
.db-profile-toggle{
  border-radius:999px!important;
  background:#182536!important;
  border:1px solid #38506a!important;
  color:#f5f9fc!important;
  font-size:14px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
}
.db-profile-toggle:hover,.db-profile-toggle[aria-expanded="true"]{
  background:#23364a!important;
  border-color:#4a9ee8!important;
}
.db-profile-initials{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  line-height:1!important;
}
.db-client-menu-identity{
  display:grid;
  gap:2px;
  padding:10px 12px 12px;
  margin-bottom:5px;
  border-bottom:1px solid #2a3c50;
  color:#f5f9fc;
}
.db-client-menu-identity strong{font-size:14px;overflow-wrap:anywhere}
.db-client-menu-identity small{font-size:11px;color:#91a8ba;overflow-wrap:anywhere}
@media(min-width:901px){
  .db-nav-menu>.db-client-menu-identity{display:none}
}
@media(max-width:900px){
  .db-profile-toggle{
    display:grid!important;
    width:46px!important;
    min-width:46px!important;
    height:46px!important;
    min-height:46px!important;
  }
}

/* V2.5 Admin circular header controls */
body.nh-admin .db-universal-nav>.db-admin-notifications,
body.nh-admin .db-universal-nav>.db-nav-toggle{
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  border-radius:999px!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
}
body.nh-admin .db-universal-nav>.db-admin-notifications{
  background:#4a9ee8!important;
  border:1px solid #4a9ee8!important;
  color:#07131f!important;
  margin-left:auto!important;
  margin-right:7px!important;
}
body.nh-admin .db-universal-nav>.db-admin-notifications:hover,
body.nh-admin .db-universal-nav>.db-admin-notifications.active{
  background:#79c7f1!important;
  border-color:#79c7f1!important;
}
body.nh-admin .db-universal-nav>.db-nav-toggle{
  background:#182536!important;
  border:1px solid #38506a!important;
  color:#f5f9fc!important;
  font-size:22px!important;
}
body.nh-admin .db-universal-nav>.db-nav-toggle:hover,
body.nh-admin .db-universal-nav>.db-nav-toggle[aria-expanded="true"]{
  background:#23364a!important;
  border-color:#4a9ee8!important;
}

/* V2.5 canonical Client header controls */
body.nh-app .db-universal-nav>.db-header-cart,
body.nh-app .db-universal-nav>.db-header-notifications,
body.nh-app .db-universal-nav>.db-profile-toggle{
  flex:0 0 46px!important;
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
}
body.nh-app .db-universal-nav>.db-header-cart{
  margin-left:auto!important;
  margin-right:7px!important;
  border-radius:10px!important;
}
body.nh-app .db-universal-nav>.db-header-notifications{
  margin-left:0!important;
  margin-right:7px!important;
  border-radius:10px!important;
}
body.nh-app .db-universal-nav>.db-profile-toggle{
  margin-left:0!important;
  margin-right:0!important;
  border-radius:999px!important;
  background:#182536!important;
  border:1px solid #38506a!important;
  color:#f5f9fc!important;
  font-size:14px!important;
  font-weight:900!important;
}
body.nh-app .db-profile-initials{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  line-height:1!important;
}
@media(max-width:900px){
 body.nh-app .db-universal-nav{gap:0!important}
 body.nh-app .db-universal-nav>.db-header-cart{margin-left:auto!important;margin-right:7px!important}
 body.nh-app .db-universal-nav>.db-header-notifications{margin-right:7px!important}
 body.nh-app .db-universal-nav>.db-profile-toggle{display:inline-flex!important}
}
