.accordion-container {
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}
.accordion-header {
  /* 基础样式 */
  background-color: #f1f2f3;
  color: black; /* 确保文本颜色为黑色 */
  font-size: 18px;
  font-weight: bold;
  padding: 12px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}
.accordion-header:hover {
    background-color: #e0e1e2; /* 悬停效果 */
}
.accordion-header .arrow {
  color: #d01c77; /* 箭头颜色 */
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.3s;
}
.accordion-header.active .arrow {
  transform: rotate(90deg);
}

/* --- Accordion Content Styles --- */
.accordion-content {
  display: none; /* 默认隐藏 */
  padding: 15px;
  border-top: 1px solid #dddddd;

}

.accordion-header.active + .accordion-content {
  display: block;
}
.accordion-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    font-family: Arial, sans-serif;
}
.accordion-content thead tr {
    background-color: #f2f2f2;
}
.accordion-content th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 12px;
    font-weight: bold;
    color: #333;
}
.accordion-content td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 12px;
}
.accordion-content tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}
.accordion-content tbody tr:nth-child(even) {
    background-color: #ffffff;
}
.accordion-content td strong {
    font-weight: bold;
}
@media screen and (max-width: 767px) {
    .accordion-content table {
        /* 移除 width: 100% 以允许表格宽度超出容器 */
        width: auto; 
        min-width: 600px; /* 设定一个最小宽度，确保内容不会过度压缩 */
    }
}
.accordion-content .table-responsive {
    /* 强制应用横向滚动，以解决 Divi 主题可能存在的样式覆盖问题 */
    overflow-x: auto !important; 
    -webkit-overflow-scrolling: touch; /* 提升 iOS 上的滚动体验 */
}

/* 2. 确保表格在小屏幕上有足够的宽度来触发滚动 */
@media screen and (max-width: 767px) {
    .accordion-content table {
        /* 移除 width: 100% 以允许表格宽度超出容器 */
        width: auto; 
        /* 设定一个最小宽度，确保内容不会过度压缩，并触发滚动 */
        min-width: 600px; 
    }
}
.product-image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 图片居中对齐 */
  align-items: center;
  gap: 10px; /* 图片之间的间距 */
  width: 100%;
  box-sizing: border-box;
  margin: 15px 0; /* 上下增加一些边距，使其更清晰 */
}

/* 对应您提供的 <img style="..."> 图片样式 */
.product-image-row img {
  width: 23%; /* 默认三列布局 */
  height: auto;
  max-width: 100%;
  object-fit: cover; /* 确保图片覆盖其区域 */
}

/* 响应式设计：平板和中等屏幕 (2 列) */
@media (max-width: 992px) {
  .product-image-row img {
    width: 48%; /* 调整为两列布局 */
  }
}

/* 响应式设计：手机屏幕 (1 列) */
@media (max-width: 576px) {
  .product-image-row {
    gap: 5px; /* 手机上减小间距 */
  }
  .product-image-row img {
    width: 100%; /* 调整为一列布局 */
  }
}
