.flpa-quantity-reminder[hidden] { display: none !important; }

.flpa-quantity-reminder {
  position: fixed;
  z-index: 10050;
  right: 1.25rem;
  top: 50%;
  bottom: auto;
  width: min(410px, calc(100vw - 2rem));
  padding: 1rem 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, #242424, #333);
  border: 1px solid rgba(255, 255, 255, .16);
  border-left: 5px solid #e0472f;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .32);
  font-family: inherit;
  opacity: 0;
  transform: translateY(calc(-50% + 18px)) scale(.97);
  transition: opacity .25s ease, transform .32s ease;
}

.flpa-quantity-reminder.is-visible { opacity: 1; transform: translateY(-50%) scale(1); }
.flpa-quantity-reminder__title { display: block; margin-bottom: .35rem; color: #ffad33; font-size: 1.02rem; font-weight: 850; }
.flpa-quantity-reminder__message { margin: 0; color: rgba(255, 255, 255, .88); font-size: .88rem; line-height: 1.45; }
.flpa-quantity-reminder__actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .85rem; }

.flpa-quantity-reminder__actions button {
  min-height: 38px;
  padding: .55rem .8rem;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 800;
}

.flpa-quantity-reminder__add { color: #fff; background: #e0472f; }
.flpa-quantity-reminder__add:hover { background: #b93420; }
.flpa-quantity-reminder__continue { color: #242424; background: #f6f3ef; }
.flpa-quantity-reminder__continue:hover { background: #e4ded7; }

@media (max-width: 560px) {
  .flpa-quantity-reminder { right: 1rem; top: auto; bottom: 1rem; left: 1rem; width: auto; transform: translateY(18px) scale(.97); }
  .flpa-quantity-reminder.is-visible { transform: translateY(0) scale(1); }
  .flpa-quantity-reminder__actions button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .flpa-quantity-reminder { transition: none; }
}
