/* brilho de "a IA está escrevendo" nos pontos personalizáveis */
.ai-carregando {
  color: transparent !important;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(46,125,50,.10) 25%, rgba(46,125,50,.22) 50%, rgba(46,125,50,.10) 75%);
  background-size: 200% 100%;
  animation: ai-brilho 1.2s linear infinite;
}
.ai-carregando * { visibility: hidden; }
@keyframes ai-brilho { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.ai-novo { animation: ai-surge .4s ease-out; }
@keyframes ai-surge { from { opacity: .3; } to { opacity: 1; } }

.ai-produto-destaque { outline: 3px solid #2e7d32; outline-offset: 4px; position: relative; }
.ai-produto-destaque::before {
  content: "Indicado para você";
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #2e7d32; color: #fff; font-size: 13px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}

.ai-debug {
  position: fixed; left: 16px; bottom: 16px; z-index: 9999;
  max-width: min(460px, calc(100vw - 32px));
  background: #10261a; color: #e8f5e9; font: 13px/1.45 system-ui, sans-serif;
  padding: 14px 36px 14px 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.ai-debug div + div { margin-top: 6px; }
.ai-debug b { color: #a5d6a7; }
.ai-debug button {
  position: absolute; top: 6px; right: 8px; background: none; border: 0;
  color: #e8f5e9; font-size: 20px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .ai-carregando, .ai-novo { animation: none; } }
