/* ==================== Swiper 2.7.6 极致流畅版 CSS ==================== */
.pc-slide {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    min-width: 0;
}

.view {
    width: 100%;
    overflow: hidden;
    min-width: 0;
}

.view .swiper-container {
    width: 100%;
    max-height: 306px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    /* 🔥 硬件加速 */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.swiper-wrapper,
.swiper-slide {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    min-width: 0;
    /* 🔥 硬件加速 */
    transform: translateZ(0);
}

/* 箭头 */
.view .arrow-left,
.view .arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    z-index: 99;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
    /* 🔥 不触发重绘 */
    pointer-events: none;
}
.view:hover .arrow-left,
.view:hover .arrow-right,
.view:hover .slide-pagination {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.view .arrow-left { left: 15px; }
.view .arrow-right { right: 15px; }

/* 计数 */
.slide-pagination {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 99;
    min-width: 50px;
    height: 30px;
    border-radius: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
}

/* 大图 */
.swiper-slideimg a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.swiper-slideimg img {
    max-width: 100%;
    max-height: 306px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    cursor: zoom-in;
    transform: translateZ(0);
}

/* 缩略图（🔥 丝滑核心） */
.preview {
    width: 100%;
    margin-top: 2px;
    position: relative;
    overflow: hidden;
    min-width: 0;
}
.preview .swiper-container {
    width: 100%;
    height: 82px;
    overflow: hidden;
    transform: translateZ(0);
}
.preview .swiper-slide {
    width: 87px;
    height: 82px;
    text-align: center;
    margin-right: 4px;
    flex-shrink: 0;
}
.preview img {
    max-width: 100%;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
}
.preview img:hover,
.preview .active-nav img {
    border-color: var(--accent-primary);
}

/* 移动端 */
@media (max-width: 850px) {
    .view .swiper-container { max-height: 200px; min-height: 150px; }
    .swiper-slideimg img { max-height: 200px; }
    .view .arrow-left, .view .arrow-right { width: 30px; height: 30px; font-size:14px; }
}

/* Swiper 2.x 基础（精简）*/
.swiper-container {
    margin:0 auto;
    position:relative;
    overflow:hidden;
    direction:ltr;
    z-index:1;
}
.swiper-wrapper {
    position:relative;
    width:100%;
    display:flex;
    transform: translateZ(0);
}