/* =====================================================================
   NEXT SYSTEM — Design System "Arcade Roxo" (kit de marca v1)
   Preto como base; o Verde NEXT é a chamada principal (ação, preço, estado
   ativo) e o Roxo Arcade é o contraponto. Fredoka 700 nos títulos, Nunito Sans
   no texto. Mascote: a raposa branca do kit.
   Vale para todas as páginas (carregado depois dos estilos de página).
   ===================================================================== */

/* 1. TOKENS ------------------------------------------------------------ */
:root {
  /* Marca */
  --nx-green: #28F969;
  --nx-green-rgb: 40 249 105;
  --nx-green-hover: #5CFF8D;
  --nx-green-press: #1FD95A;
  --nx-green-soft: rgb(var(--nx-green-rgb) / .1);
  --nx-green-line: rgb(var(--nx-green-rgb) / .32);
  --nx-purple: #740ABC;
  --nx-purple-rgb: 116 10 188;
  --nx-purple-hover: #8517D4;
  --nx-purple-soft: rgb(var(--nx-purple-rgb) / .18);
  --nx-purple-line: rgb(var(--nx-purple-rgb) / .55);
  --nx-ink: #0C0D0E;

  /* Superfícies (preto NEXT, do fundo para cima) */
  --nx-bg: #0C0D0E;
  --nx-surface-1: #131416;
  --nx-surface-2: #181A1D;
  --nx-surface-3: #1F2125;
  --nx-surface-4: #282B30;
  --nx-scrim: rgb(0 0 0 / .66);
  --nx-glass: rgb(12 13 14 / .84);

  /* Linhas */
  --nx-line: rgb(var(--nx-fg-rgb) / .08);
  --nx-line-2: rgb(var(--nx-fg-rgb) / .14);
  --nx-line-3: rgb(var(--nx-fg-rgb) / .24);

  /* Texto (contraste AA sobre --nx-bg e --nx-surface-2) */
  --nx-text: #FFFFFF;
  --nx-text-2: #B7BAC1;
  --nx-text-3: #9195A0;
  --nx-text-on-green: var(--nx-ink);

  /* Estados */
  --nx-success: var(--nx-green);
  --nx-warning: #C690FF;
  --nx-warning-rgb: 198 144 255;
  --nx-danger: #FF6B6B;
  --nx-danger-rgb: 255 107 107;
  --nx-info: #C690FF;
  --nx-info-rgb: 198 144 255;
  --nx-trustpilot: #00B67A;
  --nx-star: var(--nx-green);

  /* Espaçamento (base 4px) */
  --nx-s1: 4px; --nx-s2: 8px; --nx-s3: 12px; --nx-s4: 16px; --nx-s5: 20px; --nx-s6: 24px;
  --nx-s8: 32px; --nx-s10: 40px; --nx-s12: 48px; --nx-s16: 64px; --nx-s20: 80px;
  --nx-section: clamp(56px, 7vw, 96px);

  /* Raios */
  --nx-r-xs: 6px; --nx-r-sm: 10px; --nx-r-md: 14px; --nx-r-lg: 18px; --nx-r-xl: 24px; --nx-r-2xl: 32px; --nx-r-pill: 999px;

  /* Sombras */
  --nx-shadow-1: inset 0 1px 0 rgb(var(--nx-fg-rgb) / .04), 0 14px 30px -20px rgb(0 0 0 / .9);
  --nx-shadow-2: inset 0 1px 0 rgb(var(--nx-fg-rgb) / .05), 0 30px 60px -32px rgb(0 0 0 / .95);
  --nx-shadow-pop: 0 28px 60px -18px rgb(0 0 0 / .85);
  --nx-glow: 0 14px 34px -14px rgb(var(--nx-green-rgb) / .6);
  --nx-glow-lg: 0 40px 90px -40px rgb(var(--nx-green-rgb) / .55);

  /* Tipografia */
  --nx-font: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nx-font-display: 'Fredoka', 'Nunito Sans', ui-sans-serif, system-ui, sans-serif;
  --nx-fs-xs: 12px; --nx-fs-sm: 13px; --nx-fs-base: 15px; --nx-fs-md: 16px; --nx-fs-lg: 18px; --nx-fs-xl: 22px;
  --nx-fs-2xl: clamp(24px, 2.4vw, 32px);
  --nx-fs-3xl: clamp(30px, 3.6vw, 46px);
  --nx-fs-display: clamp(38px, 5.6vw, 76px);
  --nx-track-tight: -.01em; --nx-track-display: -.01em; --nx-track-caps: .12em;

  /* Movimento */
  --nx-ease: cubic-bezier(.22, 1, .36, 1);
  --nx-fast: .16s; --nx-mid: .28s; --nx-slow: .6s;

  /* Controles (alvos de toque) */
  --nx-control: 48px; --nx-control-sm: 40px; --nx-control-lg: 56px;
  --nx-focus-ring: 0 0 0 2px var(--nx-bg), 0 0 0 4px var(--nx-green);

  /* Grafismo de fundo: brilhos de quatro pontas do kit, usado em baixa opacidade. */
  --nx-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='%2328F969'%3E%3Cpath d='M46 22l5 19 19 5-19 5-5 19-5-19-19-5 19-5z'/%3E%3Cpath d='M168 132l3 12 12 3-12 3-3 12-3-12-12-3 12-3z'/%3E%3C/g%3E%3Cg fill='%23740ABC'%3E%3Ccircle cx='150' cy='46' r='5'/%3E%3Ccircle cx='62' cy='168' r='4'/%3E%3Cpath d='M110 96l2 8 8 2-8 2-2 8-2-8-8-2 8-2z'/%3E%3C/g%3E%3C/svg%3E");
}

/* 1b. MODO CLARO --------------------------------------------------------
   Botão no rodapé (html[data-theme="light"], guardado no navegador do cliente).
   --nx-green-ink é o verde usado em TEXTO: no claro fica mais escuro para ler bem no branco.
   --nx-fg-rgb é a cor das linhas e véus translúcidos (branco no escuro, preto no claro).
   "Ilhas escuras" continuam escuras no modo claro: carrossel Steam, banner roxo, painel e guia de V-Bucks, capa do pedido. */
:root { --nx-green-ink: var(--nx-green); --nx-fg-rgb: 255 255 255; --nx-logo-word: #fff; --nx-logo-next: #28F969; --nx-logo-system: #fff; color-scheme: dark; }
[data-theme="light"] {
  color-scheme: light;
  --nx-bg: #F3F4F6; --nx-surface-1: #FFFFFF; --nx-surface-2: #F5F6F8; --nx-surface-3: #E9EBEF; --nx-surface-4: #DCDFE5;
  --nx-scrim: rgb(12 13 14 / .45); --nx-glass: rgb(255 255 255 / .86);
  --nx-line: rgb(12 13 14 / .09); --nx-line-2: rgb(12 13 14 / .15); --nx-line-3: rgb(12 13 14 / .26);
  --nx-text: #0C0D0E; --nx-text-2: #454A54; --nx-text-3: #5D636F;
  --nx-green-ink: #077A33; --nx-green-soft: rgb(var(--nx-green-rgb) / .2); --nx-green-line: rgb(7 122 51 / .42); --nx-fg-rgb: 12 13 14;
  --nx-warning: #6A0AAE; --nx-warning-rgb: 116 10 188; --nx-info: #6A0AAE; --nx-info-rgb: 116 10 188; --nx-purple-soft: rgb(var(--nx-purple-rgb) / .12);
  --nx-danger: #C62828; --nx-danger-rgb: 198 40 40;
  --nx-shadow-1: 0 1px 2px rgb(12 13 14 / .05), 0 12px 26px -20px rgb(12 13 14 / .3);
  --nx-shadow-2: 0 26px 50px -32px rgb(12 13 14 / .35);
  --nx-shadow-pop: 0 26px 56px -20px rgb(12 13 14 / .3);
  --nx-logo-word: #0C0D0E; --nx-logo-next: #0C0D0E; --nx-logo-system: #0C0D0E;
  --background: 243 244 246; --foreground: 12 13 14; --border: 12 13 14 / 0.1; --card: 255 255 255; --muted: 12 13 14 / 0.05; --muted-foreground: 85 91 102; --muted-solid: 255, 255, 255;
}
[data-theme="light"] :is(.nx-spot, .nx-fa-banner, .nxv, .nx-vbg, .steam-panel .game-banner, .nx-dark) {
  color-scheme: dark;
  --nx-bg: #0C0D0E; --nx-surface-1: #131416; --nx-surface-2: #181A1D; --nx-surface-3: #1F2125; --nx-surface-4: #282B30;
  --nx-line: rgb(255 255 255 / .08); --nx-line-2: rgb(255 255 255 / .14); --nx-line-3: rgb(255 255 255 / .24);
  --nx-text: #FFFFFF; --nx-text-2: #B7BAC1; --nx-text-3: #9195A0;
  --nx-green-ink: #28F969; --nx-green-soft: rgb(var(--nx-green-rgb) / .1); --nx-green-line: rgb(var(--nx-green-rgb) / .32); --nx-fg-rgb: 255 255 255;
  --nx-warning: #C690FF; --nx-warning-rgb: 198 144 255; --nx-info: #C690FF; --nx-info-rgb: 198 144 255; --nx-purple-soft: rgb(var(--nx-purple-rgb) / .18);
  --background: 12 13 14; --foreground: 247 247 247; --border: 255 255 255 / 0.08; --card: 18 19 21; --muted: 255 255 255 / 0.04; --muted-foreground: 166 166 166;
}
[data-theme="light"] .nxv, [data-theme="light"] .nx-vbg { color: var(--nx-text); background-color: var(--nx-bg); border-radius: var(--nx-r-xl); }
[data-theme="light"] .nx-header.is-scrolled { background: rgb(255 255 255 / .94); box-shadow: 0 12px 30px -24px rgb(12 13 14 / .45); }
[data-theme="light"] .nx-tabbar { background: rgb(255 255 255 / .96) !important; border-top-color: var(--nx-line) !important; }
[data-theme="light"] :is(.nx-order-qty, .nx-card-soldout, .nx-spot-hint) { color: #fff; }
[data-theme="light"] .nx-rank { color: var(--nx-green); }
[data-theme="light"] .nx-shelf[data-ranked="true"] .nx-shelf-item:first-child .nx-rank { color: var(--nx-ink); }
[data-theme="light"] .nx-buybar { background: rgb(255 255 255 / .96); box-shadow: 0 -10px 30px -24px rgb(12 13 14 / .4); }
[data-theme="light"] .text-primary, [data-theme="light"] :is(.text-emerald-400, .text-emerald-300, .text-emerald-100, .text-green-500) { color: var(--nx-green-ink) !important; }
[data-theme="light"] :is(.border-white\/10, .border-foreground\/10) { border-color: var(--nx-line) !important; }
[data-theme="light"] .custom-bg-mask { opacity: .12; }
[data-theme="light"] .nx-backdrop { opacity: .7; }
/* Textos e ícones que usam o verde vivo direto (pedido e checkout): no claro, o verde de texto. */
[data-theme="light"] :is(.order-support-link, .order-delivery-toggle:hover, .delivery-toolbar-title svg, .delivery-field-icon, .checkout-extras-heading svg, .checkout-extra-button) { color: var(--nx-green-ink); }
[data-theme="light"] .order-support-link { border-top-color: var(--nx-line); }
/* 2. BASE -------------------------------------------------------------- */
html { background: var(--nx-bg); }
body { background-color: var(--nx-bg); color: var(--nx-text); font-family: var(--nx-font); font-weight: 500; letter-spacing: 0; }
/* Foco pelo teclado nunca fica por baixo do cabeçalho fixo (122px) nem da barra de baixo do celular (WCAG 2.4.11).
   As âncoras usam o mesmo respiro: as margens antigas de cada seção viram só um pequeno espaço extra. */
html { scroll-padding-top: 132px; }
:is(.scroll-mt-24, .scroll-mt-32, [id^="cat-"], .nx-legal > section, .nx-vbg, .nx-vbn, #vbucks, .nx-desc-stack > .nx-howto) { scroll-margin-top: 12px !important; }
@media (max-width: 767px) { html { scroll-padding-bottom: 84px; } html:has(.nx-buybar.is-visible) { scroll-padding-bottom: 160px; } }
/* Selo do Reclame Aqui: o CSS do próprio selo tira o contorno de foco. */
:is(.ra-widget-verified-wrapper, [class*="ra-widget"] a):focus-visible { outline: 2px solid var(--nx-green-ink) !important; outline-offset: 3px !important; border-radius: 12px; }
/* Títulos da marca: Fredoka 700 (kit v4), sem negrito sintético. */
:is(h1, h2, .nx-display, .nxv-question) { font-family: var(--nx-font-display) !important; font-weight: 700 !important; letter-spacing: var(--nx-track-display) !important; font-synthesis: none; }
::selection { background: var(--nx-green); color: var(--nx-ink); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--nx-green); outline-offset: 2px; }
* { scrollbar-width: thin; scrollbar-color: var(--nx-surface-4) transparent; }
h1, h2, h3, h4 { letter-spacing: var(--nx-track-tight); }
input::placeholder, textarea::placeholder { color: var(--nx-text-3); opacity: 1; }
input, select, textarea { background-color: var(--nx-surface-1); }
.nx-skip { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 18px; border-radius: var(--nx-r-md); background: var(--nx-green); color: var(--nx-ink); font-weight: 700; transform: translateY(-160%); transition: transform var(--nx-fast); }
.nx-skip:focus { transform: none; outline: 2px solid #fff; outline-offset: 2px; }
.nx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nx-num { font-variant-numeric: tabular-nums; }

.nx-backdrop { position: fixed; inset: 0; z-index: -10; pointer-events: none;
  background: radial-gradient(60% 40% at 50% -8%, rgb(var(--nx-green-rgb) / .09), transparent 70%); }
.custom-bg-mask { opacity: .35; }
.nx-mascot { display: block; width: 100%; height: auto; overflow: visible; }
/* Poses do mascote: as imagens ficam em styles/mascote*.css (carregados sem bloquear a página). */
.nx-pose { display: block; aspect-ratio: var(--nx-pose-ar, 1); background-position: center; background-size: contain; background-repeat: no-repeat; flex-shrink: 0; }
.nx-pose-glow { filter: drop-shadow(0 18px 30px rgb(var(--nx-green-rgb) / .22)); }

/* 3. PRIMITIVOS -------------------------------------------------------- */
/* Botões: os .btn-* vêm do layout (Tailwind); aqui ganham tamanho mínimo e estados. */
.btn-primary, .btn-secondary, .btn-outline, .btn-ghost { min-height: var(--nx-control-sm); border-radius: var(--nx-r-md); }
.btn-primary { background: var(--nx-green); color: var(--nx-ink); }
.btn-primary:hover:not(:disabled) { background: var(--nx-green-hover); filter: none; }
.btn-primary:active:not(:disabled) { background: var(--nx-green-press); }
.btn-primary:disabled, .btn-outline:disabled { cursor: not-allowed; }
a.btn-primary, .btn.btn-primary { color: var(--nx-ink); }
.nx-btn-lg { min-height: var(--nx-control-lg) !important; padding: 0 28px !important; border-radius: var(--nx-r-lg) !important; font-size: var(--nx-fs-md) !important; font-weight: 700 !important; gap: 10px !important; }
.nx-btn-lg svg { transition: transform var(--nx-mid) var(--nx-ease); }
.nx-btn-lg:hover svg { transform: translateX(3px); }
.nx-btn-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--nx-control-lg); padding: 0 24px; border-radius: var(--nx-r-lg);
  border: 1px solid var(--nx-line-2); background: transparent; color: var(--nx-text); font-size: var(--nx-fs-md); font-weight: 600; transition: border-color var(--nx-fast), background var(--nx-fast); }
.nx-btn-quiet:hover { border-color: var(--nx-line-3); background: rgb(var(--nx-fg-rgb) / .04); }
@media (max-width: 767px) { .btn-primary, .btn-secondary, .btn-outline { min-height: var(--nx-control); } }

/* Campos */
.nx-field { display: grid; gap: 8px; }
.nx-label { font-size: var(--nx-fs-sm); font-weight: 600; color: var(--nx-text); }
.nx-input-wrap { position: relative; }
.nx-input-wrap > svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--nx-text-3); pointer-events: none; }
input.nx-input, .nx-input { width: 100%; height: var(--nx-control); padding: 0 14px; border: 1px solid var(--nx-line-2); border-radius: var(--nx-r-md); background: var(--nx-surface-1);
  color: var(--nx-text); font-size: var(--nx-fs-base); transition: border-color var(--nx-fast), box-shadow var(--nx-fast); }
.nx-input-wrap > svg + .nx-input, .nx-input-wrap > svg + input.nx-input { padding-left: 44px; }
input.nx-input:hover { border-color: var(--nx-line-3); }
input.nx-input:focus, input.nx-input:focus-visible { outline: none; border-color: var(--nx-green); box-shadow: 0 0 0 4px rgb(var(--nx-green-rgb) / .14); --tw-ring-shadow: 0 0 #0000; }
input.nx-input.border-red-500 { border-color: var(--nx-danger) !important; box-shadow: 0 0 0 4px rgb(var(--nx-danger-rgb) / .12); }
.nx-error { min-height: 0; font-size: var(--nx-fs-sm); color: var(--nx-danger); }
.nx-error:empty { display: none; }

/* Superfícies e selos */
.nx-panel { border: 1px solid var(--nx-line); border-radius: var(--nx-r-xl); background: var(--nx-surface-1); box-shadow: var(--nx-shadow-1); }
.nx-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--nx-line); }
.nx-panel-head h2, .nx-panel-title { font-size: var(--nx-fs-lg); font-weight: 700; letter-spacing: var(--nx-track-tight); }
.nx-panel-body { padding: 20px; }
.nx-step-n-sm { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--nx-surface-4); color: var(--nx-text); font-size: var(--nx-fs-xs); font-weight: 800; }
.nx-badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--nx-r-pill); border: 1px solid var(--nx-line-2);
  background: rgb(var(--nx-fg-rgb) / .04); color: var(--nx-text-2); font-size: var(--nx-fs-xs); font-weight: 600; white-space: nowrap; }
.nx-badge svg { width: 14px; height: 14px; }
.nx-badge--success { color: var(--nx-green-ink); border-color: var(--nx-green-line); background: var(--nx-green-soft); }
.nx-badge--warning { color: var(--nx-warning); border-color: rgb(var(--nx-warning-rgb) / .3); background: rgb(var(--nx-warning-rgb) / .08); }
.nx-badge--danger { color: var(--nx-danger); border-color: rgb(var(--nx-danger-rgb) / .3); background: rgb(var(--nx-danger-rgb) / .08); }
.nx-badge--info { color: var(--nx-info); border-color: rgb(var(--nx-info-rgb) / .3); background: rgb(var(--nx-info-rgb) / .08); }
.nx-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgb(var(--nx-green-rgb) / .12); }
.nx-dot.is-live { animation: nx-pulse 1.8s ease-in-out infinite; }
@keyframes nx-pulse { 50% { box-shadow: 0 0 0 7px rgb(var(--nx-green-rgb) / 0); } }
.nx-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--nx-fs-sm); color: var(--nx-text-3); }
.nx-breadcrumb a { color: var(--nx-text-2); }
.nx-breadcrumb a:hover { color: var(--nx-green-ink); }
.nx-breadcrumb svg { width: 14px; height: 14px; }
.nx-breadcrumb [aria-current] { color: var(--nx-text); font-weight: 600; }

/* Estado vazio com o mascote */
.nx-empty { display: grid; justify-items: center; gap: 10px; padding: clamp(32px, 5vw, 56px) 24px; text-align: center; border: 1px dashed var(--nx-line-2); border-radius: var(--nx-r-xl); background: var(--nx-surface-1); }
.nx-empty-pose { width: 160px; margin-bottom: 4px; }
.nx-empty-pose--face { width: 128px; }
.nx-empty h2, .nx-empty h3 { font-size: var(--nx-fs-xl); font-weight: 700; }
.nx-empty p { max-width: 420px; color: var(--nx-text-2); font-size: var(--nx-fs-base); line-height: 1.6; }
.nx-empty > .btn-primary { margin-top: 10px; }
.nx-empty :is(.btn-primary, .btn-outline) { min-height: var(--nx-control); padding: 0 22px; }

/* 4. HEADER, BUSCA, NAVEGAÇÃO ------------------------------------------ */
.nx-announce { color: var(--nx-ink); letter-spacing: -.005em; }
.nx-header { background: var(--nx-glass); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--nx-line); transition: background var(--nx-mid) ease, box-shadow var(--nx-mid) ease; }
.nx-header.is-scrolled { background: rgb(12 13 14 / .94); box-shadow: 0 14px 34px -22px rgb(0 0 0 / .9); }
.nx-header-row { display: flex; align-items: center; gap: var(--nx-s4); height: 72px; }
/* Elementos do kit v4 (brilho duplo, acentos, cauda, curvas): decoração, sempre aria-hidden. */
.nx-el{display:block;background:center/contain no-repeat;pointer-events:none}
.nx-el--brilho{aspect-ratio:732/630;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='150 155 732 630'%3E%3Cg stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M429 239 Q487.3 445.7 694 504 Q487.3 562.3 429 769 Q370.7 562.3 164 504 Q370.7 445.7 429 239Z' fill='%23fff' stroke='%230C0D0E' stroke-width='22'/%3E%3Cpath d='M766 168 Q788.66 248.34 869 271 Q788.66 293.66 766 374 Q743.34 293.66 663 271 Q743.34 248.34 766 168Z' fill='%2328F969' stroke='%230C0D0E' stroke-width='18'/%3E%3Ccircle cx='739' cy='734' r='39' fill='%23740ABC' stroke='%230C0D0E' stroke-width='16'/%3E%3C/g%3E%3C/svg%3E")}
.nx-el--acentos{aspect-ratio:600/452;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='168 155 600 452'%3E%3Cg stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M470 195 Q487 164 520 179 L554 196 Q586 213 572 248 L474 477 Q462 505 435 491 L414 480 Q387 466 398 439 Z' fill='%2328F969' stroke='%230C0D0E' stroke-width='20'/%3E%3Cpath d='M183 348 Q161 322 186 296 L215 269 Q241 244 267 270 L414 420 Q437 444 414 467 L397 483 Q374 506 351 485 Z' fill='%23fff' stroke='%230C0D0E' stroke-width='20'/%3E%3Cpath d='M657 328 Q680 301 708 326 L736 352 Q763 377 737 405 L581 571 Q559 595 534 573 L516 556 Q492 534 514 510 Z' fill='%23740ABC' stroke='%230C0D0E' stroke-width='20'/%3E%3C/g%3E%3C/svg%3E")}
.nx-el--cauda{aspect-ratio:756/356;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='116 350 756 356'%3E%3Cg stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M132 678 C218 410 471 300 854 365 C742 370 673 407 652 455 C491 428 358 455 280 532 C233 579 200 625 175 692 Z' fill='%23fff' stroke='%230C0D0E' stroke-width='22'/%3E%3Cpath d='M652 455 C673 407 742 370 854 365 C806 441 741 493 668 519 L691 472 Z' fill='%2328F969' stroke='%230C0D0E' stroke-width='22'/%3E%3Cpath d='M271 556 C359 478 471 454 594 469' fill='none' stroke='%230C0D0E' stroke-width='14'/%3E%3C/g%3E%3C/svg%3E")}
.nx-el--curvas{aspect-ratio:696/566;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='158 220 696 566'%3E%3Cg stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M175 612 C250 343 550 233 835 402 C602 348 393 430 291 674 Z' fill='%2328F969' stroke='%230C0D0E' stroke-width='22'/%3E%3Cpath d='M290 734 C390 524 597 449 814 512 C637 517 486 606 414 769 Z' fill='%23740ABC' stroke='%230C0D0E' stroke-width='22'/%3E%3C/g%3E%3C/svg%3E")}
/* Logo: rosto da raposa + NEXT do kit v4 (símbolos #nx-fox, #nx-wordmark e #nx-wordmark-full no layout). */
.nx-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-height: 44px; }
.nx-logo-mark { display: block; flex-shrink: 0; width: 44px; height: 44px; transition: transform var(--nx-slow) var(--nx-ease); }
.nx-logo:hover .nx-logo-mark { transform: rotate(-8deg) scale(1.06); }
.nx-logo-word { display: block; width: 104px; height: 28px; margin-top: 2px; }
@media (max-width: 359px) { .nx-logo-word { width: 88px; height: 24px; } .nx-logo-mark { width: 38px; height: 38px; } }
.nx-logo-full { display: block; width: 168px; height: 76px; }

.nx-search { position: relative; flex: 0 1 520px; margin-inline: auto; }
.nx-search-input, input.nx-search-input { width: 100%; height: 46px; padding: 0 44px; border-radius: var(--nx-r-pill); border: 1px solid var(--nx-line);
  background: var(--nx-surface-2); color: var(--nx-text); font-size: 14px; transition: border-color var(--nx-fast), box-shadow var(--nx-fast); -webkit-appearance: none; }
.nx-search-input::-webkit-search-cancel-button { display: none; }
.nx-search-input:hover { border-color: var(--nx-line-2); }
.nx-search-input:focus, .nx-search-input:focus-visible { outline: none; --tw-ring-shadow: 0 0 #0000; border-color: var(--nx-green-ink); box-shadow: 0 0 0 3px rgb(var(--nx-green-rgb) / .3); }
.nx-search-icon { position: absolute; left: 16px; top: 23px; transform: translateY(-50%); width: 18px; height: 18px; color: var(--nx-text-3); pointer-events: none; z-index: 1; }
.nx-search-kbd { position: absolute; right: 12px; top: 23px; transform: translateY(-50%); min-width: 24px; height: 22px; display: grid; place-items: center;
  border: 1px solid var(--nx-line-2); border-radius: var(--nx-r-xs); font: 600 11px/1 ui-monospace, monospace; color: var(--nx-text-3); pointer-events: none; }
.nx-search-input:focus ~ .nx-search-kbd { opacity: 0; }
.nx-search-result { padding: 6px; background: var(--nx-surface-1); border: 1px solid var(--nx-line-2); border-radius: var(--nx-r-lg); box-shadow: var(--nx-shadow-pop); }
#mobile-search-container .nx-search-icon { top: 23px; }

/* Resultados da busca (pages/search.html, modo barra) */
.nx-sr-list { display: grid; gap: 2px; }
.nx-sr-head { display: flex; justify-content: space-between; padding: 8px 10px 6px; font-size: var(--nx-fs-xs); font-weight: 600; color: var(--nx-text-3); }
.nx-sr-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 8px 10px; border-radius: var(--nx-r-md); transition: background var(--nx-fast); }
.nx-sr-item:hover, .nx-sr-item:focus-visible { background: var(--nx-surface-3); }
.nx-sr-item img { width: 56px; height: 56px; border-radius: var(--nx-r-sm); object-fit: cover; background: var(--nx-surface-3); }
.nx-sr-name { overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--nx-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nx-sr-cat { margin-top: 3px; font-size: var(--nx-fs-xs); color: var(--nx-text-3); }
.nx-sr-price { font-size: 14px; font-weight: 700; color: var(--nx-green-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nx-sr-empty { display: grid; justify-items: center; gap: 6px; padding: 22px 16px; text-align: center; }
.nx-sr-empty .nx-pose { width: 88px; margin-bottom: 4px; }
.nx-sr-empty strong { font-size: 14px; }
.nx-sr-empty span { font-size: var(--nx-fs-sm); color: var(--nx-text-2); }
.nx-sr-empty .nx-sr-ask { display: inline-flex; align-items: center; min-height: 40px; margin-top: 4px; padding: 0 16px; border: 1px solid var(--nx-green-line); border-radius: var(--nx-r-pill); background: var(--nx-green-soft); color: var(--nx-green-ink); font-size: var(--nx-fs-sm); font-weight: 700; }
.nx-sr-empty .nx-sr-ask:hover { background: rgb(var(--nx-green-rgb) / .18); }

.nx-actions { display: flex; align-items: center; gap: var(--nx-s2); margin-left: auto; }
@media (min-width: 768px) { .nx-search + .nx-actions { margin-left: 0; } }
.nx-icon-btn, #support-button { display: grid; place-items: center; width: 44px !important; height: 44px !important; border-radius: var(--nx-r-md) !important;
  border: 1px solid var(--nx-line) !important; background: var(--nx-surface-2); color: var(--nx-text); transition: border-color var(--nx-fast), color var(--nx-fast); }
.nx-icon-btn:hover, #support-button:hover { border-color: rgb(var(--nx-green-rgb) / .45) !important; color: var(--nx-green-ink); }
.nx-ghost-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--nx-r-md); border: 1px solid var(--nx-line);
  background: var(--nx-surface-2); font-size: 14px; font-weight: 600; color: var(--nx-text); transition: border-color var(--nx-fast); }
.nx-ghost-btn:hover { border-color: rgb(var(--nx-green-rgb) / .45); }
.nx-cart-btn { height: 44px !important; padding: 0 18px !important; border-radius: var(--nx-r-md) !important; font-weight: 700 !important; box-shadow: none !important; }
.cart-badge { top: -7px !important; right: -7px !important; min-width: 22px; width: auto !important; height: 22px !important; padding: 0 5px; background: var(--nx-ink) !important; color: var(--nx-green-ink) !important;
  border: 2px solid var(--nx-green) !important; font-size: 11px !important; font-weight: 800; }
/* Telas de 320 px: o selo do carrinho não passa da borda da tela. */
@media (max-width: 359px) { .cart-badge { right: -3px !important; } }
@media (max-width: 639px) { .nx-cart-btn { width: 44px; padding: 0 !important; } }
#support-menu, #profile-menu { top: 3.7rem !important; background: var(--nx-surface-1) !important; border: 1px solid var(--nx-line-2) !important; border-radius: var(--nx-r-lg) !important; box-shadow: var(--nx-shadow-pop); }
/* A linha de cima (com os menus de atendimento e perfil) fica sempre acima da faixa de categorias.
   No celular a faixa tem máscara de degradê e rolagem, e alguns navegadores a pintavam por cima do menu aberto. */
.nx-header-row { position: relative; z-index: 2; }
.nx-catnav { position: relative; z-index: 1; }
/* Menu do perfil: maior e mais fácil de tocar (cabeçalho com a conta, saldo e atalhos com descrição) */
.nx-profile-btn { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 12px 4px 4px; border-radius: var(--nx-r-pill); border: 1px solid var(--nx-line); background: var(--nx-surface-2); color: var(--nx-text); text-align: left; transition: border-color var(--nx-fast); }
.nx-profile-btn:hover, .nx-profile-btn[data-state="open"] { border-color: rgb(var(--nx-green-rgb) / .45); }
.nx-profile-btn strong { display: block; max-width: 130px; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.nx-profile-btn small { display: block; font-size: 12px; color: var(--nx-text-3); }
.nx-profile-btn > svg { width: 16px; height: 16px; color: var(--nx-text-3); transition: transform var(--nx-mid) var(--nx-ease); }
.nx-profile-btn[data-state="open"] > svg { transform: rotate(180deg); }
.nx-avatar { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--nx-green); color: var(--nx-ink); font-size: 13px; font-weight: 800; object-fit: cover; text-transform: uppercase; }
.nx-avatar--lg { width: 48px; height: 48px; border-radius: 14px; font-size: 16px; }
#profile-menu.nx-profile-menu { width: 320px; padding: 14px !important; border-radius: var(--nx-r-xl) !important; }
.nx-menu-user { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 2px 2px 14px; border-bottom: 1px solid var(--nx-line); }
.nx-menu-user > div { min-width: 0; }
.nx-menu-user strong { display: block; overflow: hidden; font-size: 16px; font-weight: 700; line-height: 1.2; color: var(--nx-text); text-overflow: ellipsis; white-space: nowrap; }
.nx-menu-user small { display: block; margin-top: 2px; overflow: hidden; font-size: 13px; color: var(--nx-text-3); text-overflow: ellipsis; white-space: nowrap; }
.nx-menu-credit { margin: 14px 0 10px; }
.nx-menu-credit .nx-credit-value { font-size: 28px; }
.nx-menu-links { display: grid; gap: 2px; }
.nx-menu-link { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 10px; border-radius: var(--nx-r-md); color: var(--nx-text); transition: background var(--nx-fast); }
.nx-menu-link:hover, .nx-menu-link:focus-visible { background: var(--nx-surface-2); }
.nx-menu-ico { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--nx-surface-3); color: var(--nx-green-ink); }
.nx-menu-ico svg { width: 19px; height: 19px; }
.nx-menu-link strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; }
.nx-menu-link small { display: block; font-size: 13px; color: var(--nx-text-3); }
.nx-menu-link > svg:last-child { width: 16px; height: 16px; margin-left: auto; color: var(--nx-text-3); }
.nx-menu-logout { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 10px; border-radius: var(--nx-r-md); border: 1px solid rgb(var(--nx-danger-rgb) / .3); font-size: 14px; font-weight: 700; color: var(--nx-danger); transition: background var(--nx-fast); }
.nx-menu-logout:hover { background: rgb(var(--nx-danger-rgb) / .08); }
.nx-menu-logout svg { width: 17px; height: 17px; }
/* Menu de atendimento: itens maiores */
#support-menu { min-width: 280px; padding: 14px !important; border-radius: var(--nx-r-xl) !important; }
#support-menu a { min-height: 52px; font-size: 15px; }

.nx-catnav { border-top: 1px solid rgb(var(--nx-fg-rgb) / .045); }
.nx-catnav-track { display: flex; align-items: center; gap: 4px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.nx-catnav-track::-webkit-scrollbar { display: none; }
.nx-catnav-link { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--nx-r-pill);
  font-size: var(--nx-fs-sm); font-weight: 500; color: var(--nx-text-2); white-space: nowrap; transition: color var(--nx-fast), background var(--nx-fast); }
.nx-catnav-link:hover { color: var(--nx-text); background: rgb(var(--nx-fg-rgb) / .05); }
.nx-catnav-link.is-active { color: var(--nx-green-ink); background: var(--nx-green-soft); font-weight: 600; }
.nx-catnav-spacer { flex: 1 0 12px; }
@media (max-width: 767px) {
  .nx-header-row { height: 64px; }
  .nx-catnav-track { height: 56px; gap: 6px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; }
  .nx-catnav-link { height: 44px; background: var(--nx-surface-2); border: 1px solid var(--nx-line); }
  .nx-catnav-spacer { display: none; }
}

/* Barra inferior no celular */
.nx-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  height: calc(64px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom); background: rgb(12 13 14 / .94);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--nx-line); }
.nx-tabbar > a, .nx-tabbar > button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px;
  font-size: 11px; font-weight: 600; color: var(--nx-text-3); transition: color var(--nx-fast); }
.nx-tabbar svg { width: 22px; height: 22px; }
.nx-tabbar > a.is-active { color: var(--nx-green-ink); }
.nx-tabbar > a.is-active::before { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 3px; border-radius: 0 0 3px 3px; background: var(--nx-green); transform: translateX(-50%); }
.nx-tabbar > a:active, .nx-tabbar > button:active { transform: scale(.94); }
.nx-tabbar .nx-tabbar-cart { color: var(--nx-text); justify-content: flex-end; padding-bottom: 9px; }
.nx-tabbar-cart-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 17px; background: var(--nx-green); color: var(--nx-ink);
  box-shadow: 0 0 0 5px var(--nx-bg), var(--nx-glow); }
@media (max-width: 767px) { body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); } }
body.cart-open .nx-tabbar { opacity: 0; pointer-events: none; }
/* Com a barra de compra/pagamento visível, o carrinho da barra inferior fica achatado para não invadi-la. */
body:has(.nx-buybar.is-visible) .nx-tabbar .nx-tabbar-cart { justify-content: center; padding-bottom: 0; }
body:has(.nx-buybar.is-visible) .nx-tabbar-cart-icon { width: 40px; height: 40px; margin-top: 0; border-radius: var(--nx-r-sm); box-shadow: none; }

/* 5. CARRINHO LATERAL -------------------------------------------------- */
#cart-drawer[data-state="open"] { animation: nx-fade-in .35s forwards; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
#cart-drawer > div { background: var(--nx-surface-1); border-left: 1px solid var(--nx-line); box-shadow: -30px 0 80px -20px rgb(0 0 0 / .8); }
@media (min-width: 1024px) { #cart-drawer > div { border-radius: var(--nx-r-xl) 0 0 var(--nx-r-xl); } }
@keyframes nx-fade-in { from { background-color: rgb(0 0 0 / 0); } to { background-color: var(--nx-scrim); } }
.nx-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--nx-s4); margin-bottom: var(--nx-s4); border-bottom: 1px solid var(--nx-line); }
.nx-drawer-title { display: flex; align-items: center; gap: 10px; font-size: var(--nx-fs-lg); font-weight: 700; }
.nx-drawer-title .nx-logo-mark { width: 34px; height: 34px; border-radius: 10px; }
.nx-drawer-title .nx-logo-mark svg { width: 25px; }
.nx-cart-item { padding: 10px; border: 1px solid var(--nx-line); border-radius: var(--nx-r-lg); background: var(--nx-surface-2); }
.nx-cart-item img { border-radius: var(--nx-r-md); }
.nx-cart-item input[data-cart-action] { width: 44px; height: 44px; border-radius: var(--nx-r-sm); background: var(--nx-surface-1); }
.nx-qty-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--nx-r-sm); border: 1px solid var(--nx-line); background: var(--nx-surface-3); transition: border-color var(--nx-fast), color var(--nx-fast); }
.nx-qty-btn:hover { border-color: rgb(var(--nx-green-rgb) / .5); color: var(--nx-green-ink); }
.nx-qty-btn.is-remove:hover { border-color: rgb(var(--nx-danger-rgb) / .6); color: var(--nx-danger); }
.nx-cart-total { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; margin-bottom: 12px; border: 1px solid var(--nx-line); border-radius: var(--nx-r-lg); background: var(--nx-surface-2); }
.nx-cart-total p { font-size: var(--nx-fs-sm); color: var(--nx-text-2); }
.nx-cart-total span { font-size: var(--nx-fs-lg); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.nx-cart-empty-pose { width: 150px; margin-bottom: 16px; }
#cart-drawer:has(.nx-cart-empty-pose) .nx-cart-foot { display: none; }

/* 6. CARDS DE PRODUTO -------------------------------------------------- */
.nx-card { position: relative; border: 1px solid var(--nx-line) !important; border-radius: var(--nx-r-lg) !important; background: var(--nx-surface-1);
  box-shadow: var(--nx-shadow-1); transition: transform var(--nx-mid) var(--nx-ease), border-color var(--nx-mid) ease, box-shadow var(--nx-mid) ease !important; }
/* Hover: o brilho fica DENTRO do card (borda + luz interna). Sombra externa e "levantar" eram cortados
   pelas listas com rolagem horizontal e pelos carrosséis. */
/* Hover discreto: borda clara com um toque de verde e o fundo um tom acima (sem brilho verde forte). */
.nx-card:hover, .nx-card:focus-visible { transform: none; border-color: rgb(var(--nx-green-rgb) / .3) !important; background: var(--nx-surface-2) !important; box-shadow: none; }
.nx-card--compact:hover { transform: none; }
.package.nx-card > .nx-card-media { margin: 6px 6px 0; border-radius: var(--nx-r-md) !important; overflow: hidden; background: var(--nx-surface-3); }
.nx-card-img { display: block; width: 100%; object-fit: cover; transition: transform var(--nx-slow) var(--nx-ease), filter var(--nx-mid); }
.nx-card:hover .nx-card-img { transform: scale(1.05); }
.nx-card-off.nx-card-flag { position: absolute; z-index: 11; top: 8px; right: 8px; display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: var(--nx-r-sm);
  background: var(--nx-green); color: var(--nx-ink); font-size: var(--nx-fs-xs); font-weight: 800; letter-spacing: -.01em; box-shadow: 0 0 0 2px rgb(12 13 14 / .75), 0 6px 16px -6px rgb(0 0 0 / .6); }
/* Esgotado: elegante, sem borrar a arte */
.nx-card.is-soldout .nx-card-img, .nx-card-img.is-soldout { filter: grayscale(1) brightness(.55); }
.nx-card.is-soldout:hover .nx-card-img { transform: none; }
.nx-card-soldout { position: absolute; z-index: 11; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; height: 32px; border-radius: var(--nx-r-sm);
  background: rgb(12 13 14 / .86); border: 1px solid var(--nx-line-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: var(--nx-fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nx-text); }
.nx-card.is-soldout .nx-card-now { color: var(--nx-text-2); }
.nx-card.is-soldout .nx-card-off.nx-card-flag { background: var(--nx-surface-4); color: var(--nx-text-2); }
.nx-card-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 14px; }
.nx-card-title { font-size: 14px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; color: var(--nx-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.nx-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.nx-card-was { display: flex; align-items: center; gap: 6px; font-size: var(--nx-fs-xs); color: var(--nx-text-3); line-height: 1.2; margin-bottom: 3px; }
.nx-card-was s { text-decoration-thickness: 1px; }
.nx-card-off { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: var(--nx-r-xs); background: var(--nx-green-soft); color: var(--nx-green-ink); font-size: var(--nx-fs-xs); font-weight: 800; }
.nx-card-now { font-size: 20px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: var(--nx-text); font-variant-numeric: tabular-nums; }
.nx-card-from { display: block; margin-bottom: 2px; font-size: var(--nx-fs-xs); color: var(--nx-text-3); }
.nx-card-meta { margin-top: 3px; font-size: var(--nx-fs-xs); color: var(--nx-text-3); line-height: 1.3; }
.nx-card-go { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--nx-r-md); background: var(--nx-surface-3); border: 1px solid var(--nx-line); color: var(--nx-text);
  transition: background var(--nx-mid), color var(--nx-mid), transform var(--nx-mid) var(--nx-ease), border-color var(--nx-mid); }
.nx-card-go svg { width: 18px; height: 18px; }
.nx-card:hover .nx-card-go { background: var(--nx-green); border-color: var(--nx-green); color: var(--nx-ink); transform: scale(1.06); }
.nx-card.is-soldout:hover .nx-card-go { background: var(--nx-surface-3); border-color: var(--nx-line); color: var(--nx-text-2); transform: none; }
.nx-chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--nx-r-pill); font-size: var(--nx-fs-xs); font-weight: 600; white-space: nowrap; }
.nx-chip svg { width: 12px; height: 12px; }
.nx-chip--green { color: var(--nx-green-ink); background: var(--nx-green-soft); border: 1px solid var(--nx-green-line); }
.nx-chip--muted { color: var(--nx-text); background: rgb(var(--nx-fg-rgb) / .05); border: 1px solid var(--nx-line); }
@media (max-width: 639px) {
  .nx-card { border-radius: var(--nx-r-md) !important; }
  .package.nx-card > .nx-card-media { margin: 5px 5px 0; border-radius: var(--nx-r-sm) !important; }
  .nx-card-body { padding: 10px 10px 12px; gap: 8px; }
  .nx-card-title { font-size: 13px; }
  .nx-card-now { font-size: 17px; }
  .nx-card-go { display: none; }
  .nx-card-off.nx-card-flag { top: 6px; right: 6px; height: 22px; padding: 0 7px; }
  .nx-card-soldout { left: 6px; right: 6px; bottom: 6px; height: 28px; }
}

/* Selo de entrega no card (ícone; o texto abre no hover em telas grandes) */
.delivery-badge, .featured-badge { background: rgb(12 13 14 / .72) !important; border: 1px solid var(--nx-line-2) !important; }
.delivery-badge-icon { color: var(--nx-green-ink) !important; }
.steam-price-badge .delivery-badge-icon { color: var(--nx-info) !important; }
.manual-delivery-badge .delivery-badge-icon { color: var(--nx-warning) !important; }
.steam-price-badge, .manual-delivery-badge { background: rgb(12 13 14 / .72) !important; box-shadow: none !important; }

/* Cartões gerados pelo script (ver mais / solicitar conta) */
.package[data-home-end-card-link], .package[data-request-account-card-link] { border: 1px dashed rgb(var(--nx-green-rgb) / .35) !important; border-radius: var(--nx-r-lg) !important;
  background: radial-gradient(120% 80% at 50% 0%, rgb(var(--nx-green-rgb) / .09), transparent 65%), var(--nx-surface-1) !important; transform: none; }
.package[data-home-end-card-link]:hover, .package[data-request-account-card-link]:hover { border-style: solid !important; border-color: rgb(var(--nx-green-rgb) / .6) !important; transform: none !important; }
.package[data-home-end-card-link] > div:first-child, .package[data-request-account-card-link] > div:first-child { border: 0 !important; background: transparent !important; }

/* 7. CABEÇALHOS DE SEÇÃO ----------------------------------------------- */
.nx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--nx-fs-xs); font-weight: 700; letter-spacing: var(--nx-track-caps); text-transform: uppercase; color: var(--nx-green-ink); }
.nx-eyebrow::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.nx-h2 { font-size: var(--nx-fs-2xl); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; color: var(--nx-text); }
.nx-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--nx-s4); margin: 0 0 var(--nx-s5); }
.nx-sec-head .nx-h2 { margin-top: 6px; }
.nx-sec-sub { margin-top: 10px; max-width: 540px; font-size: var(--nx-fs-base); line-height: 1.6; color: var(--nx-text-2); }
.nx-link-more { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: var(--nx-r-pill); border: 1px solid var(--nx-line);
  background: var(--nx-surface-1); font-size: var(--nx-fs-sm); font-weight: 600; color: var(--nx-text); transition: border-color var(--nx-fast), color var(--nx-fast); }
.nx-link-more svg { width: 16px; height: 16px; transition: transform var(--nx-mid) var(--nx-ease); }
.nx-link-more:hover { border-color: rgb(var(--nx-green-rgb) / .5); color: var(--nx-green-ink); }
.nx-link-more:hover svg { transform: translateX(3px); }
.nx-more-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 8px 0 20px; border-radius: var(--nx-r-pill); border: 1px solid var(--nx-line-2);
  background: var(--nx-surface-1); font-size: 14px; font-weight: 600; color: var(--nx-text); transition: border-color var(--nx-fast), background var(--nx-fast); }
.nx-more-btn:hover { border-color: rgb(var(--nx-green-rgb) / .55); background: var(--nx-surface-2); }
.nx-more-count { display: inline-flex; align-items: center; height: 32px; padding: 0 11px; border-radius: var(--nx-r-pill); background: var(--nx-green); color: var(--nx-ink); font-size: var(--nx-fs-xs); font-weight: 800; }
.nx-more-btn:not(:has(.nx-more-count)) { padding-right: 20px; }

/* 8. RODAPÉ ------------------------------------------------------------ */
.nx-footer-wrap { --nx-footer-gap: 150px; padding-top: var(--nx-footer-gap); }
.nx-footer-pose { position: absolute; z-index: 2; top: var(--nx-footer-gap); right: clamp(16px, 8vw, 120px); width: clamp(92px, 8vw, 116px); transform: translateY(calc(-100% + 18px)); pointer-events: none; }
.nx-footer { position: relative; z-index: 1; overflow: hidden; background: var(--nx-surface-1); border-top: 1px solid var(--nx-line); }
.nx-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgb(var(--nx-green-rgb) / .5), transparent); }
.nx-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--nx-s10); padding-top: var(--nx-s12); padding-bottom: var(--nx-s10); position: relative; z-index: 1; }
.nx-footer-brand p { max-width: 320px; margin-top: var(--nx-s4); font-size: 14px; line-height: 1.65; color: var(--nx-text-2); }
.nx-footer h3 { margin-bottom: var(--nx-s3); font-size: var(--nx-fs-xs); font-weight: 700; letter-spacing: var(--nx-track-caps); text-transform: uppercase; color: var(--nx-text-2); }
.nx-footer-links { display: grid; }
.nx-footer-links a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; min-height: 40px; font-size: 14px; color: var(--nx-text); transition: color var(--nx-fast); }
.nx-footer-links a:hover { color: var(--nx-green-ink); }
.nx-socials { display: flex; flex-wrap: wrap; gap: var(--nx-s2); margin-top: var(--nx-s5); }
.nx-social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--nx-r-md); border: 1px solid var(--nx-line); background: var(--nx-surface-2); transition: border-color var(--nx-fast), transform var(--nx-mid) var(--nx-ease); }
.nx-social:hover { border-color: rgb(var(--nx-green-rgb) / .5); transform: translateY(-2px); }
.nx-social svg { width: 18px; height: 18px; background-color: var(--nx-text); transition: background-color var(--nx-fast); }
.nx-social:hover svg { background-color: var(--nx-green); }
.nx-seals { display: grid; gap: var(--nx-s2); }
.nx-seal { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: var(--nx-r-md); border: 1px solid var(--nx-line); background: var(--nx-surface-2); font-size: var(--nx-fs-sm); color: var(--nx-text-2); }
.nx-seal strong { display: block; font-size: var(--nx-fs-sm); font-weight: 600; color: var(--nx-text); }
a.nx-seal:hover { border-color: rgb(var(--nx-green-rgb) / .45); }
.nx-seal-logo { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: var(--nx-r-sm); background: #fff; overflow: hidden; }
.nx-seal-logo img { max-width: 22px; max-height: 22px; }
.nx-seal--ra { flex-wrap: wrap; }
.nx-ra-seal { flex-shrink: 0; border-radius: var(--nx-r-sm); overflow: hidden; background: #fff; }
.nx-ra-seal:not(:has(#ra-widget-verified)) { display: none; }
.nx-seal--ra a { color: inherit; }
.nx-seal--ra a:hover strong { color: var(--nx-green-ink); }
.nx-seal-logo--icon { background: var(--nx-green-soft); color: var(--nx-green-ink); }
.nx-seal-logo--icon svg { width: 18px; height: 18px; }
.nx-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 26px;
  border-top: 1px solid var(--nx-line); font-size: var(--nx-fs-sm); color: var(--nx-text-3); position: relative; z-index: 1; }
.nx-footer-bottom a { color: var(--nx-text-2); font-weight: 600; }
.nx-footer-bottom a:hover { color: var(--nx-green-ink); }
.nx-footer-word { position: relative; z-index: 0; height: .58em; margin-top: -8px; overflow: hidden; text-align: center; font-size: clamp(64px, 17vw, 250px); font-weight: 800; letter-spacing: -.07em; line-height: .9;
  color: rgb(var(--nx-fg-rgb) / .035); user-select: none; pointer-events: none; white-space: nowrap; }
/* Marca d'água pura decoração: o texto vem do CSS, assim leitores de tela e auditorias não o tratam como conteúdo. */
.nx-footer-word::before { content: attr(data-word); }
@media (max-width: 1023px) { .nx-footer-top { grid-template-columns: 1fr 1fr; } .nx-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 639px) {
  .nx-footer-wrap { --nx-footer-gap: 124px; }
  .nx-footer-links a { min-height: 44px; }
  .nx-footer-top { gap: var(--nx-s8) var(--nx-s5); padding-top: var(--nx-s10); }
  .nx-footer-trust { grid-column: 1 / -1; }
  .nx-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* 9. AJUSTES GERAIS DAS PÁGINAS ---------------------------------------- */
main .bg-background\/80 { background-color: rgb(17 17 17 / .8); }
.text-green-400, .text-emerald-400 { color: var(--nx-green-ink); }
.Toastify__toast, .toastify { font-family: var(--nx-font) !important; border-radius: var(--nx-r-md) !important; background: var(--nx-surface-2) !important; border: 1px solid var(--nx-line-2) !important; color: var(--nx-text) !important; }

/* Cabeçalho padrão das páginas internas */
.nx-page-head { position: relative; padding: 28px; border: 1px solid var(--nx-line); border-radius: var(--nx-r-xl);
  background: radial-gradient(70% 120% at 0 0, rgb(var(--nx-green-rgb) / .07), transparent 60%), var(--nx-surface-1); }
.nx-page-intro { display: flex; align-items: flex-start; gap: var(--nx-s4); margin-top: var(--nx-s4); }
.nx-page-icon { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--nx-r-md); border: 1px solid var(--nx-green-line); background: var(--nx-green-soft); color: var(--nx-green-ink); }
.nx-page-icon svg { width: 22px; height: 22px; }
.nx-page-title { font-size: var(--nx-fs-3xl); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.nx-page-sub { margin-top: 8px; max-width: 620px; font-size: var(--nx-fs-base); line-height: 1.6; color: var(--nx-text-2); }
.nx-surface { border-color: var(--nx-line) !important; box-shadow: var(--nx-shadow-2); }
@media (max-width: 639px) { .nx-page-head { padding: 22px 18px; border-radius: var(--nx-r-lg); } }

/* 10. MOVIMENTO REDUZIDO ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .nx-card, .nx-card:hover, .nx-card-img, .nx-card-go, .nx-channel, .nx-buybar { transition: none !important; transform: none !important; }
  .nx-pay-mascot svg, .nx-dot.is-live { animation: none; }
}

/* Perguntas frequentes por tema (components/faq.html) */
.nx-faq-groups { display: grid; gap: 10px; }
.nx-faq-group:has(.nx-faq-group-title) + .nx-faq-group { margin-top: 26px; }
.nx-faq-group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: var(--nx-fs-lg); font-weight: 700; letter-spacing: -.03em; }
.nx-faq-group-title svg { width: 20px; height: 20px; color: var(--nx-green-ink); }
.nx-faq-item p a { color: var(--nx-text); }
/* Gaveta de categorias no celular (abre pela barra inferior) */
.nx-sheet { position: fixed; inset: 0; z-index: 60; }
.nx-sheet[hidden] { display: none; }
.nx-sheet-scrim { position: absolute; inset: 0; background: var(--nx-scrim); opacity: 0; transition: opacity var(--nx-mid) ease; }
.nx-sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: min(82vh, 680px); padding-bottom: env(safe-area-inset-bottom);
  border-radius: var(--nx-r-xl) var(--nx-r-xl) 0 0; border-top: 1px solid var(--nx-line-2); background: var(--nx-surface-1); box-shadow: 0 -30px 60px -20px rgb(0 0 0 / .8);
  transform: translateY(100%); transition: transform var(--nx-mid) var(--nx-ease); }
.nx-sheet.is-open .nx-sheet-scrim { opacity: 1; }
.nx-sheet.is-open .nx-sheet-panel { transform: none; }
.nx-sheet-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 22px 16px 12px; border-bottom: 1px solid var(--nx-line); }
.nx-sheet-grip { position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; border-radius: 2px; background: var(--nx-line-3); transform: translateX(-50%); }
.nx-sheet-head h2 { font-size: var(--nx-fs-lg); font-weight: 700; }
.nx-sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 20px; }
.nx-sheet-cat { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; border-bottom: 1px solid var(--nx-line); font-size: var(--nx-fs-md); font-weight: 600; }
.nx-sheet-cat svg { width: 18px; height: 18px; color: var(--nx-text-3); }
.nx-sheet-cat:active { color: var(--nx-green-ink); }
.nx-sheet-subs { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 12px; }
.nx-sheet-label { margin: 18px 0 8px; font-size: var(--nx-fs-xs); font-weight: 700; letter-spacing: var(--nx-track-caps); text-transform: uppercase; color: var(--nx-text-3); }
.nx-sheet-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nx-sheet-links a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 1px solid var(--nx-line); border-radius: var(--nx-r-md); background: var(--nx-surface-2); font-size: 14px; font-weight: 600; }
.nx-sheet-links svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--nx-green-ink); }
/* body.nx-sheet-open: a rolagem trava no <html> (core.css), para o cabeçalho fixo não sumir. */
/* Vitrines dinâmicas (scripts/destaques.js) */
.nx-showcase { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); }
.nx-showcase-shelf { min-width: 0; }
/* Setas das vitrines (home, categorias e busca): ficavam só no home.css e apareciam sem caixa nas categorias. */
.nx-arrows { display: flex; gap: 8px; }
.nx-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--nx-r-md); border: 1px solid var(--nx-line); background: var(--nx-surface-1); color: var(--nx-text); transition: border-color var(--nx-fast), color var(--nx-fast); }
.nx-arrow svg { width: 19px; height: 19px; }
.nx-arrow:hover { border-color: rgb(var(--nx-green-rgb) / .5); color: var(--nx-green-ink); }
.nx-arrow:disabled { opacity: .4; cursor: default; }
.nx-showcase[hidden] { display: none; }
.nx-eyebrow--icon::before { display: none; }
.nx-eyebrow--icon svg { width: 15px; height: 15px; }
.nx-shelf { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; margin: -6px -2px 0; }
.nx-shelf::-webkit-scrollbar { display: none; }
.nx-shelf-item { position: relative; display: flex; min-width: 0; scroll-snap-align: start; }
.nx-shelf-item > .package { width: 100%; }
.nx-rank { position: absolute; z-index: 13; top: 12px; left: 12px; display: grid; place-items: center; min-width: 38px; height: 32px; padding: 0 9px; border-radius: var(--nx-r-sm);
  background: var(--nx-ink); border: 1px solid var(--nx-green-line); color: var(--nx-green-ink); font-size: 14px; font-weight: 800; letter-spacing: -.02em; box-shadow: 0 8px 18px -8px rgb(0 0 0 / .8); }
.nx-shelf[data-ranked="true"] .nx-shelf-item:first-child .nx-rank { background: var(--nx-green); color: var(--nx-ink); }
.nx-shelf[data-ranked="true"] .nx-card-media > .absolute { display: none !important; }
@media (max-width: 1023px) { .nx-shelf { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 767px) {
  .nx-shelf { grid-auto-columns: min(calc(50vw - 1.3rem), 210px); gap: 10px; padding: 6px 1rem 10px; margin: -6px -1rem 0; scroll-padding-left: 1rem; }
  .nx-showcase .nx-arrows { display: none; }
  .nx-rank { top: 9px; left: 9px; min-width: 32px; height: 28px; font-size: 13px; }
}

/* Ajustes de alvo de toque apontados na verificação */
.nx-seal--ra a { display: block; min-height: 44px; }
/* Menu de suporte no celular: largura da tela, logo abaixo do cabeçalho (não vaza para fora) */
@media (max-width: 639px) {
  #support-menu { position: fixed !important; top: 72px !important; left: 16px !important; right: 16px !important; width: auto !important; transform-origin: top center; }
}

/* Surgir ao rolar (scripts/surgir.js): só opacidade e translate, uma vez. Sem o script, nada fica escondido. */
.nx-js .nx-rise { opacity: 0; translate: 0 18px; transition: opacity .6s var(--nx-ease), translate .6s var(--nx-ease); transition-delay: var(--nx-rise-delay, 0s); }
.nx-js .nx-rise.is-in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .nx-js .nx-rise { opacity: 1; translate: none; transition: none; } }
/* Vídeos WebM (scripts/videos.js): o pôster fica no fundo até o vídeo começar a tocar. */
.nx-video-box { position: relative; overflow: hidden; background-position: center; background-size: cover; background-repeat: no-repeat; }
.nx-video-box > video.nx-video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.nx-video-box.is-playing > video.nx-video { opacity: 1; }
/* Cards: no celular os selos ficam escondidos para não poluir, menos o de entrega manual (informação importante). */
@media (max-width: 639px) { .nx-card-badges:has(.manual-delivery-badge) { display: flex !important; } }
@media (max-width: 767px) {
  .package .nx-card-badges .manual-delivery-badge { width: auto !important; padding-right: .6rem !important; }
  .package .nx-card-badges .manual-delivery-badge-text { display: inline !important; max-width: none !important; opacity: 1 !important; }
}

/* Interruptor do modo claro (rodapé) */
.nx-theme-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 7px; border-radius: var(--nx-r-pill); border: 1px solid var(--nx-line-2); background: var(--nx-surface-2);
  font-size: var(--nx-fs-sm); font-weight: 700; color: var(--nx-text); transition: border-color var(--nx-fast); }
.nx-theme-toggle:hover { border-color: rgb(var(--nx-green-rgb) / .5); }
.nx-theme-track { position: relative; flex-shrink: 0; width: 50px; height: 30px; border-radius: var(--nx-r-pill); background: var(--nx-surface-4); transition: background var(--nx-mid); }
.nx-theme-thumb { position: absolute; top: 3px; left: 3px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--nx-ink); color: #C690FF; transition: transform var(--nx-mid) var(--nx-ease), background var(--nx-mid); }
.nx-theme-thumb svg { width: 14px; height: 14px; }
.nx-theme-sun { display: none; }
.nx-theme-toggle[aria-checked="true"] .nx-theme-track { background: var(--nx-green); }
.nx-theme-toggle[aria-checked="true"] .nx-theme-thumb { transform: translateX(20px); background: #fff; color: var(--nx-ink); }
.nx-theme-toggle[aria-checked="true"] .nx-theme-sun { display: block; }
.nx-theme-toggle[aria-checked="true"] .nx-theme-moon { display: none; }
.nx-theme-switching, .nx-theme-switching *, .nx-theme-switching *::before, .nx-theme-switching *::after { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }
@media (prefers-reduced-motion: reduce) { .nx-theme-switching, .nx-theme-switching * { transition: none !important; } }

/* Janela (components/dialog.html): largura pela variável --nx-dialog-w, fundo escurecido, cabeçalho fixo; no celular abre por baixo. */
.nx-dialog { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; background: rgb(0 0 0 / .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.nx-dialog-box { width: 100%; max-width: min(var(--nx-dialog-w, 500px), 100%); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; border: 1px solid var(--nx-line-2); border-radius: var(--nx-r-xl); background: var(--nx-surface-1); box-shadow: var(--nx-shadow-pop, 0 30px 80px rgb(0 0 0 / .5)); }
.nx-dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--nx-line); background: var(--nx-surface-1); }
.nx-dialog-title { margin: 0; color: var(--nx-text); font-family: var(--nx-font-display); font-size: 20px; font-weight: 700; line-height: 1.2; }
.nx-dialog-close { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid var(--nx-line); border-radius: 12px; background: var(--nx-surface-2); color: var(--nx-text-2); transition: color var(--nx-fast), border-color var(--nx-fast); }
.nx-dialog-close:hover { border-color: rgb(var(--nx-green-rgb) / .5); color: var(--nx-green-ink); }
.nx-dialog-body { padding: 20px 22px 22px; }
.nx-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 8px; }
.nx-dialog-actions > * { min-height: 46px; padding: 0 20px; }
.nx-pix-form { display: grid; gap: 16px; }
.nx-pix-key { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 8px; }
@media (max-width: 480px) {
  .nx-dialog { align-items: flex-end; padding: 0; }
  .nx-dialog-box { max-width: 100%; max-height: 92dvh; border-radius: var(--nx-r-xl) var(--nx-r-xl) 0 0; }
  .nx-dialog-body { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .nx-dialog-actions > * { flex: 1 1 0; justify-content: center; }
  .nx-pix-key { grid-template-columns: minmax(0, 1fr); }
}
/* Cabeçalho e gaveta: atalho para /categorias */
.nx-catnav-all { display: inline-flex; align-items: center; gap: 6px; color: var(--nx-green-ink) !important; font-weight: 800; }
.nx-catnav-all svg { width: 15px; height: 15px; }
.nx-sheet-all { display: flex; align-items: center; gap: 10px; min-height: 52px; margin-bottom: 14px; padding: 0 16px; border: 1px solid var(--nx-green-line); border-radius: var(--nx-r-lg); background: var(--nx-green-soft); color: var(--nx-green-ink); font-weight: 800; }
.nx-sheet-all span { flex: 1; }
.nx-sheet-all svg { width: 18px; height: 18px; }