:root {
  --cor: #14b8a6; --cor-esc: #0d9488; --neon: #2dd4bf;
  --fundo: #0a1110; --fundo2: #0f1a19; --card: #111f1d; --texto: #e8f1ef; --muted: #8fa9a5; --borda: #1e3532;
  --zap: #25d366; --perigo: #ef4444; --corte: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--texto); background: var(--fundo); line-height: 1.6; }
h1, h2, h3 { font-family: "Chakra Petch", Inter, sans-serif; line-height: 1.12; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
a { color: var(--neon); }
img { max-width: 100%; height: auto; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.mudo { color: var(--muted); font-size: .88rem; }

/* botões */
.btn { display: inline-block; padding: .75em 1.4em; background: var(--cor); color: #031412; font-family: "Chakra Petch", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border: 0; cursor: pointer; font-size: .9rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: background .15s; }
.btn:hover { background: var(--neon); }
.btn-sm { padding: .4em .9em; font-size: .78rem; clip-path: none; }
.btn-zap { background: var(--zap); } .btn-zap:hover { background: #4be28a; }
.btn-grande { padding: .95em 1.8em; font-size: 1rem; }
.btn-bloco { width: 100%; }
.btn-ghost { background: transparent; color: var(--texto); border: 2px solid var(--neon); clip-path: none; } .btn-ghost:hover { background: rgba(45,212,191,.1); }

/* topo e menu da vitrine */
.topo { background: rgba(10,17,16,.92); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--borda); }
.topo-in { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.logo img { display: block; height: 38px; width: auto; }
.busca { flex: 1; display: flex; max-width: 520px; margin-inline: auto; }
.busca input { flex: 1; min-width: 0; padding: .6em .9em; background: var(--fundo2); border: 1px solid var(--borda); border-right: 0; color: var(--texto); font: inherit; border-radius: 0; }
.busca input:focus { outline: 2px solid var(--neon); outline-offset: -2px; }
.busca button { padding: 0 1.1em; background: var(--cor); border: 0; color: #031412; font-family: "Chakra Petch", sans-serif; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.menu { display: flex; align-items: center; gap: 18px; }
.menu a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .88rem; white-space: nowrap; } .menu a:not(.btn):hover { color: var(--neon); }
.cats { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 10px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: .35em .9em; border: 1px solid var(--borda); color: var(--muted); text-decoration: none; font-size: .84rem; font-family: "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.cats a:hover { border-color: var(--neon); color: var(--neon); }

/* início */
.hero { padding: 64px 0 56px; background:
    radial-gradient(600px 300px at 85% 30%, rgba(45,212,191,.18), transparent 70%),
    linear-gradient(var(--borda) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--borda) 1px, transparent 1px) 0 0 / 48px 48px, var(--fundo); }
.hero-in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 700; }
.dest { color: var(--neon); }
.etq { display: inline-block; border: 1px solid var(--neon); color: var(--neon); padding: .3em .9em; font-family: "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 600; margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-itens { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-itens li { border: 1px solid var(--borda); background: rgba(15,26,25,.8); padding: 14px 18px; border-left: 4px solid var(--neon); }
.hero-itens strong { display: block; font-family: "Chakra Petch", sans-serif; text-transform: uppercase; color: var(--neon); }
.hero-itens span { color: var(--muted); font-size: .9rem; }
.secao { margin: 36px 0 16px; font-size: 1.5rem; }
.secao::after, .pag-titulo::after { content: ""; display: block; width: 52px; height: 4px; background: var(--neon); margin-top: 10px; }
.pag-titulo { font-size: 1.9rem; margin: 6px 0 4px; }
.sub { color: var(--muted); margin: 14px 0 20px; }
.migalha { font-size: .85rem; color: var(--muted); padding: 18px 0 4px; } .migalha a { color: var(--muted); } .migalha a:hover { color: var(--neon); }

/* grade e cartões */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.prod { background: var(--card); border: 1px solid var(--borda); display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.prod:hover { border-color: var(--neon); transform: translateY(-2px); }
.prod-foto { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.prod-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sem-foto { display: grid; place-items: center; height: 100%; color: #9aa; font-size: .85rem; background: #f1f4f3; }
.selo { position: absolute; top: 8px; left: 8px; background: var(--neon); color: #031412; font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: .72rem; padding: .2em .6em; text-transform: uppercase; }
.selo-promo { background: #f59e0b; } .selo-esgotado { left: auto; right: 8px; background: #475569; color: #fff; }
.detalhe .selo { position: static; display: inline-block; vertical-align: middle; }
.prod-info { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod-marca { color: var(--neon); font-size: .74rem; font-family: "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.prod h3 { font-size: 1rem; text-transform: none; margin: 0; } .prod h3 a { color: var(--texto); text-decoration: none; } .prod h3 a:hover { color: var(--neon); }
.prod-resumo { margin: 0; color: var(--muted); font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-preco { margin-top: auto; padding-top: 8px; } .prod-preco strong { font-family: "Chakra Petch", sans-serif; font-size: 1.25rem; color: var(--texto); }
.prod-preco s { color: var(--muted); font-size: .85rem; margin-right: 6px; } .consulta { color: var(--muted); font-style: italic; }
.vazio { border: 1px dashed var(--borda); padding: 36px 20px; text-align: center; margin: 28px 0; color: var(--muted); } .vazio strong { color: var(--texto); font-size: 1.1rem; }
.paginas { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0; }
.paginas a { padding: .35em .8em; border: 1px solid var(--borda); text-decoration: none; color: var(--muted); } .paginas a.atual, .paginas a:hover { border-color: var(--neon); color: var(--neon); }

/* produto */
.detalhe { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; margin-top: 10px; align-items: start; }
.foto-grande { background: #fff; aspect-ratio: 1 / 1; display: grid; place-items: center; border: 1px solid var(--borda); }
.foto-grande img { width: 100%; height: 100%; object-fit: contain; }
.miniaturas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mini { width: 72px; height: 72px; padding: 0; background: #fff; border: 2px solid var(--borda); cursor: pointer; } .mini.ativa, .mini:hover { border-color: var(--neon); }
.mini img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dados h1 { font-size: 1.7rem; text-transform: none; }
.codigo { color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.preco-grande { margin: 12px 0; } .preco-grande strong { font-family: "Chakra Petch", sans-serif; font-size: 2.2rem; } .preco-grande s { color: var(--muted); }
.estoque { font-size: .9rem; margin-bottom: 16px; } .estoque.ok { color: #4ade80; } .estoque.sem { color: #f59e0b; }
.nota { color: var(--muted); font-size: .85rem; } .resumo-d { margin-top: 14px; }
.descricao { margin-top: 36px; } .descricao h2 { font-size: 1.3rem; } .texto { white-space: pre-line; color: #cfe3df; max-width: 80ch; }

.rodape { margin-top: 56px; background: #060b0a; border-top: 1px solid var(--borda); padding: 32px 0 18px; color: var(--muted); font-size: .9rem; }
.rodape-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } .rodape strong { color: var(--texto); }
.copia { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--borda); font-size: .8rem; }
.zap-fixo { position: fixed; right: 16px; bottom: 16px; background: var(--zap); color: #031412; font-family: "Chakra Petch", sans-serif; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; text-decoration: none; padding: .7em 1.2em; box-shadow: 0 6px 22px rgba(37,211,102,.35); z-index: 20; }

/* ===================== painel administrativo ===================== */
body.admin { background: #eef8f6; color: #11201e; }
body.admin a { color: #0a655b; }
.adm-topo { background: var(--fundo); border-bottom: 2px solid var(--neon); position: sticky; top: 0; z-index: 10; }
.adm-in { width: min(1180px, 100% - 24px); margin-inline: auto; display: flex; align-items: center; gap: 18px; padding: 10px 0; flex-wrap: wrap; }
.adm-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texto) !important; font-family: "Chakra Petch", sans-serif; font-weight: 700; text-transform: uppercase; }
.adm-menu { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.adm-menu a { color: var(--muted) !important; text-decoration: none; padding: .4em .8em; font-family: "Chakra Petch", sans-serif; text-transform: uppercase; font-size: .84rem; letter-spacing: .04em; } .adm-menu a:hover { color: var(--neon) !important; }
.adm-menu a.on { color: var(--neon) !important; box-shadow: inset 0 -3px 0 var(--neon); }
.adm-sair { display: flex; align-items: center; gap: 10px; margin: 0; } .adm-user { color: var(--muted); font-size: .85rem; }
.btn-ghost-esc { background: transparent; color: var(--texto); border: 1px solid var(--borda); }
.adm-main { width: min(1180px, 100% - 24px); margin: 22px auto 60px; }
.adm-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.adm-cab h1 { margin: 0; font-size: 1.6rem; color: #08201e; } .adm-cab h1 small { font-size: .9rem; color: #5b6f6c; }
.aviso { padding: .7em 1em; margin-bottom: 12px; border: 1px solid #c2d9d4; border-left: 4px solid var(--cor); background: #fff; }
.aviso-success { border-left-color: #15803d; } .aviso-danger { border-left-color: #c0392b; background: #fdecec; } .aviso-warning { border-left-color: #f59e0b; background: #fff8e6; }
.card-adm { background: #fff; border: 1px solid #c2d9d4; border-top: 2px solid var(--cor); padding: 18px 20px; margin-bottom: 16px; }
.card-adm h2 { font-size: 1.05rem; color: #08201e; } .card-adm h2 small { color: #5b6f6c; font-size: .8rem; }
.card-adm.perigo { border-top-color: var(--perigo); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border: 1px solid #c2d9d4; border-left: 4px solid var(--cor); padding: 14px 16px; text-decoration: none; color: inherit !important; display: block; }
.kpi strong { display: block; font-family: "Chakra Petch", sans-serif; font-size: 2rem; color: #0a655b; line-height: 1.1; } .kpi span { color: #5b6f6c; font-size: .85rem; }
.pendencias { margin: 0; padding-left: 1.2em; } .lista-simples { list-style: none; margin: 0; padding: 0; }
.lista-simples li { display: flex; justify-content: space-between; gap: 10px; padding: .45em 0; border-bottom: 1px solid #e3efec; } .lista-simples li:last-child { border: 0; } .lista-simples span { color: #5b6f6c; }
.form-adm label { display: block; font-size: .78rem; font-weight: 600; color: #0b3a35; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.form-adm input:not([type=checkbox]):not([type=file]), .form-adm select, .form-adm textarea, .filtros input, .filtros select, .tabela-adm input:not([type=checkbox]), .form-linha input {
  display: block; width: 100%; margin-top: 4px; padding: .6em .7em; border: 1px solid #a9c7c1; background: #fff; font: inherit; font-weight: 400; text-transform: none; letter-spacing: 0; color: #11201e; border-radius: 0; }
.form-adm input:focus, .form-adm select:focus, .form-adm textarea:focus { outline: 2px solid var(--cor); outline-offset: -1px; }
.form-adm input[type=file] { margin-top: 6px; font: inherit; }
.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
label.marca { display: flex; align-items: center; gap: 8px; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; font-size: .95rem !important; color: #11201e !important; } label.marca input { width: auto !important; margin: 0 !important; }
.acoes-form { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-sec { background: #fff; color: #0a655b; border: 1px solid #a9c7c1; clip-path: none; } .btn-sec:hover { background: #d3f4ef; }
.btn-perigo { background: #fff; color: #b91c1c; border: 1px solid #f1b0b0; clip-path: none; } .btn-perigo:hover { background: #fdecec; }
body.admin .btn:not(.btn-sec):not(.btn-perigo):not(.btn-ghost-esc) { color: #031412; }
.ln { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0; } form.ln { display: inline; }
.filtros { display: grid; grid-template-columns: 2fr 1.4fr 1.2fr auto; gap: 10px; margin-bottom: 14px; }
.tabela-adm { background: #fff; border: 1px solid #c2d9d4; border-top: 2px solid var(--cor); overflow-x: auto; margin-bottom: 12px; }
.tabela-adm table { width: 100%; border-collapse: collapse; min-width: 720px; }
.tabela-adm th { background: #eef8f6; text-align: left; font-family: "Chakra Petch", sans-serif; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; padding: .7em .9em; border-bottom: 2px solid #0b8579; color: #0b3a35; }
.tabela-adm td { padding: .6em .9em; border-bottom: 1px solid #e3efec; vertical-align: middle; }
.dir { text-align: right !important; } .t-foto { width: 70px; } .t-foto img, .sem-foto-mini { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid #e3efec; display: grid; place-items: center; color: #9aa; }
.t-nome a { font-weight: 600; text-decoration: none; } .t-acoes { white-space: nowrap; } .vazio-t { text-align: center; color: #5b6f6c; padding: 2em !important; }
.curto { width: 80px !important; display: inline-block !important; text-align: right; }
.tag { display: inline-block; font-size: .68rem; font-weight: 700; padding: .2em .55em; text-transform: uppercase; letter-spacing: .04em; font-family: "Chakra Petch", sans-serif; }
.tag-ok { background: #dcfce7; color: #166534; } .tag-off { background: #e2ecea; color: #3f5754; } .tag-dest { background: #fef0c3; color: #8a5a00; }
.fotos-adm { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.foto-adm { border: 1px solid #c2d9d4; padding: 8px; text-align: center; background: #fafdfc; } .foto-adm.principal { border-color: #0b8579; box-shadow: inset 0 0 0 1px #0b8579; }
.foto-adm img { width: 100%; height: 150px; object-fit: contain; background: #fff; } .foto-adm .ln { margin-top: 6px; justify-content: center; }
.form-linha { display: flex; gap: 8px; } .form-linha input { margin: 0; max-width: 360px; }
.login-box { max-width: 380px; margin: 9vh auto 0; background: var(--fundo); padding: 30px; border-top: 4px solid var(--neon); color: var(--texto); text-align: center; }
.login-box h1 { font-size: 1.2rem; margin: 14px 0 18px; } .login-box label { display: block; text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.login-box input { display: block; width: 100%; margin-top: 4px; padding: .7em; background: var(--fundo2); border: 1px solid var(--borda); color: var(--texto); font: inherit; border-radius: 0; }
.login-box input:focus { outline: 2px solid var(--neon); outline-offset: -2px; }

@media (max-width: 860px) {
  .topo-in { flex-wrap: wrap; gap: 10px; } .busca { order: 3; flex-basis: 100%; max-width: none; }
  .menu a:not(.btn) { display: none; }
  .hero { padding: 40px 0; } .hero-in, .detalhe, .rodape-in { grid-template-columns: 1fr; }
  .grade { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-info { padding: 10px; } .prod-preco strong { font-size: 1.1rem; }
  .dupla, .trio, .filtros { grid-template-columns: 1fr; }
  .preco-grande strong { font-size: 1.9rem; } .btn-grande { width: 100%; text-align: center; }
  .adm-menu { order: 3; flex-basis: 100%; }
}
@media (max-width: 380px) { .grade { grid-template-columns: 1fr; } }
