/* Mobile/desktop navigation menu (L3-menu.hbs partial).
   Extracted from an inline <style> that rendered inside <body>. */
  /* DESKTOP: shoei-europe.com style (measured 2026-10-19) - logo + icons on top, below
     it a row of tabs on a 1px black line; the hovered and the current section's tab is
     dark (#333) with white text and rounded top corners; the dropdown opens on hover */
  @media (min-width: 992px) {
    nav.navbar {
      background: #fff !important;
      border-bottom: 0 !important;
      padding: 0;
    }

    nav.navbar > .container-fluid {
      flex-wrap: wrap;
      padding: 0;
    }

    /* row 1: the logo (the icons are absolute, top right) */
    nav.navbar .navbar-brand.d-lg-block {
      flex: 0 0 100%;
      margin: 0;
      padding: 18px 0 14px;
    }

    nav.navbar .navbar-brand img {
      width: auto;
      height: 40px;
    }

    .menuicons {
      top: 18px;
      right: 0;
    }

    .menuicon {
      display: inline-block;
      margin: 0 0 0 8px;
      padding: 4px 8px;
      border: 1px solid #dadae5;
      border-radius: 3px;
    }

    .menuicon img {
      width: 24px;
      height: 24px;
    }

    /* row 2: the tabs */
    #desktopNav {
      flex: 0 0 100%;
      border-bottom: 1px solid #000;
    }

    .shoei-nav .nav-link {
      font-family: "Open Sans", Verdana, sans-serif;
      font-size: 16px;
      font-weight: 500;
      color: #555;
      padding: 8px 14px !important;
      border-radius: 3px 3px 0 0;
      white-space: nowrap;
    }

    .shoei-nav > .nav-item {
      margin-right: 2px;
    }

    .shoei-nav > .nav-item:hover > .nav-link,
    .shoei-nav > .nav-item.active > .nav-link {
      background: #333;
      color: #fff;
    }

    .shoei-nav > .nav-item.active > .nav-link {
      font-weight: 700;
    }

    /* the dropdown: under its tab, opens on hover, white box */
    .mega-dropdown {
      position: relative;
    }

    .mega-dropdown:hover > .dropdown-menu {
      display: block;
    }

    .mega-dropdown .dropdown-menu {
      left: 0;
      top: 100%;
      margin-top: 0;
      min-width: 260px;
      width: max-content;
      max-width: 900px;
      border: 1px solid #ddd;
      border-radius: 0 0 3px 3px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
      font-family: "Open Sans", Verdana, sans-serif;
    }

    .mega-dropdown .dropdown-menu .col {
      min-width: 200px;
    }

    .mega-dropdown .dropdown-menu h6,
    .mega-dropdown .dropdown-menu h6 a {
      font-size: 14px;
      font-weight: 700;
      color: #333;
      text-decoration: none;
    }

    .mega-dropdown .dropdown-menu .dropdown-item {
      font-size: 13px;
      color: #555;
      padding: 3px 0;
    }

    .mega-dropdown .dropdown-menu .dropdown-item:hover,
    .mega-dropdown .dropdown-menu h6 a:hover {
      background: none;
      color: #000;
      text-decoration: underline;
    }
  }

  /* MOBILE – navbar height + layout */
  @media (max-width: 991.98px) {
    .navbar {
      min-height: 56px;
      /* make band higher */
    }

    .navbar-brand.mobile-center {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }

    .navbar-toggler.mobile-left {
      position: absolute;
      left: 0.75rem;
      top: 50%;
      transform: translateY(-50%);
      margin: 0;
      /* avoid extra vertical offset */
    }
  }

  .navbar-brand img {
    width: 160px;
  }

  /* MOBILE sliding menu inside offcanvas */
  .mobile-menu-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .mobile-menu-levels {
    display: flex;
    width: 300%;
    /* 3 panels */
    transition: transform 0.3s ease;
  }

  .mobile-menu-panel {
    width: 100%;
    flex: 0 0 100%;
  }

  .mobile-menu-header {
    font-weight: 600;
    margin-bottom: .75rem;
  }

  .btn-menu-link {
    border: 0;
    background: none;
    padding: .5rem 0;
    width: 100%;
    text-align: left;
  }

  .btn-menu-link:focus {
    outline: none;
  }

  .mobile-menu-back {
    margin-bottom: .5rem;
    padding-left: 0;
  }

  .menuicon {
    margin: 0 10px;
  }

  .menuicon img {
    width: 30px;
    height: 30px;
  }

  .menuicons {
    position: absolute;
    right: 20px;
    /*top: 0px;*/
  }
