@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.main {
  min-height: 100vh;
  width: 100vw;
  padding-top: 20px;
}

/* Scroll */
.main .scroll {
  width: 100%;
  height: 400px;
  overflow-x: hidden;
  overflow-y: auto;
}

.main .shopping-cart-title {
  text-align: center;
}

.main .scroll .main-cart {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  padding-top: 40px;
}



.main .scroll .main-cart .card-container {
  position: relative;
  font-family: "Montserrat", sans-serif;
  width: 60%;
  text-rendering: optimizeLegibility;
}

/* image */
.image-container {
  width: 160px;
  height: 100%;
}

.image-container > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main .scroll .main-cart .card-container .right-infos {
  position: absolute;
  right: 0%;
  top: 10px;
  width: 80%;
}

/* Price and product-name */

.right-infos .name-and-price {
  display: flex;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.right-infos .name-and-price .product-name > a{
color: black;
text-decoration: none;
}


/* color and size */

.right-infos .color-and-size {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.right-infos .color-and-size > li {
  margin-bottom: 5px;
}

/* remove add and delete */
.qty-remove-add-delete {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}


.qty-remove-add-delete .add-cart .form > button {
  border: none;
  cursor: pointer;
  background-color: white;
}

.qty-remove-add-delete .add-cart .form > button:focus {
  border: none;
  outline: none;
}

.qty-remove-add-delete .add-cart .form > button:focus {
  outline: none !important;
}

.qty-remove-add-delete .delete img {
  width: 15px;
  cursor: pointer;
}

.remove-cart > a {
  color: black;
}
/* Others informations */
.others-infos-main {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.others-infos-main .others-infos-container {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 60%;
}

/* total */
.total-and-tva > ul {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.total-and-tva > ul li {
  font-size: 0.9em;
}


.total-and-tva .tva-infos {
    font-size: 0.9em;
  margin-top: 5px;
}

.others-infos-container .checkout-button {
  margin: 20px 0 25px 0;
}

.others-infos-container .checkout-button > a {
  width: 100%;
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: aliceblue;
  padding: 10px;
  text-decoration: none;
}

.others-infos-container .continue-shop {
  margin: 10px 0 25px 0;
  border: 1px solid black;
}

.others-infos-container .continue-shop > a {
  width: 100%;
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(0, 0, 0);
  padding: 10px;
  text-decoration: none;
}

/* payment informations */

.payment-infos ul {
  margin-top: 20px;
  display: flex;
  list-style: none;
}

.payment-infos > ul > li {
  margin-right: 25px;
}

.payment-infos > ul > .paypal > img {
  width: 60px;
}

.payment-infos > ul > .credit-cart > img {
  width: 30px;
}

.payment-infos > ul  .visa > img {
  width: 30px;
}

.payment-infos > ul .amex > img {
  width: 15px;
}

.payment-infos > ul .gpay > img {
  width: 55px;
}
.payment-infos > ul .applepay > img {
  width: 40px;
}


/* Product available */

.available_message {
  margin-top: 5px;
display: flex;
justify-content: center;
}

.available_message > span {
  background-color: red;
  padding: 5px;
  color: aliceblue;
}



/* Responsive */

@media screen and (max-width:1500px){
  .main .scroll .main-cart .card-container .right-infos {
    width: 75%;
  }
  
}


@media screen and (max-width:1200px){
  .main .scroll .main-cart .card-container .right-infos {
    width: 70%;
  }
  
}

@media screen and (max-width:980px){
  .main .scroll .main-cart .card-container .right-infos {
    width: 62%;
  }
  
}

@media screen and (max-width:800px){
  .main .scroll .main-cart .card-container .right-infos {
    width:63%;
  }

  /* image */
.image-container {
  width: 130px;
  height: 100%;
}

  
}

@media screen and (max-width:800px){
  body {
    font-size: 0.8em ;
  }
  .main .scroll .main-cart .card-container .right-infos {
    width:55%;
  }

  /* image */
.image-container {
  width: 110px;
  height: 80%;
}
  
}


@media screen and (max-width:600px){

  .payment-infos > ul {
    display : flex;
    flex-direction: column;
  }
  .payment-infos > ul > li{
   margin-bottom : 25px;
  }
.payment-infos > ul > .paypal > img {
  width: 55px;
}

.payment-infos > ul > .credit-cart > img {
  width: 25px;
}

.payment-infos > ul  .visa > img {
  width: 25px;
}

.payment-infos > ul .amex > img {
  width: 15px;
}

.payment-infos > ul .gpay > img {
  width: 60px;
}
.payment-infos > ul .applepay > img {
  width: 35px;
}
 
}

@media screen and (max-width:492px){
  body {
    font-size: 0.6em ;
  }
  .main .scroll .main-cart .card-container .right-infos {
    width:55%;
  }

  /* image */
.image-container {
  width: 90px;
  height: 80%;
}
  
}

@media screen and (max-width:388px){
  body {
    font-size: 0.6em ;
  }
  .main .scroll .main-cart .card-container .right-infos {
    width:50%;
  }

  /* image */
.image-container {
  width: 68px;
  height: 70%;
}
  
}