/* Use the complete category PNG at its native aspect ratio in desktop mega menus. */
@media(min-width:960px){
  #kosmo-reference .kd-mega-photo--png{display:flex;flex:0 0 250px;width:250px;min-height:250px;height:auto;align-items:center;justify-content:center;background:#f7fafc;border-radius:var(--kd-media-radius,20px);overflow:hidden}
  #kosmo-reference .kd-mega-photo--png img{display:block;width:auto;height:auto;max-width:100%;max-height:310px;margin:auto;object-fit:contain;border-radius:inherit}
  #kosmo-reference .kd339-picture .kd339-photo:has(img[src*="/wmimageincatPlugin/"]){display:flex;align-items:center;justify-content:center;min-height:0;background:transparent}
  #kosmo-reference .kd339-picture .kd339-photo:has(img[src*="/wmimageincatPlugin/"]) img{display:block;width:auto;height:auto;max-width:100%;max-height:260px;margin:auto;object-fit:contain}
}
