#zp-photobooks .pb-page-body > .pb-display-shelf {
  margin-block: clamp(54px,9vw,110px);
  padding: 0;
  border: 0;
  background: #fff;
  scroll-margin-top: 94px;
}
#zp-photobooks .pb-page-body > .pb-display-shelf > h2 {
  margin: 0 0 clamp(22px,4.2vw,47px);
  font-size: clamp(1.7rem,3.7vw,2.95rem);
  text-align: center;
  text-wrap: balance;
  line-height: 1.14;
}
#zp-photobooks .pb-display-shelf > .pb-display-tiles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(17px,4vw,40px) clamp(12px,2.5vw,30px);
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: none;
}
#zp-photobooks .pb-display-shelf > .pb-display-tiles > li { margin-top: 0; }
#zp-photobooks .pb-display-tiles > li { flex: 0 0 calc((100% - 3 * clamp(12px,2.5vw,30px)) / 4); min-width: 0; }
#zp-photobooks .pb-display-tiles a {
  height: 100%; display: flex; flex-direction: column; text-align: center; align-items: center;
  color: var(--pb-ink); text-decoration: none;
}
#zp-photobooks .pb-display-tiles figure {
  position: relative; width: 100%; aspect-ratio: 1.12; margin: 0 0 12px;
}
#zp-photobooks .pb-display-tiles img {
  position: absolute; inset: 0; margin: auto; display: block; width: 92%; height: 86%;
  max-width: 210px; max-height: 210px; object-fit: contain; filter: drop-shadow(0 10px 9px rgb(33 24 43 / .22));
}
#zp-photobooks .pb-display-bindings figure { aspect-ratio: 1.62; }
#zp-photobooks .pb-display-bindings figure img { max-width: 245px; }
#zp-photobooks .pb-display-tiles h3 { font-size: clamp(1.05rem,2.1vw,1.45rem); line-height: 1.22; margin: 0; text-wrap: balance; }
#zp-photobooks .pb-display-tiles p { margin: 7px 0 9px; color: var(--pb-muted); font-size: 1rem; line-height: 1.38; }
#zp-photobooks .pb-display-link {
  margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; gap: 4px;
  color: var(--pb-accent); font-weight: 600; font-size: .9rem;
}
#zp-photobooks .pb-display-meta { font-size: .87rem; color: var(--pb-muted); }
#zp-photobooks .pb-display-tiles a:hover :is(.pb-display-link,h3) { text-decoration: underline; text-underline-offset: .2em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #zp-photobooks .pb-display-tiles img { transition: transform 220ms ease; }
  #zp-photobooks .pb-display-tiles a:hover img { transform: translateY(-4px); }
}
@media (max-width: 605px) {
  #zp-photobooks .pb-display-tiles > li { flex-basis: calc((100% - 12px) / 2); }
}
