<?php
require_once 'includes/header.php';
?>

<div class="container">
    <div class="section-title">
        <h2>Returns & Exchanges Policy</h2>
    </div>
    
    <div class="checkout-form">
        <h3>Our Return Policy</h3>
        <p>We want you to be completely satisfied with your purchase. If for any reason you're not satisfied, we'll gladly accept returns within 30 days of purchase.</p>
        
        <h4>Eligibility Requirements</h4>
        <ul>
            <li>Items must be in original condition with all tags and packaging</li>
            <li>Proof of purchase (receipt or order number) is required</li>
            <li>Items must be returned within 30 days of purchase date</li>
            <li>Items must not show signs of wear or damage</li>
        </ul>
        
        <h4>Non-Returnable Items</h4>
        <ul>
            <li>Personal care items (cosmetics, skincare, etc.)</li>
            <li>Food items</li>
            <li>Downloadable software</li>
            <li>Gift cards</li>
            <li>Clearance or final sale items</li>
        </ul>
        
        <h3>Return Process</h3>
        <ol>
            <li>Contact our customer service team to initiate a return</li>
            <li>Receive a Return Merchandise Authorization (RMA) number</li>
            <li>Pack the item securely in its original packaging</li>
            <li>Include the RMA number and reason for return</li>
            <li>Ship the package to our return address</li>
            <li>Receive refund or exchange within 5-7 business days</li>
        </ol>
        
        <h3>Refunds</h3>
        <p>Refunds will be processed to the original payment method within 5-7 business days after we receive and inspect the returned item.</p>
        
        <h3>Exchanges</h3>
        <p>If you'd like to exchange an item for a different size or color, please indicate this when initiating your return. Exchanges are subject to availability.</p>
        
        <h3>Damaged or Defective Items</h3>
        <p>If you receive a damaged or defective item, please contact us immediately. We'll arrange for a replacement or refund at no additional cost to you.</p>
        
        <div class="text-center" style="margin-top: 30px;">
            <a href="<?php echo SITE_URL; ?>/index.php" class="btn btn-primary">Back to Home</a>
            <?php if (isLoggedIn()): ?>
                <a href="<?php echo SITE_URL; ?>/tickets/create.php" class="btn btn-outline">Contact Support</a>
            <?php else: ?>
                <a href="<?php echo SITE_URL; ?>/auth/login.php" class="btn btn-outline">Login for Support</a>
            <?php endif; ?>
        </div>
    </div>
</div>

<?php require_once 'includes/footer.php'; ?>