/* Sepet Widget */
.cart-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 12px 20px;
    transition: var(--transition);
}

.cart-widget:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cart-widget-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.cart-widget-icon {
    position: relative;
    font-size: 28px;
    line-height: 1;
}

.cart-widget-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cart-widget-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-widget-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-widget-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
}

@media (max-width: 768px) {
    .cart-widget {
        top: 10px;
        right: 10px;
        padding: 10px 16px;
    }
    
    .cart-widget-icon {
        font-size: 24px;
    }
    
    .cart-widget-info {
        display: none; /* Mobilde sadece ikon göster */
    }
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastSlideIn 0.3s ease;
    pointer-events: auto;
    border-left: 4px solid var(--accent);
}

.toast.success {
    border-left-color: #4caf50;
}

.toast.error {
    border-left-color: #c62828;
}

.toast.info {
    border-left-color: #2196f3;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-icon {
    font-size: 24px;
    line-height: 1;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

.toast-close:hover {
    background: var(--bg);
    color: var(--text);
}

@media (max-width: 768px) {
    .toast-container {
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: 100%;
    }
}

