/**
 * WooCommerce "W" icon — extracted from the WP admin menu icon in
 * woocommerce/includes/admin/class-wc-admin-menus.php (base64 data URI).
 * Renders the stylized "W" using currentColor.
 *
 * (c) 2026 TWWIM UG. All rights reserved. (www.twwim.com)
 */

interface WooCommerceIconProps {
  size?: number;
  className?: string;
}

export function WooCommerceIcon({ size = 16, className }: WooCommerceIconProps) {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      viewBox="0 0 85.9 47.6"
      width={size}
      height={size}
      fill="currentColor"
      className={className}
    >
      <path d="M77.4,0.1c-4.3,0-7.1,1.4-9.6,6.1L56.4,27.7V8.6c0-5.7-2.7-8.5-7.7-8.5s-7.1,1.7-9.6,6.5L28.3,27.7V8.8c0-6.1-2.5-8.7-8.6-8.7H7.3C2.6,0.1,0,2.3,0,6.3s2.5,6.4,7.1,6.4h5.1v24.1c0,6.8,4.6,10.8,11.2,10.8S33,45,36.3,38.9l7.2-13.5v11.4c0,6.7,4.4,10.8,11.1,10.8s9.2-2.3,13-8.7l16.6-28c3.6-6.1,1.1-10.8-6.9-10.8C77.3,0.1,77.3,0.1,77.4,0.1z" />
    </svg>
  );
}
