.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 1000;
    overflow-y: auto;
  }
  
  
  /* Общие стили для попапов */
  .popup {
    display: none;
    position: fixed; 
    z-index: 1001;
    background: #EEEFFF;
    padding: 70px 73.5px;
    border-radius: 20px;
    max-width: 720px;
    width: 90%;
  }
  
  /* Центрирование попапа */
  .popup-center { 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Попап у верхней части экрана */
  .popup-top {
    top: 0;
    width: 100%;
    max-width: 100%;
    padding: 97px 20px 48px 0;
    border-radius: 0;
    background-color: #F6F6FF;
    box-shadow: 0px 4px 21px 0px #00000026;
  }
   
 .popup-top .popup-content.mob-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  
  ul#mob-menu {
    padding-inline-start: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-end;
    margin: 0 0 40px 0;
}
    ul#mob-menu li {
      font-weight: 500;
      font-size: 24px;
      line-height: 100%;
      color: #1B0916;
    }
    ul#mob-menu li.current-menu-item {
      color: #E345A2;
    }
  .popup-top .popup-content.mob-content .social {
    display: flex;
    gap: 24px;
    margin: 0 0 40px 0;
  }
  .popup-top .popup-content.mob-content .social a {
    height: 30px;
  }
  .popup-top .popup-content.mob-content .social a img {
    width: 30px;
  }
  .popup-top .popup-content.mob-content .contact_btn_header {
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    text-transform: uppercase;
    color: #fff;
    padding: 16px 47px;
    border-radius: 50px;
    background: linear-gradient(90deg, #EB479A 0%, #9432E7 100%);
}
  /* Кнопка закрытия */
  .close-popup {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 35px;
    right: 30px;
  } 
  .popup-content.thank {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .popup-content.thank h2 {
    font-weight: 700;
    font-size: 30px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--Heading2);
    margin: 30px 0 14px;
  }
 .popup-content.thank p {
    font-weight: 400;
    font-size: 24px;
    line-height: 160%;
    text-align: center;
 }

 @media (max-width: 901px) {
    .popup.popup-center {
      width: calc(100% - 32px);
      padding: 30px 20px;
      border-radius: 10px;
    }
    .close-popup {
      top: 14px;
      right: 14px;
    }
    .popup-content.thank svg {
      width: 50px;
      height: 50px;
    }
    .popup-content.thank h2 {
      font-size: 24px;
    }
    .popup-content.thank p {
      font-size: 16px;
    }
    
 }
 .popup-top .close-popup {
    top: 17px;
    right: 16px;
  }