﻿.activity-banner {
    margin-bottom: 50px;
}

.products-list.type1,
.products-list.type2 {
    margin: 0 -10px;
}

.products-list.type1 .item {
    width: 25%;
    padding: 0 10px;
}

.products-list.type2 .item {
    width: 20%;
    padding: 0 10px;
}

.products-list .box {
    max-width: 240px;
    margin: 0 auto 45px;
    position: relative;
}

.gallery,
.products-list .pic-box {
    position: relative;
    overflow: hidden;
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0 0 8px 0;
    background: url('../../images/common/products/p_line.png') bottom center no-repeat;
}

.products-list .pic:before {
    content: '';
    background: rgba(255, 255, 255, 0.3);
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 8px;
    left: 0;
    right: 0;
    opacity: 0;
    transition: all 0.3s;
}

.products-list .box:hover .pic:before {
    background-position: 50% 50%;
    opacity: 1;
}

.products-list .pic-box .pic {
    border: 1px solid #E8E8E8;
}

.products-list .pic-box .ibtn {
    background-image: url('../../images/common/products/btns.png');
    width: 48px;
    height: 48px;
    position: absolute;
    z-index: 2;
    right: 0;
    top: 0;
}

.products-list .pic-box .ibtn.wish {
    background-position: 0 0;
}

.products-list .pic-box .ibtn.wish:hover {
    background-position: 0 100%;
}

.products-list .pic-box .ibtn.delete {
    background-position: 100% 0;
}

.products-list .pic-box .ibtn.delete:hover {
    background-position: 100% 100%;
}

.products-list .txt {
    margin: 15px 0 10px;
    position: relative;
}

.products-list .wish {}

.products-list .wish i:before {
    background: #E4685C;
    border-radius: 50%;
    position: absolute;
    right: 10px;
    top: -108px;
    width: 30px;
    height: 22px;
    color: #fff;
    padding: 8px 0 0;
    text-align: center;
    z-index: 100;
}

.products-list a:hover .wish i:before {
    background: #DB3624;
}

.pd-intro .taste,
.products-list .item .txt .taste {
    display: block;
    font-size: 13px;
    font-family: 'Architects Daughter', cursive;
    font-style: italic;
    text-align: left;
    padding: 0 35px 0 0;
}

.products-list .item .txt .name {
    color: #333333;
    font-size: 19px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .2s;
}

.products-list .item .txt .offers {
    color: #FB5955;
    text-align: center;
    margin: 0 0 5px 0;
    font-weight: bold;
}

.products-list .item a:hover .txt .name {
    color: #008C46;
}

.products-list .btn-group {
    overflow: hidden;
    margin-top: 8px;
}

.products-intro {
    margin-bottom: 30px;
}

.share_box {
    margin: 5px 0 15px;
}

.gallery,
.related-box {
    float: left;
    width: 50%;
    max-width: 450px;
}

.gallery .pic {
    border: 1px solid #E8E8E8;
}

.pd-intro {
    float: right;
    width: 48%;
}

.pd-intro .pd-id {
    font-weight: bold;
}

.pd-intro .pd-name {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 20px;
    line-height: 1.2;
}

.pd-intro .pd-price-better {    background: #f4f3f4;
    border-radius: 30px;
    color: #dc0000;
    display: block;
    padding: 5px 20px;
    float: left;
    margin: -7px 0 10px;
    font-weight: 700;
}

.pd-intro .pd-price-better span {
    font-size: 20px;
}



/*---------------------------*/

.pd-activity {
    display: inline-block;
    vertical-align: middle;
    padding: 0 15px 0 40px;
    transition: all .2s;
    position: relative;
    border: 1px dashed #222;
    color: #222;
    font-weight: bold;
    box-shadow: 4px 4px rgba(51,51,51,0.1);
}

.pd-activity:hover {
    color: #fe935b;
    box-shadow: 0 0 rgba(51,51,51,0.1);
}

.pd-activity:before,
.pd-activity:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px;
    border-color: transparent transparent transparent #999;
    display: inline-block;
    vertical-align: middle;
    animation-duration: .5s;
    animation-iteration-count: infinite;
    position: absolute;
    animation-direction: alternate;
    top: 7px;
}

.pd-activity:before {
    animation-name: activity-ani;
    opacity: .5;
    left: 8px;
}

.pd-activity:after {
    animation-name: activity-ani2;
    opacity: 1;
    left: 20px;
}

@keyframes activity-ani {
    from {
        opacity: .5;
    }
    to {
        opacity: 1;
    }
}

@keyframes activity-ani2 {
    from {
        opacity: 1;
    }
    to {
        opacity: .5;
    }
}

.pd-activity a {
    display: block;
}

.pd-info {
    margin: 15px 0;
}

.pd-info select.form-control {
    display: inline-block;
    margin: 0;
    width: 46%;
    height: 30px;
    line-height: 28px;
    background: #fff;
    border-color: #ccc;
    border-radius: 0;
}

.pd-info select.form-control:focus {
    border-color: #aaa;
}

.pd-info.price:after,
.pd-info-box:after {
    content: "...........................................................................................................................................................................................";
    font-size: 1px;
    letter-spacing: 2px;
    display: block;
    overflow: hidden;
    height: 14px;
    margin: 0 0 20px 0;
    visibility: visible;
}

.pd-price {
    display: block;
    vertical-align: middle;
    padding: 0 20px;
    position: relative;
}

.pd-price .pd-info-label {
    width: 80px;
}

.pd-price:before {
    content: '●';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.pd-price.better {
    color: #FB5955;
}

.pd-price.better b {
    margin: 0 10px 0 0;
}

.pd-info-label {
    float: left;
    border-right: 1px solid #ddd;
    width: 100px;
    margin: 0px 15px 0px 0;
}

.pd-info .color-radio {
    display: inline-block;
    padding: 2px;
    border: 1px solid #DCDCDC;
    position: relative;
    line-height: normal;
    margin: 0 3px 6px 0;
    cursor: pointer;
}

.pd-info .color-radio.checked {
    border-color: #DA3524;
}

.pd-info .color-radio input {
    visibility: hidden;
    position: absolute;
    z-index: -1;
    width: 0;
    height: 0;
}

.pd-intro .btn-group {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    margin: 0 -1%;
}

.pd-intro .btn-group .btn {
    float: left;
    width: 48%;
    color: #fff;
    background: #555555;
    font-size: 16px;
    font-weight: initial;
    letter-spacing: 2px;
    padding: 10px 0;
    margin: 1%;
}
.pd-intro .btn-group .btn:hover{
    border-radius: 0;
}
.pd-intro .btn-group .btn.addcart {
    background: #fe935b;
}

.pd-intro .btn-group .btn.addcart:hover {
    background: #ffcd69;
}

.pd-intro .btn-group .btn.buynow {
    background: #80AF5D;
}

.pd-intro .btn-group .btn.buynow:hover {
    background: #4d7457;
}

.pd-intro .btn-group .btn.soldout {
    background: #aaa;
    cursor: not-allowed;
}

.pd-intro .btn-group .btn.arrival {
    background: #555555;
}

.pd-intro .btn-group .btn.arrival:hover {
    background: #777;
}

.pd-intro .btn-group .btn.wish {
    float: none;
    clear: both;
    width: 98%;
    color: #fff;
    font-size: 16px;
    margin-top: 5px;
    background: #ff5a4a ;
}

.pd-intro .btn-group .btn.wish:hover {
    background: #ee1f3d;
}

.buymore-box {
    padding-top: 15px;
    clear: both;
    margin: 0 -0.5%;
}

.buymore-box .title {
    font-size: 15px;
}

.buymore-list .item {
    background: #EEEEEE;
    margin-top: 3px;
    padding: 8px 12px;
    width: 49%;
    margin: 1px 0.5%;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.buymore-list .item:hover,
.buymore-list .item.checked {
    background: #ddd;
}

.buymore-list .price {
    display: inline-block;
    color: #E50000;
    font-size: 15px;
    font-weight: bold;
}

.buymore-list .name {
    display: inline-block;
    color: #555;
    font-size: 14px;
}

.buymore-list .name:hover {
    text-decoration: underline;
}

.buymore-list .pd-info {
    margin: 0;
    padding-top: 4px;
}

.buymore-list .pd-info .form-control {
    margin: 2px 0;
    padding: 0 5px;
    max-width: none;
}

.buymore-list .pd-info .spec {
    float: left;
    width: calc(100% - 75px);
}

.buymore-list .pd-info .qty {
    float: right;
    width: 70px;
}

.related-box {
    margin-top: 15px;
}

.related-box .title {
    margin-bottom: 8px;
    font-size: 15px;
}

.related-slider {
    position: relative;
}

.related-slider .slick-dots {
    position: absolute;
    right: 0;
    top: -28px;
}

.related-slider .slick-dots li button {
    white-space: nowrap;
    text-indent: 101%;
    overflow: hidden;
    padding: 0;
    border: 0;
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    border-radius: 0;
    border-radius: 100%;
    margin: 0 5px;
}

.related-slider .slick-dots li.slick-active button {
    background: #DB3624;
}

.related-list {
    margin: 0 -2px;
}

.related-list .item {
    padding: 0 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.related-list .box {
    display: block;
    max-width: 145px;
    margin: 0 auto;
}

.related-list .pic {
    position: relative;
    overflow: hidden;
}

.related-list .pic:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: all 0.3s;
}

.related-list .box:hover .pic:before {
    opacity: 1;
}

.products-detail {
    position: relative;
}

.products-detail .title {
    position: relative;
    line-height: 40px;
    color: #999;
    font-family: 'Inder', sans-serif, 微軟正黑體;
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding: 0 0 0 15px;
    background: url('../../images/common/products/a.png') 0 11px no-repeat;
}



/*------------ sort_box ------------*/

.sort_box {
    margin-bottom: 10px;
    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;
    background: #ddd;
    color: #666;
    padding: 0 5px;
    border: 1px solid #ddd;
}

.sort_box .form-control:focus {
    outline: none;
    background: #fff;
    color: #666;
}

.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: 5px 0;
}

.sort_icon .ibtn.one {
    background-image: url(../../images/common/products/sort_pic3.png);
    width: 24px;
    height: 24px;
    display: none;
}

.sort_icon .ibtn.two {
    background-image: url(../../images/common/products/sort_pic1.png);
    width: 24px;
    height: 24px;
}

.sort_icon .ibtn.four {
    background-image: url(../../images/common/products/sort_pic2.png);
    width: 24px;
    height: 24px;
}

.sort_icon .ibtn.active {
    background-position: 0 100%;
}

@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%;
}

@media screen and (max-width: 1440px) {
    .products-list.type1 {
        margin: 0 -7px;
    }
    .products-list.type1 .item {
        padding: 0 7px;
    }
}

@media screen and (max-width: 1320px) {
    .products-list.type1 .item {
        width: 33.33%;
    }
    .products-list.type2 .item {
        width: 25%;
    }
}

@media screen and (max-width: 1260px) {
    .buymore-box,
    .related-box {
        float: none;
        width: auto;
        clear: both;
    }
    .buymore-list .item {
        padding: 5px 10px;
    }
    .buymore-list .pd-txt {
        float: left;
        padding: 3px 0;
    }
    .related-box {
        margin: 0;
        padding-top: 15px;
        max-width: none;
    }
}

@media screen and (max-width: 1000px) {
    .products-list.type2 .item {
        width: 33.33%;
    }
}

@media screen and (max-width: 767px) {
    .products-list.type1 .item,
    .products-list.type2 .item {
        width: 50%;
    }
    .products-list.type1 .box {
        margin-bottom: 30px;
    }
    .gallery,
    .pd-intro {
        float: none;
        width: auto;
    }
    .gallery {
        margin: 0 auto 25px;
    }
    .buymore-list .item {
        float: none;
        width: 100%;
    }
    .buymore-list .pd-txt,
    .buymore-list .pd-info {
        float: none;
        width: auto;
    }
    .products-detail .title {
        font-size: 21px;
        margin-bottom: 20px;
    }
    .products-detail .title:before {
        font-size: 30px;
        margin-right: 5px;
    }
    .products-detail .title:after {
        left: 180px;
    }
}

@media screen and (max-width: 520px) {
    .products-list.type1 .item,
    .products-list.type2 .item {
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .pd-intro .btn-group .col {
        width: 100%;
    }
}