/* 倒數計時 S */
.clock-container {
    padding: 0.15em 0;
    /* 導角 用法跟 padding依樣  */
    /* border-radius: 0.1em; */
    text-align: center;
    font-weight: bold;
    /* 調整字體大小 */
    /* 文字顏色 */
    color: #ffffff;
    /* 背景顏色 */
    background: #ff0026;
    font-size: 3rem;
    display: none;
}

#timer {
    border-radius: 1.5px;
    font-weight: bold;
    margin: .5 .5em;
    padding: 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 .8s cubic-bezier(1, 0.2, 0.2, 1);
    overflow: hidden;
}

.show {
    max-height: 5000px;
}

/* 收合按鈕 E */

/* 彈跳視窗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;
}

.popControl--active {
    opacity: 1;
    visibility: visible;
}

.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 .3s;
}

.js-xmark:hover {
    background-color: #fff;
    color: #000;
    rotate: 180deg;
}

@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 */




/* 更改按鈕圖案 */
.swiperControl {
    position: absolute;
    left: 0;
    top: 0;
    width: 80%;
    height: 80%;
}

.swiperBtnR,
.swiperBtnL {
    width: 80px;
    height: 80px;
}

.swiperBtnR {
    right: 4%;
}

.swiperBtnL {
    left: 4%;
}

@media (max-width: 768px) {

    .swiperBtnR,
    .swiperBtnL {
        width: 40px;
        height: 40px;
    }
}



.swiperBtnR:after {
    content: "";
    background-image: url(../images/right.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}

.swiperBtnL:after {
    content: "";
    background-image: url(../images/left.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}

.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%;
    }
}