.popelup-showcase-card__visual{
  --popelup-showcase-zoom:1.7;
}

.popelup-showcase-card__stage{
  inset:0;
  position:absolute;
  transform:scale(var(--popelup-showcase-zoom));
  transform-origin:50% 50%;
}

/* PrestaShop can keep an older compiled theme bundle beside this cache-busted
   module stylesheet. Declare the crop on the stage so that stale inherited
   overrides cannot make only the generic card smaller. */
.popelup-showcase-card--generic .popelup-showcase-card__stage{
  --popelup-showcase-zoom:1.7 !important;
}

/* Text-path products use workshop coordinates on the original mockup.
   Do not apply the editorial crop used for graphic-design cards. */
.popelup-showcase-card--path-text .popelup-showcase-card__stage{
  --popelup-showcase-zoom:1;
}

.popelup-showcase-card__product,
.popelup-showcase-card__design-zone{
  transform:none;
}

.popelup-showcase-card__design-zone{
  align-items:center;
  display:flex;
  justify-content:center;
}

.popelup-showcase-card__design{
  height:100%;
  max-height:none;
  max-width:none;
  object-fit:contain;
  width:100%;
}
