/* Loja — novo topo (ideia 1: mapa vivo à direita) + barra superior fixa.
   Para voltar ao antigo: restaurar painelcpa-loja-v12.html.bak-hero-20261119 */

/* ---------- Barra superior fixa (saldo, busca, voltar sempre visíveis) ---------- */
html body.pc-store-theme .topbar,
html body .topbar{
  position:sticky!important;top:0!important;z-index:95!important;
  transition:box-shadow .2s ease,background-color .2s ease;
}
html body .topbar.pc-scrolled{
  background:rgba(8,8,7,.94)!important;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  box-shadow:0 10px 30px rgba(0,0,0,.55),0 1px 0 rgba(232,183,90,.18)!important;
}
@media (max-width:760px){
  /* No celular, ao rolar, a barra encolhe: some a busca e ficam voltar, logo, saldo e carrinho */
  html body .topbar.pc-scrolled{min-height:0!important;height:auto!important;padding-top:6px!important;padding-bottom:6px!important}
  html body .topbar.pc-scrolled .search{display:none!important}
}

/* ---------- Hero ---------- */
.pc-h2{
  --g:#e8b75a;--g2:#ffd98a;--ink:#1b1408;--mut:#a9a297;--ln:#3a352c;
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:center;
  padding-top:28px;padding-bottom:12px;position:relative;
}
.pc-h2-copy{min-width:0}
.pc-h2-pill{
  display:inline-flex;align-items:center;gap:8px;border:1px solid var(--ln);border-radius:999px;
  padding:6px 12px;font-size:12px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;
  color:var(--g2);background:rgba(232,183,90,.06);
}
.pc-h2-pill::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--g);box-shadow:0 0 10px var(--g)}
.pc-h2 h1{
  font-size:clamp(34px,4.2vw,56px)!important;line-height:1.05!important;font-weight:800!important;
  letter-spacing:-.5px;margin:16px 0 14px!important;color:#f6f1e7!important;text-transform:none!important;
  font-style:normal!important;text-wrap:balance;max-width:15ch;
}
.pc-h2 h1 em{font-style:normal;color:var(--g);text-shadow:0 0 24px rgba(232,183,90,.35)}
.pc-h2-copy p{color:var(--mut)!important;font-size:16px!important;line-height:1.55!important;margin:0 0 24px!important;max-width:42ch}
.pc-h2-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.pc-h2-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 26px;border-radius:12px;
  font-weight:700;font-size:15px;text-decoration:none!important;color:var(--ink)!important;
  background:linear-gradient(180deg,var(--g2),var(--g));box-shadow:0 8px 28px rgba(232,183,90,.25);
  transition:filter .2s,transform .2s;
}
.pc-h2-btn:hover{filter:brightness(1.07);transform:translateY(-1px)}
.pc-h2-from{font-size:14px;color:var(--mut)}
.pc-h2-from strong{color:#f6f1e7;font-size:16px}
.pc-h2 a:focus-visible,.pc-h2-shortcuts a:focus-visible{outline:2px solid var(--g,#e8b75a);outline-offset:3px}

/* Mapa vivo: imagem real + camada animada */
.pc-h2-map{position:relative;width:100%;max-width:600px;margin-left:auto;aspect-ratio:1120/920}
.pc-h2-map img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 18px rgba(232,183,90,.28))}
.pc-h2-net{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.pc-h2-glow{position:absolute;inset:8% 10%;border-radius:50%;background:radial-gradient(closest-side,rgba(232,183,90,.20),rgba(232,183,90,.06) 55%,transparent);filter:blur(10px)}
.pc-h2-arc{fill:none;stroke:url(#pcH2Arc);stroke-width:2;stroke-linecap:round;stroke-dasharray:6 10;opacity:.9;animation:pcH2Flow 2.2s linear infinite}
.pc-h2-core{fill:#fff6da}
.pc-h2-ring{fill:none;stroke:#ffd98a;stroke-width:2;transform-box:fill-box;transform-origin:center;animation:pcH2Ping 2.6s ease-out infinite}
.pc-h2-sig{fill:#fff}
@keyframes pcH2Flow{to{stroke-dashoffset:-32}}
@keyframes pcH2Ping{0%{transform:scale(.4);opacity:.95}100%{transform:scale(3.2);opacity:0}}

/* ---------- Atalhos embaixo do hero ---------- */
.pc-h2-shortcuts{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;
  padding-top:8px;padding-bottom:28px;margin-bottom:8px;border-bottom:1px solid rgba(54,51,47,.65);
}
.pc-h2-sc{
  position:relative;display:flex;align-items:center;gap:14px;min-height:72px;padding:14px 16px;
  border:1px solid #2a2722;border-radius:14px;background:linear-gradient(160deg,#161513,#0d0d0c);
  color:#f6f1e7!important;text-decoration:none!important;transition:border-color .2s,transform .2s;
}
.pc-h2-sc:hover{border-color:#e8b75a;transform:translateY(-2px)}
.pc-h2-sc .qicon{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:rgba(232,183,90,.10);color:#ffd98a;margin:0!important}
.pc-h2-sc .qicon svg{width:21px;height:21px}
.pc-h2-tx{min-width:0;display:flex;flex-direction:column;gap:2px}
.pc-h2-tx strong{font-size:15px;line-height:1.25}
.pc-h2-tx small{font-size:12px;color:#a9a297;line-height:1.3}
.pc-h2-go{margin-left:auto;width:18px;height:18px;fill:none;stroke:#a9a297;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.pc-h2-sc.pc-affiliate-featured{border-color:rgba(232,183,90,.45);background:linear-gradient(160deg,rgba(232,183,90,.14),#0d0d0c 70%)}
.pc-h2-sc.pc-affiliate-featured .pc-h2-go{display:none}
.pc-h2-sc.pc-affiliate-featured .pc-affiliate-fire{top:50%!important;transform:translateY(-50%)}

/* ---------- Tablet e celular ---------- */
@media (max-width:980px){
  .pc-h2{grid-template-columns:1fr;gap:4px;padding-top:20px;padding-bottom:4px}
  .pc-h2 h1{max-width:20ch}
  .pc-h2-map{margin:0 auto;max-width:440px}
  .pc-h2-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .pc-h2 h1{font-size:30px!important}
  .pc-h2-copy p{font-size:15px!important;margin-bottom:18px!important}
  .pc-h2-map{max-width:360px}
  .pc-h2-sc{min-height:64px;padding:12px;gap:10px}
  .pc-h2-sc .qicon{width:38px;height:38px}
  .pc-h2-go{display:none}
}
@media (max-width:400px){ .pc-h2-tx small{display:none} }
@media (prefers-reduced-motion:reduce){ .pc-h2-arc,.pc-h2-ring{animation:none} .pc-h2-sig{display:none} }

/* ---------- Fim da loja ---------- */
.pc-end{--g:#e8b75a;--g2:#ffd98a;--mut:#a9a297;--ln:#2a2722;margin-top:56px!important;padding-bottom:32px;display:flex;flex-direction:column;gap:20px}
.pc-end-cta{position:relative;overflow:hidden;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;
  padding:40px 44px;border:1px solid rgba(232,183,90,.35);border-radius:24px;
  background:radial-gradient(70% 140% at 100% 0%,rgba(232,183,90,.18),transparent 60%),linear-gradient(160deg,#16130d,#0a0a09)}
.pc-end-cta::after{content:"";position:absolute;right:-40px;bottom:-60px;width:360px;height:300px;background:url('/core/public/hero-network-brazil-alpha-cropped-v6.webp?v=6') center/contain no-repeat;opacity:.22;pointer-events:none}
.pc-end-cta-copy,.pc-end-cta-actions{position:relative;z-index:1;min-width:0}
.pc-end-cta h2{margin:14px 0 8px!important;font-size:clamp(26px,3vw,38px)!important;line-height:1.1!important;font-weight:800!important;color:#f6f1e7!important;text-wrap:balance;text-transform:none!important;letter-spacing:-.4px}
.pc-end-cta p{margin:0!important;color:var(--mut)!important;font-size:15px!important;line-height:1.5}
.pc-end-cta-actions{display:flex;flex-wrap:wrap;gap:12px}
.pc-end-ghost{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 20px;border-radius:12px;border:1px solid #3a352c;background:rgba(10,10,9,.6);color:#f6f1e7;font:inherit;font-weight:700;font-size:15px;cursor:pointer;transition:border-color .2s}
.pc-end-ghost:hover{border-color:var(--g)}
.pc-end-ghost svg{color:var(--g2)}
.pc-end-trust{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.pc-end-trust li{display:flex;gap:12px;align-items:flex-start;padding:18px;border:1px solid var(--ln);border-radius:16px;background:linear-gradient(160deg,#141311,#0c0c0b)}
.pc-end-trust li>span{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:rgba(232,183,90,.10);color:var(--g2)}
.pc-end-trust b{display:block;font-size:15px;color:#f6f1e7}
.pc-end-trust small{display:block;margin-top:4px;font-size:13px;line-height:1.45;color:var(--mut)}
.pc-end-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:28px;padding:28px 4px 8px;border-top:1px solid var(--ln);margin-top:12px}
.pc-end-brand{max-width:320px}
.pc-end-brand img{height:44px;width:auto;display:block}
.pc-end-brand p{margin:12px 0 0!important;color:var(--mut)!important;font-size:14px!important;line-height:1.5}
.pc-end-links{display:flex;flex-wrap:wrap;gap:24px 56px}
.pc-end-links div{display:flex;flex-direction:column;gap:6px;min-width:140px}
.pc-end-links b{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--g2);margin-bottom:4px}
.pc-end-links a,.pc-end-links button{all:unset;cursor:pointer;color:#d8d2c6;font-size:14px;padding:4px 0;min-height:28px;display:flex;align-items:center}
.pc-end-links a:hover,.pc-end-links button:hover{color:#fff}
.pc-end a:focus-visible,.pc-end button:focus-visible{outline:2px solid var(--g);outline-offset:3px;border-radius:6px}
.pc-end-copy{margin:0!important;padding:16px 4px 0;border-top:1px solid var(--ln);font-size:13px!important;color:#8f887c!important}
@media (max-width:980px){.pc-end-trust{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .pc-end{margin-top:36px!important}
  .pc-end-cta{padding:28px 20px}
  .pc-end-cta-actions,.pc-end-cta-actions>*{width:100%}
  .pc-end-trust{grid-template-columns:1fr}
  .pc-end-links{gap:20px 32px}
  .pc-end-links a,.pc-end-links button{min-height:40px}
}

/* ---------- Miniatura do carrinho/checkout = arte do card ---------- */
html body .pc-cart-art.pc-cart-art-rotativa,
html body .pc-cart-art.pc-cart-art-premium{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  padding:0!important;border:1px solid #3a352c!important;border-radius:12px!important;
  background:#050505 url('/core/public/proxy-card-network-brazil-gold-v2.png?v=2') 30% center/cover no-repeat!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 0 18px rgba(232,183,90,.12)!important;
  color:#fff!important;text-align:center!important;
}
html body .pc-cart-art.pc-cart-art-rotativa::before,
html body .pc-cart-art.pc-cart-art-premium::before{
  content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;display:block!important;
  background:radial-gradient(circle at 50% 50%,rgba(0,0,0,.25),rgba(0,0,0,.72) 75%)!important;
}
html body .pc-cart-art.pc-cart-art-rotativa::after,
html body .pc-cart-art.pc-cart-art-premium::after{content:none!important;display:none!important}
html body .pc-cart-art.pc-cart-art-rotativa b,
html body .pc-cart-art.pc-cart-art-premium b{
  position:static!important;inset:auto!important;transform:none!important;
  font-size:22px!important;line-height:1!important;font-weight:900!important;letter-spacing:-.04em!important;
  color:#fff!important;text-shadow:0 2px 10px rgba(0,0,0,.9)!important;text-align:center!important;
}
html body .pc-cart-art .pc-art-kind{
  display:inline-block;padding:3px 7px;border-radius:6px;
  font-size:9px;font-weight:800;letter-spacing:.14em;line-height:1;
  color:#1b1408;background:linear-gradient(180deg,#ffd98a,#e8b75a);
}
html body .pc-cart-art.pc-cart-art-premium .pc-art-kind{background:linear-gradient(180deg,#fff,#dfe3ea)}
html body .pc-shop-summary > .pc-cart-art{width:76px!important;height:76px!important;min-height:76px!important}

/* ---------- Celular: mapa vira fundo do texto ---------- */
@media (max-width:760px){
  .pc-h2{position:relative;display:block!important;padding-top:22px!important;padding-bottom:18px!important;overflow:hidden;isolation:isolate}
  .pc-h2-copy{position:relative;z-index:1}
  .pc-h2-map{position:absolute!important;z-index:0;right:-34%;top:50%;transform:translateY(-50%);width:92%;max-width:none!important;margin:0!important;opacity:.38;pointer-events:none;
    -webkit-mask-image:radial-gradient(closest-side,#000 60%,transparent);mask-image:radial-gradient(closest-side,#000 60%,transparent)}
  .pc-h2 h1{max-width:13ch!important;text-shadow:0 2px 18px rgba(0,0,0,.85)}
  .pc-h2-copy p{max-width:30ch!important;text-shadow:0 1px 10px rgba(0,0,0,.9)}
}
@media (max-width:760px){
  .pc-h2-map{right:-24%!important;top:46%!important;width:84%!important;opacity:.7!important;
    -webkit-mask-image:radial-gradient(closest-side,#000 72%,transparent)!important;mask-image:radial-gradient(closest-side,#000 72%,transparent)!important}
  .pc-h2::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(7,7,7,.92) 0%,rgba(7,7,7,.55) 48%,rgba(7,7,7,0) 75%)}
}
/* Celular: mapa pequeno no canto de cima, ao lado do título */
@media (max-width:760px){
  .pc-h2::before{content:none!important}
  .pc-h2-map{right:-6px!important;top:14px!important;transform:none!important;width:150px!important;opacity:1!important;
    -webkit-mask-image:none!important;mask-image:none!important}
  .pc-h2 h1{max-width:none!important;padding-right:128px;font-size:28px!important;text-shadow:none!important}
  .pc-h2-copy .pc-h2-pill{margin-right:128px}
  .pc-h2-copy p{max-width:none!important;text-shadow:none!important}
}
@media (max-width:360px){ .pc-h2-map{width:120px!important} .pc-h2 h1{padding-right:100px;font-size:25px!important} }

/* ---------- Celular: busca, carrinho, suporte e saldo na mesma linha ---------- */
@media (max-width:760px){
  html body.pc-store-theme .topbar{min-height:0!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:42px 42px!important;column-gap:8px!important;row-gap:8px!important;height:auto!important;min-height:0!important}
  html body.pc-store-theme .topbar .lefthead{grid-column:1 / -1!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;min-width:0!important}
  html body.pc-store-theme .topbar .lefthead .brand{margin-left:auto!important;min-width:0!important}
  html body.pc-store-theme .topbar .lefthead .brand img{max-width:150px!important;height:auto!important}
  html body.pc-store-theme .topbar .search{grid-column:1!important;grid-row:2!important;min-width:0!important;width:auto!important;margin:0!important}
  html body.pc-store-theme .topbar .search input{min-width:0!important;width:100%!important;height:42px!important;padding-right:38px!important;text-overflow:ellipsis}
  html body.pc-store-theme .topbar .top-actions{grid-column:2!important;grid-row:2!important;display:flex!important;align-items:center!important;gap:6px!important;width:auto!important;margin:0!important}
  html body.pc-store-theme .topbar .top-actions .cart-top{order:1!important}
  html body.pc-store-theme .topbar .top-actions .pc-header-support{order:2!important}
  html body.pc-store-theme .topbar .top-actions .pc-wallet-pill{order:3!important;width:auto!important;min-width:0!important;flex:none!important;height:42px!important;padding:0 6px 0 10px!important;gap:6px!important}
  html body.pc-store-theme .topbar .top-actions .pc-wallet-pill svg:first-child{display:none!important}
  html body.pc-store-theme .topbar .top-actions .pc-wallet-pill small{display:none!important}
  html body.pc-store-theme .topbar .top-actions .pc-wallet-pill strong{font-size:13px!important;white-space:nowrap!important}
}

/* ---------- Botão "Voltar para o painel" ---------- */
html body.pc-store-theme .topbar .back-btn,
html body .topbar .back-btn{
  display:inline-flex!important;align-items:center!important;gap:10px!important;height:40px!important;min-height:40px!important;padding:0 16px 0 5px!important;
  border:1px solid #2c2c2c!important;border-radius:999px!important;background:linear-gradient(180deg,#161616,#0d0d0d)!important;color:#e5e5e5!important;
  font-size:13px!important;font-weight:600!important;letter-spacing:0!important;white-space:nowrap!important;box-shadow:none!important;cursor:pointer;
  transition:border-color .2s,color .2s,background-color .2s!important}
html body.pc-store-theme .topbar .back-btn svg,
html body .topbar .back-btn svg{
  width:30px!important;height:30px!important;padding:8px!important;box-sizing:border-box!important;border-radius:50%!important;
  background:#232323!important;color:#fff!important;flex:none!important;transition:transform .2s,background-color .2s}
html body.pc-store-theme .topbar .back-btn:hover,
html body .topbar .back-btn:hover{border-color:#e8b75a!important;color:#fff!important}
html body.pc-store-theme .topbar .back-btn:hover svg,
html body .topbar .back-btn:hover svg{transform:translateX(-2px);background:#e8b75a!important;color:#1b1408!important}
html body .topbar .back-btn:focus-visible{outline:2px solid #e8b75a!important;outline-offset:2px!important}
@media (max-width:760px){
  html body.pc-store-theme .topbar .back-btn{height:36px!important;min-height:36px!important;padding:0 12px 0 4px!important;font-size:12px!important;gap:8px!important}
  html body.pc-store-theme .topbar .back-btn svg{width:28px!important;height:28px!important;padding:7px!important}
}

/* ---------- Celular rolando: some a linha de cima, a busca fica ---------- */
@media (max-width:760px){
  html body.pc-store-theme .topbar.pc-scrolled .search{display:block!important}
  html body.pc-store-theme .topbar.pc-scrolled .lefthead{display:none!important}
  html body.pc-store-theme .topbar.pc-scrolled{grid-template-rows:42px!important;padding-top:8px!important;padding-bottom:8px!important}
  html body.pc-store-theme .topbar.pc-scrolled .search,
  html body.pc-store-theme .topbar.pc-scrolled .top-actions{grid-row:1!important}
}
/* Seta do "Voltar" desenhada pelo CSS (o texto não tem mais a seta) */
html body .topbar .back-btn::before{content:"";flex:none;width:30px;height:30px;border-radius:50%;
  background:#232323 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center/15px no-repeat;
  transition:transform .2s,background-color .2s}
html body .topbar .back-btn:hover::before{transform:translateX(-2px);background-color:#e8b75a;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1408' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E")}
html body .topbar .back-btn svg{display:none!important}
@media (max-width:760px){html body .topbar .back-btn::before{width:28px;height:28px;background-size:14px}}
