/*列表頁*/
.products-list{display: flex;flex-wrap: wrap;}
.products-list .product-item{margin-right: 30px;margin-bottom: 40px;width: 295px;}
.products-list .product-item:nth-child(4n){margin-right: 0px;}
.products-list .product-item .photobox{overflow: hidden;}
.products-list .product-item a.photo{display: block;background-size: cover;width: 100%;transition: ease .6s;}
.products-list .product-item a.photo:hover{transform: scale(1.2);}
.products-list .product-item .info{padding: 15px;background-color: #fff;}
.products-list .product-item .title{margin-bottom: 5px;transition: ease .3s;-webkit-line-clamp: 1;width: 100%;text-align: center;border-bottom: dotted 1px #d4d4d4;padding: 8px 0;font-weight: 500;font-size: 20px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.products-list .product-item .price {font-size: 14px;display: flex;align-items: center;}
.products-list .product-item .price .dollar{vertical-align: baseline;}
.products-list .product-item .saleprice .dollar{color: red;font-size: 18px;}
.products-list .product-item .old{text-decoration: line-through;}
.products-list .product-item .saleprice{padding-bottom: 4px;}
.products-list .product-item .line{margin: 0 10px;width: 1px;background: #eee;display: inline-block;height: 15px;vertical-align: text-top;}
.products-list .product-item .btn{text-align: center;}
.products-list .product-item a.more{display: inline;transition: ease .3s;padding: 3px 8px;border: 1px solid #e8e8e8;border-radius: 11px;background-color: #fff;color: #868686;font-size: 12px;font-weight: 700;}
.products-list .product-item:hover .title{color: #adadad;}
.products-list .product-item a.more:hover{background: #929292;color: #fff;}





/* products-detail sub-pro-img */
#products-detail{padding-bottom: 80px;}
#products-detail .sub-pro-img {width: 47%;display: inline-block; position: relative; }
#products-detail .sub-pro-img .slick-slider { margin-bottom: 0; }
#products-detail .sub-pro-img .slick-slide { transition: none; }
#products-detail .sub-pro-img .slick-slide p { overflow: hidden; background-position: 50%; background-repeat: no-repeat; background-size: auto 100%; background-color: #fff; display: block; }
#products-detail .sub-pro-img .slick-slide p img { width: 100%; }
#products-detail .sub-pro-img .slick-arrow { width: 85px; height: 85px; background: url(/images/13/img-arrow-bg.png) no-repeat center; background-size: 100%; z-index: 999; }
#products-detail .sub-pro-img .slick-prev:before ,
#products-detail .sub-pro-img .slick-next:before { font-size: 23px; font: normal normal normal 14px/1 FontAwesome; color: #254899; content: "\f053"; }
#products-detail .sub-pro-img .slick-next:before { content: "\f054"; }

/* products-detail productInfo */
#articleBox .productInfo .title{font-size: 28px;font-weight: bold;}

#products-detail .productInfo {width: 45%;display: inline-block;  margin: 0 10px 35px; padding: 10px 10px 10px 60px; }
#products-detail .productInfo span.cat {font-size: 14px;color: #7b7b7b;border-radius: 12px;padding: 1px 7px;border: 1px solid #dcdcdc;}
#products-detail .productInfo h2 { font-size: 27px; color: #333; }
#products-detail .productInfo article{padding-top: 15px;}
#products-detail .productInfo a.more,#products-detail .productInfo a#buy {transition: ease .3s;  margin: 15px 0; padding: 5px 30px; background: #0d3275; display: inline-block; color: #fff; }
#products-detail .productInfo .btn a.more > span{background: #0d3275;}
#products-detail .productInfo a#buy {background: #E33339; }
.btn a:hover{opacity: .9;}
.btn a#buy > span {background: #E33339;}
.btn a#buy:hover > span{ background: #E33339; }
#products-detail .productInfo a#buy i,#products-detail .productInfo a.more i { margin-left: 6px; vertical-align: baseline; }
#products-detail .productInfo .price { display: block; color: #3f3f3f; font-size: 18px; }
#products-detail .productInfo .price p { display: inline-block; vertical-align: baseline; }
#products-detail .productInfo .price p.old { margin-right: 10px; font-size: 15px; text-decoration: line-through; color: #858585; }
#products-detail .productInfo .price b { font-size: 20px; margin: 0 2px 0 10px; color: #e42d2d; }
#products-detail .productInfo .price p.old b { font-size: 15px; font-weight: normal; margin: 0; color: #858585; }
#products-detail .productInfo .orderfunction input[type="number"] { padding: 0 ; width: 60px;text-align: center;border-bottom: 1px solid #000; }
.orderfunction .aday.add,.orderfunction .ask{display: inline-block;}
.orderfunction .aday.add{padding-right: 15px;}

/* productInfo */
#productTab { margin: 10px; }
#productTab ul.tabs li { margin-right: 10px; display: inline-block; }
#productTab ul.tabs li:hover a{color: #79551a;}
#productTab ul.tabs li:hover a::after{background: #79551a;}
#productTab ul.tabs li.active a { color:#fff;}
#productTab #tabs_container .tab_content { overflow: hidden; padding: 20px; background: #eee; box-shadow: 7px 5px 10px -2px rgba(0,0,0,.1); }

#productTab ul.tabs li a {overflow: hidden; position: relative; padding: 10px 30px;  display: block; color: #74777b; }
#productTab ul.tabs li a::after{
	position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: #d2d8d6;
    content: '';
    -webkit-transition: background-color 0.3s, -webkit-transform 0.3s;
    transition: background-color 0.3s, transform 0.3s;
    -webkit-transition-timing-function: ease, cubic-bezier(0.7,0,0.3,1);
    transition-timing-function: ease, cubic-bezier(0.7,0,0.3,1);
    -webkit-transform: translate3d(0,100%,0) translate3d(0,-3px,0);
    transform: translate3d(0,100%,0) translate3d(0,-3px,0);
}
#productTab ul.tabs li.active a::after{
	background: #79551a;
	-webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

/* other-product */
#other-product{margin-top: 80px;padding-bottom: 0px;}
#other-product .entitle{padding: 20px 0 35px;text-align: center;}
#other-product .entitle p{display: inline-block; text-align: center;font-family: 'Roboto',sans-serif;font-size: 32px;position: relative;}
#other-product .entitle p::after{content: "";position: absolute;left: 50%;bottom: 13px;transform: translateX(-50%) skew(30deg, 0deg);width: 100%;height: 7px;background: #dcdcdc;z-index: -1;}

#other-product .products-list .product-item{width: 30%;margin:0 15px;}


@media screen and (max-width: 1240px){
    .products-list .product-item{width: 31%;}
}
@media screen and (max-width: 1100px){
    .products-list .product-item{margin-right: 25px;}
}


@media screen and (max-width: 1024px) {
	#products-detail .sub-pro-img{width: 100%;margin: 0px;}
	#products-detail .productInfo{width: 100%;padding: 60px 0px 0px 20px;margin: 0px;}
	#articleBox{width: 100%;}
}
@media screen and (max-width: 960px){
	.products-list .product-item{margin-right: 20px;}
}
@media screen and (max-width:768px){
	.products-list{justify-content: space-between;}
    .products-list .product-item{width: 47%;margin-right: 0px;}
}
@media screen and (max-width: 640px) {
	ul.productList li{width: calc((100% / 2) - 7px )}
	ul.productList li:nth-child(2n+1){margin-left: 0px;}
	ul.productList li:nth-child(2n){margin-right: 0px;}
}
@media screen and (max-width: 480px) {
	.products-list .product-item{width: 100%;}
	#productTab ul.tabs li { margin: 10px 10px 0px 0px; }
	#productTab ul.tabs li a { padding: 10px 20px; }
    .orderfunction .aday.add, .orderfunction .ask{display: block;}
    #products-detail .productInfo a.more, #products-detail .productInfo a#buy{margin: 0px;}
}
