
/* ==========================================================================
   WAX V6.0.3 — PREMIUM HEADER POLISH
   Header-only override. Existing homepage/mobile architecture is preserved.
   ========================================================================== */

@media(min-width:761px){
  html body.wax-signature .header.v602-header{
    background:
      linear-gradient(180deg,rgba(8,12,22,.99),rgba(8,12,22,.965))!important;
    border-bottom:1px solid rgba(255,255,255,.075)!important;
  }

  html body.wax-signature .header.v602-header:after{
    content:"";
    position:absolute;
    left:0;right:0;bottom:-1px;
    height:1px;
    pointer-events:none;
    background:linear-gradient(
      90deg,
      transparent 0%,
      rgba(123,91,255,.05) 18%,
      rgba(139,108,255,.22) 50%,
      rgba(123,91,255,.05) 82%,
      transparent 100%
    );
  }

  html body.wax-signature .header.v602-header .nav{
    width:min(1480px,calc(100% - 56px))!important;
    height:84px!important;
    min-height:84px!important;
    grid-template-columns:250px minmax(0,1fr) 255px!important;
    gap:26px!important;
  }

  html body.wax-signature .header.v602-header .wax-brand-logo{
    position:relative!important;
    min-width:0!important;
    transition:transform .18s ease!important;
  }

  html body.wax-signature .header.v602-header .wax-brand-logo:hover{
    transform:translateY(-1px)!important;
  }

  html body.wax-signature .header.v602-header .wax-brand-logo img{
    width:210px!important;
    height:auto!important;
  }

  html body.wax-signature .header.v602-header .nav-links{
    width:max-content!important;
    max-width:100%!important;
    justify-self:center!important;
    gap:3px!important;
    padding:5px!important;
    border:1px solid rgba(255,255,255,.075)!important;
    border-radius:15px!important;
    background:linear-gradient(180deg,rgba(17,23,38,.82),rgba(12,17,29,.82))!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.035),
      0 10px 32px rgba(0,0,0,.16)!important;
  }

  html body.wax-signature .header.v602-header .nav-links a{
    min-height:40px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 14px!important;
    border:1px solid transparent!important;
    border-radius:10px!important;
    color:#8f99ab!important;
    font-size:11.5px!important;
    line-height:1!important;
    font-weight:780!important;
    transition:
      color .18s ease,
      background .18s ease,
      border-color .18s ease,
      transform .18s ease!important;
  }

  html body.wax-signature .header.v602-header .nav-links a:hover{
    color:#eef1f6!important;
    background:rgba(255,255,255,.035)!important;
  }

  html body.wax-signature .header.v602-header .nav-links a.active{
    color:#fff!important;
    border-color:rgba(130,98,255,.22)!important;
    background:
      linear-gradient(180deg,rgba(126,93,255,.16),rgba(90,65,193,.10))!important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.045),
      0 7px 18px rgba(63,38,138,.10)!important;
  }

  html body.wax-signature .header.v602-header .nav-links a.active:before{
    content:"";
    position:absolute;
    left:50%;
    bottom:5px;
    width:16px;
    height:2px;
    border-radius:999px;
    transform:translateX(-50%);
    background:#8b6aff;
    box-shadow:0 0 10px rgba(139,106,255,.65);
  }

  html body.wax-signature .header.v602-header .nav-actions{
    justify-self:end!important;
    gap:9px!important;
  }

  html body.wax-signature .header.v602-header .nav-login{
    min-height:46px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 16px!important;
    border:1px solid rgba(255,255,255,.07)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.018)!important;
    color:#c9d0dc!important;
    font-size:11.5px!important;
    font-weight:820!important;
    transition:background .18s ease,border-color .18s ease,color .18s ease!important;
  }

  html body.wax-signature .header.v602-header .nav-login:hover{
    border-color:rgba(139,106,255,.22)!important;
    background:rgba(126,93,255,.07)!important;
    color:#fff!important;
  }

  html body.wax-signature .header.v602-header .button-dark{
    position:relative!important;
    overflow:hidden!important;
    min-width:132px!important;
    min-height:48px!important;
    padding:0 20px!important;
    border:1px solid #8c6aff!important;
    border-radius:13px!important;
    background:linear-gradient(135deg,#6948ed 0%,#7b58f7 48%,#9a7dff 100%)!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:900!important;
    box-shadow:
      0 12px 30px rgba(106,73,235,.28),
      inset 0 1px 0 rgba(255,255,255,.18)!important;
    transition:transform .18s ease,box-shadow .18s ease!important;
  }

  html body.wax-signature .header.v602-header .button-dark:before{
    content:"";
    position:absolute;
    top:-70%;
    left:-38%;
    width:40%;
    height:240%;
    transform:rotate(22deg);
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);
    opacity:.45;
    pointer-events:none;
  }

  html body.wax-signature .header.v602-header .button-dark:hover{
    transform:translateY(-1px)!important;
    box-shadow:
      0 16px 38px rgba(106,73,235,.34),
      inset 0 1px 0 rgba(255,255,255,.21)!important;
  }

  html body.wax-signature .header.v602-header .button-dark span{
    margin-left:3px!important;
    color:#e8e1ff!important;
  }
}

/* Mid-size laptop: keep everything on one line without feeling squeezed. */
@media(min-width:1081px) and (max-width:1320px){
  html body.wax-signature .header.v602-header .nav{
    width:calc(100% - 38px)!important;
    grid-template-columns:205px minmax(0,1fr) 220px!important;
    gap:14px!important;
  }

  html body.wax-signature .header.v602-header .wax-brand-logo img{
    width:184px!important;
  }

  html body.wax-signature .header.v602-header .nav-links{
    padding:4px!important;
  }

  html body.wax-signature .header.v602-header .nav-links a{
    padding:0 9px!important;
    font-size:10.4px!important;
  }

  html body.wax-signature .header.v602-header .nav-login{
    padding:0 11px!important;
    font-size:10.5px!important;
  }

  html body.wax-signature .header.v602-header .button-dark{
    min-width:112px!important;
    padding:0 14px!important;
    font-size:11px!important;
  }
}

/* Tablet/mobile keeps the V6.0.2 proven menu layout; only logo sizing is refined. */
@media(max-width:1080px){
  html body.wax-signature .header.v602-header .wax-brand-logo img{
    width:175px!important;
  }
}

@media(max-width:760px){
  html body.wax-signature .header.v602-header .wax-brand-logo img{
    width:165px!important;
  }
}

@media(max-width:390px){
  html body.wax-signature .header.v602-header .wax-brand-logo img{
    width:154px!important;
  }
}

@media(hover:none){
  html body.wax-signature .header.v602-header .wax-brand-logo:hover,
  html body.wax-signature .header.v602-header .button-dark:hover{
    transform:none!important;
  }
}
