/* ── Overlay ── */
#apr-passover-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 99998;
  animation: apr-passover-popup-fadein 0.3s ease;
}

/* ── Modal box ── */
#apr-passover-popup-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  background: #ffffff;
  border-radius: 14px;
  padding: 44px 40px 36px;
  max-width: 420px;
  width: calc(100% - 40px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  text-align: center;
  animation: apr-passover-popup-slidein 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: Georgia, 'Times New Roman', serif;
  box-sizing: border-box;
}

/* ── Icon ── */
.apr-passover-popup-icon {
  display: inline-block;
  font-size: 36px;
  margin-bottom: 14px;
  line-height: 1;
}

/* ── Headline ── */
.apr-passover-popup-headline {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

/* ── Subtext ── */
.apr-passover-popup-sub {
  font-size: 14px;
  color: #666;
  margin: 0 0 26px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
}

/* ── CTA Button ── */
.apr-passover-popup-btn {
  display: inline-block;
  background: #b8860b;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.35);
}
.apr-passover-popup-btn:hover {
  background: #9a7009 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.45);
}
.apr-passover-popup-btn:active {
  transform: translateY(0);
}

/* ── Close button ── */
#apr-passover-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #aaa;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
#apr-passover-popup-close:hover {
  color: #333;
  background: #f0f0f0;
}

/* ── Animations ── */
@keyframes apr-passover-popup-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes apr-passover-popup-slidein {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  #apr-passover-popup-modal {
    padding: 36px 24px 28px;
  }
  .apr-passover-popup-headline {
    font-size: 19px;
  }
}
