.xcodee-categories-slider-wrapper {
  overflow: hidden;
}

.xcodee-categories-slider {
  width: 100%;
  padding: 20px 0;
  border-radius: 100px;
}

.xcodee-category-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.xcodee-category-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  flex-direction: column;
  gap: 15px;
  color: inherit;
  width: 100%;
  transition: all 0.3s ease;
}

.xcodee-category-link:hover {
  transform: scale(1.1);
  text-decoration: none;
}

/* Circular border container */
.xcodee-category-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 3px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.xcodee-category-link:hover .xcodee-category-image {
  border-color: #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.xcodee-category-image img {
  max-width: 100%; /* Account for 15px padding on each side */
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.xcodee-category-link:hover .xcodee-category-image img {
  transform: scale(1.05);
}

/* If you want to show title below the circle */
.xcodee-category-content.show-title {
  display: block;
  text-align: center;
  padding: 15px 0 0 0;
}

.xcodee-category-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.xcodee-category-description,
.xcodee-category-count {
  display: none;
}

/* Navigation buttons - hidden for marquee effect */
.xcodee-categories-slider .swiper-button-next,
.xcodee-categories-slider .swiper-button-prev {
  display: none;
}

/* Pagination - hidden for marquee effect */
.xcodee-categories-slider .swiper-pagination {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .xcodee-category-image {
    width: 120px;
    height: 120px;
    padding: 15px;
  }

  .xcodee-category-title {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .xcodee-category-image {
    width: 100px;
    height: 100px;
    padding: 12px;
  }
}
