.collections {
  padding-top: var(--space-9);
}

.collections__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.collections__header h2 { margin-bottom: 0; }

.collections__scroller {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  padding-bottom: var(--space-4);
  scroll-snap-type: x proximity;
}

.collections__scroller::-webkit-scrollbar { height: 8px; }

.collection-tile {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
}

.collection-tile__image {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-forest-900);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.collection-tile:hover .collection-tile__image {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.collection-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-tile__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-md);
  text-transform: uppercase;
  color: var(--color-forest-900);
}

.collection-tile__label svg { transition: transform var(--transition-fast); }
.collection-tile:hover .collection-tile__label svg { transform: translateX(4px); }

@media (max-width: 560px) {
  .collection-tile { width: 160px; }
}
