.preview-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.preview-gallery-note {
  font-size: 14px;
  line-height: 1.6;
  color: #666666;
}

.preview-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 210/297;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid transparent;
  cursor: pointer;
}
.preview-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}
.preview-gallery-item:not(.is-active)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  opacity: 1;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.preview-gallery-item:not(.is-active):hover::after {
  opacity: 0;
}
.preview-gallery-item.is-active {
  border-color: #111111;
  cursor: default;
}
