
/* 全局基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, sans-serif;
  transition: all 0.3s ease-in-out;
}
/* 标题动态渐变样式 */
h3 {
  color: #2d3748;
  font-size: 18px;
  margin: 25px 0 15px;
  position: relative;
  padding-left: 12px;
}
h3:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
}
/* 子标题样式 */
h4 {
  color: #3b82f6;
  font-size: 16px;
  margin: 18px 0 8px;
  cursor: default;
}
h4:hover {
  color: #2563eb;
  transform: translateX(5px);
}
/* 段落样式 */
p {
  color: #4a5568;
  line-height: 1.6;
  margin: 8px 0;
  font-size: 14px;
}
/* 适配型号悬浮样式 */
.model-item {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 8px 8px 0;
  background: #f5fafe;
  border-radius: 6px;
  color: #2d3748;
  font-weight: 500;
  cursor: default;
}
.model-item:hover {
  background: #e1f0fa;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* 表格动态样式 */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 15px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}
/* 表头渐变设计 */
th {
  padding: 14px 12px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  font-size: 15px;
  text-align: left;
  font-weight: 600;
}
td {
  padding: 14px 12px;
  border-bottom: 1px solid #f0f0f0;
  background: white;
  font-size: 14px;
}
tbody tr:nth-child(even) td {
  background: #fafafa;
}
td:hover {
  background: #e1f0fa;
  transform: translateX(3px);
}
td:first-child {
  font-weight: 500;
  color: #2d3748;
  width: 35%;
}
/* 常见问题卡片样式 */
.issue-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  margin: 10px 0;
  border-left: 3px solid #3b82f6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.issue-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.issue-title {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
}
/* 保障模块样式 */
.guarantee-card {
  background: #fafafa;
  padding: 18px;
  border-radius: 8px;
  margin: 12px 0;
  border: 1px solid #e8f4f8;
  display: flex;
  align-items: center;
  gap: 15px;
}
.guarantee-card:hover {
  border-color: #3b82f6;
  background: #f5fafe;
  transform: translateY(-2px);
}
.guarantee-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
}
.guarantee-content {
  flex: 1;
}
/* 顶部描述动态样式 */
.top-desc {
  text-align: center;
  font-size: 16px;
  color: #3b82f6;
  font-weight: 500;
  margin: 15px 0 25px;
  letter-spacing: 0.5px;
}
.top-desc:hover {
  color: #2563eb;
  transform: scale(1.02);
}
/* 产品基础信息样式 */
.basic-info {
  text-align: center;
  font-size: 14px;
  color: #4a5568;
  margin: 15px 0;
  padding: 10px;
  background: #f8fafc;
  border-radius: 6px;
}
/* 图片动态样式 */
.product-img {
  width: 100%;
  max-width: 400px;
  margin: 15px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.product-img:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}
.img-caption {
  text-align: center;
  font-size: 13px;
  color: #718096;
  margin: 8px 0 20px;
}
/* 适配型号区域图片样式 */
.model-img {
  width: 100%;
  max-width: 300px;
  margin: 10px auto 20px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* 单个型号图片样式 */
.single-model-img {
  width: 100%;
  max-width: 180px;
  margin: 8px auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.single-model-img:hover {
  transform: scale(1.03);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
/* 型号容器：强制两排，每排3个 */
.model-container {
  width: 100%;
  margin: 15px 0 30px;
}
/* 每一排样式 */
.model-row {
  display: flex;
  flex-wrap: nowrap; /* 禁止换行 */
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px; /* 两排之间的间距 */
}
/* 产品卡片样式 */
.model-card {
  text-align: center;
  width: calc(33.333% - 14px); /* 每排3个，均分宽度 */
  min-width: 200px; /* 最小宽度，防止过小 */
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
}
.model-card p {
  font-weight: 500;
  color: #2d3748;
  margin-bottom: 10px;
  white-space: nowrap; /* 文字单行显示 */
  overflow: hidden;
  text-overflow: ellipsis; /* 超长文字省略 */
}
