.products-box {
    max-width: 1042px;
    margin: 0 auto;
}


/****************************  ****************************/

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

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

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

.products-list .item a {
    max-width: 218px;
    margin: 0 auto 50px;
}

.products-list .pic {
    border: 3px solid #FEE497;
    margin-bottom: 14px;
    position: relative;
}

.products-list a:hover .pic:before {
    content: " ";
    background: rgba(255, 255, 255, .8) url(../images/products/hover.png) no-repeat 50% 50%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.products-list .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    color: #202951;
    font-weight: bold;
    text-align: center;
}

.products-list a:hover .name {
    color: #D60C18;
}


/****************************  ****************************/

.gallery {
    max-width: 980px;
    margin: 0 0 0 auto;
}

.gallery .stage {
    width: 61%;
    float: left;
    max-width: 600px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 3px solid #FDEBD9;
}

.gallery .txt {
    width: 33%;
    float: right;
}

.gallery .txt .product-name {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 15px;
    color: #202951;
    border-bottom: 1px solid #FDEBD9;
}

.gallery .thumbnails {
    margin: 0 -7px;
    border-bottom: 1px solid #FDEBD9;
    padding-bottom: 10px;
}

.gallery .thumbnails li {
    padding: 0 7px;
    width: calc((100% / 3) - 0.1px);
}

.gallery .thumbnails li a {
    margin: 0 auto 25px;
    max-width: 100px;
    border: 1px solid #FEE497;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.gallery .thumbnails li a:before {
    content: " ";
    background: rgba(255, 255, 255, .8) url(../images/products/hover.png) no-repeat 50% 50%;
    background-size: 30%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    opacity: 0;
}

.gallery .thumbnails li.active a:before,
.gallery .thumbnails li a:hover:before {
    opacity: 1;
}


/****************************  ****************************/

.detail-title {
    font-size: 13px;
    color: #FF8855;
    margin: 50px 0 45px 0;
    position: relative;
}

.detail-title:after {
    content: "";
    width: calc(100% - 170px);
    height: 2px;
    display: block;
    border-bottom: 2px dotted #E49247;
    position: absolute;
    right: 0;
    top: 26px;
}

.detail-title b {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 1px;
}

.detail-title i {
    display: inline-block;
    margin: 0 10px;
}

.detail-title span {
    padding: 7px 10px;
    border-right: 2px dotted #E49247;
    border-left: 2px dotted #E49247;
    display: inline-block;
    position: relative;
    top: 11px;
}

.product-detail {
    max-width: 1016px;
    margin: 0 auto;
}


/****************************  ****************************/

@media screen and (max-width: 1100px) {
    .products-list li:nth-child(4n+1) {
        clear: none;
    }
    .products-list li:nth-child(3n+1) {
        clear: left;
    }
    .products-list .item {
        width: calc((100% / 3) - 0.1px);
    }
}

@media screen and (max-width: 960px) {
    .products-list li:nth-child(3n+1) {
        clear: none;
    }
    .products-list li:nth-child(2n+1) {
        clear: left;
    }
    .products-list .item {
        width: 50%;
    }
    .gallery .thumbnails li {
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .products-list {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 600px) {
    .products-list {
        max-width: 100%;
    }
    .products-list .item {
        width: 50%;
        padding: 0 15px;
    }
    .gallery .txt,
    .gallery .stage {
        width: 100%;
        float: none;
    }
    .gallery .txt .product-name {
        text-align: center;
    }
    .gallery .thumbnails {
        max-width: 80%;
        margin: 0 auto;
    }
    .gallery .thumbnails li {
        width: calc((100% / 3) - 0.1px);
    }
}

@media screen and (max-width: 480px) {
    .products-list .item {
        width: 100%;
        padding: 0;
    }
    .gallery .thumbnails {
        max-width: 100%;
    }
}
