/* Sales Notification only: stationary, explicit 2.5-second opacity fades. */
/* Keep existing layout and appearance. Only remove movement from the card. */
#fjsp-root .fjsp-sale-card {
  transform:none;
  transition:opacity 2.5s ease-in-out;
}
#fjsp-root .fjsp-sale-card.is-visible {
  transform:none;
  animation:fjsp-sale-still-fade-in 2.5s ease-in-out both;
}
#fjsp-root .fjsp-sale-card.is-visible.is-leaving {
  transform:none;
  animation:fjsp-sale-still-fade-out 2.5s ease-in-out both;
  pointer-events:none;
}
@keyframes fjsp-sale-still-fade-in {
  from { opacity:0; }
  to { opacity:1; }
}
@keyframes fjsp-sale-still-fade-out {
  from { opacity:1; }
  to { opacity:0; }
}
@media (prefers-reduced-motion:reduce) {
  #fjsp-root .fjsp-sale-card { transition-duration:.2s; }
  #fjsp-root .fjsp-sale-card.is-visible,
  #fjsp-root .fjsp-sale-card.is-visible.is-leaving { animation-duration:.2s; }
}


/* Ambient Glow — presentation only. Preserve approved Dark Elegant backgrounds
   and the frozen stationary opacity animations above. */
#fjsp-root .fjsp-sale-card {
  box-shadow:
    0 12px 32px rgba(2,18,38,.24),
    0 3px 10px rgba(4,24,48,.10),
    0 0 18px rgba(56,145,217,.14),
    inset 0 1px 0 rgba(216,247,255,.06);
}
#fjsp-root .fjsp-promo-dialog {
  box-shadow:
    0 24px 68px rgba(0,7,18,.34),
    0 5px 18px rgba(4,24,48,.12),
    0 0 24px rgba(56,145,217,.16),
    inset 0 1px 0 rgba(255,255,255,.08);
}
/* Place the light above the inner popup backgrounds, not behind them.
   This layer is decorative, cannot intercept clicks, and preserves layout. */
#fjsp-root .fjsp-promo-dialog::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  z-index:4;
  pointer-events:none;
  background:
    radial-gradient(ellipse 245px 155px at 100% 0%, rgba(87,196,242,.23), transparent 75%),
    radial-gradient(ellipse 215px 150px at 0% 100%, rgba(46,190,215,.14), transparent 78%);
  box-shadow:
    inset 0 0 18px rgba(81,179,233,.08),
    inset 0 0 1px rgba(144,226,252,.18);
}

/* Maintenance-style edge line color for Promo Popup and Sales Notification. */
#fjsp-root .fjsp-sale-card{
  border-color:rgba(112,175,238,.44);
}
#fjsp-root .fjsp-promo-dialog{
  border-color:rgba(112,175,238,.44);
}
#fjsp-root .fjsp-promo-visual{
  border-right-color:rgba(112,175,238,.16);
}
#fjsp-root .fjsp-promo-close{
  border-color:rgba(112,175,238,.26);
}

/* Sales price: white and right-anchored; extra digits extend left only.
   Retain responsive font sizes, card width, and approved stationary fade. */
#fjsp-root .fjsp-sale-price {
  flex:0 0 auto;
  width:max-content;
  max-width:none;
  margin-left:auto;
  color:#f0faff;
  text-align:right;
  white-space:nowrap;
}

/* Center only the Sales/Promo X marks. Retain button boxes, colors and events. */
#fjsp-root .fjsp-sale-close,#fjsp-root .fjsp-promo-close{
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:0!important;font-size:0!important;line-height:0!important;text-indent:0!important;
}
#fjsp-root .fjsp-sale-close::before,#fjsp-root .fjsp-sale-close::after,
#fjsp-root .fjsp-promo-close::before,#fjsp-root .fjsp-promo-close::after{
    content:""!important;position:absolute!important;left:50%!important;top:50%!important;
    right:auto!important;bottom:auto!important;margin:0!important;padding:0!important;
    width:1.6px!important;height:14px!important;border:0!important;border-radius:2px!important;
    background:currentColor!important;box-shadow:none!important;opacity:1!important;
    transform-origin:center!important;pointer-events:none!important;
}
#fjsp-root .fjsp-sale-close::before,#fjsp-root .fjsp-promo-close::before{
    transform:translate(-50%,-50%) rotate(45deg)!important;
}
#fjsp-root .fjsp-sale-close::after,#fjsp-root .fjsp-promo-close::after{
    transform:translate(-50%,-50%) rotate(-45deg)!important;
}
