.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;
}

@media (max-width: 959px) {
  .collection-hero .collection-hero__description {
    margin-top: 10px;
  }
}

/* .collection-hero:not(.has-collection-image) .collection-hero__title {
  margin-top: 40px;
}

@media (max-width: 959px) {
  .collection-hero:not(.has-collection-image) .collection-hero__title {
    margin-top: 20px;
  }
} */

.collection-hero__title {
  font-weight: 700;
  color: #dc0714;
  font-size: 2.6rem;
  line-height: 3.6rem;
  text-transform: uppercase;
}

@media (max-width: 959px) {
  .collection-hero__title {
    font-size: 1.6rem;
    line-height: 2.6rem;
  }
}

.category-page-title-wrapper {
  border-bottom: 1px solid rgba(157, 161, 162, .2);
  padding: 0 0 15px !important;
  margin: 20px 0 !important;
  max-width: unset;
  text-align: center;
}

.category-breadcrumb a {
  font-size: 1.2rem;
  color: #a3a3a3;
  margin: 0;
  padding: 0;
  list-style: none none;
  text-transform: capitalize;
}

/* 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 */