.elementor-11852 .elementor-element.elementor-element-9a52e27{--display:flex;--margin-top:178px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}#elementor-popup-modal-11852{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-11852 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-11852 .dialog-close-button{display:flex;}#elementor-popup-modal-11852 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}@media(min-width:768px){.elementor-11852 .elementor-element.elementor-element-9a52e27{--content-width:720px;}}/* Start custom CSS for container, class: .elementor-element-9a52e27 *//* Размер внешнего окна */
#elementor-popup-modal-11852 .dialog-widget-content {
    width: 720px !important;
    max-width: calc(100vw - 24px) !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Убираем лишние отступы */
#elementor-popup-modal-11852 .dialog-message {
    width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
}

#elementor-popup-modal-11852 .elementor-11852,
#elementor-popup-modal-11852 .e-con,
#elementor-popup-modal-11852 .e-con-inner,
#elementor-popup-modal-11852 .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Встроенная форма */
#elementor-popup-modal-11852 iframe {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 760px !important;
    margin: 0 !important;
    border: 0 !important;
}

/* Светло-серая кнопка с чёрным крестиком */
#elementor-popup-modal-11852 .dialog-close-button {
    display: flex !important;
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 99999 !important;

    width: 42px !important;
    height: 42px !important;
    align-items: center;
    justify-content: center;

    color: #000 !important;
    background: #e6e6e6 !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    cursor: pointer !important;
}

#elementor-popup-modal-11852 .dialog-close-button svg {
    width: 18px !important;
    height: 18px !important;
    fill: #000 !important;
}

/* Телефоны */
@media (max-width: 767px) {
    #elementor-popup-modal-11852 .dialog-widget-content {
        width: calc(100vw - 20px) !important;
    }

    #elementor-popup-modal-11852 iframe {
        height: 720px !important;
    }

    #elementor-popup-modal-11852 .dialog-close-button {
        top: 10px !important;
        right: 10px !important;
        width: 38px !important;
        height: 38px !important;
    }
}

/* Поп-ап должен находиться поверх шапки сайта */
#elementor-popup-modal-11852 {
    z-index: 999999 !important;
    align-items: flex-start !important;
    padding: 24px 0 !important;
    overflow-y: auto !important;
}

/* Небольшой отступ формы сверху */
#elementor-popup-modal-11852 .dialog-widget-content {
    position: relative !important;
    margin: 0 auto 24px !important;
}

/* На телефоне оставляем меньший отступ */
@media (max-width: 767px) {
    #elementor-popup-modal-11852 {
        padding: 10px 0 !important;
    }

    #elementor-popup-modal-11852 .dialog-widget-content {
        margin-bottom: 10px !important;
    }
}/* End custom CSS */