/* کانتینر اصلی دسته‌بندی‌ها (اسکرول افقی / اسلایدر) */

.categories-container {

  display: flex;
  flex-direction: row;
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px 16px 6px;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
  font-family:popm;

  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */

  /* اگر خواستی احساس اسلاید اسنپی بدهد: */
  /* scroll-snap-type: x mandatory; */
}

.categories-container::-webkit-scrollbar {
  display: none;
}

/* دکمه‌های کتگوری */
.category-item {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: popm, "Poppins";
  font-size: 13px;
  font-weight: 600;

  background-color: #f3f6f4;
  color: #5c655f;
  border: none;

  flex-shrink: 0;
  transition: all 0.2s ease-in-out;

  /* اگر scroll-snap فعال کردی، این را هم باز کن: */
  /* scroll-snap-align: start; */
}

.category-item.active {
  background-color: #00643c;
  color: #ffffff;
  box-shadow: 0 4px 10px -4px rgba(0, 100, 60, 0.45);
}

.category-item:hover {
  background-color: #e7ebe8;
}

.category-item.active:hover {
  background-color: #00643c;
}
