/* ══════════════════════════════════════════════════════════
   RACBYSHOP — TOASTS CSS
   Fichier : /assets/css/racbyshop-toasts.css
   ══════════════════════════════════════════════════════════ */

/* ─── Base toast ─── */
.racby-toast {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;

  display: flex;
  align-items: center;
  gap: 10px;

  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 50%, #7c3aed 100%);
  color: #fff;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow:
    0 8px 30px rgba(124, 58, 237, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.4);

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;

  opacity: 0;
  visibility: hidden;
  transition: bottom 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.35s ease;
  pointer-events: none;
}

/* ─── Visible state ─── */
.racby-toast.racby-toast--visible {
  bottom: 28px !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* ─── Icon ─── */
.racby-toast__icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

/* ─── Text ─── */
.racby-toast__text {
  color: #C9A84C;
  font-weight: 700;
}

/* ─── Mobile ajustements ─── */
@media (max-width: 480px) {
  .racby-toast {
    left: 16px;
    right: 16px;
    transform: none;
    font-size: 13px;
    padding: 12px 18px;
    border-radius: 12px;
    justify-content: center;
  }
}