.corpo {
  margin: 0;
  padding: 0;
  background-color: #dad7cd;
}

/* CABECALHO */

.cabecalho {
  background-color: #2e3b29;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
}

.cabecalho .imagem {
  width: 120px;
  margin: 10px;
}

.navegacao {
  display: flex;
  justify-content: center;
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.navegacao .menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 20px;
}

.navegacao .menu .item {
  font-size: 20px;
  padding: 15px;
  text-decoration: none;
  transition: 0.5s ease-in-out;
}

.menu .item a {
  color: #a3b18a;
}

.menu .item a:hover {
  color: #dad7cd;
}

.menu .underline {
  position: absolute;
  bottom: 25px;
  height: 3px;
  width: 0;
  background-color: #a3b18a;
  box-shadow: 0 0 8px #588157, 0 0 16px #dad7cd;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu .item:hover~.underline {
  width: 100px;
  transform: translateX(calc(var(--i) * 100%));
}

.barra[type="texto"] {
  padding: 5px;
  border: none;
  border-radius: 3px;
  background-color: #dad7cd;
}

.pesquisa {
  display: flex;
  align-items: center;
}

.pesquisa .carrinho {
  width: 40px;
  padding: 8px;
}

/* CABECALHO */

/* CONTEUDO */

/* FRASE-PRINCIPAL */

.frase-principal {
  background: linear-gradient(to right, #2e3b29, #a3b18a);
  padding: 40px 10px;
  text-align: center;
}

.frase-principal .titulo {
  font-size: 35px;
  color: #dad7cd;
  font-family: "Playfair Display SC", serif;
}

.frase-principal .texto {
  color: #dad7cd;
  margin: 20px;
  font-size: 20px;
}

.frase-principal .botoes {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.frase-principal .botoes .botao {
  padding: 10px 20px;
  background-color: #a3b18a;
  color: #344e41;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: .3s ease-in-out;
}

.frase-principal .botao:hover {
  transform: scale(1.1);
}

/* FRASE-PRINCIPAL */


/* PAINEL-NOMES */

.painel {
  margin: 30px;
  /* background-color: #dad7cd; */
  text-align: center;
}

.painel .titulo {
  /* font-size: 30px; */
  color: #2e3b29;
  font-family: "Playfair Display SC", serif;
}

/* PAINEL-NOMES */

/* LOJA */

.grade-cosmeticos {
  display: flex;
  justify-content: center;
  background-color: #a3b18a;
  padding: 30px;
}

.grade-plantas {
  display: flex;
  justify-content: center;
  background-color: #a3b18a;
  padding: 30px;
}

.grade-roupas {
  display: flex;
  justify-content: center;
  background-color: #a3b18a;
  padding: 30px;
}

.cards {
  gap: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  flex-wrap: wrap;
}

.card {
  width: 300px;
  height: 390px;
  background-color: #2e3b29;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.card:hover {
  cursor: pointer;
}


.card-container {
  width: 300px;
  height: 390px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.card {
  width: 300px;
  height: 390px;
  border-radius: inherit;
}

.card .frente {
  width: 300px;
  height: 390px;
  display: flex;
  gap: 23px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1)
}

.card .frente .titulo {
  font-size: 28px;
  font-weight: 700;
  opacity: 1;
  background-color: #a3b18a;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1)
}

.card .frente .imagem {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 2px solid #a3b18a;
}

.card .frente .precos {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.frente .precos .preco {
  font-weight: 600;
  font-size: 19px;
  color: #a3b18a;
}

.card .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
  background-color: #2e3b29;
  color: #dad7cd;
  padding: 20px;
  line-height: 1.5;
  border-radius: 5px;
  pointer-events: none;
  transform: translateY(96%);
  transition: 0.6s ease-in-out;
}

.card .content .subtitulo {
  font-size: 24px;
  color: #a3b18a;
}

.card .content .texto {
  text-align: center;
  color: #dad7cd;
  font-size: 18px;
}

.content .add {
  color: #a3b18a;
}

.content .btn {
  background-color: #a3b18a;
  border: none;
  color: #1b1b1b;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.content .btn:hover {
  background-color: #588157
}

.card.active .content {
  transform: translateY(0);
  pointer-events: auto;
  /* Permite clicar no botão '+' dentro do conteúdo */
}

/* LOJA */

/* CONTEUDO */


/* Carrinho (Modal) */



/* Variáveis para o carrinho (adicione no topo ou onde for apropriado) */
:root {
  --bg: #dad7cd;
  /* Fundo do item do carrinho */
  --muted: #6b6b6b;
  /* Cor de texto discreta */
  --accent: #a3b18a;
  /* Cor de destaque (botão) */
}

/* ... o resto do seu CSS ... */

/* Estilo do botão de fechar dentro do carrinho */
.cart-header button#closeCart {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #344e41;
  /* Cor escura do seu tema */
}

.cart-footer button#checkoutBtn {
  background: var(--accent);
  /* #a3b18a */
  color: #2e3b29;
  border: none;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s;
}

.cart-footer button#checkoutBtn:hover {
  background-color: #588157;
  /* Um tom de verde mais escuro */
  color: white;
}

/* ... (Código anterior) ... */

.cart-modal {
  overflow-y: auto;
  position: fixed;
  /* <-- MUDADO DE 'fixed' */
  top: 0;
  /* <-- O JS VAI MUDAR ISSO */
  right: 0;
  width: 380px;
  /* height: 100vh; */
  /* <-- REMOVIDO */
  max-height: 80vh;
  /* <-- ADICIONADO: Limita a altura */
  background: #dad7cd;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform .3s ease, top .3s ease;
  /* <-- ADICIONADO 'top' à transição */
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.cart-modal.active {
  transform: translateX(0);
}

.cart-header {
  padding: 16px;
  border-bottom: 1px solid #2e3b29;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  color: #2e3b29;
  font-family: "Playfair Display SC", serif;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(240 237 230);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid #2e3b29;
}

.cart-item img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  margin-left: 10px;
}

.cart-item-info h4 {
  margin: 0;
  font-size: 15px;
  color: #2e3b29;
}

.cart-item-info p {
  margin: 0;
  font-size: 13px;
  color: #000;
}

.cart-item input {
  width: 40px;
  text-align: center;
  border: 1px solid #2e3b29;
  border-radius: 6px;
}

.cart-footer {
  border-top: 1px solid #2e3b29;
  padding: 16px;
}

.cart-footer h3 {
  margin: 0 0 8px;
  color: #2e3b29;
}

.cart-footer span {
  color: #2e3b29;
}

.cart-footer button {
  background: var(--accent);
  color: white;
  border: none;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}


.cart-item-remove {
  color: white;
  background-color: #dad7cd;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  transition: background .2s ease;
}

.cart-item-remove:hover {
  background: #c70000;
}


.cart-item-quantity {
  width: 45px;
  text-align: center;
  border: 1px solid #2e3b29;
  border-radius: 6px;
  padding: 4px;
  margin-left: 10px;
}















.success-modal {
  display: none;
  /* Escondido por padrão */
  position: fixed;
  /* Fica por cima de tudo */
  z-index: 100;
  /* Garante que fique na frente do carrinho */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

.success-modal-content {
  background-color: #dad7cd;
  /* Cor de fundo do seu tema */
  color: #2e3b29;
  /* Cor do texto */
  margin: auto;
  padding: 30px 40px;
  /* Padding ajustado */
  border-radius: 10px;
  text-align: center;
  /* Texto centralizado */
  position: relative;
  width: 90%;
  /* Largura responsiva */
  max-width: 450px;
  /* Largura máxima */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* NOVO: Estilização dos títulos e parágrafos */
.success-modal-content h3 {
  margin-top: 0;
  color: #2e3b29;
  /* Verde escuro */
}

.success-modal-content p {
  margin-bottom: 15px;
  font-size: 0.9em;
  font-weight: normal;
}

.close-success-modal {
  color: #2e3b29;
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
}

.close-success-modal:hover,
.close-success-modal:focus {
  color: #2e3b29;
  text-decoration: none;
  cursor: pointer;
}

/* ====================================================== */
/* NOVO CÓDIGO: Lista de itens no modal de sucesso      */
/* ====================================================== */
.success-items-list {
  max-height: 200px;
  /* Limita a altura para criar rolagem */
  overflow-y: auto;
  /* Adiciona barra de rolagem se necessário */
  background: #f0ede6;
  /* Um fundo levemente diferente */
  border-radius: 5px;
  padding: 10px;
  text-align: left;
  border: 1px solid #2e3b29;
  margin-top: 10px;
}

.success-modal-content .agra {
  padding-top: 45px;
}

.success-item {
  display: flex;
  align-items: center;
  font-size: 0.9em;
  font-weight: normal;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #2e3b29;
}

.success-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.success-item img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  margin-right: 10px;
  object-fit: cover;
}

.success-item-info {
  flex: 1;
}

.success-item-info strong {
  display: block;
  color: #2e3b29;
  /* Verde do tema */
}

.success-item-info span {
  color: #000;
  /* Cor de texto discreta */
}

















/* ====================================================== */
/* NOVO CÓDIGO: Estilos da Forma de Pagamento no Carrinho */
/* ====================================================== */
.cart-payment-method {
  margin: 15px 0;
  border-top: 1px solid #2e3b29;
  padding-top: 15px;
}

.cart-payment-method h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.payment-options {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.payment-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #2e3b29;
}

/* Estilo customizado para os radio buttons */
.payment-options input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #2e3b29;
  border-radius: 50%;
  transition: 0.2s ease;
  position: relative;
  cursor: pointer;
  margin: 0;
}

.payment-options input[type="radio"]:checked {
  background-color: var(--accent);
  /* #a3b18a */
  border-color: var(--accent);
}

/* Círculo interno */
.payment-options input[type="radio"]:checked::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: rgb(240 237 230);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* ====================================================== */
/* NOVO CÓDIGO: Estilo do Pagamento no Modal de Sucesso   */
/* ====================================================== */
.success-payment-info {
  font-size: 1em;
  font-weight: normal;
  color: #000;
  /* Verde do tema */
  background-color: #f0ede6;
  /* Fundo leve */
  padding: 8px 12px;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #2e3b29;
  text-align: left;
  /* Alinha o texto */
}

.success-payment-info strong {
  color: #2e3b29;
  /* Verde escuro */
}


























/* ====================================================== */
/* NOVO CÓDIGO: Layout da Seção de Avaliações (3 Colunas) */
/* ====================================================== */

.reviews-layout-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto 40px auto;
}

.reviews-coluna-estatica {
  padding-right: 220px;
  flex: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.reviews-coluna-estatica-direita {
  padding-left: 220px;
  flex: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

/* Ajusta o formulário para ser a coluna central */
.review-form {
  flex: 2;
  /* Faz o formulário ser um pouco maior */
  max-width: 600px;
  /* Mantém a largura máxima do formulário */
  margin: 0;
  /* Remove a margem automática anterior */
}

/* Título para a seção de comentários dinâmicos */
.titulo-dinamico {
  font-family: "Playfair Display SC", serif;
  font-size: 35px;
  color: #2e3b29;
  text-align: center;
  margin-top: 40px;
  /* Espaço acima */
  margin-bottom: 20px;
  /* Espaço abaixo */
  border-top: 2px solid #2e3b29;
  /* Linha sutil de separação */
  padding-top: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ====================================================== */
/* ALTERAÇÃO: Container de Avaliações (Grid de 2 Colunas) */
/* ====================================================== */

.reviews-container {

  max-width: 700px;
  margin: 0 auto;

  max-width: 1000px;
  /* Largura máxima para a grade de 2 colunas */
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  /* Permite que os cards quebrem a linha */
  justify-content: center;
  /* Centraliza os cards */
  gap: 20px;
  /* Espaço entre os cards */

  align-items: flex-start;
  /* <-- ADICIONADO: Alinha os cards ao topo */

}

.review-card {
  background: #f0ede6;
  /* border: 1px solid #ccc; */
  border: 1px solid #2e3b29;
  border-radius: 8px;
  padding: 15px 20px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  width: 430px;
  max-width: 480px;
  flex-grow: 1;
  margin-bottom: 0;
  text-align: center;
}







/* ====================================================== */
/* NOVO CÓDIGO: Seção de Avaliações                       */
/* ====================================================== */

.avaliacoes {
  padding: 40px 20px;
  background-color: #a3b18a;
  /* Fundo principal do corpo */
  text-align: center;
}

.avaliacoes .titulo {
  font-size: 35px;
  color: #2e3b29;
  /* Verde escuro do tema */
  margin-bottom: 30px;
  font-family: "Playfair Display SC", serif;
  
}

/* Formulário de Avaliação */
.review-form {
  max-width: 600px;
  margin: 0 auto 40px auto;
  padding: 25px;
  background-color: #dad7cd;
  /* Um tom mais claro que o fundo */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #2e3b29;
  text-align: left;
}

.review-form h3 {
  font-size: 1.5em;
  color: #344e41;
  /* Verde do tema */
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #344e41;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #2e3b29;
  border-radius: 5px;
  background-color: rgb(240 237 230);
  font-size: 15px;
  color: #1b1b1b;
}

.form-group textarea {
  resize: vertical;
}

/* Botão de Envio */
.botao-avaliacao {
  width: 100%;
  padding: 12px 20px;
  background-color: #a3b18a;
  /* Verde oliva do tema */
  color: #2e3b29;
  /* Verde escuro */
  font-size: 1.1em;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: .3s ease-in-out;
}

.botao-avaliacao:hover {
  background-color: #588157;
  /* Verde mais escuro no hover */
  color: #dad7cd;
  transform: scale(1.02);
}

/* Sistema de Estrelas (Star Rating) */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  /* Faz a lógica de hover/checked funcionar corretamente */
  justify-content: flex-end;
}

.star-rating input[type="radio"] {
  display: none;
  /* Esconde os radio buttons reais */
}

.star-rating label {
  font-size: 2.5em;
  /* Tamanho das estrelas */
  color: rgb(240 237 230);
  /* Cor da estrela vazia */
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0 3px;
  margin: 0;
}

/* Quando o mouse passa por cima (hover) */
.star-rating label:hover,
.star-rating label:hover~label {
  color: #a3b18a;
  /* Verde oliva no hover */
}

/* Quando um rádio está selecionado (checked) */
.star-rating input[type="radio"]:checked~label {
  color: #a3b18a;
  /* Verde oliva para estrelas selecionadas */
}


.review-card {
  background: #dad7cd;
  border: 1px solid #2e3b29;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid #2e3b29;
  padding-bottom: 10px;
}

.review-name {
  font-size: 1.1em;
  font-weight: 700;
  color: #2e3b29;
}

.review-stars {
  font-size: 1.2em;
  color: #a3b18a;
  /* Verde oliva */
}

.review-body {
  font-size: 1em;
  color: #2e3b29;
  line-height: 1.5;
  margin: 0;
}



/* ====================================================== */
/* NOVO CÓDIGO: Estilo dos Botões do Modal de Confirmação */
/* ====================================================== */
.confirmation-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.confirmation-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  /* font-size: 0.9em; */
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 130px;
  
}

.confirmation-btn.confirm-btn {
  background-color: #588157;
  /* Verde mais escuro */
  color: white;
}

.confirmation-btn.confirm-btn:hover {
  background-color: #2e3b29;
  /* Verde mais escuro ainda */
}

.confirmation-btn.cancel-btn {
  background-color: #c4c4c4;
  /* Cinza */
  color: #333;
}

.confirmation-btn.cancel-btn:hover {
  background-color: #999;
  /* Cinza mais escuro */
}





/* ... (código anterior) ... */

/* ====================================================== */
/* NOVO CÓDIGO: Botões do Modal de Sucesso (Acompanhar/Loja) */
/* ====================================================== */
.success-actions {
  display: flex;
  flex-direction: column;
  /* Um botão em cima do outro */
  gap: 12px;
  margin-top: 25px;
  /* Espaço acima dos botões */
}


.success-btn {
  padding: 12px 20px;
  border: 1px solid #2e3b29;
  /* Borda no tom escuro */
  border-radius: 5px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
  /* Alinha o texto e ícone à esquerda */
}

.success-btn.track-btn {
  background-color: #f0ede6;
  /* Fundo claro */
  color: #2e3b29;
  /* Texto escuro */
}

.success-btn.track-btn:hover {
  background-color: #dad7cd;
  /* Fundo um pouco mais escuro */
}

.success-btn.store-btn {
  background-color: #f0ede6;
  color: #2e3b29;
}

.success-btn.store-btn:hover {
  background-color: #dad7cd;
}

/* ====================================================== */
/* Estilo dos Botões do Modal de Confirmação (Do passo anterior) */
/* ====================================================== */
.confirmation-buttons {
  text-transform: uppercase;
  font-size: 1.2em;
  line-height: 1.5;
  margin-top: 15px;
}

/* .confirmation-buttons p{
  margin: 20px 0 25px;
} */







/* RODAPE */



.rodape {
  text-align: center;
  padding: 1rem;
  background-color: #2e3b29;
  font-weight: 600;
  letter-spacing: 1px;
}

.rodape .texto {
  color: #dad7cd;
}



/* RODAPE */