/* Shared horizontally scrollable tab rows for mobile Custom HTML pages. */

@media (max-width: 992px) {
  .syz-product-category-page .model-filter-row,
  .syz-team-page.syz-page-team .team-filter-container,
  .syz-blog-page .tag-filter-list,
  .syz-landing-page .filter-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 0 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .syz-blog-page .tag-filter-list {
    flex: 1 1 100% !important;
  }

  .syz-blog-page .tag-filter-list li {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  .syz-product-category-page .model-filter-row::-webkit-scrollbar,
  .syz-team-page.syz-page-team .team-filter-container::-webkit-scrollbar,
  .syz-blog-page .tag-filter-list::-webkit-scrollbar,
  .syz-landing-page .filter-bar::-webkit-scrollbar {
    height: 3px;
  }

  .syz-product-category-page .model-filter-row::-webkit-scrollbar-track,
  .syz-team-page.syz-page-team .team-filter-container::-webkit-scrollbar-track,
  .syz-blog-page .tag-filter-list::-webkit-scrollbar-track,
  .syz-landing-page .filter-bar::-webkit-scrollbar-track {
    background: transparent;
  }

  .syz-product-category-page .model-filter-row::-webkit-scrollbar-thumb,
  .syz-team-page.syz-page-team .team-filter-container::-webkit-scrollbar-thumb,
  .syz-blog-page .tag-filter-list::-webkit-scrollbar-thumb,
  .syz-landing-page .filter-bar::-webkit-scrollbar-thumb {
    background: var(--primary-red, #B2322E);
    border-radius: 999px;
  }

  .syz-product-category-page .model-filter,
  .syz-team-page.syz-page-team .team-filter-container .filter-btn,
  .syz-blog-page .tag-filter-btn,
  .syz-landing-page .filter-btn {
    flex: 0 0 clamp(126px, 28vw, 172px) !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
    border-radius: 999px !important;
    scroll-snap-align: start;
    box-shadow: none !important;
    transform: none !important;
  }

  .syz-product-category-page .model-filter:hover,
  .syz-product-category-page .model-filter:focus-visible,
  .syz-team-page.syz-page-team .team-filter-container .filter-btn:hover,
  .syz-team-page.syz-page-team .team-filter-container .filter-btn:focus-visible,
  .syz-blog-page .tag-filter-btn:hover,
  .syz-blog-page .tag-filter-btn:focus-visible,
  .syz-landing-page .filter-btn:hover,
  .syz-landing-page .filter-btn:focus-visible {
    transform: none !important;
    box-shadow: none !important;
  }
}

@media (max-width: 520px) {
  .syz-product-category-page .model-filter,
  .syz-team-page.syz-page-team .team-filter-container .filter-btn,
  .syz-blog-page .tag-filter-btn,
  .syz-landing-page .filter-btn {
    flex-basis: clamp(116px, 31vw, 148px) !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: .76rem !important;
  }
}
