/* Product photography becomes a full-height half-page, without a card. */
.detail-page { overflow-x: hidden; }
.detail-page .back {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  padding: 28px 36px;
  font-size: 14px;
}
.detail-page .detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: 0;
}
.detail-page .detail-photo {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 0;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
  animation: none;
}
.detail-page .detail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  animation: product-arrive .75s cubic-bezier(.2,.8,.2,1) both;
}
.detail-page .detail-layout > div:last-child {
  box-sizing: border-box;
  align-self: center;
  min-width: 0;
  padding: 90px clamp(32px, 5vw, 100px);
}
.detail-page .detail-layout h1 {
  font-size: clamp(36px, 4.2vw, 76px);
  overflow-wrap: break-word;
}
@media (max-width: 760px) {
  .detail-page .back { padding: 22px 24px; }
  .detail-page .detail-layout { grid-template-columns: 1fr; }
  .detail-page .detail-photo {
    position: relative;
    height: 68svh;
    min-height: 390px;
    max-height: 680px;
  }
  .detail-page .detail-photo img {
    box-sizing: border-box;
    padding-top: 45px;
  }
  .detail-page .detail-layout > div:last-child { padding: 36px 24px 55px; }
  .detail-page .detail-layout h1 { font-size: clamp(36px, 9vw, 60px); }
}
@media (prefers-reduced-motion: reduce) {
  .detail-page .detail-photo img { animation: none; }
}
