.shop-services {
  display: grid;
  gap: 32px;
}

.shop-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "media" "copy";
}

.shop-service-media { grid-area: media; min-width: 0; }
.shop-service-copy { grid-area: copy; min-width: 0; }

@media (min-width: 768px) {
  .shop-services { gap: 14px; }
  .shop-service {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "media copy";
    gap: 14px;
  }
  .shop-service--text-first { grid-template-areas: "copy media"; }
}

.shop-gallery {
  position: absolute;
  inset: 0;
  isolation: isolate;
}

.shop-gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.shop-gallery-track::-webkit-scrollbar { display: none; }

.shop-gallery .shop-gallery-slide {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.shop-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 64px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .5));
}

.shop-gallery-prev { left: 12px; }
.shop-gallery-next { right: 12px; }
.shop-gallery-arrow svg { width: 26px; height: 46px; }
.shop-gallery-arrow:disabled { opacity: .35; cursor: default; }

@media (max-width: 767px) {
  .shop-gallery-arrow svg { width: 18px; height: 32px; }
}

.shop-gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  max-width: calc(100% - 32px);
  flex-wrap: wrap;
  justify-content: center;
}

.shop-gallery-dot {
  display: grid;
  place-items: center;
  width: 16px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.shop-gallery-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.shop-gallery-dot[aria-current="true"]::before { background: #fff; }
.shop-gallery-dot:disabled { cursor: default; }
.shop-gallery button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.shop-gallery-track:focus-visible { outline: 2px solid #009bdd; outline-offset: -4px; }
