/* Product lightbox overlay (see js/product-lightbox.js) */
.pl-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  z-index: 99999;
  text-align: center;
}
.pl-overlay.pl-open { display: block; }
.pl-overlay .pl-img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 88vh;
  border: 4px solid #fff;
  border-radius: 4px;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
  background: #fff;
}
.pl-overlay .pl-close {
  position: absolute;
  top: 12px; right: 24px;
  color: #fff;
  font: 400 44px/1 Arial, sans-serif;
  cursor: pointer;
  z-index: 1;
}
.pl-overlay .pl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font: 400 46px/1 Arial, sans-serif;
  cursor: pointer;
  padding: 12px 20px;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1;
}
.pl-overlay .pl-prev { left: 6px; }
.pl-overlay .pl-next { right: 6px; }
.pl-overlay .pl-close:hover,
.pl-overlay .pl-nav:hover { color: #ffd24d; }

@media (max-width: 768px) {
  .pl-overlay .pl-close { font-size: 40px; top: 8px; right: 16px; }
  .pl-overlay .pl-nav { font-size: 34px; padding: 8px 12px; }
  .pl-overlay .pl-img { max-width: 94vw; max-height: 82vh; }
}
