.content-top {
    margin-bottom: 20px;
}

.category-sect{
    margin:0 auto;
    background: #f6f6f6;
    padding: 10px 40px;
    margin: 0 0 35px;
}

.category-sect .categorydescription {
    color: #5F5F66;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 3px;
    border-bottom: 1px solid #E3E4E6;
    margin: 20px 0 20px;
    padding: 0px 0 15px;
    text-align: left;
}
.category-sect .categorydescription::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-top:5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 10px solid #e40011;
    margin: 0 15px 1px 0px;
    top: 0;
    position: relative;
}
.category-sect .categorycontent{
    font-size:18px;
    color:#7F8385;
    padding: 0 0 50px;
}

/*----- sort_box -----*/
.sort_box {
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
    padding: 0;
    margin-top: 0px;
}
.sort_box .control-label {
    float: left;
    margin-right: 10px;
    line-height: 30px;
}
.sort_box .control-box {
    float: left;
}
.sort_box .form-control {
    margin-bottom: 0px;
    background: #FFF;
    color: #666;
    padding: 0 5px;
    border: 1px solid #E3E4E6;
}
.sort_box .form-control:focus {
    outline: none;
    background: #fff;
    color: #666;
}
.sort_box .form-group {
    float: left;
    padding: 5px 0;
}
.sort_box .form-group:after {
    content: '';
    display: block;
    float: left;
    z-index: 10;
    height: 22px;
    left: 0;
    top: 0;
    margin: 4px 4px;
}
.sort_icon {
    float: left;
    line-height: 30px;
    padding: 2px 0;
    position: relative;
    z-index: 0;
}
.sort_icon .ibtn{
    position: relative;
}
.sort_icon .ibtn:before{
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #aaa;
    z-index: -1;
    transition: all .3s ease;
}
.sort_icon .ibtn:hover:before,
.sort_icon .ibtn.active:before {
    background: #e40011;
}
.sort_icon .ibtn.one {
    background-image: url(../../images/common/products/sort_pic3.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: none;
}
.sort_icon .ibtn.two {
    background-image: url(../../images/common/products/sort_pic1.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
}
.sort_icon .ibtn.four {
    background-image: url(../../images/common/products/sort_pic2.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
}
.sort_box .form-control.sort-mobile {
    display: none;
}
/*----- list -----*/
.products-list {
    margin: 0 -25px;
}
.products-list .item {
    width: 25%;
    padding: 0 15px;
}
.products-list .item:nth-child(4n+1) {
    clear: left;
}
.products-list .box {
    position: relative;
    margin: 0 auto 40px;
    background: #fff;
    border: 1px solid #E3E4E6;
}
.products-list .item a.cover{
    font-size: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
}
.products-list .box.new:before {
    content: 'new';
    position: absolute;
    display: block;
    text-align: center;
    left: 0px;
    top: 0px;
    width: 50px;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    letter-spacing: 1px;
    color: #fff;
    background: #e40011;
      font-family: "Montserrat", sans-serif;
    font-weight:900;
    z-index: 10;
}
.products-list .pic-box {
    position: relative;
    box-sizing: border-box;
}
.products-list .pic {
    display: block;
    position: relative;
    overflow: hidden;
}
/* 按鈕 */
.products-list .item .pd-more{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 60px;
    height: 60px;
    background: #ef2b23;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    transform: translate(100%, 100%);
    transition: .45s ease;
}

/* 滑到整個商品卡片才出現 */
.products-list .item .box:hover .pd-more{
    opacity: 1;
    transform: translate(0, 0);
}

/* 圖片微放大 */
.products-list .item .box:hover .pic img{
    transform: scale(1.06);
}

/* 紅色背景滑動 */
.products-list .item .pd-more::before{
    content: "";
    position: absolute;
    inset: 0;
    background: #d91f19;
    transform: translateX(-100%);
    transition: transform .4s ease;
}

.products-list .item .box:hover .pd-more::before{
    transform: translateX(0);
}

/* 箭頭 */
.products-list .item .pd-more .arrow{
    position: relative;
    z-index: 2;
    width: 17px;
    height: 2px;
    background: #fff;
    transition: transform .35s ease;
    left: -8px;
}

.products-list .item .pd-more .arrow::after{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.products-list .item .box:hover .pd-more .arrow{
    transform: translateX(8px);
}
.products-list .txt {
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 20px 20px;
    min-height: 120px;
}

.products-list .name{
    position: relative;
    box-sizing: border-box;
    display: block;
    color: #2C2D30;
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    margin: 0 0 8px;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}
.products-list .box:hover .name {
    color: #e40011;
}
.products-list .description{
    position: relative;
    box-sizing: border-box;
    color: #828387;
    font-size: 16px;
    line-height: 1.45;
    padding: 0;
    margin: 0;
    height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 1000px) {
.products-list .txt {
    padding: 10px 10px;
    min-height: 90px;
}
}
/*----- content -----*/

.content.detail{
    padding:50px 0 0;
}

.products-intro {
    max-width: 1345px;
    max-width: 1300px;
    margin: 0 auto 40px;
}
.gallery {
    float: left;
    width: 570px;
    max-width: 570px;
    border: 1px solid #E3E4E6;
}
.pd-intro,
.thumbnails {
    float: right;
    width: calc(100% - 618px);
}
.thumbnails {
    position: relative;
    box-sizing: border-box;
}
.thumbnails ul {
    margin: 0 -5px;
}
.thumbnails li {
    width: calc(100% / 6);
    padding: 0 5px;
}
.thumbnails a {
    display: block;
    max-width: 180px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.thumbnails a:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255 , 255, 255, 0.8);
    opacity: 0;
    transition: all 0.3s ease;
}
.thumbnails li.active a::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(../../images/common/btn_search.png) no-repeat 0 0;
    background-size: cover;
}
.thumbnails a:hover:before,
.thumbnails li.active a:before {
    opacity: 1;
}
.pd-intro .breadcrumb {
    margin: 0;
    text-align: left;
    padding: 0;
}
.pd-name {
    color: #2C2D30;
    font-weight: 500;
    font-size: 30px;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin: 35px 0 15px;
}
.pd-description {
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #616266;
    font-size: 16px;
}
.products-spec {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}
.products-spec .title {
    color: #2C2D30;
    font-size: 26px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 3px;
    border-bottom: 1px solid #E3E4E6;
    margin: 40px 0 40px;
    padding: 0px 0 10px;
    text-align: center;
}
.products-spec .title::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid #e40011;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    margin: 0 auto;
    top: 23px;
    position: relative;
}
.products-detail {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}
.products-detail .title {
    color: #2C2D30;
    font-size: 26px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 3px;
    border-bottom: 1px solid #E3E4E6;
    margin: 40px 0 40px;
    padding: 0px 0 10px;
    text-align: center;
}
.products-detail .title::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid #e40011;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    margin: 0 auto;
    top: 23px;
    position: relative;
}
.form-group select.form-control{
    height: 26px;
    margin: 0;
    font-weight: normal;
    border-radius: 0;
}
.pd-btn-box{
    text-align:left;
    margin: 0 0 70px;
}
.btn.more{
    position: relative;
    box-sizing: border-box;
    width: 220px;
    height: 48px;
    line-height: 45px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    border-radius: 0;
    background: #2C2D30;
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
    letter-spacing: 2px;
}

.btn.more:hover {
    background: #e40011;
 
}
/*----- rwd -----*/
@media screen and (max-width: 1280px) {
    .products-list {
        margin: 0 -15px;
    }
    .products-list .item {
        padding: 0 5px;
    }
    .products-list .box {
        margin: 0 auto 20px;  
    }
   
}
@media screen and (max-width: 1200px) {
    .products-list .item {
        width: 33.33%;
    }
    .products-list .item:nth-child(4n+1) {
        clear: none;
    }
    .products-list .item:nth-child(3n+1) {
        clear: left;
    }
    .gallery {
        width: 49%;
    }
    .pd-intro,
    .thumbnails {
        width: 48%;
    }
}
@media screen and (max-width: 1000px) {
    .category-sect{
        padding: 10px 20px;
        margin: 0 0 35px;
    }
    .category-sect .categorydescription {
        font-size: 18px;
        letter-spacing: 2px;
        margin: 10px 0 15px;
        padding: 0px 0 10px;
    }
    .category-sect .categorydescription::before {
        border-top:4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 8px solid #e40011;
        margin: 0 10px 2px 0px;
    }
    .category-sect .categorycontent{
        font-size:16px;
        padding: 0 0 20px;
    }
    .products-list .item {
        width: 50%;
    }
    .products-list .item:nth-child(3n+1) {
        clear: none;
    }
    .products-list .item:nth-child(2n+1) {
        clear: left;
    }
    .content.detail {
        padding: 20px 0 0;
    }
    .pd-intro {
        float: none;
        width: auto;
    }
    .gallery {
        width: 61%;
        padding-right: 10px;
        box-sizing: border-box;
    }
    .thumbnails {
        width: 39%;
    }
    .thumbnails ul {
        max-width: none;
        margin: -5px;
    }
    .thumbnails li {
        width: 50%;
        padding: 5px;
        line-height: 1;
    }
    .thumbnails li:nth-child(n) {
        clear: inherit;
    }
    .thumbnails li:nth-child(2n+1) {
        clear: both;
    }
    .products-spec .title {
         margin: 20px 0 20px;
         padding: 0 0 10px;
         font-size: 22px;
         line-height: 15px;
    }
    .products-detail .title {
         margin: 20px 0 20px;
         padding: 0 0 10px;
        font-size: 22px;
         line-height: 15px;
    }
    .products-intro {
        max-width: 1300px;
        margin: 0 auto 30px;
    }
    .pd-btn-box {
        margin: 0 0 30px;
    }
    .pd-intro .breadcrumb {
        margin-bottom: 15px;
    }
    .pd-name {
        font-size: 20px;
        margin: 30px 0 15px;
    }
}
@media screen and (max-width: 767px) {
     .products-list .name {
        font-size: 18px;
    }
    .sort_icon .ibtn.one {
        display: inline-block;
    }
    .sort_icon .ibtn.four {
        display: none;
    }
    .gallery,
    .thumbnails {
        float: none;
        width: auto;
    }
    .gallery {
        margin: 0 auto;
        padding: 0;
    }
    .thumbnails {
        margin: 10px 0 0;
    }
    .thumbnails ul {
        margin: 0 -5px;
    }
    .thumbnails li {
        width: 16.66%;
        padding: 0 5px;
    }
    .thumbnails li:nth-child(n) {
        clear: inherit;
    }
}
@media screen and (max-width: 600px) {
   
    .thumbnails li {
        width: 33.33%;
        padding: 0 5px 10px;
    }
    .thumbnails li:nth-child(3n+1) {
        clear: both;
    }
}
@media screen and (max-width: 400px) {
    .sort_box .control-box span {
        display: none;
    }
    .sort_box .form-control.sort-pc {
        display: none;
    }
    .sort_box .form-control.sort-mobile {
        display: block;
        width: 80px;
    }
}
/*----- product_column欄位 -----*/
.products_column_one .item{
    width: 100%;
}
.products_column_two .item{
    width: 50%;
}
.products_column_two .item:nth-child(n){
    clear: inherit;
}
.products_column_two .item:nth-child(2n+1){
    clear: left;
}
/*----- !product_column欄位 -----*/