.co-product-image-frame {
  display: block;
  overflow: hidden;
  background: #ded6c6;
}

.co-product-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  padding: 8%;
  background: #ded6c6;
  transition: transform .3s ease;
}

.co-product-image--lifestyle {
  object-fit: cover;
  padding: 0;
}

.co-product-visual {
  width: 100%;
  margin: 0;
}

.co-image-note {
  display: block;
  padding: 6px 0 0;
  color: var(--ink, #172920);
  font: 8px/1.45 "DM Mono", ui-monospace, monospace;
  letter-spacing: .015em;
}

.co-product-image-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: clamp(14px, 2vw, 23px);
  background: #ded6c6;
  color: var(--ink, #172920);
  text-align: left;
}

.co-product-image-placeholder::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(23, 41, 32, .18);
  content: "";
  pointer-events: none;
}

.co-placeholder-kicker,
.co-placeholder-name {
  position: relative;
  z-index: 1;
  font: 8px/1.5 "DM Mono", ui-monospace, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.co-placeholder-name {
  overflow-wrap: anywhere;
}

.co-placeholder-title {
  position: relative;
  z-index: 1;
  max-width: 10ch;
  font: clamp(20px, 2vw, 28px)/1.02 Newsreader, Georgia, serif;
  font-weight: 400;
}

.co-product-image-frame:hover .co-product-image,
.co-product-image-frame:focus-visible .co-product-image {
  transform: scale(1.025);
}

.co-product-image-frame:hover .co-product-image-placeholder::after,
.co-product-image-frame:focus-visible .co-product-image-placeholder::after {
  border-color: rgba(23, 41, 32, .42);
}

.co-product-image-frame:focus-visible {
  outline: 2px solid var(--ink, #172920);
  outline-offset: 4px;
}

.co-product-detail-image {
  height: auto;
  padding: 8%;
}

.co-product-detail-image.co-product-image--lifestyle {
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  .co-product-image {
    transition: none;
  }
}
