/*
 * Immutable mobile filter geometry patch.
 * The first list item owns the row label and stays fixed while options scroll.
 */
@media (max-width: 767px) {
  .xiazai-pantexcn-mobile-site-theme [data-mobile-filter-panel="compact"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .xiazai-pantexcn-mobile-site-theme ul[data-mobile-filter-row="compact"][data-mobile-filter-options-inline="true"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    column-gap: 8px !important;
    min-width: 0;
    min-height: 46px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .xiazai-pantexcn-mobile-site-theme ul[data-mobile-filter-options-inline="true"]::-webkit-scrollbar {
    display: none;
  }

  .xiazai-pantexcn-mobile-site-theme ul[data-mobile-filter-options-inline="true"] > li:first-child {
    position: sticky !important;
    left: 0;
    z-index: 4;
    display: inline-flex !important;
    align-self: stretch;
    align-items: center;
    flex: 0 0 62px !important;
    width: 62px !important;
    min-width: 62px !important;
    margin: 0 !important;
    padding-right: 8px;
    background: #fff !important;
    box-shadow: 8px 0 0 #fff;
  }

  .xiazai-pantexcn-mobile-site-theme ul[data-mobile-filter-options-inline="true"] > li:not(:first-child) {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
}
