/*! Card Start */

.card{
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.23);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.33);
}


.card .heart{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  z-index: 10;
  padding: 5px;
}
.card .heart a{
  color: rgb(117, 117, 117);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--product-bc-color);
  border-radius: 50px;
  transition: all 0.3s;
  cursor: pointer;
}
.card .heart .deleteButton{
  background-color: rgba(255, 122, 122, 0.6);
}
.card .heart a svg{
  width: 16px;
  height: 16px;
}
.card .heart a:hover{
  color: #ff7c61;
}
.card .picture{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card .picture a{
  padding: 0px;
  margin: 0px;
}


.card .picture img{
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: all 0.4s;
}

.card:hover .picture img{
  transform: scale(1.05);
}
.card .text{
  width: 100%;
  min-height: 100px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--product-bc-color);
}
.card .text .title{
  font-size: 1rem;
  font-family: 'Rubik';
  text-align: center;
}
.card .text .price{
  font-family: 'UbuntuMono';
  font-weight: 700;
  margin-top: 10px;
  font-size: 1.1rem;
}
.card .basket{
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
  transform: translateY(100%);
}
.card:hover .basket{
  transform: translateY(0px);
}
.card .basket button, .card .basket a{
  width: 120px;
  height: 30px;
  border: none;
  outline: none;
  border-radius: 5px;
  background-color: #ff8447;
  color: white;
  font-size: 1rem;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Nunito';
  font-weight: 550;
  font-weight: 700;
}

.card .basket button:hover,  .card .basket a:hover{
  background-color: #ff4f4c;
}

/*! Card Stop  */


/* Scroll animation */

.card{
  transition: all 0.4s;
  opacity: 0;
}

.card.active{
  opacity: 1;
}

@media(max-width:700px){
  .card{
    padding-bottom: 4px;
    background-color: var(--product-bc-color);
  }


  .card .basket{
    position: relative;
    transform: translateY(0px);
    background-color: var(--product-bc-color);
    height: min-content;
  }
}