
/* GAPEMA MOBILE MENU V2 */
.gm-mobile-toggle {
  display: none;
}

@media screen and (max-width: 800px) {

  #gm-site-header .gm-header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  #gm-site-header .gm-brand,
  .topbar .gm-brand {
    margin-right: auto !important;
    max-width: calc(100% - 60px) !important;
  }

  .gm-mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    border: 1px solid #24483d !important;
    border-radius: 10px !important;
    background: #fffdf9 !important;
    color: #24483d !important;
    font-size: 25px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  #gm-site-header .gm-site-nav,
  .shell .gapema-app-nav {
    display: none !important;
  }

  #gm-site-header.gm-menu-open .gm-site-nav,
  .shell.gm-menu-open .gapema-app-nav {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 8px 0 !important;
    background: #fffdf9 !important;
  }

  #gm-site-header .gm-site-nav {
    order: 20 !important;
    flex: 0 0 100% !important;
  }

  #gm-site-header .gm-site-nav a,
  .shell .gapema-app-nav a {
    padding: 13px 16px !important;
    border-bottom: 1px solid #e7e2d8 !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  #gm-site-header .gm-site-actions {
    display: none !important;
  }

  #gm-site-header.gm-menu-open .gm-site-actions {
    display: flex !important;
    order: 21 !important;
    flex: 0 0 100% !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 12px 0 !important;
  }

  .topbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .topbar .user-menu,
  .topbar .topbar-actions {
    display: none !important;
  }

  .shell.gm-menu-open .topbar .user-menu,
  .shell.gm-menu-open .topbar .topbar-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    order: 20 !important;
    width: 100% !important;
    gap: 8px !important;
  }
}
