/* Layer 2/3 mobile (C.1): header/ricerca legacy ≤900px; sovrascritto da pana-mobile-experience.css su .pana-mobile-xp */
body.pana-theme .logo .logo-name {
  display: block;
  white-space: nowrap;
}
body.pana-theme .logo .logo-tagline,
body.pana-theme .logo small.logo-tagline {
  white-space: nowrap;
}
body.pana-theme .nav-label--short {
  display: none;
}
body.pana-theme .mobile-search-toggle,
body.pana-theme .mobile-toggle {
  display: none !important;
}
@media (max-width: 900px) {
  body.pana-theme .header-inner > .pana-search-wrap:not(.pana-search-wrap--mobile) {
    display: none !important;
  }
  body.pana-theme .header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px;
    padding-bottom: 8px !important;
  }
  body.pana-theme .logo .logo-name {
    font-size: clamp(15px, 4.1vw, 18px);
  }
  body.pana-theme .pana-header-search-row {
    display: block !important;
    padding: 0 12px 10px;
    border-bottom: 1px solid var(--border, #dde3e8);
    background: #fff;
  }
  body.pana-theme form.search-mobile--bar {
    display: flex !important;
    width: 100%;
    margin: 0;
    border: 1px solid var(--border, #dde3e8);
    border-radius: var(--radius, 8px);
    overflow: hidden;
    position: static;
    box-shadow: none;
    top: auto;
    z-index: auto;
  }
  body.pana-theme form.search-mobile--bar input[type="search"] {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    padding: 10px 12px;
    border: 0;
  }
  body.pana-theme form.search-mobile--bar button[type="submit"] {
    flex: 0 0 auto;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    background: var(--primary, #1565c0) !important;
    color: #fff !important;
    border: 0 !important;
  }
  body.pana-theme:not(.pana-mobile-xp) #pana-nav.nav,
  body.pana-theme:not(.pana-mobile-xp) .nav {
    display: block !important;
  }
  body.pana-theme:not(.pana-mobile-xp) #pana-nav .nav-inner,
  body.pana-theme:not(.pana-mobile-xp) .nav .nav-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    overflow-x: hidden !important;
    gap: 0 !important;
    padding: 0 6px !important;
    width: 100%;
    box-sizing: border-box;
  }
  body.pana-theme:not(.pana-mobile-xp) #pana-nav a,
  body.pana-theme:not(.pana-mobile-xp) .nav a {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    padding: 8px 1px !important;
    font-size: 10px !important;
    letter-spacing: -0.02em;
    border-bottom: 2px solid transparent;
  }
  body.pana-theme:not(.pana-mobile-xp) .nav-label--long {
    display: none;
  }
  body.pana-theme:not(.pana-mobile-xp) .nav-label--short {
    display: inline;
  }
  body.pana-theme .pana-shop-sidebar-wrap .shop-mobile-bar {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    margin: 0 -16px 12px;
  }
  body.pana-theme .shop-mobile-bar > * {
    grid-column: auto !important;
    width: auto !important;
  }
  body.pana-theme .shop-mobile-bar .shop-bar-btn {
    font-size: 10px !important;
    padding: 8px 3px !important;
    line-height: 1.1;
    text-align: center;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 1px !important;
  }
}
