.mop-photo,
.mop-photo-detail {
  margin: 0;
  min-width: 0;
}

.mop-photo {
  max-width: 540px;
  margin-block: 20px;
}

.product-hero > .mop-photo {
  margin: 0;
}

.mop-photo-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #e9e2d9;
  border-radius: 16px;
  background: radial-gradient(ellipse at 48% 34%, #fffefa, #f3ede5);
}

.mop-photo .mop-photo-frame,
.mop-photo-detail .mop-photo-frame {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
}

.mop-photo .mop-photo-frame {
  aspect-ratio: 1;
}

.mop-photo-frame img {
  display: block;
  mix-blend-mode: multiply;
}

.mop-photo img,
.mop-photo-detail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mop-photo img {
  max-height: 100%;
  transform: scale(1.04);
}

.mop-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 14px 0 26px;
  max-width: 920px;
}

.mop-photo-detail .mop-photo-frame {
  aspect-ratio: 5 / 4;
}

.mop-photo-frame--crop img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--detail-zoom);
  max-width: none;
  height: auto;
  transform: translate(var(--detail-x), var(--detail-y));
}

.mop-photo figcaption,
.mop-photo-detail figcaption {
  margin-top: 8px;
  color: var(--mut);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .mop-photo-grid {
    grid-template-columns: 1fr;
  }
}
