.collection-hero {
  position: relative;
  flex-direction: column;
}
.collection-hero .collection-hero__image-wrapper {
  position: relative;
  display: flex;
}
.collection-hero .collection-hero__inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.collection-hero .collection-hero__text-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  --color-text: 255, 255, 255;
  color: rgb(var(--color-text));
}
.collection-hero .collection-hero__image {
  width: 100%;
  height: 470px;
  object-fit: cover;
}
.collection-hero .collection-hero__description {
  margin-top: 20px;
  max-width: 816px;
}
@media (max-width: 959px) {
  .collection-hero .collection-hero__description {
    margin-top: 10px;
  }
}

.collection-hero__title {
  line-height: 30px;
}

.collection-hero__title .font-family-title {
  font-size: 42px;
  font-style: italic;
  letter-spacing: -2px;
  display: inline-block;
  margin-right: 10px;
}

.collection-hero__title .collection-product-count {
  font-size: 14px;
  color: #C09955;
  letter-spacing: 0;
}
/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */
