#zp-photobooks[data-pb-family="product"] .pb-product-showcase:has(> .pb-cutout-gallery) {
  grid-template-columns: minmax(0, 48.5%) minmax(0, 1fr);
  column-gap: clamp(16px, 2.4vw, 36px);
}

#zp-photobooks .pb-product-showcase .pb-cutout-gallery { min-width: 0; }

#zp-photobooks .pb-product-showcase .pb-cutout-gallery .pb-product-stage {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

#zp-photobooks[data-pb-family="product"] .pb-product-showcase .pb-cutout-gallery .pb-product-stage .pb-product-photo > figure > a {
  min-height: 0;
  aspect-ratio: 1.6;
  padding: clamp(8px, 2vw, 26px);
  background: transparent;
}

#zp-photobooks[data-pb-family="product"] .pb-product-showcase .pb-cutout-gallery .pb-product-stage .pb-product-photo img {
  object-fit: contain;
  filter: none;
  box-shadow: none;
  background: transparent;
}

#zp-photobooks .pb-cutout-gallery .pb-product-photo figcaption {
  position: static;
  width: auto;
  height: auto;
  min-height: 2.4em;
  padding: 4px 0;
  overflow: visible;
  clip-path: none;
  color: var(--pb-muted);
  font-size: .875rem;
  text-align: center;
}

#zp-photobooks .pb-cutout-gallery .pb-product-progress { height: 2px; background: var(--pb-line); }
#zp-photobooks .pb-cutout-gallery .pb-product-progress span { background: var(--pb-accent); }

#zp-photobooks .pb-product-showcase .pb-cutout-gallery .pb-product-controls:not([hidden]) {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 6px;
  align-items: center;
  margin: 10px 0 0;
}

#zp-photobooks .pb-cutout-gallery .pb-product-controls [data-product-step]:not([hidden]) {
  position: static;
  border: 1px solid var(--pb-line);
}

#zp-photobooks .pb-cutout-gallery [data-product-step]:disabled {
  visibility: visible;
  opacity: .44;
  cursor: default;
}

#zp-photobooks .pb-cutout-gallery [data-product-step]:not(:disabled):hover { background: var(--pb-lilac); }

#zp-photobooks .pb-product-showcase .pb-cutout-gallery .pb-product-thumbs {
  justify-content: center;
  gap: 6px;
  padding: 3px;
}

#zp-photobooks .pb-cutout-gallery .pb-product-thumbs button {
  min-height: 44px;
  border: 1px solid var(--pb-line);
  border-radius: 8px;
  background: transparent;
}

#zp-photobooks .pb-cutout-gallery .pb-product-thumbs button[aria-pressed="true"] { border-color: var(--pb-accent); }
#zp-photobooks .pb-cutout-gallery .pb-product-thumbs img { object-fit: contain; background: transparent; }

#zp-photobooks .pb-product-showcase .pb-cutout-gallery .pb-model-flip-link {
  position: static;
  margin: 12px 0 0;
}

#zp-photobooks .pb-cutout-gallery .pb-model-flip-link .pb-button {
  border: 1px solid var(--pb-line);
  border-radius: 8px;
}

#zp-photobooks .pb-cutout-gallery :is(button, a):focus-visible {
  outline: 2px solid var(--pb-accent);
  outline-offset: 2px;
}

#zp-photobooks .pb-product-showcase > .pb-calendar-product-art {
  grid-area: photo;
  min-width: 0;
}

#zp-photobooks .pb-calendar-product-art figure > a {
  display: grid;
  grid-template-rows: clamp(295px, 36vw, 455px) 44px;
  justify-items: center;
  align-items: center;
  color: var(--pb-accent);
  text-align: center;
}

#zp-photobooks .pb-calendar-product-art img {
  width: 100%;
  height: 100%;
  background: transparent;
  box-shadow: none;
  filter: none;
  object-fit: contain;
}

#zp-photobooks .pb-calendar-art-zoom { text-decoration: underline; text-underline-offset: .22em; }
#zp-photobooks .pb-calendar-product-art a:focus-visible { outline: 2px solid var(--pb-accent); outline-offset: 3px; }

@media (max-width: 760px) {
  #zp-photobooks[data-pb-family="product"] .pb-product-showcase:has(> .pb-cutout-gallery) {
    grid-template-columns: minmax(0, 1fr);
  }
  #zp-photobooks .pb-calendar-product-art figure > a { grid-template-rows: clamp(205px, 62vw, 330px) 44px; }
}
