.product-media-column { min-width: 0; }
.photo-gallery { margin-top: 18px; min-width: 0; }
/* Keep the existing JS hooks, but show navigation buttons only in the lightbox. */
.photo-gallery-arrows { display: none; }
.photo-gallery button { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: #182332; color: var(--neon); font-size: 26px; cursor: pointer; }
.photo-gallery button:disabled { opacity: .35; cursor: default; }
.photo-gallery :focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
.photo-gallery-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 10px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.photo-gallery-item { flex: 0 0 150px; scroll-snap-align: start; border-radius: 14px; overflow: hidden; }
.photo-gallery-item img { display: block; width: 100%; height: 112px; object-fit: cover; }
.photo-lightbox { padding: 12px; width: min(1100px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); border: 1px solid var(--line-strong); border-radius: 18px; background: #07090d; color: var(--text); }
.photo-lightbox::backdrop { background: rgb(0 0 0 / 85%); }
.photo-lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 8px; }
.photo-lightbox-stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.photo-lightbox-stage img { width: 100%; height: min(75vh, 800px); height: min(75dvh, 800px); object-fit: contain; touch-action: pan-y pinch-zoom; }
@media (max-width: 480px) {
    .photo-lightbox { padding: 8px; }
    .photo-lightbox-stage { gap: 2px; }
    .photo-gallery-item { flex-basis: 136px; }
}
