/* Genuine supplier product photographs, converted locally to lightweight WebP. */
.product-real-photo{position:relative;height:100%;width:100%;display:block;background:#fff;overflow:hidden;min-height:0;min-width:0}
.product-real-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;padding:12px}
.product-card .product-real-photo img{padding:19px 15px}
.modal-visual .product-real-photo img{padding:30px 18px}
.cart-thumb .product-real-photo img{padding:5px}
.table-product .product-real-photo{height:44px;width:44px;flex-shrink:0;border:1px solid #edf0f1;border-radius:7px}
.table-product .product-real-photo img{padding:3px}
.more-products{display:block;margin:24px auto 0;padding:12px 24px;font-size:12px}
.more-products.hidden{display:none}
@media(max-width:620px){.product-card .product-real-photo img{padding:13px 8px}.modal-visual .product-real-photo img{padding:16px}}
.product-real-photo.photo-load-error img{display:none}
.product-real-photo.photo-load-error:after{content:"Görsel şu anda yüklenemiyor";position:absolute;inset:0;display:grid;place-items:center;padding:28px;text-align:center;color:#566b7b;font-size:12px;font-weight:650;background:#eff4f6}
.modal-visual{display:flex;flex-direction:column;overflow:hidden;background:#fff}
.modal-visual .product-gallery-main{width:100%;height:360px;min-height:220px;position:relative;flex:1 1 auto}
.modal-visual .product-gallery-main>.product-real-photo{height:100%}
.product-gallery-thumbs{display:flex;justify-content:center;gap:9px;padding:9px 12px 14px;background:#fff;flex:0 0 auto;overflow:auto}
.gallery-thumb{width:62px;height:62px;flex:0 0 auto;border:2px solid #e4eaf0;border-radius:8px;overflow:hidden;background:#fff;padding:3px;cursor:pointer}
.gallery-thumb.selected,.gallery-thumb:focus-visible{border-color:#db9a33;box-shadow:0 0 0 2px #fff1d6}
.gallery-thumb img{width:100%;height:100%;object-fit:contain}
@media(max-width:620px){.modal-visual .product-gallery-main{height:240px;min-height:215px}.product-gallery-thumbs{padding:7px 9px}.gallery-thumb{width:52px;height:52px}.modal-visual.has-gallery{height:auto;min-height:305px}.modal-visual.has-gallery .product-gallery-main{height:235px;min-height:235px;flex:0 0 auto}}

/* Home/catalog cards: give the original high-resolution product photo more room.
   Contain preserves the complete product, including long handles and narrow tools. */
.product-card .product-image{height:260px}
.product-card .product-real-photo img{padding:7px 8px;object-fit:contain;object-position:center}
@media(max-width:830px){.product-card .product-image{height:215px}}
@media(max-width:620px){
  .product-card .product-image{height:190px}
  .product-card .product-real-photo img{padding:5px 4px}
}
