@charset "utf-8";



/*------------ product-list ------------*/

.products-list li .pic a {
    position: relative;
    z-index: 10;
}

.products-list {
    margin: 0 -17px;
}

.products-list li {
    width: 25%;
    padding: 0 10px 45px;
}
.products-list .box {
    position: relative;
}
.products-list .item .cover{
    font-size: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
}
.products-list .new {
    position: relative;
}

.products-list .new:before {
    content: '';
    text-align: center;
    display: block;
    z-index: 15;
    position: absolute;
    z-index: 11;
}

.products-list li:nth-child(4n+1) {
    clear: left;
}

.products-list li a {
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
}

.products-list .pic {
    position: relative;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    margin: 0 auto 10px;
    transition: all .2s;
}


.products-list .pic img {
    width: 100%;
}

.products-list .pic-box {
    position: relative;
}


.products-list a:hover .pic:before,
.products-list a:hover .pic:after {
    transition: all .2s;
    opacity: 1;
}

.products-list .pic-box span {
    display: block;
    text-align: center;
    margin: auto;
    z-index: 15;
    opacity: 0;
    position: absolute;
   
}

.products-list .text {
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
    font-size: 16px;
    position: relative;
    transition: all .2s;
}

.products-list li:hover a {
}

 .products-list .name a{
     white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 28px;
 }

/*------------ search-list ------------*/

.products-list.search li:nth-child(5n+1) {
    clear: left;
}

.products-list.search li:nth-child(4n+1) {
    clear: none;
}

.products-list.search li {
    width: 20%;
    padding: 0 10px 45px;
}


/*------------ sort_box ------------*/

.sort_box {
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    padding: 0;
    margin-top: 0px;
}

.sort_box .control-label {
    float: left;
    margin-right: 10px;
    line-height: 30px;
}

.sort_box .control-box {
    float: left;
}

.sort_box .form-control {
    margin-bottom: 0px;
    padding: 0 5px;
    height: 30px;
}

.sort_box .form-control:focus {
    outline: none;
}

.sort_box .form-group {
    float: left;
    padding: 5px 0;
}

.sort_box .form-group:after {
    content: '';
    display: block;
    float: left;
    z-index: 10;
    height: 22px;
    left: 0;
    top: 0;
    margin: 4px 4px;
}

.sort_icon {
    float: left;
    line-height: 30px;
    padding: 4px 0 0;
}

.sort_icon .ibtn.one {
    width: 24px;
    height: 24px;
    display: none;
}

.sort_icon .ibtn.two {
    width: 24px;
    height: 24px;
}

.sort_icon .ibtn.four {
    width: 24px;
    height: 24px;
}

.sort_icon .ibtn.active {
    background-position: 0 100%;
}

.sort_box .form-control.sort-mobile {
    display: none;
}

@media screen and (max-width: 767px) {
    .sort_icon .ibtn.one {
        display: inline-block;
    }
    .sort_icon .ibtn.four {
        display: none;
    }
}

/*************************************/


/***products_view_two***/

.products-list.type1 li.item_two {
    width: 50%;
    padding: 0 10px;
}

.products-list.type1 li.item_two:nth-child(4n+1) {
    clear: none;
}

.products-list.type1 li.item_two:nth-child(3n+1) {
    clear: none;
}

.products-list.type1 li.item_two:nth-child(2n+1) {
    clear: left;
}

.products-list.type1 li.item_two .box {
    max-width: 100%;
}

@media screen and (max-width: 480px) {
    .products-list.type1 li.item_two {
        padding: 0 5px;
    }
}





/***products_view_one***/

.products-list.type1 li.item_one:nth-child(n) {
    clear: none;
    width: 100%;
}





/********************************/

.share_box .share-link .btn {
    width: 30px;
}

.share_box .share-link .btn {
    font-size: 30px;
}




/*---- detail -----*/

.products-intro {
    margin: 15px 0 30px;
    flex-wrap: nowrap;
}

.gallery {
    float: left;
    width: 50%;
    box-sizing: border-box;
}

.pd-intro{
    float: right;
    width: 48%;
    font-size: 14px;
    position: relative;
    box-sizing: border-box;
}

.gallery .slider {
    max-width: 480px;
    margin: 0 auto;
}

.pd-intro .pd-name {
    padding: 2px 0 2px 0px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 0.06em;
    margin: 15px 0 15px;
}

.pd-info {
    padding: 0;
}

.pd-description {
    font-size: 14px;
}

.pd-info .title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.pd-info-divider {
    border: 0;
    height: 1px;
}

.thumbnails ul {
    margin: 0 -2%;
    max-width: 500px;
}

.thumbnails li {
    padding: 4% 2% 0;
    width: 33.33%;
}

.thumbnails li a {
    overflow: hidden;
    position: relative;
    opacity: 0.5;
}

.thumbnails li a:hover,
.thumbnails li.active a {
    opacity: 1;
}

.thumbnails li a img {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 0.5;
}

.thumbnails li a:hover img,
.thumbnails li.active a img {
    opacity: 1;
}

.products-detail {
    position: relative;
    margin-bottom: 80px;
}

.products-detail .title {
    font-size: 16px;
    padding-left: 26px;
    padding-bottom: 4px;
    margin-bottom: 24px;
}

.products-detail .title:before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 15px;
    position: absolute;
    left: 5px;
    top: 7px;
}

.products-detail .title span:after {
    content: '';
    width: 100px;
    height: 1px;
    display: block;
    position: absolute;
    left: 0px;
    margin-top: 3px;
}




/*------------ rwd ------------*/

@media screen and (max-width: 1000px) {
    .has-side .content {
        width: calc(100% - 270px);
        float: right;
    }
    .products-info .gallery {
        width: 50%;
    }
    .products-info .txt {
        width: 49%;
    }
    .pd-intro {
        /* float: none; */
        /* width: auto; */
        /* clear: both; */
        margin-bottom: 30px;
    }
    .gallery {
        /* width: 59%; */
    }
    .thumbnails {
    }
    .thumbnails li {
        width: 33.3%;
        padding: 0 2% 4%;
    }
   
}

@media screen and (max-width: 1000px) {
    /*手機板*/
    .product-name {
        font-size: 16px;
        line-height: 1.4;
        letter-spacing: 0;
        display: block;
        margin-bottom: 2px;
    }

    .products-info .txt {
        margin: 0px 0 0;
        padding-top: 5px;
    }

    .control-label {
        width: 40%;
    }
    .products-info .control-box {
        width: 50%;
    }
    .form-group select.form-control {
        display: inline-block;
        margin: 0;
        min-width: 100%;
        height: 28px;
        line-height: 26px;
        font-size: 12px;
    }

    .products-info {
        padding-bottom: 3px;
        margin-bottom: 3px;
    }

    .pd-intro .pd-name {
        font-size: 16px;
        margin: 10px 0 10px;
    }

    .sort_box {
        margin-bottom: 0px;
        line-height: 1.45;
        height: 30px;
    }
    .products-info .gallery,
    .products-info .txt {
        width: 100%;
    }
    .products-list .item {
        width: 33.33%;
        margin-bottom: 20px;
    }
    .products-list .item:nth-child(n) {
        clear: inherit;
    }
    .products-list .item:nth-child(3n+1) {
        clear: left;
    }
    .products-detail {
        margin-bottom: 40px;
    }
    .products-list {
        margin: 20px 5px 0;
    }
    .products-list.search li:nth-child(5n+1) {
        clear: none;
    }
    .products-list.search li:nth-child(3n+1) {
        clear: left;
    }
    .products-list.search .item {
        width: 33.33%;
        padding: 5px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 767px) {

    .products-list .item,
    .products-list.search .item {
        width: 50%;
    }
    .products-list .item:nth-child(n),
    .products-list.search li:nth-child(3n+1) {
        clear: inherit;
    }
    .products-list .item:nth-child(2n+1),
    .products-list.search li:nth-child(2n+1) {
        clear: left;
    }
   .gallery, .pd-intro,.thumbnails {
        float: none;
        width: auto;
    }
    .thumbnails ul {
        margin: 0 -5px;
        max-width: none;
    }
    .thumbnails li {
        padding: 10px 5px 0;
    }
     .gallery{
        margin-bottom:15px;
    }
    .thumbnails li a {
    max-width: 150px;
    margin: 0 auto;
}
}

@media screen and (max-width: 480px) {

    .plus-list li {
        padding: 0 0 45px;
    }
}

@media screen and (max-width: 400px) {
    .pd-intro .btn-group .col {
        width: 100%;
    }
    .sort_box .control-box span {
        display: none;
    }
    .pd-intro .btn-group .btn.wish .ic {
        display: none;
    }
    .pd-intro .btn-group .btn {
        font-size: 12px;
    }
    .sort_box .form-control.sort-pc {
        display: none;
    }
    .sort_box .form-control.sort-mobile {
        display: block;
        width: 60px;
    }
    .products-list .btn {
        width: 100%;
    }
    .products-list .btn.detail {
        display: none;
    }
}





/*product_column欄位*/

.product_column_one .item {
    width: 100%;
}

.product_column_two .item {
    width: 50%;
}

.product_column_two .item:nth-child(n) {
    clear: inherit;
}

.product_column_two .item:nth-child(2n+1) {
    clear: left;
}





/*!product_column欄位