* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Microsoft YaHei;
}
body {
  background: #f5f7fa;
  color: #333;
  line-height: 1.7;
}
a {
  text-decoration: none;
  color: inherit;
}
.text-center {
  text-align: center;
}
.mb-15 {
  margin-bottom: 15px;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #2d4a3d;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky; /* 吸顶导航 */
  top: 0;
  z-index: 999;
}
.logo {
  font-size: 22px;
  font-weight: bold;
}
.nav a {
  color: #fff;
  margin: 0 14px;
  text-decoration: none;
}
.nav a.on {
  color: #ffc107;
}
.banner {
  background: #436e59;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.banner h1 {
  font-size: 30px;
  margin-bottom: 10px;
}
.banner p {
  font-size: 16px;
  margin-bottom: 20px;
}
.btn {
  display: inline-block;
  background: #ffc107;
  color: #333;
  padding: 10px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #ffb300;
}
.title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a202c;
  position: relative;
  margin-top: 4rem;
}
.title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #436e59;
  margin: 10px auto 0;
  border-radius: 2px;
}
.box {
  max-width: 1200px;
  margin: 0 auto 20px;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.goods-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 0 15px;
}
.goods-list .item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.goods-list .item:hover {
  transform: translateY(-5px);
}
.goods-list img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-bottom: 1px solid #f0f0f0;
}
.goods-list h3 {
  font-size: 15px;
  margin: 8px 0;
  color: #333;
}
/* 新增商家样式 */
.goods-list .supplier {
  font-size: 12px;
  color: #666;
  margin: 5px 0;
  padding: 0 8px;
  line-height: 1.4;
}
/* 价格样式优化 */
.goods-list .price {
  font-size: 16px;
  color: #e63946;
  font-weight: bold;
  margin-top: 8px;
}
.footer {
  background: #2d4a3d;
  color: #ccc;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
  font-size: 14px;
  line-height: 1.9;
}
.page {
  max-width: 1000px;
  margin: 20px auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
}
.page h1 {
  font-size: 22px;
  margin-bottom: 15px;
  border-left: 4px solid #436e59;
  padding-left: 10px;
}
.page p {
  margin-bottom: 10px;
}
.page li {
  margin-left: 20px;
  margin-bottom: 6px;
}

/* 页面内容区优化 */
.page-content {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 3rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.page-content h1 {
  font-size: 2.2rem;
  color: #1a202c;
  margin-bottom: 2rem;
  border-bottom: 3px solid #436e59;
  padding-bottom: 1rem;
}
.page-content h2 {
  font-size: 1.6rem;
  color: #2d3748;
  margin: 2rem 0 1.2rem;
  position: relative;
  padding-left: 1rem;
}
.page-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.5rem;
  background: #436e59;
  border-radius: 2px;
}
.page-content p,
.page-content li {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.page-content ol,
.page-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}
.page-content li {
  position: relative;
  padding-left: 0.8rem;
  /* list-style: none; */
}

/* 内容区块优化 */
.intro,
.features {
  padding: 4rem 0;
  max-width: 1200px;
  margin: 0 auto;
}
.intro h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a202c;
  position: relative;
}
.intro h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #436e59;
  margin: 1rem auto 0;
  border-radius: 2px;
}
.intro p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  color: #4a5568;
}

/* 功能模块优化 */
.features {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap; /* 响应式换行 */
}
.feature-item {
  flex: 1;
  min-width: 280px; /* 最小宽度，适配移动端 */
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid #436e59;
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: #1a202c;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.feature-item h3::before {
  content: "✓";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #436e59;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 0.8rem;
}
.feature-item p {
  color: #4a5568;
  line-height: 1.7;
}

/* 响应式适配 */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem 5%;
    gap: 1rem;
  }
  nav a {
    margin-left: 1rem;
    font-size: 0.9rem;
  }
  .banner h1 {
    font-size: 2rem;
  }
  .banner p {
    font-size: 1rem;
  }
  .features {
    gap: 1.5rem;
  }
  .page-content {
    padding: 2rem 1.5rem;
  }
  .page-content h1 {
    font-size: 1.8rem;
  }
  .page-content h2 {
    font-size: 1.4rem;
  }
}
