/* 所有产品卡片图片（大类页、分类汇总页卡片共用） */
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 6px;
}

/* 详情页大图 */
.detail-img img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 8px;
}

.back-link {
  display: inline-block; /* 这里我帮你补个空格，不补也能跑，规范一点 */
  margin-bottom: 24px;
  color: #444;
  text-decoration: none;
}
.back-link:hover {
  color: #222;
  text-decoration: underline;
}
.product-detail {
  margin: 50px auto;
}
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.detail-info h3 {
  margin-top: 20px;
  color: #333;
}
.detail-info ul {
  padding-left: 20px;
  line-height: 1.8;
}
.btn-inquiry {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
.btn-inquiry:hover {
  background: #444;
}
@media(max-width:768px) {
  .detail-row {
    grid-template-columns: 1fr;
  }
}
