@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500);

* {
  box-sizing: border-box;
}

.lining{

  border-top: 1px solid #E1E8EE;
  padding-left: -40px;
  margin-left: -40px;

}

.lining:nth-last-child(1) {
  border-top: 0px solid #E1E8EE;
  padding-left: -40px;
  margin-left: -40px;
}

.shopping-cart {

  min-height: 50vh; /* Set a minimum height to fill the viewport */
  width: 100%;
  max-width: 820px;
  box-shadow: 0 0 3px rgba(50, 49, 49, 0.5); /* Add box shadow */

  margin: 80px auto;
  background: #FFFFFF;
  border-radius: 3.3rem;
  display: flex;
  flex-direction: column;

  box-sizing: border-box;

  
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;


}

.title {
  height: 60px;
  padding: 10px;
  color: #111111;
  font-size: 24px;
  font-weight: 900;
  text-align: center;

}

.item {
  padding: 20px 30px;
  height: 120px;
  display: flex;

}



/* Buttons -  Delete and Like */
.buttons {
  position: relative;
  padding-top: 35px;
  margin-right: 70px;
}

.delete-btn {
  display: inline-block;
  cursor: pointer;
  width: 18px;
  height: 17px;
  background: url("../Cart_Data/delete-icn.svg") no-repeat center;
  margin-right: 20px;
}

.like-btn {
  position: absolute;
  top: 9px;
  left: 15px;
  display: inline-block;
  background: url('../Cart_Data/twitter-heart.png');
  width: 60px;
  height: 60px;
  background-size: 2900%;
  background-repeat: no-repeat;
  cursor: pointer;
}

.is-active {
  animation-name: animate;
  animation-duration: .8s;
  animation-iteration-count: 1;
  animation-timing-function: steps(28);
  animation-fill-mode: forwards;
}

@keyframes animate {
  0%   { background-position: left;  }
  50%  { background-position: right; }
  100% { background-position: right; }
}

/* Product Image */
.image {
  margin-right: 50px;
}

/* Product Description */
.description {
  padding-top: 25px;
  margin-right: 60px;
  width: 115px;
}

.description span {
  display: block;
  font-size: 14px;
  color: #43484D;
  font-weight: 400;
  font-weight: bold;
  font-size: 13px;
}

.description span:first-child {
  margin-bottom: 5px;
}
.description span:last-child {
  font-weight: 400;
  margin-top: 8px;
  color: #000000;

}

/* Product Quantity */
.quantity {
  padding-top: 25px;
  margin-right: 60px;
}
.quantity input {
  -webkit-appearance: none;
  border: none;
  text-align: center;
  width: 32px;
  font-size: 12px;
  color: #43484D;
  font-weight: 300;
}

button[class*=btn] {
  width: 30px;
  height: 30px;
  background-color: #E1E8EE;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.minus-btn img {
  margin-bottom: 3px;
}
.plus-btn img {
  margin-top: 2px;
}
button:focus,
input:focus {
  outline:0;
}

/* Total Price */
.total-price {
  width: 83px;
  padding-top: 25px;
  text-align: center;
  font-size: 16px;
  color: #43484D;
  font-weight: 500;

}


/* Responsive */
@media (max-width: 850px) {
  .shopping-cart {
    width: 95%;
    height: auto;
    overflow: hidden;
    box-shadow: 0 0 2px rgba(50, 49, 49, 0.5); /* Add box shadow */

    padding-left: 10px;

  }

  .total-price {
    width: 83px;
    padding-top: 32px;
    padding-right: 15px;
    padding-left: 5px;

    text-align: center;
    font-size: 14px;
    color: #1e2227;
    font-weight: 500;

  }

  
  
  .item {
    padding: 15px 3px;
    height: 120px;
    display: flex;

  }
  .image img {
    height: 80px;
    width: 80px;
  }
 
  .quantity {
    width: 100%;
    text-align: center;
    margin-right: -15px;
    margin-left: -35px;
    padding-top: 38px;


  }

  .image {
    width: 100%;
    text-align: center;
  }


  .description {
    width: 100%;
    text-align: center;
    margin-right:20px;
    margin-left:-35px;
    padding-top: 36px;


  }
  .description span {

    font-weight: 400;
    padding-right:1px;
  }

  .description span:last-child {
    font-weight: 300;
    margin-top: 8px;
    color: #000000;
    
  }


  .buttons {
    margin-right: 1px;
    padding-top: 44px;

  }
  
  .delete-btn {

    margin-right: 5px;
  }
  .image {
    margin-left: -40px;
    margin-right: 0px;
    padding-top: 28px;

  }



}


@media (max-width: 530px) {
  .shopping-cart {
    width: 95%;
    height: auto;
    overflow: hidden;
    box-shadow: 0 0 2px rgba(50, 49, 49, 0.5); /* Add box shadow */
    padding-left: 7px;


  }

  .total-price {
    width: 83px;
    padding-right: 15px;
    padding-left: 2px;

    text-align: center;
    font-size: 13px;
    color: #1e2227;
    font-weight: 500;
    padding-top: 45px;

  }

  
  
  .item {
    padding: 7px 1px;
    height: 120px;
    display: flex;
  }
  .image img {
    height: 50px;
    width: 50px;
  }
  .image,
  .quantity {
    width: 100%;
    text-align: center;
  }

  .description {
    width: 100%;
    text-align: center;
    margin-left:-35px;
    margin-right:20px;
    padding-top: 36px;

  }


  .description span {

    font-weight: 400;
    padding-right:0px;
  }

  .description span:last-child {
    font-weight: 300;
    margin-top: 8px;
    color: #000000;
    
  }
  .quantity {
    padding-top: 0px;
    margin-right: -15px;
    margin-left: -35px;
    padding-top: 38px;

  }

  .quantity input {

    width: 22px;
    font-size: 10px;
    color: #43484D;
    font-weight: 400;




  }

  .buttons {
    margin-right: 1px;
    padding-top: 44px;

  }



  .delete-btn {

    margin-right: 3px;
  }


  .minus-btn img {

    height: 7px;
    width: 7px;
    margin-bottom: 3px;

  }
  .plus-btn img {
    height: 7px;
    width: 7px;
    margin-top: 2px;

  }




  .image {
    margin-left: -40px;
    margin-right: 0px;
    padding-top: 28px;

  }



}