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

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

.product-list li {
    width: 25%;
    padding: 0 10px 50px;
}

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

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

.product-list .pic,
.thumbnails li a {
    position: relative;
    box-sizing: border-box;
    transition: all .2s;
    -webkit-border-top-right-radius: 50px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-topright: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    overflow: hidden;
    margin: 0 0 10px;
    z-index: 1;
}

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

.product-list .pic:before,
.thumbnails li a:before{
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:rgba(28, 12, 12, 0.6);
    z-index: 0;
}

.product-list .pic:after,
.thumbnails li a:after {
    content: "\e1032";
    color: #fff;
    font-size: 21px;
    width: 35px;
    height: 35px;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    display: block;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    z-index: 15;
    top: 0;
    left: 50%;
    margin: -17px 0 0 -17px;
}

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

.product-list li a:hover .pic:after,
.thumbnails li a:hover:after,
.thumbnails li.active a:after  {
    top: 50%;
}

.product-list .text {
    max-width: 212px;
    margin: 0 auto;
}

.product-list .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #33601D;
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.product-list li:hover .name {
    color: #BA8030;
    text-decoration: underline;
}

.product-list li .description {
    color: #525252;
    line-height: 1.4;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 15px 0;
}

.product-list li .ibtn {
    transition: all .2s;
    font-family: 'Istok Web', sans-serif;
    width: 45%;
    line-height: 36px;
    font-size: 12px;
    border-radius: 7px;
    letter-spacing: 0;
    box-shadow: 2px 2px 0px #a37063;
    text-indent: initial;
    text-align: center;
}

.product-list li .ibtn i {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 2px 0;
    font-size: 20px;
}

.product-list li .more {
    background: #a37063;
    color: #fff;
    font-weight: bold;
    box-shadow: 2px 2px 0px #64433C;;
    max-width: 140px;
    width: 100%;
    transition: all .2s;
    margin: 0 auto;
    font-family: 'Istok Web', sans-serif;
    position: relative;
    top: 0;
}
.product-list li .more:hover {
    box-shadow: none;
    background: #64433C;
    transition: all .2s;
    top: 3px;
}
.product-list li .ibtn:hover {
    transition: all .2s;
    box-shadow: none;
}

.product-list li .more .ic-leaf3 {
    display: inline-block;
    background: url(../../images/common/products/more.png);
    width: 24px;
    height: 24px;
    font-size: 0;
}
/*------------ detail ------------*/

.product-name {
    font-size: 20px;
    line-height: 1.4;
    color: #335F1D;
}

.products-info {
    margin: 80px 0 0;
}

.products-info .txt {
    float: right;
    width: 46%;
    box-sizing: border-box;
    line-height: 1.2;
}

.products-info .content-title {
    font-size: 15px;
    line-height: 1.4;
    margin: 5px 0;
}

.products-info .products-breadcrumb {
    margin: 3px 0 20px 0;
    padding: 0 0 12px 0;
    line-height: 1.4;
}

.products-info .slider {
    float: left;
    width: 51%;
}

.products-info .slider .pic {
    -webkit-border-top-right-radius: 50px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-topright: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    overflow: hidden;
    position: relative;
}

.thumbnails ul {
    margin: 0 -6px;
}

.thumbnails li a {
    margin: 0;
    border-radius: 0;
}

.thumbnails li {
    padding: 0 6px 20px;
    width: 20%;
    margin-left: -1px;
}


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

.products-detail {
    margin: 35px 0 0 0;
}

.products-detail .title {
    font-weight: bold;
    color: #779C3B;
    margin: 0 0 25px;
    font-size: 24px;
    font-family: 'Expletus Sans','微軟正黑體', cursive;
}

.products-detail .title i {
    font-size: 34px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 5px 0;
}


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

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

@media screen and (max-width: 1100px) {
    .products-info {
        margin: 0;
    }
}

@media screen and (max-width: 767px) {
    .product-list li {
        width: 50%;
    }
    .product-list li:nth-child(2n+1) {
        clear: left;
    }
    .product-list li:nth-child(3n+1) {
        clear: none;
    }
    .products-info .slider,
    .products-info .txt {
        float: none;
        max-width: 470px;
        margin: 0 auto;
        width: auto;
        text-align: center;
    }
    .products-info .products-breadcrumb {
        text-align: center;
        margin: 10px 0 20px 0;
    }
}

@media screen and (max-width: 480px) {
    .product-list {
        margin: 0;
    }
    .product-list li {
        width: 100%;
        padding: 0 0 75px;
    }
    .thumbnails li a {
        -webkit-border-top-right-radius: 30px;
        -webkit-border-bottom-left-radius: 30px;
        -moz-border-radius-topright: 30px;
        -moz-border-radius-bottomleft: 30px;
        border-top-right-radius: 30px;
        border-bottom-left-radius: 30px;
    }
}
