.push-container {
    position: fixed;
    bottom: 0px;
    right: 0px;
    margin: 20px;
    display: flex;
    flex-direction: column-reverse;
    width: -webkit-fill-available;
    max-width: 400px;
    pointer-events: none;
    z-index: 1000;
}

.push-message {
    pointer-events: auto;
    transform: translateX(0);
    opacity: 1;
    max-height: none;          /* убираем жёсткое ограничение */
    overflow: visible;
    margin-top: 10px;
    box-sizing: border-box;
    transition: 
        transform 0.35s ease,
        opacity 0.35s ease,
        margin 0.35s ease;
}

.push-message.removing {
    transform: translateX(120%);
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

/* остальной твой CSS оставляй как есть */

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.push-message {
    animation: slideIn 0.35s ease;
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(120%);
        margin-bottom: -80px;
    }
}

.push-message > div {
    background: var(--bg-2);
    border: 0.5px solid var(--border-1);
    min-height: 45px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.content-push-message {
    display: flex;
    align-items: center;
    background: none;
    margin-right: 15px;
}

.content-push-message > p {
    background: none;
    font-size: 14px;
    color: var(--color-8);
    font-weight: 600;
    margin: 0;
    
    /* перенос строки */
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.content-push-message > svg {
    background: none;
    height: 20px;
    color: var(--color-8);
    margin-right: 8px;
    flex-shrink: 0;
}

.close-push-message > a {
    color: var(--color-6);
    transition: color 0.15s;
    cursor: pointer;
    display: flex;
}

.close-push-message > a:hover {
    color: var(--color-7);
}

.close-push-message > a > svg {
    height: 18px;
    width: 18px;
}