/* Approved Allen Motor frame: external decoration; source images stay intact. */
.product-media.product-image-frame,.category-media.product-image-frame{position:relative;display:block;aspect-ratio:1;padding:0;border:0;background:#fff;overflow:hidden;isolation:isolate;box-sizing:border-box}
.product-media.product-image-frame>img,.category-media.product-image-frame>img{position:absolute;left:9%;top:4%;width:82%;height:82%;max-width:none;object-fit:contain;object-position:center;display:block;transform:none;opacity:1;border:0}
.product-media.product-image-frame::after,.category-media.product-image-frame::after{content:"";position:absolute;inset:0;background:url("media/allen-product-frame.svg?v=18") center/100% 100% no-repeat;pointer-events:none;z-index:1}
.category-card:hover .category-media.product-image-frame>img,.product-media.product-image-frame:hover>img{transform:none;opacity:1}

/* Keep category index badges from covering the approved frame corners. */
.category-card:has(>.category-media.product-image-frame)::before{display:none}
