/* Site marketing popup */
.lvs-popup {
  position: fixed; inset: 0; z-index: 120000;
  display: grid; place-items: center; padding: 16px;
}
.lvs-popup[hidden] { display: none !important; }
.lvs-popup-backdrop {
  position: absolute; inset: 0; background: rgba(16, 22, 58, .55);
  backdrop-filter: blur(2px);
}
.lvs-popup-panel {
  position: relative; z-index: 1; width: min(520px, calc(100vw - 32px));
  max-height: min(88vh, 720px); overflow: auto;
  background: #fff; border-radius: 18px;
  box-shadow: 0 24px 80px rgba(16, 22, 58, .35);
  animation: lvs-popup-in .28s ease-out;
}
@keyframes lvs-popup-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lvs-popup-panel { animation: none; }
}
.lvs-popup-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 999px;
  background: rgba(16, 22, 58, .75); color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer;
}
.lvs-popup-close:hover { background: #ff5b27; }
.lvs-popup-media img {
  display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover;
  border-radius: 18px 18px 0 0;
}
.lvs-popup-media-empty {
  display: grid; place-items: center; min-height: 120px;
  background: #f0f2fb; color: #5b6280; border-radius: 18px 18px 0 0;
  font: 500 13px/1.4 system-ui, sans-serif;
}
.lvs-popup-body { padding: 22px 22px 24px; }
.lvs-popup-title { margin: 0 0 8px; font-size: clamp(1.25rem, 2.5vw, 1.6rem); line-height: 1.25; color: #10163a; }
.lvs-popup-text { margin: 0 0 18px; color: #5b6280; line-height: 1.55; }
.lvs-popup-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lvs-popup.is-disabled { opacity: .92; }
.lvs-popup.is-disabled .lvs-popup-panel { outline: 2px dashed #c2410c; }
.lvs-popup-edit-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 10px; border-radius: 999px; background: #ffe202; color: #10163a;
  font: 700 11px/1.2 system-ui, sans-serif;
}
body.lvs-editing .lvs-popup[hidden] {
  /* Keep accessible for editors via toolbar "Xem popup" — stay hidden until forced open. */
}
