body{
    margin: 0;
}

#nav{
    display: none;
}
.btnBanner{
    position: relative;
}
.btnBanner picture{
    display: block;
}
.btnBanner img{
    display: block;
    height: auto;
}
.carousel-control-next, 
.carousel-control-prev{
    width: 5%;
}
/* Banner 上的商店徽章是印在圖裡的，這四個是疊在上面的透明熱區。
   百分比是從圖檔量出來的（260904 版：桌機 1920x400、手機 768x400），
   每個框各多留 2px 左右的餘裕。換 banner 圖就要重量一次，
   沿用舊數字會讓熱區落在空白處。
   桌機第一張的徽章只有 117x33 px，這是圖本身的尺寸，不是打錯。 */
.BtnAppleBanner{
    position: absolute;
    left: 91.9%;
    top: 67.0%;
    width: 6.4%;
    height: 9.5%;
}
.BtnGoogleBanner{
    position: absolute;
    left: 91.9%;
    top: 76.5%;
    width: 6.4%;
    height: 11.0%;
}
.BtnAppleBanner2{
    position: absolute;
    left: 73.5%;
    top: 67.5%;
    width: 10.1%;
    height: 14.0%;
}
.BtnGoogleBanner2{
    position: absolute;
    left: 85.4%;
    top: 67.5%;
    width: 10.1%;
    height: 14.0%;
}

/* 手機版換的是另一張圖（banner-phone-*），徽章位置完全不同，
   斷點要跟 home.html 裡 <source media> 的 991.98px 一致。 */
@media (max-width: 991.98px) {
    .BtnAppleBanner{
        left: 81.0%;
        top: 72.8%;
        width: 11.3%;
        height: 6.6%;
    }
    .BtnGoogleBanner{
        left: 81.0%;
        top: 79.6%;
        width: 11.3%;
        height: 7.0%;
    }
    .BtnAppleBanner2{
        left: 53.2%;
        top: 78.4%;
        width: 19.3%;
        height: 11.6%;
    }
    .BtnGoogleBanner2{
        left: 74.0%;
        top: 78.4%;
        width: 19.5%;
        height: 11.6%;
    }
}

.NewBox{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 15px;
}
#News img{
    max-width: 100%;
    height: auto;
}
.NewImg{
    width: 30%;
}
.NewText{
    width: 65%;
    margin-left: 5%;
}
.NewText h3,
.NewText h4{
    width: 100%;
}
.NewText p{
    color: #767676;
}
.saleBtn{
    cursor: pointer;
}
.saleText{
    text-align: center;
    color: #30655B;
    font-weight: 900;
    font-size: 18pt;
    margin-top: 10px;
}

#showImgMain{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    z-index: 10000;
    cursor: pointer;
}
#showImgMain[open]{
    display: flex;
    align-items: center;
    justify-content: center;
}
#showImgMain::backdrop{
    background-color: rgb(0, 0, 0, 0.8);
}
#showImgBox{
    width: 30%;
    background-color: white;
    padding: 50px;
    position: relative;
    cursor: default;
}
#showImg img{
    width: 100%;
}
#closeImg{
    cursor: pointer;
    color: #000;
    font-weight: 600;
    font-size: 20pt;
    position: absolute;
    right: 15px;
    top: 10px;
    transition: 0.3s;
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 1;
}
#closeImg:hover{
    color: rgb(200, 35, 35);
}
#closeImg:focus-visible{
    outline: 2px solid #71AFA0;
    outline-offset: 3px;
}
.owl-carousel .owl-stage-outer .owl-stage .owl-item{
    cursor: pointer;
}
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: -30px;
}
.owl-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    margin: 6px;
    border-radius: 10px;
    background: #71AFA0;
    position: relative;
}
.owl-carousel .owl-dots .owl-dot:hover, .owl-carousel .owl-dots .owl-dot:focus{
    outline: none !important;
}
.owl-carousel .owl-dots .owl-dot.active{
    background: #30655B;
}
.owl-carousel.owl-drag .owl-item{
    touch-action: pan-y;
}
.owl-carousel .owl-nav{
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* 讓內部按鈕可點 */
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    width: 45px;
    height: 45px;
    position: absolute;
    color: #71AFA0;
    pointer-events: auto;
    transition: 0.3s;
}
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    color: #30655B;
}
.owl-carousel .owl-nav .owl-prev{
    left: -75px;
}
.owl-carousel .owl-nav .owl-next{
    right: -75px;
}
.owl-carousel .owl-nav button.owl-prev span,
.owl-carousel .owl-nav button.owl-next span {
    font-size: 45px;
    line-height: 0;
}

.commentBox{
    border-radius: 5px;
    padding: 15px;
    background-color: white;
}
/* 字級跟最新消息的卡片一致：作者名 = 卡片標題 22px、日期 = 15px、
   內文 = 17px。原本是 11pt / 10pt / 12.5pt（14.7 / 13.3 / 16.7px）。 */
.commentBox h3,
.commentBox h6{
    font-size: 22px;
    font-weight: 800;
    color: rgb(0, 0, 0, 0.7);
    line-height: 1.35;
    margin-top: 5px;
}
.commentBox span{
    font-size: 15px;
    color: rgb(0, 0, 0, 0.7);
}
.commentBox div{
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.7;
}
.reply{
    font-size: 11pt;
    background-color: #F3F7F7;
    padding: 10px 15px;
}
.reply span{
    color: #000;
    font-weight: 600;
    font-size: 11pt;
    margin-right: 10px;
}
.commentText{
    border: 1px solid rgb(212, 212, 212);
    background-color: #ffffff;
    border-radius: 5px;
    padding: 15px;
    margin-top: 15px;
}
.comBox{
    width: 100%;
    display: flex; 
    align-items: center;
    justify-content: center;
}
.btn-comment{
    background-color: #30655B;
    color: #fff;
    padding: 10px 50px;
    font-size: 13pt;
    font-weight: 900;
    transition: 0.3s;
    border-radius: 50px;
}
.btn-comment:hover{
    background-color: #71AFA0;
    color: #fff;
}

.btnStyle{
    width: 100%;
    margin: 25px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btnStyle a{
    width: fit-content;
    height: auto;
    padding: 10px 50px;
    border-radius: 50px;
    border: 3px solid #71AFA0;
    background-color: rgb(255, 255, 255);
    color: #71AFA0;
    text-decoration: none;
    font-size: 13pt;
    font-weight: 900;
    transition: 0.3s;
}
.btnStyle a:hover{
    background-color: #71AFA0;
    color: #fff;
}

.fixedBar{
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    background-color: #30655B;
    box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.8);
    z-index: 1000;
}
.fixedBtn{
    padding: 5px 20px;
    margin: 0 10px;
    border-radius: 50px;
    border: 3px solid #fff;
    font-size: 16pt;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}
.fixedBtn:hover{
    background-color: #fff;
    color: #30655B;
}

.footer{
    position: relative;
    padding-bottom: 50px;
}
.BtnApple, .BtnGoogle{
    position: absolute;
    width: 25.3%;
    height: 11.3%;
    top: 74.3%;
}
.BtnApple{
    left: 21.9%;
}
.BtnGoogle{
    left: 52.8%;
}

.home{
    position: fixed;
    right: 62.5px;
    bottom: 235px;
    z-index: 100;
}
.home a{
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: 5px solid #30655B;
    background-color: rgb(255, 255, 255);
    color: #30655B;
    text-decoration: none;
    font-size: 20pt;
    font-weight: 600;
    transition: 0.3s;
}
.home a:hover{
    background-color: #30655B;
    color: rgb(255, 255, 255);
}

.hidden-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
#LineBtn{
    position: fixed;
    z-index: 1000;
    right: 50px;
    bottom: 120px;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    box-shadow: #0000005a 5px 5px 5px;
    transition: 0.3s;
}
#LineBtn:hover{
    width: 90px;
    height: 90px;
    box-shadow: #0000005a 0px 0px 0px;
}

@media (max-width: 990px) {
    .NewBox{
        margin: 0 0 15px 0;
    }
    .NewText{
        width: 100%;
        margin-left: 0%;
    }
    .NewImg{
        width: 100%;
        max-width: none;
    }
    #showImgBox{
        width: 90%;
        padding: 25px;
    }
    #closeImg{
        cursor: pointer;
        color: #000;
        font-weight: 600;
        font-size: 20pt;
        position: absolute;
        right: 15px;
        top: 10px;
        transition: 0.3s;
    }
    #closeImg:hover{
        color: rgb(200, 35, 35); 
    }
    .owl-carousel .owl-nav .owl-prev { left: 4px; }
    .owl-carousel .owl-nav .owl-next { right: 4px; }

    .fixedBar{
        padding: 10px 0;
    }
    .fixedBtn{
        font-size: 13pt;
    }
    .footer{
        padding-bottom: 100px;
    }
    .BtnApple, .BtnGoogle{
        position: absolute;
        width: 25.3%;
        height: 11.3%;
        top: 54.3%;
    }
    .home{
        right: 45px;
        bottom: 220px;
    }
    .home a{
        width: 65px;
        height: 65px;
        display: flex;
    }
    #LineBtn{
        right: 30px;
        bottom: 100px;
        width: 100px;
        height: 100px;
    }
    #LineBtn:hover{
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 600px) {
    #nav{
        display: block;
        width: 100%;
        position: absolute;
        z-index: 1000;
        background-color: rgb(0, 0, 0, 0.8);
    }
    #nav img{
        width: 40%;
        margin: 10px 15px;
    }

    .home{
        right: 15px;
        bottom: 170px;
    }
    .home a{
        width: 65px;
        height: 65px;
        display: flex;
    }
    #LineBtn{
        right: 15px;
        bottom: 90px;
        width: 65px;
        height: 65px;
    }
    #LineBtn:hover{
        width: 65px;
        height: 65px;
    }
}

/* 
    30655B
    71AFA0
    F3F7F7
*/
