.categories {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 30px 0 20px;
  flex-wrap: wrap;
}

.category {
  font-size: 16px;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 5px;
  background: #f81775 ;
  color: #FFF;
  cursor: pointer;
  border: 2px solid #f81775;
  min-width: 120px;
  text-align: center;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.category.active,
.category:active {
  color: #f81775;
  background: #fff;
  border: 2px solid #000;
}

@keyframes categoryClick {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.category-clicked {
  animation: categoryClick 0.15s ease;
}
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInLeft 0.3s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 0.3s ease-out forwards;
}

