
.box{
    width: 15.625rem;
    /* height: auto; */
    box-shadow: 0.125rem 0.125rem 1.875rem rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    /* position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%); */
    margin: 1.875rem ;
	float:left;
}

.slideProduct-img{
    height: 18.75rem;
    position: relative;
}

.slideProduct-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
}

.detail-box{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 1.25rem;
    box-sizing: border-box;
}

.type{
    display: flex;
    flex-direction: column;
}

.type a{
    color: #222222;
    margin: 0.313rem 0px;
    font-weight: 700;
    letter-spacing: 0.031rem;

}


.type span{
    color: rgba(26, 26, 26, 0.5);
}

.price{
    color: #333333;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.031rem;
}

.overlay{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50% , -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(137, 122, 101, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}


.buy-btn{
    width: 10rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: whitesmoke;
    color: #252525;
    font-weight: 700;
    letter-spacing: 0.063rem;
    border-radius: 1.25rem;
    box-shadow: 0.125rem 0.125rem 0.125rem rgba(0, 0, 0, .2);
}

.buy-btn:hover{
    color: white;
    background-color: #F6402E;
    transition: all ease 0.3s;
}


.overlay{
    visibility: hidden;
}
.overlay1{
    visibility: hidden;
}
.slideProduct-img:hover .overlay{
    visibility: visible;
    animation: fade 0.5s;
}

@keyframes fade{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 180px;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

html{
	font-size: calc(60% + 0.8vmin);
}
