/* Keep intrinsic photo and specification sizes inside the product dialog. */
#item .detail {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
}
#item .detail > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
#item .pic.big {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
}
#item .pic.big img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
  box-sizing: border-box;
}
#item .ft { table-layout: fixed; }
#item .spec { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  #item .detail { grid-template-columns: minmax(0, 1fr); }
  #item .pic.big { max-width: 320px; justify-self: center; }
}
