/* Mobile categories stay visible in a single swipeable row. */
@media (max-width: 991px) {
  #ft-storefront-home .store-layout {
    display: block;
    min-width: 0;
  }
  #ft-storefront-home .mobile-category-toggle {
    display: none;
  }
  #ft-storefront-home .sidebar,
  #ft-storefront-home .sidebar.sidebar-open {
    display: block;
    position: static;
    width: 100%;
    min-width: 0;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  #ft-storefront-home .sidebar .support-card,
  #ft-storefront-home .sidebar-caption,
  #ft-storefront-home .sidebar-divider,
  #ft-storefront-home .sidebar-order {
    display: none;
  }
  #ft-storefront-home .category-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #ft-storefront-home .category-nav::-webkit-scrollbar {
    display: none;
  }
  #ft-storefront-home .category-button,
  #ft-storefront-home .category-button.category-child {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-height: 42px;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #dfe9e3;
    border-radius: 10px;
    background: #fff;
    font-size: 12px;
    white-space: nowrap;
  }
  #ft-storefront-home .category-button > span {
    white-space: nowrap;
    overflow-wrap: normal;
  }
  #ft-storefront-home .category-button.active {
    border-color: #9ad6c1;
    background: #eaf7f1;
    color: #007c60;
  }
  #ft-storefront-home .category-button.active::before {
    display: none;
  }
  #ft-storefront-home .category-button .brand-mark,
  #ft-storefront-home .category-button > svg {
    width: 20px;
    height: 20px;
    flex: none;
  }
  #ft-storefront-home .category-count {
    display: none;
  }
}
