.gallery {
      display: flex;
      flex-direction: row;
      width: 100%;
      max-width: 1200px;
      height: 70vh;
     
      max-height: 530px;           
      
    }

    /* ----- 左侧大图区域 ----- */
    .large-image-area {
      flex: 1 1 70%;
      position: relative;
      
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    
    }

    .mySwiper2 {
      width: 100%;
      height: 100%;
    }

    .mySwiper2 .swiper-slide {
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
    }

    .mySwiper2 .swiper-slide img {
      width: 100%;
       object-fit: cover;
     -moz-border-radius: 8px;-webkit-border-radius: 8px;border-radius: 8px;
      display: block;
    }

    .mySwiper2 .swiper-button-next,
    .mySwiper2 .swiper-button-prev {
      display: none !important;
    }

    /* ----- 右侧面板整体布局 ----- */
    .thumbnail-panel {
      flex: 0 0 95px;
      width: 95px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 1rem 0.8rem;
      position: relative;
    }

    .thumbnail-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      height: 100%;
      gap: 0.8rem;
    }

    .thumb-nav-top {
      flex-shrink: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }

    .thumb-swiper-outer {
      flex: 1;
      width: 100%;
      min-height: 0;
      border-radius: 1.8rem;
      overflow: hidden;
     
    }

    .thumb-nav-bottom {
      flex-shrink: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }

    /* 垂直缩略图 Swiper */
    .mySwiperThumbs {
      width: 100%;
      height: 100%;
    }

    .mySwiperThumbs .swiper-wrapper {
      flex-direction: column !important;
    }

    .mySwiperThumbs .swiper-slide {
      height: auto !important;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.25s;
      padding: 0.4rem 0.5rem;
      opacity: 0.65;
      filter: brightness(0.8);
      border-radius: 1.2rem;
      margin: 0.2rem 0;
    }

    .mySwiperThumbs .swiper-slide-thumb-active {
      opacity: 1;
      filter: brightness(1.15);
      background: rgba(255, 255, 255, 0.12);
      
      transform: scale(1.02);
      border-radius: 1.2rem;
    }

    .mySwiperThumbs .swiper-slide img {
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: 1rem;
      display: block;
      border: 2px solid transparent;
      transition: border 0.2s, box-shadow 0.2s;
      background: #1e1e2a;
    }

    .mySwiperThumbs .swiper-slide-thumb-active img {
      border-color: rgba(255, 255, 255, 0.7);
   
    }

    /* 自定义导航按钮样式 */
    .custom-nav-btn {
      width: 34px;
      height: 34px;
      background: rgba(60, 60, 60, 1.0);
      backdrop-filter: blur(10px);
      border-radius: 50%;
      color: rgba(255, 255, 255, 0.9);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.2s;
      font-size:0.9rem;
      user-select: none;
      z-index: 10;
    }

    .custom-nav-btn:hover {
      background: rgba(120, 120, 120, 0.5);
      color: white;
      border-color: rgba(255, 255, 255, 0.4);
      transform: scale(1.05);
    }

    .custom-nav-btn:active {
      transform: scale(0.95);
    }

    .custom-nav-btn.disabled {
      opacity: 0.3;
      cursor: not-allowed;
      pointer-events: none;
    }

    /* 箭头样式 */
    .arrow-up::before {
      content: '';
      display: block;
      width: 12px;
      height: 12px;
      border-left: 2px solid white;
      border-top: 2px solid white;
      transform: rotate(45deg);
      margin-top: 4px;
    }

    .arrow-down::before {
      content: '';
      display: block;
      width: 12px;
      height: 12px;
      border-right: 2px solid white;
      border-bottom: 2px solid white;
      transform: rotate(45deg);
      margin-bottom: 4px;
    }

    /* 响应式 */
    @media (max-width: 768px) {
      .gallery {
        flex-direction: column;
        height: 85vh;
        max-height: 800px;
      }
      .large-image-area {
        flex: 1 1 55%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
      }
      .thumbnail-panel {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
        padding: 0.8rem;
      }
      .thumbnail-wrapper {
        flex-direction: row;
        gap: 0.5rem;
      }
      .thumb-nav-top,
      .thumb-nav-bottom {
        flex-shrink: 0;
      }
      .thumb-swiper-outer {
        flex: 1;
        height: 100%;
      }
    }