/*------------ product-list ------------*/
.content article.list-editor{
    color: #333333;
    padding: 10px 10px;
    margin-top: 35px;
}

.products-list{
    margin-top: 10px;
}
.products-list li {
    width: 25%;
    padding: 0 0px 47px;
}
.products-list li:nth-child(4n+1) {
    clear: left;
}
.products-list > li > .box {
    margin: 0px auto 0;
    max-width: 352px;
    box-sizing: border-box;
    padding: 15px 15px;
    position: relative;
}
.products-list > li > .box:after {
    content: "";
    width: 0%;
    height: 3px;
    background: #D50111;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all .3s ease;
}
.products-list .box:hover:after{
    width: 100%;
} 
.products-list > li > .box .cover{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    font-size: 0;
}
.products-list .pic {
    position: relative;
    box-sizing: border-box;
    transition: all .2s;
    z-index: 1;
}
.products-list li .box.new:before{
    content: 'NEW';
    position: absolute;
    display: block;
    top: 25px;
    left: 25px;
    z-index: 15;
    width: 50px;
    height: 50px;
    background: #D50111;
    font-size: 15px;
    font-family: 'Hind', sans-serif;
    line-height: 53px;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
}
.products-list .box{
    position: relative;
    transition: all .3s ease;
}
.products-list .box:hover{
    background:#434343 ;
} 
.products-list .text{
    max-width: 330px;
    margin: 15px auto 15px;
    padding: 0 5px;
    line-height: 1.2;
}
.products-list .name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333333;
    font-size: 18px;
    font-weight: normal;
    height: 27px;
}
.products-list .description{
    font-size: 14px;
    line-height: 20px;
    color: #666666;
    height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.products-list .more {
    text-decoration: none;
    background: #333333;
    color: #FFF;
    text-align: center;
    border-radius: 0;
    display: block;
    padding: 13px 0;
    transition: all .3s ease;
}
.products-list .box:hover .more{
    background: #D50111;
}


.products-list .box:hover .name{
    color: #FFF;
}
.products-list .box:hover .description{
    color: #FFF;
}





/*------------ search ------------*/

.products-search {
    /* border-top: 1px solid #dadada ; */
    /* border-bottom: 1px solid #dadada; */
    font-size: 16px;
    color: #333333;
    padding: 15px 0;
    text-align: center;
}

.products-search span {
    color: #D6000E;
}

.products-search b {
    color: #D6000E;
    font-weight: normal;
    display: inline-block;
    margin: 0 5px 0 10px;
}


/*------------ detail ------------*/

.gallery .slider {
    float: left;
    width: 56%;
}

.gallery .txt {
    float: right;
    width: 42.5%;
}

.gallery .products-breadcrumb {
    text-align: left;
    border-top: 0;
    padding: 0 0 15px;
    margin: -2px 0 0 0;
}

.gallery .product-name {
    font-weight: bold;
    font-size: 22px;
    color: #333;
    padding: 0;
    margin-top: 30px;
    line-height: 1.2;
    text-align: center;
}

.gallery .txt-box {
    clear: both;
    background: #f2f2f2;
    padding: 25px 15px;
    margin: 0 0 10px;
}

.gallery .thumbnails {
    border: 1px solid #c5c5c5;
    padding: 25px 60px 0 60px;
    position: relative;
    box-sizing: border-box;
}

/* .gallery .thumbnails:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 15px 10px 0;
    border-color: transparent #fff transparent transparent;
    position: absolute;
    top: 50%;
    right: 100%;
    margin: -10px 0 0 0;
    z-index: 10;
} */

/* .gallery .thumbnails:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 17px 11px 0;
    border-color: transparent #548D16 transparent transparent;
    position: absolute;
    top: 50%;
    right: 100%;
    margin: -11px 0 0 0;
    z-index: 5;
} */

.gallery .thumbnails ul {
    margin: 0 -9px;
}

.gallery .thumbnails li {
    padding: 0 9px 18px;
    width: calc((100% / 3) - 0.1px);
}
.gallery .thumbnails li a{
    position: relative;
}
.gallery .thumbnails li a:before,
.gallery .thumbnails li a:after {
    content: "";
    display: block;
    position: absolute;
    opacity: 0;
    transition: all .2s;
}

.gallery .thumbnails li a:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .5);
}

.gallery .thumbnails li a:after {
    content: "\e1022";
    font-family: 'icon-font' !important;

    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: rgba(51, 51, 51, .5);
    font-size: 25px;
    top: 0%;
    left: 50%;
    margin: -12px 0 0 -12px;
}

.gallery .thumbnails li.active a:before,
.gallery .thumbnails li.active a:after,
.gallery .thumbnails li a:hover:before,
.gallery .thumbnails li a:hover:after {
    opacity: 1;
    transition: all .2s;
}

.gallery .thumbnails li.active a:after,
.gallery .thumbnails li a:hover:after {
    top: 50%;
}

.pic-list{
    margin-top: 20px;
    display: flex;
}
.pic-list > div{
    width: calc(100% / 6);
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
}
@media(max-width:800px){
    .pic-list{
        flex-wrap: wrap;
    }
    .pic-list > div{
        width: calc(100% / 3);
        padding-left: 5px;
        padding-right: 5px;
    }
}

.slick-slide img {
    display: block;
    margin: auto;
}

/*------------ products-title ------------*/

.products-detail {
    margin: 30px 0 0 0;
}

.products-detail .title {
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #D6000E;
    margin: 0 0 30px;
}

.products-detail .title span {
    background: #D6000E;
    color: #fff;
    display: inline-block;
    line-height: 30px;
    width: 100px;
}


/*------------ rwd ------------*/

@media screen and (max-width: 1280px) {
    .gallery .slider,
    .gallery .txt {
        float: none;
        width: auto;
        max-width: 800px;
        margin: 0 auto;
    }
    .gallery .txt {
        margin: 25px auto 0;
    }
    .gallery .thumbnails {
        margin: 25px 0 0 0;
    }
    .gallery .thumbnails:before {
        border-width: 0 10px 15px 10px;
        border-color: transparent transparent #fff transparent;
        bottom: 100%;
        top: auto;
        right: 50%;
        margin: 0 -15px 0 0;
    }
    .gallery .thumbnails:after {
        border-width: 0 11px 17px 11px;
        border-color: transparent transparent #548D16 transparent;
        bottom: 100%;
        top: auto;
        right: 50%;
        margin: 0 -16px 0 0;
    }
}

@media screen and (max-width: 1200px) {
    .products-list li {
        width: calc((100% / 3) - 0.1px);
    }
    .products-list li:nth-child(3n+1) {
        clear: left;
    }
    .products-list li:nth-child(4n+1) {
        clear: none;
    }
}


@media screen and (max-width: 900px) {
    .products-list li {
        width: 50%;
    }
    .products-list li:nth-child(2n+1) {
        clear: left;
    }
    .products-list li:nth-child(3n+1) {
        clear: none;
    }
    .gallery .thumbnails {
        padding: 20px 20px 0;
    }
}

@media screen and (max-width: 600px) {
    .gallery .thumbnails li {
        width: 50% ;
    }
}

@media screen and (max-width: 480px) {
    .products-list {
        margin: 0;
    }
    .products-list li {
        width: 100%;
        padding: 0 0 45px;
    }
}

