/* Let the photograph define its frame; no padding or imposed crop. */
html:not(.admin-preview):not(.kiosk-v2) body:not(.kiosk-v2) .product-card {
  --photo-width:156px;--photo-height:200px;
  grid-template-columns:minmax(0,1fr) var(--photo-width)!important;
  gap:16px!important;align-items:center!important;
}
html:not(.admin-preview):not(.kiosk-v2) body:not(.kiosk-v2) img.product-image {
  display:block!important;width:auto!important;height:auto!important;
  max-width:100%!important;max-height:var(--photo-height,200px)!important;
  aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;
  padding:0!important;margin:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;justify-self:end!important;
}
html:not(.admin-preview):not(.kiosk-v2) body:not(.kiosk-v2) .product-placeholder {
  display:grid!important;place-items:center!important;width:var(--photo-width,156px)!important;
  height:132px!important;background:#f5efe6!important;color:#9a8068;border-radius:0!important;
}
html:not(.admin-preview):not(.kiosk-v2) body:not(.kiosk-v2) .featured-products {align-items:start!important;}
html:not(.admin-preview):not(.kiosk-v2) body:not(.kiosk-v2) .featured-media {
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  aspect-ratio:var(--photo-aspect,1)!important;overflow:hidden!important;background:transparent!important;
}
html:not(.admin-preview):not(.kiosk-v2) body:not(.kiosk-v2) img.featured-image {
  display:block!important;width:100%!important;height:auto!important;max-height:none!important;
  aspect-ratio:auto!important;object-fit:contain!important;padding:0!important;margin:0!important;
  background:transparent!important;border-radius:0!important;
}
html:not(.admin-preview):not(.kiosk-v2) body:not(.kiosk-v2) .featured-placeholder {
  display:grid!important;place-items:center!important;width:100%!important;height:100%!important;
  background:#f5efe6!important;color:#9a8068;
}
html.kiosk-v2 body .kt-app .kt-product>img {
  display:block!important;width:100%!important;height:auto!important;max-height:none!important;
  aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;
  padding:0!important;margin:0!important;background:transparent!important;border-radius:10px!important;
}
html.kiosk-v2 body .kt-product>.kt-photo-missing {
  display:grid!important;place-items:center!important;aspect-ratio:1!important;
  width:100%!important;height:auto!important;background:#f5efe6!important;
}
html.kiosk-v2 body .kt-product-dialog>img {
  display:block!important;width:auto!important;height:auto!important;max-width:100%!important;
  max-height:min(36dvh,340px)!important;aspect-ratio:auto!important;
  object-fit:contain!important;padding:0!important;margin:14px auto!important;background:transparent!important;
}
@media(max-width:760px){
  html:not(.admin-preview):not(.kiosk-v2) body:not(.kiosk-v2) .product-card {
    --photo-width:124px;--photo-height:168px;gap:12px!important;
  }
}
@media(max-width:360px){
  html:not(.admin-preview):not(.kiosk-v2) body:not(.kiosk-v2) .product-card {
    --photo-width:106px;--photo-height:144px;gap:10px!important;
  }
}
@media(orientation:landscape) and (max-height:600px){
  html.kiosk-v2 body .kt-product-dialog>img {max-height:min(32dvh,200px)!important;}
}
