.products-list {
    margin: 0 -15px;
}

.products-list .item {
    width: 25%;
    padding: 0 15px;
}

.products-list .box {
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto 40px;
    border: 1px solid #DDD;
}

.products-list .box:hover {
    border-color: #54AA27;
}

.products-list .box.hot:before {
    content: '';
    display: inline-block;
    width: 80px;
    height: 80px;
    background: url('../images/products/ic02.png');
    left: 0;
    top: 0;
	position:absolute;
}

.products-list .name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: #666;
    color: #fff;
    font-size: 23px;
    line-height: 50px;
    padding: 0 10px;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}

.products-list .box:hover .name {
    background: #54AA27;
}

.gallery {
    float: left;
    width: 540px;
}

.gallery .slick-slide img {
    margin: 0 auto;
}

.products-name,
.products-intro {
    float: right;
    width: calc(100% - 570px);
}

.products-name {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 20px;
    font-family: 微軟正黑體;
}

.thumbnails {
    position: relative;
    padding: 0 34px;
    margin-top: 10px;
}

.thumbnails .btn {
    color: #9E9E9E;
    background: #eee;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
}

.thumbnails .btn:hover {
    background: #54AA27;
    color: #fff;
}

.thumbnails .slick-prev {
    left: 0;
}

.thumbnails .slick-next {
    right: 0;
}

.thumbnails .item {
    padding: 0 4px;
}

.thumbnails .item .box {
    border: 1px solid #E8E8E8;
    overflow: hidden;
    position: relative;
    max-width: 85px;
    margin: 0 auto;
}

.thumbnails .item:hover .box:before,
.thumbnails .item.active .box:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: url(../images/products/small_hover.png) 50% 50% no-repeat rgba(0, 0, 0, 0.80);
}

.products-detail.no-gallery .gallery {
    display: none;
}

.products-detail.no-gallery .products-name,
.products-detail.no-gallery .products-intro {
    float: none;
    width: auto;
}

@media screen and (max-width: 1200px) {
    .products-list {
        max-width: 900px;
        margin: 0 auto;
    }
    .products-list .item {
        width: 50%;
    }
}

@media screen and (max-width: 1000px) {
    .gallery,
    .products-name,
    .products-intro {
        float: none;
        width: auto;
    }
    .gallery {
        border: solid #ccc;
        border-width: 2px 0;
        padding: 30px 0 20px;
        margin-bottom: 30px;
    }
    .gallery .stage,
    .gallery .thumbnails {
        max-width: 450px;
        margin: 0 auto 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 767px) {
    .products-list {
        margin: 0 -7px;
    }
    .products-list .item {
        padding: 0 7px;
    }
    .products-list .box {
        margin-bottom: 20px;
    }
    .products-list .name {
        font-size: 18px;
        line-height: 40px;
    }
}

@media screen and (max-width: 500px) {
    .products-list .item {
        width: 100%;
    }
}
