/* Quiet, complete product covers. Existing photos remain in every gallery. */
.product-cover-card .product-cover-media.has-clean-cover {
  display: block;
  aspect-ratio: 1;
  min-height: 0;
  padding: 0;
  background: #f4eee6;
}
.product-cover-card .product-cover-media.has-clean-cover > img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  transform: none !important;
}
.product-cover-media.has-clean-cover::before,
.product-cover-media.has-clean-cover::after,
.product-cover-media.has-clean-cover > span {
  display: none;
}
.product-cover-media.has-clean-cover > strong {
  opacity: 0;
  color: #fff;
  background: #28313edb;
}
.product-cover-media.has-clean-cover:hover > strong,
.product-cover-media.has-clean-cover:focus-visible > strong {
  opacity: 1;
}
.detail-page .detail-media.has-clean-cover .detail-gallery-stage {
  display: block;
  aspect-ratio: 1;
  min-height: 0;
  background: #f4eee6;
}
.detail-page .detail-media.has-clean-cover .detail-gallery-stage > img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  transform: none;
}
.detail-media.has-clean-cover .detail-gallery-thumbs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.detail-media.has-clean-cover .detail-gallery-thumbs img {
  aspect-ratio: 1;
  object-fit: contain;
}
.product-gallery.has-clean-cover .gallery-stage,
.product-gallery.has-clean-cover .gallery-image-button {
  background: #f4eee6;
}
.product-gallery.has-clean-cover .gallery-image-button > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.product-gallery.has-clean-cover .gallery-thumbnails {
  display: flex;
  max-width: none;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 1px 7px;
  scroll-snap-type: x proximity;
}
.product-gallery.has-clean-cover .thumbnail {
  flex: 0 0 88px;
  scroll-snap-align: start;
}
@media (max-width: 600px) {
  .product-gallery.has-clean-cover .thumbnail { flex-basis: 74px; }
}
