/* Shared photos: native scrolling remains usable when JavaScript is unavailable. */
.np-gallery { min-width: 0; }
.np-gallery__stage { position: relative; min-width: 0; }
.np-gallery__track { display: flex; position: relative; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; max-height: 480px; min-height: 0; border-radius: var(--np-r-photo); background: var(--np-soft); }
.np-gallery__track::-webkit-scrollbar { display: none; }
.np-gallery__slide { display: grid; place-items: center; flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: start; cursor: zoom-in; }
.np-gallery__slide img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.np-gallery__slide:focus-visible, .np-gallery__thumbs button:focus-visible, .np-gallery__arrow:focus-visible { outline: 3px solid var(--np-accent); outline-offset: -3px; }
.np-gallery__zoom, .np-gallery__counter { position: absolute; z-index: 1; background: var(--np-card); color: var(--np-ink); padding: 6px 10px; border-radius: var(--np-r-pill); font: 500 12px/1.4 var(--np-ui); pointer-events: none; }
.np-gallery__zoom { top: 12px; right: 12px; }
.np-gallery__counter { right: 12px; bottom: 12px; font-variant-numeric: tabular-nums; }
.np-gallery__arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--np-line); border-radius: 50%; background: var(--np-card); color: var(--np-ink); font: 28px/1 var(--np-ui); cursor: pointer; box-shadow: var(--np-shadow); }
.np-gallery__arrow--prev { left: 10px; }
.np-gallery__arrow--next { right: 10px; }
.np-gallery__arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.np-gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 3px; margin-top: 10px; }
.np-gallery__thumbs button { flex: 0 0 64px; width: 64px; height: 64px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: var(--np-soft); cursor: pointer; }
.np-gallery__thumbs button[aria-current] { border-color: var(--np-accent); }
.np-gallery__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.np-gallery [hidden] { display: none !important; }
.nps-photo-link { display: block; cursor: zoom-in; }
.story__photo > .nps-photo-link { width: 100%; height: 100%; }
.dessert-content .wp-block-gallery.has-nested-images figure.wp-block-image > .nps-photo-link { width: 100%; }
.pswp { z-index: 100001; --pswp-bg: var(--np-ink); font-family: var(--np-ui); }
.pswp__nps-caption { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: min(760px, calc(100% - 32px)); padding: 8px 16px; border-radius: 12px; background: rgba(0, 0, 0, .65); color: #fff; font: 400 14px/1.5 var(--np-ui); text-align: center; }
.pswp__nps-caption[hidden] { display: none; }
.pdp__nophoto { width: 100%; margin: 0; aspect-ratio: 4 / 5; max-height: 480px; background: var(--np-soft); border-radius: var(--np-r-photo); }
@media (max-width: 760px) {
  .pdp__gallery .np-gallery__track { border-radius: 0; }
  .pdp__gallery .np-gallery__thumbs { padding-inline: 16px; }
  .np-gallery__thumbs button { flex-basis: 56px; width: 56px; height: 56px; }
}
