/* A transparent product photo keeps the card background seamless at any height. */
.device-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.device-photo { position: relative; min-width: 0; overflow: hidden; padding: 0; background: #e8f0f3; }
.device-photo img { position: absolute; inset: 0; box-sizing: border-box; display: block; width: 100%; height: 100%; padding: clamp(20px, 3vw, 42px); object-fit: contain; object-position: center; }
@media (max-width: 900px) {
    .device-grid { grid-template-columns: minmax(0, 1fr); }
    .device-photo { min-height: 0; aspect-ratio: 4 / 5; max-height: 720px; }
}
