body {
  background-color: #e6e6e6;
}

.containerPedidos {
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  margin: 130px 22% 0 22%;
  justify-content: left;
  color: var(--cinzaEscuro);
}

.titleBox {
  display: flex;
  flex-direction: row;
  margin: 2% 0 0 2%;
  align-items: center;
}

.titleBox i {
  color: var(--azulEscuro);
  font-size: 18px;
}

.titleBox h4 {
  color: var(--cinzaEscuro);
  margin: 0 0.4rem;
}

.secondBox {
  -webkit-box-shadow: 10px 10px 18px -10px rgba(0, 0, 0, 0.43);
  -moz-box-shadow: 10px 10px 18px -10px rgba(0, 0, 0, 0.43);
  box-shadow: 10px 10px 18px -10px rgba(0, 0, 0, 0.43);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background-color: var(--branco);
  margin-top: 2%;
}

.statusPedido {
  margin: 2% 2% 0 0;
  padding-top: 2%;
  border-top: solid 1px var(--cinzaEscuro);
  color: var(--azulEscuro);
}

.ultimoPedido {
  margin: 2% 0 0 2%;
}

.productItem {
  width: 95%;
  margin-left: 2.5%;
  height: 170px;
  display: flex;
  border-radius: 14px;
  align-items: center;
  margin-top: 15px;
}
.productImageContainer {
  width: 150px;
  height: 150px;
  border-radius: 10px;
}
.productImageContainer img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
}

.infosContainerProduct {
  width: 70%;
  height: 150px;
  padding-left: 2%;
  padding-right: 2%;
  padding-top: 15px;
}

.price {
  margin-top: 6px;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  color: var(--azulClaro);
  font-size: 20px;
}

.finalPrice {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 2.5%;
  margin-bottom: 10px;
}

.finalPrice h4 {
  font-weight: 500; 
  color: var(--cinzaEscuro);
}

.rowDelete {
  width: 100%;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rowDelete a {
  color: var(--azulEscuro);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: underline;
  margin-right: 7%;
}

.pricesContainer {
  width: 20%;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 15px;
}

@media screen and (max-width: 908px) {
  .containerPedidos {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    margin: 130px 10% 0 10%;
    justify-content: left;
    color: var(--cinzaEscuro);
  }

  .titleBox {
    display: flex;
    flex-direction: row;
    margin: 5% 0 0 2%;
    align-items: center;
  }

  .secondBox {
    -webkit-box-shadow: 10px 10px 18px -10px rgba(0, 0, 0, 0.43);
    -moz-box-shadow: 10px 10px 18px -10px rgba(0, 0, 0, 0.43);
    box-shadow: 10px 10px 18px -10px rgba(0, 0, 0, 0.43);
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background-color: var(--branco);
    margin-top: 5%;
    padding-top: 5%;
  }

  .statusPedido {
    margin: 2% 2% 0 0;
    padding-top: 2%;
    border-top: solid 0px var(--cinzaEscuro);
    color: var(--azulEscuro);
  }

  .ultimoPedido {
    margin: 2% 0 0 2%;
  }

  .productItem {
    border-top: solid 1px var(--azulEscuro);
    padding-top: 4%;
    width: 95%;
    margin-left: 2.5%;
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 0px;
    align-items: start;
    margin-top: 15px;
  }

  .productImageContainer {
    width: 150px;
    height: 150px;
    border-radius: 10px;
  }
  .productImageContainer img {
    width: 100%;
    height: 100%;
    border-radius: 9px;
    object-fit: cover;
  }

  .infosContainerProduct {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    height: auto;
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 15px;
  }

  .price {
    margin-top: 6px;
    font-weight: 800;
    font-family: "Montserrat", sans-serif;
    color: var(--azulClaro);
    font-size: 20px;
  }

  .finalPrice {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: start;
    padding-left: 2.5%;
    margin-bottom: 10px;
  }

  .finalPrice h4 {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--azulClaro);
  }

  .rowDelete {
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: start;
    justify-content: space-between;
  }
  .rowDelete a {
    color: var(--azulEscuro);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: underline;
    margin-right: 7%;
  }

  .pricesContainer {
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 15px;
  }
}
