/* ============================================
   产品展示页面专用样式 - product.css
   ============================================ */

/* --- 头部提示横幅 --- */
.product-notice-banner {
  background: #e8f0fe;
  border-bottom: 1px solid #c4d7f2;
  text-align: center;
  padding: 10px 16px;
  border-radius:8px;
  font-size: 14px;
  color: #1a56b3;
  line-height: 1.5;
  margin:0px auto 30px;
}

/* --- 产品列表页面 --- */
.product-header {
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.product-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* 产品卡片网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 4rem;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  text-decoration: none;
}

.product-card_image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f3f4;
}

.product-card_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card_image {
  transform: scale(1.05);
}

.product-card_body {
  padding: 20px 20px 24px;
}

.product-card_tag {
  display: inline-block;
  background: #e8f0fe;
  color: #1a56b3;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card_body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  margin-top:0;
}

.product-card_zz {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card_desc {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card_arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #1a56b3;
  font-weight: 500;
}

.product-card_arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card_arrow svg {
  transform: translateX(4px);
}

/* --- 产品详情页面 --- */
.product-detail {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.product-detail_breadcrumb {
  font-size: 13px;
  color: #5f6368;
  margin-bottom: 2rem;
}

.product-detail_breadcrumb a {
  color: #1a56b3;
  text-decoration: none;
}

.product-detail_breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail_breadcrumb span {
  margin: 0 6px;
}

.product-detail_layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail_image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  background: #f1f3f4;
  aspect-ratio: 4 / 3;
}

.product-detail_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail_info h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.product-detail_info .product-zz{
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom:0.75rem;
  line-height: 2;
}

.product-detail_tag {
  display: inline-block;
  background: #e8f0fe;
  color: #1a56b3;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.product-detail_specs,.product-detail_info ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.product-detail_specs li,.product-detail_info ul li {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid #e8eaed;
  font-size: 14px;
  line-height: 1.6;
}

.product-detail_specs li .spec-label,.product-detail_info ul li .spec-label {
  color: #5f6368;
  min-width: 80px;
  flex-shrink: 0;
}

.product-detail_specs li .spec-value,.product-detail_info ul li .spec-value {
  color: #202124;
}

.product-detail_intro {
  font-size: 15px;
  color: #202124;
  line-height: 1.8;
  margin-top: 0.5rem;
}

.product-detail_content {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e8eaed;
}

.product-detail_content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-detail_content p {
  font-size: 15px;
  color: #202124;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.product-detail_content ul {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}

.product-detail_content ul li {
  font-size: 15px;
  color: #202124;
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

.product-detail_back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2rem;
  color: #1a56b3;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.product-detail_back:hover {
  text-decoration: underline;
}

/* --- 底部法规提示 --- */
.product-footer-notice {
  background: #f8f9fa;
  border-top: 1px solid #e8eaed;
  padding: 16px 0;
  text-align: center;
  font-size: 14px;
  color: #80868b;
  line-height: 1.8;
}

/* --- 响应式 --- */
@media (max-width: 991px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .product-detail_layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .product-notice-banner {
    font-size: 12px;
    padding: 8px 14px;
  }

  .product-header {
    padding-top: 5rem;
  }

  .product-header h1 {
    font-size: 1.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .product-card_body {
    padding: 16px;
  }

  .product-card_body h3 {
    font-size: 16px;
  }

  .product-detail {
    padding-top: 4rem;
  }

  .product-detail_info h1 {
    font-size: 1.4rem;
  }

  .product-footer-notice {
    font-size: 11px;
    padding: 12px 16px;
  }
}
