/* BDX Unlocker — Full-size product picture upgrade
   Product photos now fill their visual area edge-to-edge on desktop and mobile.
   Product logos/placeholders and the existing menu/theme systems are untouched. */

/* Standard product cards: premium full-bleed picture at the top of the card. */
.product-card > .product-image{
  width:calc(100% + var(--bdx-card-padding,12px) + var(--bdx-card-padding,12px))!important;
  height:max(var(--bdx-product-image-height,142px),180px)!important;
  max-width:none!important;
  min-height:0!important;
  margin:calc(0px - var(--bdx-card-padding,12px)) calc(0px - var(--bdx-card-padding,12px)) 14px!important;
  padding:0!important;
  border-radius:var(--bdx-card-radius,13px) var(--bdx-card-radius,13px) 12px 12px!important;
  overflow:hidden!important;
  display:block!important;
  background:transparent!important;
}
.product-card > .product-image > img{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:inherit!important;
  object-fit:cover!important;
  object-position:center center!important;
  background:transparent!important;
}

/* Keep every alternate catalogue layout intact while filling its image frame. */
.service-layout-wide-list .product-card > .product-image,
.service-layout-compact-list .product-card > .product-image,
.service-layout-image-price-list .product-card > .product-image{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  border-radius:12px!important;
}
.service-layout-wide-list .product-card > .product-image{height:100px!important}
.service-layout-compact-list .product-card > .product-image{height:72px!important}
.service-layout-mini-grid .product-card > .product-image{
  height:110px!important;
  margin:calc(0px - var(--bdx-card-padding,9px)) calc(0px - var(--bdx-card-padding,9px)) 11px!important;
}
.service-layout-showcase .product-card > .product-image{height:210px!important}
.service-layout-image-price-list .product-card > .product-image{
  width:178px!important;
  max-width:178px!important;
  height:118px!important;
}
.service-layout-image-price-list .product-card > .product-image > img{
  object-fit:cover!important;
}

/* Product preview also uses a full-frame image. */
.quick-view-visual > img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  object-fit:cover!important;
  object-position:center center!important;
}

@media(max-width:760px){
  .product-card > .product-image{
    height:150px!important;
    margin-bottom:12px!important;
  }
  .service-fullscreen-route .product-card > .product-image{
    height:190px!important;
  }
  .service-layout-wide-list .product-card > .product-image,
  .service-layout-compact-list .product-card > .product-image{
    width:82px!important;
    max-width:82px!important;
    height:82px!important;
    margin:0!important;
  }
  .service-layout-mini-grid .product-card > .product-image{height:125px!important}
  .service-layout-showcase .product-card > .product-image{height:190px!important}
  .service-layout-image-price-list .product-card > .product-image{
    width:178px!important;
    max-width:178px!important;
    height:118px!important;
    margin:0!important;
  }
}

@media(max-width:460px){
  .product-card > .product-image{height:150px!important}
  .service-layout-wide-list .product-card > .product-image,
  .service-layout-compact-list .product-card > .product-image{
    width:82px!important;
    max-width:82px!important;
    height:82px!important;
  }
  .service-layout-image-price-list .product-card > .product-image{
    width:178px!important;
    max-width:178px!important;
    height:118px!important;
  }
}

@media(max-width:410px){
  .product-card > .product-image{height:175px!important}
}

@media(max-width:390px){
  .service-layout-image-price-list .product-card > .product-image{
    width:132px!important;
    max-width:132px!important;
    height:90px!important;
  }
}
/* Product cards open their detail preview; the card-level order button is admin-controlled. */
.product-card[data-product-id]{cursor:pointer}
.product-card[data-product-id]:focus-visible{outline:3px solid var(--orange,#ff6a00);outline-offset:3px}
