/* product_list */
.product_list ul li {margin: 0px 10px 0px;float: left;padding: 0px;box-sizing: border-box;width: calc((100% / 4) - 20px);background: #f8f8f8;display: inline-block;vertical-align: top;}
.product_list ul li .relat_box {margin: 0px;}
.product_list ul li .info_box { margin-top: 15px; }
.product_list ul li .info_box >* { width: 90%; text-align: center; }
.product_list ul li .info_box .price { margin: 0 auto; min-height: 28px; }
.product_list ul li .info_box .price font { display: inline-block; color: #494949; }
.product_list ul li .info_box .price font.old { margin-left: 10px; padding: 0 1px; text-decoration: line-through; font-family: 'Noto Sans TC', 'Noto Sans SC', sans-serif; font-weight: 300; font-size: 13px; color: #676767; }
.product_list ul{
    overflow: hidden;
}
.product_list ul li .textBox {
    pointer-events: none;
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    letter-spacing: 1px;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.product_list ul li .info_box.abso_box {height: auto;top: calc((80% - 240px) / 2);left: 0;position: absolute;width: 100%;height: 100%;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;}
.product_list ul li .info_box h4 {letter-spacing: 3px;height: 37%;display: inline;font-weight: 200;font-size: 18px;color: #fff;-webkit-writing-mode: vertical-lr;-ms-writing-mode: tb-lr;writing-mode: vertical-rl;letter-spacing: 3px;width: 8%;font-weight: 400;}
.product_list ul li .info_box article {margin: 20px auto 15px;width: 100%;color: rgb(255 255 255 / .7);line-height: 160%;font-size: 15px;-webkit-line-clamp: 2;opacity: 1;margin-top: 30px;height: 44px;font-size: 14px;font-weight: 400;color: #fff;padding-bottom: 15px;border-bottom: 1px solid rgba(255, 255, 255, 0.3);}
.product_list ul li .info_box .more_box {opacity: 0;color: #fff;}

.product_list ul li .relat_box >*{padding-bottom: 0px;background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgb(0 0 0 / 5%) 63%,rgb(0 0 0 / 22%) 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000',endColorstr='#a6000000',GradientType=0 );transition: all ease-in-out .3s;}

/* productdetail */
#productdetail { padding-bottom: 60px; text-align: center; }
#productdetail .row {width: 50%;display: inline-block;}

/* productdetail imglist */
#productdetail #imglist {position: relative;margin-right: 50px;padding: 0 50px;width: calc(50% - 260px);}
#imglist a { display: block; }
#imglist a img {width: 100%;height: 580px;}
#imglist .btn a { position: absolute; width: 26px; height: 26px; border: solid #444; display: block; top: calc((100% - 26px) / 2); }
#imglist .btn a#product_prev { border-width: 1px 0 0 1px; transform: rotate(-45deg); left: 0; }
#imglist .btn a#product_next { border-width: 1px 1px 0 0; transform: rotate(45deg); right: 0; }
#imglist .slick-dots li button:before { width: 12px; height: 12px; background: transparent; border: 1px #000 solid;  border-radius: 50%; text-align: center; opacity: 1; content: ""; }
#imglist .slick-dots li.slick-active button:before { background: #000; }

/* productdetail productinfo */
#basicInfo h2 {margin-bottom: 0px;font-size: 28px;text-align: center;font-family: 'Poppins', sans-serif;color: #535353;-webkit-box-align: center;-ms-flex-align: center;align-items: center;letter-spacing: 2px;font-style: inherit;font-weight: 500;}
#basicInfo .txt {margin-bottom: 15px;text-align: center;font-family: "Cormorant Garamond", "Noto Serif TC", serif;}
#basicInfo .txt font {font-family: "Cormorant Garamond", "Noto Serif TC", serif;font-size: 22px;}
#productinfo .txt >* { display: inline-block; vertical-align: unset; }
#productinfo .txt label { margin-right: 15px; width: 50px; }
#productinfo .txt font a {display: inline-block;color: #9c9c9c;}
#productinfo .price.txt font span { display: inline-block; font-size: 18px; vertical-align: unset; }
#productinfo .price.txt font span:first-child { margin-right: 10px; font-size: 13px; }
#productinfo .sell_box.txt font span { font-weight: 600; font-size: 25px; color: #2e2b2b; }
#basicInfo  article {margin-bottom: 30px;padding: 10px 170px 20px;border-bottom: 1px #ddd solid;font-weight: 500;font-size: 16px;color: #585858;text-align: center;}

/* orderfunction */
#productinfo #orderfunction { margin-bottom: 25px; }
#orderfunction a { position: relative; width: 25px; height: 25px; border: 1px #c2c2c2 solid; display: inline-block; }
#orderfunction a:before { position: absolute; width: 15px; height: 1px; background: #4b4b4b; display: block; top: calc((100% - 1px) / 2); left: 5px; content: ""; }
#orderfunction a[data-type="2"]:after { position: absolute; width: 1px; height: 15px; background: #4b4b4b; display: block; top: 5px; left: calc((100% - 1px) / 2); content: ""; }
#orderfunction input { width: 50px; display: inline-block; text-align: center; }

/* buyBtns */
.buyBtns a {padding: 15px 50px;color: #444;}
.buyBtns a.ask {background: #f5abbb;color: #fff;position: relative;}
.buyBtns a.ask:hover{
    background: #ef6986;
}
.buyBtns a.ask::after{
    content: '';
    width: 6px;
    height: 6px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    position: absolute;
    top: calc(50% - 3px);
    right: 22px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
.buyBtns a.ask:hover::after{
    border-color: #fff;
    -webkit-transition: all 0.4s 0.3s ease;
    -moz-transition: all 0.4s 0.3s ease;
    -o-transition: all 0.4s 0.3s ease;
    transition: all 0.4s 0.3s ease;
    -webkit-animation: btn_more_in2 0.7s 0.1s forwards ease;
            animation: btn_more_in2 0.7s 0.1s forwards ease;
  }
  @-webkit-keyframes btn_more_in2 {
    0% {
      opacity: 1;
      right: 22px;
    }
    20%{
      opacity: 0;
      right: 0;
    }
    60%{
      opacity: 0;
      right: 38px;
    }
    100% {
      opacity: 1;
      right: 22px;
    }
  }
  @keyframes btn_more_in2 {
    0% {
      opacity: 1;
      right: 22px;
    }
    20%{
      opacity: 0;
      right: 0;
    }
    60%{
      opacity: 0;
      right: 38px;
    }
    100% {
      opacity: 1;
      right: 22px;
    }
  }
/* productTabs */
#productTabs {padding-top: 0vw;}
#productTabs .tabs { margin: 0 0 40px; }
#productTabs .tabs li { width: calc((100% - 5px) / 4); border: #ddd solid; border-width: 1px 0 1px 1px; display: inline-block; }
#productTabs .tabs li:last-child { border-width: 1px; }
#productTabs .tabs li a { padding: 20px 10px; display: block; text-align: center; font-size: 18px; color: #000; }
#productTabs .tabs li.active a { background: #a8a8a8; color: #fff; }

/* community */
#community ul { margin: 5px 0 0; }
@media screen and (max-width: 1440px) {
.product_list ul li .img_box_cover img {/* height: 470px; */}
}

@media screen and (min-width: 1281px){
	#side_box ul.cate >li:hover >.subUL { display: block; }
	.product_list ul li:hover .relat_box:before  {background: rgb(25 25 25 / 49%);}
	.product_list ul li:hover .info_box.abso_box {top: calc((100% - 410px) / 2);}
	.product_list ul li:hover .info_box article {margin: 10px auto 15px;height: 35px;opacity: 1;border-bottom: 1px solid rgb(255 255 255 / 0%);}
	.product_list ul li:hover .info_box .more_box { opacity: 1; }
.product_list ul li:hover .info_box .more_box {
    padding: 5px 30px;
    border: 1px rgba(255, 255, 255, .3) solid;
    display: inline-block;
    color: #fff;
}
}
@media screen and (max-width: 1024px){
	.product_list ul li.slick-current .relat_box:before  {background: rgb(10 10 10 / 47%);}
	.product_list ul li.slick-current .info_box.abso_box {top: calc((100% - 400px) / 2);}
	.product_list ul li.slick-current .info_box article { margin: 30px auto 15px;  height: 44px; opacity: 1; }
	.product_list ul li.slick-current .info_box .more_box { opacity: 1; }

}
@media screen and (max-width: 1024px){
	.product_list ul li {margin: 0 0 0px;width: calc((100% / 2) - 0px);background: none;}
	.product_list ul li .relat_box { margin: 10px; }
	#productdetail .row { width: 45%; }
	#productdetail #imglist { margin-right: 40px; padding: 0; width: calc(55% - 40px); }
	#imglist .btn { display: none; }
	.buyBtns a { padding: 15px 10px; width: calc(50% - 22px); text-align: center; }
	.product_list ul li .info_box.abso_box{top: calc((100% - 650px) / 2);}
#basicInfo article{padding: 10px 60px 20px;}
}
@media screen and (max-width: 980px){
	#productdetail .row { width: 100%; }
	#productdetail #imglist { margin: 0 0 60px; width: 100%; }
	#imglist a img { height: 350px; }
}
@media screen and (max-width: 768px){
	.product_list ul li { width: 50%; }
	#productTabs .tabs { text-align: center; }
	#productTabs .tabs li , #productTabs .tabs li:last-child { margin: 3px 5px; width: auto; border-width: 0; }
	#productTabs .tabs li a { padding: 15px; }
	.product_list ul li .info_box.abso_box{top: auto;bottom: 0px;}
}
@media screen and (max-width: 640px){
    .product_list ul li .info_box.abso_box{top: auto;bottom: 0px;}
#basicInfo article{padding: 10px 10px 20px;}

	}
@media screen and (max-width: 550px){
	.product_list ul li { width: 100%; }
	.product_list ul li .img_box_cover img {height: 430px;}
}
@media screen and (max-width: 480px){
    .product_list ul li .info_box.abso_box{top: auto;bottom: 0px;}

	}
@media screen and (max-width: 375px){

	}	