/* Toast de actualización PWA — compartido catálogo + comandero */
.pf-pwa-update-toast {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(340px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #fff;
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  opacity: 0;
  transform: translateX(-50%) translateY(24px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.pf-pwa-update-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.pf-pwa-update-toast__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.pf-pwa-update-toast__body {
  min-width: 0;
}

.pf-pwa-update-toast__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.pf-pwa-update-toast__subtitle {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.3;
}

/* Legacy id usado antes en catálogo */
.update-toast {
  display: none !important;
}
