/********** best selling **********/
div.bestselling{
    width: 100%;
    height: 200px;
    position: relative;
}
div.bestselling div.bg-best{
    opacity: 25%;
}
div.bestselling h1{
    position: absolute;
    top: 30%;
    right: 35%;
    color: #ea2424;
}
.box{
    height: 19rem;
    border: 5px solid white;
    border-radius: 3px;
    /*overflow: hidden;*/
}
.box div.imgContainer{
    overflow: hidden;
}
.box img{
    width: 100%;
    height: 180px;
    /*object-fit: cover;*/
    transition: 0.5s;
    transform-origin: top;
}
.box img:hover{
    transform: scale(1.3);
}
.box p.title{
    padding: 10px 10px 5px;
    box-sizing: border-box;
}
.box p.price{
    padding: 5px 10px ;
}
.box p.price span{
    font-size: 12px;
}
.container1{
    max-width: 1200px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 1rem;
}

.control{
    max-width: 1200px;
    height: 100px;
    margin: 0 auto 20px;
    padding: 10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-group{
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-group button{
    /*width: 110px;*/
    height: 40px;
    margin: 40px;
    line-height: 5px;
    /*border: none;*/
    /*font-size: 1rem;*/
    /*background-color: #00b894;*/
    /*background-color: red;*/
    /*color:#fff;*/
    border: 2px solid lightgray;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 10rem!important;
    padding: 20px;
    box-sizing: border-box;
}

.btn-group button:hover,
.btn-group .btn-clicked
{
    color: #f14058;
    background-color: #fad6df;
    border: 2px solid #f14058 ;
}
@media (max-width: 992px) {
    .btn-group button{
        margin: 10px;
    }

}
@media (max-width: 768px) {
    div.bestselling h1 {
        right: 25%;
    }
}
    @media (max-width: 365px) {
    .control{
       margin-bottom: 80px;
    }
}
/********** end best selling **********/

/********** suggestion **********/
section.suggestion {
    width: 100%;
    height: 200px;
    background-color: #db62b7;
    position: relative;
    margin-bottom: 50px;
}
section.suggestion  h1{
    display: block;
    color: white;
    position: absolute;
    right: 35%;
    top: 30%;
}
div.rowSug{
    width: 100%;
    border-radius: 20px;
    margin-bottom: 80px!important;
}
div.boxSug{
    height: 400px;
    background-color: white;
    border: 1px solid #e0dfdf;
}
div.boxSug div.tip{
    color: #ee0f0f;
    padding: 5px 10px;
    font-weight: bold;
}
div.boxSug a img{
    width: 95%;
    display: block;
    margin: auto;
    height: 200px;
}
div.boxSug a p{
    font-weight: bold;
    padding: 20px 20px 0;
}
div.boxSug div.item .club{
    font-size: 18px;
    color: #e7e709;
    padding-right: 20px;
}
div.boxSug div.item span{
    font-size: 14px;
}
div.boxSug div.productPrice{
    font-size: 18px;
    font-weight: bold;
    margin-top: 35px;
    position: relative;
}
div.newPrice .p{
    position: absolute;
    left: 15px;
    top: -25px;
}
div.newPrice div.p span{
    font-size: 12px;
}
div.oldPrice .p{
    font-size: 14px;
    color: gray;
    position: absolute;
    left: 50px;
}
div.oldPrice span.discount{
    width: 50px;
    height: 22px;
    border: 1px solid #EF4056;
    border-radius: 50%;
    background-color: #EF4056;
    color: white;
    position: absolute;
    top: -25px;
    right: 10px;
    font-size: 14px;
    padding-right: 10px;
    box-sizing: border-box;
}
@media (max-width: 991px) {
    section.suggestion  h1{
        right: 28%;
        top: 30%;
    }
}
@media (max-width: 768px) {
    section.suggestion  h1{
        right: 20%;
        top: 30%;
    }
}
@media (max-width: 576px) {
    section.suggestion  h1{
        font-size: 22px;
        font-weight: bold;
        right: 23%;
        top: 35%;
    }
}

/********** end suggestion **********/
