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

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
  }

  .swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .swiper-slide {
    background-size: cover;
    background-position: center;
  }

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

  .mySwiper {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
  }

  .mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
  }

  .mySwiper .swiper-slide-thumb-active {
    opacity: 1;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

    @media (max-width: 430px) {
      .swiper.mySwiper2 {
          width: 100%;
          height: 250px; /* 調整大圖輪播高度 */
      }
  
      .swiper.mySwiper {
          width: 100%;
          height: 80px; /* 調整縮略圖輪播高度 */
      }
  
      .swiper-slide img {
          width: 100%;  /* 讓圖片適應手機螢幕 */
          height: auto; 
      }
  
      /* 隱藏左右按鈕（避免在小螢幕上佔位） */
      .swiper-button-next,
      .swiper-button-prev {
          display: none;
      }
  }