#exit-offer[hidden] { display: none !important; }
#lovable-badge { display: none !important; }
.exit-offer-open { overflow: hidden; }
#exit-offer,
#exit-offer * { box-sizing: border-box; }

#exit-offer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgb(28 23 18 / 74%);
  backdrop-filter: blur(5px);
}

.exit-offer__dialog {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  border: 1px solid rgb(111 78 45 / 32%);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  color: #2b2118;
  text-align: center;
  background: radial-gradient(circle at top right, rgb(216 180 117 / 30%), transparent 38%), #fffaf0;
  box-shadow: 0 28px 80px rgb(20 15 10 / 38%);
}

.exit-offer__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #463321;
  background: rgb(255 255 255 / 72%);
  cursor: pointer;
}

.exit-offer__eyebrow {
  margin: 0 2.5rem .7rem;
  color: #805426;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.exit-offer__title {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 7vw, 2.65rem);
  line-height: 1.08;
}

.exit-offer__description {
  margin: 1rem auto 0;
  max-width: 29rem;
  color: #6d5b49;
  line-height: 1.6;
}

.exit-offer__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .8rem;
  margin: 1.4rem 0 .65rem;
}
.exit-offer__price del { color: #7d7063; font-size: 1.2rem; }
.exit-offer__price strong { color: #169c36; font-size: clamp(2.5rem, 10vw, 4rem); line-height: 1; }
.exit-offer__coupon { margin: 0; color: #654721; font-size: .92rem; }

.exit-offer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5rem;
  margin-top: 1.35rem;
  border-radius: 999px;
  padding: .9rem 1.25rem;
  color: white;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  background: linear-gradient(180deg, #2abb49, #159231);
  box-shadow: 0 12px 28px rgb(19 144 49 / 30%);
}

.exit-offer__refuse {
  margin-top: .8rem;
  border: 0;
  padding: .65rem 1rem;
  color: #675b50;
  font: inherit;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  background: transparent;
  cursor: pointer;
}

.exit-offer__close:focus-visible,
.exit-offer__cta:focus-visible,
.exit-offer__refuse:focus-visible { outline: 3px solid #d29a42; outline-offset: 3px; }

@media (max-width: 420px) {
  #exit-offer { align-items: end; padding: .65rem; }
  .exit-offer__dialog { max-height: calc(100dvh - 1.3rem); border-radius: 1.25rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .exit-offer__dialog { animation: exit-offer-in 180ms ease-out; }
  @keyframes exit-offer-in {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}
