.tj-review-slot {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
}

.tj-review-slot.is-zoomed {
  z-index: 99;
}

.tj-review-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / 8%);
  cursor: zoom-in;
  transform-origin: top left;
  transition: transform .45s ease-out;
}

.tj-review-card img {
  display: block;
  width: 100%;
  height: auto;
}

.tj-review-slot.is-zoomed .tj-review-card {
  cursor: zoom-out;
  transform: translate(var(--review-x), var(--review-y)) scale(var(--review-scale));
}

@media (prefers-reduced-motion: reduce) {
  .tj-review-card {
    transition: none;
  }
}
