/* Victoria V43 — header sans chevauchement, sans bouton coupé, PC + mobile. */
.v5-desktop-header .v5-desktop-nav{display:grid!important;grid-template-columns:auto minmax(0,1fr) minmax(170px,230px) auto;align-items:center;gap:10px;width:100%;min-width:0;}
.v5-desktop-header .v5-brand{min-width:0;max-width:170px;overflow:hidden;}
.v5-desktop-header .v5-nav{display:flex!important;align-items:center;gap:4px;min-width:0;overflow:hidden!important;white-space:nowrap;}
.v5-desktop-header .v5-nav>a,.v5-desktop-header .v5-nav-more{flex:0 0 auto;min-width:max-content;}
.v5-desktop-header .vx-header-search-desktop{width:auto;min-width:0;max-width:none;}
.v5-desktop-header .v5-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:max-content;flex-wrap:nowrap;}
.v5-desktop-header .v5-actions>*{flex:0 0 auto;}
.v5-desktop-header .v5-install-btn{white-space:nowrap;}
.v5-desktop-header .v5-user-chip{max-width:170px;min-width:0;}
.v5-desktop-header .v5-user-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.v5-mobile-header{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;width:100%;min-width:0;padding-left:8px!important;padding-right:8px!important;overflow:visible!important;}
.v5-mobile-header>.v5-brand{min-width:0;max-width:none!important;display:flex;align-items:center;overflow:hidden;}
.v5-mobile-header>.v5-brand .v11-brand-label{display:none!important;}
.v5-mobile-header>.v5-brand .v31-logo-wrap{flex:0 0 auto;}
.v5-mobile-header .v32-mobile-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:4px;min-width:0;overflow:visible!important;}
.v5-mobile-header .v32-mobile-action,.v5-mobile-header .v7-menu-btn{width:34px!important;height:34px!important;min-width:34px!important;flex:0 0 34px!important;display:inline-flex!important;align-items:center;justify-content:center;}
.v5-mobile-header .v42-mobile-login{width:34px!important;height:34px!important;padding:0!important;border-radius:10px!important;}
.v5-mobile-header .v42-mobile-login-text{display:none!important;}
.v5-mobile-header .v32-mobile-profile img{width:21px!important;height:21px!important;}
.v5-mobile-header .v32-mobile-action-badge{right:1px!important;top:1px!important;}
@media(min-width:992px) and (max-width:1199.98px){
  .v5-desktop-header .v5-desktop-nav{grid-template-columns:auto minmax(0,1fr) 170px auto;gap:6px;}
  .v5-desktop-header .v5-nav{gap:2px;}
  .v5-desktop-header .v5-nav>a{padding-left:8px!important;padding-right:8px!important;}
  .v5-desktop-header .v5-nav>a:not(.active){font-size:0;}
  .v5-desktop-header .v5-nav>a i{font-size:.9rem;}
  .v5-desktop-header .v5-install-btn span,.v5-desktop-header .v5-user-chip span,.v5-desktop-header .v42-login-button span{display:none;}
  .v5-desktop-header .v5-install-btn{width:40px!important;padding:0!important;justify-content:center;}
  .v5-desktop-header .v5-user-chip{width:40px!important;justify-content:center;}
}
@media(max-width:991.98px){
  .v5-desktop-header{display:none!important;}
  .v5-mobile-header{display:grid!important;}
  .vx-mobile-search-strip{display:none!important;}
}
@media(max-width:420px){
  .v5-mobile-header{padding-left:5px!important;padding-right:5px!important;gap:4px!important;}
  .v5-mobile-header .v32-mobile-actions{gap:3px!important;}
  .v5-mobile-header .v32-mobile-action,.v5-mobile-header .v7-menu-btn,.v5-mobile-header .v42-mobile-login{width:31px!important;height:31px!important;min-width:31px!important;flex-basis:31px!important;border-radius:9px!important;}
  .v5-mobile-header .v32-mobile-action i,.v5-mobile-header .v7-menu-btn i,.v5-mobile-header .v42-mobile-login i{font-size:.8rem!important;}
}
@media(max-width:350px){
  .v5-mobile-header{gap:3px!important;}
  .v5-mobile-header .v32-mobile-actions{gap:2px!important;}
  .v5-mobile-header .v32-mobile-action,.v5-mobile-header .v7-menu-btn,.v5-mobile-header .v42-mobile-login{width:29px!important;height:29px!important;min-width:29px!important;flex-basis:29px!important;}
}
