.site-popup-overlay { box-sizing: border-box; position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 24px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 7px), rgba(0,0,0,.78); z-index: 9999; }
.site-popup-overlay.active { display: flex; }
.site-popup-overlay .site-popup { box-sizing: border-box; position: relative; width: min(84vw, 1600px); height: auto; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 0 0 36px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 14px rgba(0,0,0,.55), 0 24px 60px rgba(0,0,0,.4); text-align: center; }
.site-popup-image-wrap { margin: 0; }
.site-popup-image { display: block; width: 100%; height: auto; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); object-fit: contain; border-radius: 8px 8px 0 0; }
.site-popup-close { position: absolute; top: auto; bottom: 0; right: 2px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #777; font-size: 24px; line-height: 1; cursor: pointer; }
.site-popup-close:hover { background: #0093c9; }
.site-popup h3 { margin-bottom: 12px; color: #0f172a; font-size: 28px; font-weight: 700; }
.site-popup p { margin-bottom: 22px; color: #475569; font-size: 16px; line-height: 1.6; }
.site-popup-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.site-popup-actions:empty { display: none; }
.site-popup-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 160px; padding: 12px 22px; border-radius: 999px; background: #0093c9; color: #fff; font-weight: 600; text-decoration: none; }
.site-popup-btn:hover { background: #007baa; color: #fff; }
.site-popup-btn.secondary { background: #e2e8f0; color: #0f172a; }
.site-popup-btn.secondary:hover { background: #cbd5e1; }
@media (max-width: 600px) {
  .site-popup-overlay { padding: 16px; }
  .site-popup-overlay .site-popup { width: 100%; box-shadow: 0 0 0 6px rgba(0,0,0,.55); }
  .site-popup h3 { font-size: 24px; }
  .site-popup-btn { width: 100%; }
}
