
.product-photo{margin:28px 0 0;max-width:460px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e5ebef;border-radius:14px;padding:20px;min-height:240px}
.product-photo img{display:block;max-width:100%;width:auto;height:auto;max-height:360px;object-fit:contain}
.product-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}
.product-gallery figure{margin:0;border:1px solid #e5ebef;border-radius:12px;background:#fff;min-height:190px;display:flex;align-items:center;justify-content:center;padding:15px}
.product-gallery img{max-width:100%;width:auto;height:auto;max-height:240px;object-fit:contain}
.category-product-image{display:block;max-width:100%;width:auto;height:175px;object-fit:contain;margin:0 auto 20px}
@media(max-width:640px){.product-photo{max-width:100%;min-height:190px}.product-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.product-gallery figure{min-height:130px;padding:8px}.category-product-image{height:150px}}
