/* * {
  margin: 0;
  padding: 0;
} */
.containerPrincipalCarrinho {
  /* background-color: #f9f4e8; */
  display: flex;
  min-height: 90vh;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding: 2rem;
  width: 100%;
  margin: 0 auto;
}

/* -----------------------------------------card produto ------------------------------------ */
.containerCarrinho {
  width: 60%;
  /* overflow-y: overlay; */
  height: 70%;
  background-color: #fff;
  border-radius: 15px;
  margin: 3rem 0 3rem;
  box-shadow: 2px 9px 9px rgb(0 0 0 / 25%);
  flex-direction: column;
  align-items: center;
  display: flex;
}
.corpoConteudoCarrinho {
  overflow: auto;
  height: 50vh;
}
.linha {
  width: 90%;
  margin-left: 5%;
  margin-bottom: 2rem;
  background-color: #c4c4c4;
  height: 2px;
  border: none;
}
.itensCarrinhoCorpo {
  font-size: 2.4rem;
  font-weight: bold;
  height: 6rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #990000;
  border-radius: 10px 10px 0 0;
  color: #fff;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
  text-transform: capitalize;
  /* min-width: 50rem; */
}

.itensCarrinho {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  width: 100%;
  /* margin-left: 36%; */
}
.div-itens-preco {
  width: 40%;
  text-align: center;
}
.posicaoQuantPreco {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: -webkit-fill-available;
}

.conteudoCarrinho {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  font-size: 1.6rem;
  min-width: 50rem;
  width: 95%;
  /* padding: 2% 0 2%; */
}
.div-img-carrinho {
  /* display: flex; */
}
.imgCarrinho {
  width: 100px;
  box-shadow: 2px 9px 9px rgb(0 0 0 / 25%);
}

.tituloLivro {
  display: flex;
  flex-direction: column;
  width: 30rem;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}
.medidas {
  color: #4c4c4c;
  font-size: 14px;
}


.btnSelect {
  cursor: pointer;
}

#resultado {
  text-align: center;
  width: 50px;
}

.inputQuantidade {
  height: 12px;
}

.modal-guts-carrinho {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
  justify-content: space-evenly;
  /* background: rgb(250, 238, 208) !important; */
  /* background: linear-gradient(180deg, rgba(250, 238, 208, 1) 0%, rgba(247, 240, 221, 1) 28%, rgba(237, 221, 182, 1) 84%, rgba(227, 205, 153, 1) 100% ); */

}

/* ------------------------------------------------------ card frete--------------------------------------------------- */
.containerCep {
  width: 30%;
  height: 100%;
  background-color: #fff;
  border-radius: 15px;
  margin: 3rem 0 3rem;
  box-shadow: 2px 9px 9px rgb(0 0 0 / 25%);
}
.header-frete {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0 1rem;
  border-radius: 10px 10px 0 0;
  margin-top: 0;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #990000;
  color: #fff;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}

.tituloFretePesquisa {
  font-size: 32px;
  margin: 0 0 0;
  border-radius: 0;
}

/* .btnCalcular {
  width: 5rem;
  height: 1.5rem;
  background: linear-gradient(180deg, #ffff00 0%, #fab800 100%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: none;
  font-weight: bold;
  cursor: pointer;
} */

.aside-carrinho {
  padding: 2rem;
}

.btnCalcular {
  width: 10rem;
  height: 2.5rem;
  background: linear-gradient(180deg, #ffff00 0%, #fab800 100%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: none;
  font-weight: bold;
  font-size: 1.4rem;
  cursor: pointer;
}

.cepFrete {
  border: none;
  background-color: #e7e4e4;
  border-radius: 10px;
  height: 3rem;
  font-size: 1.4rem;
  width: max-content !important;
  /* width: 80%; */
  padding: 0 0 0 1rem;
  /* border: blue solid; */
}

.pesquisar-cep {
  font-size: 1.6rem;
  padding: 0 0 0 1rem;
  /* text-align: center; */
  /* border: red solid; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* .cepCarrinho {
  margin: 20% 16% 5%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
} */

.cepCarrinho {
  margin: 0 16% 5%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  /* border: blue solid; */
  font-size: 2rem;
  flex-wrap: wrap;
  min-height: 10rem;
  height: 100%;
  /* padding: 1rem; */
}

.valorCarrinho {
  display: flex;
  align-items: flex-end;

  justify-content: center;
}
.paragrafoTotal {
  font-size: 1.4rem;
  padding-left: 1%;
}

.valorTotal {
  font-size: 50px;
  font-weight: bold;
  text-shadow: 0px 9px 9px rgba(0, 0, 0, 0.25);
}
.posicaoBtnCompra {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 10% 0 8%;
}
[class*="btnComprar"] {
  /* margin: 5rem; */
  /* width: 16rem; */
  /* height: 6rem; */
  padding: 1rem 2rem;
  background: linear-gradient(180deg, #ffff00 0%, #fab800 100%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: none;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  animation: rubberBand;
  animation-duration: 2s;
}

.btnComprar:hover {
  animation-name: grow;
  animation-duration: 3s;
  animation-fill-mode: forwards;
}

.retornoCep {
  display: flex;
  flex-direction: column;
  margin: 0 16% 0;
  font-size: 1.4rem;
}

.prazoRetorno {
  display: flex;
  justify-content: space-between;
}

.fixa-itens {
  display: flex;
  align-items: center;
  min-width: 22rem;
  /* border: #990000 solid; */
}

.quantidade-itens {
  display: flex;
  align-items: center;
  width:10rem;
  justify-content: center;
  /* border: #fab800 solid; */
}

.btn-qtd {
  background: #890101;
  font-size: 2rem;
  font-weight: 500;
  color: #ebe9e9;
  border-radius: 25px;
  padding: 0.5rem 2rem;
  box-shadow: 1px 4px 4px rgb(0 0 0 / 25%);
  transition: all 1s;
}

.btn-qtd:hover
{
  transform: scale(1.1);
}

.btn-remover {
  background: red;
  font-size: 1.5rem;
  border-radius: 25px;
  color: #ebe9e9;
  padding: 0.5rem 1.5rem;
  letter-spacing: 1px;
  transition: all 1s;
}

.btn-remover:hover
{
  transform: scale(1.1);
}

.tituloLivro span:first-child {
    font-size: 2.2rem !important;
}

.tituloLivro span:nth-child(2n+1) {
  font-size: 1.6rem;
}

.preco-unitario {
  font-weight: 500;
  font-size: 2rem;
  white-space: nowrap;
}

.confirmaTudo {
  /* width: 90vw; */
  /* height: 30vh; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: #fab800; */
  /* border: #990000 solid; */
}

.modal-compra {
  display: block;
  width: 60rem;
  max-width: 100%;
  height: 28rem;
  max-height: 100%;
  position: fixed;
  z-index: 100;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* margin: -200px 0 0 -200px; */
  background: white;
  box-shadow: 0 0 60px 10px rgb(0 0 0 / 90%);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5%;
}

.closed {
  display: none;
}

.modal-compra .close-button {
  position: absolute;

  /* don't need to go crazy with z-index here, just sits over .modal-guts */
  z-index: 1;
  top: 10px;
  /* needs to look OK with or without scrollbar */
  right: 20px;

  border: 0;
  background: none;
  color: red;
  padding: 5px 10px;
  font-size: 2rem;
  font-weight: 900;
  cursor: pointer;
}

.titulo-retorno {
  width: 100%;
  font-style: normal;
  font-weight: normal;
  font-size: 26px;
  line-height: 30px;
  text-align: start;
  color: #ffff00;
  /* border: orange solid; */
  text-align: center;
}

.btnComprarConfirma {
  /* background: linear-gradient(180deg, #02ec3c 0%, #01af0a 100%); */
  /* background: linear-gradient(180deg, #ffff00 0%, #fab800 100%); */
  background-image: linear-gradient(
    0deg,
    rgba(123, 216, 96, 1) 39.2%,
    rgba(255, 255, 255, 1) 156.2%
  );
  width: 32rem;
  height: 8rem;
  font-size: 3rem;
}

.btnComprarConfirma:hover {
  transform: scale(1.2);
  animation-name: grow;
  animation-duration: 3s;
  animation-fill-mode: forwards;
}
.contador-carrinho {
  display: none;
  width: 4rem;
  font-size: 2rem;
  text-align: center;
  color: white;
  background-color: #0c0c0c !important;
  border: rgb(237, 194, 0, 0.8) solid 1.5pt;
  border-radius: 15px;
  margin: 0 1rem;
  animation: rubberBand 3s infinite;

}

.header-carrinho{
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 2rem;
  /* border: #fab800 solid; */
}

.faltaNum{
  border: red solid .3px !important;
  border-radius: 15px;
  font-weight: 100 !important;
}

.icone-livros{
  width: 30px;
  height: 30px;
}

.qtd-livros-carrinho{
  width: 30%;
  text-align: center;
  font-size: 3rem;
  padding: 1rem;
}

.altera-qtd{
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.btn-qtd-add{
  width: 15rem;
}

.transportadora {
  padding: 1rem;
  /* border: green solid; */
  /* width: 100%; */
  text-align: center;
}

.info-frete {
  font-size: 1.6rem;
  padding: 1rem;
  /* width: 100%; */
  /* text-align: center; */
}

.info-frete label {
  font-weight: bold;
}

#id-transportadoras {
  padding: 01rem;
  background: #890101;
  border-radius: 25px;
  color: #fff;
  font-size: 1.4rem;
  outline: none;
}

.div-info-frente {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* border: red solid; */
}


.linha-produtos{
  width: 95%;
}

@media (max-width: 1000px) {

  .header-carrinho{
    display: none;
  }
  .itensCarrinho{
    text-indent: -9999px;
    line-height: 0;
    /* visibility: hidden; */
  }
  .itensCarrinho::after{
    content: "Produtos";
    display: block;
    text-indent: 0;
    line-height: initial;
    /* visibility: visible; */
  }
  .containerCarrinho {
    width: 100%;
  }
  .conteudoCarrinho {
    flex-direction: column;
    min-width: unset;
  }
  .tituloLivro {
    text-align: center;
    width: 40rem;
    max-width: 100%;
    margin: 1rem;
  }
  .fixa-itens {
    flex-direction: column;
  }
  .quantidade-itens {
    width: unset;
  }
  .containerCep {
    width: 100%;
  }
}
