/* ONCU_PRODUCT_LIGHTBOX_V1 — Scoped to public product detail only. */
.ot-detail-page .ot-lightbox-trigger {
  appearance: none; background: #eff6ff; border: 1px solid #bfd7f9;
  color: #0754a6; border-radius: 8px; cursor: zoom-in;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; font: inherit; font-weight: 700; min-height: 36px;
  padding: 8px 13px; transition: background-color .15s ease;
}
.ot-detail-page .ot-lightbox-trigger:hover { background: #deebff; }
.ot-detail-page .ot-lightbox-trigger:focus-visible,
.ot-detail-page .ot-lightbox-openable:focus-visible { outline: 3px solid #2388fb; outline-offset: 3px; }
.ot-detail-page .ot-lightbox-openable { cursor: zoom-in; }
.ot-product-lightbox { position: fixed; inset: 0; width: 100vw; max-width: 100vw; height: 100vh;
  height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0;
  background: #071427; color: #fff; z-index: 2147483000; overflow: hidden;
}
.ot-product-lightbox::backdrop { background: rgba(3, 12, 28, .93); }
.ot-product-lightbox:not([open]) { display: none; }
.ot-product-lightbox[open] { display: block; }
.ot-product-lightbox .ot-pl-content { box-sizing: border-box; display: flex; flex-direction: column;
  width: 100%; height: 100%; padding: 12px max(12px, env(safe-area-inset-right))
  max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
.ot-product-lightbox .ot-pl-toolbar { min-height: 48px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; }
.ot-product-lightbox .ot-pl-counter { font-size: 14px; font-weight: 600; color: #daebff; }
.ot-product-lightbox .ot-pl-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.ot-product-lightbox .ot-pl-action { color: #fff; border: 1px solid #526984;
  background: #1d3555; border-radius: 9px; padding: 8px 12px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700; min-height: 40px; }
.ot-product-lightbox .ot-pl-close { font-size: 22px; padding: 4px 14px; }
.ot-product-lightbox .ot-pl-action:hover, .ot-product-lightbox .ot-pl-arrow:hover { background: #36587f; }
.ot-product-lightbox .ot-pl-stage { flex: 1; min-height: 0; display: grid; align-items: center;
  grid-template-columns: 54px minmax(0,1fr) 54px; gap: 5px; }
.ot-product-lightbox .ot-pl-canvas { width: 100%; height: 100%; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: auto; overscroll-behavior: contain; touch-action: pan-y; }
.ot-product-lightbox .ot-pl-image { box-sizing: border-box; display: block;
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  margin: auto; object-fit: contain; object-position: center; }
.ot-product-lightbox .ot-pl-image[hidden], .ot-product-lightbox .ot-pl-error[hidden] { display: none !important; }
.ot-product-lightbox.ot-pl-is-zoomed .ot-pl-image { max-width: none; max-height: none;
  width: 150%; min-width: 150%; flex-shrink: 0; height: auto; }
.ot-product-lightbox.ot-pl-is-zoomed .ot-pl-canvas { touch-action: auto; }
.ot-product-lightbox .ot-pl-arrow { min-height: 60px; background: #162f50;
  color: #fff; border: 1px solid #3b5676; border-radius: 10px;
  cursor: pointer; font-size: 42px; line-height: 1; }
.ot-product-lightbox .ot-pl-arrow[hidden] { display: none !important; }
.ot-product-lightbox .ot-pl-error { color: #ffe0e0; text-align: center; padding: 18px; }
.ot-product-lightbox .ot-pl-action:focus-visible, .ot-product-lightbox .ot-pl-arrow:focus-visible {
  outline: 3px solid #8bbcff; outline-offset: 2px;
}
@media (max-width: 680px) {
  .ot-product-lightbox .ot-pl-stage { grid-template-columns: 34px minmax(0,1fr) 34px; gap: 3px; }
  .ot-product-lightbox.ot-pl-is-zoomed .ot-pl-canvas { touch-action: auto; }
.ot-product-lightbox .ot-pl-arrow { min-height: 54px; font-size: 30px; padding: 0; }
  .ot-product-lightbox .ot-pl-counter { font-size: 12px; }
  .ot-product-lightbox .ot-pl-zoom { font-size: 12px; padding: 8px; }
  .ot-product-lightbox .ot-pl-close { font-size: 22px; padding: 3px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ot-detail-page .ot-lightbox-trigger { transition: none; }
}
