/* ============================================
   Floating Toast Notification (Cart)
   ============================================ */
#lojaguedez-toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    /* Let clicks pass through container */
}

.lojaguedez-toast {
    display: flex;
    align-items: center;
    background: var(--color-white, #fff);
    border: 2px solid var(--color-border, #e2e8f0);
    border-radius: 2px;
    padding: 16px 20px;
    box-shadow: var(--shadow-hover);
    pointer-events: auto;
    /* Catch clicks on the toast itself */
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 420px;
    position: relative;
}

.lojaguedez-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lojaguedez-toast .toast-content {
    flex-grow: 1;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.9rem;
    color: var(--color-text, #334155);
    margin-right: 16px;
    line-height: 1.4;
}

.lojaguedez-toast .toast-content strong {
    color: var(--color-navy, #0a192f);
    font-weight: 600;
}

.lojaguedez-toast .toast-action {
    flex-shrink: 0;
    padding-right: 24px;
    /* Space for close button */
}

.lojaguedez-toast .toast-btn {
    display: inline-block;
    color: var(--color-orange, #f26522);
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.lojaguedez-toast .toast-btn:hover {
    color: var(--color-navy, #0a192f);
}

.lojaguedez-toast .toast-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    color: var(--color-text-light, #94a3b8);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.lojaguedez-toast .toast-close:hover {
    color: var(--color-navy, #0a192f);
}

@media (max-width: 768px) {
    #lojaguedez-toast-container {
        top: 70px;
        right: 16px;
        left: unset;
    }

    .lojaguedez-toast {
        max-width: 100%;
    }
}