body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

/* 容器样式 */
.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header {
  background: #6a1b9a; /* 紫色背景 */
  color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 5px 5px 0 0;
}

header h1 {
  margin: 0;
}

/* 产品列表样式 */
.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 45%;
  margin: 10px 0;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.product-card:hover {
  border-color: #6a1b9a; /* 紫色边框 */
}

.product-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.product-details {
  flex: 1;
}

.product-details h2 {
  margin-top: 0;
}

/* 按钮和评分容器样式 */
.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

/* 评分样式 */
.rating {
  font-size: 16px;
  color: #f39c12;
  font-weight: bold;
}

.rating span {
  color: #333;
  font-weight: normal;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 15px;
  background: #6a1b9a; /* 紫色按钮 */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #4a148c; /* 深紫色悬停 */
}

/* 内容区域样式 */
.content-section {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0;
}

/* Reviews 模块样式 */
.reviews {
  width: calc(50% - 10px);
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.reviews h2 {
  margin-top: 0;
}

.reviews p {
  line-height: 1.8;
  margin: 0 0 15px 0;
}

/* FAQ 模块样式 */
.faq {
  width: calc(50% - 10px);
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq h2 {
  margin-top: 0;
}

.faq ul {
  list-style-type: none;
  padding: 0;
}

.faq li {
  margin-bottom: 15px;
}

/* 页脚样式 */
footer {
  background: #6a1b9a; /* 紫色背景 */
  color: #fff;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  border-radius: 0 0 5px 5px;
}

footer .footer-links {
  margin-bottom: 10px;
}

footer .footer-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

footer .footer-links a:hover {
  text-decoration: underline;
}

/* 移动端样式 */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 10px;
  }

  .product-card {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .product-image {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .content-section {
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
  }

  .reviews,
  .faq {
    width: 100%;
    margin-bottom: 10px;
    padding: 15px;
    box-sizing: border-box;
  }
}