.holygo-vm-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 99999;
  padding: 1rem;
}

.holygo-vm-popup-overlay.is-open {
  display: flex;
}

.holygo-vm-popup {
  width: min(860px, 96vw);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
  border-radius: 16px;
  border: 1px solid #d7e8e6;
  box-shadow: 0 24px 60px rgba(20, 37, 36, 0.28);
  padding: 1.2rem 1.25rem 1.1rem;
  position: relative;
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  animation: holygoPopupIn 180ms ease-out forwards;
}

.holygo-vm-popup-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 1.1rem;
  align-items: stretch;
}

.holygo-vm-popup-media {
  min-height: 330px;
  border-radius: 12px;
  overflow: hidden;
}

.holygo-vm-popup-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.holygo-vm-popup-content {
  display: flex;
  flex-direction: column;
}

.holygo-vm-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.holygo-vm-popup-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #deece9;
  color: #1a3d3c;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.holygo-vm-popup h3 {
  margin: 0 0 0.55rem;
  color: #1a3d3c;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.22;
}

.holygo-vm-popup p {
  margin: 0;
  color: #3f5453;
  line-height: 1.65;
  font-size: 1rem;
}

.holygo-vm-popup-actions {
  margin-top: 1rem;
}

.holygo-vm-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 0.72rem 1rem;
  background: #1a3d3c;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.holygo-vm-popup-btn:hover {
  background: #163332;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(26, 61, 60, 0.2);
}

.holygo-vm-popup-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #607978;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.holygo-vm-popup-close:hover {
  background: #edf4f2;
}

@keyframes holygoPopupIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .holygo-vm-popup {
    padding: 1rem;
  }

  .holygo-vm-popup-layout {
    grid-template-columns: 1fr;
  }

  .holygo-vm-popup-media {
    min-height: 180px;
  }

  .holygo-vm-popup-btn {
    width: 100%;
    min-width: 0;
  }
}
