/* ─── PRISSTIGNING - POP-UP ─── */
.pn-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.pn-modal[hidden] { display: none; }

.pn-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,18,40,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  animation: pnBackdropIn 220ms var(--ease-out, ease) both;
}

.pn-modal__card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 6px;
  padding: clamp(2rem, 4vw, 2.5rem);
  width: min(92vw, 560px);
  max-height: 90svh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(10,18,40,0.28), 0 8px 24px rgba(10,18,40,0.12);
  animation: pnCardIn 300ms var(--ease-out, ease) both;
}

.pn-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: rgba(26,42,94,0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy, #1A2A5E);
  transition: background 160ms, transform 160ms;
}
.pn-modal__close:hover { background: rgba(26,42,94,0.12); transform: scale(1.08); }
.pn-modal__close svg { width: 15px; height: 15px; }

/* Stablet, centreret opsætning */
.pn-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pn-modal__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pn-modal__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: 4px;
  background: rgba(47,111,224,0.1);
  color: var(--blue, #2f6fe0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pn-modal__icon svg { width: 22px; height: 22px; }

.pn-modal__kicker {
  display: inline-block;
  font-family: var(--mono, monospace);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue, #2f6fe0);
  margin-bottom: 0.6rem;
}
.pn-modal__title {
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--navy, #1A2A5E);
  margin: 0 0 0.75rem;
}
.pn-modal__text {
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted, #4b5a72);
  margin: 0 0 1.5rem;
}
.pn-modal__text strong { color: var(--navy, #1A2A5E); }

.pn-modal__right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.pn-modal__prices {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.pn-modal__price-old {
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 1.05rem;
  color: var(--soft, #86868b);
  text-decoration: line-through;
}
.pn-modal__price-new {
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy, #1A2A5E);
}
.pn-modal__price-unit {
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 0.78rem;
  color: var(--muted, #4b5a72);
}

.pn-modal__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.pn-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.9rem;
  padding: 0.8rem 1.4rem;
  border-radius: 4px;
  background: var(--navy, #1A2A5E);
  color: #fff;
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(26,42,94,0.18);
  transition: transform 0.18s var(--ease-out, ease), background 0.18s var(--ease-out, ease), box-shadow 0.18s var(--ease-out, ease);
}
.pn-modal__cta:hover { background: #13214f; transform: translateY(-1px); }
.pn-modal__dismiss {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sf, -apple-system, sans-serif);
  font-size: 0.8rem;
  color: var(--muted, #86868b);
  transition: color 0.15s;
}
.pn-modal__dismiss:hover { color: var(--navy, #1A2A5E); }

@keyframes pnBackdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pnCardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .pn-modal__backdrop, .pn-modal__card { animation: none; }
}
