#brandImage{
  border-radius: none!important;
}
.navbar-inverse {
  background-color: #222;
  color: #fff;
  height: 100%;
  max-height: 60px;
}

.vp-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.vp-close {
  display: none;
}

.vp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 60px;
}

/* Brand */
.vp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.vp-brand img#brandImage { height: 36px; display: block; }
.pDescNegozio {
  margin: 0;
  font-size: .9rem;
  opacity: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Toggle (mobile) */
.vp-toggle {
  display: none;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 8px;
  margin-left: 8px;
}
.vp-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

/* Menu principale */
.vp-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.vp-menu > li { position: relative; }

.vp-menu img{
  border-radius:0px;
}

.vp-menu a,
.vp-menu button.vp-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  background: rgba(255,255,255,0.1);
  border: 0;
  cursor: pointer;
  border-radius: 50px;
}

.vp-menu a:hover,
.vp-menu button.vp-link:hover {
  background: rgba(255,255,255,.2);
  text-decoration: none;
  color: #fff;
}

.vp-menu .btn-home {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('/basic/web/img/home.png') center/contain no-repeat;
}

.vp-menu .help-btn img { height: 35px; }

/* Dropdown indicator */
.vp-menu .has-sub > button.vp-link::after {
  content: "\25BE";
  font-size: 12px;
  margin-left: 6px;
}

/* === DROPDOWN MENU A DUE COLONNE ORDINATE (DESKTOP) === */
.vp-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 27px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: inherit;
  border-radius: 0 0 10px 10px;
  padding: 20px 20px 20px 20px;
  white-space: normal;
  min-width: 400px;
  box-shadow: none;
}


.vp-menu .dropdown-menu.open {
  display: block !important;
  column-count: 2;
  column-gap: 10px;
}
/* Mostra menu su hover o .open */
@media (hover:hover) {
  .vp-menu > li:hover > .dropdown-menu {
    display: block !important;
    column-count: 2;
    column-gap: 10px;
  }
}

/* Voci interne */
.dropdown-menu a,
.dropdown-menu button.vp-sublink {
  display: block;
  width: 100%;
  text-align: left;
  padding: 5px;
  font-size: 13px;
  border-radius: 4px;
  color: #fff;
  background: transparent;
  text-decoration: none;
  break-inside: avoid;
}

.dropdown-menu a:hover,
.dropdown-menu button.vp-sublink:hover {
  background: rgba(255,255,255,0.1);
}

/* Pulsanti secondari (se presenti) */
.dropdown-menu button {
  border:none;
  cursor: pointer;
  padding: 0;
  color: white;
}

/* Divider */
.vp-divider {
  padding: 2px 6px;
  font-size: 10px;
  text-transform: uppercase;
  background: grey;
  color: #fff;
  margin-top: 10px;
  text-align: center;
}

/* Logout pill */
.vp-logout form { margin: 0; }
.vp-logout button {
  padding: 5px 15px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}
.vp-logout button:hover { background: rgba(255,255,255,.1); }

/* === MOBILE (menu fullscreen + accordion) === */
@media (max-width:900px) {
  .vp-toggle {
    display: block !important;
    position: fixed;
    right: 20px;
    top: 10px;
    z-index: 3000;
    background: transparent;
    border: 0;
  }

  body.menu-open .vp-toggle { display: none !important; }
  body.menu-open { overflow: hidden; }

  .vp-close {
    display: block !important;
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 4000;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 6px;
  }

  /* Overlay menu */
  .vp-menu {
    position: fixed !important;
    inset: 0;
    z-index: 2500;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 80px 20px 40px;
    background: #bd2dc7;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }

  .vp-menu.open {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity .25s ease, transform .25s ease, visibility 0s;
    justify-content: space-between;
  }

  /* Link principali */
  .vp-menu a,
  .vp-menu button.vp-link {
    width: 100%;
    background: transparent;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,.15);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    text-align: left;
    display: flex;
    justify-content: space-between;
  }

  .dropdown-menu.open a{
    border:none;
    border-radius:0px;
  }

  

  .vp-logout button {
    width: 100% !important;
    max-width: none !important;
    font-size: 14px;
  }

  /* === SUBMENU accordion === */
  .vp-menu .dropdown-menu {
    position: static !important;
    left: auto !important;
    transform: none !important;
    background: rgba(255,255,255,.1) !important;
    box-shadow: none !important;
    border-radius: 10px !important;
    padding:0px!important;
    border-left: 2px solid rgba(255,255,255,.25);
    min-width: auto !important;
    column-count: 1 !important;
    display: block !important;
    /*margin: 10px 0px 10px 0px;*/
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }

  .vp-menu .dropdown-menu.open {
    max-height: 1000px;
    margin: 10px 0;
  }
  .dropdown-menu.open {
    width:100%!important;
  }

  .dropdown-menu a,
  .dropdown-menu button.vp-sublink {
    font-size: 14px;
    padding: 15px;
    border-bottom: 0;
  }
}



/* Forza sempre versione "desktop" su web.vanigliapro.it */
body.vp-force-desktop-menu .vp-toggle,
body.vp-force-desktop-menu #vpClose {
    display: none !important;
}

/* Sotto i 900px, ignora il layout mobile e tieni quello desktop */
@media (max-width: 900px) {
    body.vp-force-desktop-menu .vp-menu {
        display: flex !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        height: auto !important;
        visibility: visible !important;
        flex-direction: row !important;
    }
      body.vp-force-desktop-menu .vp-menu.open{
        display: flex !important;
        background: none;
        padding:0px!important;
        align-items: center;
    }

    body.vp-force-desktop-menu .vp-menu li {
        display: inline-block !important;
    }
}