/*------------ product-list ------------*/

.product-list {
    margin: 0 -17px;
}

.product-list li {
    width: 25%;
    padding: 0 17px 75px;
}

.product-list li:nth-child(4n+1) {
    clear: left;
}

.product-list > li > a {
    margin: 0 auto;
    max-width: 260px;
    box-sizing: border-box;
}

.product-list .pic {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: all .2s;
    border: 1px solid #fff;
    margin: 0 0 3px;
}

.product-list .pic img {
    transition: all 0.35s ease-in-out;
    transform: scale(1);
}

.product-list .pic:hover img {
    transition: all 0.35s ease-in-out;
    transform: scale(1.2);
}

.product-list .pic:before,
.product-list .pic:after {
    position: absolute;
    display: block;
    transition: all .2s;
    opacity: 0;
}

.product-list .pic:before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .4);
    z-index: 50;
}

.product-list .pic:after {
    content: "MORE";
    display: block;
    border: 1px solid #000000;
    background: rgba(255,255,255,0.8);
    width: 120px;
    height: 56px;
    line-height: 56px;
    color: #000000;
    box-sizing: border-box;
    top: 0;
    left: 50%;
    z-index: 50;
    margin: -28px 0 0 -60px;
    transition: all 0.35s ease-in-out;
    transform: scale(3);
}

.product-list a:hover .pic:before,
.product-list a:hover .pic:after {
    transition: all .2s;
    opacity: 1;
}

.product-list li a:hover .pic:after {
    top: 50%;
    transform: scale(1);
}

.product-list .text {
    text-align: center;
    max-width: 260px;
    margin: 0 auto;
    box-sizing: border-box;
    background: #FFFFFF;
    padding: 8px 10px;
    position: relative;
    transition: all .2s;
}

.product-list li .text:hover {
    background: #F0F0E1;
    transition: all .2s;
}

.product-list .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000000;
}


/*------------ search-list ------------*/

.search-list li {
    width: 20%;
}

.search-list li:nth-child(4n+1) {
    clear: none;
}

.search-list li:nth-child(5n+1) {
    clear: left;
}


/*------------ detail ------------*/

.product-name {
    margin: 0 0 40px;
    background: #4d4948;
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    padding: 4px 0;
}

.product-name i {
    font-size: 14px;
    margin: 0 10px 0 15px;
}

.products-info {
    max-width: 1000px;
    margin: 0 auto 50px;
    border-bottom: 1px dashed #88886A;
}

.gallery {
    max-width: 765px;
    margin: 0 auto 50px;
    outline: 0;
}

.gallery .slider {
    float: left;
    width: 85%;
}

.gallery .txt {
    float: right;
    width: 12.5%;
    box-sizing: border-box;
}

.thumbnails li + li {
    margin: 16px 0 0 0;
}

.thumbnails a {
    max-width: 95px;
    margin: 0 auto;
    display: block;
}

.thumbnails a:before,
.thumbnails a:after {
    content: "";
    position: absolute;
    transition: all .2s;
    opacity: 0;
}

.thumbnails a:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .8);
}

.thumbnails a:after {
    content: "\e100d";
    font-size: 30px;
    color: #ACAC9D;
    z-index: 100;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -15px;
}

.thumbnails .active a:before,
.thumbnails .active a:after,
.thumbnails a:hover:before,
.thumbnails a:hover:after {
    transition: all .2s;
    opacity: 1;
}


/*------------ products-title ------------*/

.products-title {}


/*------------ rwd ------------*/

@media screen and (max-width: 1280px) {
    .product-list li {
        width: calc((100% / 3) - 0.1px);
    }
    .product-list li:nth-child(4n+1),
    .search-list li:nth-child(5n+1) {
        clear: none;
    }
    .product-list li:nth-child(3n+1) {
        clear: left;
    }
    .search-list {
        max-width: 950px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1100px) {
    .product-list {
        margin: 0 -10px;
    }
    .product-list li {
        padding: 0 10px 20px;
    }
    .search-list {
        margin: 0 auto;
    }
}

@media screen and (max-width: 767px) {
    .product-list li {
        width: 50%;
    }
    .product-list li:nth-child(2n+1),
    .search-list li:nth-child(3n+1) {
        clear: left;
    }
    .product-list li:nth-child(3n+1),
    .search-list li:nth-child(2n+1) {
        clear: none;
    }
    .search-list li {
        width: calc((100% / 3) - 0.1px);
    }
}

@media screen and (max-width: 600px) {
    .search-list {
        margin: 0;
    }
    .search-list li {
        width: 100%;
        padding: 0 0 75px;
    }
    .gallery .slider,
    .gallery .txt {
        float: none;
        width: 100%;
        text-align: center;
        max-width: 650px;
        margin: 0 auto;
    }
    .thumbnails {
        max-width: 320px;
        margin: 15px auto 0;
    }
    .thumbnails li {
        padding: 0 5px 10px;
        width: calc((100% / 3) - 0.1px);
        box-sizing: border-box;
    }
    .thumbnails li + li {
        margin: 0;
    }
}

@media screen and (max-width: 480px) {
    .product-list {
        margin: 0;
    }
    .product-list li {
        width: 100%;
        padding: 0 0 20px;
    }
}
