:root {

  --bg: #08080a;

  --bg-2: rgba(11, 11, 14, 0.55);

  --surface: #101014;

  --surface-2: #16161c;

  --border: rgba(255, 255, 255, 0.08);

  --border-strong: rgba(255, 255, 255, 0.14);

  --accent: #ca2638;

  --accent-2: #e2455a;

  --accent-3: #4ade80;

  --accent-deep: #6d1a21;

  --accent-2-deep: #6d1a21;

  --accent-soft: rgba(202, 38, 56, 0.12);

  --accent-glow: rgba(202, 38, 56, 0.35);

  --accent-2-soft: rgba(226, 69, 90, 0.14);

  --accent-2-b30: rgba(226, 69, 90, 0.3);

  --accent-2-b45: rgba(226, 69, 90, 0.45);

  --accent-3-b60: rgba(74, 222, 128, 0.6);

  --accent-b045: rgba(202, 38, 56, 0.045);

  --accent-b08: rgba(202, 38, 56, 0.08);

  --accent-b12: rgba(202, 38, 56, 0.12);

  --accent-b16: rgba(202, 38, 56, 0.16);

  --accent-b25: rgba(202, 38, 56, 0.25);

  --accent-b30: rgba(202, 38, 56, 0.3);

  --accent-b35: rgba(202, 38, 56, 0.35);

  --accent-b40: rgba(202, 38, 56, 0.4);

  --accent-b50: rgba(202, 38, 56, 0.5);

  --accent-b55: rgba(202, 38, 56, 0.55);

  --text: #f4f4f5;

  --muted: #a1a1aa;

  --faint: #6b6b74;

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --display: "Space Grotesk", "Inter", "Segoe UI", system-ui, sans-serif;

  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;

  --radius: 14px;

  --radius-sm: 10px;

  --max: 1200px;

  --nav-h: 270px;

  --logo-h: 190px;

}



* { margin: 0; padding: 0; box-sizing: border-box; }



html { scroll-behavior: smooth; }



body {

  background: var(--bg);

  color: var(--text);

  font-family: var(--sans);

  font-size: 16px;

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

  overflow-x: hidden;

}



body.is-locked { overflow: hidden; }



::selection { background: var(--accent); color: #000; }



a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }



.container {

  max-width: var(--max);

  margin: 0 auto;

  padding: 0 24px;

}



/* ---------- Grain + vignette ---------- */

.grain {

  position: fixed;

  inset: 0;

  z-index: 2000;

  pointer-events: none;

  opacity: 0.05;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

}



.vignette {

  position: fixed;

  inset: 0;

  z-index: 1999;

  pointer-events: none;

  background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);

}



/* ---------- Reveal on scroll ---------- */

.reveal {

  opacity: 0;

  transform: translateY(28px);

  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);

}

.reveal.is-visible { opacity: 1; transform: none; }



/* ---------- Nav ---------- */

.nav {

  --nav-scale: 1;

  position: fixed;

  top: 0; left: 0; right: 0;

  z-index: 1000;

  height: calc(var(--nav-h) * var(--nav-scale));

  display: flex;

  align-items: center;

  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;

  border-bottom: 1px solid transparent;

}

.nav.is-scrolled {

  background: rgba(8, 8, 10, 0.82);

  backdrop-filter: blur(14px);

  border-bottom-color: var(--border);

}

.nav__inner {

  width: 100%;

  max-width: var(--max);

  margin: 0 auto;

  padding: 0 24px;

  display: flex;

  align-items: center;

  gap: 20px;

}

.nav__logo {

  display: flex;

  align-items: center;

  gap: calc(10px * var(--nav-scale, 1));

  flex: none;

  font-family: var(--display);

  font-weight: 700;

  font-size: calc(17px * var(--nav-scale, 1));

  letter-spacing: 0.02em;

}

.nav__logo-mark {

  width: 30px; height: 30px;

  border-radius: 8px;

  background: linear-gradient(135deg, var(--accent-2), var(--accent-2-deep));

  display: grid;

  place-items: center;

  font-size: 13px;

  font-weight: 800;

  color: #000;

  font-family: var(--mono);

}

.nav__logo-sub {

  font-family: var(--mono);

  font-size: calc(10px * var(--nav-scale, 1));

  color: var(--faint);

  letter-spacing: 0.18em;

  text-transform: uppercase;

  display: block;

  line-height: 1;

  margin-top: 2px;

}



/* Brand logo (assets/brand/nubbun_logo_Red.svg)

   Arte original, sin fondo: negro (#010101) + gris (#c8c8c8) con "STUDIOS". */

.nav .nav__logo { transform: translate(0, calc(var(--logo-h) * var(--nav-scale, 1) * 0.10)); }

.nav__logo-img { height: calc(var(--logo-h) * var(--nav-scale, 1)); width: auto; display: block; flex: none; }

.nav__logo [data-js="siteName"] { white-space: nowrap; }

.nav__logo-img--footer { height: calc(var(--logo-h) * 0.8); }

.gate__logo { height: 64px; width: auto; display: block; }

.ed__logo { height: 24px; width: auto; display: block; }



@media (max-width: 1440px) {

  :root { --logo-h: 150px; --nav-h: 215px; }

}

@media (max-width: 1240px) {

  :root { --logo-h: 112px; --nav-h: 168px; }

}

@media (max-width: 1024px) {

  :root { --logo-h: 92px; --nav-h: 142px; }

}

@media (max-width: 680px) {

  :root { --logo-h: 74px; --nav-h: 110px; }

}

@media (max-width: 480px) {

  :root { --logo-h: 54px; --nav-h: 84px; }

  .nav__logo [data-js="siteName"] { display: none; }

}

.nav__links {

  display: flex;

  gap: 22px;

  margin-left: auto;

  font-size: 14px;

  white-space: nowrap;

  color: var(--muted);

}

.nav__links a { transition: color 0.2s; }

.nav__links a:hover { color: var(--text); }

.lang {

  display: flex;

  gap: 2px;

  padding: 2px;

  border: 1px solid var(--border);

  border-radius: 8px;

  background: rgba(255, 255, 255, 0.03);

  flex: none;

}

.lang__btn {

  font-family: var(--mono);

  font-size: 11px;

  letter-spacing: 0.08em;

  padding: 5px 8px;

  border-radius: 6px;

  color: var(--faint);

  transition: color 0.2s, background 0.2s;

}

.lang__btn:hover { color: var(--text); }

.lang__btn.is-active { background: var(--accent); color: #000; font-weight: 700; }

.nav__cta { margin-left: 8px; }



/* ---------- Buttons ---------- */

.btn {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 12px 22px;

  border-radius: 10px;

  font-weight: 600;

  font-size: 14px;

  letter-spacing: 0.01em;

  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;

  white-space: nowrap;

  cursor: pointer;

}

/* Estados honestos: sin oferta publicada no hay acción de compra */

.is-disabled { pointer-events: none; opacity: 0.55; cursor: default; }

.btn--primary {

  background: var(--accent);

  color: #000;

  box-shadow: 0 0 0 0 var(--accent-glow);

}

.btn--primary:hover {

  background: var(--accent-2);

  transform: translateY(-2px);

  box-shadow: 0 8px 30px var(--accent-glow);

}

.btn--ghost {

  border: 1px solid var(--border-strong);

  color: var(--text);

  background: rgba(255, 255, 255, 0.03);

}

.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--lg { padding: 15px 28px; font-size: 15px; }

.btn--block { width: 100%; justify-content: center; }



/* ---------- Section scaffolding ---------- */

.section { padding: 110px 0; position: relative; }

.section--tight { padding: 70px 0; }



.section__head { max-width: 680px; margin-bottom: 56px; }

.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }



.kicker {

  font-family: var(--mono);

  font-size: 12px;

  letter-spacing: 0.22em;

  text-transform: uppercase;

  color: var(--accent);

  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 14px;

}

.section__head--center .kicker { justify-content: center; }

.kicker::before {

  content: "";

  width: 22px; height: 1px;

  background: var(--accent);

}

.section__head--center .kicker::after {

  content: "";

  width: 22px; height: 1px;

  background: var(--accent);

}



h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; }



.section__title { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin-bottom: 16px; }

.section__sub { color: var(--muted); font-size: 17px; }



.glow-orb {

  position: absolute;

  border-radius: 50%;

  filter: blur(90px);

  pointer-events: none;

  z-index: 0;

}



/* ---------- Hero ---------- */

.hero {

  min-height: 92vh;

  display: flex;

  align-items: center;

  position: relative;

  padding: calc(var(--nav-h) + 60px) 0 80px;

  overflow: hidden;

}

.hero__bg {

  position: absolute;

  inset: 0;

  z-index: 0;

}

/* the hero video placeholder is a background: its spec label must not sit under the headline */

.hero__bg .ph > div { display: none; }

.hero__bg::after {

  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(180deg, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0.85) 78%, var(--bg) 100%);

}

.hero__inner { position: relative; z-index: 2; display: grid; gap: 40px; width: 100%; }



/* SideRays (React Bits) — port vanilla WebGL2 en assets/js/siderays.js

   Capa fija dentro de la barra: se queda detrás del logo al hacer scroll, así

   la luz y la sombra del logotipo siguen leyéndose siempre. No se recorta: la

   máscara apaga el canvas poco a poco y el haz no termina en un borde duro. */

.nav__rays {

  --rays-keep: 800px;

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 800px;

  z-index: 0;

  opacity: 0.3;

  pointer-events: none;

  overflow: hidden;

  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(var(--rays-keep) - 160px), transparent var(--rays-keep));

  mask-image: linear-gradient(to bottom, #000 0, #000 calc(var(--rays-keep) - 160px), transparent var(--rays-keep));

}

.nav__inner { position: relative; z-index: 1; }



.side-rays__canvas {

  position: absolute;

  inset: 0;

  display: block;

  width: 100%;

  height: 100%;

}



.hero__badge {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  font-family: var(--mono);

  font-size: 12px;

  color: var(--accent-2);

  border: 1px solid var(--accent-2-b30);

  background: var(--accent-2-soft);

  padding: 7px 14px;

  border-radius: 100px;

  width: fit-content;

  letter-spacing: 0.08em;

}

.hero__badge .dot {

  width: 6px; height: 6px;

  border-radius: 50%;

  background: var(--accent-2);

  animation: pulse 2s infinite;

}

@keyframes pulse {

  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-2-b45); }

  50% { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }

}



.hero__title {

  font-size: clamp(42px, 6.4vw, 78px);

  font-weight: 800;

  max-width: 900px;

}

.hero__title .accent {

  background: linear-gradient(100deg, var(--accent-2), var(--accent-2-deep));

  -webkit-background-clip: text;

  background-clip: text;

  color: transparent;

}

.hero__sub {

  font-size: clamp(16px, 2vw, 19px);

  color: var(--muted);

  max-width: 620px;

}

.hero__sign {

  font-family: var(--mono);

  font-size: 12.5px;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  color: var(--accent-2);

  opacity: 0.85;

}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }



.hero__meta {

  display: flex;

  gap: 26px;

  flex-wrap: wrap;

  font-family: var(--mono);

  font-size: 12.5px;

  color: var(--faint);

  letter-spacing: 0.06em;

}

.hero__meta span { display: flex; align-items: center; gap: 7px; }

.hero__meta span::before { content: "◆"; color: var(--accent); font-size: 9px; }



/* ---------- Marquee strip ---------- */

.strip {

  border-top: 1px solid var(--border);

  border-bottom: 1px solid var(--border);

  background: var(--bg-2);

  overflow: hidden;

  padding: 18px 0;

}

.strip__track {

  display: flex;

  gap: 48px;

  width: max-content;

  animation: marquee 30s linear infinite;

  font-family: var(--mono);

  font-size: 13px;

  color: var(--muted);

  letter-spacing: 0.1em;

  text-transform: uppercase;

  white-space: nowrap;

}

.strip__track b { color: var(--accent); font-weight: 600; }

@keyframes marquee { to { transform: translateX(-50%); } }



/* ---------- Product grid ---------- */

.filters {

  display: flex;

  gap: 10px;

  flex-wrap: wrap;

  margin-bottom: 40px;

}

.chip {

  font-family: var(--mono);

  font-size: 12.5px;

  padding: 8px 16px;

  border-radius: 100px;

  border: 1px solid var(--border);

  color: var(--muted);

  transition: all 0.2s;

  letter-spacing: 0.05em;

}

.chip:hover { border-color: var(--border-strong); color: var(--text); }

.chip.is-active {

  background: var(--accent);

  border-color: var(--accent);

  color: #000;

  font-weight: 600;

}



.grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 26px;

}

/* Un solo producto publicado: tarjeta generosa a todo el ancho */

.grid--single { grid-template-columns: 1fr; }

.grid--single .card { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }

.grid--single .card__media .ph { height: 100%; min-height: 320px; border-bottom: none; border-right: 1px solid var(--border); }

.grid--single .card__body { padding: 34px 36px; justify-content: center; gap: 14px; }

.grid--single .card__name { font-size: 30px; }

.grid--single .card__tag { font-size: 16px; }

.card__more {

  margin-top: 6px;

  font-family: var(--mono);

  font-size: 12px;

  letter-spacing: 0.08em;

  color: var(--accent);

}

.card__more:hover { color: var(--accent-2); }

.card .card__buy--soon {

  background: transparent;

  border: 1px solid var(--border-strong);

  color: var(--faint);

  cursor: default;

}

.card .card__buy--soon:hover { transform: none; background: transparent; }

.card__price--tba { font-size: 13px; color: var(--muted); }

@media (max-width: 760px) {

  .grid--single .card { grid-template-columns: 1fr; }

  .grid--single .card__media .ph { border-right: none; border-bottom: 1px solid var(--border); }

}



.card {

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  overflow: hidden;

  display: flex;

  flex-direction: column;

  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;

}

.card:hover {

  transform: translateY(-6px);

  border-color: var(--accent-b40);

  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--accent-b12);

}

.card__media { position: relative; }

.card__cat {

  position: absolute;

  top: 12px; left: 12px;

  z-index: 3;

  font-family: var(--mono);

  font-size: 10.5px;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  background: rgba(8, 8, 10, 0.8);

  backdrop-filter: blur(6px);

  border: 1px solid var(--border);

  color: var(--accent-3);

  padding: 5px 10px;

  border-radius: 100px;

}

.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card__name { font-size: 21px; font-weight: 700; }

.card__tag { color: var(--muted); font-size: 14px; flex: 1; }

.card__foot {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  margin-top: 8px;

  padding-top: 16px;

  border-top: 1px solid var(--border);

}

.card__price { font-family: var(--mono); font-size: 17px; font-weight: 600; }

.card__price small { color: var(--faint); font-size: 11px; display: block; letter-spacing: 0.08em; }

.card__buy {

  font-size: 13px;

  padding: 9px 16px;

  border-radius: 8px;

  background: var(--accent);

  color: #000;

  font-weight: 700;

  transition: background 0.2s, transform 0.2s;

}

.card__buy:hover { background: var(--accent-2); transform: translateY(-1px); }

.card__link {

  position: absolute; inset: 0; z-index: 2;

}

.card__media .ph { border-radius: 0; border: none; border-bottom: 1px solid var(--border); }



/* ---------- Placeholders ---------- */

.ph {

  position: relative;

  background:

    repeating-linear-gradient(45deg, rgba(255,255,255,0.018) 0 12px, transparent 12px 24px),

    var(--surface-2);

  border: 1px dashed var(--border-strong);

  border-radius: var(--radius-sm);

  display: grid;

  place-items: center;

  text-align: center;

  padding: 26px 18px;

  gap: 10px;

  overflow: hidden;

}

.ph::before {

  content: "";

  position: absolute;

  inset: 10px;

  border: 1px solid rgba(255, 255, 255, 0.04);

  border-radius: 6px;

  pointer-events: none;

}

.ph__icon {

  font-family: var(--mono);

  font-size: 11px;

  letter-spacing: 0.24em;

  color: var(--accent);

  border: 1px solid var(--accent-b35);

  background: var(--accent-soft);

  padding: 6px 12px;

  border-radius: 100px;

  text-transform: uppercase;

}

.ph__meta {

  font-family: var(--mono);

  font-size: 11.5px;

  color: var(--muted);

  line-height: 1.7;

  max-width: 420px;

}

.ph__meta b { color: var(--text); font-weight: 600; }

.ph__meta .dim { color: var(--faint); }



.ph--video { background: #0a0a0c; cursor: pointer; }

.ph__play {

  width: 64px; height: 64px;

  border-radius: 50%;

  border: 1px solid var(--accent-b50);

  background: var(--accent-soft);

  display: grid;

  place-items: center;

  transition: transform 0.25s, box-shadow 0.25s;

  margin: 0 auto;

}

.ph--video:hover .ph__play { transform: scale(1.08); box-shadow: 0 0 34px var(--accent-glow); }

.ph__play svg { width: 20px; height: 20px; fill: var(--accent); margin-left: 3px; }

.ph--video .ph__meta { margin-top: 4px; }



/* ---------- Features ---------- */

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.features--3 { grid-template-columns: repeat(3, 1fr); }

.features--2 { grid-template-columns: repeat(2, 1fr); }

.feature {

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 28px 26px;

  transition: border-color 0.3s, transform 0.3s;

}

.feature:hover { border-color: var(--accent-b35); transform: translateY(-4px); }

.feature__icon {

  width: 42px; height: 42px;

  border-radius: 10px;

  background: var(--accent-soft);

  border: 1px solid var(--accent-b25);

  display: grid;

  place-items: center;

  margin-bottom: 18px;

  color: var(--accent);

}

.feature__icon svg { width: 20px; height: 20px; }

.feature h3 { font-size: 17px; margin-bottom: 8px; }

.feature p { color: var(--muted); font-size: 14px; }



/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }

.step {

  position: relative;

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 30px 28px;

}

.step__num {

  font-family: var(--mono);

  font-size: 44px;

  font-weight: 700;

  color: transparent;

  -webkit-text-stroke: 1px var(--accent-b55);

  line-height: 1;

  margin-bottom: 16px;

}

.step h3 { font-size: 18px; margin-bottom: 8px; }

.step p { color: var(--muted); font-size: 14.5px; }



/* ---------- Video showcase ---------- */

.showcase { display: grid; gap: 26px; }



/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }

.qa {

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius-sm);

  overflow: hidden;

  transition: border-color 0.25s;

}

.qa.is-open { border-color: var(--accent-b35); }

.qa__q {

  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 16px;

  padding: 19px 22px;

  font-weight: 600;

  font-size: 15.5px;

  text-align: left;

}

.qa__q .plus {

  font-family: var(--mono);

  color: var(--accent);

  font-size: 20px;

  transition: transform 0.3s;

  flex-shrink: 0;

}

.qa.is-open .plus { transform: rotate(45deg); }

.qa__a {

  max-height: 0;

  overflow: hidden;

  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);

}

.qa__a p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }



/* ---------- CTA banner ---------- */

.cta {

  position: relative;

  border-radius: 20px;

  border: 1px solid var(--accent-b25);

  background:

    radial-gradient(60% 120% at 50% 0%, var(--accent-b16), transparent 60%),

    var(--surface);

  text-align: center;

  padding: 74px 32px;

  overflow: hidden;

}

.cta h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }

.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }

.cta .btn { animation: ctaPulse 2.6s infinite; }

@keyframes ctaPulse {

  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }

  50% { box-shadow: 0 0 0 12px transparent; }

}



/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 60px 0 34px; margin-top: 40px; }

.footer__grid {

  display: grid;

  grid-template-columns: 1.6fr 1fr 1fr 1fr;

  gap: 40px;

  margin-bottom: 46px;

}

.footer h4 {

  font-family: var(--mono);

  font-size: 11px;

  letter-spacing: 0.2em;

  text-transform: uppercase;

  color: var(--faint);

  margin-bottom: 16px;

}

.footer__links { display: grid; gap: 10px; font-size: 14px; color: var(--muted); }

.footer__links a:hover { color: var(--accent); }

.footer__about p { color: var(--muted); font-size: 14px; max-width: 300px; margin-top: 14px; }

.footer__bottom {

  border-top: 1px solid var(--border);

  padding-top: 26px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 16px;

  flex-wrap: wrap;

  font-size: 13px;

  color: var(--faint);

}

.footer__bottom .mono { font-family: var(--mono); font-size: 12px; }



/* ---------- Product detail ---------- */

.phero { padding: calc(var(--nav-h) + 60px) 0 60px; position: relative; overflow: hidden; }

.crumb {

  font-family: var(--mono);

  font-size: 12.5px;

  color: var(--faint);

  letter-spacing: 0.06em;

  margin-bottom: 30px;

  display: flex;

  gap: 8px;

  flex-wrap: wrap;

}

.crumb a:hover { color: var(--accent); }

.crumb .sep { color: rgba(255, 255, 255, 0.2); }



.phero__grid {

  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  gap: 54px;

  align-items: center;

  position: relative;

  z-index: 2;

}

.phero__cat {

  font-family: var(--mono);

  font-size: 12px;

  letter-spacing: 0.2em;

  text-transform: uppercase;

  color: var(--accent);

  margin-bottom: 14px;

  display: block;

}

.phero__title { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin-bottom: 14px; }

.phero__tag { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 26px; }

.phero__priceRow { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }

.phero__price { font-family: var(--mono); font-size: 34px; font-weight: 700; }

.phero__price small { font-size: 13px; color: var(--faint); display: block; letter-spacing: 0.1em; }

.phero__facts {

  display: grid;

  grid-template-columns: repeat(2, auto);

  gap: 10px 30px;

  font-family: var(--mono);

  font-size: 12.5px;

  color: var(--muted);

  justify-content: start;

}

.phero__facts b { color: var(--faint); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; display: block; }



.pdetail { display: grid; grid-template-columns: 1fr 340px; gap: 54px; align-items: start; }

.pdetail__main { display: grid; gap: 70px; min-width: 0; }

.pdetail__side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 20px; }



.buybox {

  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 26px;

  display: grid;

  gap: 14px;

}

.buybox__price { font-family: var(--mono); font-size: 30px; font-weight: 700; }

.buybox__row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); }

.buybox__row b { color: var(--text); font-weight: 500; }

.buybox__divider { border-top: 1px solid var(--border); margin: 4px 0; }

.buybox__note { font-size: 12px; color: var(--faint); text-align: center; }



.prose h2 { font-size: 28px; margin-bottom: 18px; }

.prose p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }

.prose p b { color: var(--text); font-weight: 600; }



.checklist { display: grid; gap: 12px; margin-top: 8px; }

.checklist li {

  list-style: none;

  display: flex;

  gap: 12px;

  align-items: flex-start;

  color: var(--muted);

  font-size: 15px;

}

.checklist li::before {

  content: "✓";

  color: var(--accent);

  font-weight: 700;

  flex-shrink: 0;

}



/* Gallery */

.gallery__main { margin-bottom: 14px; }

.gallery__main .ph { aspect-ratio: 16 / 10; }

.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

.gallery__thumb { padding: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); transition: border-color 0.25s, transform 0.25s; }

.gallery__thumb:hover { border-color: var(--accent); transform: translateY(-2px); }

.gallery__thumb .ph { border: none; border-radius: 0; aspect-ratio: 16 / 10; padding: 8px; }

.gallery__thumb .ph__meta { font-size: 9.5px; }

.gallery__thumb .ph__icon { display: none; }



/* Specs table */

.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }

.specs tr { border-bottom: 1px solid var(--border); }

.specs td { padding: 15px 4px; vertical-align: top; }

.specs td:first-child {

  font-family: var(--mono);

  font-size: 12px;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  color: var(--faint);

  width: 220px;

  padding-right: 24px;

}

.specs td:last-child { color: var(--muted); }

.specs td:last-child b { color: var(--text); font-weight: 500; }



/* Changelog */

.changelog { display: grid; gap: 18px; }

.cl__item { border-left: 2px solid var(--border); padding-left: 20px; position: relative; }

.cl__item::before {

  content: "";

  position: absolute;

  left: -5px; top: 8px;

  width: 8px; height: 8px;

  border-radius: 50%;

  background: var(--accent);

}

.cl__ver { font-family: var(--mono); font-size: 14px; color: var(--accent); margin-bottom: 4px; }

.cl__date { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-left: 10px; }

.cl__list { display: grid; gap: 6px; }

.cl__list li { list-style: none; color: var(--muted); font-size: 14px; padding-left: 16px; position: relative; }

.cl__list li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }



/* Related */

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }



/* ---------- Lemon overlay (simulado) ---------- */

.lemon-overlay {

  position: fixed;

  inset: 0;

  z-index: 3000;

  display: none;

  align-items: center;

  justify-content: center;

  padding: 24px;

}

.lemon-overlay.is-open { display: flex; }

.lemon-overlay__backdrop {

  position: absolute;

  inset: 0;

  background: rgba(4, 4, 6, 0.8);

  backdrop-filter: blur(6px);

}

.lemon-overlay__panel {

  position: relative;

  width: 100%;

  max-width: 430px;

  background: #141418;

  border: 1px solid var(--border-strong);

  border-radius: 16px;

  padding: 30px;

  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);

  animation: lemonIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);

}

@keyframes lemonIn {

  from { opacity: 0; transform: translateY(24px) scale(0.97); }

  to { opacity: 1; transform: none; }

}

.lemon-overlay__close {

  position: absolute;

  top: 14px; right: 14px;

  width: 34px; height: 34px;

  border-radius: 8px;

  display: grid;

  place-items: center;

  color: var(--muted);

  font-size: 18px;

  transition: background 0.2s, color 0.2s;

}

.lemon-overlay__close:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }

.lemon__brand {

  font-family: var(--mono);

  font-size: 11px;

  letter-spacing: 0.2em;

  text-transform: uppercase;

  color: var(--faint);

  text-align: center;

  margin-bottom: 20px;

}

.lemon__product { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }

.lemon__thumb { width: 52px; height: 52px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-b25); display: grid; place-items: center; font-family: var(--mono); color: var(--accent); font-size: 11px; flex-shrink: 0; }

.lemon__info b { display: block; font-size: 15px; }

.lemon__info span { font-size: 12.5px; color: var(--muted); }

.lemon__price { font-family: var(--mono); font-weight: 700; margin-left: auto; }

.lemon__field { margin-bottom: 12px; }

.lemon__field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-family: var(--mono); letter-spacing: 0.06em; }

.lemon__field input {

  width: 100%;

  background: #0c0c0f;

  border: 1px solid var(--border);

  border-radius: 8px;

  padding: 11px 13px;

  color: var(--text);

  font-size: 14px;

  outline: none;

  transition: border-color 0.2s;

}

.lemon__field input:focus { border-color: var(--accent); }

.lemon__pay { margin-top: 8px; }

.lemon__disclaimer {

  margin-top: 16px;

  font-size: 11.5px;

  color: var(--faint);

  text-align: center;

  font-family: var(--mono);

  line-height: 1.7;

}

.lemon__disclaimer b { color: var(--accent); }



/* ---------- Responsive ---------- */

@media (max-width: 1024px) {

  .grid { grid-template-columns: repeat(2, 1fr); }

  .features { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: 1fr; }

  .phero__grid { grid-template-columns: 1fr; gap: 36px; }

  .pdetail { grid-template-columns: 1fr; }

  .pdetail__side { position: static; }

  .related { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr 1fr; }

}



@media (max-width: 680px) {

  .section { padding: 76px 0; }

  .nav__links { display: none; }

  .nav__logo { gap: 8px; }

  .nav__logo [data-js="siteName"] { font-size: 15px; }

  .grid, .features, .related { grid-template-columns: 1fr; }

  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }

  .specs td:first-child { width: 140px; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }

  .hero { min-height: auto; }

}



/* ==========================================

   DESIGN STUDIO (editor) — hidden admin

   ========================================== */

.ed { background: #0a0a0d; }



.gate {

  position: fixed; inset: 0; z-index: 5000;

  display: none; align-items: center; justify-content: center;

  background: radial-gradient(60% 80% at 50% 0%, var(--accent-b08), transparent 60%), #08080a;

  padding: 24px;

}

.gate__card {

  width: 100%; max-width: 380px;

  background: var(--surface);

  border: 1px solid var(--border-strong);

  border-radius: 16px;

  padding: 36px 32px;

  display: grid; gap: 14px;

  text-align: center;

}

.gate__brand { display: flex; justify-content: center; margin-bottom: 6px; }

.gate__title { font-size: 24px; }

.gate__text { color: var(--muted); font-size: 14px; }

.gate__input {

  background: #0c0c0f; border: 1px solid var(--border); border-radius: 10px;

  padding: 12px 14px; color: var(--text); font-size: 15px; outline: none; text-align: center;

}

.gate__input:focus { border-color: var(--accent); }

.gate__msg { color: #ef4444; font-size: 13px; min-height: 18px; font-family: var(--mono); }



.ed__bar {

  position: sticky; top: 0; z-index: 100;

  display: flex; align-items: center; justify-content: space-between; gap: 16px;

  padding: 14px 24px;

  background: rgba(10,10,13,0.9); backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--border);

}

.ed__barLeft { display: flex; align-items: center; gap: 12px; }

.ed__barLeft strong { font-family: var(--display); font-size: 16px; display: block; }

.ed__barSub { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.1em; }

.ed__barRight { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.ed__saved { font-family: var(--mono); font-size: 11.5px; color: var(--faint); transition: color .3s; }

.ed__saved.is-flash { color: var(--accent); }

.ed__barCount { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }



.ed__tabs { display: flex; gap: 4px; padding: 14px 24px 0; max-width: 1400px; margin: 0 auto; width: 100%; }

.ed__tab {

  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;

  padding: 10px 18px; border-radius: 8px 8px 0 0; color: var(--muted);

  border: 1px solid transparent; border-bottom: none; transition: all .2s;

}

.ed__tab:hover { color: var(--text); }

.ed__tab.is-active { background: var(--surface); border-color: var(--border); color: var(--accent); }



.ed__wrap {

  display: grid; grid-template-columns: 320px 1fr; gap: 24px;

  max-width: 1400px; margin: 0 auto; width: 100%;

  padding: 24px; align-items: start;

}

.ed__wrap--settings { grid-template-columns: 1fr; max-width: 860px; }



.ed__side {

  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);

  padding: 16px; position: sticky; top: 90px;

}

.ed__sideHead { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }

.ed__add { display: grid; gap: 8px; margin-bottom: 14px; }

.ed__addBtn {

  text-align: left; font-size: 13px; font-weight: 600; padding: 10px 14px;

  border-radius: 9px; border: 1px dashed var(--border-strong); color: var(--muted);

  transition: all .2s; background: rgba(255,255,255,0.02);

}

.ed__addBtn:hover { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }

.ed__addBtn.is-paid { color: var(--accent); }

.ed__addBtn.is-free { color: #4ade80; }

.ed__addBtn.is-bundle { color: #a78bfa; }



.ed__list { display: grid; gap: 6px; max-height: 58vh; overflow-y: auto; }

.ed__item {

  display: flex; align-items: center; gap: 8px;

  padding: 10px 10px; border-radius: 9px; cursor: pointer;

  border: 1px solid transparent; background: var(--surface-2);

  transition: border-color .2s, background .2s;

}

.ed__item:hover { border-color: var(--border-strong); }

.ed__item.is-active { border-color: var(--accent); background: var(--accent-soft); }

.ed__item.is-dragging { opacity: .4; }

.ed__item.is-over { border-color: var(--accent); border-style: dashed; }

.ed__grip { color: var(--faint); cursor: grab; font-size: 14px; }

.ed__itemTag {

  font-family: var(--mono); font-size: 9px; letter-spacing: .08em; padding: 3px 6px;

  border-radius: 4px; background: rgba(255,255,255,0.07); color: var(--muted); flex-shrink: 0;

}

.ed__item.is-bundle .ed__itemTag { background: rgba(167,139,250,.15); color: #a78bfa; }

.ed__item.is-free .ed__itemTag { background: rgba(74,222,128,.12); color: #4ade80; }

.ed__itemName { flex: 1; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ed__itemPrice { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.ed__icon {

  width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center;

  color: var(--faint); font-size: 12px; flex-shrink: 0; transition: all .15s;

}

.ed__icon:hover { background: rgba(255,255,255,0.07); color: var(--text); }

.ed__icon--danger:hover { background: rgba(239,68,68,.15); color: #ef4444; }

.ed__sideNote { font-size: 11.5px; color: var(--faint); margin-top: 12px; }



.ed__main { display: grid; gap: 20px; min-width: 0; }

.ed__panelTitle { font-size: 26px; }

.ed__panel {

  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);

  padding: 24px;

}

.ed__panelHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }

.ed__panelHead h2 { font-size: 18px; }

.ed__hintInline { font-family: var(--mono); font-size: 12px; color: var(--accent); }

.ed__viewLink { font-family: var(--mono); font-size: 12px; color: var(--accent); }

.ed__viewLink:hover { text-decoration: underline; }



.ed__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }

.ed__grid--stack { grid-template-columns: 1fr; }



.fld { display: grid; gap: 6px; }

.fld__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

.fld__hint { font-size: 11.5px; color: var(--faint); }

.fld input, .fld textarea, .fld select {

  background: #0c0c0f; border: 1px solid var(--border); border-radius: 9px;

  padding: 10px 12px; color: var(--text); font-size: 14px; font-family: var(--sans);

  outline: none; transition: border-color .2s; width: 100%;

}

.fld input:focus, .fld textarea:focus { border-color: var(--accent); }

.fld textarea { resize: vertical; line-height: 1.6; }

.fld input:disabled { color: var(--faint); }

.colorrow { display: flex; gap: 10px; align-items: center; }

.colorrow input[type="color"] { width: 44px; height: 38px; padding: 3px; flex-shrink: 0; }

.colorrow input { flex: 1; background: #0c0c0f; border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; color: var(--text); outline: none; }

.rolepreview { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

.rolepreview__item {

  display: inline-flex; align-items: center; gap: 8px;

  font-family: var(--mono); font-size: 11px; color: var(--muted);

  background: var(--surface-2); border: 1px solid var(--border);

  padding: 7px 12px; border-radius: 100px;

}

.rolepreview__item i { width: 12px; height: 12px; border-radius: 3px; }



.segmented { display: flex; gap: 6px; }

.seg {

  flex: 1; padding: 10px 8px; border-radius: 9px; font-size: 13px; font-weight: 600;

  border: 1px solid var(--border-strong); color: var(--muted); transition: all .2s;

  background: rgba(255,255,255,0.02);

}

.seg:hover { color: var(--text); }

.seg.is-active { background: var(--accent); border-color: var(--accent); color: #000; }



.rowlist { display: grid; gap: 10px; }

.roweditor { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: start; }

.roweditor--cl { grid-template-columns: 110px 130px auto; }

.roweditor--cl textarea { grid-column: 1 / -1; }

.roweditor input, .roweditor textarea {

  background: #0c0c0f; border: 1px solid var(--border); border-radius: 8px;

  padding: 9px 11px; color: var(--text); font-size: 13.5px; outline: none; width: 100%;

  font-family: var(--sans);

}

.roweditor input:focus, .roweditor textarea:focus { border-color: var(--accent); }



.picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

.pick {

  display: flex; align-items: center; gap: 10px; padding: 11px 13px;

  background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px;

  cursor: pointer; font-size: 13.5px; transition: border-color .2s;

}

.pick:hover { border-color: var(--border-strong); }

.pick input { accent-color: var(--accent); }

.pick em { margin-left: auto; font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--faint); }



.ed__files { display: flex; flex-wrap: wrap; gap: 8px; }

.ed__files code {

  font-family: var(--mono); font-size: 11.5px; background: var(--surface-2);

  border: 1px solid var(--border); padding: 5px 9px; border-radius: 6px; color: var(--accent);

}

.ed__note { font-size: 12.5px; color: var(--faint); margin-top: 10px; }

.ed__empty { color: var(--faint); font-size: 14px; padding: 18px; text-align: center; border: 1px dashed var(--border); border-radius: 9px; grid-column: 1 / -1; }



.btnrow { display: flex; gap: 10px; flex-wrap: wrap; }

.btn--sm { padding: 8px 14px; font-size: 13px; }

.btn--danger { color: #ef4444; border-color: rgba(239,68,68,0.35); }

.btn--danger:hover { border-color: #ef4444; background: rgba(239,68,68,0.08); }



/* Bundle contents block (public product page) */

.bundle-block { margin-top: 6px; }

.bundle-block h2 { font-size: 28px; margin-bottom: 18px; }

.bundle-list { display: grid; gap: 10px; max-width: 560px; }

.bundle-item {

  display: flex; justify-content: space-between; align-items: center; gap: 14px;

  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);

  padding: 15px 18px; transition: border-color .25s, transform .25s;

}

.bundle-item:hover { border-color: var(--accent-b40); transform: translateX(4px); }

.bundle-item__name { font-weight: 600; font-size: 15px; }

.bundle-item__price { font-family: var(--mono); font-size: 13px; color: var(--faint); }

.bundle-total {

  display: flex; gap: 26px; flex-wrap: wrap; margin-top: 18px;

  font-family: var(--mono); font-size: 14px; color: var(--muted);

}

.bundle-total b { color: var(--accent); font-weight: 600; }



@media (max-width: 1024px) {

  .ed__wrap { grid-template-columns: 1fr; }

  .ed__side { position: static; }

  .roweditor, .picks { grid-template-columns: 1fr; }

}



/* ==========================================

   STATICS — analytics dashboard

   ========================================== */

.ed__wrap--stats { grid-template-columns: 1fr; max-width: 1240px; }



.stats { display: grid; gap: 18px; }



.stats__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.stTitle { font-size: 28px; }

.stSub { color: var(--muted); font-size: 14px; max-width: 640px; margin-top: 6px; }

.stats__actions { display: flex; gap: 10px; }



.stFilters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.segmented--sm .seg { padding: 8px 14px; font-size: 12.5px; }

.stSel, .stSearch {

  background: #0c0c0f; border: 1px solid var(--border); border-radius: 9px;

  padding: 9px 12px; color: var(--text); font-size: 13.5px; outline: none;

  transition: border-color .2s; font-family: var(--sans);

}

.stSel:focus, .stSearch:focus { border-color: var(--accent); }

.stSearch { min-width: 240px; }



.stKpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.stKpi {

  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);

  padding: 16px 18px; display: grid; gap: 4px;

  transition: border-color .25s;

}

.stKpi:hover { border-color: var(--accent-b35); }

.stKpi__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

.stKpi__value { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }

.stKpi__sub { font-size: 11.5px; color: var(--faint); font-family: var(--mono); }

.stKpi__sub .good { color: #4ade80; }

.stKpi__sub .bad { color: #f87171; }



.stGrid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }

.stPanel {

  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);

  padding: 20px;

}

.stPanel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }

.stPanel__head h3 { font-size: 16px; }

.stHint { font-family: var(--mono); font-size: 11px; color: var(--faint); font-weight: 400; margin-left: 8px; }

.stPanel__actions { display: flex; align-items: center; gap: 14px; }



.stChart { width: 100%; height: 210px; display: block; }

.stLegend { display: flex; gap: 18px; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); }

.stLegend span { display: flex; align-items: center; gap: 6px; }

.stLegend i { width: 14px; height: 3px; border-radius: 2px; }



.stBars { display: grid; gap: 9px; max-height: 268px; overflow-y: auto; }

.stBar { display: grid; grid-template-columns: 20px minmax(90px, 1.2fr) 2fr auto; gap: 10px; align-items: center; }

.stBar__rank { font-family: var(--mono); font-size: 11px; color: var(--faint); }

.stBar__label { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.stBar__track { height: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; }

.stBar__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-3), var(--accent)); border-radius: 4px; }

.stBar__val { font-family: var(--mono); font-size: 12.5px; min-width: 76px; text-align: right; }

.stBar__sub { grid-column: 3 / -1; font-family: var(--mono); font-size: 10.5px; color: var(--faint); text-align: right; margin-top: -6px; }



.stFunnel { display: grid; gap: 12px; }

.stFunnel__row { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; }

.stFunnel__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.stFunnel__track { height: 10px; background: rgba(255,255,255,0.05); border-radius: 5px; overflow: hidden; }

.stFunnel__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 5px; }

.stFunnel__val { font-family: var(--mono); font-size: 12.5px; min-width: 80px; text-align: right; }

.stDevices { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

.stChip { font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); padding: 5px 10px; border-radius: 100px; }



.stTableWrap { overflow-x: auto; }

.stTable { width: 100%; border-collapse: collapse; font-size: 13px; }

.stTable th {

  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;

  color: var(--faint); text-align: left; padding: 10px 12px; cursor: pointer;

  border-bottom: 1px solid var(--border); white-space: nowrap; user-select: none;

  transition: color .2s;

}

.stTable th:hover { color: var(--accent); }

.stArrow { color: var(--accent); }

.stTable td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.04); white-space: nowrap; }

.stTable tbody tr { transition: background .15s; }

.stTable tbody tr:hover { background: rgba(255,255,255,0.03); }

.stTable tbody tr.is-sale { background: var(--accent-b045); }

.stTag { font-family: var(--mono); font-size: 10px; padding: 3px 8px; border-radius: 100px; letter-spacing: .08em; }

.stTag--sale { background: rgba(74,222,128,.14); color: #4ade80; }

.stTag--click { background: rgba(255,255,255,.06); color: var(--muted); }

.stEmpty { text-align: center; color: var(--faint); padding: 40px 0; font-family: var(--mono); font-size: 12.5px; }

.stPager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

.stPager button:disabled { opacity: .35; cursor: not-allowed; }



.stSwitch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12px; color: var(--muted); font-family: var(--mono); }

.stSwitch input { display: none; }

.stSwitch span {

  width: 32px; height: 18px; border-radius: 100px; background: rgba(255,255,255,0.1);

  position: relative; transition: background .2s;

}

.stSwitch span::after {

  content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px;

  border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s;

}

.stSwitch input:checked + span { background: var(--accent); }

.stSwitch input:checked + span::after { transform: translateX(14px); background: #000; }



@media (max-width: 1024px) {

  .stKpis { grid-template-columns: repeat(2, 1fr); }

  .stGrid { grid-template-columns: 1fr; }

}

@media (max-width: 640px) {

  .stKpis { grid-template-columns: 1fr 1fr; }

  .stBar { grid-template-columns: 18px 1fr auto; }

  .stBar__sub, .stBar__track { display: none; }

}



/* ==========================================

   MEDIA LIBRARY (designer)

   ========================================== */

.mdrop {

  border: 1.5px dashed var(--border-strong);

  border-radius: var(--radius-sm);

  padding: 30px 20px;

  text-align: center;

  cursor: pointer;

  transition: border-color .2s, background .2s;

  margin-bottom: 20px;

}

.mdrop:hover, .mdrop.is-over { border-color: var(--accent); background: var(--accent-soft); }

.mdrop__title { font-weight: 600; font-size: 15px; margin-bottom: 6px; }

.mdrop__sub { font-size: 12.5px; color: var(--faint); }



.msec { margin-bottom: 20px; }

.msec h3 { font-size: 13px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }

.msec--bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--border); }

.msec--bar .mono { font-size: 12px; color: var(--muted); margin-right: auto; }



.mlist { display: grid; gap: 6px; }

.mlist--compact .mrow { padding: 6px 8px; }

.mblock { margin-bottom: 16px; }

.mblock__head { display: flex; justify-content: space-between; align-items: center; padding: 8px 4px; font-size: 14px; }

.mblock__count { font-family: var(--mono); font-size: 11px; color: var(--faint); }



.mrow {

  display: grid;

  grid-template-columns: 34px minmax(120px, 1.4fr) minmax(90px, 1fr) auto auto;

  gap: 10px;

  align-items: center;

  padding: 9px 10px;

  background: var(--surface-2);

  border: 1px solid var(--border);

  border-radius: 8px;

}

.mrow.is-ok { border-color: rgba(74,222,128,.25); }

.mrow__kind {

  font-family: var(--mono); font-size: 9px; text-align: center; letter-spacing: .06em;

  padding: 4px 0; border-radius: 5px; background: rgba(255,255,255,.06); color: var(--muted);

}

.mrow.is-ok .mrow__kind { background: rgba(74,222,128,.14); color: #4ade80; }

.mrow__name { font-family: var(--mono); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mrow__spec { font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mrow__acts { display: flex; gap: 4px; }

.mchip { font-family: var(--mono); font-size: 10.5px; padding: 4px 9px; border-radius: 100px; white-space: nowrap; }

.mchip--ok { background: rgba(74,222,128,.12); color: #4ade80; }

.mchip--miss { background: rgba(255,255,255,.05); color: var(--faint); }



/* hydrated media on public pages */

.ph.is-media { border: 0; background: #000; padding: 0; }

.ph.is-media::before { display: none; }

.ph.is-media .media-el { width: 100%; height: 100%; display: block; }



@media (max-width: 900px) {

  .mrow { grid-template-columns: 30px 1fr auto; }

  .mrow__spec { display: none; }

}



/* Identidad v2: el logo del kit ya incluye el bloque rojo con el wordmark,

   asi que el nombre escrito al lado sobra. */

.nav .nav__logo [data-js="siteName"] { display: none; }

.nav .nav__logo { gap: 0; }



.footer .nav__logo [data-js="siteName"] { display: none; }





/* Efecto de luz en el pie: mismos parametros y misma opacidad que la cabecera */

.footer { position: relative; overflow: hidden; }

.footer__rays {

  position: absolute;

  inset: 0;

  z-index: 0;

  opacity: 0.3;

  pointer-events: none;

  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);

  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);

}

.footer > .container { position: relative; z-index: 1; }



/* Fotos y vídeo del producto */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.media-grid__item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
}
.media-grid__item img,
.media-grid__item video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
}
.media-grid__item figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .media-grid { grid-template-columns: 1fr; }
}


/* Imagen o vídeo de la tarjeta de producto */
.card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}


/* Modal del producto */
.pmodal {
  position: fixed; inset: 0; z-index: 9990; background: rgba(6,6,8,.9);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
}
.pmodal__panel {
  position: relative; width: min(1080px, 100%); max-height: 90vh; overflow-y: auto;
  background: #0e0e12; border: 1px solid #2c2c36; border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
}
.pmodal__close {
  position: fixed; top: 18px; right: 20px; z-index: 9995;
  background: #17171c; border: 1px solid #3a3a46; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 24px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.pmodal__close:hover { border-color: var(--accent); color: var(--accent); }
.pmodal__grid { display: block; }
.pmodal__bar {
  position: sticky; top: 0; z-index: 3; display: flex; justify-content: flex-end;
  padding: 10px 12px; background: #14141a;
  border-bottom: 1px solid var(--line);
}
.pmodal__closebar {
  background: #17171c; border: 1px solid #3a3a46; color: #fff; border-radius: 9px;
  padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer;
}
.pmodal__closebar:hover { border-color: var(--accent); color: var(--accent); }
.pmodal__left { background: #000; max-height: 340px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pmodal__media { width: 100%; max-height: 340px; object-fit: cover; display: block; }
.pmodal__media--empty {
  width: 100%; min-height: 320px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px;
}
.pmodal__right { padding: 26px 28px 30px; }
.pmodal__name { font-size: 26px; margin: 8px 0 6px; }
.pmodal__tag { color: var(--muted); margin: 0 0 14px; }
.pmodal__desc { font-size: 14px; color: #c9c9d2; line-height: 1.6; }
.pmodal__h {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 22px 0 8px;
}
.pmodal__list { margin: 0; padding-left: 18px; font-size: 14px; color: #c9c9d2; }
.pmodal__list li { margin: 5px 0; }
.pmodal__log { margin-bottom: 12px; }
.pmodal__log-head { display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.pmodal__log-head span { color: var(--muted); font-size: 12px; }
.pmodal__log ul { margin: 4px 0 0; padding-left: 18px; font-size: 13px; color: #b9b9c4; }
.pmodal__buy {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
}
.pmodal__price { font-size: 20px; font-weight: 600; }
.card__more { background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; padding: 0; }
.card__more:hover { text-decoration: underline; }
@media (max-width: 820px) {
  .pmodal { padding: 10px; }
  .pmodal__left, .pmodal__media { max-height: 220px; }
  .pmodal__right { padding: 20px; }
}
