.menu-mobile-only { display: none; }

@media (max-width: 900px) {
  .header .menu-button {
    display: grid !important;
    width: 56px !important;
    height: 52px !important;
    padding: 4px 6px 5px !important;
    place-items: center !important;
    align-content: center !important;
    gap: 0 !important;
    border: 1px solid #d9cfed !important;
    border-radius: 15px !important;
    background: linear-gradient(180deg,#fff,#f5f0ff) !important;
    color: #421491 !important;
    box-shadow: 0 4px 12px rgba(48,20,110,.13) !important;
  }
  .header .menu-button-icon {
    font-size: 24px !important;
    line-height: 22px !important;
  }
  .header .menu-button-label {
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
  }
  .header .menu-button[aria-expanded="true"] {
    background: #4d1ba7 !important;
    color: #fff !important;
  }
  .header #menu.menu.open {
    position: fixed !important;
    top: 78px !important;
    right: 10px !important;
    left: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
    width: min(390px,calc(100vw - 20px)) !important;
    max-height: calc(100dvh - 88px) !important;
    margin: 0 !important;
    padding: 14px !important;
    overflow-y: auto !important;
    border: 1px solid #ddd3f2 !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg,#fff 0%,#f7f2ff 100%) !important;
    box-shadow: 0 22px 60px rgba(31,15,76,.28) !important;
  }
  .header #menu.menu.open::before {
    content: "Explorer Devoirio" !important;
    grid-column: 1/-1 !important;
    margin: 0 0 2px !important;
    padding: 2px 2px 10px !important;
    border-bottom: 1px solid #e6def5 !important;
    color: #281060 !important;
    font: 700 21px/1.1 "Fredoka","Trebuchet MS",sans-serif !important;
  }
  .header #menu .menu-mobile-only { display: flex; }
  .header #menu .menu-section-label {
    grid-column: 1/-1 !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 6px !important;
    color: #6b4aa7 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .8px !important;
    text-transform: uppercase !important;
  }
  .header #menu .menu-section-label::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #ded3f1;
  }
  .header #menu a,
  .header #menu a:nth-child(even),
  .header #menu a.active {
    display: flex !important;
    min-width: 0 !important;
    min-height: 49px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    padding: 9px 10px !important;
    border: 1px solid #e0d7f2 !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: #321172 !important;
    font: 700 14px/1.15 "Trebuchet MS",Arial,sans-serif !important;
    box-shadow: 0 3px 8px rgba(57,26,121,.07) !important;
  }
  .header #menu a span {
    display: grid !important;
    width: 29px !important;
    height: 29px !important;
    flex: 0 0 29px !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #eee7ff !important;
    color: #4a18a2 !important;
    font-size: 16px !important;
    filter: none !important;
  }
  .header #menu a.menu-featured {
    grid-column: 1/-1 !important;
    border-color: #e1ae00 !important;
    background: #ffd83d !important;
    color: #30106e !important;
    font-size: 15px !important;
    box-shadow: 0 4px 0 #c99700 !important;
  }
  .header #menu a.menu-featured span {
    background: #fff6bf !important;
  }
  .header #menu a.active::after { display: none !important; }
  .header #menu .menu-parent-access {
    grid-column: 1/-1 !important;
    order: initial !important;
    margin: 0 !important;
  }
  .header #menu .menu-account,
  .header #menu .clerk-mobile-account {
    grid-column: 1/-1 !important;
    order: initial !important;
  }
}
