.productDetail {
    width: 100%;
    padding: 0;
    overflow: hidden;
    list-style: none;
    
    }
.productDetail li {
    float: left;
    width: 48%;
   /* padding: 8px 8px;*/
    margin: 10px;
   /* height: 300px;
    margin-bottom: 55px;*/
}
.productDetail img {
    display: block;
    max-width: 230px;
    height: 345px;
}

.productDetail h1 {
    margin-top: 10px;
    text-transform: uppercase;
}

.productDetail h1, h2 {
    font-size: 12px;
    font-weight: normal;
    text-align: center;
}

.productDetail li:nth-child(odd) {
    clear: left;
}


    .productDetail li.three {
        width: 22.5%;
    }

    .productDetail li.five {
        width: 18.45%;
    }

    .productDetail li.three:nth-child(odd) {
        clear: none;
    }
   /* .productDetail li.three:nth-child(3n+1) {
       clear: left !important;
    }*/

    .productDetail li.five:nth-child(odd) {
        clear: none;
    }
    .productDetail li.five:nth-child(5n+1) {
        clear: left !important;
    }



.figure-container {
    position: relative;
    display: inline-block;
    margin: 0px;
    /* width: 230px;
     height: 300px;
    min-height:369px;*/
}

.figure-container.five{
    min-height:0px;
}

figure:hover .figure-overlay {
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    z-index: 1;
}

figure:hover .figure-overlay:before {
    -webkit-opacity: 0.5;
    -moz-opacity: 0.5;
    opacity: 0.5;
    z-index: 1;
    /* background: rgba(255, 255,255, 0.5); */
}

.figure-overlay {
    color: #FFF;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    -webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    -ms-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}

.figure-overlay::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 1;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    -webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    -ms-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
}

.figure-overlay a {
    z-index: 3;
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 12px;
    line-height: 22px;
    vertical-align: middle;
    margin-bottom: 10px;
    margin-top: 10px;
    display: block;
    text-transform: uppercase;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.figure-overlay .text {
    margin-top:30%;
    padding-left:10%;
    padding-right:10%;
    text-align: center;
    margin-bottom:15%;
}

.figure-overlay .text.five {
    margin-top:18%;
    padding-left:6%;
    padding-right:6%;
}

.text h2 a {
    letter-spacing: 1px;
    color: #fff;
    font-size: 20px;
    vertical-align: middle;
    text-decoration: none;
    line-height: 25px;
    font-weight: normal;
    display: block;
}

.text h2 a.five {
    font-size: 14px;
    line-height: 16px;
}

.figure-overlay .amount {
    color: #FFF;
    font-size: 14px;
    text-transform: uppercase;
}

.figure-overlay .amount.five {
    font-size: 11px;
}

.figure-overlay .code {
    color: #FFF;
    font-size: 14px;
    text-transform: uppercase;
}

.figure-overlay .code.five {
    font-size: 11px;
    margin-bottom: 0px;
}

.separator_overlay {
    width: 80%;
    z-index: 100;
    display: inline-block;
    position: relative;
    border-bottom: solid 1px #fff;
}

.add-to-cart-button {
    background: transparent;
    border: solid #FFF 1px;
    color: #FFF;
    padding: 5px 12px 4px;
    bottom: 0px;
    z-index: 3;
    position: relative;
    width: 80%;
    height: 10%;
    margin-top: 10%;
    text-transform: uppercase;
    font-family: Arial;
    font-size: 16px;
    vertical-align: middle;
    white-space: nowrap;
    cursor: pointer;
    cursor: hand;
    letter-spacing: 1px;
    margin: auto;
}

.add-to-cart-button.five {
    font-size: 12px;
    margin-top: 5%;
}
.add-to-cart-button:hover {
    color: #db3484;
    border-color: #db3484;
}


#info_product {
   float: left;width: 410px;
}

#info_product h1 {
    font-size: 20px;
    font-weight: normal;
    text-transform: uppercase;
}

.box_gia {
    padding: 5px;
    background: #000;
    color: #fff;
    text-align: center;
    margin-top: 20px !important;
    width: 192px;
    font-size: 14px;
}

#info_product h2 {
    font-size: 14px;
    font-weight: normal;
    margin-top: 5px;
    float: left;
}

#info_product ul {
    display: inline-block;
    margin-top: 20px;
    width: 230px;
}

#info_product ul li {
    float: left;
    list-style: none;
    margin-left: 5px;
    margin-top: 5px;
    border: solid 1px #ccc;
    padding: 5px;
    min-width: 18px;
    text-align: center;
    font-size: 13px;
}
#info_product ul a {
    color: #000;
}

#info_product ul li.active {
    border: solid 1px #a78242;
    background: #000;
}

#info_product ul li.active a {
    color: #fff;
}

span#box_mausac {
    display: block;
    width: 30px;
    height: 30px;
    border: solid 1px;
    cursor: pointer;
}



a#active {
    border: solid 1px #ccc;
    display: block;
    float: left;
    margin-left: 5px;
    padding: 2px;
}

a.cachthuc {
    border: solid 1px #ccc;
    font-size: 14px;
    display: block;
    color: #000;
    text-transform: uppercase;
}
a.huongdan {
    border: solid 1px #ccc;
    font-size: 14px;
    display: block;
    color: #000;
    text-transform: uppercase;
}
#giohang a.cachthuc {
    width: 180px;
    border: none;
    margin-top: 20px;
    display: block;
    float: left;
}
#info_product a.cachthuc {
    width: 180px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border: solid 1px #ccc;
    font-size: 14px;
    display: block;
    color: #000;
}

#info_product a.huongdan {
    width: 180px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border: solid 1px #ccc;
    font-size: 14px;
    display: block;
    color: #000;
}
#info_product input.box_them {
    width: 202px;
    background: #000;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

.box_them {
    width: 163px;
    background: #000;
    margin-bottom: 10px;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}
.box_them p{text-align: center;}
.box_them p a{color: #fff;}

#chiase {
    clear: both;
    margin-top: 20px;

}

#chiase img {
    margin-right: 5px;

}

#chiase span {
    display: block;
    padding-bottom: 5px;
    font-size: 14px;
}


.popup {
    background-color: #fff;
    border: 3px solid #fff;
    display: inline-block;
    left: 50%;
    color: #666;
    opacity: 0;
    padding: 15px;
    position: fixed;
    text-align: justify;
    top: 25%;
    visibility: hidden;
    z-index: 10;
    height: 500px;
    overflow: hidden;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
    min-width: 400px;
}
#howto {
    height: 400px;
}
.overlay:target + .popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}
.popup p{line-height: 18px;}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 3;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}