.site-notification-popup {
    position: fixed;
    bottom: 18px;
    z-index: 1200;
    width: min(360px, calc(100vw - 24px));
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.2s ease;
    pointer-events: none;
    box-sizing: border-box;
}

.site-notification-popup.is-right {
    right: 12px;
}

.site-notification-popup.is-left {
    left: 12px;
}

.site-notification-popup.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.site-notification-popup__close {
    border: 0;
    background: transparent;
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 1.4rem;
    cursor: pointer;
    color: #64748b;
}

.site-notification-popup__content {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
    padding: 14px;
}

.site-notification-popup.has-no-image .site-notification-popup__content {
    grid-template-columns: 1fr;
}

.site-notification-popup__image {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 10px;
}

.site-notification-popup__text h4 {
    margin: 0 0 6px;
    font-size: 0.98rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.5;
    word-break: break-word;
}

.site-notification-popup__text p {
    margin: 0 0 10px;
    font-size: 0.86rem;
    color: #334155;
    line-height: 1.7;
    word-break: break-word;
}

.site-notification-popup__text .btn {
    display: block;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .site-notification-popup {
        width: auto;
        max-width: none;
        left: 12px !important;
        right: 12px !important;
        bottom: 12px;
        border-radius: 14px;
    }
}
