/* Exact-whitelisted Ready-made product presentation. Source image bytes remain unchanged. */
#typewriterWorkshop #view-ready .ready-product-card:not([data-ready-board-color]) .ready-product-media {
  background: transparent;
}

#typewriterWorkshop #view-ready .phase2-cutout-surface,
:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) .phase2-cutout-surface {
  background: var(--ready-art-board);
}

#typewriterWorkshop #view-ready img.phase2-cutout-image,
:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) img.phase2-cutout-image {
  background: transparent !important;
  object-fit: contain;
  mix-blend-mode: normal;
}

:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) .rmp-media.phase2-product-display-surface {
  padding: 0 !important;
}

#typewriterWorkshop #view-ready .phase2-product-display-host,
:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) .phase2-product-display-host {
  position: relative;
  display: grid !important;
  place-items: center;
}

:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) .rmp-image-open.phase2-product-display-host {
  width: 100%;
  height: 100%;
}

#typewriterWorkshop #view-ready img.phase2-product-base,
:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) img.phase2-product-base,
#typewriterWorkshop #view-ready img.phase2-product-tissue,
:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) img.phase2-product-tissue {
  width: var(--phase2-product-size, 78%) !important;
  height: var(--phase2-product-size, 78%) !important;
  max-width: none;
  max-height: none;
  padding: 0 !important;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  mix-blend-mode: normal;
}

#typewriterWorkshop #view-ready img.phase2-product-base,
:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) img.phase2-product-base {
  position: relative;
  z-index: 2;
  transform: none !important;
  filter: drop-shadow(0 6px 9px rgb(42 38 31 / var(--phase2-shadow-alpha, .13)));
}

#typewriterWorkshop #view-ready img.phase2-product-tissue,
:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) img.phase2-product-tissue {
  position: absolute !important;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  pointer-events: none;
  opacity: var(--phase2-product-strength, 1);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 var(--phase2-mask-solid, 18%), transparent var(--phase2-mask-end, 24%), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 var(--phase2-mask-solid, 18%), transparent var(--phase2-mask-end, 24%), transparent 100%);
}

#typewriterWorkshop #view-ready [data-phase2-product-tone="gold"] > img.phase2-product-tissue,
#typewriterWorkshop #view-ready [data-phase2-product-tone="neutral"] > img.phase2-product-tissue,
:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) [data-phase2-product-tone="gold"] > img.phase2-product-tissue,
:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) [data-phase2-product-tone="neutral"] > img.phase2-product-tissue {
  filter: contrast(.89) brightness(.99) saturate(.96);
}

#typewriterWorkshop #view-ready [data-phase2-product-tone="black"] > img.phase2-product-tissue,
:is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) [data-phase2-product-tone="black"] > img.phase2-product-tissue {
  filter: contrast(.88) brightness(1.02);
}

:is(#typewriterWorkshop, body.phase2-checkout-v914) .phase2-product-ground {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: var(--phase2-ground-bottom, 12.2%);
  width: var(--phase2-ground-width, 53.106%);
  height: 4%;
  border-radius: 50%;
  background: rgb(44 39 32 / var(--phase2-ground-opacity, .18));
  filter: blur(11px);
  transform: translateX(-50%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  #typewriterWorkshop #view-ready img.phase2-product-base,
  :is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) img.phase2-product-base,
  #typewriterWorkshop #view-ready img.phase2-product-tissue,
  :is(#typewriterWorkshop #view-ready-product, #cwCartShell, body.phase2-checkout-v914) img.phase2-product-tissue { transition: none !important; }
}
:is(#cwCartShell, body.phase2-checkout-v914) .phase2-product-display-host { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }

/* Home Ready cards use the existing governed product-display classes. */
#typewriterWorkshop #view-home .hw-ready-card .phase2-cutout-surface { background:var(--ready-art-board)!important; }
#typewriterWorkshop #view-home .hw-ready-card img.phase2-cutout-image { background:transparent!important;object-fit:contain;mix-blend-mode:normal; }
#typewriterWorkshop #view-home .hw-ready-card .phase2-product-display-host { position:relative;display:grid!important;place-items:center; }
#typewriterWorkshop #view-home .hw-ready-card img.phase2-product-base,
#typewriterWorkshop #view-home .hw-ready-card img.phase2-product-tissue { width:var(--phase2-product-size,78%)!important;height:var(--phase2-product-size,78%)!important;max-width:none;max-height:none;padding:0!important;object-fit:contain;object-position:center;background:transparent!important;mix-blend-mode:normal; }
#typewriterWorkshop #view-home .hw-ready-card img.phase2-product-base { position:absolute!important;inset:auto!important;top:50%!important;left:50%!important;z-index:2;transform:translate(-50%,-50%)!important;filter:drop-shadow(0 6px 9px rgb(42 38 31 / var(--phase2-shadow-alpha,.13))); }
#typewriterWorkshop #view-home .hw-ready-card img.phase2-product-tissue { position:absolute!important;inset:auto!important;z-index:3;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;pointer-events:none;opacity:var(--phase2-product-strength,1);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 var(--phase2-mask-solid,18%),transparent var(--phase2-mask-end,24%),transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 var(--phase2-mask-solid,18%),transparent var(--phase2-mask-end,24%),transparent 100%); }
#typewriterWorkshop #view-home .hw-ready-card [data-phase2-product-tone="gold"]>img.phase2-product-tissue,
#typewriterWorkshop #view-home .hw-ready-card [data-phase2-product-tone="neutral"]>img.phase2-product-tissue { filter:contrast(.89) brightness(.99) saturate(.96); }
#typewriterWorkshop #view-home .hw-ready-card [data-phase2-product-tone="black"]>img.phase2-product-tissue { filter:contrast(.88) brightness(1.02); }
@media(prefers-reduced-motion:reduce){#typewriterWorkshop #view-home .hw-ready-card img.phase2-product-base,#typewriterWorkshop #view-home .hw-ready-card img.phase2-product-tissue{transition:none!important;}}
