.woocommerce-notices-wrapper { display: none !important; }

#wctn-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 315px;
    max-width: calc(100vw - 48px);
    pointer-events: none;
}

.wctn-toast {
    pointer-events: all;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: #0f172a;
    opacity: 0;
    transform: translateX(calc(100% + 24px));
    transition: opacity .3s cubic-bezier(.22,1,.36,1), transform .3s cubic-bezier(.22,1,.36,1);
}
.wctn-toast--in  { opacity: 1; transform: translateX(0); }
.wctn-toast--out {
    opacity: 0;
    transform: translateX(calc(100% + 24px));
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-width: 0 !important;
    transition: opacity .18s, transform .18s,
        max-height .24s ease .04s,
        padding    .24s ease .04s,
        margin     .24s ease .04s,
        border     .24s ease .04s;
}

.wctn-stripe { width: 4px; flex-shrink: 0; }
.wctn-toast--add    .wctn-stripe { background: #16a34a; }
.wctn-toast--remove .wctn-stripe { background: #94a3b8; }

.wctn-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 12px 14px 13px;
    flex: 1;
    min-width: 0;
}

.wctn-icon {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.wctn-toast--add    .wctn-icon { background: #dcfce7; }
.wctn-toast--remove .wctn-icon { background: #f1f5f9; }

.wctn-icon svg {
    display: block;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.wctn-toast--add    .wctn-icon svg { stroke: #16a34a; }
.wctn-toast--remove .wctn-icon svg { stroke: #64748b; }

.wctn-body { flex: 1; min-width: 0; }

.wctn-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 3px;
    letter-spacing: -.01em;
}
.wctn-msg {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wctn-acts { display: flex; gap: 5px; margin-top: 9px; align-items: center; }

.wctn-action--cart {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #15803d;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none !important;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background .14s;
}
.wctn-action--cart:hover { background: #166534; }
.wctn-action--cart svg { width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.wctn-action--undo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: transparent;
    color: #475569 !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none !important;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    cursor: pointer;
    transition: background .14s, border-color .14s, color .14s;
}
.wctn-action--undo:hover { background: #f8fafc; border-color: #94a3b8; color: #0f172a !important; }
.wctn-action--undo svg { width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.wctn-close {
    flex-shrink: 0;
    align-self: flex-start;
    width: 18px; height: 18px;
    margin-top: 14px; margin-right: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #cbd5e1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: color .12s;
}
.wctn-close:hover { color: #64748b; }
.wctn-close svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.wctn-bar { position: absolute; bottom: 0; left: 4px; right: 0; height: 2px; background: #f1f5f9; }
.wctn-bar-fill { height: 100%; transform-origin: left; }
.wctn-toast--add    .wctn-bar-fill { background: #16a34a; }
.wctn-toast--remove .wctn-bar-fill { background: #94a3b8; }

@keyframes wctn-shrink { from{transform:scaleX(1)} to{transform:scaleX(0)} }

@media (max-width: 480px) {
    #wctn-container { top: auto; bottom: 20px; right: 12px; left: 12px; width: auto; max-width: none; }
    .wctn-toast        { transform: translateY(20px); }
    .wctn-toast--in    { transform: translateY(0); }
    .wctn-toast--out   { transform: translateY(20px); }
}
