/* Notificação de Carrinho Flutuante */
.mfn-cart-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: #2ecc71;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999999; /* Maior que o mfn-cart-holder (99999) */
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    font-size: 15px;
    line-height: 1.4;
}

/* Estado visível */
.mfn-cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Ícone de sucesso */
.mfn-cart-notification .notification-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mfn-cart-notification .notification-icon svg {
    width: 16px;
    height: 16px;
}

/* Conteúdo da notificação */
.mfn-cart-notification .notification-content {
    flex: 1;
}

.mfn-cart-notification .notification-title {
    font-weight: 600;
    margin-bottom: 3px;
}

.mfn-cart-notification .notification-message {
    font-size: 14px;
    opacity: 0.9;
}

/* Link para ver carrinho */
.mfn-cart-notification .notification-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s;
}

.mfn-cart-notification .notification-link:hover {
    opacity: 0.8;
}

/* Botão fechar */
.mfn-cart-notification .notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.mfn-cart-notification .notification-close:hover {
    opacity: 1;
}

/* Responsivo */
@media (max-width: 768px) {
    .mfn-cart-notification {
        top: 80px;
        right: 20px;
        left: 20px;
        max-width: none;
        font-size: 14px;
    }
    
    .mfn-cart-notification .notification-message {
        font-size: 13px;
    }
}

/* Animação de saída */
.mfn-cart-notification.hide {
    opacity: 0;
    transform: translateX(100px);
}

/* Variações de estilo */
.mfn-cart-notification.style-minimal {
    background: #333;
    border-radius: 4px;
    padding: 15px 20px;
}

.mfn-cart-notification.style-elegant {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
}

/* Tema escuro */
body.dark-mode .mfn-cart-notification {
    background: #1a1a1a;
    border: 1px solid #333;
}