.modal {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background-color: rgba(72, 41, 115, 0.40);
    opacity: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    visibility: hidden;
    -webkit-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    transition: all ease 0.2s;
    backdrop-filter: blur(2px);
}
.modal:hover {
    -webkit-transition: all ease 0.2s;
    -o-transition: all ease 0.2s;
    transition: all ease 0.2s;
}
.modal.visible {
    visibility: visible;
    pointer-events: auto;
    z-index: 1060;
    opacity: 1;
}
.modal-dialog {
    position: relative;
    width: 360px;
    max-width: calc(100% - 40px);
    height: auto;
    max-height: calc(100% - 40px);
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    overflow: auto;
}
.modal__example .modal-dialog,
.modal__cards .modal-dialog {
    width: 1200px;
}
.modal__cards .modal-dialog {
    background: #E8E8F8;
    height: fit-content;
    max-height: none;
}
.modal__cards .modal__title {
    color: #000;
    margin-bottom: 10px;
}
.modal__cards p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 150%;
}
.modal__cards a {
    text-decoration: underline;
    color: #482973;
}
.modal__cards a:hover {
    text-decoration: #60329F;
}
.modal-content {
    width: 100%;
}
.modal__close {
    position: absolute;
    top: 12px;
    right: 20px;
    z-index: 5;
    padding: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;
    border: none;
}
.modal__close-icon {
    width: 100%;
    height: 100%;
    color: #482973;
}
.modal__close-icon:hover {
    color: #60329F;
}
.modal__close-icon:active,
.modal__close-icon:focus {
    color: #34185A;
}
.modal__title {
    color: #482973;
    font-size: 20px;
    font-weight: 700;
    line-height: 115%;
    margin-bottom: 20px;
    padding-right: 20px;
}
.modal__caption {
    font-size: 16px;
    line-height: 150%;
    font-family: "roboto-400";
}
.modal__caption p {
    margin-bottom: 20px;
}

.modal .form__col-left-final {
    height: 100%;
    display: flex;
    align-items: center;
}

.modal__cards .food__catalog-item-text .show-info-btn {
    display: none;
}

@media (min-width: 1200px) {
    .modal-dialog {
        max-width: calc(100% - 120px);
        max-height: calc(100% - 120px);
    }

    .modal__example .modal-dialog,
    .modal__cards .modal-dialog {
        padding: 30px;
    }

    .modal__cards .modal__title {
        font-size: 36px;
        line-height: 120%;
    }

    .modal__title--mb {
        display: block;
        margin-bottom: 45px;
    }
}