<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <title>Point de vente</title>

    <!-- Bootstrap -->
    <link href="/eagle_client_istanbulcups/public/css/bootstrap.min.css" rel="stylesheet">

    <!-- FontAwesome -->
    <link href="/eagle_client_istanbulcups/public/css/fontawesome.min.css" rel="stylesheet">

    <!-- CSS global ERP -->
    <link href="/eagle_client_istanbulcups/public/css/style.css" rel="stylesheet">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<body class="bg-light">

    <!-- Topbar minimal -->
    <nav class="navbar navbar-light bg-white shadow-sm px-3">
        <span class="navbar-brand fw-bold text-primary">
            Eagle ERP — POS
        </span>

        <?php if (!empty($_SESSION['user'])): ?>
            <span class="text-muted small">
                <?= htmlspecialchars($_SESSION['user']['nom'] ?? '') ?>
            </span>
        <?php endif; ?>
    </nav>

    <main class="container py-5">
