/* Zone3Dplus Phase 2G — staging only, presentation only.
   Preserves Phase 2F's tablet/phone layout, original link/button handlers,
   quantities, dimensions, pricing, model states and original canvas. */

/* A neutral cool-gray backdrop improves separation from white CAD geometry.
   This layer is a derived image ONLY; the original preview and 3D renderer remain intact. */
#m3dreader.step-0 .m3dreader__model-item:not(.loading) .z3d2c-thumb-shell {
  background: #dbe1e7;
  border: 1px solid #d9e0e8;
  border-radius: 12px;
}
#m3dreader.step-0 .m3dreader__model-item:not(.loading) .z3d2g-contrast-layer {
  display: block;
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  pointer-events: none;
  user-select: none;
  background: #dbe1e7;
  z-index: 2;
}
/* The existing View 3D button must remain above the display-only image. */
#m3dreader.step-0 .m3dreader__model-item:not(.loading) .z3d2c-viewer-trigger {
  position: relative;
  z-index: 3;
}

/* The old Phase 2G desktop 138px card override was superseded by the
   approved Phase 2E/3A compact 120px card layout. It must not run here. */

/* Keep keyboard controls visible with the more refined thumbnail backdrop. */
#m3dreader.step-0 .z3d2c-viewer-trigger:focus-visible,
#m3dreader.step-0 .m3dreader__model-scale-btn:focus-visible {
  outline: 3px solid rgba(228,12,68,.45);
  outline-offset: 2px;
}
