/* SUNHOME v70 — matching stage-image and navigation widths, complete artwork. */
#package-item-modal {
  --package-stage-column-gap: 14px;
}

#package-item-modal .package-item-content-v44,
#package-item-modal .package-item-navigation,
#package-item-modal .package-item-illustration-v44,
#package-item-modal .package-item-illustration-v44 img,
#package-item-modal .package-step {
  box-sizing: border-box;
}

/* A single rule covers both photo and document stages, including the collage.
   Natural height preserves every source edge without a fixed crop or stretch. */
#package-item-modal .package-item-illustration-v44 {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

#package-item-modal .package-item-illustration-v44 img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: center;
}

/* The artwork frame occupies the same right column as the next-stage button.
   Mobile keeps its existing one-column reading area and separate footer navigation. */
@media (min-width: 761px) {
  #package-item-modal .package-item-content-v44,
  #package-item-modal .package-item-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: var(--package-stage-column-gap);
  }
}
