.card_quan{
    position: relative;
}
.quan {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 50px;
    font-size: 16px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    background: linear-gradient(to bottom, #bada4a, #809c23);
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#bada4a), to(#809c23));
    background: -webkit-linear-gradient(to bottom,#bada4a, #809c23);
    background: -moz-linear-gradient(to bottom,#bada4a, #809c23);
    background: -ms-linear-gradient(to bottom,#bada4a, #809c23);
    background: -o-linear-gradient(to bottom,#bada4a, #809c23);
    background: linear-gradient(to bottom, #bada4a, #809c23);

}

.similar_product .quan,
.prev-product .quan{
    width: 134px;
    height: 40px;
    font-size: 14px;
}
.quan .input_product_card_count{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    width: 33%;
    height: 30px;
    background-color: #ffffff;
    box-shadow: inset 1px 1px 0 0 rgba(0, 0, 0, 0.67);
    -webkit-box-shadow: inset 1px 1px 0 0 rgba(0, 0, 0, 0.67);
    -moz-box-shadow: inset 1px 1px 0 0 rgba(0, 0, 0, 0.67);

    font-size: 18px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1;
    text-align: center;
    color: #000000;

}

.quan .quan_plus,
.quan .quan_minus {

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto 0 ;
    width: 32%;
    height: 20px;
    padding:15px 0;
    font-family: Tahoma, sans-serif;
    font-size: 20px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1;
    text-align: center;
    color: #ffffff;

    background-image: none;
}


.similar_product .quan .quan_plus,
.similar_product .quan .quan_minus,
.prev-product .quan .quan_plus,
.prev-product .quan .quan_minus {
    padding: 10px 0;
}
.quan .quan_plus:hover,
.quan .quan_minus:hover{

}

.quan .quan_minus{
    right: auto;
    border-radius: 6px 0 0 6px;
    -webkit-border-radius: 6px 0 0 6px;
    -moz-border-radius: 6px 0 0 6px;
}
.quan  .quan_minus:before{
    content: "-";
}
.quan .quan_plus {
    left: auto;
    border-radius: 0 6px 6px 0;
    -webkit-border-radius: 0 6px 6px 0;
    -moz-border-radius: 0 6px 6px 0;
}
.quan  .quan_plus:before{
    content: "+";
}
.quan  .quan_plus  .empty_text{
    display: none;
}

.input_product_card_count[value='0'],
.input_product_card_count[value='0'] ~ .quan_minus
{
display: none;
}
.input_product_card_count[value='0'] ~ .quan_plus{
    width: 100%;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    font-size: 20px;
}
.input_product_card_count[value='0'] ~ .quan_plus:hover{
    background-color: #809c23;
}

.similar_product .input_product_card_count[value='0'] ~ .quan_plus,
.prev-product .input_product_card_count[value='0'] ~ .quan_plus{
    font-size: 18px;
}

.input_product_card_count[value='0'] ~ .quan_plus:before{
    content: "";
}
.input_product_card_count[value='0'] ~ .quan_plus .empty_text{
    display: inline;
}


.card_quan .cart_notice {
    position: absolute;
    top: 65px;

    width: 200px;
    min-height: 20px;

    padding: 8px 0 10px;
    background-color: #e72356;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.14;
    text-align: center;
    color: #ffffff;
}

.prev-product .card_quan .cart_notice {
    margin: auto;
    left: 0;
    right: 0;
    top: 42px;
}

.similar_product .card_quan .cart_notice{
    left: -32px;
    top: 42px;
}

.card_quan .cart_notice:before{
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    margin:0 auto;
    border: 10px solid transparent;
    border-bottom: 10px solid #e72356;
    border-top: 0;
}


.card_quan .cart_notice a {
    color: #fff;
    text-decoration: underline;

}

.card_quan .cart_notice a:hover {
    color: #fff;
    text-decoration: none;
}