:root {
  --marca: #7C4DFF;
  --marca-rgb: 124, 77, 255;
  --escuro: #1F1B2E;
  --fundo: #F7F5FB;
  --borda: #E6E1F0;
}
body { background: var(--fundo); color: var(--escuro); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--marca); }
.cor-marca { color: var(--marca); }
.btn-marca { background: var(--marca); border-color: var(--marca); color: #fff; font-weight: 600; }
.btn-marca:hover, .btn-marca:focus { background: var(--marca); border-color: var(--marca); color: #fff; filter: brightness(.92); }
.btn-marca:disabled { background: var(--marca); border-color: var(--marca); color: #fff; opacity: .55; }
.btn-outline-marca { border-color: var(--marca); color: var(--marca); font-weight: 600; background: transparent; }
.btn-outline-marca:hover, .btn-outline-marca:focus { background: var(--marca); border-color: var(--marca); color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--marca); box-shadow: 0 0 0 .2rem rgba(var(--marca-rgb), .18); }
.form-check-input:checked { background-color: var(--marca); border-color: var(--marca); }

.cartao { background: #fff; border: 1px solid var(--borda); border-radius: 16px; box-shadow: 0 1px 2px rgba(31,27,46,.04); }
.titulo-pagina { font-weight: 700; letter-spacing: -.01em; }

/* ---------- painel ---------- */
.barra-painel { background: var(--escuro); }
.barra-painel .navbar-brand { font-weight: 800; letter-spacing: -.02em; }
.barra-painel .nav-link { color: rgba(255,255,255,.72); border-radius: 8px; padding: .45rem .8rem; }
.barra-painel .nav-link { white-space: nowrap; }
.barra-painel .btn { white-space: nowrap; }
.barra-painel .nav-link:hover { color: #fff; }
.barra-painel .nav-link.ativo { color: #fff; background: rgba(255,255,255,.12); }
.marca-ponto { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--marca); margin-right: .4rem; }
.resumo-num { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.miniatura-lista { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #efecf6; }
.sem-foto { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: #efecf6; color: #b3abc9; font-size: 1.6rem; }
.foto-existente { position: relative; width: 112px; }
.foto-existente img { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; border: 2px solid var(--borda); }
.foto-existente.removida img { opacity: .3; filter: grayscale(1); }
.titulo-mes { font-size: 1.05rem; font-weight: 700; margin: 1.6rem 0 .8rem; color: var(--marca); }
.data-evento { text-align: center; min-width: 64px; }
.data-evento .dia { font-size: 2rem; font-weight: 800; line-height: 1; }
.data-evento .semana { font-size: .8rem; color: #6c6783; }
.evento-urgente { border-color: #f1b0b7; }
.obs-cliente { background: #faf8ff; border: 1px dashed var(--borda); border-radius: 10px; padding: .5rem .75rem; }
.filtro-status .nav-link { color: var(--escuro); border-radius: 999px; }
.filtro-status .nav-link.active { background: var(--marca); color: #fff; }

/* ---------- catálogo público ---------- */
.topo-publico { background: #fff; border-bottom: 1px solid var(--borda); }
.topo-publico .logo { max-height: 44px; max-width: 160px; }
.capa-entrada { background: linear-gradient(135deg, rgba(var(--marca-rgb), .13), rgba(var(--marca-rgb), .03)); }
.logo-capa { max-height: 110px; max-width: 260px; }
.titulo-capa { font-weight: 800; letter-spacing: -.02em; }
.passos li { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.passos li span { width: 28px; height: 28px; border-radius: 50%; background: var(--marca); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.chips-categorias { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; }
.chip-cat { white-space: nowrap; border: 1px solid var(--borda); background: #fff; border-radius: 999px; padding: .3rem .9rem; font-size: .9rem; }
.chip-cat.ativo { background: var(--marca); border-color: var(--marca); color: #fff; }
.card-produto { border: 1px solid var(--borda); border-radius: 16px; overflow: hidden; background: #fff; transition: transform .12s, box-shadow .12s; cursor: pointer; padding: 0; }
.card-produto:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31,27,46,.1); }
.card-produto.esgotado { opacity: .6; }
.foto-item { background: #efecf6; }
.foto-item img { width: 100%; height: 100%; object-fit: cover; }
.nome-produto { font-size: .98rem; font-weight: 600; margin: 0 0 .15rem; }
.preco { font-weight: 700; color: var(--marca); }
.disp-item { font-size: .78rem; color: #1b7f4b; }
.disp-esgotado { color: #b4232c; }
.aviso-disp { border-radius: 10px; padding: .5rem .75rem; font-size: .9rem; }
.disp-ok { background: #e8f6ee; color: #1b7f4b; }
.disp-nao { background: #fdecee; color: #b4232c; }
.btn-opcao { border: 1px solid var(--borda); background: #fff; border-radius: 999px; padding: .3rem .9rem; font-size: .9rem; }
.btn-opcao.ativo { background: var(--marca); color: #fff; border-color: var(--marca); }
.seletor-qtd { display: inline-flex; align-items: center; border: 1px solid var(--borda); border-radius: 999px; overflow: hidden; background: #fff; }
.seletor-qtd button { border: 0; background: transparent; width: 40px; height: 40px; font-size: 1.2rem; }
.seletor-qtd input { width: 52px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.seletor-qtd input::-webkit-outer-spin-button, .seletor-qtd input::-webkit-inner-spin-button { -webkit-appearance: none; }
.seletor-qtd-sm button { width: 32px; height: 32px; }
.seletor-qtd-sm input { width: 40px; }
.barra-total { position: fixed; left: 12px; right: 12px; bottom: 12px; background: var(--marca); color: #fff; text-decoration: none; border-radius: 14px; padding: .85rem 1rem; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 1030; }
.barra-total:hover { color: #fff; }
.miniatura { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; flex: none; background: #efecf6; }
.miniatura img { width: 100%; height: 100%; object-fit: cover; }
.icone-sucesso { width: 72px; height: 72px; border-radius: 50%; background: #e8f6ee; color: #1b7f4b; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; }
.btn-whatsapp { background: #25D366; border-color: #25D366; color: #fff; font-weight: 600; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }
.rodape-publico { color: #8a85a0; font-size: .85rem; }

/* ---------- acesso / marca PickPro ---------- */
.tela-acesso { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: linear-gradient(160deg, #1F1B2E 0%, #3a2d6b 100%); }
.tela-acesso .cartao { width: 100%; max-width: 420px; padding: 2rem; }
.logo-texto { font-weight: 800; font-size: 1.8rem; letter-spacing: -.03em; }
.logo-texto b { color: var(--marca); }
.card-nicho { border: 2px solid var(--borda); border-radius: 14px; padding: 1rem; cursor: pointer; background: #fff; height: 100%; display: block; }
.card-nicho:hover { border-color: var(--marca); }
.btn-check:checked + .card-nicho { border-color: var(--marca); background: rgba(var(--marca-rgb), .06); }
.card-nicho.desativado { opacity: .55; cursor: not-allowed; }
.card-nicho .icone { font-size: 1.5rem; color: var(--marca); }
@media (max-width: 575px) { .data-evento { text-align: left; } }
