.product-card--gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(240px, 2fr);
  min-width: 0;
  scroll-margin-top: 100px;
}
.product-card--gallery > .product-copy { align-self: center; }
.product-card--gallery > .product-media { aspect-ratio: auto; min-width: 0; background: #fff; }
.product-gallery {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 56px;
  height: 480px;
  width: 100%;
  min-width: 0;
  background: #fff;
}
.product-gallery-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-width: 0;
  overscroll-behavior-x: contain;
}
.product-gallery-track::-webkit-scrollbar { display: none; }
.product-gallery-slide {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 56px;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}
.product-gallery-slide img { min-height: 0; }
.product-gallery-slide figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #173b1f;
  overflow-wrap: anywhere;
}
.product-gallery-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #d9e2d5;
}
.product-gallery-controls button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d9e2d5;
  border-radius: 6px;
  background: #fff;
  color: #21552d;
  cursor: pointer;
}
.product-gallery-controls button:hover { background: #e8f1e5; }
.product-gallery-controls button:focus-visible, .product-gallery-track:focus-visible {
  outline: 3px solid #c94332;
  outline-offset: -3px;
}
.product-gallery-count {
  width: 5ch;
  text-align: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.gallery-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 620px) {
  .product-card--gallery { grid-template-columns: minmax(0, 1fr); }
  .product-card--gallery .product-gallery { height: 380px; }
  .product-card--gallery .product-gallery-slide img { padding: 16px; }
  .product-card--gallery .product-copy { padding: 16px; }
  .product-card--gallery .product-copy h3 { font-size: 18px; line-height: 1.3; }
  .product-card--gallery .product-copy .presentation { font-size: 14px; }
  .product-card--gallery .product-gallery-slide figcaption { font-size: 16px; }
}
