.elementor-1139 .elementor-element.elementor-element-ee25924 .elementor-wrapper{--video-aspect-ratio:0.5625;}#elementor-popup-modal-1139{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-1139 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-1139 .dialog-close-button{display:flex;}#elementor-popup-modal-1139 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}/* Start custom CSS for video, class: .elementor-element-ee25924 *//* ===== POPUP VIDEO REVIEW ===== */

/* Само окно попапа */
.elementor-popup-modal .dialog-widget-content {
  width: auto !important;
  max-width: 520px !important;
  padding: 26px !important;
  border-radius: 24px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* Внутренняя область попапа */
.elementor-popup-modal .dialog-message {
  width: auto !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* Убираем лишнюю ширину у секций/контейнеров внутри попапа */
.elementor-popup-modal .dialog-message .elementor-section,
.elementor-popup-modal .dialog-message .elementor-container,
.elementor-popup-modal .dialog-message .elementor-column,
.elementor-popup-modal .dialog-message .elementor-widget-wrap {
  width: auto !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}

/* Виджет видео */
.review-video {
  width: 420px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* Контейнер видео */
.review-video .elementor-widget-container {
  width: 100% !important;
  margin: 0 auto !important;
}

/* Само видео */
.review-video video,
.review-video iframe {
  width: 100% !important;
  max-width: 420px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 18px !important;
  box-shadow:
    0 12px 35px rgba(0,0,0,.12),
    0 3px 10px rgba(0,0,0,.06);
}

/* Кнопка закрытия */
.elementor-popup-modal .dialog-close-button {
  top: 16px !important;
  right: 18px !important;
  z-index: 20 !important;
}

/* Мобильная версия */
@media (max-width: 767px) {
  .elementor-popup-modal .dialog-widget-content {
    max-width: 94vw !important;
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .review-video {
    width: 100% !important;
    max-width: 360px !important;
  }

  .review-video video,
  .review-video iframe {
    max-width: 360px !important;
    border-radius: 14px !important;
  }
}/* End custom CSS */