/* Keep each screenshot's original proportions, including its bottom controls. */
.product-phone.product-phone {
  height: auto;
  min-height: 0;
  padding: 0;
}

.product-phone.product-phone img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: inherit;
  object-fit: contain;
}

.real-screen-frame.real-screen-frame {
  height: auto;
  min-height: 0;
}

.real-screen-frame.real-screen-frame img {
  width: min(100%, 330px);
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.review-extra-screen {
  height: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .hero .product-phone.hero-phone {
    height: 604px;
    min-height: 0;
    width: min(100%, calc(602px * var(--review-screen-ratio, .46) + 2px));
  }

  .hero .product-phone.hero-phone img {
    height: 100%;
  }
}
