/* A visible, compact account section list replaces the mobile tile grid. */
body.storefront.account-page .account-mobile-list-title {
  display: none;
}

@media (max-width: 600px) {
  body.storefront.account-page.account-is-authenticated .account-sidebar {
    padding-bottom: 19px;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 10px;
    overflow: visible;
    border: 1px solid #d9e3ed;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 14px 30px #172d490d;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav .account-mobile-list-title {
    display: block;
    grid-column: 1;
    padding: 6px 11px 10px;
    color: #8b9caf;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav .account-nav-group {
    display: none;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a,
  body.storefront.account-page.account-is-authenticated .account-workspace-nav a:nth-of-type(n+4) {
    grid-column: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    min-width: 0;
    min-height: 49px;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #364e68;
    text-align: left;
    white-space: normal;
    box-shadow: none;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a:nth-of-type(3),
  body.storefront.account-page.account-is-authenticated .account-workspace-nav a:nth-of-type(5) {
    margin-top: 5px;
    border-top-color: #edf1f5;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a:hover {
    transform: none;
    background: #f5f8fb;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a[aria-current="page"] {
    border-color: #f0d4dd;
    border-radius: 10px;
    background: #fff2f5;
    color: #bd1238;
    box-shadow: none;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a[aria-current="page"]::before {
    top: 10px;
    bottom: 10px;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav .account-nav-symbol,
  body.storefront.account-page.account-is-authenticated .account-workspace-nav a[aria-current="page"] .account-nav-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: #f0f4f8;
    color: #60768d;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a[aria-current="page"] .account-nav-symbol {
    background: #fce4ea;
    color: #c81038;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav .account-nav-symbol svg {
    width: 19px;
    height: 19px;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a span:nth-child(2),
  body.storefront.account-page.account-is-authenticated .account-workspace-nav a[data-account-view="balance"] > span:nth-child(2) {
    display: block;
    min-width: 0;
    overflow: visible;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a[data-account-view="balance"] > span:nth-child(2)::after {
    content: none;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a small {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-left: auto;
    padding: 0 5px;
    border-radius: 7px;
    background: #e9eff5;
    color: #61768d;
    font-size: 10px;
  }

  body.storefront.account-page.account-is-authenticated .account-workspace-nav a:focus-visible {
    outline: 3px solid #e95c78;
    outline-offset: 2px;
  }
}
