/* Enlarged product gallery: circular navigation and a stable product title. */
.site-product .pd-zoom-dialog .pd-zoom-stage { position: relative; }
.site-product .pd-zoom-dialog .pd-zoom-photos { display: grid; grid-template-columns: minmax(0, 1fr); }
.site-product .pd-zoom-dialog .pd-zoom-photos > img { grid-area: 1 / 1; max-height: min(78dvh, calc(100dvh - 112px)); }
.site-product .pd-zoom-dialog .pd-zoom-photos > img[aria-hidden="true"] { opacity: 0; pointer-events: none; }
.site-product .pd-zoom-dialog .pd-zoom-photos > img[aria-hidden="false"] { z-index: 1; }
.site-product .pd-zoom-dialog [data-zoom-status] { top: 0; left: 0; }
.site-product .pd-zoom-dialog .pd-zoom-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #b8cbdc;
  border-radius: 50%;
  background: #fffffff0;
  color: #193b56;
  box-shadow: 0 3px 12px #102c430a;
  cursor: pointer;
  letter-spacing: 0;
  transform: translateY(-50%);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.site-product .pd-zoom-dialog .pd-zoom-arrow[hidden] { display: none; }
.site-product .pd-zoom-dialog .pd-zoom-prev { left: 18px; }
.site-product .pd-zoom-dialog .pd-zoom-next { right: 18px; }
.site-product .pd-zoom-dialog .pd-zoom-arrow svg { display: block; width: 20px; height: 20px; }
.site-product .pd-zoom-dialog .pd-zoom-arrow:hover { background-color: #2853a0; border-color: #2853a0; color: #fff; }
.site-product .pd-zoom-dialog .pd-zoom-arrow:focus-visible { outline: 2px solid #2853a0; outline-offset: 3px; }
.site-product .pd-zoom-dialog .pd-zoom-caption {
  margin: 0;
  padding: 16px 24px;
  color: #173850;
  font: 550 16px / 1.5 var(--demo-body-type);
  letter-spacing: 0;
}
@media (max-width: 560px) {
  .site-product .pd-zoom-dialog .pd-zoom-prev { left: 10px; }
  .site-product .pd-zoom-dialog .pd-zoom-next { right: 10px; }
  .site-product .pd-zoom-dialog .pd-zoom-caption { padding: 14px 20px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-product .pd-zoom-dialog .pd-zoom-arrow { transition: none; }
  .site-product .pd-zoom-dialog[open],
  .site-product .pd-zoom-dialog[open]::backdrop { animation: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .site-product .pd-zoom-dialog[open] { animation: pd-zoom-open 260ms cubic-bezier(.2,.7,.2,1); }
  .site-product .pd-zoom-dialog[open]::backdrop { animation: backdrop-enter 220ms ease-out; }
  .site-product .pd-zoom-dialog .pd-zoom-photos > img { transition: opacity 280ms ease; }
}
@keyframes pd-zoom-open {
  from { opacity: 0; transform: scale(.98); }
  to { opacity: 1; transform: none; }
}
