﻿.main-area::before {
    content: "";
    position: absolute;
    background-image:url(../images/index/black_bg.png); 
    background-position: left top;
    background-size: auto;
    background-repeat: repeat; opacity: .5;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.product-arera{ padding:50px 0px 0px 0px;  width: 100%; display: flex; flex-wrap: wrap;}
.product-arera .main-content {width:calc(100% - 300px);  padding-left:40px; position: relative;  padding:30px 60px; margin-top: -70px; margin-bottom: 30px; border-radius: 20px; background: #fff;  box-shadow: 0 0 30px hsla(0,0%,46.7%,.2); }
.bg{background-image: linear-gradient(to top, #fff 0%, #fbfdf6 90% ,#fff 100%);}
@media (min-width: 992px) and (max-width: 1199.98px) { 
.product-arera{  padding:0px;}
.product-arera .main-content {width:calc(100% - 240px);  padding-left:30px; margin-top: -40px; }
}
 @media (max-width: 992px) {
 .product-arera .main-content {width:100%;  padding-left:0px;  padding-right: 0px;  margin-top: 0px;  box-shadow: none;  }
}
@media (max-width: 840px) {
.product-arera{  padding:0px;}
}
@media (max-width: 767.98px) {
.product-arera{  padding:0px;}
.product-arera .main-content {width:100%;  padding:0px;}
}
 
#section1{ background-image: linear-gradient(to bottom,#e7e7e7 0%, #fff 30%, #ebeff2 100%);}

#section1 .wrapper {  padding: 0px;   }

 /*font-size*/

.product { width:100%; margin:0px auto;  padding: 50px 0px;   position: relative;z-index: 0;}
.product li {display: block; position: relative; margin-top: 60px; transition: all 0.3s linear 0s; counter-increment: index;}
.product li:nth-child(even) .item { flex-direction: row-reverse;}
.product li .item{width: 100%; display: flex; flex-wrap: wrap;}
.product li h3 { width: 100%; position: relative; z-index: 5; color: #2F3E47;  display: block; margin-bottom: 30px; }
 .product li h3 span{  display: block; margin-top: 10px; font-size: 1.125rem; color: #2F3E47;    }

/*----------------------------------------/
產品總覽頁Product
---------------------------------------- */
.photo { width: 100%;  height: auto; overflow: hidden; position: relative;   }
.photo figure{ width: 100%; padding-top:50.5%; height: 0; background-color: #eee; overflow: hidden; position: relative; transition: all 0.5s ease 0s;}

.product li .inner-box {width: 100%; display: flex; flex-wrap: wrap;   padding: 25px 0px;position: relative; z-index: 9; transition: all .4s ease;  }
.product li .inner-box .inner-txt{  width:calc(100% - 200px);   display: flex; margin: auto auto 20px auto; align-items: center;flex-direction: column; }
.product li .inner-box .inner-txt:hover a h3,.product li .inner-box .inner-txt:hover a p,.product li .inner-box .inner-txt:hover a span{ color: #d90012; }
.product li .inner-box .desc { color: #000;overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow-wrap: break-word; transition: 375ms cubic-bezier(0.7, 0, 0.3, 1);}
@media (min-width: 1100px) {
.product li .inner-box .desc { padding-right: 20% }
}
@media (min-width: 1300px) {
.product li .inner-box .desc { padding-right: 15% }
}

@media (max-width:840px) {
.product { padding: 0px;  }
}
@media (max-width:767.98px) {
.product li .photo{  width:100%;  }
.product li .inner-box { width: 100%;  padding: 25px 0px;  }   
.product li .inner-box .inner-txt{  width: 100%; align-items: flex-start;  }  
.product li h3 {  margin-bottom: 10px; }   
.product li .inner-box .desc  {font-size: .9rem;} 
}
@media (max-width:320px) {
.product li h3 span{font-size: .9rem;}
}



/*--分類new-tag --*/
.new-tag {  width: auto; padding:2px 4px; font-size: 1rem; color: #fff;  text-transform: capitalize;  word-break: keep-all;  position: absolute; z-index: 99;left:-10px; top: 0px; background:#e60013; }
.new-tag::after {content: ""; background-color: transparent;border-bottom: transparent 15px solid;border-right: #9f000d 15px solid;position: absolute; left: 0;bottom: -15px;width: 0;}
.new-tag a{color:#fff;}
@media (max-width:767.98px) {
.new-tag {   font-size: .75rem;}
}


.product-item{ width:100%;max-width:1100px;  margin:0px auto 30px auto; padding:0px; position: relative; z-index:9;}
.product-item li { width:100%; margin:30px auto;padding:50px 0px; list-style: none;  transition: all 0.5s ease 0s;  position: relative; z-index: 9; }

.product-item li:nth-child(even) .item{ flex-direction: row-reverse}

.product-item li .item{width: 100%; display: flex; flex-wrap: wrap;  align-items: flex-start;  align-content: stretch;   position: relative; }
.product-item li .item-inner{width:50%; margin: auto; padding:20px 40px;   z-index: 1; position: relative; } 

 
.inner-title { position: relative;  width: 100%;padding-bottom: 15px;margin-bottom: 20px;  }

.inner-title:before { content: "";  width: 100%;   height: 1px;  background-color: #d9d9d9; display: block; position: absolute;  bottom: 0px; left: 0;  transition: all 1.05s 0.25s cubic-bezier(0.65,0.32,0.16,1.01);}



/*.product-item li .item-inner::after{ content: ""; width:calc(100% + 80%); height: 320px; left:0; top:0;  margin: -10% 0px 0px -80%; background-color:#e7d8cb;position: absolute;z-index: -1;border-radius:20px;  } */

.product-item li .item-pic{ width: 50%; border-radius:20px; position: relative;  z-index: 9;  box-shadow:0px 30px 10px -10px rgba(0,0,0,.1);    }
.product-item li .item-pic figure{ width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden;    border-radius:10px; position: relative;  z-index: 9;   transition: all 0.5s ease 0s;}
.product-item li .item-pic figure img { max-width: 100%; height: auto; margin: auto; transition: all 0.5s ease 0s; border-radius:10px;   }
.product-item li .item-pic figure:hover img { transform: scale(1.1);  opacity: 1; }
.product-item li h3{  padding:0px; margin:0px 0px 0px 0px; font-weight:700; font-size:1.5rem;  line-height:2.25rem; color:#866c5b;  word-break: normal; word-wrap: break-word; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;overflow: hidden; }
.product-item li p{  margin:5px 0px; padding: 0px;  font-size:1.125rem; line-height: 1.875rem;  font-weight: 400; color: #000;   overflow: hidden; word-break: normal; word-wrap: break-word; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;} 
.product-item li .listBox{width:100%; display: flex; align-items: center; flex-wrap: wrap;justify-content: space-between; padding: 20px 0px;position: relative; }

.product-item .slick-prev,.product-item .slick-next{top:auto; bottom:35%;}
.product-item .slick-prev{left: -50px; right: auto;}
.product-item .slick-next{left:auto; right:-50px;}

.btnbox {position: relative;z-index:99; display: flex;  width: 100%; height: auto; margin:-80px 0px 0px 65%;  transition: all 1s;}  

/*logo */
.product-item li .inner-img {  margin:0 auto 20px auto;width: 50%; max-width: 200px; height:auto; position: relative;}
.product-item li .inner-img img { margin: auto;  width:100%; max-width: 100%; height:auto;  }
@media (max-width:1024px) {
.product-item li {margin:0px auto;}   
.product-item .slick-prev,.product-item .slick-next{top:auto; bottom:23%;}   
.product-item .slick-prev{left:calc(55% - 60px); right: auto;}
.product-item .slick-next{left:55%; right:auto;}   
.btnbox { margin:-80px auto auto auto;justify-content: center;}  
}

@media (max-width:840px) {
.product-item li .item-inner{width:100%; margin: 0px; padding:20px 40px;   } 
.product-item li .item-pic{ width:100%; }   
.product-item .slick-prev,.product-item .slick-next{top:30%; bottom:auto;}
.product-item .slick-prev{left:0px; right: auto;}
.product-item .slick-next{left:auto; right:0px;}
 .btnbox { margin:0px auto auto auto; }  
   
}
@media (max-width:767.98px) {
.product-item li { width: 100%; margin:0px auto;padding:0px; }
.product-item li .item-inner{ padding:20px 0px;}   
.product-item li h3{  font-size:1.125rem; line-height: 1.5rem;  }
.product-item li p{   font-size:.875rem;  } 
    
.product-item .slick-prev,.product-item .slick-next{top:33%; bottom:auto;}   
.product-item .slick-prev{left:auto; right: 40px;}
.product-item .slick-next{left:auto; right:0px;}   
    
} 


/*---------------------------------
best-wrap
----------------------------------------*/
.best-wrap{  width: 100%; margin:0 auto; padding:20px 0px;  background-image: linear-gradient(to bottom, #fff 0%, #ebeff2 50%, #fff 100%);}
.best-wrap .product-item {height: auto;}
.best-wrap .product-item li { width: calc( 100% - 20px); margin:40px 10px 40px 10px; padding:0px;   }
 i.arrow-r { width: 40px; height: 40px; top: auto; bottom: 10px; right: 0; margin: 3px 10px auto auto ; position: absolute;background: url("../images/icon/arrow-right-f.svg") no-repeat right top;   -webkit-transition: -webkit-transform .2s;  transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}

/*cms-btn-more =================================*/ 
 .more-txt { font-size: 16px; font-weight: 400; line-height: 1.5;  color: #fff;  -webkit-transition: -webkit-transform .2s; transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}
@media (max-width:767px) {
.more-txt { font-size: 14px; line-height: normal; letter-spacing: normal }
}
@media (max-width:768px) {
a.btn-view{ font-size: 0.875rem;}
}

/*----------------------------------------/
產品詳細內容區塊
----------------------------------------*/
.top .main-breads { margin-top: 0px; padding-top: 15px;  }
 .product-wrapper { width: 100%; margin:auto; padding:0px 0px 30px 0px;  display: flex;  flex-wrap: wrap; justify-content: space-between;  position: relative;}
/*----------------------------------------/
圖片輪播區塊
----------------------------------------*/
.clearfix:after{clear:both;content:".";display:block;font-size:0;height:0;line-height:0;visibility:hidden;}
.clearfix{display:block;zoom:1}
.product-left{width:calc(50% - 30px);  padding: 50px 15px;  position: relative; display: flex; flex-wrap: wrap; z-index: 1;background-color:transparent;  order: 1; }
.product-left::-webkit-scrollbar { display: none;-webkit-appearance: none;}
.product-left::-webkit-scrollbar:vertical { width: 6px; }
.product-left::-webkit-scrollbar:horizontal {  height: 12px;}
.product-left::-webkit-scrollbar-thumb { background-color:#000; border-radius: 5px; border:solid 2px #dfe7eb;}
.product-left::-webkit-scrollbar-track { border-radius: 0px;  background-color:#fff;}
.product-right{ width:50%;  padding:50px 0px; margin:0px auto;  position: relative; z-index: 0;  }

.box-for{width: 100%; position: relative; }
.slider-for{  width:100%; margin: 0px ; padding: 0px; list-style: none;  }
.slider-for li{ position: relative; width: 100%;  margin:0px;padding:0px 10px;}
/*.slider-for li img{width: 100%;  }*/


.slider-for li figure{  width: 100%; padding-bottom:50%; height: 0; overflow: hidden; position: relative; z-index: 1; transition: all 0.5s ease 0s;  }

.slider-for .slick-prev,.slider-for .slick-next{  top:35%;}
@media (max-width:840px) {
.box-for{ display: flex; flex-direction: column}
.slider-for{  order: 2 }  
.slider-for li{  padding:0px;}    
}
@media (max-width:767.98px) {
.slider-for li{  padding:0px;}
}

 /*----------------------------------------/
btn區塊
----------------------------------------*/
.product-group{width: 100%; margin:10px 0px; display: flex; flex-wrap: wrap; justify-content: space-between;background-color:rgba(105,112,129,.35);  border-radius:0px; }
.product-group .btn{ width: calc(100%/3 ); margin: auto 0px;  border-radius:0px;  }
.product-info button {  border-radius:0px; }
@media (max-width:840px) {
.product-left{width:100%;padding: 5px 0px 0px 0px; order: 2;}  
.product-right{ width:100%; margin: auto; padding: 10px 0px; order: 1;}
 .product-group{order:3;margin: 0px;  }
}
@media (max-width:767.98px) {
.product-right{  padding: 10px 0px;}
 
    
  }
 
.product-info-title {position: absolute; left:0px; bottom:20%; width: 100%; max-width: 600px;  padding: 40px; margin: auto;  background-color: #fff; -webkit-box-sizing: border-box; box-sizing: border-box;  z-index:2; }
.product-info-title h1{ width: 100%; display: flex; justify-content: flex-start; font-weight: 700; font-size: 2rem;  font-size: min(max(3.5vw, 1.25rem), 2rem);color:#333; letter-spacing: 1px;  font-family: 'Tenor Sans', sans-serif; }
.product-info-title h2{  width: 100%; margin-bottom: 30px; font-size:1.15rem; font-weight: 700; color:#000;  word-spacing: normal; word-break:normal; }
.product-info-title p{  width: 100%; margin: 5px 0px; font-size:1.15rem;  font-size: min(max(3.5vw, .9rem),1.15rem);  line-height: 1rem; font-weight: 700; color:#727272;  word-spacing: normal; word-break:normal;  }
 
 @media (min-width:1600px) {
.product-info-title h1{  font-size: 1.875rem;  }
}
@media (max-width:840px) {
.product-info-title {position: relative; left:0px; bottom:auto; width: 100%; max-width: 100%;  padding: 40px; margin: auto; order: 3  }   
}
@media (max-width:767.98px) {
.product-info{  padding:0px;  }  
 .product-info-title {  padding: 40px 20px;   }      
}


 

.note-group{width: 100%; margin:10px 0px; border-top:solid 1px #eee}
.note-group .note-wrap {margin:10px 0px;  justify-content: flex-start; }
.note-group .note{ margin: 15px}
.product-info{ width:100%; padding:0px 0px 0px 20px; display: flex; flex-wrap: wrap;  align-content: flex-start; align-items: flex-start;  }
 




.product-description{ width: 100%; padding:25px 0px 10px 0px;   color:#888;  }
.product-description p {width: 100%; margin: 5px 0px; font-size:0.9rem; font-weight: 400; color:#333;  word-spacing: normal; word-break:normal;}
.product-description span {width: 100%; margin: 5px 0px; font-size:0.85rem;  font-weight: 400; color:#888;  word-spacing: normal; word-break:normal;}
.product-description p strong{color:#000;}


.specbox { padding:0px; display: -webkit-box; display: -ms-flexbox;  display: flex; -ms-flex-wrap: wrap;  flex-wrap: wrap;  -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start;width: auto;}
.item-title { width: 100%;padding:20px 0px; margin-bottom: 10px;}


.item-title p{ font-size: .875rem; color: #666;}
.item-title-full { width: 100%;padding: 0px 10px; margin-bottom:30px;}
.specbox .name { margin-bottom: 10px; padding-bottom:5px; border-bottom: 1px solid rgba(0, 0, 0, 0.2);  color:#000; font-weight:700; font-size:1rem; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;}
.specbox p {width: calc(100% - 20px);font-size:.9rem; color: #575757;}
.pdd-toggle-area{ position: relative;width: 100%;margin:20px 0px 0px 0px; display: flex; flex-wrap: nowrap; align-items: center;  }
.pdd-toggle-area .btn{ width: 50%;  }
@media (max-width:840px) {
.pdd-toggle-area .btn{ max-width: 100%;;margin:0px 20px 0px 0px; }  
}
@media (max-width:767.98px) {
.item-title { width: 100%; }    
}
 
@media (max-width:320px) {
.pdd-toggle-area .btn{ max-width: 100%;;margin:0px 5px 0px 0px; }  
}

 
/*----------------------------------------/
自訂編輯區塊
----------------------------------------*/
.edit{width: 100%; max-width: 1160px; padding:15px 5px; margin: auto;}
.edit h4 img{display: block; width: 100%; max-width:600px;  margin: 15px auto!important;}
.edit .description{display: block; width: 100%; max-width:680px;  margin: 15px auto!important;}
.imgEditor { width:100%; height: auto; margin: auto; display: flex; flex-wrap: wrap;  justify-content: center;} 
.w5{ width: 50%; display: flex; flex-wrap: wrap; align-items: center;}
.w-list{ width: 100%; margin: auto; padding: 0px 20px;}
.w-list li{ width: 100%; margin: 5% auto; padding: 0px; }
@media (max-width:767.98px) {
.w5{ width: 100%; display: flex; flex-wrap: wrap; align-items: center;}
}


/*table css*/
:root { --stickyBackground: #eee; --borderColor: #C9D1DC;}
.table-wrapper { width: 100%;  height: auto;  margin: 0px auto 30px 0px;  overflow: auto; }
@media (max-width: 991.98px) {
.table-wrapper { width: 100%; height: 320px; border: 1px solid var(--borderColor); overflow: auto;}
}
.datatable { width: 100%; border-spacing: 0; margin: auto; border: 1px solid var(--borderColor);}
@media (max-width: 991.98px) {
.datatable { width: 100%;}
}

.datatable thead { font-size: 12px; line-height: 16px; letter-spacing: 0.05em; font-weight: 700; text-transform: uppercase;}
.datatable tbody { font-size: .9rem;}
.datatable th, .datatable td { font-size:.9rem; padding: 15px; white-space: nowrap;  border-bottom: 1px solid var(--borderColor);  border-right: 1px solid var(--borderColor);}
.datatable thead td{ color: #000;  font-weight: 700; }
/*.datatable tr:last-child td { border-bottom: none; border-right:none;}
*/
.datatable tr:nth-child(even) {background-color: #f5f5f5; }



/*STICKY ROW Normal css box-shadow works for the header as it is a single html element*/
.datatable tr.sticky { color: #000;  font-weight: 700; position: sticky;  top: 0;  z-index: 1;background: var(--stickyBackground); box-shadow: 0 0 6px rgba(0,0,0,0.25);}
/*STICKY COLUMN Avoid undesirable overlapping shadows by creating a faux shadow on the ::after psudo-element instead of using the css box-shadow property.*/
.datatable th.sticky,.datatable td.sticky {  color: #000;  font-weight: 700;  position: sticky; left: 0; background: var(--stickyBackground);}
.datatable th.sticky::after,.datatable td.sticky::after {  content: ""; position: absolute; right: -6px; top: 0; bottom: -1px;  width: 5px; border-left: 1px solid var(--borderColor); background: linear-gradient(90deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 100%);}
.datatable th.sticky::before,.datatable td.sticky::before { content: ""; position: absolute; left: -6px; top: 0; bottom: -1px;  width: 5px; border-right: 1px solid var(--borderColor); background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.08) 100%);}

 @media (max-width:320px) {
.datatable tr.sticky {   position: relative;  }
.datatable th.sticky,.datatable td.sticky {  position: relative; }
}

.w-list{ width: 100%; margin: auto; padding: 0px 20px; list-style: none}
.w-list li{ display: block; padding-left: 20px;  margin-bottom: 20px; font-size: 1.15rem;   font-size: min(max(3.5vw, .9rem), 1.15rem);font-weight:400; line-height: 1.5; letter-spacing: normal; color: #000;  position: relative; }
 .w-list li:before { width: 10px; height:10px; content: "";  left:0px; top:10px;position: absolute; background-color:#49b232; border-radius: 2px;}

.w-list li p{font-size: 1rem;   font-size: min(max(3.5vw, .875rem), 1rem);}
 @media (max-width:767.98px) {
 .w-list{  padding: 0px; }    
}
.ux-name { margin-bottom: 20px; font-size: 26px; font-weight: 700; line-height: 1.5; letter-spacing: normal; color: #000;}
 .ux-name:before { width: 10px; height:10px; content: ""; display: inline-block;  margin-right: 8px;  margin-bottom: 4px; background-color:#49b232; border-radius: 2px;}
 .ux-row { position: relative; margin-bottom: 63px;  }
 .ux-summary {  font-size: 1.125rem; line-height: 1.7rem; font-weight: 400; letter-spacing: 1px;margin-top: 11px;}  



