/* MISTINGISTANBUL V93 — mobile/tablet category + product image correction
   Scope is intentionally limited to catalog cards. Desktop layout and product-detail gallery are untouched. */
.v80-hub-card figure,
body.mi-product-category-page .v42-card-media,
.mi-category-cards-only-v19 .v42-card-media{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  background:#f4f8fb!important;
}

.v80-hub-card figure img,
body.mi-product-category-page .v42-card-media img,
.mi-category-cards-only-v19 .v42-card-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:center center!important;
  background:transparent!important;
}

/* Tablet: compact 4:3 media area. Portrait source photos are cropped symmetrically,
   preventing the narrow/letterboxed appearance while keeping the product centered. */
@media (max-width:991px){
  .v80-hub-card figure,
  body.mi-product-category-page .v42-card-media,
  .mi-category-cards-only-v19 .v42-card-media{
    aspect-ratio:4/3!important;
    min-height:0!important;
    height:auto!important;
  }

  .v80-hub-card figure img,
  body.mi-product-category-page .v42-card-media img,
  .mi-category-cards-only-v19 .v42-card-media img{
    transform:none!important;
    transition:none!important;
  }

  .v80-hub-card:hover figure img,
  body.mi-product-category-page .v42-product-card:hover .v42-card-media img,
  .mi-category-cards-only-v19 .v42-product-card:hover .v42-card-media img{
    transform:none!important;
  }
}

/* Phone: keep cards visually balanced and stop oversized square image blocks. */
@media (max-width:576px){
  .v80-hub-card figure,
  body.mi-product-category-page .v42-card-media,
  .mi-category-cards-only-v19 .v42-card-media{
    aspect-ratio:4/3!important;
  }

  .v80-hub-card figure{
    border-radius:clamp(14px,4vw,20px)!important;
  }
}

@media (max-width:420px){
  body.mi-product-category-page .v42-product-grid{
    grid-template-columns:1fr!important;
  }
}
