body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
  background: #fafafa;
}

.product-detail-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 100px auto 50px; /* 距离顶部为导航留出空间 */
  padding: 0 20px;
}

/* 左侧产品图片区域 */
.product-images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-images .main-image {
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.image-gallery {
  display: flex;
  gap: 1rem;
}

.image-gallery img {
  width: 100px;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

/* 右侧产品规格区 */
.product-specs {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-specs h1 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 600;
  color: #222;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.spec-table th,
.spec-table td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

.spec-table th {
  background-color: #f5f5f5;
  color: #666;
  font-weight: 500;
}

.extra-info p {
  margin: 0.5rem 0;
  color: #444;
}

.pin-layout img {
  max-width: 100%;
  display: block;
  margin-top: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}