.collection-hero__inner {
  display: flex;
  flex-direction: row;
}

.collection-hero--with-image .collection-hero__inner {
  margin-bottom: 0;
  padding-bottom: 2rem;
}

@media screen and (min-width: 750px) {
  .collection-hero.collection-hero--with-image {
       padding: 0;
    overflow: hidden;
  }

  .collection-hero--with-image .collection-hero__inner {
    padding: 0;
    padding: 0;
    display: block;
    position: relative;
}
}
  }
}

.collection-hero__text-wrapper {
  flex-basis: 100%;
}


  .collection-hero__inner {
    align-items: center;
    flex-direction: row;
    padding-bottom: 0;
  }
}

.collection-hero__title {
  margin: 2.5rem 0;
}

.collection-hero__title + .collection-hero__description {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  line-height: calc(1 + 0.5 / var(--font-body-scale));
}

@media screen and (min-width: 750px) {
  .collection-hero__title + .collection-hero__description {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .collection-hero__description {
    max-width: 66.67%;
  }

  .collection-hero--with-image .collection-hero__description {
    max-width: 100%;
  }
}

.collection-hero--with-image .collection-hero__title {
  margin: 0;
  display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: white;
  font-weight: 600;
}
}

.collection-hero--with-image .collection-hero__text-wrapper {
  padding: 5rem 0 4rem;
}

.collection-hero__image-container {
  border: var(--media-border-width) solid rgba(var(--color-foreground), var(--media-border-opacity));
  border-radius: var(--media-radius);
  box-shadow: var(--media-shadow-horizontal-offset)
    var(--media-shadow-vertical-offset)
    var(--media-shadow-blur-radius)
    rgba(var(--color-shadow), var(--media-shadow-opacity));
}


@media screen and (min-width: 750px) {
  .collection-hero--with-image .collection-hero__text-wrapper {
    padding: 4rem 2rem 4rem 0;
    flex-basis: 50%;
    width: 100%;
    padding: 4rem 2rem 4rem 0;
    position: absolute;
    z-index: 1;
    text-align: center;
    height: 100%;
    align-items: center;
    left: 0;
    right: 0;
}
  }

  .collection-hero__image-container {
    align-self: stretch;
    flex: 1 0 50%;
    min-height: 300px;
  }

@media screen and (max-width: 750px) {
  .collection-hero__image-container {
    min-height: 180px;
  }
  .collection-hero__inner{
    display: block;
    position: relative;
  }
  .collection-hero__text-wrapper{
    width: 100%;
    position: absolute;
    z-index: 2;
    text-align: center;
    height: calc(100% - 4px - 2rem);
    left: 0;
    right: 0;
  }
  .collection-hero__text-wrapper .collection-hero__title {
    font-size: 1.4em;
    text-transform: none;
    letter-spacing: 0;
}
 
}
 .collection-hero__text-wrapper{
    z-index: 2 !important;
 }
 .collection-hero__image-container:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #3d4246;
    opacity: .4;
    z-index: 1;
  }
@media screen and (min-width:750px){
.collection-hero{
      margin-bottom: 30px;
}
}