/* The same approved category photograph, responsive without stretching or lost products. */
[data-category-frame]{overflow:hidden;background:#e5e9e6}
img[data-category-image]{object-fit:contain!important;object-position:center!important;width:100%;height:100%;padding:10px!important;box-sizing:border-box;background:#e5e9e6}
.category-plastic-hero{padding-block:0 64px;max-width:1120px}
.category-plastic-hero .category-main-frame{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:48px 12px 48px 12px;overflow:hidden;border:0;padding:0;background:#e5e9e6;cursor:zoom-in}
@media(max-width:540px){.category-plastic-hero .category-main-frame{aspect-ratio:4/3;border-radius:32px 10px 32px 10px}}
/* Match the homepage's 8:5 presentation, retaining the approved 3+2 grid. */
.product-listing-page .product-card .product-image{aspect-ratio:8/5;height:auto}
body img[data-category-image="3"],body img[data-category-image="4"]{object-fit:cover!important;padding:0!important}
body img[data-category-image="3"]{object-position:50% 54%!important}
body img[data-category-image="4"]{object-position:50% 44%!important}
.product-showcase .product-slide[data-product-index="2"] .showcase-image{background:#e5e9e6}
.product-showcase .product-slide[data-product-index="2"] img{object-fit:contain;padding:8px;box-sizing:border-box}
body img[data-category-image="2"]{padding:8px!important;background:#e5e9e6}
/* Keep transparent solenoid/plastic photos on exactly the same neutral field. */
:root{--ecs-category-cutout-bg:#e5e9e6}
body [data-category-frame="0"],body [data-category-frame="2"],body img[data-category-image="0"],body img[data-category-image="2"]{background:var(--ecs-category-cutout-bg)}
body .product-image:has(img[data-category-image="0"]),body .product-image:has(img[data-category-image="2"]){background:var(--ecs-category-cutout-bg)}
