/* =========================================================
   Printopia 3D — estilos
   Dirección: taller de impresión 3D. Papel cuadriculado (la
   cama de impresión), etiquetas técnicas en mono, naranja
   "filamento caliente" como acento y cotas de medida.
   Movimiento: curvas propias, UI < 300 ms, transiciones
   interrumpibles y hover solo con ratón.
   ========================================================= */

:root {
  --paper: #F2F0EB;
  --paper-2: #E8E5DE;
  --surface: #FBFAF8;
  --ink: #151412;
  --ink-2: #625E57;
  --ink-3: #9A958D;
  --line: rgba(21, 20, 18, .10);
  --line-2: rgba(21, 20, 18, .18);
  --grid: rgba(21, 20, 18, .05);
  --accent: #FF5A1F;
  --accent-2: #FF8A3D;
  --accent-soft: #FFE5D8;
  --wa: #25D366;
  --stage: #ECE9E2;

  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Curvas fuertes: la UI responde desde el primer frame */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --nav-h: 64px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* Tema morado: K-pop y todo lo que va debajo */
body.theme-kpop {
  --paper: #F1ECFB;
  --paper-2: #E4DAF8;
  --surface: #FCFAFF;
  --ink: #1D1238;
  --ink-2: #5F5680;
  --ink-3: #9890B5;
  --line: rgba(60, 30, 130, .12);
  --line-2: rgba(60, 30, 130, .22);
  --grid: rgba(100, 60, 210, .075);
  --accent: #7B3FF2;
  --accent-2: #B07BFF;
  --accent-soft: #E9DEFF;
  --stage: #E9E0FB;
}

/* Tema Poké Ball: Anime / Pokémon (rojo arriba que se difumina en blanco) */
body.theme-anime {
  --paper: #FCF9F8;
  --paper-2: #F4E9E6;
  --surface: #FFFFFF;
  --ink: #1F1716;
  --ink-2: #6B5552;
  --ink-3: #A8918D;
  --line: rgba(140, 30, 15, .11);
  --line-2: rgba(140, 30, 15, .21);
  --grid: rgba(227, 53, 13, .055);
  --accent: #E3350D;
  --accent-2: #FF6B4A;
  --accent-soft: #FFE1D9;
  --stage: #F7EDEA;
}

/* ---------- Base (con los ajustes de móvil nativo) ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 400ms ease, color 400ms ease;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity 500ms ease;
  background:
    radial-gradient(800px 480px at 88% -8%, rgba(176, 123, 255, .35), transparent 65%),
    radial-gradient(640px 460px at -8% 40%, rgba(196, 160, 255, .28), transparent 65%),
    radial-gradient(700px 420px at 60% 112%, rgba(255, 170, 220, .22), transparent 65%);
}
body.theme-kpop::before { opacity: 1; }
/* Poké Ball: mitad de arriba roja difuminada hacia blanco, con la franja central apenas marcada */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity 500ms ease;
  background:
    radial-gradient(900px 380px at 50% -10%, rgba(255, 120, 90, .55), transparent 70%),
    linear-gradient(180deg, #E3350D 0%, #EC5536 9%, #F58A73 20%, rgba(250, 196, 184, .55) 33%, rgba(252, 249, 248, 0) 47%);
}
body.theme-anime::after { opacity: 1; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; font-size: 16px; color: inherit; } /* 16px: sin zoom en iOS */
button, a, [role="button"], label.ship-opt {
  touch-action: manipulation;
  -webkit-user-select: none; user-select: none;
}
svg { flex-shrink: 0; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.label {
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.label-accent { color: var(--accent); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: .98; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.15; }
.muted { color: var(--ink-2); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: calc(10px + var(--safe-t)) 16px 0;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  width: min(1180px, 100%); margin-inline: auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 14px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 8px 24px -16px rgba(0, 0, 0, .25);
  transition: background-color 400ms ease, border-color 400ms ease;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; transition: transform 160ms var(--ease-out), background-color 400ms ease; }
.brand-mark img { width: 118%; height: 118%; max-width: none; object-fit: contain; }
.brand:active .brand-mark { transform: scale(.94); }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.04em; display: flex; align-items: flex-start; gap: 3px; }
.brand-3d {
  font-family: var(--f-mono); font-size: 10px; font-weight: 500; letter-spacing: .04em;
  padding: 2px 5px; border-radius: 5px; background: var(--accent); color: #fff; margin-top: 2px;
  transition: background-color 400ms ease;
}

.tabs { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 13px; background: var(--paper-2); transition: background-color 400ms ease; }
.tabs a {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 14px; border-radius: 10px;
  font-weight: 600; font-size: 14px; color: var(--ink-2);
  transition: color 180ms ease, transform 160ms var(--ease-out);
}
.tabs a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.tabs a.active { color: var(--surface); }
.tabs a:active { transform: scale(.96); }
.tab-ind {
  position: absolute; top: 4px; left: 0; height: 36px; width: 0; border-radius: 10px;
  background: var(--ink); opacity: 0;
}
.tab-ind.ready { transition: transform 280ms var(--ease-in-out), width 280ms var(--ease-in-out), opacity 150ms ease, background-color 400ms ease; }

.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--ink); color: var(--surface);
  transition: transform 160ms var(--ease-out), background-color 400ms ease;
}
.cart-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.cart-btn:active { transform: scale(.94); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 999px; background: var(--accent); color: #fff; border: 2px solid var(--surface);
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; display: grid; place-items: center;
  opacity: 0; transform: scale(.6);
  transition: opacity 180ms ease, transform 220ms var(--ease-out), background-color 400ms ease;
}
.cart-count.show { opacity: 1; transform: none; }

/* ---------- Contenido / transición entre páginas ---------- */
.app { min-height: 100svh; padding-top: calc(var(--nav-h) + 10px + var(--safe-t)); transition: opacity 160ms ease; }
.app.out { opacity: 0; }

/* Aparición al hacer scroll: transición (interrumpible), escalonada */
.rv { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.crumbs a { transition: color 150ms ease; }
.crumbs .sep { color: var(--ink-3); }
.crumbs .here { color: var(--ink); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: var(--r-md);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn .arr { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.btn-ink { background: var(--ink); color: var(--surface); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-line { background: var(--surface); border: 1px solid var(--line-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa .wa { fill: currentColor; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn-link { margin-top: 10px; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); transition: transform 160ms var(--ease-out); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.icon-btn:active { transform: scale(.92); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 7px;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  background: var(--ink); color: var(--surface);
}
.tag-accent { background: var(--accent); color: #fff; }
.tag-line { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- Inicio: hero carrusel BT21 ----------
   Es una pieza de marketing (se ve una vez por visita), así que
   puede usar 650 ms; todo lo que se mueve es transform/opacity/filter. */
:root { --hero-ease: cubic-bezier(0.4, 0, 0.2, 1); }
body.home .app { padding-top: 0; }
.hero {
  position: relative; width: 100%; height: 100svh; min-height: 560px; overflow: hidden;
  background-color: var(--bg);
  transition: background-color 650ms var(--hero-ease);
  font-family: "Inter", sans-serif; color: #fff;
  touch-action: pan-y; /* el gesto horizontal es del carrusel; el vertical, del navegador */
}
.hero-grain {
  position: absolute; inset: 0; z-index: 50; pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 200px 200px; background-repeat: repeat;
}

/* Nombre gigante detrás de las figuras */
.hero-ghost { position: absolute; inset-inline: 0; top: 18%; z-index: 2; display: grid; place-items: center; pointer-events: none; user-select: none; }
.ghost-name {
  grid-area: 1 / 1;
  font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(90px, 28vw, 380px);
  line-height: 1; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap;
  color: var(--panel); transition: color 650ms var(--hero-ease), opacity 650ms var(--hero-ease), transform 650ms var(--hero-ease), filter 650ms var(--hero-ease);
  opacity: 0; transform: translateY(6%) scale(.97); filter: blur(10px);
}
.ghost-name.on { opacity: 1; transform: none; filter: blur(0); }

.hero-top {
  position: absolute; z-index: 60; left: 16px; right: 16px; top: calc(var(--nav-h) + 30px + var(--safe-t));
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; opacity: .9;
}
.hero-count b { font-weight: 700; }

/* Carrusel */
.hero-stage { position: absolute; inset: 0; z-index: 3; }
.hfig {
  position: absolute; left: 50%; bottom: 0; height: 40%; aspect-ratio: .6 / 1;
  transform-origin: 50% 100%;
  transition: transform 650ms var(--hero-ease), filter 650ms var(--hero-ease), opacity 650ms var(--hero-ease);
  will-change: transform, filter, opacity;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.hfig img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; pointer-events: none; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .18)); }
.r-center { transform: translateX(-50%) translateY(-4%) scale(1.55); filter: blur(0); opacity: 1; z-index: 20; }
.r-left   { transform: translateX(calc(-50% - 20vw)) translateY(-30%) scale(.7); filter: blur(2px); opacity: .85; z-index: 10; }
.r-right  { transform: translateX(calc(-50% + 20vw)) translateY(-30%) scale(.7); filter: blur(2px); opacity: .85; z-index: 10; }
.r-farleft  { transform: translateX(calc(-50% - 44vw)) translateY(-30%) scale(.6); filter: blur(4px); opacity: 0; z-index: 5; }
.r-farright { transform: translateX(calc(-50% + 44vw)) translateY(-30%) scale(.6); filter: blur(4px); opacity: 0; z-index: 5; }
.r-hidden   { transform: translateX(calc(-50% + 44vw)) translateY(-30%) scale(.6); filter: blur(4px); opacity: 0; z-index: 1; visibility: hidden; }
.hero.no-anim, .hero.no-anim * { transition: none !important; }

/* Texto y botones abajo a la izquierda */
.hero-copy { position: absolute; z-index: 60; left: 16px; bottom: 24px; max-width: 320px; }
.hero-title { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 16px; opacity: .95; margin-bottom: 4px; }
.hero-meta { font-size: 13px; font-weight: 500; opacity: .9; margin-bottom: 10px; transition: opacity 160ms ease, filter 160ms ease; }
.hero-meta.swap { opacity: 0; filter: blur(3px); }
.hero-desc { display: none; font-size: 14px; line-height: 1.6; opacity: .85; margin-bottom: 20px; }
.hero-nav { display: flex; gap: 12px; }
.circ {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff;
  display: grid; place-items: center;
  transition: transform 150ms var(--ease-out), background-color 150ms ease;
}
.circ:active { transform: scale(.94); }

/* Enlace abajo a la derecha */
.hero-link {
  position: absolute; z-index: 60; right: 16px; bottom: 24px;
  display: flex; align-items: center; gap: 6px;
  font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(20px, 4vw, 56px);
  line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: #fff; opacity: .95;
  transition: opacity 200ms ease;
}
.hero-link svg { width: 20px; height: 20px; transition: transform 200ms var(--ease-out); }

/* Navegación sobre el hero: cristal claro */
body.on-hero .nav-inner { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); box-shadow: none; }
body.on-hero .brand { color: #fff; }
body.on-hero .brand-mark { background: rgba(0, 0, 0, .22); }
body.on-hero .tabs { background: rgba(0, 0, 0, .14); }
body.on-hero .tabs a { color: #fff; }
body.on-hero .tabs a.active { color: #151412; }
body.on-hero .tab-ind { background: #fff; }
body.on-hero .cart-btn { background: #fff; color: #151412; }

@media (hover: hover) and (pointer: fine) {
  .circ:hover { transform: scale(1.08); background-color: rgba(255, 255, 255, .12); }
  .circ:active { transform: scale(1.02); }
  .hero-link:hover { opacity: 1; }
  .hero-link:hover svg { transform: translateX(4px); }
  body.on-hero .tabs a:hover { color: #fff; }
  body.on-hero .tabs a.active:hover { color: #151412; }
}

@media (min-width: 640px) {
  .hero-top { left: 32px; right: 32px; }
  .hero-copy { left: 96px; bottom: 80px; }
  .hero-title { font-size: 22px; margin-bottom: 6px; }
  .hero-meta { font-size: 14px; margin-bottom: 12px; }
  .hero-desc { display: block; }
  .circ { width: 64px; height: 64px; }
  .hero-link { right: 40px; bottom: 80px; }
  .hero-link svg { width: 32px; height: 32px; }
}

/* Móvil: figuras más arriba para dejar sitio al texto y a la barra de pestañas */
@media (max-width: 639px) {
  .hero-ghost { top: 21%; }
  .hfig { height: 30%; }
  .r-center { transform: translateX(-50%) translateY(-88%) scale(1.5); }
  .r-left   { transform: translateX(calc(-50% - 30vw)) translateY(-110%) scale(.55); }
  .r-right  { transform: translateX(calc(-50% + 30vw)) translateY(-110%) scale(.55); }
  .r-farleft  { transform: translateX(calc(-50% - 62vw)) translateY(-110%) scale(.5); }
  .r-farright { transform: translateX(calc(-50% + 62vw)) translateY(-110%) scale(.5); }
  .r-hidden   { transform: translateX(calc(-50% + 62vw)) translateY(-110%) scale(.5); }
}
@media (max-width: 720px) {
  .hero-copy, .hero-link { bottom: calc(96px + var(--safe-b)); }
  body.on-hero .nav-inner { background: rgba(255, 255, 255, .2); }
}

@media (prefers-reduced-motion: reduce) {
  .hfig, .ghost-name { transition: opacity 300ms ease, filter 300ms ease; }
}

/* ---------- Encabezados de página ---------- */
.phead { padding: clamp(28px, 5vw, 56px) 0 clamp(26px, 4vw, 40px); }
.phead h1 { margin: 14px 0 14px; }
.phead p { color: var(--ink-2); max-width: 560px; font-size: 1.06rem; }

/* ---------- Categorías: mosaico ---------- */
.anton { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -.02em; line-height: .92; }
.v-mos { padding-top: clamp(24px, 4vw, 44px); padding-bottom: 90px; }
.mos-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.mos-head h1 { font-size: clamp(64px, 12vw, 168px); color: var(--ink); }
.mos-head p { max-width: 340px; color: var(--ink-2); font-family: "Inter", sans-serif; font-size: 15px; }
.mos { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.mt {
  position: relative; overflow: hidden; border-radius: 26px; background: var(--bg); color: #fff;
  padding: 20px 20px 18px; display: flex; flex-direction: column; justify-content: space-between;
  font-family: "Inter", sans-serif; isolation: isolate;
  transition: transform 160ms var(--ease-out);
  animation: mosIn 600ms var(--ease-out) both; animation-delay: calc(var(--i) * 60ms);
}
@keyframes mosIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.mt:active { transform: scale(.98); }
.mt.w2 { grid-column: span 2; }
.mt.big { grid-column: span 2; grid-row: span 2; }
.mt .hero-grain { z-index: 3; }
.mt-ghost { position: absolute; left: 14px; bottom: -.12em; z-index: 0; font-size: clamp(84px, 9vw, 150px); color: var(--panel); white-space: nowrap; pointer-events: none; }
.mt.big .mt-ghost { font-size: clamp(120px, 15vw, 260px); }
.mt-top { position: relative; z-index: 2; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.mt-visual { position: absolute; z-index: 1; right: 7%; top: 50%; font-size: clamp(64px, 7vw, 96px); line-height: 1; transform: translateY(-58%); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .2)); transition: transform 280ms var(--ease-out); }
.mt-visual.fig-row { display: flex; align-items: flex-end; height: 62%; }
.mt-visual.fig-row img { height: 100%; width: auto; object-fit: contain; object-position: bottom; }
/* Bolas ilustradas (Pokéballs sin foto): en fila y superpuestas */
.mt-visual.mt-balls { display: flex; align-items: flex-end; height: 46%; }
.mt-balls svg { height: 100%; width: auto; aspect-ratio: 1; flex-shrink: 0; }
.mt-balls svg + svg { margin-left: -16%; }
.mt-balls svg:nth-child(2) { height: 82%; } .mt-balls svg:nth-child(3) { height: 92%; } .mt-balls svg:nth-child(4) { height: 74%; }
.mt-balls ellipse:first-child { display: none; }
.mt.big .mt-visual { left: 6%; right: 6%; top: auto; bottom: 20%; height: 54%; transform: none; justify-content: center; }
.mt.big .mt-visual img { min-width: 0; flex-shrink: 1; max-width: 27%; }
.mt.big .mt-visual img + img { margin-left: -2%; }
.mt-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.mt-name { font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.mt-name small { display: block; font-weight: 500; font-size: 13px; text-transform: none; letter-spacing: 0; opacity: .85; margin-top: 4px; max-width: 280px; }
.mt-go { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; flex-shrink: 0; transition: background-color 150ms ease, transform 200ms var(--ease-out); }
.mt-go svg { width: 20px; height: 20px; }

/* ---------- Mosaico de subcategoría (BT21) ---------- */
.sub-tiles { display: grid; gap: 16px; margin-bottom: 56px; }
.sub-tile {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch;
  min-height: 340px; border-radius: 26px; color: #F4EEFF;
  background: radial-gradient(120% 120% at 100% 0%, #6A3AD6 0%, #2B1858 55%, #1A0F38 100%);
  transition: transform 160ms var(--ease-out);
}
.sub-tile:active { transform: scale(.99); }
.sub-tile-text { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; position: relative; z-index: 1; }
.sub-tile .label { color: rgba(244, 238, 255, .65); }
.sub-tile h2 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: 10px 0 10px; }
.sub-tile p { color: rgba(244, 238, 255, .75); max-width: 340px; }
.sub-tile .btn { background: #F4EEFF; color: #1D1238; align-self: flex-start; }
.sub-tile-stage { position: relative; min-height: 300px; }
.sub-tile-stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
}
.sub-tile-stage .group { left: 50%; right: auto; width: min(100%, 420px); aspect-ratio: 1; top: auto; bottom: 0; transform: translateX(-50%); }
/* Subcategorías sin grupo de figuras: fila de fotos o de bolas ilustradas */
.sub-row { position: absolute; left: 6%; right: 6%; bottom: 10%; height: 62%; display: flex; align-items: flex-end; justify-content: center; }
.sub-row > * { height: 100%; width: auto; max-width: 34%; object-fit: contain; object-position: bottom; flex-shrink: 1; min-width: 0;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35)); }
.sub-row > * + * { margin-left: -6%; }
.sub-row > :nth-child(even) { height: 82%; }
.sub-row svg { aspect-ratio: 1; }
.sub-row svg ellipse:first-child { display: none; }
/* En el tema Poké Ball, los bloques de subcategoría van en rojo y negro */
body.theme-anime .sub-tile { background: radial-gradient(120% 120% at 100% 0%, #FF6A48 0%, #D72D0B 42%, #6E1406 78%, #2A1210 100%); color: #FFF5F2; }
body.theme-anime .sub-tile .label { color: rgba(255, 240, 236, .72); }
body.theme-anime .sub-tile p { color: rgba(255, 240, 236, .85); }
body.theme-anime .sub-tile .btn { background: #FFFFFF; color: #2A1210; }
.sub-tile .gfig img { filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35)); }
.sub-tile .group::after { background: radial-gradient(closest-side, rgba(0, 0, 0, .35), transparent); }

/* ---------- Tarjetas de producto ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.select { height: 40px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr)); gap: 18px; margin-bottom: 80px; }
.pcard { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color 180ms ease; }
.pstage {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden; background-color: var(--stage);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 22px 22px; border-bottom: 1px solid var(--line);
  transition: transform 160ms var(--ease-out);
}
.pstage:active { transform: scale(.985); }
.pstage .ref { position: absolute; right: 14px; top: 16px; z-index: 6; }
.pstage .tag { position: absolute; left: 12px; top: 12px; z-index: 6; }
.pstage .cota, .pstage .gtip { display: none; }
.pbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pbody h3 a { transition: color 150ms ease; }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.price { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; white-space: nowrap; }
.price small { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); margin-right: 4px; }
.btn-sm { height: 40px; padding: 0 14px; border-radius: 11px; font-size: 14px; }
.avatars { display: flex; margin-top: 4px; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; margin-left: -7px; display: grid; place-items: center; background: var(--stage); border: 2px solid var(--surface); overflow: hidden; }
.avatars span:first-child { margin-left: 0; }
.avatars img { width: 130%; max-width: none; height: 130%; object-fit: contain; object-position: 50% 15%; }

/* Estado vacío */
.empty { padding: 56px 24px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-2); text-align: center; background: color-mix(in srgb, var(--surface) 60%, transparent); margin-bottom: 80px; }
.empty .layers { display: inline-flex; flex-direction: column-reverse; align-items: center; gap: 3px; margin-bottom: 20px; }
.empty .layers i { display: block; height: 8px; border-radius: 4px; background: var(--accent); }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--ink-2); max-width: 420px; margin: 0 auto 22px; }

/* ---------- Figuras: una sola o el grupo a escala ---------- */
.group { position: absolute; inset: 0; }
.gfig, .sfig { position: absolute; width: var(--ww, 0); height: var(--hh, 0); transform: translateX(-50%); }
.gfig { left: var(--x); bottom: var(--b); z-index: var(--z); }
.gfig img, .sfig img {
  position: absolute; left: var(--il, 0); bottom: var(--ib, 0); height: var(--ih, 100%); width: auto; max-width: none;
  filter: drop-shadow(0 10px 12px rgba(30, 20, 60, .18));
}
/* Entrada escalonada, con transición (no keyframes) */
.gfig, .sfig { opacity: 0; translate: 0 14px; transition: opacity 420ms var(--ease-out), translate 520ms var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.group.ready .gfig, .sfig.ready { opacity: 1; translate: 0 0; }
.swap .gfig, .swap .sfig { transition-delay: 0ms; translate: 0 0; }
.group::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 3%; height: 8%; background: radial-gradient(closest-side, rgba(40, 20, 90, .16), transparent); z-index: 0; }
.sfig { left: calc(50% - 17px); bottom: 11%; } /* foto + cota (22 px + 12 px) centradas juntas */
.sfig.centro, .pstage .sfig { left: 50%; }
.vthumb-ball .sw { width: 30px; height: 30px; background: linear-gradient(180deg, var(--c) 46%, #26252A 46% 54%, var(--c2) 54%); }
/* Bola ilustrada mientras el producto no tiene foto */
.sfig.ph-ball { --ww: 50%; --hh: 56%; bottom: 14%; display: grid; place-items: center; }
.ph-ball svg { width: 100%; height: 100%; }
.ph-tag { position: absolute; left: 50%; bottom: -10%; translate: -50% 0; white-space: nowrap; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; } /* en las tarjetas no hay cota: siempre centrada */
.sfig::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -5%; height: 9%; background: radial-gradient(closest-side, rgba(40, 20, 90, .18), transparent); z-index: -1; }

/* Pokéballs: fondo difuminado del color del tipo (centro claro, bordes con color) */
.tinte, .ffoto { position: absolute; inset: 0; background: radial-gradient(75% 75% at 50% 45%, #FFFFFF 0%, var(--tinte) 100%); }
/* Foto con su fondo original: se multiplica con el degradado, así el gris del estudio toma el color del tipo */
.ffoto img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.ffoto.sin-tinte { background: none; }
.ffoto.sin-tinte img { mix-blend-mode: normal; }
.vthumb-foto img { object-fit: cover; padding: 0; }

/* Etiqueta flotante en el grupo */
.gtip {
  position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 10;
  translate: -50% 4px; opacity: 0; pointer-events: none; white-space: nowrap;
  height: 26px; padding: 0 9px; border-radius: 8px; display: inline-flex; align-items: center;
  background: var(--ink); color: var(--surface); font-family: var(--f-mono); font-size: 11px;
  transition: opacity 150ms ease, translate 180ms var(--ease-out);
}

/* Cota de medida (como en un plano técnico) */
.cota { position: absolute; top: 0; bottom: 0; left: calc(100% + 22px); width: 12px; opacity: 0; transition: opacity 300ms ease 250ms; }
.sfig.ready .cota { opacity: 1; }
.cota::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--ink-2); }
.cota i::before, .cota i::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink-2); }
.cota i::before { top: 0; } .cota i::after { bottom: 0; }
.cota b {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; white-space: nowrap;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--ink);
  background: var(--stage); padding: 6px 2px; writing-mode: vertical-rl; rotate: 180deg;
}

/* ---------- Ficha de producto ---------- */
.pdp { padding: clamp(24px, 4vw, 44px) 0 90px; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto 1fr; grid-template-areas: "media info" "extra info"; column-gap: clamp(28px, 4.5vw, 60px); row-gap: 18px; align-items: start; }
.pdp-media { grid-area: media; }
.pdp-info { grid-area: info; }
.pdp-extra { grid-area: extra; display: grid; gap: 18px; }

.stage {
  position: relative; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background-color: var(--stage);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 26px 26px; border: 1px solid var(--line);
  transition: background-color 400ms ease;
}
.stage-meta { position: absolute; inset: 14px 16px auto; display: flex; justify-content: space-between; align-items: center; z-index: 8; pointer-events: none; }
.layer { position: absolute; inset: 0; transition: opacity 240ms var(--ease-out), filter 240ms var(--ease-out), transform 300ms var(--ease-out); }
.layer.entering { opacity: 0; filter: blur(6px); transform: scale(.985); }
.layer.leaving { opacity: 0; filter: blur(6px); transition-duration: 160ms; }

.pdp-info h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin: 12px 0 14px; }
.price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.price-big { font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; letter-spacing: -.04em; transition: filter 140ms ease, opacity 140ms ease; }
.price-big.swap { filter: blur(3px); opacity: .35; }
.save { height: 26px; padding: 0 9px; border-radius: 7px; display: inline-flex; align-items: center; background: #DDF6E6; color: #137A43; font-family: var(--f-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.save:empty { display: none; }
.pdp-desc { color: var(--ink-2); margin: 14px 0 24px; font-size: 1.02rem; }

.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 10px; }
.opt-head strong { font-weight: 600; font-size: 14px; }
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }
.vopt {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 13px; text-align: left;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 140ms var(--ease-out), border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.vopt:active { transform: scale(.97); }
.vopt.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.vopt.wide { grid-column: 1 / -1; padding: 9px 12px 9px 9px; }
.vthumb { width: 42px; height: 42px; border-radius: 10px; background: var(--stage); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; font-size: 20px; }
.vthumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.vtext { display: grid; line-height: 1.25; min-width: 0; flex: 1; }
.vname { font-weight: 600; font-size: 14px; }
.vmeta { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); }
.vopt .avatars { margin: 0; }

/* Precio por mayor: tabla de tramos + cantidad libre */
.price-cu { font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); margin-left: -4px; align-self: flex-end; padding-bottom: 6px; }
.mayor-box { margin-bottom: 18px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-bottom: 16px; }
.tramo { display: grid; gap: 2px; padding: 9px 10px; border-radius: 13px; text-align: left; background: var(--surface); border: 1px solid var(--line);
  transition: transform 140ms var(--ease-out), border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease; }
.tramo:active { transform: scale(.97); }
.tramo.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.tr-q { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .03em; }
.tr-p { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.tr-p small { font-weight: 500; font-size: 11px; color: var(--ink-2); }
.qty-head { margin-bottom: 8px; }
.mayor-qty { display: flex; align-items: center; gap: 14px; }
.qty input { width: 64px; height: 48px; border: 0; background: transparent; text-align: center; font-family: var(--f-mono); font-weight: 600; font-size: 16px; color: var(--ink); outline: none; }
.qty:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.mayor-total { display: grid; line-height: 1.2; }
.mayor-total strong { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mayor-hint { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.mayor-hint strong { color: var(--ink); }
.mayor-big { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); }
.pcard .label.mayor { display: block; margin-top: 6px; color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .tramo:not(.on):hover { border-color: var(--line-2); }
}

/* Elección de colores / modelos: el cliente reparte las unidades */
.sw { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--c) 50%, var(--c2) 50%); box-shadow: 0 0 0 1px var(--line-2) inset; }
.sw-img { width: 38px; height: 38px; border-radius: 9px; background: var(--stage); box-shadow: none; }
.sw-img img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.sw-txt { background: var(--stage); font-family: var(--f-mono); font-size: 10px; font-weight: 600; }
.swatches { display: flex; align-items: center; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.swatches .sw { width: 18px; height: 18px; }
.swatches .sw-img { width: 26px; height: 26px; border-radius: 7px; }
.swatches em { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); margin-left: 2px; }

.pick { margin-bottom: 18px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.popt { position: relative; display: flex; align-items: center; border-radius: 13px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease; }
.popt.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.popt-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; padding: 7px 8px; text-align: left; transition: transform 140ms var(--ease-out); }
.popt-main:active { transform: scale(.97); }
.pname { font-weight: 600; font-size: 13.5px; line-height: 1.2; min-width: 0; }
/* Casilla para escribir cuántas de cada opción */
.popt-n { width: 48px; height: 32px; margin-right: 6px; flex-shrink: 0; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface);
  text-align: center; font-family: var(--f-mono); font-size: 14px; font-weight: 600; color: var(--ink); outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease; }
.popt-n::placeholder { color: var(--ink-3); font-weight: 400; }
.popt-n:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.popt.on .popt-n { background: var(--accent); border-color: var(--accent); color: #fff; }
.popt.on .popt-n:focus { background: var(--surface); color: var(--ink); }
.pick.single .popt-n { display: none; }
/* En las filas de colores basta la casilla (se corrige escribiendo); el − queda en las tarjetas con foto */
.pick-grid:not(.has-img) .popt-dec { display: none; }
.pick-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.pick-foot .pick-hint { margin-top: 0; flex: 1 1 220px; }
.pick-even { height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; font-weight: 600;
  transition: transform 140ms var(--ease-out), border-color 150ms ease; }
.pick-even:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .pick-even:hover { border-color: var(--accent); } }
.popt-dec { width: 0; height: 30px; margin-right: 0; overflow: hidden; opacity: 0; border-radius: 9px; font-size: 16px; display: grid; place-items: center;
  transition: width 160ms var(--ease-out), opacity 120ms ease, margin 160ms var(--ease-out), transform 140ms var(--ease-out); }
.popt.on .popt-dec { width: 30px; margin: 0 5px; opacity: 1; }
.popt-dec:active { transform: scale(.85); }
/* Opciones con foto: tarjetas con la foto grande arriba y el nombre abajo */
.pick-grid.has-img { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.has-img .popt { flex-direction: column; }
.has-img .popt-main { width: 100%; flex-direction: column; gap: 4px; padding: 6px 6px 9px; }
.has-img .sw-img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; }
.has-img .sw-img img { padding: 6px; }
.has-img .pname { text-align: center; font-size: 13px; }
.has-img .popt-n { width: calc(100% - 12px); margin: 0 6px 7px; }
.has-img .popt-dec { position: absolute; top: 6px; left: 6px; width: 26px; height: 26px; margin: 0; transform: scale(.6);
  background: var(--surface); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); pointer-events: none; }
.has-img .popt.on .popt-dec { width: 26px; margin: 0; transform: scale(1); pointer-events: auto; }
.has-img .popt-dec:active { transform: scale(.85); }
.pick-hint { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.pick-hint:empty { display: none; }
.pick.full .pick-hint { color: #137A43; font-weight: 500; }
.pick-note { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.cmix { margin-top: 2px; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .popt:not(.on):hover { border-color: var(--line-2); }
  .popt-dec:hover { background: var(--paper-2); }
}
@media (prefers-reduced-motion: reduce) {
  .popt, .popt-dec, .popt-main { transition: none; }
}

.buy-row { display: flex; gap: 10px; margin-bottom: 10px; }
.buy-row .btn-ink { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); }
.qty button { width: 44px; height: 48px; display: grid; place-items: center; font-size: 18px; transition: transform 140ms var(--ease-out); }
.qty button:active { transform: scale(.85); }
.qty span { min-width: 26px; text-align: center; font-family: var(--f-mono); font-weight: 500; }
.qty-sm { border-radius: 10px; margin-top: 8px; }
.qty-sm button { width: 32px; height: 32px; font-size: 15px; }
.qty-sm span { min-width: 20px; font-size: 13px; }

/* Envíos */
.ship-box { margin-top: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.ship-box-head { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper-2) 45%, var(--surface)); }
.ship-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; }
.ship-row + .ship-row { border-top: 1px solid var(--line); }
.ship-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); font-size: 16px; }
.ship-row strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.ship-row small { color: var(--ink-2); font-size: 12.5px; }
.ship-cost { font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-align: right; white-space: nowrap; }
.ship-cost em { display: block; font-style: normal; font-size: 10px; color: var(--ink-3); letter-spacing: .05em; text-transform: uppercase; }

/* Detalles rápidos y preguntas frecuentes */
.hl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.hl { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.hl span:first-child { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); font-size: 16px; flex-shrink: 0; }
.faq { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); padding: 6px 18px; }
.faq-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 6px; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 0; text-align: left; font-weight: 600; font-size: 15px; transition: color 150ms ease; }
.faq-ic { position: relative; width: 24px; height: 24px; border-radius: 7px; background: var(--paper-2); flex-shrink: 0; transition: background-color 180ms ease, color 180ms ease; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.8px; border-radius: 2px; background: currentColor; translate: -50% -50%; transition: rotate 240ms var(--ease-out); }
.faq-ic::after { rotate: 90deg; }
.faq-item.open .faq-ic { background: var(--ink); color: var(--surface); }
.faq-item.open .faq-ic::after { rotate: 0deg; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-2); font-size: 14.5px; padding: 0 30px 16px 0; opacity: 0; transition: opacity 200ms ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { opacity: 1; transition-delay: 60ms; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: 90px; }
.wa-card { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 18px; border-radius: 18px; background: var(--ink); color: var(--surface); transition: transform 160ms var(--ease-out); }
.wa-card:active { transform: scale(.98); }
.wa-card .wa-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--wa); display: grid; place-items: center; }
.wa-card .wa-ic svg { width: 26px; height: 26px; fill: #fff; }
.wa-card .label { color: rgba(255, 255, 255, .6); }
.wa-card strong { display: block; font-family: var(--f-mono); font-size: 17px; font-weight: 500; margin-top: 2px; }
.arr-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa-card .arr-ic { margin-left: auto; transition: transform 200ms var(--ease-out); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.socials a { height: 40px; padding: 0 14px; border-radius: 11px; display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.form { padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field input, .field textarea, .field select, .ship-fields input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper);
  outline: none; transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .ship-fields input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }

/* ---------- Carrito ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(15, 12, 10, .4); opacity: 0; pointer-events: none; transition: opacity 240ms ease; }
.overlay.show { opacity: 1; pointer-events: auto; transition-duration: 380ms; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(430px, 100%);
  height: 100dvh; display: flex; flex-direction: column; background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(100%); visibility: hidden;
  transition: transform 260ms var(--ease-out), visibility 0s 260ms; /* salida: rápida */
}
.drawer.open { transform: none; visibility: visible; transition: transform 460ms var(--ease-drawer), visibility 0s; } /* entrada */
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: calc(18px + var(--safe-t)) 20px 16px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.5rem; margin-top: 4px; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 20px; }
.drawer-foot { padding: 16px 20px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); text-align: center; background: var(--surface); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; }
.total-row strong { font-family: var(--f-display); font-size: 1.7rem; letter-spacing: -.03em; }
.ship-note { text-align: right; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); margin: 2px 0 14px; }

.citem { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cthumb { width: 60px; height: 60px; border-radius: 12px; background: var(--stage); display: grid; place-items: center; overflow: hidden; font-size: 24px; }
.cthumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.citem h4 { font-size: 15px; font-weight: 600; line-height: 1.25; }
.citem .sub { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.citem .rm { font-size: 12.5px; color: var(--ink-2); padding: 6px; }
.cart-empty { text-align: center; padding: 56px 10px 30px; color: var(--ink-2); }
.cart-empty .btn { margin-top: 18px; }
.ship-form { margin-top: 18px; }
.drawer.is-empty .ship-form { display: none; }
#shipOptions { display: grid; gap: 8px; margin-top: 10px; }
.ship-opt { position: relative; display: block; cursor: pointer; }
.ship-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ship-card { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color 150ms ease, box-shadow 150ms ease, transform 140ms var(--ease-out); }
.ship-opt:active .ship-card { transform: scale(.98); }
.ship-card .ship-ic { width: 32px; height: 32px; }
.ship-card strong { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.ship-card small { color: var(--ink-2); font-size: 12px; }
.ship-opt input:checked + .ship-card { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.ship-opt input:focus-visible + .ship-card { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.ship-fields { display: grid; gap: 8px; margin-top: 12px; }
.ship-fields input { background: var(--surface); }

/* ---------- Toast (estilo Sonner: transición, no keyframes) ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + var(--safe-b)); z-index: 100;
  width: max-content; max-width: calc(100vw - 32px); padding: 13px 18px; border-radius: 14px;
  background: var(--ink); color: var(--surface); font-size: 14px; font-weight: 500;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .45);
  translate: -50% calc(100% + 40px); opacity: 0; pointer-events: none;
  transition: translate 400ms ease, opacity 400ms ease;
}
.toast.show { translate: -50% 0; opacity: 1; }

.shake { animation: shake 360ms var(--ease-out); }
@keyframes shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }

/* ---------- Pie ---------- */
.footer { border-top: 1px solid var(--line); padding: 22px 0 calc(22px + var(--safe-b)); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Hover: solo con ratón (en táctil se quedaría pegado) ---------- */
@media (hover: hover) and (pointer: fine) {
  .tabs a:hover { color: var(--ink); }
  .tabs a.active:hover { color: var(--surface); }
  .btn-ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--accent)); }
  .btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
  .btn-line:hover { border-color: var(--ink); }
  .btn-wa:hover { background: #1FBF5B; }
  .btn:hover .arr, .wa-card:hover .arr-ic { transform: translateX(3px); }
  .crumbs a:hover { color: var(--accent); }
  .mt:hover .mt-visual { transform: translateY(-64%) scale(1.06) rotate(-4deg); }
  .mt.big:hover .mt-visual { transform: translateY(-3%); }
  .mt:hover .mt-go { background: rgba(255, 255, 255, .16); transform: translateX(3px); }
  .pcard:hover { border-color: var(--line-2); }
  .pbody h3 a:hover { color: var(--accent); }
  .vopt:hover { border-color: var(--line-2); }
  .vopt.active:hover { border-color: var(--accent); }
  .faq-q:hover { color: var(--accent); }
  .socials a:hover { border-color: var(--ink); }
  .citem .rm:hover { color: #D9363E; }
  .btn-link:hover { color: var(--ink); }
  .gfig:hover { z-index: 9; }
  .stage .gfig:hover .gtip { opacity: 1; translate: -50% 0; }
  .stage .gfig img, .sub-tile .gfig img { transition: transform 240ms var(--ease-out); transform-origin: 50% 100%; }
  .stage .gfig:hover img, .sub-tile .gfig:hover img { transform: translateY(-4%) scale(1.04); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .pdp-grid { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "media" "info" "extra"; }
  .sub-tile { grid-template-columns: 1fr; }
  .sub-tile-stage { min-height: 300px; }
}

/* Móvil: las pestañas pasan a una barra inferior, como en una app */
@media (max-width: 720px) {
  :root { --nav-h: 58px; }
  /* Sin backdrop-filter aquí: crearía un contenedor para la barra fija de abajo */
  .nav-inner { border-radius: 16px; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); }
  .tabs {
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); z-index: 60;
    justify-content: space-between; padding: 6px; border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--line); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .3);
  }
  .tabs a { flex: 1; flex-direction: column; justify-content: center; gap: 2px; height: 52px; padding: 0; font-size: 11.5px; }
  .tab-ind { top: 6px; height: 52px; border-radius: 13px; }
  body { padding-bottom: calc(76px + var(--safe-b)); }
  .toast { bottom: calc(92px + var(--safe-b)); }
  .mos { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; gap: 10px; }
  .mt { border-radius: 22px; padding: 16px; }
  .mt-name { font-size: 17px; }
  .mt-name small { display: none; }
  .mt-go { width: 40px; height: 40px; }
  .mt-ghost { font-size: 84px; }
  .mt.big .mt-ghost { font-size: 130px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .vopt.wide .avatars span:nth-child(n+5) { display: none; } /* el pack muestra 4 caritas */
  .brand-name { font-size: 1.1rem; }
  .hl-grid { grid-template-columns: 1fr; }
}

/* ---------- Menos movimiento: se mantienen opacidades, se quitan desplazamientos ---------- */
@media (prefers-reduced-motion: reduce) {
  .mt { animation: none; }
  .rv, .gfig, .sfig { transform: none !important; translate: 0 0 !important; }
  .gfig, .sfig { transform: translateX(-50%) !important; }
  .layer.entering { transform: none; filter: none; }
  .drawer, .drawer.open { transition: opacity 200ms ease, visibility 0s; }
  .drawer { transform: none; opacity: 0; }
  .drawer.open { opacity: 1; }
  .toast { translate: -50% 0; }
  .shake { animation: none; }
}

/* ---------- Pie: logo y redes ---------- */
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-sub { display: block; margin-top: 3px; color: var(--ink-3); }
.foot-social { display: flex; gap: 8px; margin-right: 76px; } /* deja sitio al botón flotante */
.soc { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; transition: transform 160ms var(--ease-out); }
.soc svg { width: 20px; height: 20px; }
.soc:active { transform: scale(.92); }
/* Colores oficiales de cada red */
.soc-ig { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); }
.soc-tt { background: #000; }
.soc-tt svg { filter: drop-shadow(-1.2px -1px 0 #25F4EE) drop-shadow(1.2px 1px 0 #FE2C55); }

/* Tarjetas grandes de redes (Contacto y reseñas) */
.soc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 14px; }
.soc-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; color: #fff; transition: transform 160ms var(--ease-out); }
.soc-card:active { transform: scale(.98); }
.soc-card .soc-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
.soc-card .soc-ic svg { width: 24px; height: 24px; }
.soc-card .label { color: rgba(255, 255, 255, .75); }
.soc-card strong { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 15px; margin-top: 2px; }
.soc-card .arr-ic { margin-left: auto; transition: transform 200ms var(--ease-out); }
.soc-card.soc-tt .soc-ic { background: rgba(255, 255, 255, .1); }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 70; right: 20px; bottom: calc(20px + var(--safe-b));
  display: flex; align-items: center; gap: 0; height: 58px; padding: 0 0 0 0; border-radius: 999px;
  background: var(--wa); color: #fff; box-shadow: 0 12px 30px -10px rgba(10, 80, 40, .55);
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
  animation: waIn 500ms var(--ease-out) 600ms both; /* entra una vez, al cargar */
}
@keyframes waIn { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; margin: 0 14px; }
.wa-float-label {
  max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 14.5px;
  opacity: 0; transition: max-width 260ms var(--ease-out), opacity 180ms ease, padding 260ms var(--ease-out);
}
.wa-float:active { transform: scale(.95); }
body:has(.drawer.open) .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Pagos y tiempo de entrega ---------- */
.ship-eta { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); font-size: 14px; }
.pay-box { margin-top: 12px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.pay-list, .pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pay-badge {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600;
  transition: box-shadow 150ms ease, transform 140ms var(--ease-out);
}
.pay-badge i { font-style: normal; }
.pay-badge.brand { background: var(--pc); border-color: transparent; color: #fff; font-weight: 700; letter-spacing: .01em; }
.pay-title { display: block; margin-top: 18px; }
.pay-title .opt { text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.pay-opt { cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt:active .pay-badge { transform: scale(.96); }
.pay-opt input:checked + .pay-badge { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); }
.pay-opt input:focus-visible + .pay-badge { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }

/* ---------- Reseñas ---------- */
.reviews { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 100px); }
.rev-head { margin-bottom: 22px; }
.rev-head h2 { font-size: clamp(56px, 9vw, 128px); color: var(--ink); margin-top: 8px; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.rev-card { margin: 0; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.rev-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.rev-card blockquote { font-size: 16px; line-height: 1.5; }
.rev-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; margin-top: auto; }
.rev-card figcaption small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); margin-top: 2px; }
.rev-src svg { width: 18px; height: 18px; fill: var(--ink-2); }
.rev-empty {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: clamp(20px, 3vw, 30px); border-radius: 24px; border: 1.5px dashed var(--line-2);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.rev-empty h3 { font-size: 1.5rem; margin-bottom: 6px; }
.rev-empty p { color: var(--ink-2); max-width: 560px; }

@media (hover: hover) and (pointer: fine) {
  .soc:hover { transform: translateY(-2px); }
  .soc-card:hover .arr-ic { transform: translateX(3px); }
  .wa-float:hover { box-shadow: 0 16px 36px -10px rgba(10, 80, 40, .6); }
  .wa-float:hover .wa-float-label { max-width: 200px; opacity: 1; padding-right: 20px; }
  .wa-float:hover svg { margin-right: 10px; }
}

@media (max-width: 720px) {
  .wa-float { right: 14px; bottom: calc(88px + var(--safe-b)); height: 54px; }
  .wa-float svg { width: 28px; height: 28px; margin: 0 13px; }
  .hero-link { bottom: calc(164px + var(--safe-b)); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .foot-social { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* ---------- Ajustes de celular (revisión responsive) ---------- */
@media (max-width: 720px) {
  /* Enlace "Descúbrela" con área táctil de 44 px */
  .hero-link { padding: 12px 0 12px 12px; margin: -12px 0; }
  /* Mosaico: figuras de K-pop más grandes y bloques pequeños sin amontonar */
  .mt.big .mt-visual { bottom: 18%; height: 64%; }
  .mt.big .mt-visual img { max-width: 38%; }
  .mt.big .mt-visual img:nth-child(4) { display: none; } /* en celular, 3 figuras más grandes */
  .mt.big .mt-visual img + img { margin-left: -5%; }
  .mt:not(.w2):not(.big) .mt-top span:last-child { display: none; }
  .mt:not(.w2):not(.big) .mt-visual { font-size: 56px; }
  /* Ficha: opción del pack en una línea limpia */
  .vopt.wide { flex-wrap: wrap; row-gap: 8px; }
  .vopt.wide .vtext { min-width: 150px; }
  .vopt:not(.wide) .vmeta { font-size: 10.5px; letter-spacing: -.02em; }
  .vopt { gap: 8px; padding-right: 8px; }
  /* Toast: con el carrito abierto va arriba para no tapar el total */
  body:has(.drawer.open) .toast { bottom: auto; top: calc(14px + var(--safe-t)); translate: -50% calc(-100% - 40px); }
  body:has(.drawer.open) .toast.show { translate: -50% 0; }
}
@media (max-width: 380px) {
  .vopt:not(.wide) { padding: 6px 6px 6px 6px; gap: 7px; }
  .vopt:not(.wide) .vthumb { width: 36px; height: 36px; }
  .vopt:not(.wide) .vmeta { font-size: 10px; }
}
@media (max-width: 339px) {
  .vgrid { grid-template-columns: 1fr; }
}

/* ---------- SEO: título principal del hero y sección "Sobre" ---------- */
.hero-top h1 { font: inherit; letter-spacing: inherit; line-height: inherit; text-transform: inherit; color: inherit; margin: 0; }
/* Buscador de productos (secciones con muchos productos, p. ej. Pokéballs) */
.finder { display: grid; gap: 10px; margin: 6px 0 14px; }
.search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line-2); transition: border-color 150ms ease, box-shadow 150ms ease; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.search svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink-2); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.gen-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.gen-chips::-webkit-scrollbar { display: none; }
.gchip { flex-shrink: 0; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  font-size: 13px; font-weight: 600; transition: transform 140ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.gchip:active { transform: scale(.97); }
.gchip.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.pcard[hidden], .empty[hidden] { display: none !important; }
.search-empty { margin-bottom: 80px; }
@media (hover: hover) and (pointer: fine) { .gchip:not(.on):hover { border-color: var(--ink-2); } }

/* Bloque de portada: Llaveros BTS por mayor */
.home-block { padding-top: clamp(48px, 7vw, 84px); }
.home-block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.home-block-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; margin: 6px 0 10px; }
.home-block-head p { color: var(--ink-2); max-width: 46ch; }
.home-block-head p strong { color: var(--ink); }
/* Fila deslizable de tarjetas más compactas */
.home-pgrid { margin-bottom: 0; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 270px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.home-pgrid > * { scroll-snap-align: start; }
@media (max-width: 700px) { .home-pgrid { grid-auto-columns: 78%; } }
.about { padding: clamp(56px, 8vw, 96px) 0 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 5vw, 64px); align-items: start; }
.about h2 { font-size: clamp(44px, 6.5vw, 96px); color: var(--ink); margin-top: 8px; }
.about-text p { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 14px; max-width: 620px; }
.about-text strong { color: var(--ink); font-weight: 600; }
.about-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.about-links a { height: 40px; padding: 0 14px; border-radius: 11px; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: border-color 150ms ease, transform 160ms var(--ease-out); }
.about-links a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .about-links a:hover { border-color: var(--ink); } }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }

/* Contenido base que ve Google antes de que cargue la web (luego se reemplaza) */
.seo-shell { padding: calc(var(--nav-h) + 40px) 0 60px; }
.seo-shell h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 10px 0 14px; }
.seo-shell p { color: var(--ink-2); max-width: 640px; margin-bottom: 12px; }
.seo-shell ul { margin: 16px 0 0 18px; display: grid; gap: 6px; }
.seo-shell img { max-width: 260px; height: auto; margin: 10px 0; }
