.max-width-theme.main-first{display: grid;grid-template-columns: 39% 61%;padding-right: 0;}

.main-first .left-side{padding: 56px 40px 0 0;display: flex;flex-direction: column;position: relative;/* box-sizing: border-box; */z-index: 1;}
.main-first .left-side .heading{margin-bottom:24px;margin-right: -90px;max-width: 600px;color: #fff;}
.main-first .left-side .text{margin-bottom:32px;}
.main-first .left-side .btns{margin-bottom:48px;display: flex; column-gap: 4px;}
.main-first .left-side .btns .resident-btn{color: #24318A;cursor: pointer;}
.main-first .right-side{background-color: var(--main-color);padding-top: 36px;}
.main-first .right-side .figura{position: relative;}
.main-first .right-side .svg-wrap{position: absolute;left: 0;right: 0;top:0;object-fit: cover;width: 100%;display: block;max-width: 100%;}
.main-first .right-side svg path{fill:var(--main-color);}
.main-first .right-side .image-wrap{display:flex;height: 100%;}
.main-first .right-side img{object-fit: cover;object-position: right bottom;}

.main-discount-inner{background-color: var(--main-color);color: #fff;display: flex;flex-direction: column;padding: 20px;border-radius: 14px;margin-bottom: var(--theme-margin);}
.main-discount-inner .first-text{background: var(--blue-color);max-width: fit-content;padding: 0 4px;font-size: 12px;line-height: 15px;border-radius: 3px;}
.main-discount-inner .second-text{text-align: center;max-width: 981px;font-size: 40px;margin: 47px auto 6px;}
.main-discount-inner .bottom-row{display: flex;justify-content: space-between;align-items: end;}
.main-discount-inner .third-text{max-width: 331px;font-size: 12px;line-height: 11px;}
.main-discount-inner .get-discount{color: #24318A;}
/* xl */
@media(max-width: 1399px) {
    .main-first .left-side .heading{font-size: 40px;}
}
@media(max-width: 1199px) {
    .main-first .left-side .heading{display:none;}
    .main-first .heading-md{display:block;grid-column: span 2;font-size: 36px;color: #fff;margin-top: 36px;line-height: 28px;z-index: 2;}
    .main-first .right-side{padding-top: 20px;}
    .max-width-theme.main-first{grid-template-columns: 44% 56%;}
    .slider-first{max-width:270px;}
    .slider-first #slider-first-nav{margin-bottom:4px}
    .main-first .left-side .btns{margin-bottom:32px;margin-right: -20px;}
    .main-first .left-side .text{margin-bottom:24px;margin-top: 20px;margin-right: -140px;}
    .main-first .left-side{padding-right:0;padding-top: 0;}
    .main-first .slider-first-item-inner{min-height: 111px;column-gap: 13px;}
    .main-first .slider-first-item-inner .big{}
    .main-first .slider-first-item-inner .big.wide{
        font-size: 53px;
        line-height: 37px;
        letter-spacing: -5px;
    }
    .main-first .slider-first-item-inner .small{
        font-size: 13px;
        line-height: 12.5px;
    }
    .main-discount-inner .second-text{max-width: 555px; font-size: 36px; line-height: 30px;margin-bottom: 54px;}

}
@media (max-width: 767px) {
    .max-width-theme.main-first{display: flex;flex-direction: column;padding-right: var(--theme-padding);}
    .main-first .heading-md{margin:24px 0 16px;font-size:26px; line-height:26px;text-align:center;}
    .main-first .left-side .text{text-align: center;font-size: 12px;max-width: 220px;margin: 0 auto;}
    .main-first .left-side .btns{margin:20px 0;justify-content: center;}
    .slider-first{margin: 0 auto}
    .main-first .right-side{margin: 0 -10px;}
    .main-discount-inner{}
    .main-discount-inner .first-text{margin:0 auto;}
    .main-discount-inner .second-text{margin-bottom:16px;font-size: 18px;line-height: 16px;}
    .main-discount-inner .bottom-row{flex-direction:column;align-items: center;text-align: center;}
    .main-discount-inner .get-discount{order:-1;margin-bottom: 48px;}
}
