      /* 修复Swiper轮播图样式 */
      .product-gallery {
        position: relative;
        margin-bottom: 20px;
      }
      
      .product-swiper-main {
        width: 100%;
        height: 500px; /* 稍微减少主轮播图区域高度 */
        position: relative;
        overflow: hidden;
      }
      
      .product-swiper-main .swiper-wrapper {
        width: 100%;
        height: 100%;
        display: flex;
      }
      
      .product-swiper-main .swiper-slide {
        width: 100% !important;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      
      .product-swiper-main .swiper-slide-active {
        opacity: 1;
      }
      
      .product-swiper-main .swiper-slide img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        cursor: pointer;
      }
      
      /* 添加主图悬停效果，显示放大提示 */
      .product-swiper-main .swiper-slide img:hover {
        cursor: zoom-in;
      }
      
      /* 缩略图样式 */
      .product-swiper-thumbs {
        width: 100%;
        height: 100px;
        box-sizing: border-box;
        padding: 10px 50px; /* 为导航按钮预留空间 */
        overflow: hidden;
        position: relative;
      }
      
      .product-swiper-thumbs .swiper-wrapper {
        display: flex;
      }
      
      .product-swiper-thumbs .swiper-slide {
        width: 100px;
        height: 80px;
        opacity: 0.6;
        cursor: pointer;
        border: 2px solid transparent;
        border-radius: 4px;
        overflow: hidden;
        transition: all 0.3s ease;
        flex-shrink: 0;
      }
      
      .product-swiper-thumbs .swiper-slide-thumb-active {
        opacity: 1;
        border-color: #1e6cd3;
      }
      
      .product-swiper-thumbs .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      /* 缩略图导航按钮样式 */
      .swiper-button-next-thumbs,
      .swiper-button-prev-thumbs {
        color: #333;
        background: rgba(255, 255, 255, 0.8);
        width: 25px;
        height: 50px;
        border-radius: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        top: 70%;
        transform: translateY(-50%);
        position: absolute;
        z-index: 10;
      }
      
      .swiper-button-next-thumbs:after,
      .swiper-button-prev-thumbs:after {
        font-size: 14px;
        font-weight: bold;
      }
      
      .swiper-button-next-thumbs {
        right: 0px; /* 调整位置，完全显示在外部 */
      }
      
      .swiper-button-prev-thumbs {
        left: 0px; /* 调整位置，完全显示在外部 */
      }
          
      .swiper-button-next, .swiper-button-prev {
        color: #333;
        background: rgba(255, 255, 255, 0.8);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      }
      
      .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 18px;
      }
      
      .swiper-button-next {
        right: 10px;
      }
      
      .swiper-button-prev {
        left: 10px;
      }
          
          /* 点击放大模态框样式 */
          .image-modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s;
          }
          
          .modal-content {
            max-width: 90%;
            max-height: 80%;
            object-fit: contain;
            border-radius: 5px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
          }
          
          .close-modal {
            position: absolute;
            top: 20px;
            right: 35px;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 10001;
            transition: color 0.3s;
          }
          
          .close-modal:hover {
            color: #ccc;
          }
          
          .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s;
            z-index: 10001;
          }
          
          .modal-nav:hover {
            background-color: rgba(255, 255, 255, 0.4);
          }
          
          
          .image-counter {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            text-align: center;
            color: white;
            font-size: 16px;
            z-index: 10001;
          }
          
          @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
          }
          
          /* 响应式调整 */
      /* 响应式调整 */
      @media (max-width: 768px) {
        .product-swiper-main {
          height: 320px; /* 减少主轮播图区域高度 */
        }
        
        .product-swiper-thumbs {
          height: 80px;
          padding: 10px 25px; /* 调整内边距 */
        }
        
        .product-swiper-thumbs .swiper-slide {
          width: 80px;
          height: 60px;
        }
        
        .swiper-button-next-thumbs {
          right: -15px; /* 调整按钮位置 */
          top: 55%; /* 保持垂直位置一致 */
        }
        
        .swiper-button-prev-thumbs {
          left: -15px; /* 调整按钮位置 */
          top: 55%; /* 保持垂直位置一致 */
        }
      }
      
      @media (max-width: 480px) {
        .product-swiper-main {
          height: 270px; /* 减少主轮播图区域高度 */
        }
        
        .product-swiper-thumbs {
          height: 60px;
          padding: 10px 20px; /* 调整内边距 */
        }
        
        .product-swiper-thumbs .swiper-slide {
          width: 60px;
          height: 45px;
        }
        
        .swiper-button-next-thumbs {
          right: -12px; /* 调整按钮位置 */
          top: 55%; /* 保持垂直位置一致 */
        }
        
        .swiper-button-prev-thumbs {
          left: -12px; /* 调整按钮位置 */
          top: 55%; /* 保持垂直位置一致 */
        }
      }
      
      /* 在中等及以上屏幕上并列显示 */
      @media (min-width: 768px) {
        .sp_left_product, .sp_right_product {
          flex: 0 0 50%;
          max-width: 50%;
        }
      }
      
      /* 在小屏幕上堆叠显示 */
      @media (max-width: 767px) {
        .sp_left_product, .sp_right_product {
          flex: 0 0 100%;
          max-width: 100%;
        }
      }
      
      /* 在大屏幕设备上设置两个区域之间的间距 */
      @media (min-width: 768px) {
        .sp_left_product {
          padding-right: 2%;
        }
        
        .sp_right_product {
          padding-left: 2%;
        }
       @media (min-width: 1200px) {
        .col-xl-6 {
          flex: 0 0 100% !important;
          max-width: 50%;
        }
      }
    }
