html {
  scroll-behavior: smooth;
  scroll-padding-top: 52px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

#offer-countdown {
  position: fixed;
  inset: 0 0 auto;
  width: 100vw;
  max-width: none;
  min-height: 38px;
  margin: 0;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

#offer-countdown [data-countdown] {
  display: inline-block;
  min-width: 64px;
  margin-left: 0.35rem;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.offer-payment-methods {
  width: min(100%, 560px);
  height: auto;
  margin: 18px auto 0;
}

.offer-guarantee-seal {
  width: min(210px, 58vw);
  height: auto;
  margin: 18px auto 0;
}

.support-address {
  user-select: text;
  overflow-wrap: anywhere;
}

.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgb(15 23 42 / 0.72);
}

.exit-overlay[hidden] { display: none; }

.exit-popup {
  position: relative;
  width: min(100%, 430px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 32px 26px 24px;
  border: 2px solid rgb(236 72 153 / 0.25);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #fce7f3 100%);
  color: #1e3a8a;
  text-align: center;
  box-shadow: 0 26px 80px rgb(0 0 0 / 0.38);
}

.exit-popup__gift { font-size: 44px; line-height: 1; }
.exit-popup h2 { margin: 12px 0 8px; font-size: 24px; font-weight: 900; line-height: 1.15; }
.exit-popup p { margin: 0; color: #555; font-size: 14px; line-height: 1.55; }
.exit-popup__price { margin: 18px 0; padding: 14px; border-radius: 16px; background: rgb(37 99 235 / 0.08); }
.exit-popup__old { color: #6b7280; font-weight: 700; text-decoration: line-through; }
.exit-popup__new { margin-left: 10px; color: #16a34a; font-size: 30px; font-weight: 900; }
.exit-popup__coupon { display: block; margin-top: 5px; color: #555; font-size: 12px; }

.exit-popup__claim {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ec4899, #db2777);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 24px rgb(236 72 153 / 0.35);
}

.exit-popup__close,
.exit-popup__skip {
  border: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}

.exit-popup__close { position: absolute; top: 9px; right: 13px; padding: 4px 8px; font-size: 26px; line-height: 1; }
.exit-popup__skip { margin-top: 12px; padding: 6px; font-size: 13px; text-decoration: underline; }
.exit-popup__claim:focus-visible,
.exit-popup__close:focus-visible,
.exit-popup__skip:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
body.exit-popup-open { overflow: hidden; }

@media (max-width: 520px) {
  #offer-countdown { min-height: 42px; padding-inline: 8px; font-size: 11px; }
  .exit-popup { padding: 30px 18px 20px; }
  .exit-popup h2 { font-size: 21px; }
}
