
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    z-index: 1000;
    overflow-y: auto;
  }
  
  /* Общие стили для попапов */
  .popup {
    display: none;
    position: fixed; 
    z-index: 1001;
    background: #4B4F54;
    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: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Кнопка закрытия */
  .popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
  } 
.close-popup svg {
  width: 20px;
  height: 20px;
}
  #thankyouPopup span.close-popup {
    display: flex
  ;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .popup-content.thank {
    display: flex
  ;
    flex-direction: column;
    align-items: center;
    row-gap: clamp(1.5rem, 0.9539rem + 2.3301vw, 3.75rem);
    text-align: center;
  }
.thank h2 {
    font-size: clamp(3.125rem, 2.3665rem + 3.2362vw, 6.25rem);
    line-height: 100%;
    color: var(--White);
}
  .popup-content svg path {
    fill: #4B4F54;
    stroke: var(--White);
  }
.thank p {
    font-size: clamp(1.563rem, 1.2596rem + 1.2945vw, 2.813rem);
    color: var(--White);
    line-height: 140%;
    margin: 0;
}
a.btn.pop-bnt {
    width: 100%;
    max-width: 740px;
    padding: clamp(1.25rem, 0.9466rem + 1.2945vw, 2.5rem);
    display: inline-flex
;
    color: var(--Black);
    justify-content: center;
    font-size: clamp(1rem, 0.4842rem + 2.2006vw, 3.125rem);
    font-weight: 700;
    line-height: 125%;
    background-color: #9ABB91;
}

span.close-popup {
  display: flex;
  position: absolute;
  right: clamp(1rem, 0.0291rem + 4.1424vw, 5rem);
  top: clamp(1rem, 0.9207rem + 0.3252vw, 1.25rem);
}
div#mob-menu {
    top: 0;
    width: 100%;
    background: var(--Black);
    height: 100%;
}
div#thankyouPopup {
    background-image: url('/wp-content/uploads/2025/07/gradient-dekstop.jpg');
    background-size: cover;
    padding: clamp(4.375rem, 4.0716rem + 1.2945vw, 5.625rem) clamp(1.25rem, -0.5704rem + 7.7670vw, 8.75rem) clamp(2.5rem, 1.7415rem + 3.2362vw, 5.625rem);
    max-width: max-content;
    width: 90%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #4B4F54;
}