.et-hero-product-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  .et-align-vertical-top & {
    justify-content: flex-start;
  }

  .et-align-vertical-center & {
    justify-content: center;
  }

  .et-align-vertical-bottom & {
    justify-content: flex-end;
  }

  .et-align-horizontal-left & {
    align-items: flex-start;
  }

  .et-align-horizontal-center & {
    align-items: center;
  }

  .et-align-horizontal-right & {
    align-items: flex-end;
  }
}

.et-hero-product-text,
.et-hero-product-text-read-more {
  margin-bottom: 20px;
}

.et-hero-product-image {
  display: flex;
  justify-content: center;
  .et-image-align-horizontal-left & {
    justify-content: flex-start;
  }
  .et-image-align-horizontal-center & {
    justify-content: center;
  }
  .et-image-align-horizontal-right & {
    justify-content: flex-end;
  }
  align-self: center;
  .et-image-align-vertical-top & {
    align-self: flex-start;
  }
  .et-image-align-vertical-center & {
    align-self: center;
  }
  .et-image-align-vertical-bottom & {
    align-self: flex-end;
  }
}

.et-hero-product-price {
  .price_wrapper {
    & > * {
      margin-bottom: 0;
    }
  }
  margin-bottom: 10px;
}

// Layout variations
.et-layout-textImage,
.et-layout-imageText {
  .et-hero-product-content {
    order: 2;
  }
  .et-hero-product-image {
    order: 1;
    @include media-breakpoint-only(xs) {
      margin-bottom: 10px;
    }
  }
}
@include media-breakpoint-up(sm) {
  .et-layout-textImage {
    .et-hero-product-content {
      order: 1;
    }
    .et-hero-product-image {
      order: 2
    }
  }

  .et-layout-imageText {
    .et-hero-product-content {
      order: 2;
    }
    .et-hero-product-image {
      order: 1
    }
  }
}