.container-frame {
  margin-top: 61px;
  padding: 60px 64px 42px;
}
.container-frame .border-red {
  line-height: 32px;
  padding: 0 8px;
}

/*========================
*
* 產品
*
========================*/
.commodity{
    background-color: #f2f4f5;
    display: -webkit-box;
    /*height: 557px;*/
    margin-bottom: 34px;
}
.commodity-img{
    position: relative;
    width: 50%;
    overflow: hidden;
    background-size: cover;
    padding-bottom: 50px;
}
.commodity-img-tag{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 88px;
    line-height: 88px;
    text-align: center;
    font-size: 30px;
    border-top: 2px solid #000;
}
.commodity-text{
  padding:0 45px;
  width: 50%;
}
.commodity-text .product-v2 {
  position: relative;
  width: 320px;
  margin-top: 67px;
  margin-left: 30px;
  padding-top: 33px;
}
.commodity-text .product-v2 .news {
  width: 100%;
  left: 0;
}
.commodity-text .product-v2 .news:before {
  left: 0px;
}
.commodity-text .product-v2 .news .ribbon1 {
  left: 4px;
}
.commodity-text .product-v2 .news .ribbon1:after {
  left: 0px;
}
.commodity-text .product-v2 .card-text,
.commodity-text .product-v2 .card-price {
  float: initial;
  justify-content: initial;
  margin: 10px 0;
}
.commodity-text .product-v2 .card-but button {
  height: 36px;
  padding: 0;
}
.commodity-text .product-v2 .card-but button.v1 {
  width: 140px;
}
.commodity-text .product-v2 .card-but button.v2 {
  width: 114px;
}

.commodity-title{
  text-align: left;
  font-size: 21px;
  line-height: 1.19;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.commodity-description{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 30px;
    line-height: 40px;
    color: #a4a4a4;
}

.commodity-price, .subscribe-btn{
  font-size: 15px;
}
.subscribe-btn{
  width: 264px;
  height: 36px;
  text-align: center;
  line-height: 36px;
  color: #fff;
  background: #cd231f;
  border:none;
  margin-top: 10px;
}
.subscribe-btn.white {
  color: #4c5768;
  background: #fff;
  border: 1px solid #c0c6cf;
  font-size: 13px;
}


/*========================
*
* 產品
*
========================*/
.wrapper {
  /*margin-top: 20px;*/
}

.product {
  border-radius: 3px;
}

.product-image {
  /*position: relative;*/
  margin-top: 20px;
  height: 400px;
  width: 500px;
  overflow: hidden;
  float: right;
}
.product-image .image {
  position: absolute;
  right: 0;
  top: 20%;
  height: 295px;
  width: 426px;
  background-image: url("https://upload.cc/i1/2021/01/13/JhUN42.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: transform 0.5s ease-out;
}

.product-thumbnails {
  margin-top: 30px;
  float: right;
  width: 500px;
}
.product-thumbnails img {
  height: initial;
  border-radius: 0;
  cursor: pointer;
  position: relative;
}
.product-thumbnails img:hover {
  opacity: 0.6;
}
.product-thumbnails img.col-md-3 {
  -ms-flex: 0 0 15%;
  flex: 0 0 15%;
  max-width: 15%;
}
.product-thumbnails .img-thumbnail {
  /*padding: 0 11px;*/
  background-color:initial;
  border: 0px solid #dee2e6;

}




/*========================
*
* 頁籤
*
========================*/
.tab_container {
  width: 100%;
  margin: 0 auto;
  padding-top: 30px;
  position: relative;
}
.tab_container section {
  border-top: 1px solid #c0c6cf;
}
.tab_container section .tab-pane {
  margin: 22px 0 0;
  padding-right: 15px;
}
.tab_container section .commodity-imgbox {
  margin: 22px 0 0;
  padding-left: 15px;
}
.tab_container section .commodity-imgbox p {
  font-size: 1rem;
  line-height: 1.8;
  color: #4c5768;
  text-align: initial;
}
.tab_container section .commodity-imgbox img {
  width: 100%;
}
.tab_container section .size {
  display: flex;
}
.tab_container section .box-v1 {
  width: 50%;
  float: left;
}
.tab_container section .box-v2 {
  width: 50%;
  float: right;
}
.tab_container input, .tab_container section {
  clear: both;
  padding-top: 10px;
  display: none;
}

.tab_container label {
  font-size: 18px;
  display: block;
  float: left;
  width: 200px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #757575;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  background: #f2f4f5;
  border-radius: 4px 4px 0 0;
  margin-right: 4px;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2 {
  display: block;
  padding: 20px;
  background: #fff;
  color: #999;
}

.tab_container .tab-content p,
.tab_container .tab-content h3 {
  -webkit-animation: fadeInScale 0.7s ease-in-out;
  -moz-animation: fadeInScale 0.7s ease-in-out;
  animation: fadeInScale 0.7s ease-in-out;
}
.tab_container .tab-content h3  {
  text-align: center;
}

.tab_container [id^="tab"]:checked + label {
  background: #fff;
  box-shadow: inset 0 4px #cf000e;
  border-radius: 4px 4px 0 0;
  border: 1px solid #c0c6cf;
  border-bottom: 0px solid #c0c6cf;
}

.tab_container [id^="tab"]:checked + label span {
  background-color: white;
  width: 100%;
  height: 60px;
  top: 3px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab_container label .fa {
  font-size: 1.3em;
  margin: 0 0.4em 0 0;
}

/*Media query*/
@media only screen and (max-width: 900px) {
  .tab_container label span {
    display: none;
  }
  
  .tab_container {
    width: 98%;
  }
}

/*Content Animation*/
@keyframes fadeInScale {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.no_wrap {
  text-align:center;
  color: #0ce;
}
.link {
  text-align:center;
}





.recommend-box {
  display: grid;
}
.recommend {
  width: 100%;
}
.recommend .box-v1 {
  float: left;
  padding-right: 35px;
}
.recommend .box-v2 {
  float: right;
  padding-left: 35px;
}
.recommend .box-v1,
.recommend .box-v2 {
  width: 50%;
}
.recommend .media-body {
  text-align: left;
  font-size: 15px;
  line-height: 25px;
}
.recommend .media {
  margin: 15px 0 27px;
}

.related-box .card-image .img-fluid {
  height: 225px;
}
.related-box .card-image{
  border: 1px solid rgba(0,0,0,.125);
}
.related-box .carousel-inner .item_v1 {
  padding: 0px 10px 0 0;
}
.related-box .carousel-inner .item_v2,
.related-box .carousel-inner .item_v3 {
  padding: 0px 10px 0 10px;
}
.related-box .carousel-inner .item_v4 {
  padding: 0px 0 0 10px;
}



@media only screen and (max-width: 1280px) {
  .related-box .card-image .img-fluid {
    height: 180px;
  }
}
@media only screen and (max-width: 1024px) {
  .related-box .card-image .img-fluid {
    height: 150px;
  }
}
@media only screen and (max-width: 991px) {
  .commodity-img {
    width: 55%;
  }
  .commodity-text {
    padding: 0 15px;
    width: 45%;
  }
  .product-thumbnails {
    width: 90%;
  }
  .product-thumbnails img {
    height: initial;
    height: intrinsic;
  }
}
@media only screen and (max-width: 949px) {
  .container-frame .carousel-left,
  .container-frame .carousel-right {
    top: 50px;
  }
  .related-box .card-image .img-fluid {
    height: 225px;
  }
  .container-frame .carousel-left {

  }
  .container-frame .carousel-right {
    
  }
}
@media only screen and (max-width: 900px) {
  .commodity {
    height: initial;
    display: inherit;
  }
  .commodity-img {
    width: 100%;
  }
  .commodity-text {
    padding: 0 15px;
    width: 100%;
  }
  .commodity .product {
    margin: 0 auto;
  }
  .product-image {
    width: 100%;
    margin-top: 0;
    position: relative;
  }
  .product-image .image {
    width: 100%;
  }
  .product-thumbnails {
    width: 100%;
    padding: 0 22px;
    margin: 0 0;
  }
  .commodity-text .product-v2 {
    margin-top: 35px;
    margin-left: 0;
    width: 100%;
    padding: 33px 22px 0;
  }
  .commodity-text .product-v2 .news:before {
    left: 22px;
  }
  .commodity-text .product-v2 .news .ribbon1 {
    left: 26px
  }
  .commo .tab_container label span {
    display: block;
  }
  .tab_container section .size {
    display: initial;
  }
  .tab_container section .box-v1,
  .tab_container section .box-v2 {
    width: 100%;
    float: initial;
  }
  .tab_container section .tab-pane {
    padding-right: 0;
  }
  .recommend .box-v1, .recommend .box-v2 {
    width: 100%;
  }
  .recommend .box-v1 {
    padding-right: 0;
    margin-bottom: -16px;
  }
  .recommend .box-v2 {
    padding-left: 0;
  }
  .recommend .media {
    margin: 18px 0;
  }
}
@media only screen and (max-width: 767px) {
  .commo.breadcrumb-box {
    display: none;
  }
  .commo.container {
    padding: 0;
    margin: 0;
    max-width: initial;
  }
  .commo .tab_container {
    padding-top: 6px;
    width: 100%;
  }
  #tab1:checked ~ #content1, #tab2:checked ~ #content2 {
    padding: 20px 0;
  }
}
@media only screen and (max-width: 600px) {
  .container-frame {
    margin-top: 30px;
    padding: 27px 20px 10px;
  }
  .recommend-box .title-area {
    margin-bottom: 26px;
  }
  .recommend .media {
    margin: 0px 0 16px;
  }
  .recommend .box-v1 {
    margin-bottom: 0;
  }
  .recommend .media img {
    width: 80px;
    height: 80px;
  }
}

@media only screen and (max-width: 520px) {
  .product-image {
    position: initial;
  }
  .product-thumbnails img.col-md-3 {
    -ms-flex: 0 0 22%;
    flex: 0 0 22%;
    max-width: 22%;
  }
  .product-v2 .card-body {
    padding: 0px 0 20px;
  }
  .subscribe-btn {
    width: 100%;
    margin-top: 12px;
  }
  .commodity-text .product-v2 {
    padding: 33px 5px 0;
  }
  .commodity-text .product-v2 .news:before {
    left: 5px;
  }
  .commodity-text .product-v2 .news .ribbon1 {
    left: 9px;
  }
  
}
@media only screen and (max-width: 480px) {
  .product-image {
    height: 310px;
  }
  .product-image .image {
    width: 90%;
    margin: 0 auto;
    right: 5%;
    height: 195px;
  }
  .commodity .product-v2 .card-body p {
    width: 100%;
  }
  .tab_container label {
    width: 166px;
  }
}
@media only screen and (max-width: 414px) {
  .product-thumbnails img.col-md-3 {
    -ms-flex: 0 0 26%;
    flex: 0 0 26%;
    max-width: 26%;
  }
  .container-frame .carousel-wrapper {
    padding-bottom: 0;
  }
  .carousel-wrapper {
    margin-left: -9px;
    width: 106%;
  }
  .related-box .carousel-inner .item {
    padding: 0px 41px;
  }
  .carousel-left {
    margin-left: -2px;
  }
  .carousel-right {
    margin-right: -2px;
  }
  .commodity-img {
    padding-bottom: 0;
  }
}
@media only screen and (max-width: 375px) {
  .tab_container label {
    width: 163px;
  }
  .carousel-wrapper {
    margin-left: -28px;
    width: 120%;
  }

}