/* V17: fixed image frame and equal card height, regardless of PNG proportions */
.zd-store .zd-grid,.zioga-home-design-grid{align-items:stretch}
.zd-store .zd-card,.zioga-home-design-grid .zd-card{display:flex;flex-direction:column;min-width:0;height:100%}
.zd-store .zd-steel,.zioga-home-design-grid .zd-steel{width:100%;height:auto;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:18px;flex:0 0 auto}
.zd-store .zd-steel img,.zioga-home-design-grid .zd-steel img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.zd-store .zd-card-info,.zioga-home-design-grid .zd-card-info{display:flex;flex-direction:column;flex:1;min-width:0;gap:8px}
.zd-store .zd-card-info h2,.zioga-home-design-grid .zd-card-info h3{font-size:15px;line-height:1.4;margin:0;min-height:3em;overflow-wrap:anywhere}
.zd-store .zd-card-bottom,.zioga-home-design-grid .zd-card-bottom{margin-top:auto;flex-wrap:wrap}
.zioga-home-design-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
@media(max-width:1000px){.zioga-home-design-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.zioga-home-design-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
/* Existing product tiles: consistent media height and proportional images */
.zioga-catalog .product-grid-catalog .product-card{display:flex;flex-direction:column;height:100%}
.zioga-catalog .product-grid-catalog .product-photo{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden}
.zioga-catalog .product-grid-catalog .product-photo>.tile-image{width:100%;height:100%;object-fit:contain;object-position:center}
