<?php
require_once __DIR__ . '/../../api/lib.php';
hw_require_auth(['coach']);
$authUser = hw_get_auth_user();

$page_title = 'My Products | Coach Dashboard';
$page_description = 'Manage your wellness products and herbal offerings';
$page_content = function () use ($authUser) { ?>
<style>
  nav.fixed { display: none !important; }
  main { padding-top: 0 !important; }
</style>

<div class="min-h-screen bg-gray-50 p-8">
  <div class="max-w-7xl mx-auto">
    <div class="mb-8">
      <h1 class="text-3xl font-bold text-gray-900 mb-2">My Products</h1>
      <p class="text-gray-600">Manage your wellness products and herbal offerings</p>
    </div>

    <div class="bg-white rounded-lg border border-gray-200 p-12 text-center">
      <i class="fas fa-store text-6xl text-gray-300 mb-4"></i>
      <h2 class="text-2xl font-bold text-gray-900 mb-2">Product Management Coming Soon</h2>
      <p class="text-gray-600 mb-6">This feature is under development. You'll be able to add and manage your wellness products here.</p>
      <a href="/atasteofafricanmarketplace/dashboard/coach/index.php" 
         class="inline-block bg-emerald-600 text-white px-6 py-3 rounded-lg font-semibold hover:bg-emerald-700 transition">
        <i class="fas fa-arrow-left mr-2"></i>Back to Dashboard
      </a>
    </div>
  </div>
</div>

<?php };
include __DIR__ . '/../../partials/layout.php';
?>
