/* exit5-buy.css — 2026-10-25 (Dima): the 5% exit discount lives in the Buy
   button, not a popup. When exit5-buy.js fires (exit-intent or 30s dwell, once
   per session), the price inside the PDP Buy button animates: the old price is
   struck through, the discounted price pops in, then the button settles on the
   discounted price with a small "5% off applied" tag by the price line.
   Checkout honors it server-side (worker applies the EXIT5 coupon only for
   re-validated eligible SKUs) — this file is presentation only. */
.e5-was {
  position: relative;
  opacity: .72;
  text-decoration: none;
  white-space: nowrap;
}
.e5-was::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 2px;
  background: currentColor;
  transform-origin: left center;
  animation: e5strike .35s ease-out forwards;
}
@keyframes e5strike {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.e5-now {
  display: inline-block;
  white-space: nowrap;
  animation: e5pop .6s ease-out;
}
@keyframes e5pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.14); color: var(--gold, #c9a227); }
  100% { transform: scale(1); }
}
.e5-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--gold, #c9a227);
  color: #141414;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  vertical-align: middle;
  animation: e5tagin .45s ease-out;
}
@keyframes e5tagin {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .e5-was::after, .e5-now, .e5-tag { animation: none; }
}
