/* Only the two rectangular elbows receive this class. */
.vs-elbow-guide-card .pc-controls { min-width: 0; }
.vs-elbow-guide-card .pc-visual > .pc-more-trigger {
  margin-top: auto;
  padding-top: 0;
  line-height: 14px;
  min-height: 14px;
  box-sizing: content-box;
  flex-shrink: 0;
}
.vs-elbow-guide-card .vs-elbow-guide-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  max-width: 100%;
  min-height: 14px;
  box-sizing: content-box;
  flex-shrink: 0;
  font: 700 11px/14px Arial, sans-serif;
  color: #2563eb;
  text-decoration: none;
  cursor: pointer;
}
.vs-elbow-guide-card .vs-elbow-guide-link:hover { text-decoration: underline; }
.vs-elbow-guide-link:focus-visible,
.vs-elbow-guide-native-toolbar :focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
.vs-elbow-guide-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.vs-elbow-guide-heading .cr-title { min-width: 0; }
.vs-elbow-guide-heading .vs-elbow-guide-link { align-self: auto; margin-top: 0; padding-top: 0; white-space: nowrap; }
/* Extra controls extend the existing product-photo lightbox for this memo only. */
.vs-elbow-guide-native-toolbar[hidden],
.vs-elbow-guide-native-toolbar a[hidden] { display: none; }
.vs-elbow-guide-native-toolbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.vs-elbow-guide-native-toolbar button,
.vs-elbow-guide-native-toolbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 38px;
  padding: 8px 14px;
  margin: 0;
  border: 1px solid #d5e1e9;
  border-radius: 6px;
  background: #fff;
  color: #2563eb;
  font: 700 13px/20px Arial, sans-serif;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.vs-elbow-guide-native-toolbar button:hover,
.vs-elbow-guide-native-toolbar a:hover { background: #eaf4fb; }
#imageLightbox.vs-elbow-guide-active #lightboxImg { cursor: zoom-in; }
#imageLightbox.vs-elbow-guide-active #lightboxClose {
  position: fixed;
  top: 16px;
  right: 14px;
  z-index: 4;
}
#imageLightbox.vs-elbow-guide-zoom .image-lightbox-wrapper {
  width: calc(100% - 112px);
  max-width: 1400px;
  height: calc(100vh - 92px);
  height: calc(100dvh - 92px);
  max-height: none;
  margin-top: 48px;
}
#imageLightbox.vs-elbow-guide-zoom #lightboxPrev {
  position: fixed;
  left: 8px;
  top: 50%;
}
#imageLightbox.vs-elbow-guide-zoom #lightboxNext {
  position: fixed;
  right: 8px;
  top: 50%;
}
.vs-elbow-guide-viewport {
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}
#imageLightbox.vs-elbow-guide-zoom #lightboxImg {
  display: block;
  width: 1200px;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0 auto;
  cursor: zoom-out;
}
@media (max-width: 480px) {
  .vs-elbow-guide-native-toolbar { left: 12px; transform: none; }
  .vs-elbow-guide-native-toolbar button,
  .vs-elbow-guide-native-toolbar a { padding: 8px 10px; }
  #imageLightbox.vs-elbow-guide-zoom .image-lightbox-wrapper { width: calc(100% - 92px); }
}