/* 彈跳視窗 */
.pop-modal-content {
  position: relative;
}

/* 背景SVG圖片 */
.modal-bg {
  height: 70vh;
  display: block;
}

/* 透明按鈕框 (無框線, 無陰影) */
.modal-button {
  all: unset; /* 移除所有瀏覽器預設樣式 */
  position: absolute;
  cursor: pointer;
  width: 50vw; /* 依據視窗大小調整 */
  height: 10vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

/* 按鈕位置設定 */
.btn-1 {
  top: 38%;
  left: 50%;
}
.btn-2 {
  top: 52%;
  left: 50%;
}
.btn-3 {
  top: 68%;
  left: 50%;
  transform: translate(-50%,-50%);
}

/* RWD 適配 */
@media (max-width: 768px) {
  .pop-modal-content {
    width: 95%;
    max-width: 320px;
  }
  .modal-button {
    width: 70vw;
    height: 10vh;
  }
  .btn-1 {
    top: 38%;
    left: 50%;
  }
  .btn-2 {
    top: 52%;
    left: 50%;
  }
  .btn-3 {
    top: 68%;
    left: 50%;
  }
}
@media (max-width: 767px) and (min-width: 350px) {
    .modal-bg {
        height: 60vh;
        display: block;
      }

  .pop-modal-content {
    width: 95%;
    max-width: 320px;
  }
  .modal-button {
    width: 70vw;
    height: 10vh;
  }
  .btn-1 {
    top: 37%;
    left: 50%;
  }
  .btn-2 {
    top: 50%;
    left: 50%;
  }
  .btn-3 {
    top: 67%;
    left: 50%;
  }
}
@media (max-width: 349px) {
    .modal-bg {
        height: 50vh;
        display: block;
      }
}

/*test*/
/* 輪播容器 */
.custom-popup-slides-container {
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* 每一張輪播圖片 */
.custom-popup-slide {
  display: none;
}

.custom-popup-slide.active {
  display: block;
}


/* 點點指示器 */
.custom-popup-dots {
  display: block;
  align-items: center;
  justify-content: center;
}

.custom-popup-dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.custom-popup-dot.active {
  background-color: #ffab72;
}
