<?php
if (session_status() !== PHP_SESSION_ACTIVE) session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>Cookie Policy - Emporio Sport</title>
  <meta name="description" content="Cookie Policy - Information about how we use cookies on our website.">
  <link rel="stylesheet" href="styles.css">
</head>
<body>
<?php include __DIR__ . '/header.php'; ?>

<main class="container">
  <div style="text-align: center; margin: 40px 0;">
    <h1>Cookie Policy</h1>
    <p style="color: #666;">Last Updated: January 2026</p>
  </div>

  <article style="max-width: 800px; margin: 0 auto; line-height: 1.8; color: #333;">
    
    <h2>1. What Are Cookies?</h2>
    <p>Cookies are small files that are stored on your device (computer, tablet, or mobile phone) when you visit a website. They help websites recognize you and remember your preferences.</p>

    <h2>2. Types of Cookies We Use</h2>
    
    <h3>Essential Cookies</h3>
    <p>These cookies are necessary for the website to function properly. They enable:</p>
    <ul>
      <li>User authentication and login sessions</li>
      <li>Security features and fraud prevention</li>
      <li>Basic site functionality</li>
    </ul>

    <h3>Performance Cookies</h3>
    <p>These cookies help us understand how visitors interact with our website:</p>
    <ul>
      <li>Pages most frequently visited</li>
      <li>Error messages received</li>
      <li>Website traffic and usage patterns</li>
    </ul>

    <h3>Functional Cookies</h3>
    <p>These cookies remember your choices to provide a personalized experience:</p>
    <ul>
      <li>Language preferences</li>
      <li>Currency selection</li>
      <li>Saved items and wishlist</li>
    </ul>

    <h3>Marketing Cookies</h3>
    <p>These cookies track your browsing habits to deliver relevant advertising:</p>
    <ul>
      <li>Marketing campaign effectiveness</li>
      <li>Personalized product recommendations</li>
      <li>Retargeting advertisements</li>
    </ul>

    <h2>3. Third-Party Cookies</h2>
    <p>We may use third-party service providers who place cookies on your device. These include:</p>
    <ul>
      <li><strong>Google Analytics:</strong> For website traffic analysis</li>
      <li><strong>Payment Processors:</strong> For secure transaction processing</li>
      <li><strong>Marketing Partners:</strong> For targeted advertising</li>
    </ul>

    <h2>4. How to Control Cookies</h2>
    <p>Most web browsers allow you to control cookies through their settings. You can:</p>
    <ul>
      <li><strong>Accept all cookies:</strong> Allow all cookies on our website</li>
      <li><strong>Reject cookies:</strong> Disable cookies from being stored on your device</li>
      <li><strong>Delete cookies:</strong> Remove previously stored cookies</li>
      <li><strong>Customize settings:</strong> Choose which types of cookies to accept</li>
    </ul>

    <h3>Browser-Specific Instructions:</h3>
    <ul>
      <li><strong>Chrome:</strong> Settings → Privacy and security → Cookies and other site data</li>
      <li><strong>Firefox:</strong> Preferences → Privacy & Security → Cookies and Site Data</li>
      <li><strong>Safari:</strong> Preferences → Privacy → Cookies and website data</li>
      <li><strong>Edge:</strong> Settings → Privacy → Cookies and other site data</li>
    </ul>

    <h2>5. Impact of Disabling Cookies</h2>
    <p>Please note that disabling certain cookies may affect the functionality of our website:</p>
    <ul>
      <li>You may not be able to log in to your account</li>
      <li>Shopping cart functionality may not work properly</li>
      <li>Personalized recommendations may not be available</li>
      <li>Website performance may be reduced</li>
    </ul>

    <h2>6. Do Not Track</h2>
    <p>Some browsers include a "Do Not Track" feature. Our website currently does not respond to Do Not Track signals, but we respect your privacy preferences as outlined in this policy.</p>

    <h2>7. Cookie Retention</h2>
    <p>Cookies are retained for varying periods:</p>
    <ul>
      <li><strong>Session Cookies:</strong> Deleted when you close your browser</li>
      <li><strong>Persistent Cookies:</strong> Stored for up to 2 years</li>
      <li><strong>Marketing Cookies:</strong> Retained for up to 365 days</li>
    </ul>

    <h2>8. International Compliance</h2>
    <p>We comply with GDPR (General Data Protection Regulation) and other international privacy laws regarding cookie usage and consent.</p>

    <h2>9. Updates to This Cookie Policy</h2>
    <p>We may update this Cookie Policy periodically to reflect changes in our practices or legal requirements. The "Last Updated" date indicates when this policy was last modified.</p>

    <h2>10. Contact Us</h2>
    <p>If you have questions about our cookie practices, please contact us at:</p>
    <p style="margin: 20px 0;">
      <strong>Emporio Sport</strong><br>
      Email: privacy@emporio-sport.it<br>
      Phone: +39 (40) 574114<br>
      Address: Via Marco Polo 15/A - Altamonte (PD)
    </p>
  </article>
</main>

<?php include __DIR__ . '/footer.php'; ?>
</body>
</html>
