<?php
require_once __DIR__ . '/includes/functions.php';
$pageTitle = 'My Deal Enquiries';
include __DIR__ . '/includes/header.php';
?>
<section class="container py-4">
  <div class="mj-hero-ultimate p-4 p-lg-5 mb-4">
    <div class="row align-items-center g-4">
      <div class="col-lg-8">
        <span class="badge text-bg-light rounded-pill mb-3"><i class="bi bi-shield-lock me-1"></i>Payment Scope Locked</span>
        <h1 class="display-5 fw-bold mb-3"><?= e($pageTitle) ?></h1>
        <p class="lead mb-3">Voucher purchase is disabled. This area is reserved for saved deals, enquiries and merchant contact history.</p>
        <div class="alert alert-info rounded-4 mb-0"><b>No customer-to-seller payment:</b><br><?= e(function_exists('mj_payment_scope_notice') ? mj_payment_scope_notice() : 'Customer-to-seller payment is disabled across MJ Marketplace.') ?></div>
      </div>
      <div class="col-lg-4"><div class="mj-glass rounded-5 p-4"><h3 class="fw-bold"><i class="bi bi-eye"></i></h3><p class="mb-0">Display, enquiry and lead-generation only.</p></div></div>
    </div>
  </div>
  <div class="row g-4"><div class="col-md-6 col-lg-4"><div class="mj-card p-4 h-100"><i class="bi bi-bookmark text-primary fs-2"></i><h4 class="h5 fw-bold mt-3">Saved deals</h4><p class="text-muted mb-0">Users can save and revisit deals.</p></div></div><div class="col-md-6 col-lg-4"><div class="mj-card p-4 h-100"><i class="bi bi-envelope text-primary fs-2"></i><h4 class="h5 fw-bold mt-3">Deal enquiries</h4><p class="text-muted mb-0">Users can send enquiries instead of buying vouchers.</p></div></div><div class="col-md-6 col-lg-4"><div class="mj-card p-4 h-100"><i class="bi bi-ban text-primary fs-2"></i><h4 class="h5 fw-bold mt-3">No vouchers sold</h4><p class="text-muted mb-0">No paid vouchers are generated by MJ Marketplace.</p></div></div></div>
  <div class="mt-4 d-flex flex-wrap gap-2">
    <a class="btn btn-primary rounded-pill" href="<?= e(base_url('saved-deals.php')) ?>"><i class="bi bi-search me-1"></i>Saved Deals</a>
    <a class="btn btn-outline-primary rounded-pill" href="<?= e(base_url('deals.php')) ?>"><i class="bi bi-credit-card-2-front me-1"></i>Browse Deals</a>
  </div>
</section>
<?php include __DIR__ . '/includes/footer.php'; ?>
