body {
  background-color: #f5f5f5;
}

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



/* 产品卡片 */


/* ✅ 产品网格布局：响应式处理 */
.product-grid {
  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;
}


/* 翻页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination a {
  display: inline-block;
  padding: 8px 14px;
  background-color: #f2f2f2;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
  background-color: #007BFF;
  color: #fff;
}

.pagination .active {
  background-color: #007BFF;
  color: #fff;
  font-weight: bold;
  pointer-events: none;
}


/* 页脚 */
/* 页脚基础样式 */
.site-footer {
  background-color: #222;
  color: #ccc;
  padding: 40px 20px;
  font-size: 14px;
}

/* 容器最大宽度 + 居中 */
.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
}

/* 三个主区域 */
.footer-column {
  flex: 1;
  padding: 0 20px;
  position: relative;
}

/* 美观分隔线 */
.footer-column:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #444, transparent);
}

/* 中间区域分成三份 */
.footer-center {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-subcolumn {
  flex: 1;
  text-align: center;
}

/* 右侧区域靠右对齐 */
.footer-container .footer-column:last-child {
  text-align: right;
}
