/* Apple90 V14 — restore the customer sidebar on the desktop storefront */
@media (min-width: 768px) {
  .store-page-shell {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 100vh;
    width: 100%;
  }
  .store-page-shell > #userSidebar {
    display: flex !important;
    flex: 0 0 258px !important;
    width: 258px !important;
    min-width: 258px !important;
    max-width: 258px !important;
    position: sticky !important;
    top: 0;
    align-self: flex-start !important;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 30;
  }
  .store-page-shell > main {
    display: block !important;
    flex: 1 1 0% !important;
    width: calc(100% - 258px) !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
  }
  body.user-sidebar-collapsed .store-page-shell > #userSidebar {
    flex-basis: 78px !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
  }
  body.user-sidebar-collapsed .store-page-shell > main {
    width: calc(100% - 78px) !important;
  }
}
@media (max-width: 767px) {
  /* Keep the existing mobile navigation behavior; the desktop rail must not
     create horizontal overflow on narrow screens. */
  .store-page-shell > #userSidebar {
    display: none !important;
  }
  .store-page-shell > main {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}
