.elementor-659 .elementor-element.elementor-element-72594db6{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-659 .elementor-element.elementor-element-747abcf1{width:100%;max-width:100%;}#elementor-popup-modal-659 .dialog-widget-content{background-color:#00000000;}#elementor-popup-modal-659{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-659 .dialog-message{width:800px;height:auto;}#elementor-popup-modal-659 .dialog-close-button{display:flex;background-color:#080E13D1;}#elementor-popup-modal-659 .dialog-close-button i{color:var( --e-global-color-secondary );}#elementor-popup-modal-659 .dialog-close-button svg{fill:var( --e-global-color-secondary );}@media(min-width:768px){.elementor-659 .elementor-element.elementor-element-72594db6{--width:100%;}}/* Start custom CSS for container, class: .elementor-element-72594db6 *//* Центрирование самого попапа */
#elementor-popup-modal-659 .dialog-widget-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

/* Фикс размера иконки закрытия */
#elementor-popup-modal-659 .dialog-close-button {
    font-size: 20px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#elementor-popup-modal-659 .dialog-close-button svg {
    width: 20px !important;
    height: 20px !important;
}

/* Контейнер попапа */
.elementor-659 .elementor-element-72594db6 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 400px;
}

/* Виджет HTML - не ограничиваем ширину */
.elementor-element-747abcf1 {
    width: auto !important;
    margin: 0 auto;
}

.elementor-element-747abcf1 .elementor-widget-container {
    display: flex;
    justify-content: center;
}

/* Iframe формы amoCRM - сохраняем оригинальную ширину */
#amoforms_iframe_1651182 {
    display: block !important;
    margin: 0 auto !important;
    width: 600px !important;
    max-width: none !important;
    min-width: 600px;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    #amoforms_iframe_1651182 {
        width: 100% !important;
        min-width: auto;
        max-width: 600px !important;
    }
}/* End custom CSS */