/*-----------------------------------------------------------------------------
 [TABLE OF CONTENTS]
    +content-main
    	=browsed-product
-----------------------------------------------------------------------------*/

/* +content-main
*----------------------------------------------------------------------------*/

/**
*
* =common
*
**/

.infor .activity {
    overflow: hidden;
    padding: 10px 10px 0;
}

.infor .activity .btn {
    margin-bottom: 5px;
    border-color: #5c5a5a;
    background-color: #fff;
    color: #231815;
}

.infor .activity .btn.active {
    background-color: #5c5a5a;
    color: #fff;
}

/**
*
* =offer-goods
*
**/

.offer-goods {
    overflow: hidden;
    padding: 10px 5px;
    border-bottom: 5px solid #e0e0e0;
}

.offer-goods .content {
    position: relative;
    float: left;
    width: 47%;
	padding: 0;
    margin-bottom: 10px;
}

.offer-goods .content:nth-of-type(2n+1) {
    clear: left;
}

.offer-goods .content .text-box {
	padding: 0 10px 10px 10px;
}

/* +new-member
*----------------------------------------------------------------------------*/

.new-member-goods {
    overflow: hidden;
    padding: 10px;
    border-bottom: 5px solid #e0e0e0;
}

.new-member-goods.sort-list {
    padding: 10px;
}

.sort-list .btn-group {
    clear: both;
    float: left;
    margin-bottom: 10px;
}

.sort-list .add-fav {
    float: left;
    width: 20%;
    height: 27px;
    margin-top: 5px;
    background: transparent url(../../i/icon-addfav-g.png) no-repeat;
    background-size: 30px 27px;
    background-position-x: center;
}

.sort-list .add-fav.on {
    background: transparent url(../../i/icon-addfav-r.png) no-repeat;
    background-size: 30px 27px;
    background-position-x: center;
}

.new-member-goods .edm-l {
    padding: 0;
}

/**
*
* =new-member-goods sorting cube
*
**/

.new-member-goods.cube .content {
    position: relative;
    float: left;
    width: 47%;
    padding: 10px;
    margin-bottom: 10px;
}

.new-member-goods.cube .text-box {
    margin-bottom: 0;
    text-align: left;
}

.new-member-goods.cube .content .btn-group {
    width: 100%;
    margin-bottom: 5px;
}

.new-member-goods.cube .content .add-fav {
    float: right;
    min-width: 21%;
}

.new-member-goods.cube .content .color-pink .color-lblue {
    display: block;
}
/* +present
*----------------------------------------------------------------------------*/

.present-content {
    overflow: hidden;
    padding: 10px 0;
    border-bottom: 5px solid #e0e0e0;
}

.present-content img {
    width: 100%;
}

.present-detail {
    padding: 30px 10px;
    border-bottom: 10px solid #fff;
    background-color: #eee;
    text-align: left;
}

.present-detail ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.present-detail ul li h3 {
    color: #231815;
    font-size: 1.167em;
    line-height: 1.5;
}

.present-detail ul li:first-child h3 {
    display: inline-block;
}

.present-detail ul li p {
    margin-left: 4em;
}

.present-detail ul li p span {
    float: left;
    width: 0;
    text-indent: -4em;
}

/* +redgreen
*----------------------------------------------------------------------------*/

.redgreen {
    margin-bottom: 101px;
}

.redgreen .activity {
    overflow: hidden;
    padding: 10px 10px 0;
}

.redgreen .activity .btn {
    margin-bottom: 5px;
}

.redgreen .activity .btn-green {
    border-color: #5c5a5a;
    background-color: #fff;
    color: #231815;
}

.redgreen .activity .btn-green.active {
    background-color: #5c5a5a;
    color: #fff;
}

.redgreen .note {
    padding: 10px;
}

.redgreen .offer-goods.red-area {
    border: 0;
}

.redgreen .offer-goods {
    border-bottom: 5px solid #a1a1a1;
}

.redgreen .red-area .content.active {
    border-color: #EF857D;
}

.redgreen .content.active {
    border-color: #99895c;
}

.redgreen .red-area .content.active .btn-pink {
    border-color: #72364c;
    background-color: #a64066;
}

.redgreen .content.active .btn-green {
    border-color: #014a54;
    background-color: #00879a;
}

.redgreen .content .img-box {
    padding: 10px;
    margin-bottom: 0;
}

.redgreen .content h3 {
    height: auto;
    max-height: 5em;
    min-height:  3em;
}

.redgreen .content h3 a {
    color: #000;
}

.redgreen .content .caption {
    height: 6em;
}

.redgreen .content .btn-group {
    width: 100%;
    margin-bottom: 10px;
}

.redgreen .content .btn {
    padding: 0;
    border-color: #5c5a5a;
    background-color: #5c5a5a;
}

.redgreen .submit-content {
    position: fixed;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    padding: 15px 10px;
    border-bottom: 5px solid #a1a1a1;
    background-color: #e6e8e8;
}

.redgreen .submit-content p {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.35em;
    text-align: left;
}

.redgreen .submit-content .btn {
    float: left;
    padding: 0;
    line-height: 32px;
}

.redgreen .submit-content .btn-add-cart {
    float: right;
    background-position: 25% center;
}

.redgreen .submit-content .btn-add-cart:before {
    content: '加入購物車';
    padding-left: 13%;
}

.redgreen .submit-content input.btn-add-cart {
    padding-left: 5%;
}


/**
*
* =note
*
**/

.note {
    margin-bottom: 10px;
    color: #231815;
    text-align: left;
}

.note .tag.tag-orange {
    width: auto;
    padding: 3px 0;
    margin-bottom: 5px;
    background-color: transparent;
    color: #231815;
    font-size: 1em;
    text-align: left;
}

.note ul {
    font-weight: 600;
    line-height: 1.8;
}

.note ul li:before {
    content: '•';
    padding-right: 3px;
}

/**
*
* =purchase
*
**/

.purchase {
    display: block;
    position: fixed;
    top: -100%;
    left: 10%;
    z-index: 100000;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 80%;
    height: 85%;
    background: #fff;
    transition: .3s;
}

.purchase.active {
    top: 10%;
    transition: .3s;
}

.purchase .main-title {
    padding: 0;
}

.purchase .main-title .btn-close {
    display: block;
}

.purchase .main-title .btn-close:after {
    content: "✕";
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 99;
    width: 20px;
    height: 20px;
    color: #000;
    font-weight: 600;
    font-size: 1.35em;
    line-height: 20px;
    text-align: center;
}

.purchase .main-title h3 {
    display: block;
    width: 100%;
    padding: 5px 0;
    background-color: #ee8a2c;
    color: #fff;
    font-weight: 600;
    font-size: 1.35em;
}

.purchase > p {
    padding: 10px 20px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.purchase > p span {
    padding: 0 5px;
}

.purchase .purchase-list {
    padding: 10px;
}

.purchase .purchase-list .content {
    border: 0;
}

.purchase .purchase-list .content .img-box {
    border: 1px solid #ccc;
    margin-right: 0;
}

.purchase .purchase-list .content .text-box {
    float: right;
    overflow: hidden;
    width: 56%;
    margin-left: 4%;
}

.purchase .purchase-list .content .btn-add-cart {
    float: right;
    width: 56%;
    margin-left: 4%;
    background-position: center;
}

.purchase-list.sort-list .content .btn-add-cart:before {
    content: ' ';
}

.purchase .purchase-list .content .price:before {
    content: '加購價：';
}

.purchase .purchase-list .content .btn-group {
    float: right;
    clear: right;
    width: 56%;
    margin-left: 4%;
}

.purchase-bg {
    position: fixed;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
}

.purchase-bg.active {
    z-index: 99999;
    background-color: rgba(0, 0, 0, .7);
    transition: .3s;
}