/* Reuse the native workspace at its rendered width, without scaling the text. */
.executor-product-preview{position:relative;z-index:1;width:100%;max-width:820px;min-width:0;margin-inline:auto;container-type:inline-size}

/* Both catalog images share a compact frame. Crop only the unused editor space. */
.catalog .catalog-preview{height:284px}
.catalog-preview-executor{overflow:clip;padding:20px 22px 0;place-items:start center}
.catalog-preview-executor .executor-product-preview{max-width:620px}
.product-showcase-executor{padding:22px}

@media(max-width:680px){
  .catalog .catalog-preview{height:312px}
  .catalog-preview-executor{padding:18px 14px 0}
  .product-showcase-executor{padding:12px}
}
@media(max-width:430px){
  .catalog-preview-executor{padding-inline:6px}
  .product-showcase-executor{padding:8px}
}
@container(max-width:280px){
  /* Retain the full toolbar on the narrowest product cards and detail panels. */
  .executor-product-preview .redm-control{padding-inline:4px}
}
