
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

  .my-filter-wrapper {
    font-family: 'Poppins', sans-serif;
    margin: 40px 0 30px;
    margin-left: 320px; /* 默认电脑端左对齐 */
  }

  .my-filter-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
  }

  .my-filter-bar {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .my-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .f-btn {
    background: #f6f6f6;
    border: none;
    color: #555;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    white-space: nowrap;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    flex-shrink: 0;
  }

  .f-btn:hover:not(.active) {
    color: #000;
    background-color: #eae41c;
    font-weight: 700;
  }

  .f-btn.active {
    background-color: #000 !important;
    color: #eae41c !important;
    font-weight: 700 !important;
    box-shadow: none;
  }

  /* ✅ 平板和电脑端：不横滑 + 左对齐 */
  @media (min-width: 768px) {
    .my-filter-bar {
      overflow-x: visible;
      flex-wrap: wrap;
    }
  }

  /* ✅ 手机端：取消左对齐，增加左右留白 */
  @media (max-width: 767px) {
    .my-filter-wrapper {
      margin-left: 0;
      padding: 0 16px;
    }
  }
