@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600&display=swap');

/* Overlay */
.cdp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
  z-index: 9998;
}

/* Popup container */
.cdp-popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 9999;
}

/* Inner card – style to match your cards */
.cdp-popup-inner {
  max-width: 480px;
  width: 90%;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 28px 26px;
  box-shadow: 0 14px 45px rgba(0,0,0,0.08);
  position: relative;
  font-family: inherit;
}

/* Title */
.cdp-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #12332a;
  font-family: "fraunces", serif !important;
}

/* Text */
.cdp-text {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}

/* Close button */
.cdp-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #999;
}
.cdp-close:hover { background-color: transparent !important;
border-color: transparent !important;
 color: #999 !important;
 }

.cdp-close:focus { background-color: transparent !important;
border-color: transparent !important;
 color: #999 !important;
 }

/* Active state */
.cdp-popup.cdp-open,
.cdp-overlay.cdp-open {
  opacity: 1;
  visibility: visible;
}

/* Optional inline use of shortcode */
.cdp-popup-inline .cdp-popup-inner {
  margin: 20px 0;
}