@media (min-width: 768px) {
  .collection-v24__carousel {
    margin-top: -20rem;
  }
}

.collection-v24__title {
  position: relative;
  text-align: center;
  font-size: clamp(2.8rem, calc(1vw + 2.4rem), 3.6rem);
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .collection-v24__title {
    margin-bottom: 5rem;
  }
}

.collection-v24__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.2rem;
  background: rgba(var(--color-accent));
}

.collection-v24__item-label {
  display: block;
  cursor: pointer;
  padding: 2rem 1.5rem 0.5rem;
  text-align: center;
}

.collection-v24__item-label:hover .collection-v24__item-title {
  color: rgba(var(--color-accent));
}

.collection-v24__item-title {
  margin: 0;
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 2.8rem);
  transition: 0.3s;
}

.collection-v24__item-description {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  color: rgba(var(--color-foreground));
}

.collection-v24__pagination {
  padding-top: 3rem;
  text-align: center;
}