@media (max-width: 767px) {
  .xo-container--fullwidth .collection-v47__block-list {
    padding-left: 2rem;
  }
}

.collection-v47 {
  position: relative;
  z-index: 12;
}

@media (max-width: 1199px) {
  xo-container:has(.collection-v47__block-list) {
    max-width: 96rem;
  }
}
@media (max-width: 991px) {
  xo-container:has(.collection-v47__block-list) {
    max-width: 72rem;
  }
}
@media (max-width: 767px) {
  xo-container:has(.collection-v47__block-list) {
    max-width: 54rem;
  }
}

.collection-v47__block-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 20rem 1.5rem 13rem;
  margin: 0;
}
@media (max-width: 991px) {
  .collection-v47__block-list {
    padding: 6rem 0;
    justify-content: center;
    flex-direction: column;
    align-items: unset;
    flex-wrap: nowrap;
  }
}

.collection-v47__block-item {
  padding-right: var(--item-gap, 4rem);
}
.collection-v47__block-item:last-child {
  padding-right: 0;
}
@media (max-width: 991px) {
  .collection-v47__block-item {
    padding: unset;
  }
}

.collection-v47__block {
  position: relative;
}

.collection-v47__block-content {
  position: relative;
  cursor: pointer;
  z-index: 2;
}
.collection-v47__block-content:hover ~ .collection-v47__block-img .xo-image {
  opacity: 1;
}
.collection-v47__block-content:hover .collection-v47__block-title ~ .collection-v47__block-product {
  opacity: 1;
}
.collection-v47__block-content:hover .collection-v47__block-title::before {
  transform: scaleX(1);
}

.collection-v47__block-title {
  -webkit-text-stroke: 1px rgb(var(--color-foreground));
  color: transparent;
  font-weight: 500;
  font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 5.5rem);
  line-height: calc(1 + 0.2 / var(--font-heading-scale));
  position: relative;
  margin-bottom: 8px;
  font-family: var(--font-custom-family);
  text-transform: capitalize;
}
.collection-v47__block-title::before {
  transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: left;
  height: 2px;
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  background: rgb(var(--color-foreground));
  transform: scaleX(0);
  margin-right: 0.15em;
  bottom: 0;
}
@media (max-width: 991px) {
  .collection-v47__block-title::before {
    display: none;
  }
}
@media (max-width: 767px) {
  .collection-v47__block-title {
    font-size: calc(var(--font-heading-scale) * var(--font-body-scale) * 4rem);
    line-height: calc(1 + 0.2 / var(--font-heading-scale));
  }
}

.collection-v47__block-product {
  display: block;
  opacity: 0;
  color: rgb(var(--color-foreground));
  text-align: center;
  text-transform: uppercase;
  transition: opacity 0.3s ease-in-out;
  font-size: calc(var(--font-body-scale) * 1.2rem);
  line-height: calc(1 + 0.2 / var(--font-body-scale));
}
@media (max-width: 991px) {
  .collection-v47__block-product {
    display: none;
  }
}

.collection-v47__block-img {
  position: absolute;
  top: -100%;
  transform: translateY(-10%);
  transition: all 0.3s ease-in-out;
}
.collection-v47__block-img .xo-image {
  transition: all 0.5s ease-in-out;
  opacity: 0;
  height: 40rem;
  width: 30rem;
}
@media (max-width: 991px) {
  .collection-v47__block-img {
    display: none;
  }
}