.guarantee-block {}

.guarantee-block .guarantee-block__wrapper {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.guarantee-block .wrapper__right-side {
    padding: 40px 50px;
    background: var(--bg-primary-fourth);
    border-radius: 5px;
    flex-direction: column;
    gap: 40px;
    max-width: 750px;
    min-height: 400px;
    height: auto;
}

.guarantee-block .guarantee__description {
    color: var(--text-primary-main);
    display: flex;
    flex-direction: column;
    gap: 15px;
	margin-bottom: 40px;
}

.guarantee-block .guarantee__description * {
    color: var(--text-primary-main);
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.guarantee-block .wrapper__left-side {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 750px;
    gap: 30px;
    flex-shrink: 0;
}

.guarantee-block .advantage__item {
    width: 360px;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.guarantee-block .item__image {
    width: 100%;
    height: 100%;

}

.guarantee-block .item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guarantee-block .item__titles-block {
    width: 340px;
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    gap: 45px;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary-fourth);
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.guarantee-block .advant__title {
    color: var(--hover-main);
}

.guarantee-block .advant__subtitle {
    color: var(--text-primary-main);
}

@media (max-width: 1375px) {

    .guarantee-block .advantage__item {
        width: 275px;
    }

    .guarantee-block .item__titles-block {
        width: 255px;

        flex-direction: column;
        gap: 5px;
        justify-content: space-between;
        align-items: flex-start;

    }
}

@media (max-width: 1130px) {

    .guarantee-block .guarantee-block__wrapper {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .guarantee-block .wrapper__right-side {
        max-width: 100%;
        padding: 30px;
        height: auto;
        min-height: unset;
    }

    .guarantee-block .wrapper__left-side {
        max-width: 100%;
        gap: 20px;
    }

    .guarantee-block .advantage__item {
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 610px) {

    .guarantee-block .wrapper__left-side {
        flex-direction: column;
    }

    .guarantee-block .advantage__item {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 430px) {
.guarantee-block .item__titles-block{
    width: calc(100% - 20px);
}
}