
/* QuoSolus Production Master Header
   One identical global header for every QuoSolus page. */

.qs-master-header{
  position:relative;
  z-index:10000;
  width:100%;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid #e2e9f0!important;
  box-shadow:0 1px 0 rgba(11,30,58,.02)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important
}
.qs-master-header-inner{
  width:min(1460px,calc(100% - 42px))!important;
  min-height:104px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:25px!important
}
.qs-master-logo{
  display:flex!important;
  align-items:center!important;
  flex:0 0 190px!important;
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
  height:64px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  text-decoration:none!important
}
.qs-master-logo img{
  display:block!important;
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
  height:auto!important;
  max-height:62px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:left center!important;
  border:0!important
}
.qs-master-nav{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:23px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important
}
.qs-master-nav>a,
.qs-collections-trigger{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  appearance:none!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#263c55!important;
  font:inherit!important;
  font-size:.92rem!important;
  font-weight:850!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  margin:0!important;
  padding:16px 0!important
}
.qs-master-nav>a:hover,
.qs-master-nav>a:focus-visible,
.qs-collections-trigger:hover,
.qs-collections-trigger:focus-visible,
.qs-master-nav>a[aria-current="page"],
.qs-collections-trigger[data-current="true"]{
  color:#2077df!important
}
.qs-master-nav>a[aria-current="page"]:after,
.qs-collections-trigger[data-current="true"]:after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:8px!important;
  height:2px!important;
  border-radius:3px!important;
  background:#2f80ed!important
}
.qs-master-nav .qs-master-contact{
  min-height:auto!important;
  padding:15px 23px!important;
  border-radius:999px!important;
  background:#0b1e3a!important;
  color:#fff!important
}
.qs-master-nav .qs-master-contact:after{display:none!important}
.qs-master-nav .qs-master-contact:hover,
.qs-master-nav .qs-master-contact:focus-visible{
  background:#17375f!important;
  color:#fff!important
}

/* Collections menu: no hover gap */
.qs-collections-dropdown{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  padding:0 0 20px!important;
  margin:0 0 -20px!important
}
.qs-collections-trigger span{
  margin-left:4px!important;
  font-size:.7rem!important
}
.qs-collections-mega{
  position:absolute!important;
  top:100%!important;
  left:50%!important;
  width:min(800px,92vw)!important;
  padding-top:0!important;
  transform:translate(-48%,-7px)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s!important;
  z-index:10001!important
}
.qs-collections-dropdown.open .qs-collections-mega{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translate(-48%,0)!important
}
.qs-collections-mega:before{
  content:""!important;
  position:absolute!important;
  top:-10px!important;
  left:47%!important;
  width:20px!important;
  height:20px!important;
  background:#fff!important;
  border-left:1px solid #dbe5ee!important;
  border-top:1px solid #dbe5ee!important;
  transform:rotate(45deg)!important
}
.qs-collections-mega-inner{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:7px!important;
  padding:20px!important;
  border:1px solid #dbe5ee!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 28px 70px rgba(11,30,58,.23)!important
}
.qs-collections-mega a{
  display:flex!important;
  align-items:flex-start!important;
  gap:12px!important;
  min-height:0!important;
  margin:0!important;
  padding:14px!important;
  border:0!important;
  border-radius:14px!important;
  background:transparent!important;
  color:#142235!important;
  box-shadow:none!important;
  text-decoration:none!important;
  white-space:normal!important
}
.qs-collections-mega a:hover,
.qs-collections-mega a:focus-visible{
  background:#eef5ff!important
}
.qs-menu-number{
  flex:0 0 27px!important;
  padding-top:3px!important;
  color:#2f80ed!important;
  font-size:.66rem!important;
  font-weight:950!important;
  letter-spacing:.09em!important
}
.qs-collections-mega strong{
  display:block!important;
  color:#0b1e3a!important;
  font-size:.91rem!important;
  font-weight:900!important;
  line-height:1.2!important
}
.qs-collections-mega small{
  display:block!important;
  margin-top:4px!important;
  color:#687b8e!important;
  font-size:.74rem!important;
  font-weight:650!important;
  line-height:1.25!important
}
.qs-collections-mega .qs-view-all{
  grid-column:1/-1!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin-top:5px!important;
  background:#0b1e3a!important;
  color:#fff!important
}
.qs-collections-mega .qs-view-all:hover,
.qs-collections-mega .qs-view-all:focus-visible{
  background:#17375f!important
}
.qs-view-all b{font-size:1.3rem!important}

.qs-mobile-toggle{
  display:none!important;
  width:46px!important;
  height:42px!important;
  margin:0!important;
  padding:9px!important;
  border:1px solid #d8e2eb!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:none!important;
  cursor:pointer!important
}
.qs-mobile-toggle span{
  display:block!important;
  width:100%!important;
  height:2px!important;
  margin:5px 0!important;
  border-radius:2px!important;
  background:#0b1e3a!important
}

@media(max-width:1450px){
  .qs-master-header-inner{
    width:min(1350px,calc(100% - 34px))!important;
    gap:19px!important
  }
  .qs-master-logo,
  .qs-master-logo img{
    width:170px!important;
    min-width:170px!important;
    max-width:170px!important
  }
  .qs-master-logo{flex-basis:170px!important}
  .qs-master-nav{gap:17px!important}
  .qs-master-nav>a,
  .qs-collections-trigger{font-size:.85rem!important}
  .qs-master-nav .qs-master-contact{padding:14px 18px!important}
}

@media(max-width:1240px){
  .qs-master-header-inner{min-height:88px!important}
  .qs-mobile-toggle{display:block!important}
  .qs-master-nav{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    display:none!important;
    max-height:calc(100vh - 88px)!important;
    overflow:auto!important;
    padding:18px 26px 28px!important;
    border-top:1px solid #e2e9f0!important;
    background:#fff!important;
    box-shadow:0 22px 50px rgba(11,30,58,.16)!important
  }
  .qs-master-header.qs-mobile-open .qs-master-nav{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important
  }
  .qs-master-nav>a,
  .qs-collections-trigger{
    width:100%!important;
    min-height:0!important;
    padding:14px 2px!important;
    text-align:left!important;
    font-size:.96rem!important
  }
  .qs-master-nav>a[aria-current="page"]:after,
  .qs-collections-trigger[data-current="true"]:after{
    display:none!important
  }
  .qs-master-nav .qs-master-contact{
    display:block!important;
    margin-top:10px!important;
    text-align:center!important
  }
  .qs-collections-dropdown{
    display:block!important;
    width:100%!important;
    padding:0!important;
    margin:0!important
  }
  .qs-collections-trigger{
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important
  }
  .qs-collections-mega{
    position:static!important;
    width:100%!important;
    max-height:0!important;
    overflow:hidden!important;
    padding:0!important;
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transition:max-height .3s ease!important
  }
  .qs-collections-dropdown.open .qs-collections-mega{
    max-height:1000px!important
  }
  .qs-collections-mega:before{display:none!important}
  .qs-collections-mega-inner{
    grid-template-columns:1fr!important;
    padding:10px!important;
    margin:3px 0 10px!important;
    box-shadow:none!important
  }
}

@media(max-width:560px){
  .qs-master-header-inner{
    width:calc(100% - 26px)!important;
    min-height:78px!important
  }
  .qs-master-logo,
  .qs-master-logo img{
    width:160px!important;
    min-width:160px!important;
    max-width:160px!important
  }
  .qs-master-logo{flex-basis:160px!important}
  .qs-master-nav{
    max-height:calc(100vh - 78px)!important;
    padding:14px 18px 24px!important
  }
}
