.category-banner{
    position: relative;
    width: 100%;
    text-align: center;
}
.category-banner .image{
    width: 100%;
    position: relative;
    overflow: hidden;
}
.category-banner .image img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    max-height: 100%;
    display: block;
}
.category-banner .content{
    width: 100%;
    background: rgba(0,0,0,0.6);
    top: 0;
    padding: 0;
    display: table;
    height:100%;
}
.category-banner .content .text{
    display: table-cell;
    vertical-align: middle;
}

.category-banner .content .text .container{
    width: 94%;
}

.category-banner .content .text h1 {
    font-size: 45px;
    font-weight: 600;
    color: #fff;
    margin: 20px 0 20px;
}

.category-banner .content .text ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.category-banner .content .text ul li {
    color: #fff;
    display: inline-block;
    line-height: 1;
    padding: 0 15px;
    padding-left:0;
    vertical-align: middle;
}

.category-filter{
    margin-top: 20px;
    margin-bottom: 20px;
}

.box-product2 {
    text-align: center;
    position: relative;
    padding: 10px;
    margin-bottom: 50px;
    border-radius: 5px;
    border : 1px solid #ffffff;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 6px 0px;
    max-height: 390px;
    min-height: 390px;
}
.box-product2:hover{
    border : 1px solid #7f8c8d;
    /* padding: 9px; */
}
.box-product2:hover .label-best{
    /* width: 93%; */
}

.box-product2 .image {
    margin-bottom: 10px;
}

.box-product2 .image img {
    height: 230px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}
.box-product2 .label-best{
    width: 93%;
    text-align: center;
    background-color: rgb(236, 240, 241,0.8);
    color: #000;
    margin-top: -49px;
    padding: 10px 10px;
    position: absolute;
    margin-bottom: 20px;
    font-weight: bold;
}

.box-product2 .label-new{
    position: absolute;
    background-color: #fff;
    color: #000;
    padding: 5px 20px;
    text-align: center;
    margin-top: 35px;
    font-weight: 600;
    left: 20px;
    margin-top: 10px;
    border-radius: 20px;
    font-size: 14px;
}

.box-product2 .label-promo{
    position: absolute;
    background-color: red;
    color: white;
    padding: 14px 2px;
    text-align: center;
    margin-top: 25px;
    font-weight: 600;
    font-size: 12px;
    border-radius: 50%;
    top:0;
    right:0;
    margin-top:0;
}

.box-product2 .image .sold-out{
    position: absolute;
    z-index: 1;
    background-color: rgb(255,255,255,0.8);
    width: 97%;
    height:97%;
    margin-left: -9px;
    text-align: center;
}
.box-product2 .image .sold-out span{
    top: 36%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    padding: 30px 16px;
    background-color: #000;
    position: relative;
    color: #fff;
    font-weight: bold;
    border-radius: 60px;
    opacity: 0.6;
}


.box-product2 .text {
    width: 100%;
    position: relative;
}

.box-product2 .text label {
    font-size: 13px;
    font-weight: 500;
    color: #111;
}

.box-product2 .text p {
    font-size: 14px;
    font-weight: 400;
}

.box-product2 .button {
    /* opacity: 0; */
    opacity: 1;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
}

.box-product2 .button a {
    font-size: 12px;
    width: 55%;
    margin: 0 auto;
    padding: 5px 12px;
    text-transform: uppercase;
}

.box-product2:hover > .button {
    opacity: 1;
}

@media only screen and (max-width: 479px) {
    .box-product2 .label-new{
        font-size: 12px;
        padding: 5px 10px;
    }
    .box-product2 .label-promo{
        font-size: 10px;
        padding: 15px 5px;
    }
    .box-product2 .label-best{
        width: 89.5%;
        text-align: center;
        background-color: rgb(236, 240, 241,0.8);
        color: #000;
        /* margin-top: -50px; */
        padding: 10px 10px;
        position: absolute;
        bottom: 57px;
        /* margin-bottom: 20px; */
        font-weight: bold;
    }
    .box-product2 .image img {
        height: 153px;
        object-fit: cover;
        object-position: center;
        width: 100%;

    }
    .box-product2{
        margin-bottom: 20px;

    }
    .product-container .col-xs-6{
        padding-right: 10px !important;
        padding-left: 10px !important;
    }
    #data-products{
        margin-top: 60px;
    }
    .box-product2 .text label{
        font-size: 12px;
    }
    .box-product2 .text p {
        font-size: 12px;
    }
    .box-product2 {
        /* max-height: 320px; */
        min-height: 300px;
        max-height: 300px;
    }
    .box-product2.box-related-product {
        max-height: 250px;
        min-height: 250px;
    }

}

@media only screen and (max-width: 375px) {
    .box-product2 .label-best{
        width: 88%;
    }
}

@media only screen and (max-width: 320px) {
    .box-product2 .label-best{
        width: 85.5%;
    }
}
