﻿.cms-product-arera{ position: relative; padding: 20px;  width: 100%; display: flex; flex-wrap: wrap;  background: #fff;   }
.cms-product-arera .cms-main-content {width:calc(100% - 277px);  padding-left:70px;   align-content: flex-start; align-items: flex-start;}
.cms-bg{background-image: linear-gradient(180deg, #f6f5f3, #fff);}
@media (min-width: 768px) and (max-width: 1199.98px) { 
.cms-product-arera{  padding:0px;}
}
@media (max-width: 767.98px) {
.cms-product-arera{  padding:0px;}
.cms-product-arera .cms-main-content {width:100%;  padding:0px 15px;}
}
/*----------------------------------------/
產品清單頁  cms-main-product-item  
----------------------------------------*/
.cms-main-product { width: 100%; padding:20px 15px 40px 15px; margin:auto; position: relative;  }
.cms-main-product-item { width:100%;  margin:15px  auto;  padding:0px 0px 60px 0px; display: flex; flex-wrap: wrap; overflow: hidden;  list-style: none; }
.cms-main-product-item li { width: calc(100% / 3 - 40px);   margin:30px 20px; padding: 15px 0px;  display: flex; flex-wrap: wrap;  position: relative; transition: all 0.3s linear 0s; z-index: 1; background: #fff;  }
.cms-main-product-item li:nth-child(3n){margin-right: 0px;}
.cms-main-product-item li:hover { transform: scale(1.1); -webkit-transform: translate3d(0,-20,0);transform: translate3d(0,-20px,0);box-shadow: 0 4px 4px rgb(0 0 0 / 25%); }
.cms-main-product-item li a{ display: flex; flex-wrap: wrap; justify-content:center;}
.cms-main-product-item li a figure { position: relative; width:100%; height: auto;  background:#f6f5f3; overflow: hidden; transition: all 0.5s ease 0s; }
.cms-main-product-item li a figure img {  width: 100%; max-width: 100%; transition: all 0.3s; -webkit-transform: translate3d(0,0px,0);transform: translate3d(0px,0px,0px);  }
.cms-main-product-item li:hover figure img {  transform: scale(1.2);   }
#cms-main .cms-main-product-item li a h3{ margin:15px auto ; padding: 5px;  width: 100%; max-height:42px;  font-size:0.9375rem; font-weight: 400;color: #000;  text-align: center;  overflow: hidden; word-break:break-all; word-wrap:break-word;text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp: 2;  -webkit-box-orient: vertical; }
#cms-main .cms-main-product-item li a span.cms-main-product-unit{  margin: 0 10px; padding:0px 5px; font-size:0.75rem; line-height: 1.5rem; color:#6c7280; text-align: right; border: solid 1px #6c7280; border-radius:5px;  overflow: hidden; word-break:break-all; word-wrap:break-word;text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp:2;  -webkit-box-orient: vertical; }
.cms-main-product-item li a span.cms-main-product-price{ display: flex; justify-content: center; margin:0px auto;font-size:1rem; color:#000;  font-weight: 700; }
.cms-main-product-item li a span.cms-main-product-price-origin{ display: flex; justify-content: center; margin:0px auto;font-size:.85rem; color:#717171;  font-weight: 700;text-decoration: line-through; }
.cms-main-product-note { position: absolute; top:15px; left: 0; width:auto; height: auto; padding: 5px 15px;font-size:0.9375rem; text-align: left; line-height: 1.5em; text-shadow:none; z-index: 11; }
.cms-main-product-note.cms-main-product-note-sale {  color: #fff; background:#cc3333; }
.cms-main-product-note.cms-main-product-note-stock { color: #fff; background:#ff9900; }
.cms-main-product-item .slick-current {  }	
.cms-main-product-item .slick-dots {bottom:-30px;  }	
.cms-main-product-item .slick-prev { left:0; z-index: 11; }
.cms-main-product-item .slick-next { right:10px; z-index: 11; }
@media (max-width: 767.98px) {
.cms-main-product-item li { width: calc(100% / 2 - 10px); margin: 10px 5px; height: auto; position: relative; transition: all 0.3s linear 0s; z-index: 1; background: #fff;  }
.cms-main-product-item li:nth-child(3n){margin-right: auto;}
.cms-main-product-item li:nth-child(2n){margin-right: 0;}
}


/*----------------------------------------/
顏色規格
----------------------------------------*/
.cms-colour{   width: 100%;line-height: 2.5;}
.cms-main-product-item .cms-colour-swatches {width: 100%; height: 22px; margin:0; padding: 0;display: flex; flex-wrap: wrap; list-style: none;}
.cms-main-product-item .cms-colour-swatches li{  margin:6px; width:12%!important; height: 22px; padding: 0px; overflow: hidden;}
.cms-main-product-item .cms-colour-swatches li a { text-decoration: none;}
.cms-main-product-item .cms-colour-swatches li a img { width:100%!important; height: 22px;display: block; margin-bottom: .6rem;}
/*----------------------------------------/
btn區塊
----------------------------------------*/
.cms-product-group{width: 100%; margin-top: 2%; display: flex; flex-wrap: wrap; justify-content:space-between;}
.cms-product-group .btn{ width: 30.333%;}
/*----------------------------------------/
促銷區塊
----------------------------------------*/
.cms-promotion { margin:10px auto; padding:5px; font-size:0.875rem; font-weight:400; display: flex;  flex-wrap: wrap;  background-color: #fff;  }
.cms-promotion a{color:#b9afa1;}
.cms-coupon{  margin:0px; padding: 0px;  color:#333; }
.cms-label { width: 100%; display: flex; flex-wrap: wrap; padding:3px; }
#cms-main .cms-label a.cms-ticket{padding:2px 5px;  margin: 0 10px; color:#fff; border: solid 1px #c30d23; background:#c30d23;}
/*----------------------------------------/
產品詳細內容區塊
----------------------------------------*/
.cms-main-product-wrapper {  display: flex;  flex-wrap: wrap; justify-content: flex-end;  width: 100%; margin:auto auto auto; padding-top: 30px;}
 @media (min-width: 1200px) {
.cms-main-product-wrapper {  padding-right: 40px; padding-left: 40px; max-width: 1200px; margin: auto; }
 }
@media (min-width: 1400px) {
.cms-main-product-wrapper { max-width: 1440px; }
 }

/*----------------------------------------/
圖片輪播區塊
----------------------------------------
ul.cms-slider-for{ width: 80%;  height: auto; margin:0px auto; }
ul.cms-slider-for li { width:100%;  display: block;   }
ul.cms-slider-for li img{ width:100%;max-width:100%; margin: auto;   }
#cms-main ul.cms-slider-for .slick-dots {bottom:-20px;}
ul.cms-slider-nav{ width: 20%;  height: auto; margin:0px;  display: flex; flex-wrap: wrap; justify-content:center; align-content: flex-start; align-items: flex-start; }
ul.cms-slider-nav li{  margin:0px; padding: 5px; width: 90%; height: auto;  border: solid 1px #fcb941; }
ul.cms-slider-nav li:focus img{opacity: 1; border: solid 1px #fcb941!important;}
ul.cms-slider-nav li img{ width:100%; margin:auto; opacity:.5;border: solid 1px #f2f2f2;}
#cms-main ul.cms-slider-nav .slick-dots {bottom:-20px;}
.cms-slider-for .slick-prev {left:50px!important; z-index: 9;}
.cms-slider-for .slick-next {right:15px!important;}
*/
.cms-main-product-left{width:60%;  display: flex;  flex-wrap: wrap; }
.cms-main-product-right{ width:40%;   margin-bottom: 15px;  overflow: hidden;   }
.cms-main-product-right .cms-main-breads .breadcrumb{justify-content: flex-start; padding: 0px;}
.cms-main-product-left .cms-social-icons{justify-content: center;align-content: center; align-items: center; font-size: 0.875rem;}

.swiper-container { width: 100%; height: 100%; position: relative;z-index: 0;  }
.swiper-slide { text-align: center; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: flex-start; -ms-flex-align:flex-start; -webkit-align-items:flex-start; align-items: flex-start;}
.swiper-slide img { display: block; width: 100%;  height: 100%;  object-fit: cover;}
.swiper-container { width: 100%; height: 300px;  margin-left: auto; margin-right: auto; }
.swiper-slide { background-size: cover; background-position: center; }
.cms-slider-for{ width:85%;padding-left: 5%;}
.cms-slider-nav { width:10%; height:auto; box-sizing: border-box; padding: 10px 0; }
.cms-slider-nav .swiper-slide {width: 100%; height:auto;  margin:0px; padding: 0px; opacity: 0.4; overflow: hidden;}
 
.cms-slider-nav .swiper-slide-thumb-active { opacity: 1;}
.swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover;  }



@media (max-width: 767.98px) {
.cms-main-product-left,.cms-main-product-right{width: 100%;padding:0px 15px;  }
}
.cms-main-product-info{ width:100%; padding:0px 50px;}
#cms-main .cms-main-product-info h1{   padding:0px 0px 15px 0px;width: 100%; display: flex; justify-content: flex-start; font-size:2rem; font-weight: 400; color:#000; position: relative; word-spacing: normal; word-break:normal; }
.cms-product-description{ padding:15px 0px; border-bottom: solid 1px #eee;border-top: solid 1px #eee;}
#cms-main .cms-product-description p {margin-bottom: 15px; font-size:0.9375rem; color: #98979d;}
#cms-main .cms-product-description ul{width: 100%; margin: auto 0; padding: 0px;   font-size:0.9375rem;}
#cms-main .cms-product-description ul li{width: 100%;margin:8px 0px; padding: 0px; display: flex; flex-wrap: wrap; justify-content: flex-start; align-content: center; align-items: center; font-size:0.85rem; line-height: 1rem; }
#cms-main .cms-product-description ul li span.cms-item-title{width:auto; justify-content: flex-start; padding:5px 5px 5px 0px;color:#98979d;  font-size:0.85rem;}
#cms-main .cms-product-description p strong{color:#000;}
.cms-main-product-info del{color: #98979d;} 
.cms-main-product-info .cms-sale { font-size:1.313rem;  font-weight:700; color:#000;  }
.cms-main-product-info .cms-sale b{ margin-left: 5px; font-size:1.313rem; font-weight:400;   }
.cms-badge-tag{ padding: 5px 15px;  font-size: 0.875rem;  color:#5b3932;; background: #eae6dd;  border-right: 1px dashed #5b3932; border-left: 1px dashed #5b3932; }
.cms-store { display:flex;  flex-wrap: wrap; }
.cms-store img{ display:flex;width: auto; height: 20px; margin: 5px; }
.cms-product-marker { margin:15px 0px; border-top: 1px solid #e2e2e2; width: 100%;}
 @media (max-width: 991.98px) {
.cms-main-product-info{padding-left:0; }    
}
@media (max-width: 767.98px) {
 .cms-main-product-info{  padding:0px; border:none; }    
   
}
/*----------------------------------------/
顏色規格
----------------------------------------*/
.cms-color-group{ width: 100%; display: flex; flex-wrap: wrap;color: #4a4e5c;}
.cms-item-color{ width: calc(100% / 5 - 40px); margin: 10px 5px; }
.cms-selected-color{color: #4a4e5c;}
#cms-main .cms-color-group p{width: 100%; display: block; color:#b5b6ba;}
/*----------------------------------------/
產品規格
----------------------------------------*/
.cms-product-form-item{ width: 100%; display: flex; flex-wrap: wrap;}
.cms-product-form-item label{font-size:.875rem;font-weight:700!important; color:#3a3a3c;   }
.cms-option-radio { width: 100%;    border: 0;  padding: 0;  margin: 0;  position: relative; }
.cms-option-radio input[type="radio"]+label{ border: solid 1px #677788;}
.cms-option-radio input[type="radio"]+label:before{ display: none;}
.cms-option-radio input[type=radio]:checked+label {  color:#fff!important;  border-color: #3a3a3c; background:#3a3a3c;}
.cms-option-radio label { position: relative;min-width: 40px;  height: 36px;display: inline-block; padding: 0 10px; margin: 3px 8px 7px 0; line-height:36px; background-color: rgba(113,134,157,.1);  color:#3a3a3c;  background-position: center;  background-size: cover;   text-align: center; vertical-align: middle;}
.product-variation { cursor: pointer;font-size: 0.85rem; display: inline-block;  min-width: 5rem;  -moz-box-sizing: border-box; box-sizing: border-box; padding: 0 .75rem; height: 2.125rem; line-height: 1;  margin: 0 8px 8px 0; color: rgba(0,0,0,.8); text-align: center; white-space: nowrap;  border-radius: 2px;  border: 1px solid rgba(0,0,0,.09); position: relative;  background: #fff; outline: 0;}
.product-variation:hover{ border: 1px solid #5d5049; color: #5d5049;}
/*----------------------------------------/
數量選擇
----------------------------------------*/
.cms-amount-pane{  }  
.cms-amount-pane span{color: #333;}
.cms-amount { height: 36px; width:100%; margin:8px 0; display: flex;  flex-direction: row; justify-content: space-between; align-content: center; border:solid 1px #b5b6ba; border-radius:3px;  }
.cms-amount button{  border:none;  }
.cms-amount-button { display: flex;  width:40px;  height: 34px;font-size:1.125rem; font-weight:700;  padding: 0;}
.plus {display: flex;  flex-wrap: wrap; justify-content: center; align-content: center; color:#333;   background:#b5b6ba; border-left: solid 1px #b5b6ba; border-radius:0px 2px 2px 0px  }
.minus {display: flex;  flex-wrap: wrap; justify-content: center; align-content: center; color:#333;  background:#b5b6ba; border-right: solid 1px #b5b6ba; border-radius:2px 0px 0px 2px }
.plus:hover,.minus:hover { color: #ffffff; background:#6c7280; cursor: pointer; transition: all .3s ease-in-out;}
.cms-amount p { display: flex; flex-wrap: wrap; justify-content: center;  align-content: center; height:34px;  font-size:1.125rem; font-weight:400;  }
.cms-surplus {  padding-left: 10px; font-size:0.875rem;  text-align: center;  color:#c74060; }
#cms-main a.spec-node { display: inline-block; padding: 4px; margin-right: 5px;  margin-bottom: 5px; min-width: 4rem;font-size:.875rem; border: 1px solid #b5b6ba;background-color:#f9f9f9; color:#6c7280;text-align: center;  }
#cms-main a.spec-node.active {color:#fff; border-color:#333; background-color:#333;}
#cms-main a.spec-node.disable { border-color: lightgray; color: lightgray;}
#cms-main a.spec-node:hover { text-decoration: none;}
#cms-main .amount-pane { border: 1px solid #999; display: inline-flex; flex-direction: row;  flex-wrap: nowrap; width: 156px; height: 40px; font-size: 16px; border-radius: 5px;}
#cms-main .amount-less { width: 36px; border: 0;  border-right: 1px solid #999; line-height: 36px; display: block; text-align: center;  background: none; cursor: pointer; outline: 0;}
#cms-main .amount-more { width: 36px; border: 0; border-left: 1px solid #999; line-height: 36px;  display: block; text-align: center; background: none; cursor: pointer; outline: 0;}
#cms-main .amount-pane > input[type="text"] { display: block; width: calc(100% - 72px); text-align: center; background: none;  border-width: 0; font-size: 16px;  height: 38px; line-height: 38px; outline: 0;}
#cms-main .amount-pane > input:disabled { color: lightgrey;}
#lower-picked { display: table; padding-left: 5px;}
#lower-picked > li { display: table-row;}
#lower-picked > li > span { display: table-cell; padding: 5px 10px 0 10px;}
 /*----------------------------------------/
social-icons
----------------------------------------*/
#cms-main .cms-main-product-info .cms-social-icons{color:#675952;  display: flex; flex-wrap: wrap; justify-content: flex-start; align-content: center; align-items: center; font-size:0.75rem;   }
 #cms-main .cms-main-product-info .cms-social-icons li{ width: auto!important; margin:5px; padding-top: 8px;  }
#cms-main .cms-main-product-info .cms-social-icons li a{ opacity:1;font-size:0!important;color:#675952!important;  }
/*----------------------------------------/
tab
----------------------------------------*/
#cms-tabs-product .resp-tabs-list{ width: 100%;   /*border-bottom: solid 1px #e9ebef;*/}
#cms-tabs-product .resp-tabs-list li { width: 25%; margin: 0px; justify-content: center; border: solid 1px #6c7280; }
#cms-tabs-product .resp-tab-content { padding:30px 0px ;}
.resp-tab-content h4{ margin:2% 0;  font-size: 1.15rem; font-weight: 700; }
#cms-main .resp-tab-content p{ margin:1% auto; font-size: 1rem; font-weight: 400;  }
.edit{ display: flex; flex-wrap: wrap; flex-direction: column; width: 100%; max-width:960px;padding:15px 5px; margin: auto; border-bottom: dashed 1px #c5c5c5; }
#cms-main .edit h3{ display: flex; justify-content: center;width: 100%; max-width:680px;  margin:15px auto!important; color:#333;font-size:1.5rem;  font-weight: 700;  }
#cms-main .edit h4{  width: 100%;  margin:15px auto!important; color:#333;font-size:1.35rem;  font-weight: 300;  }
.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;}

 

/*---------------------------------
best-wrap
----------------------------------------*/
.cms-best-wrap{  width: 100%; max-width: 1200px;   margin:0 auto; padding:20px 0px 50px 0px;  }
.cms-best-wrap .cms-main-product-item {  text-align: center;   padding:30px 15px;  margin: 10px auto; }
.cms-best-wrap .cms-main-product-item li {   margin:15px; padding:10px;  position: relative; transition: all 0.3s linear 0s; z-index: 1;   }
.cms-best-wrap .slick-dots li button:before{ color: #fff; }
.cms-best-wrap .slick-dots li.slick-active button:before { opacity: .75; color: #fff; }
.cms-best-wrap .slick-dots {bottom:-30px;}
   

 /*aside*/
.cms-tab-bar { width: 100%;  margin:0; display: block; background: #fff; color: #222; position: relative; vertical-align:top;  }
.cms-tab-bar .cms-tab-bar-dropdown { display: block;  }
.cms-tab-bar .cms-tab-bar-dropdown a { padding:10px 0px; color: #fff !important; box-shadow: inset 0px 0px 1px #000; background:#483e39; text-transform: uppercase; text-align: center; font-size: 1.15rem; display: block; border-top: 2px solid #666; border-bottom: 1px solid #333; }
.cms-tab-bar .cms-tab-bar-dropdown a::after { position: absolute; right:35px;  content: "\ecf1"; color: #fff !important; font-family: 'boxicons'; font-size: 1.15rem;  }
 .cms-tab-bar ul { padding: 0px; margin: 0px; }
.cms-tab-bar ul li { list-style-type: none; background: #e6e0dd;  }
.cms-tab-bar #cms-sidebar { display: none; width: 100%; margin: 0 auto; position: absolute; z-index: 60;  }
.cms-tab-bar #cms-sidebar li i { display: inline-block; margin-right: 5px; background: #eee; color: #888; width: 24px; height:24px; line-height: 24px; text-align: center; border-radius: 30px;  }
.cms-tab-bar #cms-sidebar li span i { margin: 0px; color: #999; background: transparent !important; border: 0px; }
.cms-tab-bar #cms-sidebar > li > a { display: block; padding:5px 20px; font-size:1rem; color:#000;  text-decoration: none; border-bottom: 1px solid #f5f4f3;  }
.cms-tab-bar #cms-sidebar > li > a:hover, .cms-tab-bar #cms-sidebar > li > a.open, .cms-tab-bar #cms-sidebar > li > a.subdrop { color: #e9e9e9; border-bottom: 1px solid #b5b6ba; border-top: 1px solid #b5b6ba; background-color: #222;  box-shadow: none;  }
 .cms-tab-bar #cms-sidebar > li > a:hover i, .cms-tab-bar #cms-sidebar > li > a.open i, .cms-tab-bar #cms-sidebar > li > a.subdrop i { color: #fff; background-color:#b5b6ba !important; border: 1px solid #b5b6ba; }
.cms-tab-bar #cms-sidebar > li > a:hover span i, .cms-tab-bar #cms-sidebar > li > a.open span i, .cms-tab-bar #cms-sidebar > li > a.subdrop span i { color: #fff; background: transparent !important; border: 0px; }
.cms-tab-bar #cms-sidebar li ul { display: none; background:#fff; }
.cms-tab-bar #cms-sidebar li ul li a { display: block; background:#fff;  padding:5px 0px 5px 30px; font-size:0.9375rem; text-decoration: none; color: #222; /*border-bottom: 1px solid #eee;*/ box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.1); }
 .cms-tab-bar #cms-sidebar li ul li a:hover { background: #eee;  }
.cms-tab-bar #cms-sidebar > li.has_title a{ display: block; margin: 0px; padding:10px 20px; font-size:1.35rem; color:#222;font-weight: 400;  text-decoration: none;   border: none;  }
.cms-tab-bar #cms-sidebar > li.has_title { border-bottom: solid 1px #eee;}
.cms-tab-bar #cms-sidebar > li.has_title a:hover { color: #fff;  }
 @media(min-width:1002px) {
.cms-tab-bar { -webkit-box-flex: 0; -ms-flex: 0 0 277px; flex: 0 0 277px; max-width: 277px;  padding-right: 10px; flex-wrap:wrap;   }
.cms-tab-bar .cms-tab-bar-dropdown{display: none;	}	
.cms-tab-bar #cms-sidebar { display: block; margin:0 auto;  color: #222; height: 100%;   }
.cms-tab-bar ul li {   background:none;  }
 }


