/* 产品列表网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* 产品卡片 */
.product-card {
  background: #fff;
  overflow: hidden;
  display: inline-block;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

/* 产品头部 */
.product-header {
  padding: 25px 20px 20px;
  text-align: center;
  background: #fff;
  transition: all 0.3s ease;
}

.product-title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.product-subtitle {
  font-size: 16px;
  color: #999;
  line-height: 1.6;
  margin: 0;
}

/* 产品图片 */
.product-image {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

/* 查看更多按钮 */
.product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 165px;
  padding: 12px 20px;
  margin-bottom: 28px;
  background: #e8e8e8;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 25px;
}

.product-card:hover .product-btn {
  background: #004E8C;
  color: #fff;
}

.product-btn .btn-icon {
  width: 19px;
  height: 19px;
  margin-left: 14px;
  transition: all 0.3s ease;
  background: url(../images/more1h.png) no-repeat center center;
  background-size: cover;
}

.product-card:hover .product-btn .btn-icon {
  background: url(../images/more1.png) no-repeat center center;
  
}
/* 下载图标样式 */
.product-btn .btn-download-icon {
  width: 19px;
  height: 19px;
  margin-right: 4px;
  transition: all 0.3s ease;
  background: url(../images/downnn.png) no-repeat center center;
  background-size: contain;
}

.product-card:hover .product-btn .btn-download-icon {
  background: url(../images/downnnh.png) no-repeat center center;
  background-size: contain;
}

/* 平板响应式 */
@media screen and (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .product-header {
    padding: 20px 18px 18px;
  }

  .product-title {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .product-subtitle {
    font-size: 12px;
  }

  .product-image {
    height: 180px;
    padding: 18px;
  }

  .product-btn {
    padding: 12px 18px;
    font-size: 13px;
  }
}

/* 移动端 */
@media screen and (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-header {
    padding: 18px 15px 15px;
  }

  .product-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .product-subtitle {
    font-size: 12px;
  }

  .product-image {
    height: 160px;
    padding: 15px;
  }

  .product-btn {
    padding: 12px 15px;
    font-size: 13px;
  }

  .product-btn .btn-icon {
    width: 16px;
    height: 16px;
    margin-left: 6px;
  }
}

/* 小屏手机 */
@media screen and (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .product-card {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .product-header {
    padding: 20px 15px 0;
  }

  .product-title {
    font-size: 16px;
  }

  .product-image {
    height: 200px;
  }
}
