html{
    scroll-behavior: smooth;
}

:root{
    --light: #42a995;
    /* --light: #aa3030; */
    --soft: #faf8f5;
    --dark:#3F3F3F;
    --lemon:#f9c40a;
}

.ny-info{
    font-family: '微軟正黑體', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ce1b1b;
    background-color: #fffedc;
    padding: 2px 15px;
}

.info-dialog, .info-dialog .modal-footer{
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.info-dialog .bootstrap-dialog-header{
    width: 100%;
}



ul li{
    list-style: none;
}

a{
    cursor: pointer;
}

body.offcanvas #colorlib-aside{
    /*過年 background: url(../img/year-bg.png); */
    background-color: var(--soft);
    overflow-y: auto;
    padding-bottom: 100px;
    width: 100%;
    
}

body.offcanvas .colorlib-nav-toggle{
    transform: unset;
}

.nav-close, .sp-logo-wrap, .sp{
    display: none;
}

.sp-logo{
    width: 50px;
    height: 50px;
}


#colorlib-main{
    padding:0px;
    min-height: 700px;
}



/*#colorlib-aside #colorlib-main-menu ul li a{
    color: #fff; 過年
}*/

/*nav*/
#colorlib-aside #colorlib-main-menu ul li{
    font-size: 17px;
    margin: 0 0 15px 0;
}
.dropdown-submenu a{
    font-size: 16px;
}


#colorlib-aside {
    /*background: url(../img/year-bg.png);過年*/
    /*overflow-x: hidden;過年*/
    background-color: var(--soft);
     border-right: 1px solid #e3e3e3; /*原版 */
}


/* #colorlib-aside::before{
    position: absolute;
    content: '';
    background: url(../img/year-bg-deco.png) no-repeat;
    background-size: contain;
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
} 過年*/

#colorlib-top{
    width: 100%;
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.622);
    z-index: 99;
}

.head-top{
    justify-content: end;
    padding-right: 60px;
    padding-top: 17px;
    padding-bottom: 5px;
}

.head-top a{
    color: var(--dark);
    font-size: 20px;
}

h1 span{
    display: none;
}

/* .dropdown-menu{
    position: unset !important;
    float: unset !important;
    transform: translate3d(0px, 0px, 0px) !important;
    background-color: unset !important;
    border: unset !important;
} */

.dropdown-submenu {
    position:relative;
    padding-left: 20px !important;
}
.dropdown-submenu > .dropdown-menu {
    padding-left: 25px !important;
}

.dropdown-toggle::after{
    border-top: unset; 
    bottom: 3px !important;
}

.dropdown-item{
    width: max-content;
    padding: 5px 0 !important;
}

.dropdown-item::after{
    bottom: 3px !important;
}

.dropdown-item:active{
    background-color: transparent !important;
}

.dropdown-item.active, .dropdown-item:active{
    background-color: transparent !important;
}

.head-search .dropdown-toggle::after {
    display: none;
}

.head-search{
    margin-right: 12px;
}
.head-search .dropdown-menu{
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}


/*首頁*/

.no-pd{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 20px;
    margin-left: 9%;
}

.cart-icon-wrap{
    position: relative;
}

.cart{
    position: relative;
    transition: .3s;
    margin-left: 1rem;
}

.cart-quantity{
    position: absolute;
    top: -10px;
    right: -12px;
    font-size: 15px;
    text-align: center;
    width: 20px;
    height: 20px;
    background-color: var(--light);
    border-radius: 50%;
    line-height: 20px;
    color: #fff;
}

.cart-inner{
    position: absolute;
    width: 300px;
    padding: 15px;
    background-color:#fff;
    right: 0;
    display: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    z-index: 9999;
}
.cart-inner-info{
    width: 120px;
}

.cart-inner-info p:nth-child(1){
    overflow:hidden;
white-space: nowrap;
text-overflow: ellipsis;
}




#colorlib-slick-wrap{
    width: 100%;
    position: relative;
    margin-top: 59px;
}

.ftco-section{
    min-height: 650px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
}

#left-arrow, #right-arrow{
    position: absolute;
    z-index: 10;
    top: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    transform: translateY(-50%);
}
#left-arrow{
    left: 30px;
}
#right-arrow{
    right: 30px;
}

.slick-arrow.slick-hidden{
    display: none !important;
}

#item-left-arrow, 
#item-right-arrow,
#new-item-right-arrow,
#new-item-left-arrow
{
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ababab;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ababab;
    transition: .3s;
}

#item-left-arrow:hover, 
#item-right-arrow:hover,
#new-item-right-arrow:hover,
#new-item-left-arrow:hover{
    background-color: var(--light);
    border: 2px solid var(--light);
    color: #fff;
}

.hotsale h4, .newsale h4{
    letter-spacing: 4px;
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
}

.hotsale h4::before, .newsale h4::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 50px;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%,-50%);
    opacity: 0.4;
}

.hotsale h4::before{
    background: url(../img/hot-title.png) no-repeat center /contain;
}
.newsale h4::before{
    background: url(../img/new-title.png) no-repeat center /contain;
}

.slick-item-info p, .shop-item-info p{
    margin-bottom: 4px;
    font-size: 18px;
}

.newsale{
    margin-top: 80px;
}

.item-slick-inner a {
    color: var(--dark);
}

.slick-item-pic{
    overflow: hidden;
}

.slick-item-pic img{
    transition: .3s;
    height: 200px;
    object-fit: contain;
}

.item-slick-inner a:hover .slick-item-pic img{
    transform: scale(1.05);
}

.slick-slide{
    height: unset !important;
}

.index-line{
    position: relative;
}

/*過年
.index-line::before{
    position: absolute;
    content: '';
    background: url(../img/deco1.png) no-repeat center / contain;
        width: 162px;
    height: 115px;
    top: -88px;
    left: 0;
}*/

.index-line::before{
    position: absolute;
    content: '';
    background: url(../img/yama1.png) no-repeat center / cover;
    width: 200px;
    height: 53px;
    top: -51px;
    left: 0;
} 

.index-line::after{
    position: absolute;
    content: '';
    background: url(../img/yama2.png) no-repeat center / cover;
    width: 292px;
    height: 50px;
    top: -39px;
    right: -8px;
}
/* .index-line::after{
    position: absolute;
    content: '';
    background: url(../img/deco2.png) no-repeat center / contain;
    width: 160px;
    height: 115px;
    top: -80px;
    right: -16px;
} 過年*/
.hotsale{
    position: relative;
    padding-bottom: 40px;
}

.hotsale::after{
    position: absolute;
    content: '';
    background: url(../img/tori.png) no-repeat center /cover;
    width: 70px;
    height: 90px;
    bottom: 0;
    right: 70px;
    animation: swing2 linear 6s infinite;
    -moz-animation: swing2 linear 6s infinite;
    -webkit-animation: swing2 linear 6s infinite;
    -ms-animation: swing2 linear 6s infinite;
    -o-animation: swing2 linear 6s infinite;
} 

@-moz-keyframes swing2 {
    0% { -moz-transform: rotate(0deg) }
    25% { -moz-transform: rotate(-5deg); }
    50% { -moz-transform: rotate(0deg); }
    75% { -moz-transform: rotate(5deg); }
    100% { -moz-transform: rotate(0deg); }
  }
  @-webkit-keyframes swing2 {
    0% { -webkit-transform: rotate(0deg); }
    25% { -webkit-transform: rotate(-5deg); }
    50% { -webkit-transform: rotate(0deg); }
    75% { -webkit-transform: rotate(5deg); }
    100% { -webkit-transform: rotate(0deg); }
  }    
  @-o-keyframes swing2 {
    0% { -o-transform: rotate(0deg); }
    25% { -o-transform: rotate(-5deg); }
    50% { -o-transform: rotate(0deg); }
    75% { -o-transform: rotate(5deg); }
    100% { -o-transform: rotate(0deg); }
  }
  @-ms-keyframes swing2 {
    0% { -ms-transform: rotate(0deg); }
    25% { -ms-transform: rotate(-5deg); }
    50% { -ms-transform: rotate(0deg); }
    75% { -ms-transform: rotate(5deg); }
    100% { -ms-transform: rotate(0deg); }
  }
  @keyframes swing2 {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
  }



.bottom-wrap{
    width: 80%;
    margin-left: auto;
}  


footer{
    width: 80%;
    margin-left: auto;
    padding: 20px 40px;
    background: url(../img/footer-bg2.png) no-repeat center 60% /cover;
}

.footer-content{
    border-radius: 10px;
    padding: 20px 60px;
    align-items: center;
}

.footer-logo{
    width: 250px;
}



.footer-content p{
    margin-bottom: 0;
    font-size: 14px;
    line-height: 22px;
}

.footer-content a{
    color: var(--dark);
}

.footer-content ul{
    padding-left: 0px;
    margin-bottom: 0;
}

.footer-inner{
    width: 70%;
}

.footer-right{
    justify-content: space-between;
}

.all-right{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e3e3e3;
    text-align: right;
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-link a{
    margin-left: 20px;
    font-size: 22px;
}

.footer-page-link a{
    margin-left: 12px;
}

.footer-link a:hover, .footer-page-link a:hover{
    color: var(--light);
    
}

.clear{
    clear: both;
}

#search{
    float: right;
    background-color: var(--soft);
    height: 40px;
    border-radius: 40px;
    padding: 10px;
    display: flex;
    align-items: center;
}

#search:hover > .search-txt{
    width: 240px;
    padding: 0 6px;
}

.search-btn{
    color: var(--dark);
    width: 20px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.search-txt{
    border: none;
    background: none;
    padding: 0;
    color: var(--dark);
    font-size: 16px;
    transition: .4s;
    width: 0px;
}
.search-txt:focus{
    border: none !important;
    padding: 0;
    outline: 0;
}

.item{
    margin: 0 20px;
}


.item-btn{
    text-align: center;
}

.addtocart{
    display: block;
    padding: 4px 12px;
    border: 1px solid #ababab;
    transition: .3s;
    font-size: 15px;
    color: var(--dark);
    border-radius: 5px;
}
.addtowish{
    margin-left: 24px;
    color: var(--dark);
}

.addtocart:hover{
    background-color: var(--light);
    border: 1px solid var(--light);
    color: #fff;
}

.shop-icon{
    background: var(--soft);
    background-image: linear-gradient(#ffffff 1px, transparent 0), linear-gradient(90deg, #ffffff 1px, transparent 0);
    background-position: center center;
    background-size: 20px 20px;
    margin-top: 130px;
    padding: 20px 15px;
    position: relative;
}

.shop-icon::after{
    content: '';
    position: absolute;
    /*background: url(../img/year-title.png) no-repeat center /cover;過年*/
    background: url(../img/s-title.png) no-repeat center /cover; 
    width: 243px;
    height: 53px;
    top: -40px;
    left: 50%;
    transform: translate(-50%, 0%)
}
.shop-icon .row{
    justify-content: space-evenly;
    background-color: #fff;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 5px;
}

.shop-icon .row div{
    width: 15%;
    transition: .3s;
}

.shop-icon .row div:hover{
    transform: translateY(-10px);
}

.fraud{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    width: 100%;
    /*過年 background: url(../img/yf-bg.jpg) no-repeat center  /cover; */
    background: url(../img/fraudbg1.jpg) no-repeat center bottom /cover;
  }
  
  .f-img{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }

  .f-img .sm{
    display: none;
  }

/*shop-page------------------------------*/
.breadcrumb-wrap{
    margin-top: 60px;
}

.breadcrumb{
    background-color: transparent;
    font-size: 15px;
    letter-spacing: 2px;
    
}

.breadcrumb a{
    color: var(--dark) !important;
} 

.breadcrumb a:hover{
    color: var(--light) !important;
}
.breadcrumb li{
    position: relative;
    margin-right: 16px;
    margin-left: 8px;
}

.breadcrumb li + li::before{
    content: '';
    position: absolute;
    width: 1px;
    height: 50%;
    background: var(--dark);
    top: 6px;
    left: -12px;
}

.shop-container{
    padding: 10px 60px;
}


.shop-item{
    color: var(--dark);
}

.shop-item:hover{
    color: var(--dark);
}

.shop-item-wrap{
    margin-bottom: 30px;
}

.shop-item-pic{
    width: 100%;
}

.shop-item-pic img{
    height: 200px;
    object-fit: contain;
}



/*商品內頁-------------------------------*/
.product-left{
    width: 38%;
}
.product-right{
    width: 50%;
}

.slick-lightbox-close:before{
    font-family: 'FontAwesome';
    content: '\f00d';
}

.slick-prev:before{
    font-family: 'FontAwesome';
    content: '\f053';
    z-index: 10;
}

.slick-next:before{
    font-family: 'FontAwesome';
    content: '\f054';
}

.slick-prev, .slick-next{
    z-index: 10;
}

.slider-for .item{
    cursor: pointer;
}

.slider-for .item img{
    height: 400px;
    object-fit: contain;
}

.slider-nav-wrap{
    position: relative;
}

.slick-lightbox-slick-img{
    margin:  80px auto 0px auto;
}


#product-left-arrow, 
#product-right-arrow{
    position: absolute;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    top: 50%;
}

#product-left-arrow{
    left: 0;
}
#product-right-arrow{
    right: 0;
}

#specsbox .btn-outline-dark:hover{
    color: #fff;
    background-color: #343a40;
}


.product-top{
    justify-content: space-around;
}

.product-btn .input-group{
    border: 1px solid #ababab;
    width: 45%;
    border-radius: 4px;
} 

.product-btn .input-group #quantity{
    border: none !important;
    text-align: center;
}

.input-group-btn a{
    color: var(--dark) !important;
    padding: 0.375rem 0.75rem;
}

.product-btn .addtocart{
    margin-left: 30px;
    background-color: var(--lemon);
    color: #000;
    padding: 8px 30px;
    letter-spacing: 2px;
    transition: .3s;
    border: unset;
}

.product-btn .addtocart:hover{
    background-color: #daab00;
}

.addwishlist{
    color: var(--dark);
    font-size: 14px;
}

.default-product-btn{
    justify-content: center;
}

.default-product-btn .input-group{
    border: 1px solid #ababab;
    width: 30%;
    border-radius: 4px;
} 

.default-product-btn .input-group #quantity{
    border: none !important;
    text-align: center;
}


.default-product-btn .addtocart{
    margin-left: 30px;
    background-color: var(--lemon);
    color: #000;
    padding: 8px 30px;
    letter-spacing: 2px;
    transition: .3s;
    border: unset;
}

.default-product-btn .addtocart:hover{
    background-color: #daab00;
}


.product-description img{
    width: 50%;
}

/*相關商品*/
.rele-pro-wrap{
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
}


.rele-pro-item{
  margin-left: 20px;
  margin-right: 20px;
}
.rele-pro-info{
    margin-top: 10px;
    color: var(--dark);
}

.rele-pro-info p{
    margin-bottom: 0;
}

.rele-pro-pic img{
    height: 150px;
    object-fit: contain;
}

#rele-pro-right-arrow, #rele-pro-left-arrow{
    position: absolute;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ababab;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ababab;
    transition: .3s;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

#rele-pro-right-arrow{
    right: 0;
}

#rele-pro-left-arrow{
    left: 0;
}


#rele-pro-right-arrow:hover , #rele-pro-left-arrow:hover{
    background-color: var(--light);
    border: 2px solid var(--light);
    color: #fff;
}


/*登入頁面*/

.login, .fb-login, .signin{
    width: 70%;
    border-radius: 5px;
    height: 50px;
    font-size: 18px;
    text-align: center;
    line-height: 50px;
    letter-spacing: 2px;
}

.login{
    background-color: var(--light);
    color: #fff !important; 
}

.login:hover{
    background-color: #378e7d;
    color: #fff;
}

.fb-login, .fb-signin{
    background-color: #4267B2;
    color: #fff;
}

.fb-login:hover, .fb-signin:hover{
    background-color: #36548f;
    color: #fff;
}

.form-wrap{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}



.sign-wrap input, 
.sign-wrap select, 
.login-wrap input{
    font-size: 15px;
}

.signin{
    color: #000;
    background-color: var(--lemon);
}

.signin:hover{
    color: #000;
    background-color: #daab00;
}

.fb-signin{
    width: 50%;
    height: 40px;
    border-radius: 5px;
    line-height: 40px;
    text-align: center;
    letter-spacing: 1px;
}

.wrong-wrap{
    position: relative;
}

.wrong{
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translate(0% , -50%);
}

#register_form .city,
#register_form .district,
#register_form .zipcode{
    width: 33%;
}





/*會員中心*/
.form-control:focus, input:focus{
    border: 1px solid #abcae6 !important;
}

button{
    border: none;
}

.account .nav-link{
    padding: 0px ;
    margin-right: 30px;
    color: var(--dark);
    font-size: 17px;
    margin-left: 15px;
    border-bottom: 1px solid var(--dark);
}

.account .nav-pills .nav-link{
    border-radius: 0;
}

.account .nav-pills .nav-link.active, 
.nav-pills .show > .nav-link{
    color: var(--light);
    font-size: 17px;
    background-color: unset;
    border-bottom: 2px solid var(--light);
}

.log-out{
    color: var(--dark);
    border-radius: 5px;
    border: 1px solid var(--dark);
    padding: 4px 10px;
    font-size: 15px;
}

.log-out:hover{
    border: 1px solid var(--light);
    color: var(--light) !important;
}

.account .tab-content{
    margin-top: 60px;
    min-height: 300px;
}

.text-color{
    color: var(--light);
}

.account-modify{
    justify-content: space-between;
}


.modify{
    width: 50%;
    height: 40px;
    background-color: var(--light);
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 5px;
}

.modify:hover{
    background-color: #378e7d;
    color: #fff;
}


/*訂單查詢*/
.order-check{
    background-color: var(--light);
    color: #fff;
    padding: 4px 12px;
    border-radius: 5px;
}

.order-check:hover{
    background-color: #378e7d;
    color: #fff;
}

.account .table th, .orderlist .table th{
    border-top: unset;
    font-weight: bolder;
    /*過年 background-color: #aa303037; */
     background-color: #42a99433;
}

.account .pc.table tr:nth-child(odd){
	background-color:var(--soft);
}

#orderList .sp:nth-child(even){
    background-color: var(--soft);
}
 
.bolder{
    font-weight: bolder;
}
.tab-pane .sp{
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.orderlist-sm-table td{
    border: none;
}

.orderlist-sm-table td, .orderlist-sm-table th{
    padding: 0.5rem;
}

.wsp-n{
    white-space: nowrap;
}





/*願望清單*/
#wishlist ul{
    padding-left: 0;
}

.wishlist-li:not(:first-child) {
    border-top: 1px solid #e3e3e3;
}

.wishlist-li{
    position: relative;
}

.wishlist-delete{
    position: absolute;
    right: 0;
    font-size: 20px;
    color: var(--dark);
    top: 16px;
}

.wishlist-delete:hover{
    color: var(--light);
}

.wishlist-li .d-flex{
    align-items: center;
    justify-content: space-evenly;
}

.wishlist-pic{
    width: 180px;
}

.wishlist-name, .wishlist-price{
    color: var(--dark);
}

/*訂單明細*/


.list-pic{
    width: 100px;
}

.list-info{
    margin-left: 12px;
}

.list-info p{
    margin-bottom: 0px;
}

.orderlist .table td{
    vertical-align: middle;
}

.sp-table-bg, .bg{
    background-color: #fcfbf9;
}

.sp-table-bg td{
    border-top: unset;
    text-align: center;
}

.orderlist-count{
    display: flex;
    margin-left: auto;
    width: 200px;
}

.orderlist-count .table td{
    border-top: unset;
    padding: 1px;
}

.orderlist-detail{
    margin-top: 80px;
}

.orderlist-detail-inner{
    padding: 20px;
}






/*結帳第一步頁面*/
.checkout-content{
    min-height: 400px;
}

.check-step p{
    font-size: 20px;
    letter-spacing: 1px;
}

.check-step p span{
    font-size: 28px;
}

.check-step.active p{
    color: var(--light);
}

.check-step.active p span{
    border-bottom: 2px solid var(--light);
}

.check-step-one table img{
    width: 140px;
}
.check-step-one table th{
    text-align: center;
}

.check-step-one table td{
    vertical-align: middle;
    text-align: center;
}

.check-list th{
    border-top: none !important;
    background-color: var(--soft);
}

.check-list #quantity{
    width: 55px;
    text-align: center;
    border: none;
}

.qty-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-wrap a{
    background-color: var(--soft);
}

.qty-wrap .minus{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    margin-right: 3px;
}

.qty-wrap .plus{
    margin-left: 3px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.check-list-delete{
    color: var(--dark);
}

.check-list-delete:hover{
    color: var(--light);
}


.check-list-smtable{
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    margin-bottom: 20px;
}

.check-list-smtable tr:first-child td{
    border-top: none;
}

.check-list-smtable ul{
    padding-left: 0px ;
}

.out-line, .next-step{
    width: 180px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
}

.out-line{
    border: 1px solid var(--dark);
    color: var(--dark);
}

.out-line:hover{
    color: var(--light);
    border: 1px solid var(--light);
}

.next-step{
    margin-left: 20px;
    background-color: var(--light);
    color: #fff;
}

.next-step:hover{
    background-color: #378e7d;
    color: #fff;
}

.checkout-list{
    padding-left: 12px;
    width: 240px;
}



/*結帳第二步頁面*/
.check-step-two-content{
    padding: 20px;
}

.check-step-two-content h5{
    padding: 0.2em;
    background-color: var(--soft);
    letter-spacing: 2px;
}
.store-pickup ul{
    padding-left: 0px;
    color: var(--dark);
    margin-bottom: 5px;
}

.check-step-two-content table td{
    padding: 0.45rem;
    border-top: none;
}

.total-count p{
    margin-bottom: 0px;
    font-size: 15px;
}

.total-count .total{
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.city-wrap, .district-wrap, .zipcode-wrap{
    width: 30%;
}

#zip0{
    justify-content: space-between;
}




.pay_card a{
    display: block;
    width: 200px;
    text-align: center;
}

.bg-light{
    padding: 10px;
}

.bg-light p{
    margin-bottom: 0;
}

.pay_remit span{
    font-size: 14px;
    color: var(--dark);
}


.custom-file-input:lang(en) ~ .custom-file-label::after{
    content: '瀏覽';
}

.check-out-btn{
    width: 180px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
    margin-left: 20px;
    background-color: var(--lemon);
    color: var(--dark);
    font-weight: 600;
}

.check-out-btn:hover{
    color: var(--dark);
    background-color: #daab00;
}

.btn-file{
    background-color: var(--light) !important;
    border-color:  var(--light) !important;
    color: #fff !important;
}

.btn-file span{
    color: #fff;
}

.fileinput-cancel-button{
    background-color: #e7e7e7 !important;
    border-color:  #ced4da !important;
}

/*購物車*/

.cart-inner{
    border-radius: 5px;
}


.cart-inner ul{
    max-height: 500px;
    overflow-y: auto;
    padding-left: 0;
}

.cart-inner-pic{
    width: 80px;
    border: 1px solid #faf8f5;
    border-radius: 5px;
}

.cart-inner-info p{
    font-size: 13px;
    margin-bottom: 0px;
    line-height: 20px;
    color: var(--dark);
}

.cart-inner-info span{
    font-size: 15px;
}

.cart-inner li{
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid #faf8f5;
}

.goto-checkout a{
    font-size: 15px;
    color: #fff;
    background-color: var(--light);
    padding: 4px 30px;
    border-radius: 5px;
}

.goto-checkout a:hover{
    background-color: #378e7d;
}

.cart-inner-total{
    font-size: 15px;
}

.cart-inner-total span{
    font-size: 18px;
}

#white-block{
    height: 46px;
}

#white-block, .fixed-bottom-wrap{
    display: none;
}


/*help*/

.help-wrap{
    padding: 0px 60px 20px 60px;
}

.help-page-title{
    /*background:  url(../img/year-title.png) no-repeat center /cover; 過年*/
     background:  url(../img/s-title.png) no-repeat center /cover;
    width: 260px;
    height: 57px;
    margin: 0px auto 60px;
}

.help-info{
    padding-top: 80px;
    
}

.help-info:not(:last-child){
    border-bottom: 1px dashed #e3e3e3;
}


.help-title{
    margin-bottom: 10px;
    font-size: 24px;
    letter-spacing: 2px;
    position: relative;
    font-weight: bolder;
}

.help-title::before{
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    /*過年 background-color: #aa303057; */
    background-color: #42a99461;
    top: -10px;
    left: -18px;
    z-index: -2;
}

.help-title::after{
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    top: -2px;
    left: -10px;
    z-index: -1;
}


/*分頁*/

.pagination{
    margin-top: 80px
}
.page-link{
    color: var(--dark);
}



.gift-money-wrap{
    display: none;
}


.page-item.active .page-link{
    background-color: var(--light);
    border-color: var(--light);
}
.page-link:hover{
    color: var(--light);
}

a:focus{
    color: var(--light);
}

/*RWD開始------------------------------------------------*/

@media (max-width: 1440px) {
    #colorlib-aside{
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

    .f-img{
        width: 60%;
    }

     .index-line::after{
        width: 250px;
        height: 43px;
        top: -32px;
        right: -8px;
    } 

    .index-line::before{
        width: 161px;
        height: 42px;
        top: -41px;
        left: 0;
    } 

    .hotsale::after{
        bottom: 0;
        right: 60px;
    }
}


@media (max-width: 1200px) {
 
}


/*col-MD版面*/
@media (max-width: 992px) {

    /* .colorlib-nav-toggle,.head-search .dropdown-toggle{
        color: #fff !important;
    } 過年*/

    #colorlib-aside::before{
        width: 350px;
        height: 350px;
        bottom: 0;
    }
    .qr-info{
        background-color: #faeb7a63;
        padding: 5px;
        font-size: 20px;
    }

    .gift-money-wrap{
        display: block;
    }

    .gift-money-wrap button{
        background-color: #e6abab;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .gift-money-wrap button i{
        font-size: 20px;
        color: #fff;
    }

    .no-pd{
        margin-left: 0;
    }

    .check-step-one table img{
        width: 100px;
    }

    .checkout-list {
        padding-left: 6px;
        width: 140px;
        font-size: 15px;
    }

    .check-list #quantity{
        width: 50px;
    }

    .check-list .input-group-btn a{
        padding: 0.375rem 0.5rem;
    }

    #colorlib-top{
        /* background: url(../img/year-bg.png); 過年*/
        background-color: var(--soft);
    }

    #colorlib-slick-wrap, footer, .bottom-wrap{
        width: 100%;
    }

  
    .nav-close{
        display: flex;
        justify-content: flex-end;
        font-size: 25px;
    }

    h1 a{
        width: 50%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .nav-close a{
        cursor: pointer;
    }

    .sp-logo-wrap{
        display: block;
        width: 50px;
    }

    #colorlib-aside{
        padding-top: 1em;
    }

    .head-top{
        padding-right: 30px;
        padding-left: 30px;
        padding-top: 10px;
        justify-content: space-between;
        align-items: center;
    }

    .colorlib-nav-toggle{
        position: unset;
        z-index: 9999;
        cursor: pointer;
        opacity: 1;
        padding: 0rem 0.75rem;
        -webkit-transition: 0.5s;
        -o-transition: 0.5s;
        transition: 0.5s;
        font-size: 24px !important;        
    }

    .sign-wrap{
        margin-top: 30px;
        padding-top: 40px;
        border-top: 1px dashed #e3e3e3;
    }

    .c-r{
        margin-top: 60px;
    }

    .cart-inner{
        right: -20px;
    }
}




/*平板---------------------*/
@media (min-width:768px) and (max-width:1024px) {

    

    .shop-icon .row{
        justify-content: space-between;
    }

    .shop-icon .row div{
        width: 23%;
    }
    .f-img{
        width: 80%;
    }
    .default-product-btn .input-group {
        width: 33%;
    }

    .footer-top{
        background: transparent !important;
    }

     .index-line::after{
        width: 210px;
        height: 32px;
        top: -25px;
        right: -8px
    } 

    .index-line::before{
        width: 128px;
        height: 33px;
        top: -31px;
        left: 0;
    }

    .hotsale::after{
        width: 60px;
        height: 73px;
        bottom: 0;
        right: 45px;
    }


}


/*手機---------------------*/
@media (max-width:767px) {

    .rele-pro-item{
        margin-left: 15px;
        margin-right: 15px;
    }

    .product-description img{
        width: 80%;
    }

    #fb-root{
        display: none;
    }

    p{
        font-size: 16px;
    }

    .pc{
        display: none;
    }
    .sp{
        display: block;
    }

    .f-img .sm{
        display: block;
    }

    .fraud{
        height: 400px;
    }

    .f-img{
        width: 40%;
    }

    .top-user, .cart-icon-wrap{
        display: none;
    }

    .head-search{
        margin-right: 0px;
    }

    .head-search input{
        width: 140px;
    }

    h1 a{
        width: 60%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    h3{
        font-size: 24px;
    }

    h4{
        font-size: 22px;
    }

    #white-block, .fixed-bottom-wrap{
        display: block;
    }

    .fixed-bottom{
        border-top: 1px solid #f3f3f3;
        background-color: var(--soft);
    }

    .fixed-bottom ul{
        display: flex;
        margin-bottom: 0px;
        justify-content: space-evenly;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 6px;
    }
    
    .fixed-bottom ul li a{
        display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
       color: #3F3F3F;
    }

    .fixed-bottom ul li a:hover{
        color: var(--light);
    }

    .fixed-bottom ul li a span{
        font-size: 13px;    
    }

    footer{
        padding: 10px;
    }

    .footer-content{
        padding: 15px 20px;
    }
    
    .footer-content p{
        font-size: 13px;
    }

    .footer-top{
        flex-direction: column;
        align-items: center;
        background: transparent !important;
    }

    .footer-right{
        margin-top: 20px;
        align-items: center;
    }

    .footer-page-link a, .footer-link a{
        margin: 0px 6px;
    }

    .footer-page-link a{
        font-size: 14px;
    }

    .logo-info{
        text-align: center;
    }
    .all-right{
        text-align: center;
        letter-spacing: 0px;
        font-size: 12px;
    }

    .breadcrumb{
        padding-left: 1rem !important;
        padding-top: 1.5rem !important;
    }


    .shop-icon .row div{
        width: 35%;
    }

    .shop-container {
        padding: 10px 20px;
    }


    .index-line::before{
        display: none;
    }

    .hotsale{
        margin-bottom: 90px;
    }

    .hotsale::after {
        bottom: -70px;
        right: 60px;
    }

    .cart{
        margin-left: 0px;
    }

    /*商品頁*/
    .product-top, .product-btn{
        flex-direction: column;
    }

    .product-btn .input-group{
        width: 100%;
    }

    .product-btn .addtocart{
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
    }

    .product-left, .product-right{
        width: 100%;
    }
    
    .product-right{
        margin-top: 30px;
    }

    .check-step p{
        font-size: 18px;
    }
    .check-step span{
        font-size: 24px;
    }

    .form-wrap{
        width: 96%;
    }
}

/*小手機---------------------*/
@media (max-width:576px) {

    #colorlib-aside::before{
        opacity: 0.3;
        
    }

    .product-description img{
        width: 100%;
    }



    .slider-for .item img{
        height: 200px;
        object-fit: contain;
    }

    h1 a{
        width: 80%;
    }

     /* .index-line::after {
        width: 200px;
        height: 100px;
        top: -25px;
        right: -6px;
    }  */
     /* .index-line::after {
        width: 100px;
        height: 80px;
        top: -47px;
        right: -6px;
    } 過年*/
    .hotsale::after {
        bottom: -71px;
        right: 35px;
        height: 62px;
        width: 56px;
    }

    .addtowish i{
        margin-top: 6px;
    }

    .ftco-section{
        padding-right: 10px;
        padding-left: 10px;
    }
    .container-fluid{
        padding-left: 5px;
        padding-right: 5px;
    }

    #search:hover > .search-txt{
        width: 150px;
        padding: 0 6px;
    }

    .head-top {
        padding-right: 20px;
        padding-left: 20px;
        
    }

    .shop-item-pic img{
        height: 150px;
        object-fit: contain;
    }

  

    /*首頁*/


    .shop-container {
        padding: 10px 5px;
    }

    .slick-item-info-name, .shop-item-info-name{
        font-size: 15px;
        overflow : hidden;
        text-overflow : ellipsis;
        white-space : nowrap;
        width : 100%;
    }

    .item{
        margin: 12px;
    }

    

    .item-btn{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .addtocart{
        padding: 4px 8px;
        border: 1px solid #ababab;
        transition: .3s;
        font-size: 14px;
        color: var(--dark);
        border-radius: 5px;
    }

    .shop-icon::after{
        width: 170px;
        height: 40px;
        top: -27px;
    }

    .fraud{
        height: 380px;
    }

    .f-img{
        width: 60%;
    }
    
    /*商品頁*/
    .product{
        padding: 0px 5px;
    } 

    .default-product-btn{
        flex-direction: column;
        align-items: center;
    }

    .default-product-btn .input-group{
        width: 80%;
    }

    .default-product-btn .addtocart{
        margin-left: 0px;
        margin-top: 20px;
        width: 80%;
        text-align: center;
    }


    /*註冊頁*/
    .login, .fb-login, .signin{
        width: 100%;
    }

    .fb-signin {
        width: 70%;
    }

    /*會員中心*/
    .menber-info p{
        font-size: 15px;
    }

    .account .nav-pills .nav-link.active, 
    .nav-pills .show > .nav-link,
    .account .nav-link {
        font-size: 15px;
    }

    

   

    .c-r{
        margin-top: 60px;
    }

    .modify {
        width: 70%;
    }

    .wishlist-pic {
        width: 100px;
    }
    .wishlist-delete {
        top: 6px;
    }

    /*結帳頁*/
    .check-step-wrap{
        flex-direction: column;
        align-items: center;
    }

    .check-step-two-content{
        padding: 0px;
    }

    /*購物說明頁*/
    .help-page-title{
        width: 230px;
        height: 52px;
       
    }

    .help-info{
        padding: 60px 15px 30px 15px;
    }
    

}


@media (max-width:400px) {

 


    .f-img {
        width: 85%;
    }
    .city, .district, .zipcode{
        font-size: 15px;
    }

    #rele-pro-right-arrow, #rele-pro-left-arrow{
        position: absolute;
        cursor: pointer;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid #ababab;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #ababab;
        transition: .3s;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
    }
    
    #rele-pro-right-arrow{
        right: -10px;
    }
    
    #rele-pro-left-arrow{
        left: -10px;
    }
    



}



@media (max-width:351px) {
    #colorlib-slick-wrap{
        margin-top: 59px;
    }
    
}

/* 手勢 */
.cursor-pointer{
	cursor: pointer;
}
.form-check-label{	
	cursor: pointer;
}


.count-bg{
    /*過年 background: #aa303037; */
    background: #98d5c840;
}