/* ============================================
   COLLECTION CAROUSEL - Template 34
   Generic carousel styling for artwork collections
   Deployed to: /static/css/carousel.css
   ============================================ */

.collection-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.collection-carousel::-webkit-scrollbar {
  height: 8px;
}

.collection-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.collection-carousel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.collection-carousel .carousel-track {
  display: flex;
  gap: 16px;
  padding: 8px 0 16px 0;
}

.collection-carousel .carousel-item {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 200px;
}

.collection-carousel .carousel-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.collection-carousel .carousel-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.collection-carousel .carousel-item img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.collection-carousel .carousel-title {
  margin: 8px 0 0 0;
  font-size: 13px;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collection-carousel.carousel-empty {
  padding: 40px;
  text-align: center;
  color: #888;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .collection-carousel .carousel-item {
    flex: 0 0 calc(50% - 8px);
    min-width: 150px;
  }
}