/* Goodbom — aviso de cookies (LGPD), v1.1: cartão pequeno no canto, uma frase, Rejeitar e Aceitar com o mesmo peso.
   Não bloqueia a página. Tudo com prefixo gbcc e com reforço (!important) onde o tema BeTheme estiliza <button>. */
.gbcc-aviso, .gbcc-painel, .gbcc-reabrir { --gbcc-azul: #003084; --gbcc-azul2: #0a43b0; --gbcc-texto: #1e293b; --gbcc-texto2: #64748b; --gbcc-linha: #e5e9f0; --gbcc-fundo: #f4f7fc;
  font-family: inherit; color: var(--gbcc-texto); box-sizing: border-box; -webkit-font-smoothing: antialiased; }
.gbcc-aviso *, .gbcc-painel * { box-sizing: border-box; }
.gbcc-aviso[hidden], .gbcc-painel[hidden] { display: none !important; }
.gbcc-aviso p, .gbcc-painel p { margin: 0; }
.gbcc-aviso svg, .gbcc-painel svg, .gbcc-reabrir svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.gbcc-ico { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; color: var(--gbcc-azul); background: #e8eefa; }

/* cartão */
.gbcc-aviso { position: fixed; z-index: 2147483000; left: 20px; bottom: 20px; width: 360px; max-width: calc(100vw - 24px);
  padding: 14px; background: #fff; border: 1px solid var(--gbcc-linha); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 25, 70, .16);
  animation: gbcc-entra .25s ease-out; }
@keyframes gbcc-entra { from { opacity: 0; transform: translateY(10px); } }
.gbcc-aviso-topo { display: flex; align-items: center; gap: 11px; }
.gbcc-msg { font-size: 14px; line-height: 1.4; }
.gbcc-msg a { color: var(--gbcc-azul); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.gbcc-aviso-acoes { display: flex; gap: 8px; margin-top: 12px; }

/* botões (o tema estiliza todo <button>: reforço com !important) */
html body .gbcc-aviso button.gbcc-btn, html body .gbcc-painel button.gbcc-btn { flex: 1; margin: 0 !important; padding: 9px 12px !important; min-height: 40px; width: auto; height: auto;
  font-family: inherit !important; font-size: 14px !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: normal !important; text-transform: none !important;
  border-radius: 10px !important; border: 1.5px solid var(--gbcc-azul) !important; box-shadow: none !important; cursor: pointer; transition: background .15s, border-color .15s; }
html body .gbcc-aviso button.gbcc-principal, html body .gbcc-painel button.gbcc-principal { background: var(--gbcc-azul) !important; color: #fff !important; }
html body .gbcc-aviso button.gbcc-principal:hover, html body .gbcc-painel button.gbcc-principal:hover { background: var(--gbcc-azul2) !important; border-color: var(--gbcc-azul2) !important; }
html body .gbcc-painel button.gbcc-secundario { background: #fff !important; color: var(--gbcc-azul) !important; }
html body .gbcc-painel button.gbcc-secundario:hover { background: var(--gbcc-fundo) !important; }
html body .gbcc-aviso button.gbcc-icone { flex: none; width: 40px !important; height: 40px !important; padding: 9px !important; margin: 0 !important; border-radius: 10px !important;
  background: #fff !important; color: var(--gbcc-azul) !important; border: 1.5px solid var(--gbcc-linha) !important; box-shadow: none !important; cursor: pointer; }
html body .gbcc-aviso button.gbcc-icone:hover { border-color: var(--gbcc-azul) !important; background: var(--gbcc-fundo) !important; }
html body .gbcc-painel button.gbcc-fechar { margin: 0 0 0 auto !important; padding: 0 !important; width: 32px !important; height: 32px !important; border-radius: 50% !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--gbcc-texto2) !important; font-size: 24px !important; line-height: 1 !important; cursor: pointer; }
html body .gbcc-painel button.gbcc-fechar:hover { background: var(--gbcc-fundo) !important; }
.gbcc-aviso button:focus-visible, .gbcc-painel button:focus-visible, .gbcc-reabrir:focus-visible, .gbcc-chave input:focus-visible + span { outline: 3px solid #f28c28 !important; outline-offset: 2px; }

/* painel */
.gbcc-painel { position: fixed; inset: 0; z-index: 2147483001; background: rgba(0, 18, 50, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.gbcc-painel-caixa { background: #fff; border-radius: 18px; width: min(400px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); animation: gbcc-entra .2s ease-out; }
.gbcc-painel-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.gbcc-tit { font-size: 17px; font-weight: 700; color: var(--gbcc-azul); }
.gbcc-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gbcc-cats li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--gbcc-fundo); }
.gbcc-cat-ico { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: #fff; color: var(--gbcc-azul); }
.gbcc-cat-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; margin: 0; cursor: pointer; line-height: 1.25; }
.gbcc-cat-txt b { font-size: 14px; } .gbcc-cat-txt small { font-size: 12px; color: var(--gbcc-texto2); }
.gbcc-sempre { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #15803d; background: #dcfce7; padding: 3px 8px; border-radius: 999px; }
.gbcc-chave { position: relative; flex: none; width: 42px; height: 24px; }
.gbcc-chave input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.gbcc-chave span { position: absolute; inset: 0; border-radius: 24px; background: #c3cad6; transition: background .15s; }
.gbcc-chave span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .15s; }
.gbcc-chave input:checked + span { background: var(--gbcc-azul); } .gbcc-chave input:checked + span::after { transform: translateX(18px); }
.gbcc-rodape-txt { margin: 12px 2px 0 !important; font-size: 12px; color: var(--gbcc-texto2); }
.gbcc-rodape-txt a { color: var(--gbcc-azul); text-decoration: underline; }
.gbcc-painel-acoes { display: flex; gap: 8px; margin-top: 12px; }
html.gbcc-travado { overflow: hidden; }

/* botão para reabrir: discreto, no canto */
html body button.gbcc-reabrir { position: fixed; z-index: 2147482999; left: 14px; bottom: 14px; width: 36px !important; height: 36px !important; padding: 8px !important; margin: 0 !important;
  border-radius: 50% !important; border: 1px solid var(--gbcc-linha) !important; background: #fff !important; color: var(--gbcc-azul) !important;
  box-shadow: 0 3px 10px rgba(0, 25, 70, .15) !important; cursor: pointer; opacity: .85; display: block !important; }
html body button.gbcc-reabrir:hover { opacity: 1; }
html body button.gbcc-reabrir[hidden] { display: none !important; }

@media (max-width: 560px) {
  .gbcc-aviso { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; }
  .gbcc-painel { align-items: flex-end; padding: 0; } .gbcc-painel-caixa { width: 100%; border-radius: 18px 18px 0 0; max-height: 90vh; }
}
@media (prefers-reduced-motion: reduce) { .gbcc-aviso, .gbcc-painel-caixa { animation: none; } .gbcc-chave span, .gbcc-chave span::after { transition: none; } }
