import React from 'react';

const CookiePreferencesLink: React.FC = () => {
  const handleClick = () => {
    window.dispatchEvent(new CustomEvent('open-cookie-preferences'));
  };

  return (
    <button
      type="button"
      onClick={handleClick}
      className="hover:text-[var(--luxury-gold)] transition-colors cursor-pointer font-light tracking-wide text-gray-700"
    >
      Cookie Preferences
    </button>
  );
};

export default CookiePreferencesLink;

