.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(31, 20, 16, 0.72);
  backdrop-filter: blur(4px);
}

.exit-popup {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding: 30px 26px 24px;
  overflow: hidden;
  color: var(--pv-primary, #2d1d06);
  text-align: center;
  font-family: var(--pv-font-body, Poppins, Arial, sans-serif);
  background: var(--pv-bg, #faf6f3);
  border: 2px solid var(--pv-accent, #d9ac63);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  animation: exit-popup-in 180ms ease-out;
}

.exit-popup::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: '';
  background: var(--pv-accent, #d9ac63);
}

.exit-popup h2 {
  margin: 5px 0 10px;
  color: var(--pv-primary, #2d1d06);
  font-family: var(--pv-font-heading, Poppins, Arial, sans-serif);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.16;
}

.exit-popup p {
  margin: 0;
  color: var(--pv-text-muted, #41505f);
  font-size: 15px;
  line-height: 1.55;
}

.exit-popup .exit-kicker {
  color: var(--pv-text, #b07d3c);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.exit-gift {
  font-size: 45px;
  line-height: 1.1;
}

.exit-price {
  margin: 18px 0;
  padding: 14px;
  background: var(--pv-cream, #f1e7d2);
  border: 1px solid rgba(217, 172, 99, 0.65);
  border-radius: 14px;
}

.exit-old {
  color: var(--pv-text-muted, #41505f);
  font-size: 19px;
  text-decoration: line-through;
}

.exit-new {
  margin-left: 10px;
  color: var(--pv-success, #39b574);
  font-size: 34px;
  font-weight: 900;
}

.exit-price small {
  display: block;
  margin-top: 4px;
  color: var(--pv-text-muted, #41505f);
  font-size: 12px;
}

.exit-btn {
  display: block;
  width: 100%;
  padding: 16px 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  background: var(--pv-success, #39b574);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(57, 181, 116, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.exit-btn:hover,
.exit-btn:focus-visible {
  outline: 3px solid rgba(57, 181, 116, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(57, 181, 116, 0.36);
}

.exit-close,
.exit-skip {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
}

.exit-close {
  position: absolute;
  z-index: 1;
  top: 11px;
  right: 14px;
  padding: 3px 7px;
  color: var(--pv-text-muted, #41505f);
  font-size: 25px;
  line-height: 1;
}

.exit-skip {
  margin-top: 13px;
  padding: 4px;
  color: var(--pv-text-muted, #41505f);
  font-size: 13px;
  text-decoration: underline;
}

@keyframes exit-popup-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .exit-overlay {
    padding: 14px;
  }

  .exit-popup {
    padding: 26px 20px 20px;
  }

  .exit-popup h2 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exit-popup,
  .exit-btn {
    animation: none;
    transition: none;
  }
}
