body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Cabeçalho */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #f8e9e9;
  position: sticky;
  top: 0;
  z-index: 1000; /* garante que o header fica sempre por cima */
}

.header .logo {
  font-size: 1.4rem;
  font-weight: bold;
}

.logo img {
  height: 50px; /* ajuste conforme necessário */
  width: auto;
  border-radius: 25px;
}

.menu a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Hero */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: #ffecec;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn {
  background: #e67e7e;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover {
  background: #c95e5e;
}

/* Produtos */
.produtos {
  padding: 60px 20px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* Card */
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;

  /* força altura igual e organiza conteúdo */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;

  /* mantém altura padrão p/ não bagunçar */
  height: 200px;
  object-fit: cover;
}

.card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #444;
}

.card .preco {
  font-size: 1.1rem;
  font-weight: bold;
  color: #e67e7e;
  margin: 10px 0;
}

/* botão sempre embaixo */
.card .btn {
  margin-top: auto;
  align-self: center;
}

/* Sobre */
.sobre {
  padding: 60px 20px;
  background: #fafafa;
  text-align: center;
}

/* Contato */
.contato {
  padding: 60px 20px;
  text-align: center;
}

/* Rodapé */
.footer {
  text-align: center;
  padding: 20px;
  background: #f1f1f1;
  font-size: 0.9rem;
}

.carousel {
  display: none; /* esconde carrossel em telas grandes */
}

/* Mobile: esconde grid, mostra carrossel */
@media screen and (max-width: 768px) {
  .grid {
    display: none;
  }

  .carousel {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 15px;
  }

  .carousel .card {
    min-width: 80%;
    flex-shrink: 0;
  }

  .carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(230, 126, 126, 0.8);
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
  }

  .carousel .prev {
    left: 10px;
  }

  .carousel .next {
    right: 10px;
  }
}

.ver-todos {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 18px;
  background: #fff;
  border: 2px solid #e67e7e;
  border-radius: 20px;
  font-weight: bold;
  color: #e67e7e;
  text-decoration: none;
  float: right;
  transition: all 0.3s ease;
}

.ver-todos:hover {
  background: #e67e7e;
  color: #fff;
  transform: scale(1.05);
}







/* Página de detalhes */
.produto-detalhe {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  justify-content: center;
  align-items: flex-start;
}

.imagem-produto img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.info-produto {
  max-width: 500px;
}

.info-produto h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #444;
}

.info-produto .preco {
  font-size: 1.3rem;
  font-weight: bold;
  color: #e67e7e;
  margin-bottom: 20px;
}

.info-produto .descricao {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.6;
}






/* Container principal com sidebar fixa */
.produtos-container {
  display: flex;
  padding: 0;
}

/* Barra lateral de filtros colada à esquerda */
.filtros {
  position: fixed;
  top: 90px;         /* abaixo do cabeçalho */
  left: 0;
  width: 250px;
  height: 100vh;     /* ocupa toda a altura da tela */
  background: #fff;
  border-right: 1px solid #ddd;
  padding: 20px;
  box-shadow: 2px 0 8px rgba(0,0,0,0.05);
  overflow-y: auto;  /* scroll interno se o conteúdo passar da tela */
}

.filtros h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #444;
}

.filtros label {
  display: block;
  text-align: left;
  font-size: 0.95rem;
  margin: 10px 0 5px;
  color: #666;
}

.filtros select,
.filtros input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-bottom: 15px;
}

.filtros .btn {
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  background: #e67e7e;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.filtros .btn:hover {
  background: #c95e5e;
}






/* Área de produtos (empurrada para a direita por causa do menu) */
.produtos-page {
  flex: 1;
  margin-left: 270px; /* espaço do menu lateral */
  padding: 40px 20px;
}

.produtos-page h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #444;
  text-align: center;
}

.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

.card-produtos {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s;
}

.card-produtos:hover {
  transform: translateY(-8px);
}

.card-produtos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card-produtos h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #444;
}

.card-produtos .preco {
  font-size: 1.1rem;
  font-weight: bold;
  color: #e67e7e;
  margin: 10px 0;
}

.card-produtos .btn {
  margin-top: auto;
  text-align: center;
}