/* Banner */
.banner-whey {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  color: white;
  padding: 30px;
  border-radius: 5px;
  margin: 0px 0;
}

.banner-whey h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.banner-whey p {
  font-size: 16px;
}

.banner-whey img {
  max-width: 250px;
  border-radius: 8px;
}

/* Benefícios */
.beneficios {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin: 20px 0;
}

.beneficio {
  flex: 1;
  background: #f8f8f8;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.beneficio i {
  font-size: 30px;
  color: #00a2ff;
  margin-bottom: 10px;
}

/* Diferenciais */
.diferenciais {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0 40px 40px; /* topo, direita, baixo, esquerda */
}


.diferencial {
  flex: 1;
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.diferencial i {
  font-size: 28px;
  color: #000;
  margin-bottom: 10px;
}

/* Layout principal com filtros + produtos */
.conteudo {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

/* Coluna lateral de filtros */
.filtros {
  width: 250px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 14px;
  margin-left: 20px;
  text-transform: uppercase;

  /* Evita que o flex estique a altura */
  align-self: flex-start;  
  height: auto; 
}

#filtros-sabor {
  max-height: 300px; /* altura máxima */
  overflow-y: auto;   /* habilita scroll vertical */
}


.filtros-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.filtros-header button {
  background: #fff;
  border: 1px solid #ddd;
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
}

.filtros-header button.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.filtro-categoria h3 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: bold;
}

#filtros-sabor label {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
}

#filtros-sabor input {
  margin-right: 8px;
}
/* Container da lista de produtos */
#produtos-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* Centraliza os cards */
  margin-top: 20px;
}

/* Card do produto */
.produto-card {
  flex: 1 1 250px;
  max-width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  border: 1px solid #eee;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
   cursor: pointer; 
}

.produto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Imagem */
.produto-card img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 8px;
}

/* Nome */
.produto-card h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #222;
  font-weight: 600;
  text-transform: capitalize;
}

/* Descrição */
/* Descrição do produto - CORTE POR LINHAS */
.produto-card .descricao {
  font-size: 14px;
  color: #555;
  margin: 8px 0 12px;
  min-height: 40px;
  line-height: 1.4;
  
  /* ADICIONE ESTAS PROPRIEDADES: */
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* Muda aqui: 1, 2 ou 3 linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================
   Preço à vista (varejo)
========================== */
.produto .preco-varejo {
  font-weight: 700;
  font-size: 18px;
  color: #222; /* cor escura para destacar */
  margin: 4px 0;
}

.produto .pontos-fit {
  font-size: 14px;
  color: #2a9d8f; /* cor do texto “No PIX ganhe ... em” */
  margin: 4px 0;
}

.produto .pontos-fit .valor {
  color: #1b7f6b; /* verde forte só para o valor */
  font-weight: 700;
}

.produto .pontos-fit .nome-pontos {
  color: #2a9d8f; /* verde mais leve para "PontosFIT" */
  font-weight: 600;
}

/* ==========================
   Botões do produto
========================== */
.produto .botoes-produto,
.produto .botoes-card-produto {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.produto .botoes-produto button,
.produto .botoes-card-produto button {
  background-color: #e74c3c; /* vermelho chamativo */
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.produto .botoes-produto button:hover,
.produto .botoes-card-produto button:hover {
  transform: translateY(-2px);
  background-color: #c0392b;
}

.preco-atacado {
  font-size: 15px;
  font-weight: bold;
  color: #388e3c;
}

.qtd_minima,
.vendidos {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* Botões */
.botoes-card-produto {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-card-comprar {
  background-color: #d32f2f;
  color: white;
  border: none;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-card-comprar:hover {
  background-color: #b71c1c;
}

.btn-card-carrinho {
  background-color: #f9a825;
  color: white;
  border: none;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-card-carrinho:hover {
  background-color: #f57f17;
}

.comparativo {
    width: 100%;       /* ocupa tudo */
  max-width: 90%;    /* mas não passa de 90% da tela */
      margin: auto;
      background: #fff;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .comparativo h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }

    .tabela {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      border-collapse: collapse;
      text-align: center;
    }

    .tabela .titulo {
     background: linear-gradient(to right, 
  #d9d9d9 0%,   /* cinza claro esquerda */
  #000000 50%,  /* preto no meio */
  #d9d9d9 100%  /* cinza claro direita */
);



      font-weight: bold;
      color: #fff;
      padding: 12px;
      border: 1px solid #ddd;
    }
.tabela .titulo2 {
      background: #ffffff;

    }
    .tabela div {
      padding: 12px;
      border: 1px solid #ddd;
    }
.produto2 img {
     max-width: 100px;
      margin-bottom: 10px;
      align-items: center;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* Zoom leve na imagem ao passar o mouse */
.produto2:hover img {
  transform: scale(1.05);
}
.produtos {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centraliza tudo dentro */
  width: 100%;
}

.produtos h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  width: 100%;
}

.produtos-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* centraliza os cards */
  width: 100%;
}

.banner {
  overflow: hidden; /* evita que a imagem estoure para fora */
  border-radius: 10px; /* opcional, deixa com cantos arredondados */
}

.banner img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease; /* tempo e suavidade da animação */
}

.banner img:hover {
  transform: scale(1.1); /* aumenta 10% no hover */
}

@media (max-width: 768px) {
  .conteudo {
    flex-direction: column;
  }
  
  .filtros {
    width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
  }
}
/* Container de sabores */
.produto-card .sabores {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* Container de sabores */
.produto-card .sabores {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center; /* centraliza horizontalmente */
}

/* Cada badge de sabor */
.sabor-badge {
  background-color: #f0c14b; /* cor de destaque, amarelo suave */
  color: #333;                /* texto escuro para contraste */
  font-size: 0.85rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid #e2b33c;
  white-space: nowrap;
  transition: background-color 0.3s, transform 0.2s;
}

/* Efeito hover */
.sabor-badge:hover {
  background-color: #e2b33c;
  transform: scale(1.05);
  cursor: default;
}
