.bg-img {
  width: 100%;
  height: 510px;
  background-repeat: no-repeat;
  background-position: center;
}

.filter-container {
  margin: 20px auto 0;
  background: #fff;
  padding: 20px 0 10px;
  border-bottom: 1px solid #e9e9e9;
  display: block;
  position: relative;
}

.category-filter {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 0 65px 0 15px;
  min-height: 40px;
  max-height: 210px;
  overflow-y: auto;
}

.filter-items {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
  transition: max-height 0.3s ease;
  overflow: hidden;
  max-height: none;
}

.filter-items.collapsed {
  max-height: 35px;
  overflow: hidden;
  position: relative;
}

.filter-items.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
}

.filter-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px 12px 8px 8px;
  color: #666;
  font-size: 13px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: absolute;
  right: 0px;
  top: 20px;
  z-index: 10;
}

.filter-toggle:hover {
  border-color: #ff6b35;
  color: #ff6b35;
}

.filter-toggle.collapsed .toggle-icon {
  transform: rotate(180deg);
}

.toggle-icon {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.filter-item {
  padding: 6px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 20px;
  text-decoration: none;
  display: inline-block;
}

.filter-item:hover {
  border-color: #ff6b35;
  color: #ff6b35;
  text-decoration: none;
}

.filter-item.active {
  background: #ff6b35;
  border-color: #ff6b35;
  color: #fff;
}

.filter-item.all-category {
  background: #f5f5f5;
  border-color: #d0d0d0;
  color: #333;
  font-weight: 500;
}

.filter-item.all-category.active {
  background: #ff6b35;
  border-color: #ff6b35;
  color: #fff;
}

.goodsBox {
  background: #fff;
  height: 395px;
}

.goodsList {
  padding-bottom: 200px;
}
.goodsBox {border: 1px solid #fff;}
.goodsList li:hover .goodsBox {
  /* box-sizing: border-box; */
  border: #e9e9e9 solid 1px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,0.05);
  -moz-box-shadow: 0 0 2px 2px rgba(0,0,0,0.05);
  box-shadow: 0 0 2px 2px rgba(0,0,0,0.05);
  transition: 0.3s;
}

