.acf-repeater-specifications {
  margin: 20px 0;
  padding: 15px;
}
.specification-title {
  margin: 0 0 15px 0;
  color: #0168b7;
  font-size: 18px;
  font-weight: 600;
  padding-top:40px;
}
.specification-content {
  list-style: none;
  padding: 0;
  margin: 0;
}


.specification-content-item {
  display: flex;
  align-items: center;
  margin-bottom: 1px;
  padding: 1px 0;
  border-bottom: 1px dashed #eee;
  flex-wrap: wrap;
   justify-content: flex-start; 
 text-align: left; 
}

.spec-text {
  
flex: 0 0 25%; 
  margin-right: 0; 
  padding-right: 20px; 
  box-sizing: border-box;
  color: #555;
  font-size: 16px;
}

.spec-text:last-child {
  margin-right: 0;
}


.acf-repeater-empty {
  color: #999;
  font-style: italic;
  margin: 15px 0;
}
/
.specification-content-item .spec-text:nth-child(4n) {
  padding-right: 0;
}

.spec-col-1 { order: 1; }
.spec-col-2 { order: 2; }
.spec-col-3 { order: 3; }
.spec-col-4 { order: 4; }

.spec-text {
text-align: left;
  flex: 0 0 25%;
  box-sizing: border-box;
  padding: 10 10 10 0;
  min-height: 30px; 
  display: inline-block; 
}
.spec-col-1{font-weight:500;}


<!----------------以下是参数组02的代码---------------------->

/* 外层容器，控制整体边距 */
.spec-two-container {
    margin: 20px 0;
    padding: 0;
}

/* 组标题样式，增加底部边框和间距 */
.spec-two-title {
    font-size: 18px;
    font-weight: 600;
	color:#0168b7;
    
    padding-top: 25px;
	margin-left:15px;
   
}

/* 列表容器，清除默认列表样式 */
.spec-two-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* 每行样式，设置虚线分隔、flex 布局 */
.spec-two-row {
    display: flex;
    align-items: flex-start; /* 文字顶部对齐 */
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
    font-size: 16px;
	margin-left:15px;
}

/* 第一列样式，占比 50%、左对齐、加粗 */
.spec-two-col1 {
    flex: 0 0 50%;
    text-align: left;
    font-weight: 500;
    padding-right: 15px;
    box-sizing: border-box;
}

/* 第二列样式，占比 50%、左对齐 */
.spec-two-col2 {
    flex: 0 0 50%;
    text-align: left;
    padding-left: 15px;
    box-sizing: border-box;
}

<!-------------------------以下是参数03组的代码----------------------------------->

/* specifications_three 外层容器 */
.acf-repeater-specifications-three {
    margin: 20px 0;
    padding: 15px;
}

/* 条目容器 */
.specification-item-three {
    margin-bottom: 20px;
}

/* 标题样式 */
.specification-title-three {
    font-size: 18px;
    font-weight: 600;
    color: #0168b7;
  
    padding-top: 15px;
	margin-left:15px;
    
}

/* 内容列表 */
.specification-content-three {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 每行条目 */
.specification-content-item-three {
    display: flex;
    align-items: center;
    padding: 2px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 16px;
	margin-left:15px;
}

/* 第一列文本 */
.spec-col-1-three {
    flex: 0 0 50%;
    font-weight: 500;
    padding-right: 10px;
    box-sizing: border-box;
}

/* 第二列文本 */
.spec-col-2-three {
    flex: 0 0 50%;
    padding-left: 10px;
    box-sizing: border-box;
}

<!-------------------------以下是主图的css代码--------------------------------->

/* 产品图库整体容器 */
.product-gallery {
    position: relative;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

/* 大图容器（正方形） */
.gallery-large {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.large-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

/* 缩略图容器父级（关键：控制箭头位置） */
.gallery-thumbs-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

/* 缩略图容器 */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    flex: 1;
    padding: 10px 0;
    scrollbar-width: none; /* 隐藏滚动条 */
    -ms-overflow-style: none;
    margin: 0 40px; /* 为左右箭头留出空间 */
}

.gallery-thumbs::-webkit-scrollbar {
    display: none; /* 隐藏Chrome滚动条 */
}

/* 缩略图样式 */
.thumb-img {
    width: calc((100% - 40px) / 5); /* 固定显示5个 */
    height: auto;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.thumb-img:hover {
    transform: scale(1.03);
}

/* 选中的缩略图（灰色半透明蒙版） */
.thumb-img.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(150, 150, 150, 0.5);
    pointer-events: none;
}

/* 左侧箭头（固定在缩略图左侧） */
.gallery-prev {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px; /* 竖长方形 */
    background-color: #555;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 右侧箭头（固定在缩略图右侧） */
.gallery-next {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px; /* 竖长方形 */
    background-color: #555;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 箭头悬停效果 */
.gallery-prev:hover,
.gallery-next:hover {
    background-color: #333;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .gallery-thumbs .thumb-img {
        width: calc((100% - 20px) / 3); /* 移动端显示3个 */
    }
    
    .gallery-prev,
    .gallery-next {
        width: 30px;
        height: 60px;
        font-size: 20px;
    }
}
 
.thumb-img {
    /* 保留你原有的宽度、高度等样式 */
    border: 2px solid transparent; /* 透明边框（避免跳动） */
    transition: border-color 0.3s ease; /* 平滑过渡 */
}
.thumb-img.active {
    border-color: blue !important;
}