/*------------ product-list ------------*/
.products-list {
    margin: 0 -20px;
}
.products-list li {
    width: 25%;
    padding: 0 20px 45px;
    border-bottom: 1px dotted #ACACAC;
}
.products-list li:nth-child(4n+1) {
    clear: left;
}
.products-list>li>.box {
    margin: 50px auto 0;
    /* max-width: 330px; */
    box-sizing: border-box;
    position: relative;
}
.products-list>li>.box .cover {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    font-size: 0;
}
.products-list .pic {
    position: relative;
    box-sizing: border-box;
    transition: all .2s;
    z-index: 1;
}
.products-list .pic img {
    width: 100%;
}
.products-list li .box.new:before {
    content: '';
    position: absolute;
    display: block;
    top: -20px;
    right: -20px;
    z-index: 15;
    width: 70px;
    height: 68px;
    background: url('../../images/common/products/ic.png');
}
.products-list .box:hover .pic {
    opacity: .5;
    transition: all .2s;
}
.products-list .text {
    /* max-width: 330px; */
    margin: 15px auto 20px;
    padding: 0 5px;
    line-height: 1.2;
}
.products-list .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #548D16;
    font-size: 18px;
    font-weight: bold;
    height: 27px;
}
.products-list .description {
    font-size: 14px;
    line-height: 1.2;
    color: #666666;
    height: 51px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.products-list .more i {
    border: 2px solid #FFFF26;
    color: #FFFF26;
    text-align: center;
    font-size: 13px;
    line-height: 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 4px 0;
}
/*------------ search ------------*/
.products-search {
    border-top: 1px solid #8DC220;
    border-bottom: 1px solid #8DC220;
    font-size: 16px;
    color: #333333;
    padding: 15px 0;
    font-weight: 500;
}
.products-search span {
    color: #538C15;
}
.products-search b {
    color: #538C15;
    font-weight: normal;
    display: inline-block;
    margin: 0 5px 0 10px;
}
/*------------ detail ------------*/
.gallery .slider {
    float: left;
    width: 56%;
}
.gallery .txt {
    float: right;
    width: 42.5%;
}
.gallery .products-breadcrumb {
    text-align: left;
    border-top: 0;
    padding: 0 0 15px;
    margin: -2px 0 0 0;
}
.gallery .product-name {
    font-weight: bold;
    font-size: 28px;
    color: #548D16;
    padding: 23px 0 24px;
    line-height: 1.2;
    border-bottom: 1px solid #8DC220;
}
.gallery .txt-box {
    clear: both;
    background: #F4F8E7;
    padding: 25px 15px;
    font-size: 13px;
    margin: 0 0 10px;
}
.gallery .thumbnails {
    border: 1px solid #548D16;
    padding: 25px 60px 0 60px;
    position: relative;
    box-sizing: border-box;
}
.gallery .thumbnails:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 15px 10px 0;
    border-color: transparent #fff transparent transparent;
    position: absolute;
    top: 50%;
    right: 100%;
    margin: -10px 0 0 0;
    z-index: 10;
}
.gallery .thumbnails:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 17px 11px 0;
    border-color: transparent #548D16 transparent transparent;
    position: absolute;
    top: 50%;
    right: 100%;
    margin: -11px 0 0 0;
    z-index: 5;
}
.gallery .thumbnails ul {
    margin: 0 -9px;
}
.gallery .thumbnails li {
    padding: 0 9px 18px;
    width: calc((100% / 3) - 0.1px);
}
.gallery .thumbnails li:nth-child(3n+1) {
    clear: both;
}
.gallery .thumbnails li a {
    position: relative;
}
.gallery .thumbnails li a:before,
.gallery .thumbnails li a:after {
    content: "";
    display: block;
    position: absolute;
    opacity: 0;
    transition: all .2s;
}
.gallery .thumbnails li a:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .5);
}
.gallery .thumbnails li a:after {
    content: "\e1022";
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: rgba(51, 51, 51, .5);
    font-size: 25px;
    top: 0%;
    left: 50%;
    margin: -12px 0 0 -12px;
}
.gallery .thumbnails li.active a:before,
.gallery .thumbnails li.active a:after,
.gallery .thumbnails li a:hover:before,
.gallery .thumbnails li a:hover:after {
    opacity: 1;
    transition: all .2s;
}
.gallery .thumbnails li.active a:after,
.gallery .thumbnails li a:hover:after {
    top: 50%;
}
/*------------ products-title ------------*/
.products-detail {
    margin: 50px 0 0 0;
}
.products-detail .title {
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #8DC220;
    margin: 0 0 30px;
}
.products-detail .title span {
    background: #8DC220;
    color: #fff;
    display: inline-block;
    line-height: 30px;
    width: 100px;
}
/*------------ rwd ------------*/
@media screen and (max-width: 1280px) {
    .gallery .slider,
    .gallery .txt {
        float: none;
        width: auto;
        max-width: 800px;
        margin: 0 auto;
    }
    .gallery .txt {
        margin: 25px auto 0;
    }
    .gallery .thumbnails {
        margin: 25px 0 0 0;
    }
    .gallery .thumbnails:before {
        border-width: 0 10px 15px 10px;
        border-color: transparent transparent #fff transparent;
        bottom: 100%;
        top: auto;
        right: 50%;
        margin: 0 -15px 0 0;
    }
    .gallery .thumbnails:after {
        border-width: 0 11px 17px 11px;
        border-color: transparent transparent #548D16 transparent;
        bottom: 100%;
        top: auto;
        right: 50%;
        margin: 0 -16px 0 0;
    }
}
@media screen and (max-width: 1200px) {
    .products-list li {
        width: calc((100% / 3) - 0.1px);
    }
    .products-list li:nth-child(3n+1) {
        clear: left;
    }
    .products-list li:nth-child(4n+1) {
        clear: none;
    }
}
@media screen and (max-width: 900px) {
    .products-list li {
        width: 50%;
    }
    .products-list li:nth-child(2n+1) {
        clear: left;
    }
    .products-list li:nth-child(3n+1) {
        clear: none;
    }
    .gallery .thumbnails {
        padding: 20px 20px 0;
    }
}
@media screen and (max-width: 767px) {
    .sort_icon .ibtn.one {
        display: inline-block;
    }
    .sort_icon .ibtn.four {
        display: none;
    }
}
@media screen and (max-width: 600px) {
    .gallery .thumbnails li {
        width: 50%;
    }
    .gallery .thumbnails li:nth-child(n) {
        clear: inherit;
    }
    .gallery .thumbnails li:nth-child(2n+1) {
        clear: both;
    }
}
@media screen and (max-width: 480px) {
    .products-list {
        margin: 0;
    }
    .products-list li {
        width: 100%;
        padding: 0 0 45px;
    }
}
@media screen and (max-width: 400px) {
    .sort_box .control-box span {
        display: none;
    }
    .sort_box .form-control.sort-pc {
        display: none;
    }
    .sort_box .form-control.sort-mobile {
        display: block;
        width: 80px;
    }
}
/*product_column欄位*/
.products_column_one .item {
    width: 100%;
}
.products_column_two .item {
    width: 50%;
}
.products_column_two .item:nth-child(n) {
    clear: inherit;
}
.products_column_two .item:nth-child(2n+1) {
    clear: left;
}
.products-list.products_column_two>li>.box,
.products-list.products_column_two .text {
    max-width: unset;
    width: 100%;
}
/*!product_column欄位*/