/* Page Title (centered) */
.page-title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* Collections Component */
.collections {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

/* Single Collection Block */
.collection {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Collection Label */
.collection__label {
  width: 100%;
  cursor: pointer;
  margin-bottom: 0;
  text-align: center;
  max-width: var(--max-text-width);
}

.collection__title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height);
}

.collection__subtitle {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height);
}

/* Collection Images Container (Horizontal Scroll) */
.collection__images {
  width: 100%;
  height: var(--collection-height-web);
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  flex-direction: row;
  gap: var(--spacing-xs);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.collection__images::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

/* Collection Image Links */
.collection__images a {
  height: 100%;
  flex-shrink: 0;
  display: block;
}

/* Collection Image */
.collection__image {
  height: 100%;
  width: auto;
  flex: 0 0 auto;
  object-fit: cover;
  display: block;
}

.collection__image:hover {
  opacity: 0.9;
}

/* Placeholder for images */
.collection__image-placeholder {
  height: 100%;
  width: 300px; /* Default width for placeholder */
  flex-shrink: 0;
  background-color: var(--color-placeholder);
}

/* Responsive */
@media (max-width: 640px) {
  .collection__images {
    height: var(--collection-height-mobile);
  }

  .collection__image-placeholder {
    width: 200px;
  }
}
