 .prodetail_img a.videoIco {
    position: absolute;
    z-index: 9;
    width: 52px;
    height: 52px;
    left: 42px;
    bottom: 24px;
    background: url(../images/video.png) no-repeat 0 0;
}
.videoItem {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 990;
    top: 0;
    left: 0;  
    background: #000;
}

.videoItem a {
    position: absolute;
    width: 36px;
    height: 36px;
    top: 0px;
    right: 0px;
    z-index: 11;
    background: url(../images/video.png) no-repeat -56px 0;
}

.videoItem #video {
    padding-top: 56.25%;
}

.videoItem #video video {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.Warning {
    text-align: center;
    font-size: 14px;
    font-family: microsoft yahei;
    line-height: 27px;
    color: #fff;
    width: 606px;
    height: 400px;
    background-color: #000;
    margin: 0 auto;
}
.Warning b {
	display: inline-block;
	width: 30px;
	height: 27px;
	margin: 12px;
	margin: 150px 0 20px 0;
	background: url("../images/waring.png") no-repeat;
}

/* 视频播放容器：flex 居中 + 黑色背景，确保视频完整显示 */
.videoItem {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;          /* 黑底，视频未覆盖区域显示黑色 */
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 990;
    top: 0;
    left: 0;
}

/* 视频元素：最大尺寸填满容器，按比例完整显示（可能产生黑边） */
.videoItem video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;       /* 保持原始比例，完整展示视频内容 */
    display: block;
}

/* 关闭按钮样式优化：确保始终可点且不被视频遮挡 */
.videoItem a {
    position: absolute;
    width: 40px;               /* 稍微增大点击区域 */
    height: 40px;
    top: 8px;
    right: 8px;
    z-index: 999;              /* 高于视频 */
    background: url(../images/video.png) no-repeat -56px 0;
    background-size: 96px auto;/* 适应原图，确保图标清晰 */
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.videoItem a:hover {
    opacity: 1;
}

/* 主预览区设置最小高度，避免视频容器过小（适配内容较少的图片） */
#spec-n1 {
    position: relative;
    min-height: 300px;          /* 可根据设计调整，确保视频有足够显示区域 */
    background: #f5f5f5;        /* 加载过程中背景色 */
}

/* 移动端适配：确保预览区域不溢出 */
@media (max-width: 768px) {
    #spec-n1 {
        min-height: 200px;
    }
    .videoItem a {
        width: 36px;
        height: 36px;
        top: 4px;
        right: 4px;
    }
}


/* 缩略图列表容器：横向滚动，隐藏滚动条（可选） */
#spec-list {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;        /* 强制子元素不换行 */
    padding-bottom: 10px;       /* 留出滚动条空间（若有） */
    /* 隐藏滚动条（如需）：
    scrollbar-width: none;       Firefox
    -ms-overflow-style: none;    IE/Edge
    &::-webkit-scrollbar {
        display: none;            Chrome/Safari
    }
    */
}

/* 内部 ul：flex 不换行，或使用 inline-block */
#spec-list ul.list-h {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

/* 缩略项宽度固定 */
#spec-list ul.list-h li {
    flex: 0 0 auto;            /* 禁止 flex 缩放，宽度由 width 决定 */
    width: 80px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}