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

.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: calc(4rem + var(--page-width-margin)) 0 calc(4rem + var(--page-width-margin));
    padding-top: 0;
    overflow: hidden;
  }

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

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

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

  .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: 30px;
  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-bottom: 2rem;
  }

  .collection-hero__description {
    max-width: 1028px;
    width: 100%;
  }

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

.collection-hero--with-image .collection-hero__title {
  margin: 0;
}

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

.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 (max-width: 749px) {
  .collection-hero__image-container {
    height: 20rem;
  }
}

@media screen and (min-width: 750px) {
  .collection-hero--with-image .collection-hero__text-wrapper {
    padding: 4rem 2rem 4rem 0;
    flex-basis: 50%;
  }

  .collection-hero__image-container {
    align-self: stretch;
    flex: 1 0 50%;
    margin-left: 3rem;
    min-height: 20rem;
  }
}

/* ================================================================================================================== */

h1.collection-hero__title {
  margin: 0 0 0 0;
  font-size: 55px;
  line-height: 65px;
  color: var(--color-medium-blue);

  @media screen and (min-width: 750px) {
    font-size: 65px;
    line-height: 75px;
  }
}

.collection-hero__text-wrapper {
  margin-top: 10px;

  .section-eyebrow {
    color: var(--color-bixpy-blue);
  }
}

.collection-hero.ymm {
  .collection-hero__inner {
    display: block;
  }

  .ymm-container {
    display: block;
    margin-top: 55px;
    margin-bottom: 100px;


    .section-eyebrow {
      color: var(--color-medium-blue);
      margin-bottom: 0;
    }

    .easysearch-main-holder {
      padding: 0;
      max-width: 100%;
    }

    .easysearch-container {
      .easysearch-holder {
        column-gap: 40px;
      }
      .easysearch-select-holder {
        width: 100%;
        flex-shrink: 1;

        @media screen and (min-width: 750px) {
          max-width: 440px;
        }

        &::before {
          bottom: 29px;
          right: 30px;

          @media screen and (min-width: 750px) {
            bottom: 40px;
          }
        }

        select {
          height: 60px;
          font-size: 22px;
          line-height: 38px;
          color: var(--color-dark-blue);
          font-weight: 300;
          padding-left: 30px;
          padding-right: 50px;
          background-color: white;

          @media screen and (min-width: 750px) {
            height: 88px;
            font-size: 30px;
          }

          option {
            font-size: 14px;
          }
        }

        label {
          font-size: 12px;
          line-height: 14px;
          letter-spacing: 20%;
          color: var(--color-dark-blue);
        }
      }

      .easysearch-actions-holder .easysearch-btn-holder {
        margin-bottom: 27px;

        .easysearch-btn-search {
          background-color: var(--color-medium-blue);
          color: white;

          &[disabled] {
            opacity: .2;
          }
        }
      }
    }

    .ymm-helper-link {
      font-size: 16px;
      line-height: 20px;
      text-transform: uppercase;
      letter-spacing: 15%;
      font-weight: 700;
      color: var(--color-dark-blue);

      &:hover {
        text-decoration: none;
      }
    }
  }
}
