/* Оверлей */
.welcome-pt-overlay {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: rgba(0,0,0,.5);
    z-index: 8000;
    transition: all 0.3s;
}

/* Модальное окно с точным размером под картинку */
.welcome-pt-message {
    opacity: 0;
    visibility: hidden;
    width: 100%;
    max-width: 500px;

    /* Высота под вашу картинку */
    height: 254px;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 8001;
    border-radius: 6px;
    box-sizing: border-box;

    /* Убираем внутренние отступы — чтобы не резало */
    padding: 0;
    margin: 0;

    background: url('https://static.tildacdn.com/tild3139-6161-4237-b430-373631323835/__.png')
                center/contain no-repeat;

    /* Тень */
    box-shadow:
        0 11px 15px -7px rgb(0 0 0 / 20%),
        0 24px 38px 3px rgb(0 0 0 / 14%),
        0 9px 46px 8px rgb(0 0 0 / 12%);

    text-align: center;
    transition: all 0.3s;
}

/* Показываем окно */
.is-active.welcome-pt-overlay,
.is-active .welcome-pt-message {
    opacity: 1;
    visibility: visible;
}

/* Кнопка внизу */
.site-form-buttons {
    position: absolute;
    bottom: 20px;     /* фиксируем снизу как было визуально */
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

/* Увеличенная кнопка */
.welcome-pt-close {
    height: 60px;
    line-height: 60px;
    min-width: 220px;
    padding: 0 32px;

    border: none;
    border-radius: 6px;
    cursor: pointer;

    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;

    color: #fff6e9 !important;
    background-color: #990012;

    display: inline-block;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;

    box-shadow:
        0 3px 1px -2px rgb(0 0 0 / 20%),
        0 2px 2px 0 rgb(0 0 0 / 14%),
        0 1px 5px 0 rgb(0 0 0 / 12%);
}

.welcome-pt-close:hover {
    background-color: #7b000f;
}
