.pet-pairs,
.figurine-gallery {
  --pair-stripe-width: var(--section-stripe-width);
  background: repeating-linear-gradient(90deg, #f6f4ed 0 var(--pair-stripe-width), #fcfbf8 var(--pair-stripe-width) calc(var(--pair-stripe-width) * 2));
}
.pet-pairs {
  --pair-gap: clamp(24px, 4.2vw, 64px);
  padding-top: clamp(48px, 4.7vw, 72px);
  padding-bottom: clamp(48px, 4.7vw, 72px);
  color: var(--brown);
}
.pet-pairs-heading { text-align: center; margin: 0 auto 34px; }
.pet-pairs-heading h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.pet-pairs-heading h2 span {
  display: inline-block;
  color: var(--pink);
}
.pet-pairs-heading p {
  margin: 18px 0 0;
  font: italic 400 18.4px/1.4 Georgia, 'Times New Roman', serif;
}
.pet-pairs-gallery { position: relative; max-width: 870px; margin: 0 auto; padding: 0 70px; }
.pet-pairs-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
}
.pet-pairs-track::-webkit-scrollbar { display: none; }
.pet-pairs-track:focus-visible { outline: 2px solid var(--brown); outline-offset: 6px; }
.pet-pairs-gallery.has-multiple-pairs .pet-pairs-track { cursor: grab; }
.pet-pairs-gallery.has-multiple-pairs .pet-pairs-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.pet-pair { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.pet-pair-photos { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pair-gap); }
.pet-pair-photo { min-width: 0; }
.pet-pair-image {
  position: relative;
  padding: 7px;
  background: #fcfbf8;
  border: 1px solid #25181815;
  border-radius: 3px;
}
.pet-pair-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.pet-pair-photo figcaption { margin-top: 13px; font-size: 14px; font-weight: 700; text-align: center; }
.pet-pair-size {
  position: absolute;
  bottom: 21px;
  left: 20px;
  padding: 7px 13px 9px;
  border: 1px solid #25181816;
  border-radius: 2px;
  background: #fcfbf8;
  color: var(--brown);
  font: italic 700 30px/1 Georgia, 'Times New Roman', serif;
  transform: rotate(-4deg);
}
.pet-pair-size > span { font-size: 20px; }
.pet-pair-connector { position: absolute; top: calc(50% - 17px); left: 50%; transform: translate(-50%, -50%); color: var(--brown); }
.pet-pair-connector svg { width: 30px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.pet-pair-note { margin: 25px 0 0; text-align: center; font-size: 12px; line-height: 1.5; }
.pet-pairs-controls { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding-bottom: 77px; pointer-events: none; }
.pet-pairs-controls[hidden] { display: none; }
.pet-pairs-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid #25181845;
  border-radius: 50%;
  color: var(--brown);
  background: #fcfbf8;
  pointer-events: auto;
  transition: background .2s, opacity .2s;
}
.pet-pairs-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pet-pairs-arrow:hover:not(:disabled) { background: var(--pink); }
.pet-pairs-arrow:disabled { opacity: .25; cursor: default; }
@media (max-width: 900px) {
  .pet-pairs-gallery { padding: 0 50px; }
  .pet-pairs-heading { max-width: 670px; }
  .pet-pair-connector svg { width: 23px; }
}
@media (max-width: 560px) {
  .pet-pairs { --pair-gap: 16px; padding: 42px 20px; }
  .pet-pairs-heading { margin-bottom: 26px; }
  .pet-pairs-heading h2 { font-size: clamp(30px, 8.2vw, 40px); }
  .pet-pairs-heading p { max-width: 27ch; margin: 16px auto 0; font-size: 17px; }
  .pet-pairs-gallery { padding: 0; }
  .pet-pair-connector { display: none; }
  .pet-pair-image { padding: 4px; }
  .pet-pair-photo figcaption { font-size: 12px; margin-top: 10px; }
  .pet-pair-size { left: 12px; bottom: 13px; font-size: 23px; padding: 5px 9px 7px; }
  .pet-pair-size > span { font-size: 16px; }
  .pet-pair-note { font-size: 11px; margin-top: 20px; }
  .pet-pairs-controls { position: static; justify-content: flex-end; gap: 8px; padding: 0 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .pet-pairs-arrow { transition: none; } }
