/* ------------------------------------------------------------------ *
 * Fontes servidas pelo proprio dominio (sem terceiros, sem bloqueio)
 * Inter e variavel: um arquivo cobre 400 a 700.
 * ------------------------------------------------------------------ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/chakra-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/chakra-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   GG STORE — sistema visual
   Direção: editorial técnico. Preto profundo, neon cirúrgico,
   tipografia grande, hairlines, grade visível, grão.
   ============================================================ */

:root {
  --ink: #050807;
  --ink-2: #080B0A;
  --panel: #0C110F;
  --panel-2: #101614;

  --line: rgba(238, 245, 240, 0.10);
  --line-2: rgba(238, 245, 240, 0.22);

  --neon: #39FF14;

  --text: #F2F5F1;
  --muted: #9AA59E;
  --dim: #6B756F;

  --danger: #FF5C5C;
  --warning: #FFC857;
  --info: #7BC6FF;

  --font-display: 'Chakra Petch', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, monospace;

  --t-hero: clamp(38px, 7.2vw, 96px);
  --t-xl: clamp(32px, 6.4vw, 78px);
  --t-lg: clamp(23px, 3.4vw, 38px);
  --t-md: clamp(17px, 1.9vw, 21px);

  --max: 1320px;
  --gutter: clamp(16px, 4vw, 44px);
  --header-h: 62px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--neon); color: #04120A; }

main { position: relative; z-index: 1; min-height: 55vh; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 500;
  background: var(--neon); color: #04120A; padding: 10px 16px;
  font-family: var(--font-display); font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ------------------------------ tipografia ------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.94;
  margin: 0;
}

h1 { font-size: var(--t-xl); }
h2 { font-size: var(--t-lg); }
h3 { font-size: var(--t-md); line-height: 1.15; }
h4 { font-size: 15px; letter-spacing: 0.01em; }

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 245, 241, 0.42);
}

.muted { color: var(--muted); }
.dim { color: var(--dim); }
.tiny { font-size: 12.5px; line-height: 1.55; }
.small { font-size: 13.5px; }
.mono { font-family: var(--font-mono); }
.neon { color: var(--neon); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

.label {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 18px;
}
.label b { font-weight: 500; color: var(--neon); letter-spacing: 0.1em; }
.label::after {
  content: '';
  width: clamp(24px, 6vw, 64px);
  height: 1px;
  background: var(--line-2);
  transform: translateY(-3px);
}

/* ------------------------------ layout ------------------------------ */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: 820px; }

.section {
  padding-top: clamp(52px, 8.5vw, 124px);
  padding-bottom: clamp(52px, 8.5vw, 124px);
}
.section-sm {
  padding-top: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(34px, 5vw, 72px);
}

.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }

.grid { display: grid; gap: 1px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > *, .grid-2 > *, .grid-3 > *,
.catalog-layout > *, .cart-layout > *, .pdp > *, .support-grid > *, .admin-shell > * { min-width: 0; }

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(26px, 4vw, 48px);
}
.section-head h2 { max-width: 18ch; }
.section-head p { color: var(--muted); max-width: 46ch; font-size: 14px; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); align-items: end; gap: 40px; }
  .section-head p { margin: 0 0 6px; }
}

/* ------------------------------ header ------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 7, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background 0.3s var(--ease);
}
.site-header.is-scrolled { background: rgba(5, 8, 7, 0.94); }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--neon);
  z-index: 130;
  transition: width 0.1s linear;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.brand-name span { color: var(--neon); }

.main-nav { display: none; align-items: center; gap: 26px; margin-left: 30px; }
.main-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute;
  top: 1px; right: 0;
  min-width: 16px; height: 16px;
  display: grid; place-items: center;
  background: var(--neon);
  color: #04120A;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 0 3px;
  border-radius: 2px;
}

.wa-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--dim);
  border: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.wa-mini:hover { color: var(--neon); border-color: rgba(57, 255, 20, 0.4); }
.wa-mini svg { width: 12px; height: 12px; }
.footer-wa { display: inline-flex !important; align-items: center; gap: 7px; }
.footer-wa svg { width: 13px; height: 13px; color: var(--dim); }
.footer-wa:hover svg { color: var(--neon); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 8px;
  margin-right: 6px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: var(--line-2); color: var(--text); }
.lang-toggle i { font-style: normal; opacity: 0.4; }
.lang-toggle .on { color: var(--neon); }
@media (max-width: 420px) { .wa-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--dim);
  border: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.wa-mini:hover { color: var(--neon); border-color: rgba(57, 255, 20, 0.4); }
.wa-mini svg { width: 12px; height: 12px; }
.footer-wa { display: inline-flex !important; align-items: center; gap: 7px; }
.footer-wa svg { width: 13px; height: 13px; color: var(--dim); }
.footer-wa:hover svg { color: var(--neon); }

.lang-toggle { padding: 0 6px; margin-right: 2px; } }

.header-cta.btn { display: none; }
.header-user-mobile { display: none; }
@media (max-width: 899px) { .header-user-mobile { display: inline-flex; } }

.avatar {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--neon);
  background: rgba(57, 255, 20, 0.06);
}

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-cta.btn { display: inline-flex; }
  :root { --header-h: 68px; }
}

.menu-wrap { position: relative; }
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 232px;
  background: #080D0B;
  border: 1px solid var(--line-2);
  padding: 6px;
  z-index: 140;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.menu-panel a, .menu-panel button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 13px;
  color: var(--text);
  text-align: left;
  transition: background 0.16s;
}
.menu-panel a:hover, .menu-panel button:hover { background: rgba(255, 255, 255, 0.05); }
.menu-panel svg { width: 15px; height: 15px; color: var(--dim); }
.menu-head {
  padding: 10px 10px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.menu-head strong { display: block; font-size: 13px; font-weight: 500; }
.menu-head span { font-family: var(--font-mono); font-size: 10.5px; color: var(--dim); word-break: break-all; }

/* ------------------------------ nav mobile ------------------------------ */

.mobile-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 125;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(5, 8, 7, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding-bottom: var(--safe-bottom);
}
.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 0 9px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  position: relative;
}
.mobile-nav svg { width: 18px; height: 18px; }
.mobile-nav a.active { color: var(--neon); }
.mobile-nav a.active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 1px;
  background: var(--neon);
}
@media (min-width: 900px) { .mobile-nav { display: none; } }
body { padding-bottom: calc(62px + var(--safe-bottom)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* ------------------------------ botões ------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  max-width: 100%;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn svg { width: 15px; height: 15px; }
.btn:disabled { opacity: 0.42; cursor: not-allowed; }

.btn-primary { background: var(--neon); color: #04120A; }
.btn-primary:hover:not(:disabled) { background: #6BFF4F; }
.btn-primary:active:not(:disabled) { transform: translateY(1px); }

.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover:not(:disabled) { border-color: var(--text); background: rgba(255, 255, 255, 0.04); }

.btn-quiet { color: var(--muted); padding: 0 8px; letter-spacing: 0.08em; }
.btn-quiet:hover { color: var(--text); }
.btn-danger { border-color: rgba(255, 92, 92, 0.42); color: #FF8C8C; }
.btn-danger:hover { background: rgba(255, 92, 92, 0.1); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 10.5px; letter-spacing: 0.12em; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 12.5px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.25s, gap 0.25s var(--ease), color 0.2s;
}
.link-arrow:hover { border-color: var(--neon); gap: 16px; color: var(--neon); }
.link-arrow svg { width: 14px; height: 14px; }

/* ------------------------------ formulários ------------------------------ */

.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .label-sm {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.input, .select, .textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 0;
  color: var(--text);
  font-size: 14.5px;
  transition: border-color 0.2s, background 0.2s;
}
.textarea { height: auto; min-height: 112px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: rgba(154, 165, 158, 0.55); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--neon);
  background: rgba(57, 255, 20, 0.03);
}
.input:disabled { opacity: 0.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%239AA59E' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
.input-code {
  height: 56px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
}
.field-error { color: #FF9B9B; font-size: 12.5px; }
.field-hint { color: var(--dim); font-size: 11.5px; }
.phone-group { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.check input {
  appearance: none;
  width: 16px; height: 16px;
  flex: 0 0 16px;
  margin: 2px 0 0;
  border: 1px solid var(--line-2);
  position: relative;
}
.check input:checked { background: var(--neon); border-color: var(--neon); }
.check input:checked::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304120A' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.check a { color: var(--text); border-bottom: 1px solid var(--line-2); }

/* ------------------------------ superfícies ------------------------------ */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px;
}
.card-flat { background: transparent; }
.card-pad-lg { padding: clamp(20px, 3vw, 34px); }

.card-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; }
.badge-neon { border-color: rgba(57, 255, 20, 0.42); color: var(--neon); background: rgba(57, 255, 20, 0.06); }
.badge-soft { border-color: var(--line); color: var(--dim); }
.badge-warn { border-color: rgba(255, 200, 87, 0.42); color: var(--warning); background: rgba(255, 200, 87, 0.06); }
.badge-danger { border-color: rgba(255, 92, 92, 0.42); color: #FF8C8C; background: rgba(255, 92, 92, 0.06); }
.badge-info { border-color: rgba(123, 198, 255, 0.42); color: var(--info); background: rgba(123, 198, 255, 0.06); }

/* Selo de promocao: preenchido para nao competir com os badges de status */
.badge-promo {
  border-color: var(--neon);
  background: var(--neon);
  color: #041004;
  font-weight: 700;
}
.badge-promo svg { color: #041004; }

.pill-dot { width: 5px; height: 5px; background: currentColor; }

.alert {
  display: flex;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-2);
  background: rgba(255, 255, 255, 0.015);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.alert svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; color: var(--neon); }
.alert strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 3px; }
.alert-warn { border-left-color: var(--warning); }
.alert-warn svg { color: var(--warning); }
.alert-danger { border-left-color: var(--danger); }
.alert-danger svg { color: #FF8C8C; }
.alert-info svg { color: var(--info); }

/* ------------------------------ hero ------------------------------ */

.hero {
  position: relative;
  padding: clamp(26px, 4vw, 46px) 0 clamp(22px, 3vw, 34px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: '';
  position: absolute;
  inset: -20% 0 auto 0;
  height: 120%;
  background: radial-gradient(680px 340px at 72% 18%, rgba(57, 255, 20, 0.10), transparent 68%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  align-items: end;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(24px, 3.4vw, 40px);
  flex-wrap: wrap;
}
.hero-top .meta {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  flex-wrap: wrap;
}
.hero-top .meta b { color: var(--text); font-weight: 500; }

html[lang="en"] { --t-hero: clamp(34px, 6.4vw, 88px); }

.hero h1 {
  font-size: var(--t-hero);
  line-height: 0.84;
  letter-spacing: -0.045em;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero h1 .line > span {
  display: block;
  white-space: nowrap;
  transform: translateY(105%);
  animation: line-up 1s var(--ease) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: 0.05s; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.14s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.23s; }
@keyframes line-up { to { transform: translateY(0); } }

.hero-lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 44ch;
  margin-bottom: 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-figure {
  position: relative;
  border: 1px solid var(--line);
  padding: 16px 16px 12px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(57, 255, 20, 0.07), transparent 62%),
    var(--ink-2);
}
.hero-figure img {
  width: 100%;
  height: auto;
  max-height: 44vh;
  object-fit: contain;
  margin: 0 auto;
}
.hero-figure .fig-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
@media (max-width: 979px) {
  .hero-figure { max-width: 280px; margin: 4px auto 0; padding: 12px 12px 8px; }
  .hero-figure img { max-height: 210px; }
  .hero-top .meta span:nth-child(3) { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-top { padding-bottom: 16px; margin-bottom: 22px; }
}
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: clamp(30px, 5vw, 64px); }
  .hero-figure { padding: 22px 22px 16px; }
}

/* ------------------------------ ticker ------------------------------ */

.ticker {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink);
}
.ticker-track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 13px 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.ticker-item::after { content: ''; width: 4px; height: 4px; background: var(--neon); opacity: 0.7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ------------------------------ manifesto ------------------------------ */

.manifesto h2 {
  font-size: var(--t-xl);
  line-height: 0.9;
  letter-spacing: -0.035em;
  max-width: 20ch;
}
.manifesto-grid {
  display: grid;
  gap: 0;
  margin-top: clamp(30px, 4vw, 54px);
  border-top: 1px solid var(--line);
}
.manifesto-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.manifesto-item h3 {
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.manifesto-item h3 span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--neon);
  letter-spacing: 0.1em;
}
.manifesto-item p { color: var(--muted); font-size: 13px; margin: 0; max-width: 38ch; }
@media (min-width: 860px) {
  .manifesto-grid { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .manifesto-item { padding: 26px 26px 26px 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .manifesto-item:last-child { border-right: 0; padding-right: 0; }
  .manifesto-item:not(:first-child) { padding-left: 26px; }
}

/* ------------------------------ catálogo ------------------------------ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 780px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  transition: background 0.3s var(--ease);
}
.pcard:hover { background: var(--panel); }

.pcard-art {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(57, 255, 20, 0.07), transparent 60%),
    var(--ink-2);
}
.pcard-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.pcard-art svg.pcard-glyph {
  position: absolute;
  top: 50%; left: 50%;
  width: 34px; height: 34px;
  transform: translate(-50%, -50%);
  color: var(--neon);
  opacity: 0.9;
  transition: transform 0.5s var(--ease);
}
.pcard:hover .pcard-art svg.pcard-glyph { transform: translate(-50%, -50%) scale(1.14); }
.pcard-idx {
  position: absolute;
  left: 12px; top: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.pcard-cat {
  position: absolute;
  right: 12px; top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pcard-art .ghost-letter {
  position: absolute;
  right: -4px; bottom: -30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(90px, 12vw, 150px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(57, 255, 20, 0.14);
  pointer-events: none;
}

.pcard-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.pcard-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.pcard-meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pcard-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.pcard-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1;
}
/* preco "de" riscado, usado no card e na pagina do produto */
.price-was {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 92, 92, 0.85);
  letter-spacing: 0.02em;
}
.pcard-price-line {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.pcard-off {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  background: var(--neon);
  color: #041004;
  line-height: 1.4;
}
.pcard-usd {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--dim);
  margin-top: 5px;
  letter-spacing: 0.08em;
}
.pcard-add {
  width: 34px; height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: background 0.22s var(--ease), color 0.22s, border-color 0.22s;
}
.pcard-add:hover:not(:disabled) { background: var(--neon); border-color: var(--neon); color: #04120A; }
.pcard-add svg { width: 15px; height: 15px; }
.pcard.is-out .pcard-art { opacity: 0.45; }
.pcard.is-out .pcard-add { cursor: not-allowed; }

@media (min-width: 780px) {
  .pcard-feature { grid-column: span 2; }
  .pcard-feature .pcard-art { aspect-ratio: 2 / 1; }
  .pcard-feature .pcard-name { font-size: 17px; }
  .pcard-feature .pcard-price { font-size: 24px; }
  .pcard-feature .pcard-body { padding: 18px; }
}

.related-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.related-strip::-webkit-scrollbar { display: none; }
.related-strip .pcard {
  flex: 0 0 clamp(196px, 24vw, 268px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
}

/* ------------------------------ passos ------------------------------ */

.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  transition: -webkit-text-stroke-color 0.3s;
}
.step:hover .step-num { -webkit-text-stroke-color: var(--neon); }
.step h4 { font-size: 14px; margin-bottom: 6px; letter-spacing: 0.02em; }
.step p { font-size: 12.5px; color: var(--muted); margin: 0; max-width: 34ch; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px 26px 30px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .step:last-child { border-right: 0; padding-right: 0; }
  .step:first-child { padding-left: 0; }
  .step-num { font-size: 44px; }
}

/* ------------------------------ faixa de especificações ------------------------------ */

.specs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.specs-cell {
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.specs-cell:nth-child(2n) { border-right: 0; }
.specs-cell .k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}
.specs-cell .v {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.specs-cell .v small { font-size: 12px; letter-spacing: 0.06em; color: var(--muted); font-weight: 400; margin-left: 6px; }
@media (min-width: 780px) {
  .specs-grid { grid-template-columns: repeat(4, 1fr); }
  .specs-cell { border-bottom: 0; }
  .specs-cell:nth-child(2n) { border-right: 1px solid var(--line); }
  .specs-cell:last-child { border-right: 0; }
  .specs-cell:first-child { padding-left: var(--gutter); }
}

/* ------------------------------ transparência ------------------------------ */

.transparency { display: grid; gap: 30px; }
.transparency h2 { font-size: var(--t-lg); max-width: 14ch; }
.transparency-list { border-top: 1px solid var(--line); }
.transparency-row {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}
.transparency-row:hover { padding-left: 8px; }
.transparency-row h4 {
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
}
.transparency-row p { font-size: 12.5px; color: var(--muted); margin: 0; max-width: 52ch; }
@media (min-width: 900px) {
  .transparency { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
  .transparency h2 { position: sticky; top: calc(var(--header-h) + 30px); }
}

/* ------------------------------ bloco neon ------------------------------ */

.section:has(+ .cta-block) { padding-bottom: clamp(34px, 5vw, 64px); }

.cta-block {
  background: var(--neon);
  color: #04120A;
  padding: clamp(44px, 7vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(4, 18, 10, 0.08) 0 1px, transparent 1px 25%);
  pointer-events: none;
}
.cta-block h2 {
  font-size: var(--t-xl);
  line-height: 0.88;
  letter-spacing: -0.04em;
  max-width: 16ch;
  position: relative;
}
.cta-block p { color: rgba(4, 18, 10, 0.72); max-width: 42ch; margin-top: 16px; font-size: 14px; }
.cta-block .btn-primary { background: #04120A; color: var(--neon); }
.cta-block .btn-primary:hover { background: #0A2010; }
.cta-block .btn-ghost { border-color: rgba(4, 18, 10, 0.35); color: #04120A; }
.cta-block .btn-ghost:hover { background: rgba(4, 18, 10, 0.08); border-color: #04120A; }
.cta-inner { position: relative; display: grid; gap: 26px; align-items: end; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.3fr 0.7fr; gap: 50px; } }

/* ------------------------------ footer ------------------------------ */

.site-footer { border-top: 1px solid var(--line); background: var(--ink); overflow: hidden; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) var(--gutter) 30px;
  display: grid;
  gap: 34px;
}
.footer-brand { max-width: 320px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { font-size: 12.5px; color: var(--muted); }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 12px;
  font-weight: 500;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--neon); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  max-width: var(--max);
  margin: 0 auto;
}
.footer-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 17vw, 240px);
  line-height: 0.72;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 245, 240, 0.10);
  text-align: center;
  user-select: none;
  margin-bottom: -0.16em;
  white-space: nowrap;
}
@media (min-width: 780px) {
  .footer-inner { grid-template-columns: 1fr 1.6fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
.is-admin .site-footer { display: none; }

/* ------------------------------ catálogo (página) ------------------------------ */

.catalog-layout { display: grid; gap: 22px; align-items: start; }
.filters { display: grid; gap: 22px; align-content: start; }
.filters .filter-group h4 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 10px;
  font-weight: 500;
}
.filter-list { display: flex; flex-direction: column; }
.filter-list button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: left;
  transition: color 0.2s, padding-left 0.2s;
}
.filter-list button:hover { color: var(--text); padding-left: 4px; }
.filter-list button.active { color: var(--neon); }
.filter-list button span { font-family: var(--font-mono); font-size: 10px; color: var(--dim); }
.filter-list button.active span { color: var(--neon); }

.search-box { position: relative; }
.search-box svg {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px;
  color: var(--dim);
}
.search-box .input { padding-left: 38px; }

.chip-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.active { background: var(--neon); border-color: var(--neon); color: #04120A; }

.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.result-bar .count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
@media (min-width: 900px) {
  .catalog-layout { grid-template-columns: 210px 1fr; gap: 44px; }
  .filters { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (max-width: 899px) { .catalog-layout > .filters { display: none; } }

/* ------------------------------ produto ------------------------------ */

.pdp { display: grid; gap: 26px; align-items: start; }
.pdp-extra { margin-top: 4px; }
.pdp-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(57, 255, 20, 0.10), transparent 60%),
    var(--ink-2);
  display: grid;
  place-items: center;
}
.pdp-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.55;
  mask-image: radial-gradient(72% 72% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(72% 72% at 50% 50%, #000, transparent);
}
.pdp-art svg { width: 62px; height: 62px; color: var(--neon); position: relative; z-index: 1; }
.pdp-art .ghost-letter {
  position: absolute;
  right: -10px; bottom: -60px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(180px, 26vw, 320px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(57, 255, 20, 0.12);
}
.pdp-info h1 { font-size: clamp(24px, 3.6vw, 42px); margin: 12px 0 14px; line-height: 1; }
.pdp-price { display: flex; align-items: flex-end; gap: 14px; margin: 22px 0 6px; }
.pdp-price .amount {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pdp-price .ref { font-family: var(--font-mono); font-size: 10.5px; color: var(--dim); letter-spacing: 0.1em; padding-bottom: 6px; }
.pdp-fx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--dim);
  letter-spacing: 0.08em;
  margin: -2px 0 14px;
}
.pdp-price-col { display: flex; flex-direction: column; gap: 7px; }
.pdp-price-col .price-was { font-size: 13px; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin: 22px 0;
}
.spec { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 14px; }
.spec dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}
.spec dd { margin: 0; font-size: 12.5px; }

.pdp-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.pdp-buy-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(62px + var(--safe-bottom));
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter);
  background: rgba(5, 8, 7, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.pdp-buy-bar .pcard-price { font-size: 20px; }
@media (min-width: 900px) {
  .pdp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "art info" "extra info";
    grid-template-rows: auto 1fr;
    gap: clamp(24px, 4vw, 56px);
  }
  .pdp-art { grid-area: art; }
  .pdp-info { grid-area: info; }
  .pdp-extra { grid-area: extra; align-self: start; }
  .pdp-buy-bar { display: none; }
  .pdp-actions { flex-direction: row; flex-wrap: wrap; }
  .pdp-actions .btn { flex: 1; }
}

.detail-list { margin: 0; padding: 0; list-style: none; }
.detail-row {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.detail-row:last-child { border-bottom: 0; }
.detail-row dt {
  width: 118px;
  flex: 0 0 118px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 2px;
}
.detail-row dd { margin: 0; flex: 1; }

/* ------------------------------ carrinho / checkout ------------------------------ */

.cart-layout { display: grid; gap: 22px; align-items: start; }
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-thumb {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--ink-2);
}
.cart-thumb svg { width: 20px; height: 20px; color: var(--neon); }
.cart-name { font-family: var(--font-display); font-size: 13px; font-weight: 600; line-height: 1.3; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { width: 26px; height: 26px; display: grid; place-items: center; color: var(--muted); }
.qty button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.qty button svg { width: 12px; height: 12px; }
.qty span { min-width: 22px; text-align: center; font-family: var(--font-mono); font-size: 11px; }

.summary { position: sticky; top: calc(var(--header-h) + 22px); }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  padding: 8px 0;
  color: var(--muted);
}
.summary-row strong { color: var(--text); font-weight: 500; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid var(--line-2);
}
.summary-total .pcard-price { font-size: 26px; }

.pay-options { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pay-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  background: var(--ink);
  text-align: left;
  width: 100%;
  transition: background 0.2s;
}
.pay-option:hover { background: var(--panel); }
.pay-option.selected { background: rgba(57, 255, 20, 0.05); }
.pay-icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted); flex: 0 0 30px; }
.pay-option.selected .pay-icon { color: var(--neon); }
.pay-icon svg { width: 17px; height: 17px; }
.pay-option strong { display: block; font-size: 13px; font-weight: 500; }
.pay-option span { font-size: 11.5px; color: var(--dim); }
.pay-option .radio { margin-left: auto; width: 14px; height: 14px; border: 1px solid var(--line-2); flex: 0 0 14px; }
.pay-option.selected .radio { border: 4px solid var(--neon); }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 340px; gap: 40px; } }

/* ------------------------------ auth ------------------------------ */

.auth-wrap { display: grid; gap: 20px; padding: clamp(20px, 4vw, 40px) 0 50px; }
.auth-card { max-width: 430px; margin: 0 auto; width: 100%; padding: clamp(22px, 3vw, 34px); }
.auth-head { margin-bottom: 24px; }
.auth-head img { width: 40px; height: 40px; margin-bottom: 16px; object-fit: contain; }
.auth-head h1 { font-size: 26px; margin-bottom: 8px; letter-spacing: -0.02em; }
.auth-head p { font-size: 12.5px; color: var(--muted); }
.auth-form { display: grid; gap: 16px; }
.auth-foot { text-align: center; font-size: 12.5px; color: var(--dim); margin-top: 20px; }
.auth-foot a { color: var(--neon); }
.btn-google { gap: 10px; letter-spacing: 0.06em; }
.btn-google svg { width: 16px; height: 16px; flex: 0 0 16px; }
.divider {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dim); margin: 4px 0;
}
.divider::before, .divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
@media (max-width: 719px) {
  .auth-head img { display: none; }
  .auth-head h1 { font-size: 22px; }
  .auth-head { margin-bottom: 20px; }
  .auth-wrap { padding-top: 14px; }
}
@media (min-width: 900px) { .auth-wrap { min-height: calc(100vh - 460px); align-content: center; padding: 46px 0 64px; } }

.verify-block { border: 1px solid var(--line); padding: 16px; display: grid; gap: 12px; }
.verify-block.done { border-color: rgba(57, 255, 20, 0.32); background: rgba(57, 255, 20, 0.03); }
.verify-head { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.verify-head svg { width: 16px; height: 16px; color: var(--neon); }
.dev-code {
  font-family: var(--font-mono);
  letter-spacing: 0.34em;
  font-size: 15px;
  color: var(--warning);
  border: 1px dashed rgba(255, 200, 87, 0.4);
  padding: 7px 10px;
  text-align: center;
  cursor: pointer;
}

/* ------------------------------ painel ------------------------------ */

.dash-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.dash-hello h1 { font-size: clamp(24px, 3.6vw, 38px); }
.dash-hello p {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 8px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--ink); padding: 16px 16px 18px; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-hint { font-family: var(--font-mono); font-size: 9.5px; color: var(--dim); margin-top: 6px; }

.list { display: flex; flex-direction: column; }
.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  flex-wrap: wrap;
}
.list-row:last-child { border-bottom: 0; }
.list-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.list-title { font-size: 13px; font-weight: 500; }
.list-sub { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--dim); }
.list-value { font-family: var(--font-display); font-weight: 600; font-size: 14px; }

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 12px 16px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--neon); border-bottom-color: var(--neon); }

.delivery-card { border: 1px solid var(--line); padding: 16px; display: grid; gap: 12px; }
.license-box {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  background: #040706;
  border: 1px solid var(--line);
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #D8FFD0;
  max-height: 320px;
  overflow: auto;
}

.limit-bar { height: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.limit-bar > div { height: 100%; background: var(--neon); transition: width 0.6s var(--ease); }
.topup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 620px) { .topup-grid { grid-template-columns: repeat(5, 1fr); } }
.topup-opt {
  padding: 16px 8px;
  background: var(--ink);
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.topup-opt:hover:not(:disabled) { background: var(--panel); }
.topup-opt.selected { background: var(--neon); color: #04120A; }
.topup-opt:disabled { opacity: 0.3; cursor: not-allowed; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 520px; }
th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 500;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.18s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ------------------------------ atendimento ------------------------------ */

.support-grid { display: grid; gap: 26px; }
@media (min-width: 900px) { .support-grid { grid-template-columns: 1fr 320px; gap: 50px; } }

/* ------------------------------ legal ------------------------------ */

.legal { max-width: 760px; }
.legal h2 {
  margin: 38px 0 12px;
  font-size: 15px;
  letter-spacing: 0.06em;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.legal p, .legal li { color: var(--muted); font-size: 13.5px; }
.legal ul { padding-left: 18px; margin: 8px 0 16px; }
.legal li { margin-bottom: 7px; }
.legal .updated { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 10px; }
.legal-toc a {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--dim);
  transition: 0.2s;
}
.legal-toc a:hover { color: var(--neon); border-color: rgba(57, 255, 20, 0.4); }

/* ------------------------------ admin ------------------------------ */

.admin-shell { display: grid; gap: 24px; align-items: start; padding: clamp(20px, 3vw, 34px) 0 60px; }
.admin-side { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.admin-side::-webkit-scrollbar { display: none; }
.admin-side a {
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: 0.2s;
}
.admin-side a.active { color: var(--neon); border-color: rgba(57, 255, 20, 0.32); background: rgba(57, 255, 20, 0.05); }
.admin-side a:hover { color: var(--text); }
@media (min-width: 960px) {
  .admin-shell { grid-template-columns: 190px 1fr; gap: 46px; }
  .admin-side { flex-direction: column; position: sticky; top: calc(var(--header-h) + 24px); overflow: visible; }
}
.admin-top {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.admin-top h1 { font-size: clamp(20px, 2.6vw, 28px); }
.admin-note { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 760px) { .kpi-row { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--ink); padding: 15px 16px 17px; }
.kpi-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.kpi-value {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin-top: 7px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.integration-grid { display: grid; gap: 0 28px; }
@media (min-width: 1180px) { .integration-grid { grid-template-columns: 1fr 1fr; } }
.integration-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.integration-row:last-child { border-bottom: 0; }
.integration-dot { width: 6px; height: 6px; margin-top: 7px; flex: 0 0 6px; }
.dot-ok { background: var(--neon); }
.dot-pending { background: var(--warning); }

/* ------------------------------- conversa ------------------------------- */
.chat-card { padding: 18px; }
.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding: 4px 2px 8px;
  scroll-behavior: smooth;
}
.chat-empty { padding: 26px 6px; text-align: center; }
.msg { display: flex; flex-direction: column; max-width: 78%; }
.msg-me { align-self: flex-end; align-items: flex-end; }
.msg-them { align-self: flex-start; align-items: flex-start; }
.msg-body {
  padding: 10px 13px;
  font-size: 13.5px;
  line-height: 1.5;
  border: 1px solid var(--line);
  background: rgba(238, 245, 240, 0.03);
  color: var(--text);
  overflow-wrap: anywhere;
}
.msg-me .msg-body {
  border-color: rgba(57, 255, 20, 0.35);
  background: rgba(57, 255, 20, 0.07);
}
.msg-time {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--dim);
  text-transform: uppercase;
}
.chat-form { display: flex; gap: 10px; align-items: flex-end; margin-top: 12px; }
.chat-form .textarea { flex: 1; min-height: 52px; resize: vertical; }
.chat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 8px;
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.chat-row:hover { border-color: var(--line-2); background: rgba(238, 245, 240, 0.02); }
.chat-row-main { min-width: 0; }
.chat-row-name { font-weight: 600; font-size: 13.5px; }
.chat-row-preview {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .msg { max-width: 88%; }
  .chat-form { flex-direction: column; align-items: stretch; }
}

/* ------------------------------ toast / modal ------------------------------ */

.toast-stack {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(76px + var(--safe-bottom));
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(94vw, 420px);
  pointer-events: none;
}
@media (min-width: 900px) { .toast-stack { bottom: 24px; left: auto; right: 24px; transform: none; } }
.toast {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #0A100D;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--neon);
  padding: 12px 14px;
  font-size: 12.5px;
  animation: toast-in 0.24s var(--ease);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.toast svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 1px; color: var(--neon); }
.toast-err { border-left-color: var(--danger); }
.toast-err svg { color: #FF8C8C; }
.toast-info { border-left-color: var(--info); }
.toast-info svg { color: var(--info); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(2, 4, 3, 0.78);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fade-in 0.2s ease;
}
@media (min-width: 640px) { .modal-backdrop { align-items: center; padding: 24px; } }
.modal {
  width: 100%;
  max-width: 540px;
  background: #080D0B;
  border: 1px solid var(--line-2);
  padding: 22px;
  max-height: 88vh;
  overflow: auto;
  animation: sheet-up 0.28s var(--ease);
}
@media (min-width: 640px) { .modal { max-height: 84vh; } }
.modal h3 { margin-bottom: 12px; font-size: 17px; }
.modal-actions { display: flex; gap: 8px; margin-top: 20px; }
.modal-actions .btn { flex: 1; }
@keyframes sheet-up { from { transform: translateY(26px); opacity: 0.5; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------ utilidades ------------------------------ */

.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skeleton-title { height: 26px; width: 38%; margin-bottom: 18px; }
.skeleton-block { height: 150px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty {
  border: 1px dashed var(--line-2);
  padding: 54px 22px;
  text-align: center;
  color: var(--muted);
}
.empty svg { width: 30px; height: 30px; color: var(--dim); margin: 0 auto 14px; }
.empty h3 { font-size: 15px; color: var(--text); margin-bottom: 8px; }
.empty p { font-size: 12.5px; }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--neon); }
.breadcrumb span { opacity: 0.5; }

.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: currentColor;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.dev-banner {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px var(--gutter);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 200, 87, 0.06);
  border-bottom: 1px solid rgba(255, 200, 87, 0.22);
  color: #FFD98A;
}
.dev-banner svg { width: 13px; height: 13px; flex: 0 0 13px; }

.sticky-note { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; color: var(--dim); }
.sticky-note svg { width: 13px; height: 13px; flex: 0 0 13px; margin-top: 3px; }

details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }
details summary svg { transition: transform 0.25s var(--ease); }
details[open] summary svg { transform: rotate(45deg); color: var(--neon); }

/* ------------------------------ motion ------------------------------ */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }

[data-tilt] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .ticker-track { animation: none; }
  .hero h1 .line > span { transform: none; }
}

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}

/* alias legado */
.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.only-mobile { display: block; }
@media (min-width: 900px) { .only-mobile { display: none; } }
.header-login { display: none; }
@media (min-width: 900px) {
  .header-login {
    display: inline-flex;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-left: 16px;
    transition: color 0.2s;
  }
  .header-login:hover { color: var(--text); }
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* halo que segue o ponteiro (desktop) */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 240px; height: 240px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.10), transparent 62%);
  filter: blur(8px);
  will-change: transform;
}
@media (max-width: 899px) { .cursor-glow { display: none; } }

/* QR code do 2FA: fundo claro obrigatorio para leitura da camera */
.qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 184px;
  height: 184px;
  padding: 14px;
  background: #ffffff;
  border-radius: 4px;
  margin-top: 4px;
}
.qr-frame svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ------------------------------------------------------------------ *
 * Fundo: grade tecnica com linha de varredura
 *
 * CSS puro: a grade e o desenho sao estaticos e so a faixa se move,
 * com transform (composto pela GPU). Sem canvas, sem loop de JS.
 * ------------------------------------------------------------------ */

.bg-scan {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.bg-scan::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 247, 245, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 245, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(90% 80% at 50% 25%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(90% 80% at 50% 25%, #000 30%, transparent 100%);
}

.bg-scan::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 260px;
  margin-top: -260px;
  background: linear-gradient(
    to bottom,
    rgba(57, 255, 20, 0) 0%,
    rgba(57, 255, 20, 0.012) 55%,
    rgba(57, 255, 20, 0.045) 88%,
    rgba(57, 255, 20, 0.10) 100%
  );
  border-bottom: 1px solid rgba(57, 255, 20, 0.22);
  animation: scan-sweep 12s linear infinite;
  will-change: transform;
}

@keyframes scan-sweep {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, calc(100vh + 260px), 0); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-scan::before { animation: none; opacity: 0; }
}

@media (max-width: 719px) {
  .bg-scan::after { background-size: 22px 22px; }
  .bg-scan::before { height: 180px; }
}

/* Reserva a altura da viewport antes do SPA renderizar.
   Sem isso o rodape sobe e desce quando o conteudo entra (CLS alto). */
#app {
  min-height: calc(100vh - var(--header-h));
}

/* Esqueleto que ocupa a viewport antes do SPA renderizar.
   Sem isso a area reservada fica em branco e o Speed Index piora. */
.skeleton-shell { padding: clamp(28px, 5vw, 56px) 0; }
.skeleton-eyebrow { height: 11px; width: 180px; margin-bottom: 26px; }
.skeleton-h1 { height: clamp(30px, 6vw, 58px); width: 86%; margin-bottom: 12px; }
.skeleton-line { height: 12px; margin-bottom: 10px; }
.skeleton-btn { height: 46px; width: 200px; margin-top: 22px; }
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.skeleton-card { aspect-ratio: 1 / 1.25; }
@media (min-width: 760px) {
  .skeleton-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Campos compactos dentro de tabelas do painel */
[data-rowcount] { white-space: nowrap; }
.input-cell {
  width: 96px;
  padding: 6px 8px;
  font-size: 13px;
  text-align: right;
}
.input-cell:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Coluna de promocao no painel de precos */
.badge-promo-sm {
  font-size: 8px;
  padding: 2px 5px;
  margin-left: 6px;
  letter-spacing: 0.1em;
  vertical-align: 2px;
}

/* Coluna de estoque no painel de precos */
.stock-td { text-align: right; white-space: nowrap; }
.stock-td .badge { font-size: 8.5px; padding: 2px 5px; }
.switch-site {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  cursor: pointer;
}
.switch-site input { width: 11px; height: 11px; accent-color: var(--neon); cursor: pointer; }
.switch-site:has(input:checked) { color: var(--neon); }
.promo-td { text-align: right; }
.promo-edit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}
.input-cell-sm { width: 74px; padding: 5px 6px; font-size: 12.5px; }
.promo-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  flex: 0 0 24px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}
.promo-x svg { width: 12px; height: 12px; }
.promo-x:hover { color: #FF8C8C; border-color: rgba(255, 92, 92, 0.5); }
