.photo-track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.photo-track::-webkit-scrollbar { display: none; }
.photo-track > .photo-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.photo-track:focus-visible { outline: 3px solid #00798b; outline-offset: -4px; }
.photo-track img, .book-gallery__track img { -webkit-user-select: none; user-select: none; }
.photo-track, .book-gallery__track { touch-action: auto; }
.photo-track[data-dragging], .book-gallery__track[data-dragging] { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.photo-dots { display: none; }
.photo-dots:empty { display: none; }

#shop-dialog [data-shop-image] { object-fit: contain; }
.domdom-home { display: flex; justify-content: center; margin-top: clamp(20px, 3vw, 40px); }
.domdom-home a {
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  min-height: 44px; padding: 8px 18px; border: 1px solid #bd7367; border-radius: 30px;
  color: var(--red); font-size: clamp(12px, 1.2vw, 14px); font-weight: 750;
}
.domdom-home a > span[aria-hidden] { font-size: 1.2em; }
.domdom-home a:is(:hover, :focus-visible) { background: #fae9db; }

@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-width: 950px) {
  .photo-pager,
  .book-gallery__controls > [data-look-step], .book-gallery__controls > .book-gallery__count { display: none; }
  .photo-dots:not(:empty) {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    min-width: 0; gap: 0;
  }
  .photo-dots button, .book-gallery__controls .photo-dots button {
    display: grid; place-items: center; width: 25px; height: 32px; padding: 0;
    border: 0; border-radius: 8px; background: transparent;
  }
  .photo-dots button::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%; background: #c9b6a8;
  }
  .photo-dots button[aria-current="true"]::before { width: 7px; height: 7px; background: var(--red); }
  .product-card > .photo-dots { margin: 1px 0 -4px; }
  .book-gallery__track { grid-auto-columns: 100%; scrollbar-width: none; }
  .book-gallery__track::-webkit-scrollbar { display: none; }
  .book-gallery__controls { justify-content: center; margin-top: 0; }
  .book-gallery__controls[hidden] { display: none; }
}

.product-card .product-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.card-body > .product-color {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0;
  color: #785f50;
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.5;
}
.color-current { color: #492c22; font-weight: 750; }
