.shop-gallery {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  background: #d6c2a8;
}
.shop-gallery > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-gallery > [hidden] {display: none !important}
.shops .shop-gallery-home {height: auto; aspect-ratio: 4 / 3}
.location-main > .shop-gallery-access {aspect-ratio: 4 / 3; align-self: start}
.shop-gallery .shop-gallery-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: #21150dcc;
  border: 1px solid #fff9;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .2s ease;
}
.shop-gallery-arrow:hover {background: #773321}
.shop-gallery-arrow svg {width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round}
.shop-gallery-prev {left: 9px}
.shop-gallery-next {right: 9px}
.shop-gallery-arrow:focus-visible {outline: 2px solid #fff; outline-offset: 2px}
.shop-gallery-count {
  position: absolute;
  z-index: 1;
  inset: auto 9px 9px auto;
  color: #fff;
  background: #21150dcc;
  padding: 3px 9px;
  border-radius: 16px;
  font: 12px/1.4 system-ui,sans-serif;
  font-variant-numeric: tabular-nums;
}
.shop-gallery-sr {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap}

/* Home store photos use the same centered crop as the locations page. */
.shops .shop-gallery-home > .store-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
