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

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

.product-list li {
    width: 25%;
    padding: 0 20px 90px;
}

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

.product-list > li > a {
    margin: 0 auto;
    display: inline-block;
}

.product-list .pic {
    position: relative;
    border: 1px solid #414141;
    box-sizing: border-box;
    margin-bottom: 20px;
    transition: all .2s;
}

.product-list .pic img {
    max-width: 324px;
    width: 100%;
}

.product-list li:hover .pic {
    border-color: #CAAB6C;
    transition: all .2s;
}

.product-list .product-name .description {
    font-size: 15px;
    line-height: 1.3;
    color: #7B7B7B;
    height: 58px;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-list .product-name .name {
    font-size: 18px;
    font-weight: bold;
    color: #FF0000;
    margin-bottom: 10px;
    transition: all .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-list li:hover .name {
    color: #CAAB6C;
    transition: all .2s;
}

.product-list .btn {
    color: #BBBBBB;
    background: #3A3A3A;
    line-height: 30px;
    border-radius: 5px;
    letter-spacing: 1px;
    padding: 0 7px;
    display: block;
    width: 110px;
    margin: 0 auto;
    font-size: 12px;
    font-family: 'Duru Sans', sans-serif;
}

.product-list li:hover .btn {
    color: #fff;
    background: #D00000;
}


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

.products-info {
    max-width: 660px;
    margin: 0 auto 140px;
}

.products-info .product-name {
    font-size: 35px;
    color: #9E8557;
    text-align: center;
    letter-spacing: 1px;
    font-family: 'Alegreya Sans', sans-serif;
}

.products-info .txt {
    margin: 35px 0 50px;
}

.products-info .slick-slider .slick-list {
    border: 1px solid #414141;
    box-sizing: border-box;
    position: relative;
}

.products-info .form-group {
    margin: 0 0 20px;
}

.products-info .form-group .control-label {
    width: 45%;
    display: inline-block;
    text-align: right;
    font-size: 18px;
    color: #929292;
    font-weight: normal;
    font-family: 'Alegreya Sans', sans-serif;
    border-right: 1px solid #333333;
    line-height: 22px;
    padding: 0 20px 0 0;
    box-sizing: border-box;
    margin: 0 -4px 0 0;
}

.products-info .form-group .control-box {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    color: #929292;
    padding: 0 0 0 20px;
    width: 55%;
    margin: 0 -4px 0 0;
    box-sizing: border-box;
}

.products-info .form-group select.form-control {
    height: 25px;
    background: #555555;
    color: #CCCCCC;
    min-width: 185px;
    border: 0;
}

.products-info .form-group .control-box.price b {
    color: #FFFFFF;
    font-size: 16px;
    margin: 0 10px 0 0;
}

.products-info .description {
    font-size: 15px;
    color: #7B7B7B;
    line-height: 1.3;
    margin: 45px 0;
}


/*------------ swiper ------------*/

.gallery .slick-next,
.gallery .slick-prev {
    width: 27px;
    height: 50px;
    background: url('../../images/common/products/arrow.png');
    left: -200px;
    border: 0;
    color: transparent;
    position: absolute;
    top: 40%;
    margin: -25px 0 0 0;
    cursor: pointer;
}

.gallery .slick-next {
    transform: rotate(180deg);
    left: auto;
    right: -200px;
}

.gallery .slick-next:hover,
.gallery .slick-prev:hover {
    background-position: 0 100%;
}

.gallery .slick-dots,
.gallery .slick-dots li {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style: none;
}

.gallery .slick-dots {
    display: block;
    margin: 30px 0 0 0;
    text-align: center;
}

.gallery .slick-dots li {
    margin: 0 10px;
}

.gallery .slick-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    color: transparent;
    border: 0;
    padding: 0;
    background: #333333;
    cursor: pointer;
}

.gallery .slick-active button {
    background: #B20000;
}


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

.products-detail {
    max-width: 955px;
    margin: 0 auto;
}


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

@media screen and (max-width: 1100px) {
    .gallery .slick-prev {
        left: -40px;
    }
    .gallery .slick-next {
        right: -40px;
    }
}

@media screen and (max-width: 1024px) {
    .product-list li {
        width: calc((100% / 3) - 0.1px);
        text-align: center;
    }
    .product-list li:nth-child(4n+1) {
        clear: none;
    }
    .product-list li:nth-child(3n+1) {
        clear: left;
    }
    .products-info .gallery,
    .products-info .txt {
        float: none;
        width: 100%;
        max-width: 840px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 767px) {
    .product-list li {
        width: 50%;
    }
    .product-list li:nth-child(3n+1) {
        clear: none;
    }
    .gallery .slick-prev {
        left: 20px;
    }
    .gallery .slick-next {
        right: 20px;
    }
}

@media screen and (max-width: 600px) {
    .product-list {
        margin: 0;
    }
    .product-list li {
        width: 100%;
        padding: 0 0 70px;
    }
    .product-list .product-name {
        max-width: 330px;
        margin: 0 auto;
    }
    .related-box .related-slider {
        width: calc(100% - 126px);
        margin: 0 0 0 40px;
    }
}

@media screen and (max-width: 480px) {
    .gallery .slick-prev {
        left: 10px;
    }
    .gallery .slick-next {
        right: 10px;
    }
    .products-info .form-group .control-label,
    .products-info .form-group .control-box {
        text-align: left;
        width: 100%;
        display: block;
        border: 0;
        border-bottom: 1px solid #444;
    }
    .products-info .form-group .control-box {
        border: 0;
        margin: 5px 0 25px;
        padding: 0;
    }
}
