/* PlazaIT Product Lightbox (Crimson & Ruby Red Edition) */
.pd-lb {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(44, 4, 15, 0.96); /* Menggunakan latar belakang Deep Crimson gelap */
  backdrop-filter: blur(12px); /* Efek blur premium */
  display: none;
  color: #FFF1F2; /* Warna teks off-white rose bersih */
  transition: transform .18s ease, opacity .18s ease;
}

.pd-lb.show { display: block; }

/* Canvas di bawah (z:1), Controls di atas (z:2) */
.pd-lb-canvas {
  position: absolute; inset: 56px 0 56px 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  touch-action: none;
  z-index: 1;
}

.pd-lb-img {
  max-width: 96vw; max-height: 86vh;
  will-change: transform;
  user-select: none;
  pointer-events: none;
  transform-origin: 50% 50%;
}

.pd-lb-close, .pd-lb-prev, .pd-lb-next, .pd-lb-counter {
  position: absolute;
  z-index: 2;
}

/* Controls: Crimson & Ruby Red Style */
.pd-lb-close, .pd-lb-prev, .pd-lb-next {
  background: rgba(136, 19, 55, 0.6); /* Latar belakang tombol menggunakan tint Crimson */
  color: #E11D48; /* Ikon menggunakan warna Ruby Red */
  border: 1px solid rgba(225, 29, 72, 0.4); /* Border tipis menggunakan Ruby Red */
  cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.pd-lb-close:hover, .pd-lb-prev:hover, .pd-lb-next:hover {
  background: rgba(225, 29, 72, 0.25); /* Glow latar belakang Ruby Red saat hover */
  border-color: #FB7185; /* Border berubah menjadi Rose/Ruby Red yang lebih terang */
  color: #FFFFFF; /* Warna ikon menjadi putih saat hover */
  box-shadow: 0 0 15px rgba(225, 29, 72, 0.35); /* Bayangan glow Ruby Red */
  transform: scale(1.1);
}

.pd-lb-close:active, .pd-lb-prev:active, .pd-lb-next:active {
  transform: translateY(2px) scale(1);
}

/* Positioning */
.pd-lb-close { top: max(12px, env(safe-area-inset-top, 12px)); right: max(12px, env(safe-area-inset-right, 12px)); }
.pd-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.pd-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

.pd-lb-counter {
  top: 20px; left: 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  color: #FB7185; /* Menggunakan warna Rose/Ruby Red Terang agar kontras tinggi & mudah terbaca di atas Crimson gelap */
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}