/* ========================================
   ALERTS & NOTIFICATIONS
======================================== */

.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.alert-message {
    font-size: 0.875rem;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

/* Notification toast */
.notification {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: var(--z-tooltip);
    animation: slideUp var(--transition-normal);
    min-width: 250px;
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--error);
}

.notification.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.empty-state-text {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

/* Cart empty */
.cart-empty {
    text-align: center;
    padding: var(--space-3xl) var(--space-md);
    color: var(--text-muted);
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

/* Delivery progress */
.delivery-progress {
    background: var(--bg-light);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
}

.delivery-progress-bar {
    height: 6px;
    background: #E0E0E0;
    border-radius: var(--radius-full);
    margin-top: var(--space-xs);
    overflow: hidden;
}

.delivery-progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.free-delivery-banner {
    background: var(--success);
    color: var(--text-light);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

/* Responsive */
@media (max-width: 768px) {
    .notification {
        left: var(--space-md);
        right: var(--space-md);
        bottom: var(--space-md);
    }
}