/* Add custom CSS styles below */ 
.categories-section {
  padding: 15px 20px 1px 20px;
  text-align: center;
  direction: rtl;
  font-family: inherit;
  overflow: visible;
}

.categories-section h2 {
  display: none;
}

.categories-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  overflow: visible;
  padding: 10px 5px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 150px;
  text-decoration: none;
}

.category-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
  padding: 10px;
  transition: transform 0.3s, border-color 0.3s;
}

.category-item:hover img {
  transform: translateY(-6px) scale(1.05);
  border-color: #d62a1e;
}

.category-item span {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  transition: color 0.3s;
}

.category-item:hover span {
  color: #d62a1e;
}

@media (max-width: 600px) {
  .categories-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    gap: 0px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }


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

  .category-item {
    min-width: 70px;
    flex-shrink: 0;
    gap: 6px;
  }

  .category-item img {
    width: 65px;
    height: 65px;
    padding: 6px;
  }

  .category-item span {
    font-size: 11px;
  }
}