@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;500;700&display=swap");
@import url("http://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.css");
html {
  font-family: "Roboto";
}

.left {
  margin-left: 5%;
  font-weight: bold;
  font-size: 36px;
}
.right {
  padding-top: 10px;
  display: flex;
  margin-right: 2%;
  gap: 2em;
}
.right > * {
  cursor: pointer;
}

.selects {
  margin-top: 5%;
  border-bottom: 1px solid lightgray;
  padding: 10px;
  margin-left: -0.5%;
}

#main {
  display: flex;
}
#sidebar {
  width: 14%;
  margin-left: -2%;
  margin-right: 2%;
  padding-top: 2%;
  /* border: 1px solid red; */
}
#container {
  width: 80%;
  margin-left: 0%;
  margin-right: 1%;
  display: flex;
  /* grid-template-columns: repeat(3, 1fr); */
  justify-content: space-between;
  gap: 16px;
  padding-top: 2%;
  flex-wrap: wrap;
}

.card {
  flex-grow: 1;
  border: 1px solid #dadbe6;
  border-collapse: collapse;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 300px;
  min-height: 644px;
  justify-content: space-between;
}
.card:hover {
  box-shadow: #9597a6 0px 5px 10px 0px;
  transition: 0.3s;
}
.flex {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
.card > img {
  width: 100%;
  /* margin-bottom: 5px; */
}

.price {
  font-size: 15px;
  /* padding-left: 4%; */
  /* font-weight: 700; */
}

.btn {
  margin: 0;
  padding: 0;
  /* height: 32px ; */
  /* padding: 5px; */
  font-size: 14px;
  width: 50%;
  font-weight: 700;
  background-color: #414467;
  color: white;
  border: 0;
}
.btn:hover {
  background-color: #2b2e4c;
  transition: 0.4s;
}

.btn2 {
  margin: 0;
  outline: none;
  font-size: 14px;
  width: 50%;
  font-weight: 700;
  background-color: #f0f1f7;
  color: black;
  border: 0;
}
.btn2:hover {
  background-color: #d2d2e1;
  transition: 0.4s;
}

.buttons {
  display: flex;
  border-top: 1px solid lightgray;
  border-collapse: collapse;
  line-height: 1em;
  margin: 0;
  padding: 0;
  height: 2.5rem;
}

.coupon {
  border: 2px solid steelblue;
  height: 35px;
  width: 190px;
}

.apply-promo {
  padding: 5px;
  margin-left: 15px;
  background-color: steelblue;
  color: white;
  width: 100px;
  border-radius: 5px;
}
.checkout {
  margin-top: 1%;
  margin-left: 80%;
  padding: 5px;
  font-size: 20px;
  width: 200px;
  /* margin-left: 15px; */
  background-color: steelblue;
  color: white;
  border-radius: 5px;
}

.thanks {
  margin-top: 14%;
  margin-left: 22%;
  font-size: 5em;
  color: steelblue;
  align-self: center;
}

.continue {
  padding: 30px;
  margin-left: 35%;
  background-color: steelblue;
  color: white;

  font-size: 2rem;
  width: fit-content;
  border-radius: 5px;
}

#sortPrice {
  color: black;
  margin-top: 5%;
  margin-bottom: -10%;
  padding-left: 10px;
  padding-right: 5px;
  margin-left: 1%;
  width: 120px;
  height: 30px;
  border: 0;
}

#selectBrand {
  color: black;
  margin-top: 5%;
  width: 120px;
  height: 50px;
}

.sideLists,
.subLists {
  list-style-type: none;
  font-size: 16px;
  font-weight: 400;
  list-style: none;
  line-height: 1.5em;
}
.subListItem {
  margin-top: 5%;
  margin-left: -8%;
  font-size: 13px;
  list-style-type: none;
  cursor: pointer;
}

.cashBack-div {
  display: flex;
  width: 40%;
  font-size: 12px;
  /* padding-left: 4%; */
  /* height: 2em; */
  justify-content: start;
  gap: 2%;
}
.soldByDiv {
  display: flex;
  gap: 2%;
  width: 80%;
}
.iconDollar {
  width: 15px;
}

.soldBy {
  /* padding-left: 4%; */
  font-size: 12px;
}
.freeShipping {
  font-size: 12px;
  /* padding-left: 4%; */
  color: #00a8ca;
}
.productInfo {
  /* border: 2px solid red; */
  display: flex;
  flex-direction: column;
  height: 25%;
  padding: 0 5%;
  gap: 5px;
  /* line-height: 15px; */
  justify-items: start;
  /* justify-content: space-around; */
}
.productInfo > * {
  margin-top: 0;
  margin-bottom: 0;
}
.name {
  font-weight: 400;
  margin-right: 30%;
  margin-bottom: 0;
  text-align: left;
  width: 90%;
  /* border: 2px solid red; */
  /* min-height: 3rem ; */
}

li > button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

/* cart */

#container2 {
  width: 60%;
  /* border: 1px solid red; */
  /* margin-left: 5%; */
  margin-right: 1%;
  padding-left: 14px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-content: space-evenly;
  gap: 16px;
  padding-top: 2%;
}

#total {
  padding-top: 75px;
  padding-left: 14px;
  margin-bottom: 0;
  font-size: 1.4rem;
  font-weight: bold;
  /* color: steelblue; */
  /* border: 1px solid red; */
  display: flex;
  justify-content: space-between;
  /* margin: auto; */
  width: 90%;
  margin-top: 4%;
  margin-bottom: -3%;
}

.card2 {
  margin: 0;
  /* padding-top: 5px; */
  width: 100%;
  border-top: 1px solid black;
  border-bottom: 1px solid #dadbe6;
  /* border: 2px solid orange; */
  display: flex;
  height: 200px;
  padding: 10px 0;
  /* align-items:; */
  /* align-content: flex-start; */
  /* grid-template-columns: 200px; */
  /* border-collapse: collapse; */
}
.card2 > img {
  width: 130px;
  height: 130px;
}
.cartItem {
  display: flex;
  /* justify-content: flex-start; */
  flex-direction: column;
  width: 40%;
  /* row-gap: 0; */
  /* justify-content: space-evenly; */
  /* background-color: black; */
  /* border: 1px solid green; */
}

.cartItem > * {
  margin: 0;
  padding: 0;
  padding-top: 4px;
  padding-left: 5px;
  /* font-size: 12px; */
  /* color: gray; */
}
.nameCart {
  /* background-color: black; */
  /* font-size: 3px; */
  font-weight: bold;
  width: 60%;
  /* margin:  0; */
  /* border: 2px solid red; */
}

.priceCart {
  padding: 10px 4px;
  font-size: 20px;
}

.colorCart,
.sizeCart,
.cashBackCart {
  font-size: 12px;
}

.mainCart {
  display: flex;
}

.orderTotal {
  background-color: #f0f1f7;
  width: 40%;
  /* height: 680px; */
}
.orderTotal > * {
  padding: 0;
  margin: 0;
  /* margin-bottom: 5%; */
}

.orderPrice {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid black;
  margin: 2%;
  margin-bottom: 5%;
}

.totalprice {
  margin: 3%;
  margin-top: 10%;
  /* padding-bottom: px; */
  font-weight: 500;
  font-size: 15px;
}
.orderTotal > h2 {
  margin: 3%;
  padding-bottom: 10px;
  width: 90%;
  border-bottom: 3px solid black;
}
.shipping{
  background-color: white;
  width: 50%;
  justify-content: right;
  align-content: center;
  padding: 6px;
  margin-left: 45%;
  height: 3em;
  /* border: 1px solid red; */
  display: flex;
  gap: 2px;
  /* padding-left: 30px; */
  /* position: relative; */
  /* margin-left: 40%; */
}
.shipping > input {
  /* margin-top: 15%; */
  border: none;
  width: 50%;
  border: 1px solid gray;
  border-radius: 0%;
  border-radius: 2px;
  padding: 15px;
  height: 2.7em;
  /* background-color: black; */
}

.estShippingBtn{
  background-color: transparent;
  color: black;
  border: 1px solid gray;
  /* text-align: center; */
  padding: 10px;
  font-weight: bold;
  /* height: 1em; */
  width: max-content;
  border-radius: 3px;
  cursor: pointer;
  /* margin-top: 3%; */
  /* margin-left: 90%; */
}

.checkoutBtn{
  background-color: #414467;
  color: white;
  text-align: center;
  width: max-content;
  padding: 15px;
  margin-top: 3%;
  margin-left: 62%;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
  font-size: 17px;
  /* margin-top: 20%; */
}

.quantDiv{
  display: flex;
  justify-content: left;
  width: 70%;
  /* border: 1px solid red; */
  /* align-content: center; */
  /* justify-content: center; */
  gap: 1em;
  margin-top: 2%;
}
.quantDiv > * {
  margin: 0;
  padding: 0;
}
.quantDiv > .quantity {
 font-size: 15px
}

.quantDiv > .quantityInput{
  height: 2em;
  width: 30px;
  margin-top: -1.5%;
  /* align-content: center; */
}

#container2 button{
  background-color: #414467;
  color: white;
  height: 5em;
  align-self: center;
  padding: 15px;
}

/* media queries */

@media screen and (min-width: 0px) and (max-width: 650px) {
  #sidebar * {
    display: none;
  }
  #container{
    margin-left: -10%;
  }
}
/* @media only screen and (min-width: 0px) and (max-width: 320px) {
  #container {
    grid-template-columns: repeat(1, 1fr);
    padding-top: 4%;

  }
} */
