/* Carousel Container */
.collections-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  gap: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  white-space: nowrap;
  margin: 10px 0;
  border:1px solid #ccc;'
  justify-content:center;
}

/* Collection Item */
.collection-item {
  flex: 0 0 auto;
  text-align: center;
  max-width: 150px;
}

/* Image Styling */
.collection-item img {
  width: 100px;
  height: 100px;  
  object-fit: cover;
  margin: 0 auto;
  border: 2px solid #ddd;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-item img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Text Styling */
.collection-item p {
  font-size: 14px;
  margin: 10px 0 5px;
  color: #333;
  font-weight: 300;
    text-overflow: initial;
    white-space: pre-wrap;
  overflow: hidden;
    justify-content: center;
}

.collection-item a {
  text-decoration: none;
  color: #007aff;
  font-size: 12px;
  font-weight: 500;
}

.collection-item a:hover {
  text-decoration: underline;
}

/* Scrollbar Styling */
.collections-grid::-webkit-scrollbar {
  height: 8px;
}

.collections-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.collections-grid::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.t4s-container-carousel .flickityt4s-viewport{
      overflow: visible;
}