body {
  background-color: #f5f5f5;
}

/* ✅ 通用版心容器 */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* coordinates筛选滑块 */

.filter-bar {
  display: flex;
  justify-content: space-between; /* ✅ 左右分散对齐 */
  flex-wrap: wrap;                /* 支持小屏换行 */
  gap: 20px;                      /* 滤镜之间的间距 */
  margin: 0 auto;
  max-width: 1200px;
}


.filter-bar>div {
  display: inline-block;
  font-size: 16px;
}


.range-wrapper {
  position: relative;
  width: 350px;
  height: 36px;
  margin-top: 12px;
}

.range-wrapper input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  width: 100%;
  height: 6px;
  background: transparent;
  pointer-events: none;
}


/* 轨道样式 */
#range-min::-webkit-slider-runnable-track {
  height: 6px;
  background: rgb(204, 204, 204);
  border-radius: 3px;
}
#range-max::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}



/* 滑块样式 */
.range-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 10px;
  height: 10px;
  background: rgb(180,180,180);
  border-radius: 50%;
  /* box-shadow: 0 0 10px rgba(0,0,0,0.5); */
  margin-top: -2px; /* 使滑块垂直居中 */
  cursor: pointer;
}



.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: left;
}

.product-card {
  flex: 1 1 280px;
  max-width: 370.66px;
  min-width: 280px;
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* ✅ 产品图片 */
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ✅ 产品标题 */
.product-name {
  font-size: 20px;
  margin: 16px 14px 14px;
  color: #222;
}

