/* Phygital section styles — isolated from the application Core. */
.phygital-lightbox[hidden] { display: none !important; }
.phygital-lightbox:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
}
.phygital-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}
.phygital-lightbox-image {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
@media (max-width: 520px) {
  #module-phygital .panel > div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
