.collection-v1__box {
  position: relative;
  height: 100%;
  overflow: unset;
}
.collection-v1__box .xo-image {
  height: 100%;
}
.collection-v1__box .xo-image img {
  height: 100%;
}

.collection-v1__box::before {
  content: "";
  position: absolute;
  z-index: 2;
  border: 0.2rem solid #fff;
  bottom: 2rem;
  top: 2rem;
}
[dir=ltr] .collection-v1__box::before {
  left: 2rem;
  right: 2rem;
}
[dir=rtl] .collection-v1__box::before {
  right: 2rem;
  left: 2rem;
}
.collection-v1__box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}
.collection-v1__box:hover::after {
  opacity: 1;
  visibility: visible;
}

.collection-v1__box img {
  transition: 0.5s ease-in-out all;
}

.collection-v1__button {
  text-align: center;
  position: absolute;
  z-index: 3;
  font-size: clamp(2rem, calc(1.5vw + 1.4rem), 3.2rem);
  top: 50%;
  width: 80%;
}
[dir=ltr] .collection-v1__button {
  left: 50%;
  transform: translate(-50%, -50%);
}
[dir=rtl] .collection-v1__button {
  right: 50%;
  transform: translate(50%, -50%);
}

.collection-v1__link {
  color: white;
}

.collection-v1-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, calc(1.5vw + 1.8rem), 3.6rem);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
}

.collection-v1__box {
  margin-top: 3rem;
}

.collection-v1__bullet {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-foreground));
  transition: 0.3s;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .collection-v1__bullet {
    width: 0.8rem;
    height: 0.8rem;
  }
}

xo-carousel-bullet[xo-active] .collection-v1__bullet {
  background-color: rgba(var(--color-foreground));
}

.collection-v1__pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
}