.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%;
    /* 🔥 保留最大/最小高度限制，不强制固定高度，交给Swiper自动计算 */
    max-height: 350px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper,
.swiper-slide {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    min-width: 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;
    background: var(--glass-bg-hover);
    color: var(--text-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.view:hover .arrow-left,
.view:hover .arrow-right,
.view:hover .slide-pagination {
    opacity: 1;
    visibility: visible;
}
.view .arrow-left { left: 15px; }
.view .arrow-right { right: 15px; }
.view .arrow-left.disabled,
.view .arrow-right.disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
}

.slide-pagination {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 99;
    min-width: 50px;
    height: 30px;
    border-radius: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
    background: var(--glass-bg);
    color: var(--text-primary) !important;
}
.swiper-slideimg a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.swiper-slideimg img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    cursor: zoom-in;
}

.preview {
    width: 100%;
    margin-top: 2px;
    position: relative;
    overflow: hidden;
    min-width: 0;
}
.preview .swiper-container {
    width: 100%;
    height: 82px;
    overflow: hidden;
}
.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: 250px; min-height: 150px; }
    .swiper-slideimg img { max-height: 250px; }
    .view .arrow-left, .view .arrow-right { width: 30px; height: 30px; font-size:14px; }
}
.swiper-container {
    margin:0 auto;
    position:relative;
    overflow:hidden;
    direction:ltr;
    z-index:1;
}
.swiper-wrapper {
    position:relative;
    width:100%;
    display:flex;
}