.product-photos { padding-block: 2rem; }
.product-photos .photo-selector {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}
.product-photos .photo-choice {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.product-photos .photo-view {
  display: none;
  order: -1;
  flex: 0 0 100%;
  min-width: 0;
  margin: 0 0 .4rem;
  overflow: hidden;
  border: 1px solid #394150;
  border-radius: 1rem;
  background: #10131b;
}
.product-photos .photo-view img {
  display: block;
  width: 100%;
  height: clamp(17rem, 54vh, 31rem);
  object-fit: contain;
}
.product-photos .photo-view figcaption {
  padding: .7rem 1rem;
  border-top: 1px solid #394150;
  color: #e7eaf0;
  font-size: 1rem;
  line-height: 1.6;
}
.product-photos .photo-thumbnail {
  display: grid;
  place-items: center;
  width: clamp(3.2rem, 12vw, 5.5rem);
  height: clamp(3.2rem, 12vw, 4.3rem);
  padding: .18rem;
  border: 2px solid #3d4553;
  border-radius: .55rem;
  background: #151923;
  cursor: pointer;
}
.product-photos .photo-thumbnail img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-photos .photo-choice:checked + label { border-color: #79dbed; }
.product-photos .photo-choice:checked + label + figure { display: block; }
.product-photos .photo-choice:focus-visible + label { outline: 3px solid #fff; outline-offset: 2px; }
.product-photos .photo-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  border-top: 1px solid #394150;
  padding-top: 1rem;
}
.product-photos .photo-contact img { object-fit: contain; background: #fff; border-radius: .4rem; padding: .2rem; }
.product-photos .photo-contact-company { display: grid; justify-items: start; gap: .2rem; }
.product-photos .photo-contact-links { margin-inline-start: auto; display: flex; flex-wrap: wrap; column-gap: 1rem; row-gap: .5rem; }
.product-photos .photo-contact a { color: #92e2f2; text-decoration: underline; text-underline-offset: .2em; }
@media(max-width: 460px) {
  .product-photos .photo-contact-links { width: 100%; }
}
