/* 倒數計時 S */
.clock-container {
    padding: 0.15em 0;
    /* 導角 用法跟 padding依樣  */
    /* border-radius: 0.1em; */
    text-align: center;
    font-weight: bold;
    /* 調整字體大小 */
    /* 文字顏色 */
    color: #ffffff;
    /* 背景顏色 */
    background: #ff2445;
    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%;
    height: 100%;
    /* 這裡回推高度要跟【js-xmark】的字體大小一致 且要【負數】 */
    margin: 0 auto;

}

.popContainer img{
    margin: 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:  0 auto;
overflow: hidden;
    }
    .centerImg{
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    .xmarkControl {
        top: 1%;
    }
    .js-xmark {
        right: 0;
        font-size:1.5rem;
        padding: 0 1%;
    }
    .pop-spBig{
        scale: 1.3;  
        transform: translateY(-38%);
        pointer-events: none;
    }
}

/* 彈跳視窗E */
.gift_info {
    background-image: url(../images/QABG.png);
    background-repeat: repeat;
    background-position: bottom center;
}

.gift_info img {
    margin: 0 auto;
    padding-top: 5%;
    background-color: #fff;
}

.swiperBtnR {
    color: #fff;
    right: 3%;
}

.swiperBtnL {
    color: #fff;
    left: 3%;
}

@media (max-width:768px) {
    .swiperBtnR {
        right: 1%;
    }

    .swiperBtnL {
        left: 1%;
    }

    .swiperBtnR::after {
        font-size: 1.5rem;
    }

    .swiperBtnL::after {
        font-size: 1.5rem;
    }
}