.hot-product {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.hot-product .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.hot-product .ihd {
  text-align: left;
  margin-bottom: 40px;
}

.hot-product .ihd .title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.hot-product .ihd .title:after {
  display: none;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  justify-content: center;
}

.product-card {
  width: calc(50% - 30px);
  margin: 0 15px 30px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #0066cc;
  transition: width 0.3s ease;
}

.product-card:hover:after {
  width: 100%;
}

.product-image {
  height: 320px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 25px 20px;
  text-align: center;
  position: relative;
}

.product-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin: 0;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: #0066cc;
}

.product-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #0066cc;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.product-btn:hover {
  background-color: #0055aa;
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
  .product-image {
    height: 280px;
  }
}

@media screen and (max-width: 768px) {
  .product-card {
    width: calc(50% - 20px);
    margin: 0 10px 20px;
  }

  .product-image {
    height: 220px;
  }

  .hot-product .ihd .title {
    font-size: 28px;
  }

  .product-title {
    font-size: 18px;
  }

  .product-info {
    padding: 20px 15px;
  }
}

@media screen and (max-width: 480px) {
  .product-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px;
  }

  .product-image {
    height: 200px;
  }

  .hot-product .ihd .title {
    font-size: 24px;
  }

  .hot-product {
    padding: 40px 0;
  }
}
/* 询盘弹窗样式 */
/* 询盘按钮样式 */
.in {
  padding: 12px 30px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.in:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.inquiry-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.inquiry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.inquiry-content {
  position: relative;
  width: 500px;
  margin: 100px auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.inquiry-header h3 {
  font-size: 24px;
  color: #333;
}

.inquiry-close {
  font-size: 28px;
  cursor: pointer;
  color: #666;
}

.inquiry-close:hover {
  color: #333;
}

.inquiry-form .form-group {
  margin-bottom: 20px;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form button {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.inquiry-form button:hover {
  background: #0056b3;
}

/* 响应式设计 */
@media (max-width: 600px) {
  .inquiry-content {
    width: 90%;
    margin: 50px auto;
  }
}
/* 表格 */
.dlist table {
  width: 100%;
  border-collapse: collapse;
}

.dlist th, .dlist td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ddd;
}

.dlist th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.dlist tr:nth-child(even) {
  background-color: #f9f9f9;
}

.dlist tr:hover {
  background-color: #f1f1f1;
}