/* INK BRANDZ HEADER - ASTRA FREE DEFINITIVO */

.site-header{
  position:fixed !important;
  top:0;
  left:0;
  width:100%;
  z-index:99999;
  background:transparent !important;
  pointer-events:none;
}

.ast-primary-header-bar{
  pointer-events:auto;
  margin:10px auto 0;
  width:calc(100% - 90px);
  max-width:1120px;
  min-height:48px !important;
  border-radius:999px;
  background:rgba(28,13,18,.46) !important;
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 14px 34px rgba(0,0,0,.14);
  transition:.35s cubic-bezier(.22,.8,.22,1);
}

body.ib-scrolled .ast-primary-header-bar{
  margin-top:7px;
  min-height:44px !important;
  max-width:1040px;
  background:rgba(28,13,18,.86) !important;
  border-color:rgba(201,162,39,.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 18px 40px rgba(0,0,0,.22);
}

.ast-primary-header-bar .ast-container{
  min-height:48px !important;
  padding-left:38px !important;
  padding-right:42px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
}

body.ib-scrolled .ast-primary-header-bar .ast-container{
  min-height:44px !important;
}

.ast-builder-grid-row{
  display:flex !important;
  align-items:center !important;
  width:100%;
}

.site-header-primary-section-left{
  flex:0 0 auto !important;
  margin-right:54px !important;
}

.site-header-primary-section-right,
.site-header-primary-section-center{
  flex:1 1 auto !important;
}

.custom-logo{
  max-width:108px !important;
  width:auto !important;
  height:auto !important;
  transition:.3s cubic-bezier(.22,.8,.22,1);
  filter:none !important;
  opacity:1 !important;
  mix-blend-mode:normal !important;
}

body.ib-scrolled .custom-logo{
  max-width:100px !important;
}

.custom-logo:hover{
  transform:scale(1.04);
}

.main-header-menu{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:24px !important;
  width:100%;
}

.main-header-menu > .menu-item > a{
  color:#fff !important;
  font-size:13.5px !important;
  font-weight:600;
  letter-spacing:.25px;
  line-height:48px !important;
  height:48px !important;
  padding:0 !important;
  position:relative;
  transition:.25s ease;
  white-space:nowrap;
}

body.ib-scrolled .main-header-menu > .menu-item > a{
  line-height:44px !important;
  height:44px !important;
}

.main-header-menu > .menu-item > a:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:9px;
  width:0;
  height:2px;
  transform:translateX(-50%);
  border-radius:999px;
  background:linear-gradient(90deg,#ff1f2d,#ffc400,#38c95a,#27c7df,#8f4ccf);
  transition:.25s ease;
}

.main-header-menu > .menu-item > a:hover{
  transform:translateY(-1px);
}

.main-header-menu > .menu-item > a:hover:after,
.current-menu-item > a:after{
  width:28px;
}

.main-header-menu .sub-menu{
  background:rgba(28,13,18,.94) !important;
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:10px 0 !important;
  min-width:240px;
  margin-top:14px;
  box-shadow:0 22px 45px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  overflow:hidden;
}

.main-header-menu .sub-menu:before{
  content:"";
  position:absolute;
  top:-7px;
  left:34px;
  width:14px;
  height:14px;
  background:rgba(28,13,18,.94);
  transform:rotate(45deg);
  border-left:1px solid rgba(255,255,255,.08);
  border-top:1px solid rgba(255,255,255,.08);
}

.main-header-menu .sub-menu a{
  color:#f5f5f5 !important;
  font-size:13px !important;
  font-weight:600;
  padding:13px 22px !important;
  transition:.28s ease;
  background:transparent !important;
}

.main-header-menu .sub-menu li:hover>a{
  color:#fff !important;
  padding-left:28px !important;
  background:linear-gradient(90deg,rgba(255,31,45,.14),rgba(255,196,0,.08),rgba(39,199,223,.08)) !important;
}

.main-header-menu .sub-menu li:not(:last-child){
  border-bottom:1px solid rgba(255,255,255,.06);
}

.main-header-menu .sub-menu a:after{
  display:none !important;
}

@media(max-width:921px){
  .ast-primary-header-bar{
    width:calc(100% - 24px);
    margin-top:8px;
    min-height:48px !important;
    border-radius:24px;
  }

  body.ib-scrolled .ast-primary-header-bar{
    min-height:44px !important;
    max-width:none;
  }

  .ast-primary-header-bar .ast-container{
    min-height:48px !important;
    padding-left:18px !important;
    padding-right:14px !important;
  }

  body.ib-scrolled .ast-primary-header-bar .ast-container{
    min-height:44px !important;
  }

  .site-header-primary-section-left{
    margin-right:auto !important;
  }

  .custom-logo{
    max-width:92px !important;
  }

  body.ib-scrolled .custom-logo{
    max-width:84px !important;
  }

  .menu-toggle{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    padding:0 !important;
    border-radius:999px !important;
    background:linear-gradient(135deg,#ff1f2d,#ffc400,#27c7df) !important;
    border:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  .menu-toggle svg,
  .ast-mobile-svg{
    fill:#fff !important;
    width:16px !important;
    height:16px !important;
  }

  .ast-mobile-header-content,
  .ast-mobile-popup-content{
    background:rgba(25,12,17,.96) !important;
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
  }

  .ast-mobile-header-content a,
  .ast-mobile-popup-content a{
    color:#fff !important;
    font-size:15px !important;
    font-weight:600;
    padding:14px 20px !important;
  }
}
