/* Product detail stability: media content must never resize the information column. */
.product-dialog{
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
}
.baseline-gallery,
.product-copy{
  min-width:0;
  max-width:100%;
}
.gallery-stage{
  width:100%;
  max-width:100%;
}
.gallery-stage>img{
  display:block;
  max-width:100%;
  object-fit:contain;
}
.gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(6,minmax(52px,80px));
  align-items:start;
  justify-content:start;
  gap:8px;
  overflow:visible;
  max-width:100%;
}
.gallery-thumb{
  width:100%;
  min-width:0;
}
.gallery-thumb img{object-fit:contain}
.product-description{
  max-height:11.5em;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding-right:12px;
  scrollbar-width:thin;
  scrollbar-color:#b9c1cb transparent;
}
.product-description::-webkit-scrollbar{width:6px}
.product-description::-webkit-scrollbar-track{background:transparent}
.product-description::-webkit-scrollbar-thumb{background:#b9c1cb;border-radius:999px}
.product-description:focus-visible{
  outline:2px solid rgba(225,78,44,.35);
  outline-offset:4px;
  border-radius:4px;
}
@media(max-width:1050px){
  .gallery-thumbs{grid-template-columns:repeat(5,minmax(52px,80px))}
}
@media(max-width:800px){
  .product-dialog{grid-template-columns:minmax(0,1fr)}
  .gallery-thumbs{grid-template-columns:repeat(6,minmax(44px,80px))}
}
@media(max-width:560px){
  .gallery-thumbs{grid-template-columns:repeat(4,minmax(44px,80px))}
  .product-description{max-height:10.2em}
}
