/* 产品详情页「样品」图片自动排版（2026-11-28）
   后台只插图、不排版时，前台把纯图片区块排成响应式网格。 */

.pd-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: start;
  margin: 8px 0;
}

.pd-gallery figure {
  margin: 0;
  min-width: 0;
}

.pd-gallery img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 6px;
}

@media (max-width: 700px) {
  .pd-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
