﻿/**
 * overwrite 
*/

/* bootstrop container: 1200px */
@media (min-width: 1200px) {
    .container {
        max-width: 1300px !important;
        padding: 0;
    }
    #CONTENT-1 .BOX {
        width: 22%;
    }
}
/* 猜你喜歡 */
.you-might-like.row {
    margin: 0;
}
.container {
    padding: 0;
}
/* modal reset */
.modal-content {
    border: none;
}
/* 輪盤出現水平卷軸 */
#roulette {
    overflow: hidden;
}
/* footer */
#DOWN,
#DOWN p {
    margin: 0
}
#CONTENT-1-bg1 {
    text-align: center;
}



body {
    width: 100%;
    position: relative;
    font-family: "Microsoft JhengHei", Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: #777;
    background-color: #f5f5f5;
}
a,a:link,a:visited{
    color: #777;
    text-decoration: none;
}
ul,li{
    list-style-type: none;
    padding: 0 0;
    margin: 0 0;
}
/*img{
    max-width: 100%;
}*/
.img-fluid{
    width: 100%;
}



/*product style*/
.grid .photo{
    position: relative;
    padding-bottom: 100%;
}
.grid .photo img{
    object-fit: contain;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
}
/* 18禁cover */
.item .photo .adult-warning::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: url(../_images/18/18goods.png) no-repeat;
    background-color: #fff;
    background-size: 100% auto;
    z-index: 99;
    opacity: .85;
}
.product-defult .fixed-price {
    display: inline-block;
    font-size: 14px;
    height: 20px;
    vertical-align: baseline;
    overflow: hidden;
    text-decoration: line-through;
    margin-right: 2px;
}
.product-defult .sale-price {
    /*display: inline-block;*/
    /*margin-left: 2px;*/
    height: 22px;
    color: #df0037;
    font-weight: bold;
    overflow: hidden;
}
.product-defult .sale-price span{
    display: inline-block;
    height: 20px;
}
.product-defult .sale-txt {
    border: 1px solid #df0037;
    padding: 0 3px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    color: #df0037;
    vertical-align: bottom;
    float: right;
}
/*.product-defult .sale-txt > span{
    width: 16px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-flex;
}*/
@media(max-width: 376px) {
    .product-defult .sale-price > span {
        font-size: 16px;
    }
}
.product-defult .shop{
    overflow: hidden;
    /*height: 21px;*/
    /*max-height: 20px;*/
    /*margin-bottom: 10px;*/
}

/*.product-defult .shop.enterprise-icon::before {
    content: '';
    background: url(../Images/icons/enterprise.png);
    background-size: 20px;
    width: 20px;
    height: 20px;
    display: inline-block;
    float: left;
    margin-right: 5px;
}*/
.product-defult .price-group{
    font-size: 18px;
}
.pro-view .product-defult .price-group{
    position: relative;
    height: 43px;
    margin-bottom: 5px;
}
.pro-view .product-defult .price-group .sale-price {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
}
/*網格*/
.grid .cont{
    text-align: center;
    background-color: #fff;
    -webkit-box-shadow: 0px 12px 20px -13px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 12px 20px -13px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 12px 20px -13px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}
.grid .info{
    padding: 10px;
}
.grid .pro-grid-style01 .cont{
    border: solid 1px #DDD;
}



/*promo*/
.promo-section .header{
    /*text-align: center;*/
    margin: 30px 0 15px 0;
}
.sub-title{
    color: #222222;
    font-size: 1.23em;
    font-weight: bold;
    display: inline-block;
    /*width: 100%;*/
    /* margin-right: 8px; */
}
.sub-title span{
    font-size: 30px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    background-repeat: no-repeat;
    /*padding-top: 6px;*/
}
.promo-recommend .sub-title > span,
.brand .sub-title > span,
.exclbuy .sub-title > span,
.promo-shopping-guide .sub-title > span,
.promo-limited-time .sub-title > span {
    padding: 0 10px;
    border-left: 5px solid #df0037;
    line-height: 30px;
}

.promo-section .desc{
    display: block;
    margin-bottom: 5px;
    width: 100%;
    height: 40px;
    white-space: normal;
    overflow: hidden;
    text-align: left;
}
.promo-section .desc a{
    display: block;
    width: 100%;
    height: 40px;
    font-size: 15px;
    overflow: hidden;
}
.product-defult .desc {
    height: 40px;
    overflow: hidden;
    margin-bottom: 5px;
}
@media(max-width: 768px) {
    .promo-section .desc a{
        font-size: 13px;
    }
}

/* 活動倒數 */
.promo-section .countdown-section{
    font-size: 16px;
    font-weight: bold;
    color: #000;
    display: inline-block;
    margin: 3px 0 0 5px;
}
.promo-section .countdown-section .title {
    display: inline-block;
    /*line-height: 50px;*/
    vertical-align: middle;
}
.promo-section .timer{
    /*width: 254px;*/
    height: 28px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    /*margin: 10px 0;*/
}
.promo-section .timer span{
    display: inline-block;
    min-width: 28px;
    background-color: #df0037;
    color: #fff;
    font-size: 18px;
    padding: 1px 3px;
    margin: 0 2px;
    /*border-radius: 5px;*/
    text-align: center;
}
@media(max-width: 577px) { /* 活動倒數 for Mobile */
    .promo-section .countdown-section {
        font-size: 14px;
    }
    .promo-section .countdown-section .title {
        /*line-height: 40px;*/
    }
    .promo-section .timer {
        /*width: 195px;*/
    }
    .promo-section .timer span {
        min-width: 26px;
        font-size: 14px;
        padding: 0 3px;
    }
}
/*.promo-section .ad{
    padding: 5px;
}*/
.promo-section .row{
    /*margin: 0 0;*/
}
.promo-section div[class^="col"]{
    padding: 0 5px;
}
.promo-section .see-more span{
    display: block;
    font-size: 1.38em;
    font-weight: bold;
}
.promo-section .see-more a:hover{
    color: #de002a;
}
.promo-section .grid .sale-price{
    margin-left: 0;
}
.promo-section .grid .sale-price span{
    /*font-size: 23px;*/
}
.promo-section .grid .sale-price span.txt{
    font-size: 15px;
}
.promo-section .btn-group-buy{
    display: inline-block;
    width: 90px;
    height: 30px;
    border: 1px solid #e61414;
    border-radius: 25px;
    color: #e61414;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    vertical-align: bottom;
    text-align: center;
}
.promo-section .btn-group-buy:hover{
    border: 1px solid #e61414;
}
.promo-section .header .btn-buy-more{
    float: right;
    margin: 10px 10px 0 10px;
    font-size: 16px;    
}


/* 精選品牌來駕到 */
.brand{
    padding-left: 15px;
    padding-right: 15px;
}
.brand .row{
    border: solid 1px #DDD;
    border-width: 0 0 1px 1px;
}
.brand .item{
    width: 100%;
    height: auto;  
    padding: 0;
}
.brand .item .cont{
    position: relative;
    background-color: #FFF;
    border: solid 1px #DDD;
    border-width: 1px 1px 0 0;
    -webkit-box-shadow: 0px 12px 20px -13px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 12px 20px -13px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 12px 20px -13px rgba(0, 0, 0, 0.15);
}
.brand .cont .photo{
    text-align: center;
}
.brand .cont img {
    max-height: 100px;
}
/* 1人獨享超好買 */
.promo-limited-time{
    padding-left: 15px;
    padding-right: 15px;
}
.promo-limited-time .header{
    padding: 0 5px;
    /* margin-bottom: 10px; */
}
.promo-limited-time .sub-title{
    /* margin-bottom: 10px; */
}
.promo-limited-time .item{
    width: 100%;
    height: auto;  
    padding: 0 5px 5px;
}
.promo-limited-time .item .cont{
    position: relative;
    padding-bottom: 100%;
    background-color: #FFF;
    border: solid 1px #DDD;
    -webkit-box-shadow: 0px 12px 20px -13px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 12px 20px -13px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 12px 20px -13px rgba(0, 0, 0, 0.15);
}
.promo-limited-time .row .item .cont a img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    padding: 5px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 分享好友限時拚 */
.promo-shopping-guide{
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 575.98px) {
    .promo-shopping-guide .item{
        padding-left: 0px;
        padding-left: 5px;
        padding-right: 5px;
    }
}
.promo-shopping-guide .item{
    margin-bottom: 10px;
}
.promo-shopping-guide .item .promo-icon{
    margin-bottom: 5px; 
    text-align: left;
}
@media (max-width: 575.98px) {
    .promo-limited-time {
        padding-left: 0;
        padding-right: 0;
    }
    .promo-shopping-guide .groupbuy .ob_body {
        padding: 0;
    }
    .promo-shopping-guide .row{
        border: none;
    }
    .promo-shopping-guide .item{
        padding: 0;
        margin: 0;
    }
    .promo-shopping-guide .item .cont {
        position: relative;
        /*padding: 5px;*/
        border-top: 0;
        overflow: hidden;
    }
    .promo-shopping-guide .item .cont::before{
        position: absolute;
        left: 1px;
        top: -1px;
        display: inline-block;
        width: 5px;
        height: 1px;
        background-color: #FFF;
        content: "";
    }
    .promo-shopping-guide .item .cont::after{
        position: absolute;
        right: 1px;
        top: -1px;
        display: inline-block;
        width: 5px;
        height: 1px;
        background-color: #FFF;
        content: "";
    }
    .promo-shopping-guide .row:first-child .item:first-child .cont::before,
    .promo-shopping-guide .row:first-child .item:first-child .cont::after{
        display: none;
    }

    .promo-shopping-guide .item .cont .photo {
        float: left;
        margin: 0;
        padding: 0;
        width: 40%;
        height: auto;
    }

    .promo-shopping-guide .item .cont .photo img {
        position: relative;
        height: auto;
    }

    .promo-shopping-guide .item .cont .info {
        float: left;
        margin-left: 5%;
        padding: 0;
        width: 55%;
        height: auto;
    }

    .promo-shopping-guide .item .cont .info .desc{
        display: block;
        height: 38px;
    }
}

@media (max-width: 414px) {
    .promo-shopping-guide .item .cont .photo{
        width: 32vmin;
        height: 32vmin;
    }
    .promo-shopping-guide .item .cont .photo img{
        position: absolute;
        height: 100%;
    }
    .promo-shopping-guide .item .promo-icon{
        position: absolute;
        left: 5px;
        bottom: 2px;
        width: 32vmin;
        text-align: center;
    }
}
@media (max-width: 320px) {
    .promo-shopping-guide .item .cont .info .group-count{
        font-size: 13px;
    }
}
.promo-shopping-guide .product-defult .price-group{
    /*display: inline-block;
    width: calc(100% - 95px);
    text-align: left;*/
}
.promo-shopping-guide .product-defult .price-group .sale-price .txt{
    font-size: 15px;
}
.promo-shopping-guide .product-defult .price-group .fixed-price{
    font-size: 13px;
    text-decoration: none;
    display: block;
}
.promo-shopping-guide .filter{
    display: flex;
    margin-bottom: 10px;
    padding: 0 5px;
}
.promo-shopping-guide .filter select{
    width: 350px;
    height: 40px;
    border-color: #CCC;
    color: #999; 
}
.promo-shopping-guide .filter select + select{
    margin-left: 15px;
}
.promo-shopping-guide .item .cont .info .group-count i{
    position: relative;
    top: 7px;
    margin-right: 2px;
    color: #e61414;
}
.promo-shopping-guide .item .cont .info .desc a{
    text-align: left;
}
@media (max-width: 1220px) {  
    .promo-shopping-guide .grid .sale-price span{
        font-size: 17px;
    }
}
@media (max-width: 1100px) {  
    .promo-shopping-guide .grid .sale-price span{
        font-size: 14px;
    }
    .promo-shopping-guide .product-defult .price-group .sale-price .txt,
    .promo-section .grid .sale-price span.txt {
        font-size: 13px;
    }
    .promo-shopping-guide .btn-group-buy{
        width: 80px;
    }
    /*.promo-shopping-guide .product-defult .price-group{
        width: calc(100% - 85px)
    }*/
}
@media (max-width: 990px) {  
    .promo-shopping-guide .grid .sale-price span{
        font-size: 25px;
    }
    .promo-shopping-guide .btn-group-buy{
        width: 90px;
    }
    /*.promo-shopping-guide .product-defult .price-group{
        width: calc(100% - 95px)
    }*/
}
@media (max-width: 990px) {  
    .promo-shopping-guide .grid .sale-price span{
        font-size: 20px;
    }
}
@media (max-width: 880px) {  
    .promo-shopping-guide .grid .sale-price span{
        font-size: 13px;
    }
}
@media (max-width: 750px) {
    .promo-shopping-guide .grid .sale-price span{
        font-size: 23px;
    }
    .promo-shopping-guide .filter select{
        width: calc((100% - 15px) / 2);
    }
}
@media (max-width: 610px) {  
    .promo-shopping-guide .grid .sale-price span{
        font-size: 16px;
    }
}
@media (max-width: 575.98px) {
    .promo-shopping-guide .grid .sale-price span{
        font-size: 25px;
    }
    .promo-shopping-guide .product-defult .price-group{
        width: 100%;
    }
    .promo-shopping-guide .grid .info{
        text-align: left;
    }
    .promo-shopping-guide .filter{
        padding: 0;
    }
}


.promo-section .groupbuy .oh_head .see-more {
    margin-top: 30px;
    color: #fff;
    text-align: left;
}

.promo-section .groupbuy .see-more p{
    font-size: 14px;
    height: 40px;
    overflow: hidden;
}

.promo-section .groupbuy .oh_head .see-more a {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #fff;
    padding: 5px 15px;
}

.promo-section .groupbuy .oh_head .promo{
    font-size: 15px;
    color: #fff;
    margin-top: 10px;
}

@media (max-width: 991px) {
    .promo-section .groupbuy .oh_head .see-more {
        margin-top: 10px;
    }

    .promo-section .groupbuy .oh_head .see-more a{
        font-size: 15px;
    }

    .groupbuy .title {
        margin-top: 10px;
    }

    .groupbuy .catList {
        border: none;
    }

    .promo-good-shop .product-defult .price-group{
        height: 45px;
    }
}


    /* 今日新品 */
    .promo-discover {
        padding-left: 5px;
        padding-right: 5px;
    }
    .promo-discover .bodyer {
        margin-top: 5px;
    }
    .promo-discover .item {
        margin-bottom: 4px;
    }
    .promo-discover .item .cont {
        border: 1px solid #ddd;
    }
    .promo-discover .item .cont .info .price-group {
        position: relative;
        display: block;
        width: 100%;
        /*height: 40px;*/
    }
    /*
    .promo-discover .item .cont .info .price-group .fixed-price {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
    */

    .promo-discover .product-defult .sale-price span {
        display: inline-block;
    }

    @media (min-width: 992px) {
        .promo-discover .item {
            padding-left: 0px;
            padding-left: 5px;
            padding-right: 5px;
        }
    }

    @media (max-width: 991.98px) {
        .promo-discover .item {
            padding-left: 2px;
            padding-right: 0px;
        }

        .promo-discover .item:nth-child(odd) {
            padding-left: 0px;
            padding-right: 2px;
        }

        .promo-limited-time .header,
        .promo-shopping-guide .header,
        .exclbuy .header {
            padding: 0 5px;
        }
    }

    @media (max-width: 576px) {
        .promo-section .header,
        .promo-good-shop .header,
        .promo-recommend .header,
        .exclbuy .header {
            /*height: 100%;*/
            margin: 20px 0 8px 0;
        }

        .promo-recommend .sub-title > span,
        .brand .sub-title > span,
        .exclbuy .sub-title > span,
        .promo-shopping-guide .sub-title > span,
        .promo-limited-time .sub-title > span{
            line-height: inherit;
            padding: 0 8px;
        }

        .sub-title span {
            font-size: 22px;
        }

        .sub-title .action-word {
            font-size: 28px;
        }

        .promo-section .countdown-section {
            margin: -15px 0 0 15px;
        }
    }



    /* 猜你喜歡&今日新品 + 頁籤 千人千面改版 */
    .promo-discover {
        margin-top: 15px;
    }

    .promo-discover .dot {
        border-bottom: 3px solid #de002a;
        overflow: hidden;
    }

    .promo-discover .dot li {
        float: left;
        margin-right: 20px;
    }

    .promo-discover .dot .sub-title span {
        cursor: pointer;
        padding: 10px;
    }

    .promo-discover .product-defult .fixed-price{
        display: block;
        /*margin-right: 2px;*/
    }

    @media (max-width: 350px) {
        .promo-discover .dot .sub-title span {
            font-size: 22px;
        }
    }

    .promo-discover .ad {
        clear: both;
    }
    /* 猜你喜歡&今日新品 active */
    /* 首頁 */
    .promo-discover .dot .active span {
        color: #fff;
        background: #de002a;
        border-radius: 5px 5px 0 0;
    }
    /* 搜尋頁 NOT FOUND 標題 */
    #searching .promo-discover .header {
        margin-left: 7px;
    }
    #searching .promo-discover .dot {
        border-bottom: none;
    }
    #searching .promo-discover .dot .active span {
        display: inline;
        font-size: 20px;
        background: #f5f5f5;
        color: #000;
        border-radius: 0;
        border-left: 5px solid #df0037;
        padding: 5px;
    }
    /* reset */
    #searching .promo-discover {
         /*padding: 0;*/
    }
    @media (max-width: 991.98px) { 
        #searching .promo-discover .item:nth-child(odd) { 
            /*padding-left: 5px;
            padding-right: 5px;*/
        }
        .promo-discover .product-defult .sale-price {
            display: block;
        }
    }

    /* reset */
    .promo-discover .header {
        margin: 0;
    }
    .promo-discover .sub-title span {
        padding-left: 0;
        font-size: 24px;
    }

    /*mobile fixed footer*/
    footer {
        width: 100%;
        position: fixed;
        bottom: 0;
        z-index: 990;
    }

    .fixed-footer {
        overflow: hidden;
        /* display: flow-root; */
        background-color: #fff;
        padding: 10px 0;
    }

    .fixed-footer > ul {
        display: flex;
        /* width: 293px;
            margin: 0 auto; */
    }

    .fixed-footer ul li {
        /*width: 25%;
        float: left;*/
        text-align: center;
        flex: 1;
        height: 50px;
        /* margin: 0 5px; */
    }

    .fixed-footer a {
        display: block;
        position: relative;
        background-position-x: center;
        background-repeat: no-repeat;
        padding-top: 30px;
    }

    .fixed-footer a i {
        position: absolute;
        top: 10px;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }


    @media (min-width: 992px) {
        .fixed-footer {
            display: none;
        }
    }
    /*PC footer*/
    footer .footer {
        display: none;
        color: #ffa8bd;
        text-align: center;
        background-color: #e61414;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-top: 20px;
    }

    footer .footer li a,
    footer .footer li a:link,
    footer .footer li a:visited {
        color: #FFF;
    }

    footer .footer li a:hover {
        color: #ffa8bd;
    }

    footer .footer li {
        margin: 0px auto 20px auto;
    }

    @media (min-width: 992px) {
        footer {
            position: relative;
        }

        footer .footer {
            display: block;
        }

        footer .footer li {
            display: inline-block;
        }

        footer .footer li a {
            border-right: solid 1px #ffa8bd;
            padding-right: 3px;
        }

        footer .footer li:last-child a {
            border-right: none;
        }

        footer .footer .app-link li {
            margin: 15px;
        }

        footer .footer .app-link li a {
            border: 0;
        }
    }

    .back-to-top:hover::before {
        -webkit-animation: toUpFromUnder 0.5s forwards;
        -moz-animation: toUpFromUnder 0.5s forwards;
        animation: toUpFromUnder 0.5s forwards;
        color: #ffffff;
    }

    .back-to-top.show {
        display: block !important;
    }
    

    /* 首頁動態載入 */
    .loader {
        background: url(../_images/spinner/pacman.png) no-repeat center center;
        background-size: 85px auto;
        width: 100%;
        height: 90px;
        clear: both;
        opacity: 1;
    }

    @media (max-width: 414px) {
        .loader {
            height: 65px;
            bottom: -65px;
            background-size: auto 65px;
            background-position: center top;
        }
    }

    
