#nsToastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: calc(100vw - 40px);
}

.ns-toast {
    pointer-events: auto;
    width: 340px;
    max-width: 100%;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2e7d32;
    padding: 14px 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #222;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
    position: relative;
}

.ns-toast.ns-toast-show {
    transform: translateX(0);
    opacity: 1;
}

.ns-toast.ns-toast-error {
    border-left-color: #c62828;
}

.ns-toast-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: 0;
    font-size: 18px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 4px;
}
.ns-toast-close:hover { color: #222; }

.ns-toast-title {
    font-weight: bold;
    margin: 0 20px 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ns-toast-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2e7d32;
    color: #fff;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}
.ns-toast-error .ns-toast-icon { background: #c62828; }

.ns-toast-body {
    margin: 0 0 10px 0;
    color: #555;
    word-break: break-word;
}

.ns-toast-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ns-cart-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    display: inline-block;
    box-sizing: border-box;
    margin: 0;
    padding: 4px 12px;

    font: inherit;
    font-size: 13px;
    line-height: 1.4;

    color: #333;
    background: #efefef;
    border: 1px solid #b8b8b8;
    border-radius: 3px;

    text-decoration: none;
    text-align: center;
    cursor: pointer;

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.ns-cart-btn:hover {
    background: #e4e4e4;
    border-color: #999;
}
.ns-cart-btn:active {
    background: #d8d8d8;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}
.ns-cart-btn:focus {
    outline: 2px solid rgba(50, 50, 50, 0.3);
    outline-offset: 1px;
}
.ns-cart-btn:disabled {
    opacity: 0.6;
    cursor: wait;
    box-shadow: none;
}

.ns-cart-svg {
    width: 14px;
    height: 14px;
    vertical-align: text-bottom;
    margin-left: 3px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: inherit;
}

.ns-shop-actions {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.ns-shop-actions a { text-decoration: none; }

@keyframes nsCartPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}
#cart.ns-cart-pulse {
    display: inline-block;
    animation: nsCartPulse 0.4s ease;
}
