/* Окно при уходе «Скидка на первый заказ» — inc/exit-offer.php, assets/exit-offer.js.
   Слой 190: выше шапки (100), ниже полосы cookie (200) — полоса остаётся видна и нажимается. */
.vs-exit { position: fixed; inset: 0; z-index: 190; display: flex; align-items: center; justify-content: center; padding: 16px; }
.vs-exit__back { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.vs-exit__win {
  position: relative; box-sizing: border-box; width: 100%; max-width: 420px; max-height: calc(100dvh - 32px); overflow: auto;
  background: #fff; color: #0f172a; border-radius: 20px; padding: 32px 28px 22px; text-align: center;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .5);
}
.vs-exit__x {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%;
  font-size: 28px; line-height: 1; color: #64748B; cursor: pointer;
}
.vs-exit__x:hover { background: #F1F5F9; color: #0f172a; }
.vs-exit__badge {
  display: inline-block; margin: 0 0 14px; padding: 6px 16px; border-radius: 999px;
  background: hsl(var(--secondary)); color: hsl(var(--primary)); font-size: 15px; font-weight: 700; letter-spacing: .02em;
}
.vs-exit__title {
  margin: 0 0 10px; font-family: "Tenor Sans", Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.2; text-wrap: balance;
}
.vs-exit__text { margin: 0 0 20px; color: #475569; font-size: 16px; line-height: 1.5; }
.vs-exit__go {
  display: block; width: 100%; min-height: 50px; padding: 13px 20px; border: 0; border-radius: 12px; cursor: pointer;
  background: hsl(var(--primary)); color: #fff; font: inherit; font-size: 17px; font-weight: 600;
}
.vs-exit__go:hover { filter: brightness(.94); }
.vs-exit__no {
  display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 0; background: none; cursor: pointer;
  color: #64748B; font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px;
}
.vs-exit__no:hover { color: #0f172a; }
.vs-exit__fine { margin: 12px 0 0; color: #64748B; font-size: 12px; line-height: 1.4; }
.vs-exit button:focus-visible { outline: 3px solid hsl(var(--primary)); outline-offset: 2px; }
.vs-exit-lock, .vs-exit-lock body { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .vs-exit__back { animation: vs-exit-fade .2s ease-out; }
  .vs-exit__win { animation: vs-exit-up .25s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes vs-exit-fade { from { opacity: 0; } }
@keyframes vs-exit-up { from { opacity: 0; transform: translateY(12px) scale(.98); } }

@media (max-width: 480px) {
  .vs-exit__win { padding: 28px 20px 18px; }
  .vs-exit__title { font-size: 23px; }
}
