/* Pop-up: gratis Healthwise-kalender + Maandwijs */
dialog.popup {
  border: 0; padding: 0; background: transparent; color: var(--ink);
  width: min(880px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  overflow: visible; margin: auto;
}
dialog.popup::backdrop { background: rgba(20, 28, 23, 0.66); backdrop-filter: blur(3px); }
dialog.popup[open] { animation: popup-in .28s ease-out; }
dialog.popup[open]::backdrop { animation: backdrop-in .28s ease-out; }
@keyframes popup-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }

.popup-inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  background: var(--cream); border-radius: 10px; overflow: hidden; position: relative;
  max-height: calc(100dvh - 24px); overflow-y: auto;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55);
}
.popup-visual {
  background: var(--night); padding: 22px; display: flex; align-items: center; justify-content: center;
}
.popup-visual img { border-radius: 6px; width: 100%; max-height: 440px; object-fit: cover; object-position: center top; }
.popup-body { padding: 36px 34px 30px; }
.popup-tag {
  display: inline-block; background: var(--sage); color: var(--green-deep); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; margin-bottom: 14px;
}
.popup-body h2 { font-size: 29px; line-height: 1.15; margin: 0 0 12px; }
.popup-body .popup-lede { color: var(--ink-soft); font-size: 16px; margin: 0 0 20px; }
.popup-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.9); color: #202A24; font-size: 24px; line-height: 1; cursor: pointer; z-index: 2;
}
.popup-close:hover { background: #fff; }
.popup-skip {
  display: block; margin: 14px auto 0; background: none; border: 0; color: var(--ink-soft);
  font-family: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; padding: 6px;
}
.popup-skip:hover { color: var(--green-deep); }

/* Succes-staat */
.popup-success { text-align: left; }
.popup-success .tick {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green-deep); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}

@media (max-width: 720px) {
  .popup-inner { grid-template-columns: 1fr; }
  .popup-visual { display: none; }
  .popup-body { padding: 56px 22px 24px; }
  .popup-body h2 { font-size: 25px; }
}
