body.exit-recovery-open {
  overflow: hidden !important;
}

.exit-recovery-layer[hidden] {
  display: none !important;
}

.exit-recovery-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 214, 92, .23), transparent 28rem),
    rgba(7, 28, 57, .76);
  -webkit-backdrop-filter: blur(11px);
  backdrop-filter: blur(11px);
  opacity: 0;
  transition: opacity .22s ease;
}

.exit-recovery-layer.is-open {
  opacity: 1;
}

.exit-recovery-dialog {
  position: relative;
  width: min(820px, 100%);
  max-height: min(720px, calc(100vh - 32px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 100px rgba(3, 20, 43, .38);
  transform: translateY(14px) scale(.975);
  transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}

.exit-recovery-layer.is-open .exit-recovery-dialog {
  transform: translateY(0) scale(1);
}

.exit-recovery-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(16, 42, 67, .12);
  border-radius: 999px;
  color: #17324e;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(13, 42, 72, .13);
  font: 700 27px/1 system-ui, sans-serif;
  cursor: pointer;
}

.exit-recovery-grid {
  display: grid;
  grid-template-columns: minmax(250px, .86fr) minmax(340px, 1.14fr);
  min-height: 520px;
}

.exit-recovery-visual {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  padding: 42px 30px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 218, 92, .9) 0 9%, transparent 9.5%),
    radial-gradient(circle at 87% 82%, rgba(255, 116, 97, .58) 0 12%, transparent 12.5%),
    linear-gradient(155deg, #dff4ff 0%, #f2fbff 47%, #fff3dc 100%);
}

.exit-recovery-visual::before,
.exit-recovery-visual::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border: 2px dashed rgba(22, 136, 244, .22);
  border-radius: 48% 52% 62% 38%;
  transform: rotate(24deg);
}

.exit-recovery-visual::before {
  top: -80px;
  left: -58px;
}

.exit-recovery-visual::after {
  right: -78px;
  bottom: -70px;
}

.exit-recovery-product {
  position: relative;
  z-index: 1;
  width: min(300px, 100%);
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, .9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(12, 77, 134, .22);
  transform: rotate(-2.5deg);
}

.exit-recovery-product img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.exit-recovery-product span {
  display: block;
  padding: 11px 12px;
  color: #0d4c82;
  background: #fff;
  font: 800 13px/1.35 Montserrat, Inter, system-ui, sans-serif;
  text-align: center;
}

.exit-recovery-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 48px 42px;
  color: #102a43;
  background:
    radial-gradient(circle at 100% 0, rgba(232, 247, 255, .9), transparent 18rem),
    #fff;
  font-family: Montserrat, Inter, system-ui, sans-serif;
}

.exit-recovery-badge {
  align-self: flex-start;
  margin: 0 0 15px;
  padding: 8px 12px;
  border: 1px solid #f4ca48;
  border-radius: 999px;
  color: #674a00;
  background: #fff3b4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.exit-recovery-content h2 {
  margin: 0;
  color: #0b2f55;
  font-size: clamp(27px, 4vw, 39px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.exit-recovery-copy {
  margin: 15px 0 16px;
  color: #4d6478;
  font-size: 15px;
  line-height: 1.55;
}

.exit-recovery-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  color: #23435f;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.exit-recovery-list li {
  position: relative;
  padding-left: 25px;
}

.exit-recovery-list li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #15945b;
  font-size: 11px;
}

.exit-recovery-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 16px;
}

.exit-recovery-old {
  color: #75889a;
  font-size: 15px;
  text-decoration: line-through;
}

.exit-recovery-new {
  color: #087b4b;
  font-size: 35px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.exit-recovery-save {
  padding: 5px 8px;
  border-radius: 8px;
  color: #8b301d;
  background: #ffe0d7;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.exit-recovery-cta {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 15px;
  color: #fff !important;
  background: linear-gradient(135deg, #20ad6d 0%, #087b4b 100%);
  box-shadow: 0 14px 30px rgba(8, 123, 75, .25);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.exit-recovery-cta:hover {
  box-shadow: 0 18px 34px rgba(8, 123, 75, .31);
  transform: translateY(-2px);
}

.exit-recovery-trust {
  margin: 10px 0 0;
  color: #607488;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.exit-recovery-decline {
  align-self: center;
  margin-top: 14px;
  padding: 7px;
  border: 0;
  color: #697c8d;
  background: transparent;
  font: 600 12px/1.4 Montserrat, Inter, system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .exit-recovery-layer {
    align-items: end;
    padding: 10px;
  }

  .exit-recovery-dialog {
    width: 100%;
    max-height: calc(100vh - 12px);
    border-radius: 25px 25px 17px 17px;
  }

  .exit-recovery-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .exit-recovery-visual {
    min-height: 176px;
    padding: 24px 72px 18px;
  }

  .exit-recovery-product {
    width: 155px;
    border-width: 5px;
    border-radius: 16px;
    transform: rotate(-2deg);
  }

  .exit-recovery-product span {
    display: none;
  }

  .exit-recovery-content {
    padding: 23px 22px 24px;
  }

  .exit-recovery-content h2 {
    padding-right: 10px;
    font-size: clamp(25px, 7.5vw, 32px);
  }

  .exit-recovery-copy {
    margin: 10px 0 12px;
    font-size: 13px;
  }

  .exit-recovery-list {
    grid-template-columns: 1fr 1fr;
    gap: 7px 10px;
    margin-bottom: 13px;
    font-size: 11px;
  }

  .exit-recovery-new {
    font-size: 31px;
  }

  .exit-recovery-price {
    margin-bottom: 12px;
  }
}

@media (max-width: 390px) {
  .exit-recovery-visual {
    min-height: 132px;
    padding: 14px 80px 10px;
  }

  .exit-recovery-product {
    width: 112px;
  }

  .exit-recovery-content {
    padding: 18px 17px;
  }

  .exit-recovery-badge {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .exit-recovery-copy {
    display: none;
  }

  .exit-recovery-list {
    margin: 10px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exit-recovery-layer,
  .exit-recovery-dialog,
  .exit-recovery-cta {
    transition: none !important;
  }
}
