/* 产品中心 + 产品详情页样式 */

/* ===== 产品中心 ===== */
.products {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 12px;
}

.products-series {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
}

.series-item {
  padding: 8px 20px;
  border-radius: 20px;
  background: #f5f5f5;
  color: var(--muted);
  font-weight: 500;
  transition: all 0.2s;
}

.series-item.active,
.series-item:hover {
  background: var(--cta);
  color: #fff;
}

.products-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.product-row {
  width: 100%; /* 占据页面 60% */
  display: block;
}

.product-row img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  /* 移除阴影 */
  box-shadow: none;
}

.products-empty {
  padding: 40px;
  color: var(--muted);
  text-align: center;
}

/* 分页（与新闻中心一致） */
.news-pagination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.news-pagination a,
.news-pagination span {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #cfd6df;
  color: #2a3440;
  text-decoration: none;
  font-size: 14px;
  background: #fff;
}

.news-pagination .is-current {
  border-color: #1678f0;
  color: #1678f0;
  font-weight: 700;
}

/* ===== 产品详情 ===== */
.product-detail {
  padding: 40px 0;
  background: #f9f9f9;
}

.detail-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.detail-container img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .product-row {
    width: 90%;
  }
}
