html, body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
  color: #222;
  min-height: 100vh;
}
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 2px;
}
main {
  max-width: 1600px;
  margin: 2.5rem auto;
  padding: 0 1.2rem;
  width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}
.product-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}
.product-card {
  min-width: 0;
  min-height: 520px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 12px 40px rgba(79,140,255,0.13), 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.18s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid #e6ecfa;
}
.product-card:hover {
  box-shadow: 0 12px 48px rgba(79,140,255,0.22), 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-6px) scale(1.035);
  border-color: #4f8cff;
}
.product-image {
  width: 100%;
  aspect-ratio: 1.4/1;
  min-height: 260px;
  max-height: 340px;
  object-fit: cover;
  background: #f0f4fa;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 2px 8px rgba(79,140,255,0.04);
  display: block;
}
.product-info {
  padding: 2.2rem 2rem 1.7rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  color: #222;
  min-height: 2.8em;
  letter-spacing: 0.5px;
}
.product-price {
  color: #ff4d4f;
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 1.1rem;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px #ffeaea;
}
.product-sales {
  color: #7b8ba3;
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}
.product-btn {
  margin-top: 1.5rem;
  background: linear-gradient(90deg, #4f8cff 0%, #6ed0ff 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 1.1rem 2.5rem;
  font-size: 1.22rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79,140,255,0.10);
  transition: background 0.18s, box-shadow 0.18s;
}
.product-btn:hover {
  background: linear-gradient(90deg, #6ed0ff 0%, #4f8cff 100%);
  box-shadow: 0 4px 16px rgba(79,140,255,0.18);
}
@media (max-width: 1600px) {
  main {
    max-width: 1200px;
  }
  .product-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
  }
}
@media (max-width: 1200px) {
  main {
    max-width: 900px;
  }
  .product-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .banner {
    /* padding-left: 1.2rem;
    padding-right: 1.2rem; */
  }
  .banner-cert-img {
    width: 300px;
    max-height: 190px;
    border-radius: 10px;
  }
}
@media (max-width: 900px) {
  main {
    max-width: 100vw;
    margin: 1.2rem 0;
    padding: 0 0.5rem;
  }
  .banner {
    height: 120px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    gap: 0.7rem;
    padding-left: 0.5rem;
  }
  .banner-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }
  .main-title {
    font-size: 1.2rem;
  }
  .sub-title {
    font-size: 0.9rem;
  }
  .product-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .product-card {
    min-height: 220px;
    max-width: 100vw;
    border-radius: 10px;
  }
  .product-image {
    min-height: 70px;
    max-height: 90px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .product-info {
    padding: 0.7rem 0.3rem 0.5rem 0.3rem;
  }
  .banner-cert-img {
    width: 300px;
    max-height: 180px;
    border-radius: 6px;
  }
}
@media (max-width: 600px) {
  .banner {
    height: 90px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    gap: 0.5rem;
  }
  .banner-logo {
    width: 38px;
    height: 38px;
    border-radius: 6px;
  }
  .main-title {
    font-size: 1.1rem;
  }
  .sub-title {
    font-size: 0.85rem;
  }
  .product-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .product-card {
    min-height: 220px;
    max-width: 100vw;
    border-radius: 10px;
  }
  .product-image {
    min-height: 70px;
    max-height: 90px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .product-info {
    padding: 0.7rem 0.3rem 0.5rem 0.3rem;
  }
}
/* 详情页样式 */
.detail-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.5rem;
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.detail-image {
  width: 100%;
  max-width: 340px;
  max-height: 260px;
  border-radius: 14px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  background: #f0f4fa;
  box-shadow: 0 2px 8px rgba(79,140,255,0.04);
  display: block;
}
.detail-info {
  width: 100%;
  text-align: left;
  margin-bottom: 1.2rem;
}
.detail-name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.detail-price {
  color: #e02e24;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.detail-sales, .detail-spec, .detail-sccj, .detail-yxq, .detail-keywords {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.detail-content {
  width: 100%;
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  background: #fafafa;
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
}
.detail-content img {
  max-width: 100%;
  max-height: 320px;
  display: block;
  margin: 0.5rem auto;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(79,140,255,0.06);
}
@media (max-width: 900px) {
  .detail-image {
    max-width: 90vw;
    max-height: 180px;
  }
  .detail-content img {
    max-height: 180px;
  }
}
@media (max-width: 600px) {
  .detail-card {
    padding: 0.7rem;
    margin: 1rem 0;
    border-radius: 8px;
  }
  .detail-image {
    max-width: 100vw;
    max-height: 120px;
    border-radius: 6px;
  }
  .detail-content {
    padding: 0.7rem;
    border-radius: 6px;
  }
  .detail-content img {
    max-height: 120px;
    border-radius: 6px;
  }
}
/* Banner样式加强 */
.banner {
  position: relative;

  height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2.5rem;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: 0 8px 32px rgba(79,140,255,0.10);
  background: linear-gradient(120deg, #4f8cff 0%, #6ed0ff 60%, #b8e0ff 100%);
  flex-direction: row;
  gap: 3.5rem;
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}
.banner-logo-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 0;
}
.banner-logo {
  width: 160px;
  height: 160px;
  border-radius: 36px;
  box-shadow: 0 8px 32px rgba(79,140,255,0.18);
  background: #fff;
  object-fit: contain;
  border: 5px solid #fff;
  display: block;
}
.banner-title-group {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.banner-cert {
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 100%;
}
.banner-cert-img {
  width: 300px;
  height: auto;
  max-height: 180px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(79,140,255,0.13);
  background: #fff;
  object-fit: contain;
  border: 3px solid #fff;
  display: block;
}
/* 移除图片和遮罩样式 */
.banner-img, .banner-overlay { display: none !important; }
.main-title {
  font-size: 2.8rem;
  color: #fff;
  font-weight: 900;
  letter-spacing: 3px;
  margin: 0 0 0.7rem 0;
  text-shadow: 0 6px 32px rgba(79,140,255,0.22), 0 2px 8px rgba(0,0,0,0.12);
}
.sub-title {
  font-size: 1.35rem;
  color: #e6f7ff;
  letter-spacing: 2px;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(79,140,255,0.12);
}
/* 移除搜索相关样式 */
.search-bar-wrap, .search-bar, .search-btn { display: none !important; } 
.footer-content {
  display: flex;
  justify-content: center;
}
.cert-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-modal-mask {
  position: absolute;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.cert-modal-img {
  position: relative;
  z-index: 2;
  max-width: 380px;
  max-height: 180px;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  background: #fff;
  object-fit: contain;
  display: block;
  animation: certZoomIn 0.18s cubic-bezier(.4,1.4,.6,1) 1;
}
@keyframes certZoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}