body.sl-vp-open { overflow: hidden; }
.sl-vp-overlay {
  position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0, 0, 0, .72); opacity: 0; animation: sl-vp-fade-in .18s ease forwards;
}
.sl-vp-dialog {
  position: relative; box-sizing: border-box; width: min(540px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  padding: 30px 28px 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
  background: #090909; color: #fff; text-align: center; box-shadow: 0 24px 90px rgba(0,0,0,.48);
  transform: translateY(12px) scale(.985); animation: sl-vp-panel-in .22s ease forwards;
}
.sl-vp-heading { margin: 0 38px 20px; color: #fff; font-size: clamp(21px, 4vw, 28px); line-height: 1.2; }
.sl-vp-close {
  position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%; background: #111; color: #fff; font: 32px/36px Arial, sans-serif; cursor: pointer; z-index: 1;
}
.sl-vp-close:hover, .sl-vp-close:focus-visible { background: #fff; color: #111; outline: 2px solid #fff; outline-offset: 2px; }
.sl-vp-image-link { display: block; margin: 0 auto; border-radius: 8px; overflow: hidden; }
.sl-vp-image-link img { display: block; width: 100%; max-height: min(55vh, 430px); object-fit: contain; margin: auto; }
.sl-vp-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 20px; padding: 0 28px; border-radius: 4px; background: #e33224; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.sl-vp-cta:hover, .sl-vp-cta:focus-visible { background: #c8261a; color: #fff !important; outline: 2px solid #fff; outline-offset: 3px; }
.sl-vp-is-closing { animation: sl-vp-fade-out .18s ease forwards; }
.sl-vp-is-closing .sl-vp-dialog { animation: sl-vp-panel-out .18s ease forwards; }
@keyframes sl-vp-fade-in { to { opacity: 1; } }
@keyframes sl-vp-fade-out { to { opacity: 0; } }
@keyframes sl-vp-panel-in { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes sl-vp-panel-out { to { opacity: 0; transform: translateY(8px) scale(.99); } }
@media (max-width: 480px) {
  .sl-vp-overlay { padding: 12px; }
  .sl-vp-dialog { max-height: calc(100vh - 24px); padding: 25px 16px 20px; }
  .sl-vp-heading { margin: 0 34px 15px; font-size: 21px; }
  .sl-vp-image-link img { max-height: 52vh; }
  .sl-vp-cta { width: 100%; box-sizing: border-box; }
}
@media (prefers-reduced-motion: reduce) {
  .sl-vp-overlay, .sl-vp-dialog, .sl-vp-is-closing, .sl-vp-is-closing .sl-vp-dialog { animation-duration: .01ms; }
}
