@charset "UTF-8";
.bestsellery {
  background-color: #0A0A0A;
  padding: 5vw 8vw;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}
.bestsellery h2 {
  color: #70fa00;
  font-size: 3vw;
  margin-bottom: 3vw;
  text-transform: uppercase;
  letter-spacing: 0.2vw;
}
.bestsellery .cards {
  display: flex;
  gap: 2vw;
  flex-wrap: wrap;
  justify-content: center;
}
.bestsellery .cards .card {
  background-color: #111;
  border: 0.2vw solid transparent;
  border-radius: 1vw;
  padding: 0 0 2vw 0;
  max-width: 25vw;
  flex: 1 1 25vw;
  transition: all 0.3s ease;
  overflow: hidden;
  /* początkowy stan (ukryte, przesunięte) */
  opacity: 0;
  transform: translateY(3vw);
  will-change: opacity, transform;
  /* STAN PO DODANIU .visible */
}
.bestsellery .cards .card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bestsellery .cards .card .card-image {
  width: 100%;
  height: 15vw;
  background-size: cover;
  background-position: center;
  border-bottom: 0.2vw solid #0f0f0f;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.bestsellery .cards .card:hover .card-image {
  transform: scale(1.08);
}
.bestsellery .cards .card h3 {
  color: #70fa00;
  font-size: 1.8vw;
  margin: 1.5vw 0 1vw;
}
.bestsellery .cards .card p {
  color: #ccc;
  font-size: 1.1vw;
  margin-bottom: 2vw;
  padding: 0 1.5vw;
  min-height: 6vw;
}
.bestsellery .cards .card a {
  display: inline-block;
  background-color: #70fa00;
  color: #0f0f0f;
  padding: 0.7vw 1.5vw;
  border-radius: 0.6vw;
  font-weight: bold;
  font-size: 0.9vw;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  margin: 0 auto;
}
.bestsellery .cards .card a:hover {
  background-color: transparent;
  color: #70fa00;
  border: solid 0.1vw #70fa00;
}
.bestsellery .cards .card:hover {
  border-color: #70fa00;
  transform: translateY(-0.5vw);
}

@media (max-width: 800px) {
  .bestsellery {
    padding: 8vw 5vw;
  }
  .bestsellery h2 {
    font-size: 7.2vw;
    margin-bottom: 6vw;
    letter-spacing: 0.4vw;
  }
  .bestsellery .cards {
    flex-direction: column;
    gap: 4vw;
    align-items: center;
  }
  .bestsellery .cards .card {
    max-width: 90vw;
    flex: 1 1 90vw;
    border-radius: 2vw;
    padding: 0 0 4vw 0;
    /* początkowy stan (ukryte, przesunięte) */
    opacity: 0;
    transform: translateY(5vw);
    /* STAN PO DODANIU .visible */
  }
  .bestsellery .cards .card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .bestsellery .cards .card .card-image {
    height: 40vw;
    border-bottom: 0.4vw solid #0f0f0f;
  }
  .bestsellery .cards .card:hover .card-image {
    transform: scale(1.05);
  }
  .bestsellery .cards .card h3 {
    font-size: 5vw;
    margin: 3vw 0 2vw;
  }
  .bestsellery .cards .card p {
    font-size: 3.5vw;
    margin-bottom: 4vw;
    padding: 0 3vw;
    min-height: 12vw;
  }
  .bestsellery .cards .card a {
    padding: 3vw 5vw;
    border-radius: 3vw;
    font-size: 4.5vw;
  }
  .bestsellery .cards .card a:hover {
    background-color: transparent;
    color: #70fa00;
    box-shadow: 0 0 0.8vw #70fa00;
  }
  .bestsellery .cards .card:hover {
    border-color: #70fa00;
    box-shadow: 0 0 3vw rgba(112, 250, 0, 0.45);
    transform: translateY(-1vw);
  }
}

/*# sourceMappingURL=bestseller.css.map */
