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

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

.product-list .item {
    width: 20%;
}

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

.product-list .item .box {
    margin: 0 10px 50px;
    position: relative;
}

.product-list .item .cover {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
}

.product-list .pic {
    position: relative;
    overflow: hidden;
}

.box .pic img {
    width: 100%;
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.box:hover .pic img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.product-list .pic:before {
    content: "";
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    z-index: 5;
    transition: all .3s ease;
}

.product-list .box:hover .pic:before {
    opacity: 0;
}

.product-list .txt {
    position: relative;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.product-list .name {
    display: block;
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin:6px 0 0;
    text-align: left;
    transition: all .3s ease;
}

.product-list .box:hover .name {
   color: #f08d1d;
}
.product-list .description {
    color: #8B8B8B;
    font-size: 14px;
    line-height: 1.75;
    padding: 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 52px;
}

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

.category-name,
.products-detail .title {
    color: #D1B170;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5;
}

.category-name {
    margin-bottom: 20px;
}

.products-detail .offers {
    font-size: 16px;
    font-weight: bold;
    color: #DABE7E;
    margin-bottom: 25px;
}

.gallery {
    margin-bottom: 60px;
    position: relative;
}

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

.gallery .stage .pic {
    max-width: 510px;
}

.gallery .stage .pic,
.gallery .thumbnails a {
}

.gallery .products-info,
.gallery .thumbnails {
    float: right;
    width: 50%;
    box-sizing: border-box;
}

.gallery .thumbnails ul {
    margin: 0 -10px;
}
.pd-info .name{
    font-size:22px;
    font-weight:bold;
}
.pd-info .description{
    font-size: 15px;
    color:#4d4d4d;
}
.gallery .thumbnails ul li {
    width: 33.33%;
    padding: 25px 10px 0;
}

.gallery .thumbnails a {
    position: relative;
    max-width: 150px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery .thumbnails a:hover:before,
.gallery .thumbnails li.active a:before {
    content: "";
    background: rgba(0, 0, 0, 0.85) url(../../images/common/products/small_hover.png) no-repeat 50% 50%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.detail-title {
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    background: #dedede;
    padding-left: 10px;
}

/*------------ rwd ------------*/
@media screen and (max-width: 1300px) {
    .product-list .item {
        width: 33.33%;
    }

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

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

@media screen and (max-width: 1200px) {

    .gallery .products-info,
    .gallery .slider,
    .gallery .thumbnails {
        float: none;
        width: 100%;
        /*max-width: 540px;*/
        margin: 0 auto;
    }

    .gallery .slider,
    .gallery .thumbnails {
        margin: 0 auto 20px;
    }

    .gallery .thumbnails ul li {
        /*width: 50%;*/
    }

    .product-list .item .box {
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 700px) {

    .gallery .slider,
    .gallery .thumbnails {
        width: auto;
        margin-bottom: 0;
    }

    .gallery .slider .pic {
        margin: 0 auto;
    }

    .gallery .thumbnails {
        position: static;
    }

    .gallery .thumbnails ul li {
        width: 33.33%;
    }

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

    .gallery {
        margin-bottom: 40px;
    }

    .product-list .name {
        font-size: 16px;
    }

}

@media screen and (max-width: 400px) {
    .product-list .item {
        width: auto;
        float: none;
        margin: 0;
    }

    .product-list .pic {
        height: auto;
    }

    .product-list .item {
        width: 100%;
    }
}

@media screen and (max-width: 320px) {
    .product-list .item {
        margin: auto 15px;
    }

}