/* 倒數計時 S */
.clock-container {
  padding: 0.15em 0;
  /* 導角 用法跟 padding依樣  */
  /* border-radius: 0.1em; */
  text-align: center;
  font-weight: bold;
  /* 調整字體大小 */
  /* 文字顏色 */
  color: #ffffff;
  /* 背景顏色 */
  background: #ff6a80;
  font-size: 3rem;
}

#timer {
  border-radius: 1.5px;
  font-weight: bold;
  margin: 0.5 0.5em;
  padding: 0 0.5em;
  letter-spacing: 0.1em;
  /* 若時間文字顏色，跟【倒數計時】文字 有不同時使用 */
  /* color: #00ff95; */
}

@media (max-width: 549px) {
  .clock-container {
    /* 調整字體大小 */
    font-size: 1.15rem;
  }
}

/* 倒數計時 E */

/* 收合按鈕 S */
.close_img {
  width: 100%;
  max-height: 0;
  transition: max-height 0.8s cubic-bezier(1, 0.2, 0.2, 1);
  overflow: hidden;
}

.show {
  max-height: 5000px;
}
/* 收合按鈕 E */
.swiperBtnL {
    width: 25.3%;
    height: 3%;
    bottom: 10%;
    left: 11%;
    z-index: 20;
    cursor: pointer;
}
.swiperBtnR {
    width: 25.3%;
    height: 3%;
    bottom: 10%;
    left: 65%;
    z-index: 20;
    cursor: pointer;
}
/* 彈跳視窗S */
.popBG {
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0%;
  top: 0%;
  z-index: 1000;
  background-color: rgb(0, 0, 0, 0.7);
  transition: all 0.5s;
  opacity: 0;
  visibility: hidden;
  overflow-y: hidden;

}
.popContain {
  opacity: 0;
  visibility: hidden;
  overflow-y: hidden;
  display: none;
}
.popContain::-webkit-scrollbar {
    display: none;
}
.popControl--active {
  opacity: 1;
  visibility: visible;
  overflow-y: scroll;
  display: block;
}

.popContainer {
  max-width: 1000px;
  width: 100%;
  /* 這裡回推高度要跟【js-xmark】的字體大小一致 且要【負數】 */
  margin: -3rem auto 0 auto;
}

.xmarkControl {
  position: sticky;
  top: 2%;
  cursor: pointer;
  border-radius: 5px;
}

.js-xmark {
  position: absolute;
  right: 2%;
  font-size: 3rem;
  padding: 0 0.5%;
  border-radius: 5px;
  background-color: #000;
  color: #fff;
  transition: all 0.3s;
}

.js-xmark:hover {
  background-color: #fff;
  color: #000;
  rotate: 180deg;
}
.popContain > picture > img{
  margin: 0 auto;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .popContainer {
    width: 90%;
    /* 這裡回推高度要跟【js-xmark】的字體大小一致 且要【負數】 */
    margin: -2.5rem auto 0 auto;
  }

  .js-xmark {
    font-size: 2.5rem;
    padding: 0 1%;
  }
}
/* 彈跳視窗E */
/* 折扣碼 */
.discount_box {
    max-width: 500px;
    width: 500px;
    height: 80px;
    position: fixed;
    bottom: 100%;
    /* top: 3%; */
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    background: #787878;
    color: #fff;
    font-weight: 500;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 28px;
    padding: 0% 2%;
     opacity: 0;
    pointer-events: none;
}

.discount_box.openDiscount {
opacity:1;
    animation: openDiscount 1.5s ease-in-out;
}

@keyframes openDiscount {
    0% {
        transform: translate(-50%, 0%);
    }

    20% {
        transform: translate(-50%, 140%);
    }

    85% {
        transform: translate(-50%, 140%);
    }

    100% {
        transform: translate(-50%, 0%);
    }
}

@media (max-width:768px) {
    .discount_box {
        width: 450px;
        height: 70px;
        font-size: 24px;
    }
}

@media (max-width:576px) {
    .discount_box {
        max-width: 90vw;
        width: 90vw;
        height: 15vw;
        font-size: 5vw;
        padding: 0% 3%;
    }
}