/* Carvix 18.0.4 – hard header overlap fix */
.cvx1804-header-inner{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  grid-template-columns:max-content minmax(0,1fr) max-content!important;
  gap:18px!important;
  padding-left:24px!important;
  padding-right:24px!important;
  overflow:visible!important;
}
.cvx1804-main-nav{
  min-width:0!important;
  max-width:100%!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:clamp(12px,1.35vw,24px)!important;
  overflow:hidden!important;
}
.cvx1804-main-nav>a{
  flex:0 1 auto!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:clamp(13px,.95vw,17px)!important;
}
.cvx1804-header-actions{
  min-width:max-content!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  overflow:visible!important;
}
.cvx1804-header-actions>*{
  flex:0 0 auto!important;
}
.cvx1804-header-actions .cvx90-account,
.cvx1804-header-actions .cvx90-account-trigger,
.cvx1804-header-actions .cvx90-account-link{
  max-width:180px!important;
}
.cvx1804-header-actions .cvx90-account-label{
  display:block!important;
  max-width:120px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.cvx176-brand-header{
  min-width:max-content!important;
  flex:0 0 auto!important;
}
.cvx176-brand-header .cvx176-brand-word{
  font-size:clamp(28px,2.1vw,36px)!important;
}
.cvx176-brand-header .cvx176-brand-mark{
  width:56px!important;
  height:56px!important;
}

/* Switch to hamburger earlier than before. */
@media(max-width:1380px){
  .cvx1804-main-nav{
    display:none!important;
  }
  .cvx90-menu-button{
    display:inline-grid!important;
  }
  .cvx1804-header-inner{
    grid-template-columns:max-content 1fr max-content!important;
  }
}

/* Medium screens: keep account area compact. */
@media(max-width:900px){
  .cvx1804-header-inner{
    padding-left:16px!important;
    padding-right:16px!important;
    gap:12px!important;
  }
  .cvx1804-header-actions .cvx90-account-label{
    max-width:88px!important;
  }
}

/* Mobile: icon-first header. */
@media(max-width:620px){
  .cvx1804-header-actions .cvx90-favorites-link,
  .cvx1804-header-actions .cvx90-account-label{
    display:none!important;
  }
  .cvx176-brand-header .cvx176-brand-word{
    font-size:27px!important;
  }
  .cvx176-brand-header .cvx176-brand-mark{
    width:48px!important;
    height:48px!important;
  }
}

@media(max-width:430px){
  .cvx1804-header-inner{
    padding-left:10px!important;
    padding-right:10px!important;
    gap:8px!important;
  }
  .cvx176-brand-header{
    gap:8px!important;
  }
  .cvx176-brand-header .cvx176-brand-word{
    font-size:23px!important;
  }
  .cvx176-brand-header .cvx176-brand-mark{
    width:42px!important;
    height:42px!important;
  }
}
