/** Shopify CDN: Minification failed

Line 10:0 Unexpected "<"
Line 15:4 Comments in CSS use "/* ... */" instead of "//"
Line 20:4 Comments in CSS use "/* ... */" instead of "//"
Line 28:4 Comments in CSS use "/* ... */" instead of "//"
Line 40:4 Comments in CSS use "/* ... */" instead of "//"

**/
<script>
/* WSH Collection Filter — Human / Vet toggle */
(function(){
  'use strict';
  function init(){
    // Wait for WSH to render
    if(!document.querySelector('[class*="collection"]')){setTimeout(init,500);return}
    var items=document.querySelectorAll('label,[class*="collection"]');
    if(!items.length){setTimeout(init,500);return}

    // Find all collection-related checkboxes/labels
    var all=[];items.forEach(function(el){
      var t=(el.textContent||'').trim();
      if(!t||t.length<2||t.length>80)return;
      if(el.querySelector('input[type="checkbox"],input[type="radio"]')){all.push({el:el,name:t})}
    });
    if(!all.length)return;

    // Classify
    var vet=['ALPS','TPLO','TTA','PGR','Vet ','Veterinary','Tibial','CCL'];
    var human=['Cervical','Clavicle','Femur','Fibula','Foot & Ankle','Humerus','Knee','Mandible',
               'Maxillofacial','Metacarpals','Midface','Neuro','Orbital','Patella','Pelvis','Radius & Ulna',
               'Ribs','Scapula','Shoulder','Spinal','Spine','THR','Thoracolumbar','Trauma',
               'Anterior','Posterior','Tibia','Suture','Locking Plate'];

    var isVet=function(n){return vet.some(function(k){return n.indexOf(k)>=0})};
    var isHuman=function(n){return human.some(function(k){return n.indexOf(k)>=0})};

    all.forEach(function(item){item.cat=isVet(item.name)?'vet':isHuman(item.name)?'human':'other'});

    // Add toggle
    var filterSection=document.querySelector('[class*="filter"],.collection-filter,aside');
    if(!filterSection)filterSection=all[0].el.closest('div')||document.body;
    var toggle=document.createElement('div');
    toggle.style.cssText='margin:0 0 12px 0;padding:8px;border:1px solid #ddd;border-radius:6px;background:#f9f9f9';
    var btnH=document.createElement('button');
    btnH.textContent='Human';btnH.style.cssText='padding:5px 12px;margin:0 4px;border:1px solid #36c;background:#36c;color:#fff;border-radius:4px;font-size:12px;cursor:pointer;font-weight:500';
    var btnV=document.createElement('button');
    btnV.textContent='Veterinary';btnV.style.cssText='padding:5px 12px;margin:0 4px;border:1px solid #36c;background:none;color:#36c;border-radius:4px;font-size:12px;cursor:pointer';
    var btnA=document.createElement('button');
    btnA.textContent='All';btnA.style.cssText='padding:5px 12px;margin:0 4px;border:1px solid #36c;background:none;color:#36c;border-radius:4px;font-size:12px;cursor:pointer';
    toggle.appendChild(btnH);toggle.appendChild(btnV);toggle.appendChild(btnA);
    filterSection.insertBefore(toggle,filterSection.firstChild);

    function setMode(m){
      btnH.style.background=m==='human'?'#36c':'none';btnH.style.color=m==='human'?'#fff':'#36c';
      btnV.style.background=m==='vet'?'#36c':'none';btnV.style.color=m==='vet'?'#fff':'#36c';
      btnA.style.background=m==='all'?'#36c':'none';btnA.style.color=m==='all'?'#fff':'#36c';
      all.forEach(function(item){
        var show=(m==='all')||(m==='human'&&item.cat!=='vet')||(m==='vet'&&item.cat!=='human');
        item.el.style.display=show?'':'none';
      });
    }
    btnH.onclick=function(){setMode('human')};
    btnV.onclick=function(){setMode('vet')};
    btnA.onclick=function(){setMode('all')};
    setMode('human');
  }
  if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',init);
  else init();
})();

</script>