.b2b-product-gallery__enlarge {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.b2b-product-gallery__enlarge:focus-visible { outline: 3px solid #1265c8; outline-offset: -4px; }
html.b2b-lightbox-open { overflow: hidden; }
.b2b-lightbox {
  box-sizing: border-box;
  width: min(96vw, 1500px);
  height: 94vh;
  height: 94dvh;
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid #dbe5ee;
  border-radius: 14px;
  background: #fff;
  color: #103668;
}
.b2b-lightbox::backdrop { background: rgb(8 23 43 / 86%); }
.b2b-lightbox[open] { display: flex; flex-direction: column; }
.b2b-lightbox__toolbar { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-bottom: 1px solid #e4ebf2; }
.b2b-lightbox__counter { margin-right: auto; font: 500 15px/1.4 system-ui, sans-serif; }
.b2b-lightbox button { flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 6px 12px; border: 1px solid #cbd9e7; border-radius: 8px; background: #f5f9fd; color: #103668; cursor: pointer; font: 500 15px/1 system-ui, sans-serif; }
.b2b-lightbox button:focus-visible { outline: 3px solid #1265c8; outline-offset: 2px; }
.b2b-lightbox .b2b-lightbox__close { font-size: 30px; }
.b2b-lightbox__body { display: flex; align-items: center; flex: 1; min-height: 0; gap: 10px; padding: 12px; }
.b2b-lightbox .b2b-lightbox__previous, .b2b-lightbox .b2b-lightbox__next { font-size: 32px; }
.b2b-lightbox__viewport { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; height: 100%; overflow: auto; touch-action: pan-y pinch-zoom; }
.b2b-lightbox__image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
.b2b-lightbox.is-zoomed .b2b-lightbox__viewport { display: block; touch-action: auto; }
.b2b-lightbox.is-zoomed .b2b-lightbox__image { max-width: none; max-height: none; margin: auto; cursor: zoom-out; }
@media (max-width: 600px) {
  .b2b-lightbox { width: 100%; height: 100dvh; border-radius: 0; }
  .b2b-lightbox__body { display: grid; grid-template: minmax(0, 1fr) 48px / 1fr 1fr; gap: 8px; padding: 4px 4px max(8px, env(safe-area-inset-bottom)); }
  .b2b-lightbox__viewport { grid-area: 1 / 1 / 2 / 3; }
  .b2b-lightbox__previous { grid-area: 2 / 1; justify-self: end; }
  .b2b-lightbox__next { grid-area: 2 / 2; justify-self: start; }
  .b2b-lightbox button { padding: 6px; }
}
