body.ut-popup-lock {
    overflow: hidden;
}

.ut-popup {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 400px;
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 24px;
    background: #fff;
    color: #292525;
    font-family: Manrope, sans-serif;
}

.ut-popup:not([open]) {
    display: none;
}

.ut-popup::backdrop {
    background: rgb(0 0 0 / 50%);
}

.ut-popup .ut-popup__close {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 90%);
    box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
    color: #292525;
    font: 26px/1 Arial, sans-serif;
    cursor: pointer;
}

.ut-popup .ut-popup__image {
    display: block;
    width: 100%;
    height: auto;
}

.ut-popup__body {
    padding: 28px 32px 36px;
}

.ut-popup .ut-popup__title {
    margin: 0 0 24px;
    color: #292525;
    font: 700 28px/1.2 Manrope, sans-serif;
    letter-spacing: -0.6px;
}

.ut-popup[data-popup="3"] .ut-popup__title {
    font-size: 24px;
}

.ut-popup__title span {
    color: #f43b59;
}

.ut-popup .ut-popup__text {
    margin: -12px 0 24px;
    font-size: 14px;
    line-height: 1.5;
}

.ut-popup .wpcf7-form {
    position: relative;
    display: grid;
    gap: 12px;
    margin: 0;
}

.ut-popup .form-item,
.ut-popup .wpcf7-form-control-wrap {
    display: block;
    margin: 0;
}

.ut-popup .iti {
    width: 100%;
}

.ut-popup input:is([type="text"], [type="email"], [type="tel"]) {
    box-sizing: border-box;
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #e4e4eb;
    border-radius: 12px;
    background: #f6f6f9;
    color: #292525;
    font: inherit;
    font-size: 16px;
}

.ut-popup input::placeholder {
    color: #65809e;
    opacity: 1;
}

.ut-popup .wpcf7-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 12px;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: #f43b59;
    color: #fff;
    font: 600 16px/1.4 Manrope, sans-serif;
    cursor: pointer;
}

.ut-popup .wpcf7-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.ut-popup .wpcf7-not-valid-tip {
    position: static;
    margin-top: 4px;
}

.ut-popup .wpcf7-spinner {
    position: absolute;
    right: 12px;
    bottom: 15px;
    margin: 0;
}

.ut-popup :focus-visible {
    outline: 2px solid #f43b59;
    outline-offset: 3px;
}

@media (max-width: 430px) {
    .ut-popup__body {
        padding: 24px;
    }

    .ut-popup .ut-popup__title {
        font-size: 24px;
    }
}


.ut-popup {
    opacity: 0;
    transform: translateY(16px) scale(0.98);

    transition:
        opacity 220ms ease,
        transform 220ms ease,
        display 220ms allow-discrete,
        overlay 220ms allow-discrete;
}

.ut-popup[open] {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ut-popup::backdrop {
    background-color: rgb(0 0 0 / 0%);

    transition:
        background-color 220ms ease,
        display 220ms allow-discrete,
        overlay 220ms allow-discrete;
}

.ut-popup[open]::backdrop {
    background-color: rgb(0 0 0 / 50%);
}

@starting-style {
    .ut-popup[open] {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    .ut-popup[open]::backdrop {
        background-color: rgb(0 0 0 / 0%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ut-popup,
    .ut-popup::backdrop {
        transition: none;
    }
}