* {
  padding: 0;
  margin: 0;
  color: #3c4043;

  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f6f9fe;
  min-width: 360px;
}

input {
  padding: 10px;
  border-radius: 10px;
  border: none;
  box-shadow: 0px 0px 0px 1px #3c4043;
  width: 100%;
  font-size: 16px;
}

.productswrapper {
  margin-bottom: 80px;
}
.cartwrapper {
  margin: 60px auto 0;
  width: 80%;
}

.cartwrapper h1 {
  font-size: 45px;
  margin-bottom: 5px;
}

.placeorder {
  display: flex;
  margin-top: 20px;
  padding: 40px;
  padding-top: 0;
}

.placeorder button {
  padding: 15px;
  border-radius: 5px;
  border: none;
  background: #3c4043;
  color: white;
  font-size: 18px;
}

.paymentwrapper {
  display: flex;
  margin: 0 auto;
  width: 80%;
  margin-bottom: 60px;
  justify-content: space-between;
}

.detailswrapper {
  width: 60%;
}

.paymentproducts {
  background-color: white;
  border-radius: 10px;
  width: 35%;
  height: fit-content;
  padding: 15px 10px;
}

.paymentdetails {
  background-color: white;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  border-radius: 10px;
}

.label {
  font-size: 14px;
  padding-left: 10px;
  padding-bottom: 5px;
}

.div2 {
  display: grid;
  grid-template-columns: repeat(2, 48%);
  box-sizing: border-box;
  justify-content: space-between;
}

.div1 {
  margin: 15px 0px;
}

.shipradio {
  display: flex;
  align-items: center;
}

#shiptxt {
  margin-top: 40px;
}

.ship {
  justify-content: space-between;
  display: flex;
  padding: 15px 10px;
  border: 1px solid #3c4043;
  border-radius: 10px;
  padding: 10px;
}

.ship input {
  width: 10px;
  margin-right: 10px;
  box-shadow: none;
  transform: scale(1.5);
}

.paymethod {
  margin-bottom: 10px;
}
.prod1 {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
  padding-right: 25px;
}

.prod1 img {
  width: 80px;
  margin-right: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 0px 1px #e5e4e5;
}

.prodinfo {
  display: flex;
  align-items: center;
}

.prodprice p {
  font-size: 15px;
}

.prodinfo p {
  width: 95%;
  font-size: 15px;
}

.prodinfochild {
  display: flex;
  flex-direction: column;
}

#divider {
  height: 1px;
  margin: 20px;
  background: #3c4043;
}

.total {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 10px auto;
}

.finalamt {
  margin-top: 40px;
}

#paymenttotal p {
  font-size: 15px;
}

.price {
  font-weight: bold;
}

#paymenttotal .finalamt .price {
  font-size: 24px;
}

.placeorderbtn {
  cursor: pointer;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 200ms ease-in-out;
  border: 1px solid black;
  border-radius: 10px;
  z-index: 10;
  background-color: white;
  width: 500px;
  max-width: 80%;
  padding-bottom: 20px;
}

.modal.active1 {
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  padding: 20px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-header img {
  width: 80px;
}

.modal-header .title {
  font-size: 32px;
  font-weight: bold;
}

.modal-body {
  padding: 10px 15px;
  font-size: 18px;
  text-align: center;
  color: #8d8d8d;
}

#overlay {
  position: fixed;
  opacity: 0;
  transition: 200ms ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

#overlay.active1 {
  opacity: 1;
  pointer-events: all;
}

.modal-body-btns button {
  padding: 12px;
  margin-top: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  font-size: 18px;
  cursor: pointer;
  margin-right: 5px;
}

#nocancel {
  border: none;
  background-color: #327559;
  color: white;
}

#yesdelete {
  background-color: white;
  border: 1px solid #3c4043;
}

#nocancel:hover {
  background-color: #215e44;
  color: white;
  transition: all 0.1s ease-in-out;
}

#yesdelete:hover {
  background-color: #e2e9f5;
  transition: all 0.1s ease-in-out;
}

@media screen and (max-width: 1170px) {
  .cartwrapper,
  .paymentwrapper {
    width: 92%;
  }
}

@media screen and (max-width: 1050px) {
  .prod1 {
    padding: 20px 10px;
  }

  .paymentproducts {
    width: 43%;
  }

  .detailswrapper {
    width: 55%;
  }
}

@media screen and (max-width: 800px) {
  .paymentwrapper {
    flex-direction: column-reverse;
  }

  .cartwrapper h1 {
    text-align: center;
    font-size: 35px;
  }

  .paymentproducts,
  .detailswrapper {
    width: 80%;
    margin: 20px auto;
  }

  .placeorder {
    justify-content: center;
  }

  .placeorder button {
    padding: 20px 60px;
  }
}

@media screen and (max-width: 500px) {
  .paymentproducts,
  .detailswrapper {
    width: 95%;
  }
}
