* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background-color: #e4e1dc;
  color: #333;
}

/* ===== HEADER PROMO ===== */
header {
  background: #fff;
  padding: 8px 20px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid #ccc;
}

/* ===== NAVBAR ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #2d2b2b;
  color: #fff;
   transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a {
  color: #333;
  text-decoration: none;
  position: relative;
  font-weight: bold;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

/* Linha invisível inicial */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #e91e63;
  transition: width 0.4s ease;
}

/* Ao passar o mouse */
nav ul li a:hover {
  color: #e91e63;
}


/* Linha deslizando */
nav ul li a:hover::after {
  width: 100%;
}

nav .logo {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
nav ul li {
  display: inline;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}



.icons {
  display: flex;
  gap: 18px;
  font-size: 20px;
  cursor: pointer;
}
.icons span:hover {
  color: #e4e1dc;
}

/* ===== CARROSSEL ===== */
.carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  width: max-content;
  transition: transform 0.5s ease-in-out;
}
.carousel img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 10px;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* ===== PRODUTOS ===== */
.section-title {
  text-align: center;
  font-size: 22px;
  margin: 30px 0 20px;
}
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colunas */
  gap: 20px;
  padding: 0 30px 30px;
}
.product-card {
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  border-radius: 8px;
}
.product-card:hover {
  transform: translateY(-5px);
}
div.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  justify-content: center;
  display: flex;
  border-radius: 8px;
}


.product-card h4 {
  padding: 10px;
  font-size: 20px;
  text-align: center;
}
.preço {
  text-shadow: #2d2b2b;
  text-align: left;
  color: #3A3636;
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 5px;
}
p {
  padding-left: 10px;
  font-size: 12px;
  color: #5e56566e;
  padding-bottom: 5px;
}
.btn-more {
  display: block;
  margin: 20px auto;
  background: #333;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}
.btn-more:hover {
  background: #555;
}

/* ===== RODAPÉ ===== */
footer {
  background: #2d2b2b;
  color: #ddd;
  padding: 30px;
  margin-top: 40px;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
footer h4 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
}
footer p, footer a {
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* === HAMBURGUER (botão) === */
.hamburger {
  display: none;          /* só aparece no mobile */
  width: 36px;
  height: 28px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 3px;
  margin: 6px 0;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}


.btn-more {
  display: block;
  margin: 20px auto;
  background: #333;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.btn-more:hover {
  background: #555;
}


.mais-produtos {
  background-color: #785757;

}


/* Animação para "X" quando ativo */
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* === MOBILE: menu recolhido/expandido === */
@media (max-width: 768px) {
  nav { position: relative; flex-wrap: wrap; }

  .hamburger { display: inline-block; }

  /* Esconde o menu por padrão no mobile */
  nav ul#menu {
    display: none !important;           /* override do display:flex base */
    flex-direction: column;
    position: absolute;
    top: 60px;                          /* logo + barra */
    left: 0;
    width: 100%;
    background: #2d2b2b;
    padding: 12px 20px;
    gap: 10px;
    z-index: 1000;
    border-top: 1px solid #444;
  }

  /* Mostra quando marcado como .show */
  nav ul#menu.show { display: flex !important; }

  nav ul#menu li { margin: 6px 0; text-align: center; }
}


/* editando o mostrar mais  */
 .btn-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
  }

  /* Container dos produtos extras */
  .mais-produtos {
  display: none; /* começa escondido */
  margin-top: 20px;
  justify-content: center;
  
}

.masonry-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;

}

/* Imagem grande à esquerda */
.product-card.grande img {
  flex: 1 1 800px; /* ocupa mais espaço */
  height: 477px;
  width: 500px ;
  
}

.product-card_flow img{
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  border-radius: 8px;
  width: 300px;
}
.product-card_flow :hover {
  transform: translateY(-5px);
}


.coluna-direita {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Ajuste das imagens */



/* Responsivo */
@media (max-width: 768px) {
  .masonry-container {
    flex-direction: column;
    align-items: center;
  }

  .coluna-direita {
    flex-direction: column;
  }

  .product-card.grande {
    width: 80%;
  }

  .product-card img {
    width: 100%;
    height: auto;
  }
}


  /* Estilizando as imagens */
  .product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-card img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
  }

  /* Responsivo */
  @media (max-width: 768px) {
    .masonry-container {
      flex-direction: column;
      align-items: center;
    }
    .product-card img {
      width: 150px;
      height: 220px;
    }
  }


/* ===== RESPONSIVIDADE ===== */

/* Telas até 1024px (tablets e notebooks menores) */
@media (max-width: 1024px) {
  .products {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
  }

  nav ul {
    gap: 15px;
  }

  .carousel img {
    height: 350px;
  }
}

/* Telas até 768px (tablets pequenos e celulares grandes) */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel img {
    height: 280px;
  }
}

/* Telas até 480px (celulares comuns) */
@media (max-width: 480px) {
  nav {
    padding: 10px;
  }

  nav .logo {
    font-size: 18px;
  }

  nav ul {
    gap: 8px;
  }

  .products {
    grid-template-columns: 1fr; /* apenas 1 produto por linha */
  }

  .product-card img {
    height: auto; /* deixa a imagem se ajustar naturalmente */
  }

  .carousel img {
    height: 200px;
  }

  .section-title {
    font-size: 18px;
  }
}
