@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  font-family: "Alexandria", sans-serif;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: white;
  border-bottom: 2px solid #593d36;
}

header .logo {
  height: 50px;
  margin-top: -1rem;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

header nav ul li a.entrar {
  background-color: #593d36;
  color: white;
  padding: 0.9rem;
  border-radius: 15px;
}

header nav ul li a.entrar i {
  margin-right: 0.3rem;
}

.user-logged,
.user-logged-mobile {
  color: #484848;
  font-style: italic;
}

.user-logged i,
.user-logged-mobile i {
  background-color: #5b5b5bbb;
  padding: 0.5rem;
  border-radius: 15rem;
  color: rgb(230, 230, 230);
  border: 2px solid #484848;
}

#list {
  width: 50px;
  height: 50px;
  display: none;
  background: none;
  border-radius: 100%;
  margin: -10px;
  border: none;
}

#list i {
  font-size: xx-large;
}

#popup-menu {
  position: absolute;
  top: 70px;
  right: 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 1.2rem 1.2rem;
  z-index: 2000;
  display: none;
}

#popup-menu .popup-list a {
  display: block;
  margin: 0.7rem 0;
  background: #5a3e36;
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 16px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
}

main {
  background: url("../images/fundos/fundo_madeira.png");
  background-size: cover;
  background-position: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
  min-height: calc(100vh - 150px);
}

.venda-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  margin: 32px 16px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 15px;
  margin-right: -2, 7rem;
  margin-left: 2rem;
}

.btn-add,
.btn-back {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 2px solid #000000;
  background: #e6e6e6;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.btn-back {
  width: 40px;
  color: white;
  height: 40px;
  font-size: 1.3rem;
  margin-left: 8px;
  border-radius: 250px;
  background-color: #333;
}

.imagem-produto {
  width: 500px;
  height: 480px;
  background: #d3d3d3;
  border: 2px solid #000000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24px;
  margin-left: 8px;
}

.imagem-produto .plus {
  font-size: 2.5rem;
  color: #333;
  background: #fff;
  border-radius: 50%;
  border: 3px solid #333;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-produto {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.info-produto>div {
  background: #fff;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 1.3rem;
  min-width: 240px;
}

.nome-produto {
  font-size: 1.5rem;
  font-weight: 400;
}

.nome-produto input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  font-weight: 400;
}

.destaque-produto {
  background: #fff;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 25px;
  margin-right: 2rem;
}

.titulo-destaque {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.botoes-destaque {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.botoes-destaque button {
  background: #bdbdbd;
  border: 2px solid #333;
  border-radius: 8px;
  height: 32px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantidade-produto {
  background: #fff;
  border: 2px solid #333;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
}

.comprar-agora,
.adicionar-carrinho {
  background: #fff;
  border: 2px solid #333;
  border-radius: 8px;
  padding: 8px 0;
  font-size: 1rem;
  margin-top: 4px;
}

.container-produto {
  display: flex;
  flex-direction: row;
  gap: 50px;
  margin-top: 50px;
  justify-content: center;
  margin-top: -4px;
  background-color: #fff;
  border-radius: 25px;
  width: 95%;
  margin: 20px auto;
  border: #000000 3px solid;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mobile {
  display: none;
}

.quadro-descricao {
  width: 95%;
  height: 65vh;
  margin: 20px auto;
  background: #fff;
  border: 2px solid #000000;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.quadro-descricao span {
  color: #222;
  font-size: 1.2rem;
  text-align: center;
}

.valor-produto input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  font-weight: 400;
}

.parcelas-produto input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  font-weight: 400;
}

.descricao-produto input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  font-weight: 400;
}

.quantidade-produto input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  font-weight: 400;
}

.quadro-descricao input {
  width: 90%;
  height: 90%;
  border: none;
  background: transparent;
  padding-bottom: 550px;
  font-size: 1.5rem;
  font-weight: 500;
}


footer {
  position: relative;
  height: 80px;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  display: flex;
  font-size: 0.8rem;
  text-align: center;
  background-color: white;
  border-top: 2px solid #593d36;
  flex-direction: row;
  justify-content: space-between;
  padding: 1.6rem;
}

footer .social-icons a i {
  color: #5a3e36;
  font-size: 1.15rem;
  padding: 0.19rem;
}

@media (min-width: 992px) and (max-width: 1440px) {

  .container-produto {
    flex-direction: row;
    width: 90%;
    max-width: 1300px;
    margin: 40px auto;
    padding: 3rem;
    gap: 60px;
  }

  .sidebar {
    flex-direction: column;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    align-items: flex-start;
  }

  .sidebar .btn-add,
  .sidebar .btn-back {
    width: 60px;
    height: 60px;
    font-size: 2.2rem;
    margin-bottom: 15px;
    margin-left: -40px;

  }

  .sidebar .btn-back {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .imagem-produto {
    width: 450px;
    height: 430px;
    margin-right: 30px;
    margin-left: 0;
    margin-left: -55px;

  }

  .imagem-produto .btn-add {
    display: flex;
  }

  .mobile.btn-add {
    display: none;
  }

  .info-produto {
    width: 30px;
    height: 30px;
    gap: 10px;
  }

  .info-produto>div {
    font-size: 1.4rem;
    padding: 15px 20px;
    min-width: 280px;
    min-height: 60px;
    margin-left: -80px;
  }

  .nome-produto input,
  .valor-produto input,
  .parcelas-produto input,
  .descricao-produto input,
  .quantidade-produto input {
    font-size: 1.6rem;
  }

  .destaque-produto {
    min-width: 80px;
    padding: 20px;
    margin-left: 0;
    margin-right: 0;
    margin-left: 120px;
    margin-right: -40px;
  }

  .titulo-destaque {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .botoes-destaque button {
    height: 40px;
    font-size: 1.3rem;
  }

  .quantidade-produto {
    padding: 10px 15px;
  }

  .comprar-agora,
  .adicionar-carrinho {
    font-size: 1.1rem;
    padding: 12px 0;
  }

  .quadro-descricao {
    width: 90%;
    max-width: 1300px;
    height: 70vh;
    margin: 30px auto;
  }

  .quadro-descricao input {
    width: 95%;
    height: 95%;
    padding-bottom: 0;
    padding-bottom: 310px;
    font-size: 1.4rem;
  }

  footer {
    padding: 1.8rem 4rem;
    font-size: 0.9rem;
  }

  footer .social-icons a i {
    font-size: 1.4rem !important;
    margin-top: 10000px;
  }
}

@media (min-width: 602px) and (max-width: 992px) {
  .quadro-descricao {
    width: 90%;
    height: 90%;
  }

  main {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .container-produto {
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: 30px auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
    gap: 30px;
  }

  .sidebar {
    flex-direction: row;
    width: 100%;
    margin: 20;
    padding-bottom: 1rem;
  }

  .sidebar .btn-add,
  .sidebar .btn-back {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    margin: 0 10px;
  }

  .btn-add {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .btn-back {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .imagem-produto {
    width: 80%;
    height: 400px;
    margin: 0;
  }

  .imagem-produto .btn-add {
    display: block;
  }

  .sidebar .btn-add {
    display: none;
  }

  .sidebar {
    width: 100%;
    padding-left: 10px;
    align-items: start;
  }

  .mobile {
    display: block;
  }

  .info-produto {
    width: 80%;
    margin-top: 0;
    align-items: stretch;
  }

  .info-produto>div {
    min-width: unset;
    width: 100%;
    font-size: 1.2rem;
  }

  .nome-produto input,
  .valor-produto input,
  .parcelas-produto input,
  .descricao-produto input,
  .quantidade-produto input {
    font-size: 1.4rem;
  }

  .destaque-produto {
    min-width: unset;
    width: 80%;
    margin: 0;
  }

  .titulo-destaque {
    font-size: 1.1rem;
  }

  .botoes-destaque button {
    height: 35px;
    font-size: 1.15rem;
  }

  .comprar-agora,
  .adicionar-carrinho {
    font-size: 1rem;
    padding: 10px 0;
  }

  .quadro-descricao {
    width: 90%;
    height: 70vh;
    margin: 30px auto;
  }

  .quadro-descricao input {
    width: 95%;
    height: 95%;
    padding-bottom: 0;
    font-size: 1.3rem;
    padding-bottom: 320px;
  }
}

@media (max-width: 601px) {
  #list {
    display: block;
  }

  header {
    position: fixed;
    width: 100%;
    justify-content: space-between;
  }

  header nav ul {
    display: none;
  }

  #popup-menu ul {
    list-style: none;
    margin-left: -1.5rem;
  }

  header nav ul li a.entrar {
    display: none;
  }

  header nav ul li a.entrar {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin-left: 0;
  }

  .venda-container {
    flex-direction: column;
    align-items: center;
    margin: 20px 10px;
  }

  .btn-add {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .btn-back {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin-left: 0;
  }

  .imagem-produto {
    width: 90%;
    height: 300px;
    margin-right: 0;
    margin-left: 0;
  }

  .info-produto {
    width: 90%;
    margin-top: 20px;
    align-items: center;
  }

  .info-produto>div {
    min-width: unset;
    width: 90%;
    font-size: 1.1rem;
    text-align: center;
  }

  .nome-produto input,
  .valor-produto input,
  .parcelas-produto input,
  .descricao-produto input,
  .quantidade-produto input {
    font-size: 1.3rem;
  }

  .destaque-produto {
    min-width: unset;
    width: 90%;
    margin-left: 00;
    margin-right: 0;
  }

  .titulo-destaque {
    font-size: 0.9rem;
  }

  .botoes-destaque button {
    height: 28px;
    font-size: 1.1rem;
  }

  .comprar-agora,
  .adicionar-carrinho {
    font-size: 0.9rem;
    padding: 6px 0;
  }

  .container-produto {
    align-items: center;
    flex-direction: column;
    gap: 30px;
    width: 90%;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .sidebar .btn-add {
    display: none;
  }

  .sidebar {
    width: 100%;
    padding-left: 10px;
    align-items: start;
  }

  .mobile {
    display: block;
  }

  .quadro-descricao {
    height: 60vh;
    width: 90%;
  }

  .quadro-descricao span {
    font-size: 1rem;
  }

  .quadro-descricao input {
    padding-bottom: 100px;
    font-size: 1.2rem;
    width: 90%;
    height: 90%;
    padding-bottom: 250px;
    font-size: 1.5rem;
    font-weight: 500;
  }

  footer {
    justify-content: center;
    flex-direction: column-reverse;
    font-size: 0.7rem;
  }
}