/* Overlay general */
.pdu-popup-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Cuando está visible */
.pdu-popup-overlay.pdu-popup-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

/* Card base */
.pdu-popup-card {
  background: #262626;
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  padding: 24px 20px 20px;
  max-width: 360px;
  width: calc(100% - 32px);
}

/* Close (X) */
.pdu-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* Contenido */
.pdu-popup-content {
  text-align: center;
}

.pdu-popup-title {
  margin: 8px 0 10px;
  font-size: 23px;
  font-weight: 600;
  text-transform: uppercase;
  color:#ffffff;
}

.pdu-popup-text {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.4;
  color:#ffffff;
}

/* Botón */
.pdu-popup-button {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #0066ff;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.pdu-popup-button:hover,
.pdu-popup-button:focus {
  background: #0051cc;
}

/* Imagen */
.pdu-popup-image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}

.pdu-popup-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Desktop layout */
.pdu-popup-card--desktop {
  display: none;
  max-width: 720px;
  width: calc(100% - 64px);
}

.pdu-popup-content--desktop {
  display: flex;
  gap: 20px;
  align-items: center;
  text-align: left;
}

.pdu-popup-text-col {
  flex: 1.1;
}

.pdu-popup-image-wrapper--desktop {
  flex: 1;
}

/* Mobile por defecto, desktop desde 768px */
.pdu-popup-card--mobile {
  display: block;
}

@media (min-width: 768px) {
  .pdu-popup-card--mobile {
    display: none;
  }
  .pdu-popup-card--desktop {
    display: block;
  }
}
