/* ═══════════════════════════════════════════════════════════════
   CHIAMA IL CAMERIERE — bottone flottante (pagina Menu)
   ═══════════════════════════════════════════════════════════════ */
.agape-call-btn {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: var(--orange, #C8581A);
  color: #fff;
  font-family: var(--f-body, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, opacity 0.2s ease, background 0.2s ease;
}
.agape-call-btn:active { transform: scale(0.96); }
.agape-call-btn .agape-call-ico { display: inline-flex; width: 20px; height: 20px; }
.agape-call-btn .agape-call-ico svg { width: 100%; height: 100%; }
.agape-call-btn.is-cooldown { background: var(--mid, #6B6560); opacity: 0.85; cursor: default; }
.agape-call-btn.is-sending { opacity: 0.7; }

@keyframes agape-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(12deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(6deg); }
  80% { transform: rotate(-4deg); }
}
.agape-call-btn.is-sending .agape-call-ico { animation: agape-ring 0.6s ease; }

.agape-call-toast {
  position: fixed;
  left: 50%;
  bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  z-index: 9001;
  max-width: 86vw;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  background: rgba(17, 17, 17, 0.94);
  color: #fff;
  font-family: var(--f-body, sans-serif);
  font-size: 0.9rem;
  text-align: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.agape-call-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.agape-call-toast.is-error { background: rgba(150, 40, 40, 0.96); }
