.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    overflow-y: auto;
  }
  
  
  /* Общие стили для попапов */
  .popup {
    display: none;
    position: fixed; 
    z-index: 1001;
    background: #fff;
    padding: clamp(1rem, 0.9207rem + 0.3252vw, 1.25rem);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
  }
  
  /* Центрирование попапа */
  .popup-center { 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Попап у верхней части экрана */
  .popup-top {
    top: 0;
    width: 100%;
    padding: 11px 30px 30px;
  }
  .top-popup-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #3EBC08;
  }
  .top-popup-content span:first-child {
    font-weight: 900;
    font-size: 30px;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--Blue);
  }
  span.close-popup {
    height: 19px;
  }
  ul#mob-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-inline-start: 0;
    margin: 50px 0 40px;
  }
  ul#mob-menu li {
    box-shadow: 1.32px 1.32px 5.3px 0px #208B4F1A,
      5.3px 7.95px 9.27px 0px #208B4F17,
      10.6px 17.22px 11.92px 0px #208B4F0D,
      19.87px 30.46px 14.57px 0px #208B4F03,
      30.46px 47.68px 15.89px 0px #208B4F00;
    background: var(--Light);
    border-radius: 10px;
    padding: 17.5px 27px;
    font-weight: 700;
    font-size: 26px;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--Blue);
  }
   ul#mob-menu li a {
    width: 100%;
    display: block;
   }
 .popup-content.mob-content a.btn_gradient {
      display: block;
      font-size: 26px;
      padding: 15.5px 20px;
      margin: 0 0 50px;
 }
 .popup-content.mob-content a.custom-logo-link {
    display: block;
 }

div#thankyouPopup {
	padding: 60px;
    max-width: 600px;
}
.popup-content.thank h2 {
	text-align: center;
	font-weight: 700;
	font-size: 30px;
	line-height: 120%;
	margin: 0 0 20px;
}
.popup-content.thank p {
	margin: 0;
	text-align: center;
}
  /* Кнопка закрытия */
  .close-popup {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
  } 

@media(max-width: 1100px) {
	.popup-content.thank h2 {
		font-size: 24px;
	}
	div#thankyouPopup {
		padding: 30px;
	}
}