.wpu-toast-wrap {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1080;
    min-width: 280px;
    max-width: min(360px, calc(100vw - 2rem));
    pointer-events: none;
}

.wpu-toast-wrap .toast {
    pointer-events: auto;
}

.wpu-catalog-toast {
    border: none;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    opacity: 0;
}

.wpu-catalog-toast.show {
    opacity: 1;
}

.wpu-catalog-toast .toast-header {
    background: #fea805;
    color: #1a1a1a;
    font-weight: 600;
    border-bottom: none;
    padding: 0.65rem 0.85rem;
}

.wpu-catalog-toast .toast-header .close {
    color: #1a1a1a;
    opacity: 0.75;
    text-shadow: none;
}

.wpu-catalog-toast .toast-header .close:hover {
    opacity: 1;
}

.wpu-catalog-toast .toast-body {
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
    padding: 0.85rem 1rem;
}

.wpu-toast-fallback {
    display: none;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    animation: wpuToastIn 0.28s ease;
}

.wpu-toast-fallback.is-visible {
    display: block;
}

.wpu-toast-fallback__head {
    background: #fea805;
    color: #1a1a1a;
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wpu-toast-fallback__close {
    background: transparent;
    border: 0;
    color: #1a1a1a;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    padding: 0 0 0 0.5rem;
}

.wpu-toast-fallback__close:hover {
    opacity: 1;
}

.wpu-toast-fallback__body {
    padding: 0.85rem 1rem;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
}

@keyframes wpuToastIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
