* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #dcdad3;
  color: #2e2e2e;
}

/* Topo */
header {
  background-color: #4b5c20;
  padding: 10px 0;
  height: 70px;

}

.top-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  align-items: center;
  color: white;
  text-transform: uppercase;
  font-weight: bold;

}

.top-nav a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Breadcrumb */
.breadcrumbs {
  padding: 20px;
  font-size: 0.9rem;
  color: #4b5c20;
}

.titulo {
  padding: 0 20px;
  color: #4b5c20;
}

/* Layout */
.content-container {
  display: flex;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.filtros {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filtros button {
  background-color: #4b5c20;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

/* Área Produtos */
.produtos {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.top-bar input {
  flex: 1;
  padding: 15px;
  border-radius: 20px;
  border: none;
  max-width: 400px;
  margin-right: 10px;

}


/* From Uiverse.io by alexmaracinaru */
.card {
  width: 250px;
  background: white;
  padding: .4em;
  border-radius: 6px;
  height: 350px;
  display: flex;
  flex-direction: column;
}


.card-image img {
  width: 100%;
  height: 200px;
  border-radius: 6px 6px 6px 6px;
}



.category {
  text-transform: uppercase;
  font-size: 0.7em;
  font-weight: 600;
  color: rgb(63, 121, 230);
  padding: 10px 7px 0;
}

.category:hover {
  cursor: pointer;
}

.heading {
  font-weight: 600;
  color: rgb(88, 87, 87);
  padding: 7px;
}

.heading:hover {
  cursor: pointer;
}

/* From Uiverse.io by chase2k25 */
/* Button Container */
.wooden-cart-button {
  position: relative;
  bottom: -15px;
  display: flex;
  align-items: center;
  padding: 10px 10px;
  border: none;
  background-color: #4b5c20;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: perspective(500px) rotateX(5deg);
  transform-style: preserve-3d;
}

/* Wood grain texture */
.wooden-cart-button::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      rgba(139, 90, 43, 0.1) 25%,
      transparent 25%,
      transparent 75%,
      rgba(139, 90, 43, 0.1) 75%);
  background-size: 10px 10px;
  opacity: 0.5;
  border-radius: 25px;
  transition: all 0.4s ease;
  transform: translateZ(-1px);
}

/* SVG Icon */
.wooden-cart-button svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  fill: #d9d8d0;
  /* Dark brown color for icon */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateZ(10px);
}

/* Text */
.button-text {
  position: relative;
  z-index: 1;
  color: #d9d8d0;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateZ(10px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hover State */
.wooden-cart-button:hover {
  transform: perspective(500px) rotateX(0deg) translateY(-3px);
}

.wooden-cart-button:hover svg {
  transform: translateZ(15px) scale(1.2) rotate(5deg);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

.wooden-cart-button:hover .button-text {
  transform: translateZ(15px) translateX(5px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Active/Clicked State */
.wooden-cart-button:active {
  transform: perspective(500px) rotateX(2deg) translateY(2px);
  box-shadow:
    inset 0 3px 6px rgba(255, 255, 255, 0.3),
    inset 0 -3px 6px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.2);
}

.wooden-cart-button:active svg {
  transform: translateZ(5px) scale(0.9) rotate(-5deg);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.wooden-cart-button:active .button-text {
  transform: translateZ(5px) translateY(1px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


.cards {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.card:hover {
  box-shadow: #402E19 0px 3px 8px;
  transform: scale(1.05);
  transition: all .3s ease;
}

.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    transition: opacity 0.3s ease;
}

.card-image img.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.card-image:hover img.hover {
    opacity: 1;
}

.card-image:hover img.normal {
    opacity: 0;
}




@media (max-width: 768px) {
  .filtros {
    display: none;
  }
  

  .top-nav a{
    display: none;
  }

  .mobile-menu {
  margin-top: 10px;
  background-color: #3f4e22;
  position: absolute;
  width: 100%;
  top: 60px;
  left: 0;
  display: none;
  text-align: center;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 1s ease;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  display: flex;
  justify-content: center;
  
  padding: 1rem;
}

.mobile-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

/* Quando ativo, mostrar menu */
.mobile-menu.active {
  display: block; /* já está no seu código */
  max-height: 500px; /* altura suficiente para o conteúdo */
  opacity: 1;
}


#menuToggle {
  margin-top: -10px;
  font-size: 34px;
  color: white;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  justify-content: flex-end;
  margin-right: 10px;
  align-items: center;
}


.footer-bottom {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 80px;
    margin-bottom: 15px;
}

.footer-bottom .copy {
  font-size: 18px;
  text-align: center;
  color: #4A5C24;
  flex: 1;
}

.copy {
  color: #4A5C24;
}

}

@media (min-width: 768px) {
  .mobile-menu{
    display: none;
  }
  #menuToggle{
    display: none;
  }
  .footer-bottom {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 80px;
  margin-bottom: 15px;
}

.footer-bottom .copy {
  font-size: 18px;
  text-align: center;
  color: #4A5C24;
  flex: 1;
}

.copy {
  color: #4A5C24;
}

}
@media (max-width: 768px) {
  .modal {
    flex-direction: column;
    width: 95%;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-image {
    display: none; /* OCULTA A IMAGEM NO MOBILE */
  }

  .modal-content {
    padding: 20px;
    flex: none;
    background-color: #D9D8D2;
  }

  .modal-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .modal-description {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .modal-buttons {
  display: flex;
  flex-direction: row; /* Um ao lado do outro */
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.modal-buttons .btn {
  flex: 1;
  min-width: 120px;
  height: 55px;
}


  .btn {
    width: 100%;
    font-size: 14px;
    padding: 12px;
  }

  .tamanhos {
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px;
  }

  .tamanhos p {
    font-size: 14px;
    padding: 6px 10px;
  }

  .close-btn {
    top: 10px;
    right: 15px;
    font-size: 26px;
  }
}


.btn-whatsapp {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 1px 1px 2px #888;
  z-index: 1000;
}

.fa-whatsapp {
  margin-top: 16px;
}


.btn-whatsapp:hover {
  transform: translateY(-7px);
  transition: all 0.5s ease;
}


    /* Modal Overlay */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 999;
    }

    /* Modal Content */
    .modal {
      background: #D9D8D2 ;
      display: flex;
      width: 900px;
      max-width: 95%;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }

    /* Left (Image) */
    .modal-image {
      flex: 1;
      background-size: cover;
      background-position: center;
      min-height: 300px;
    }

    /* Right (Content) */
    .modal-content {
      flex: 1;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: #4A5C24;
    }

    .modal-title {
      font-size: 24px;
      margin-bottom: 10px;
      text-transform: uppercase;
      font-weight: bold;
    }

    .modal-description {
      flex-grow: 1;
      font-size: 20px;
      margin-bottom: 20px;
    }

    .modal-buttons {
      display: flex;
      gap: 10px;
      margin: 10px;
    }

    .buy-btn {
      background-color: #4CAF50;
      color: white;
    }

    .cart-btn {
      background-color: #2196F3;
      color: white;
    }

    .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 24px;
      color: white;
      cursor: pointer;
    }


  .btn {
  padding: 10px;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 200px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  font-weight: bold;
  color: #4b5c20;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.022);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}

.btn:hover {
  background-color: #4A5C24;
  box-shadow: 0px 5px 10px #4A5C24;
  color: #fff;
  transform: translateY(-7px);
}

.btn:active {
  transform: translateY(-1px);
}

    .counter-btn {
      background-color: #eee;
      border: none;
      border-radius: 50%;
      width: 35px;
      height: 35px;
      font-size: 20px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s;
      
    }

    .counter-btn:hover {
      background-color: #ccc;
    }

    .quantity {
      font-size: 18px;
      min-width: 20px;
      text-align: center;
      display: inline-block;
    }

    .tamanhos{
      display: flex;
      justify-content: start;
      gap: 10px;
      margin-top: 10px;
    }

    .tamanhos p {
      color: #D9D8D2;
      background-color: #4A5C24;
      padding: 5px;
      border-radius: 5px;
      box-shadow: #4A5C24 0px 2px 8px 0px;
        transition: all .5s ease;
    }

    .tamanhos p:hover{
      cursor: pointer;
        transform: translateY(-7px);
        transition: all .5s ease;
    }