.products-list {
    margin: 0 -16px;
}
.products-list .item {
    width: 25%;
    padding: 0 16px;
}
.products-list .item:nth-child(4n+1) {
    clear: left;
}
.products-list .box {
    max-width: 335px;
    margin: 0 auto 45px;
    padding: 6px 6px 20px;
    border: 1px solid #C8C8C8;
    box-shadow:2px 2px 2px rgba(0%,0%,0%,0.2);
    position: relative;
}
.products-list .box.new:before {
    content: '';
    display: block;
    background: url('../../images/common/products/new_tag.svg') no-repeat;
    width: 60px;
    height: 60px;
    position: absolute;
    z-index: 2;
    left: 13px;
    top: 15px;
}
.products-list .pic-box {
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}
.products-list .pic {
    margin:0 auto;
    display: block;
    position: relative;
    overflow: hidden;
}
.products-list .pic:before {
    content: "";
    background: url(../../images/common/products/hover.svg) 50% 60% no-repeat rgba(0,0,0,0.4);
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: all 0.3s;
}
.products-list a:hover .pic:before {
    background-position: 50% 50%;
    opacity: 1;
}
.products-list .txt{
    text-align: center;
}
.products-list .name {
    color: #060000;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 27px;
}
.products-list a:hover .name {
    color: #0091F0;
}
.products-list .description {
    color: #838383;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 41px;
    margin-bottom: 10px;
}
.products-list a:hover .description {
    text-decoration: underline;
}
.products-list .btn-group {
    overflow: hidden;
}
.products-list .btn {
    width: 100%;
    line-height: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 0 12px;
}
.products-list .btn.detail {
    background: #DAE51E;
}
.products-list a:hover .btn.detail {
    background: #ABB315;
}
.products-list .btn .icon {
    width: 20px;
    height: 20px;
    margin: 0 5px 3px 0;
}
.products-list .btn.detail .icon {
     background-position: -60px -87px;
}
/***產品列表1個排一列***/
.products-list .item_one {
    width: 100%;
}
.products-list .box {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}
/**********************/
/***產品列表2個排一列***/
.products-list .item_two {
    width: 50%;
    padding: 0 10px;
}
.products-list .item_two:nth-child(2n+1) {
    clear: left;
}
.products-list .item_two .box {
    max-width: 490px;
    margin: 0 auto 40px;
    position: relative;
}
/**********************/
/***產品列表頁排序功能，下拉選單跟變換列表尺寸的小圖***/
.sort_box{
    margin-bottom: 20px;
    width: 100%;
    text-align: right;
    margin-top: -30px;
}
.control-label{
    float: left;
    margin-right: 10px;
    line-height: 30px;
}
.control-box{
    float: left;
}
.sort_box .form-control {
    margin-bottom: 0px;
    border: none;
    background: none;
    border-radius: 0;
}
.sort_box .form-group {
    float: left;
    padding: 5px 0;
}
.sort_box .form-group .form-control:focus{
    background: #F0F1F3;
}
.sortnum-box:after,
.sort_icon:after{
    content: '';
    display: inline-block;
    vertical-align: middle;
    border-right: 1px solid #ddd;
    z-index: 10;
    height: 22px;
    left: 0;
    top: 0;
    margin: 4px 14px;
}
.sortnum-box,
.sortform{
    display: inline-block;
    vertical-align: middle;
}
.sortnum-box a{
    line-height: 24px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}
.sortnum-box a:hover{
    color: #000;
    font-weight: bold;
}
.sortnum-box a.active{
    color: #000;
    font-weight: bold;
    background: #ffed2a;
}
.sort_icon{
    line-height: 30px;
    padding: 5px 0;
    display: inline-block;
    vertical-align: middle;
}
.sort_icon .ibtn {
    background-image: url(../../images/common/products/sort_icon.svg);
    width: 24px;
    height: 24px;
}
.sort_icon .ibtn.one {
    background-position: 0 0;
    display: none;
}
.sort_icon .ibtn.two {
    background-position: -24px 0;
}
.sort_icon .ibtn.four {
    background-position: -48px 0;
}

.sort_icon .ibtn.one.active {
    background-position: 0 100%;
}
.sort_icon .ibtn.two.active {
    background-position: -24px 100%;
}
.sort_icon .ibtn.four.active {
    background-position: -48px 100%;
}
/***************************/
.products-intro,
.products-detail{
    max-width: 1100px;
    margin: 0 auto;
}
.products-intro {
    margin-bottom: 50px;
    max-width: 1100px;
}
.gallery {
    float: left;
    width: 66%;
    max-width: 700px;
    border:1px solid #C8C8C8;
    padding: 10px;
    box-shadow:2px 2px 2px rgba(0%,0%,0%,0.3);
}
.gallery .pic {
    background: #fff;
}
.pd-intro{
    border:1px solid #929292;
    border-width: 1px 0;
    padding: 10px 0 15px;
    margin-bottom: 25px;
}
.pd-intro,
.thumbnails {
    float: right;
    width: 29%;
}
.pd-id {
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
}
.pd-name {
    color: #0091F0;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.05em;
    padding: 5px 0;
    margin: 0;
}
.pd-description {
    font-size: 14px;
    letter-spacing: 0.035em;
    line-height: 1.7;
}
.pd-info {
    margin: 12px 0;
}
.pd-info b {
    color: #F2856C;
    font-size: 20px;
}
.pd-info select.form-control {
    display: inline-block;
    margin: 0;
    max-width: 240px;
    border-color: #ccc;
    border-radius: 0;
}
.pd-price {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}
.pd-intro .btn-group {
    margin: 25px -7px 0;
}
.pd-intro .btn-group .col {
    float: left;
    width: 50%;
    padding: 0 7px;
}
.pd-intro .btn-group .btn {
    width: 100%;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.pd-intro .btn-group .btn.addcart {
    background: #1B7292;
}
.pd-intro .btn-group .btn.addcart:hover {
    background: #ABB315;
}
.pd-intro .btn-group .btn.wish {
    background: #FBCFC7;
}
.pd-intro .btn-group .btn.wish:hover {
    background: #ABB315;
}
.pd-intro .btn-group .btn.soldout {
    background: #EEE;
    color: #C6C6C6;
    cursor: not-allowed;
}
.pd-intro .btn-group .btn.arrival {
    border: 1px solid #C6C6C6;
    color: #B4B4B4;
    line-height: 38px;
}
.pd-intro .btn-group .btn.arrival:hover {
    color: #1B7292;
}
.pd-intro .btn-group .btn .icon {
    width: 20px;
    height: 20px;
    margin: 0 8px 5px 0;
}
.pd-intro .btn-group .btn.addcart .icon {
    background-position: -20px -87px;
}
.pd-intro .btn-group .btn.wish .icon {
    background-position: -40px -87px;
}
.pd-intro .share_box {
    margin: 0px 0 10px 0;
}
.pd-intro .share_box .share .btn{
    font-size: 28px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    border: 1px solid transparent;
    margin: 2px 0;
}
.pd-intro .share_box .share .btn.facebook,
.pd-intro .share_box .share .btn.google,
.pd-intro .share_box .share .btn.twitter,
.pd-intro .share_box .share .btn.line{ 
    color: #CCCCCC; 
}

.pd-intro .share_box .share .btn.facebook:hover { color: #405D9A; }
.pd-intro .share_box .share .btn.google:hover { color: #F34537; }
.pd-intro .share_box .share .btn.twitter:hover { color: #39A0CE; }
.pd-intro .share_box .share .btn.line:hover { color: #00C300; }

.thumbnails ul {
    margin: 0 -4px;
}
.thumbnails li {
    width: 50%;
    padding: 4px;
}
.thumbnails a {
    display: block;
    max-width: 140px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 5px;
    border: 1px solid #B2B2B2;
}
.thumbnails a:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,1);
    opacity: 0.5;
    transition: all 0.3s;
}
.thumbnails a:hover:before,
.thumbnails li.active a:before {
    opacity: 0;
}

.products-detail {
    border: 1px solid #ccc;
    border-width: 1px 0;
    padding: 20px 0 40px;
    position: relative;
}
.products-detail .title {
    background: #FFED2A;
    width: 120px;
    text-align: center;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    line-height: 36px;
    letter-spacing: 0.05em;
    position: relative;
}
.products-detail .title:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #000;
    border-radius: 100%;
    vertical-align: middle;
    margin-right: 8px;
}
.products-detail .title:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 13px 13px;
    border-color: transparent transparent #fff transparent;

}

@media screen and (max-width: 1240px) {
    .products-list .item {
        width: 33.33%;
    }
    .products-list .item:nth-child(4n+1) {
        clear: none;
    }
    .products-list .item:nth-child(3n+1) {
        clear: left;
    }
}
@media screen and (max-width: 1200px) {
    .gallery,
    .pd-intro,
    .thumbnails {
        float: none;
        width: auto;
    }
    .gallery {
        margin: 0 auto 25px;
    }
    .thumbnails li {
        width: 16.66%;
    }
}
@media screen and (max-width: 900px) {
    .products-list .item {
        width: 50%;
    }
    .products-list .item:nth-child(3n+1) {
        clear: none;
    }
    .products-list .item:nth-child(2n+1) {
        clear: left;
    }
}
@media screen and (max-width: 767px) {
    .products-list {
        margin: 0 auto;
    }
    .products-list .box {
        margin-bottom: 30px;
    }
    .gallery {
        margin-bottom: 5px;
    }
    .thumbnails ul {
        margin: 0 -5px;
    }
    .thumbnails li {
        padding: 5px;
    }
    .sort_icon .ibtn.one {
        display: inline-block;
    }
    .sort_icon .ibtn.four {
        display: none;
    }
}
@media screen and (max-width: 560px) {
    .thumbnails li {
        width: 33.33%;
    }
}
@media screen and (max-width: 500px) {
    .products-list .item{
        width: 100%;
    }
}
@media screen and (max-width: 400px) {
    .pd-intro .btn-group .col {
        width: 100%;
    }
}