/* BayesWind — escolha do produto (modo multiusuário). Usa os tokens de login.css. */

.pg-produtos { min-height: 100%; display: flex; flex-direction: column; }
.pg-produtos .topo {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; border-bottom: 1px solid var(--border); background: var(--panel);
}
.topo-acoes { display: flex; align-items: center; gap: 10px; }
.quem { color: var(--text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }
.pg-produtos .tema { position: static; }
.sair {
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); cursor: pointer;
  color: var(--text-2); font-weight: 600; font-size: 13px; text-decoration: none;
}
.sair:hover { color: var(--text); border-color: var(--text-3); }

.escolha { width: min(1120px, 100%); margin: 0 auto; padding: 44px 24px 56px; }
.escolha h1 { margin: 0 0 6px; font-size: 28px; font-weight: 650; letter-spacing: -.01em; }
.escolha .sub { margin: 0 0 28px; max-width: 640px; }

.cartoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.produto {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left;
  padding: 24px 22px 20px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s;
  animation: entra 420ms cubic-bezier(.2, .8, .2, 1) both;
}
.produto:nth-child(2) { animation-delay: 60ms; }
.produto:nth-child(3) { animation-delay: 120ms; }
.produto:hover:not([disabled]) { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.produto.atual { border-color: var(--accent); }
.produto[disabled] { cursor: progress; opacity: .7; }
.produto.indo { opacity: 1; border-color: var(--accent); }

.p-icone {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
}
.p-icone svg { width: 26px; height: 26px; }
.p-nome { font-size: 20px; font-weight: 650; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.p-resumo { color: var(--text-2); font-size: 13.5px; }
.p-temas { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); width: 100%; display: grid; gap: 7px; flex: 1; }
.p-temas li { position: relative; padding-left: 18px; font-size: 13px; }
.p-temas li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.p-temas li.plan { color: var(--text-2); }
.p-temas li.plan::before { background: transparent; border: 1.5px solid var(--text-3); width: 4px; height: 4px; }
.selo {
  display: inline-block; padding: 1px 7px; border-radius: 9px; font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
  background: var(--bg); color: var(--text-3); border: 1px solid var(--border); vertical-align: 1px;
}
.selo.atual { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.p-entrar { margin-top: 6px; color: var(--accent); font-weight: 600; font-size: 13.5px; }

.escolha .erro { margin-top: 18px; }

@media (max-width: 900px) {
  .cartoes { grid-template-columns: 1fr; }
  .escolha { padding: 28px 16px 40px; }
  .pg-produtos .topo { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .produto { animation: none; transition: none; } }
