.image-with-text-section .page-width{position: relative;}
.image-with-text__group {  width: 41%;
    padding:40px 40px 130px;
    font-size: 20px;
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    left: 0;}
.image-with-text-section {
  word-break: break-word;
  background-color: rgb(var(--color-background));
}
.image-with-text__heading{font-weight: 500;}
.image-with-text__rich-text{line-height: 1.6;text-shadow: 0px 0px 0px #000000;max-width: 500px; margin: auto;}
.button:not([disabled], .button--icon)::after{display: none;}
.image-with-text__image {
  position: relative;
  display: flex;
}
.image-with-text__image > img {
  max-width: 100%;
  height: auto;
  aspect-ratio: var(--aspect-ratio);
  object-fit: cover;
}
.image-with-text__image .hover-scale__image {
  width: 100%;
} 
.image-with-text-section .hover-scale:hover .hover-scale__image {
    transform: scale(1);
}
.image-with-text__image .empty-image-class {
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgb(var(--color-image-background));
}
.image-with-text__subheading {
  font-size: var(--body3-font-size);
  text-transform: uppercase;
  letter-spacing: 0.3em;
}
.image-with-text__button {
  max-width: 100%;
}
.button:not([disabled], .button--icon):hover,
.shopline-element-buy-now:hover{
    background: #000;
}
.image-with-text__button .button {
  word-break: break-all;
  white-space: normal;background: #000;
    color: #fff;
}
@media(max-width:1300px){
    .image-with-text__heading {
        font-weight: 500;
        font-size: 30px;
    }
    .image-with-text__group{
        font-size: 15px;
    }
}
@media(max-width:768px){
    .image-with-text-section .page-width {
        position: relative;
        margin: 0;
        padding: 40px 0 30px;
    }
    .image-with-text__group{
        font-size: 12px;
        position: absolute;
        z-index: 1;
        transform: translateY(-50%);
        text-align: center;
        left: 0;
        max-width: 100%;
        width: 100%;
        top: 70%;
        padding: 0 30px;
    }
    .image-with-text__button .button {
        font-size: 12px;
        padding: 7px 20px;
        line-height: 1;
    }
    .image-with-text__rich-text{
        line-height: 1.4;
            width: 100%;
    }
}