.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin-top: 32px;
  margin-bottom: 32px;
}

.container header {
  background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
  color: white;
  padding: 25px 40px;
  text-align: center;
}

.container header h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.container header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.container .content {
  display: flex;
  min-height: 800px;
}

/* 左侧产品列表样式 */
.product-list {
  width: 30%;
  background: #f8f9fc;
  border-right: 1px solid #eaeef7;
  padding: 25px 0;
  overflow-y: auto;
}

.product-list h2 {
  padding: 0 25px 20px;
  color: #2c3e50;
  font-size: 1.4rem;
  border-bottom: 1px solid #eaeef7;
  margin-bottom: 15px;
}

.product-list ul {
  list-style: none;
}

.product-list li {
  padding: 18px 25px;
  border-left: 4px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: #4a5568;
}

.product-list li:hover {
  background: #edf2f7;
  color: #2b6cb0;
}

.product-list li.active {
  border-left: 4px solid #4b6cb7;
  background: #e6f0ff;
  color: #2b6cb0;
  font-weight: 600;
}

.product-list li i {
  margin-right: 15px;
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

/* 右侧产品详情样式 */
.product-detail {
  width: 70%;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.product-info {
  /* flex: 1; */
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.product-description {
  flex: 1;
}

.product-description h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 15px;
}

#dpp {
  font-size: 18px !important;
  white-space: pre-line;
}

.product-description .price {
  font-size: 1.8rem;
  color: #4b6cb7;
  font-weight: 700;
  margin: 15px 0;
}

.product-description p {
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 20px;
}

.features {
  margin: 25px 0;
}

.features li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.features li i {
  color: #4b6cb7;
  margin-right: 10px;
  margin-top: 4px;
}

.product-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fc 0%, #e6f0ff 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.product-image img {
  max-width: 85%;
  max-height: 300px;
  transition: transform 0.5s ease;
}

.product-image img:hover {
  transform: scale(1.05);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
}

.btn i {
  margin-right: 10px;
}

.btn-primary {
  background: linear-gradient(90deg, #4b6cb7 0%, #3a56a0 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(75, 108, 183, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #3a56a0 0%, #2c4385 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(75, 108, 183, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #4b6cb7;
  color: #4b6cb7;
}

.btn-outline:hover {
  background: rgba(75, 108, 183, 0.08);
  transform: translateY(-2px);
}

.product-specs {
  background: #f8f9fc;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-specs h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.spec-item {
  background: white;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.spec-item:hover {
  transform: translateY(-5px);
}

.spec-item i {
  font-size: 2rem;
  color: #4b6cb7;
  margin-bottom: 15px;
}

.spec-item h4 {
  color: #2c3e50;
  margin-bottom: 8px;
}

.spec-item p {
  color: #718096;
  font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 900px) {
  .content {
    flex-direction: column;
  }

  .product-list,
  .product-detail {
    width: 100%;
  }

  .product-list {
    border-right: none;
    border-bottom: 1px solid #eaeef7;
    max-height: 300px;
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-info {
    flex-direction: column;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  header h1 {
    font-size: 2rem;
  }
}
