/* TNB — THE NEW BINDER · sistema de diseño de la web propia (sin Shopify).
   Misma identidad que el tema Horizon: papel cálido, tinta, UN acento azul.
   La fotografía de las cartas pone el color; el cromo de la web se calla. */

:root {
  --paper: #FBFAF6;
  --paper-2: #F2EFE7;
  --line: #E7E3D8;
  --ink: #1A1A1E;
  --ink-2: #55555F;
  --ink-3: #8A8A93;
  --blue: #2B5CFF;
  --blue-ink: #1E44CC;
  --blue-soft: #E8EDFF;
  --white: #FFFFFF;
  --petrol: #244B59;
  --ok: #1F7A4D;
  --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --pill: 999px;
  --shadow-1: 0 1px 2px rgba(26,26,30,.06), 0 4px 14px rgba(26,26,30,.06);
  --shadow-2: 0 2px 6px rgba(26,26,30,.08), 0 18px 40px rgba(26,26,30,.12);
  --gap: clamp(22px, 4.5vw, 56px);
  --shell: 1240px;
  --font-head: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, .h { font-family: var(--font-head); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.shell { width: min(100% - 32px, var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .74rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: "TNB /"; color: var(--blue); letter-spacing: .08em; }
.eyebrow--plain::before { content: none; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 46ch; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 40px); flex-wrap: wrap; }
.head h2 { margin-top: 10px; max-width: 20ch; }
.head p { margin: 10px 0 0; color: var(--ink-2); max-width: 52ch; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--pill); border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--font-head); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(43,92,255,.28); }
.btn--primary:hover { background: var(--blue-ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--line); color: var(--ink-3); box-shadow: none; cursor: not-allowed; }
.link { color: var(--blue); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.arrow::after { content: "→"; margin-left: 6px; transition: transform .18s; display: inline-block; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* ---------- barra de anuncio + cabecera ---------- */
.announce { background: var(--ink); color: var(--paper); font-size: .84rem; text-align: center; padding: 9px 16px; }
.announce strong { color: #fff; }
.header {
  position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__bar { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; margin-right: auto; }
.brand__mark { font: 800 1.42rem/1 var(--font-head); letter-spacing: -0.04em; }
.brand__mark i { font-style: normal; color: var(--blue); }
.brand__name { font: 600 .68rem/1 var(--font-head); letter-spacing: .2em; color: var(--ink-2); text-transform: uppercase; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 9px 13px; border-radius: var(--pill); text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.tools { display: flex; align-items: center; gap: 6px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; padding: 9px 11px; border-radius: var(--pill); font: 600 .8rem/1 var(--font-head); letter-spacing: .08em; color: var(--ink-2); }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary, .lang summary:hover { background: var(--paper-2); color: var(--ink); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-2); list-style: none; margin: 0; padding: 6px; min-width: 150px; }
.lang li a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: .92rem; }
.lang li a:hover, .lang li a[aria-current="true"] { background: var(--paper-2); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--pill); border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--pill); background: var(--blue); color: #fff; font: 700 .7rem/19px var(--font-head); text-align: center; }
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header.menu-open .nav {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; gap: 2px;
  }
  .header.menu-open .nav a { padding: 14px 12px; font-size: 1.05rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #F2EFE7; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(242,239,231,.97) 0%, rgba(242,239,231,.9) 42%, rgba(242,239,231,.35) 72%, rgba(242,239,231,.15) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--gap); align-items: center; padding-block: clamp(44px, 7vw, 92px); }
.hero h1 { color: #20282B; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lede { color: #3B4447; margin-top: 18px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: #3B4447; font-size: .9rem; }
.hero__proof b { display: block; font: 700 1.35rem/1.1 var(--font-head); color: #20282B; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.gallery a { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-2); aspect-ratio: 650 / 854; text-decoration: none; }
.gallery a:nth-child(2) { transform: translateY(22px); }
.gallery a:nth-child(3) { transform: translateY(-10px); }
.gallery a:nth-child(4) { transform: translateY(12px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.gallery a:hover img { transform: scale(1.04); }
.gallery span { position: absolute; left: 10px; bottom: 10px; padding: 7px 12px; border-radius: var(--pill); background: rgba(26,26,30,.82); color: #fff; font: 600 .8rem/1 var(--font-head); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero::before { background: linear-gradient(180deg, rgba(242,239,231,.96) 0%, rgba(242,239,231,.9) 55%, rgba(242,239,231,.6) 100%); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .gallery a, .gallery a:nth-child(n) { transform: none; border-radius: var(--r-sm); }
  .gallery span { left: 6px; bottom: 6px; padding: 5px 8px; font-size: .68rem; }
}

/* ---------- franja de hechos ---------- */
.facts { border-block: 1px solid var(--line); background: var(--paper); }
.facts ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.facts li { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.facts svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.facts strong { color: var(--ink); font-weight: 600; }

/* ---------- formas de coleccionar ---------- */
.ways { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.way { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; min-height: 236px; }
.way:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: transparent; }
.way__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.way__icon svg { width: 24px; height: 24px; }
.way p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.way__meta { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .86rem; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 12px; }
.way__meta b { font: 700 1.05rem/1 var(--font-head); color: var(--ink); }
@media (max-width: 1080px) { .ways { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ways { grid-template-columns: 1fr; } .way { min-height: 0; } }

/* ---------- tarjeta de producto (carta) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.card__frame {
  position: relative; aspect-ratio: 5 / 7; border-radius: var(--r-md); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #fff 0%, #F4F1EA 100%); border: 1px solid var(--line);
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover .card__frame { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.card__frame img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(26,26,30,.18)); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.card__frame img.back { opacity: 0; }
/* foto en peana (sin recorte validado): zoom a la carta, el fondo queda fuera del marco */
.card__frame img.raw { inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.55); transform-origin: 50% 46%; filter: none; }
.card:hover .card__frame img.raw { transform: scale(1.55); }
.card:hover .card__frame img.back { opacity: 1; }
.card:hover .card__frame img.has-back { opacity: 0; }
.card__badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 5px 9px; border-radius: var(--pill); background: rgba(255,255,255,.92); border: 1px solid var(--line); font: 600 .68rem/1 var(--font-head); letter-spacing: .04em; color: var(--ink-2); }
.card__badge--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.card__flip { position: absolute; bottom: 10px; right: 10px; z-index: 2; padding: 5px 9px; border-radius: var(--pill); background: rgba(26,26,30,.78); color: #fff; font: 600 .66rem/1 var(--font-head); letter-spacing: .04em; }
.card__body { padding: 12px 2px 0; display: grid; gap: 4px; }
.card__meta { font: 600 .7rem/1.2 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.card__title { font: 600 .96rem/1.3 var(--font-head); letter-spacing: -0.01em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { font: 700 1rem/1 var(--font-head); margin-top: 4px; }
.card.is-sold .card__frame img { filter: grayscale(1) opacity(.55); }
.card.is-sold .card__price { color: var(--ink-3); text-decoration: line-through; }
.card__sold { position: absolute; inset: 0; display: none; place-items: center; z-index: 3; }
.card.is-sold .card__sold, .card.is-held .card__sold { display: grid; }
.card__sold span { padding: 8px 14px; border-radius: var(--pill); background: var(--ink); color: #fff; font: 700 .76rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- escalera de precios ---------- */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: end; }
.rung { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.rung:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.rung__n { font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-head); letter-spacing: -0.04em; }
.rung__n small { font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.rung__kind { font: 600 .72rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.rung__price { font: 700 1.2rem/1 var(--font-head); }
.rung__per { font-size: .84rem; color: var(--ink-3); }
.rung:nth-child(1) { min-height: 190px; } .rung:nth-child(2) { min-height: 220px; } .rung:nth-child(3) { min-height: 250px; }
.rung:nth-child(4) { min-height: 280px; } .rung:nth-child(5) { min-height: 310px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rung:nth-child(5) .rung__kind { color: #9DB4FF; } .rung:nth-child(5) .rung__per, .rung:nth-child(5) small { color: #B8B8C0; }
.ladder--n { grid-template-columns: repeat(var(--cols, 4), 1fr); }
.ladder--n .rung, .ladder--n .rung:nth-child(n) { min-height: 0; background: var(--white); color: var(--ink); border-color: var(--line); }
@media (max-width: 860px) {
  .ladder, .ladder--n { grid-template-columns: 1fr; }
  .rung, .rung:nth-child(n) { min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}

/* ---------- banda Pokémon / banners ---------- */
.banner { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; display: flex; align-items: center; color: #fff; isolation: isolate; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,22,48,.86) 0%, rgba(14,22,48,.55) 45%, rgba(14,22,48,0) 75%); }
.banner__body { padding: clamp(26px, 5vw, 56px); max-width: 560px; }
.banner .eyebrow, .banner .eyebrow::before { color: #A9BCFF; }
.banner h2 { margin: 10px 0 12px; }
.banner p { color: #DDE3F5; }
@media (max-width: 640px) { .banner::before { background: linear-gradient(180deg, rgba(14,22,48,.35) 0%, rgba(14,22,48,.9) 70%); } .banner { align-items: flex-end; min-height: 420px; } }

/* ---------- cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 26px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 800 2.2rem/1 var(--font-head); color: var(--blue); letter-spacing: -0.04em; margin-bottom: 18px; }
.step p { color: var(--ink-2); margin: 8px 0 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- tabla de envío ---------- */
.ship { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ship__col { padding: 24px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.ship__col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ship__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ship__col li { display: flex; justify-content: space-between; gap: 14px; font-size: .94rem; color: var(--ink-2); border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.ship__col li:last-child { border-bottom: 0; padding-bottom: 0; }
.ship__col li b { color: var(--ink); font-family: var(--font-head); white-space: nowrap; }
.ship__note { margin-top: 18px; color: var(--ink-3); font-size: .88rem; }
@media (max-width: 860px) { .ship { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; font: 600 1.06rem/1.35 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-head); color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }

/* ---------- tienda: filtros ---------- */
.shop-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.shop-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: opacity .4s; }
.shop-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,12,20,.82), rgba(10,12,20,.35)); }
.shop-hero .shell { padding-block: clamp(40px, 7vw, 84px); }
.shop-hero .eyebrow, .shop-hero .eyebrow::before { color: #A9BCFF; }
.shop-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-top: 10px; }
.shop-hero p { color: #DADDE6; max-width: 56ch; margin: 14px 0 0; }
.filters { position: sticky; top: 68px; z-index: 30; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.filters__row { display: flex; gap: 10px; align-items: center; padding-block: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); cursor: pointer; font: 600 .86rem/1 var(--font-head); color: var(--ink-2); white-space: nowrap; }
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip small { font-weight: 500; opacity: .7; margin-left: 4px; }
.field { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--white); }
.field svg { width: 17px; height: 17px; color: var(--ink-3); flex: none; }
.field input, .field select { border: 0; background: transparent; outline: none; height: 100%; min-width: 0; font-size: .92rem; }
.field select { cursor: pointer; padding-right: 4px; }
.field--search { flex: 1 1 220px; }
.field--search input { width: 100%; }
.results { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 18px; color: var(--ink-3); font-size: .9rem; gap: 12px; flex-wrap: wrap; }
.empty { padding: 60px 0; text-align: center; color: var(--ink-2); }
@media (min-width: 1101px) { .filters__row { flex-wrap: nowrap; } .field--search { flex: 0 1 210px; } .field--team { flex: 0 0 180px; } .field--sort { flex: 0 0 168px; } .field select { width: 100%; } .chip { padding: 9px 12px; } }
@media (max-width: 640px) { .filters { top: 68px; } .filters__row { gap: 8px; } .field--team, .field--sort { flex: 1 1 calc(50% - 4px); } .field select { width: 100%; } }

/* ---------- ficha de producto ---------- */
.crumbs { font-size: .86rem; color: var(--ink-3); padding-top: 22px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--blue); }
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); padding-block: 22px clamp(56px, 8vw, 96px); align-items: start; }
.pdp__media { position: sticky; top: 92px; display: grid; gap: 12px; }
.stage { position: relative; aspect-ratio: 1 / 1.08; max-height: calc(100vh - 150px); width: 100%; min-height: 360px; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(110% 80% at 50% 0%, #fff 0%, #F1EDE4 100%); border: 1px solid var(--line); perspective: 1600px; }
.stage__flip { position: absolute; inset: 6%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.stage.is-back .stage__flip { transform: rotateY(180deg); }
.stage__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; }
.stage__face img { height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(26,26,30,.22)); }
.stage__face--back { transform: rotateY(180deg); }
.stage__face { overflow: hidden; border-radius: 14px; }
.stage__face img.raw { width: 100%; height: 100%; max-height: none; object-fit: cover; transform: scale(1.5); transform-origin: 50% 46%; filter: none; }
.stage--pack .stage__flip { inset: 0; }
.stage--pack img { width: 100%; height: 100%; max-height: none; object-fit: cover; filter: none; }
.thumbs { display: flex; gap: 10px; align-items: center; }
.thumbs .btn { min-height: 44px; padding: 0 16px; white-space: nowrap; font-size: .9rem; }
.thumbs .btn svg { width: 18px; height: 18px; }
.thumb { width: 76px; aspect-ratio: 5/7; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 5px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.flip-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-3); }
.pdp__info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 12px 0 0; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; flex-wrap: wrap; }
.pdp__price b { font: 700 2rem/1 var(--font-head); letter-spacing: -0.02em; }
.pdp__price span { color: var(--ink-3); font-size: .92rem; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: var(--pill); background: var(--blue-soft); color: var(--blue-ink); font: 600 .8rem/1 var(--font-head); }
.pill--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pill--sold { background: var(--paper-2); color: var(--ink-2); }
.pill--sold::before { background: var(--ink-3); }
.opt { margin: 20px 0 0; border: 0; padding: 0; }
.opt legend, .opt label.lbl { font: 600 .8rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; display: block; padding: 0; }
.opt__row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt__row input { position: absolute; opacity: 0; pointer-events: none; }
.opt__row label { padding: 11px 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font: 600 .92rem/1 var(--font-head); }
.opt__row label:hover { border-color: var(--ink-3); }
.opt__row input:checked + label { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-ink); }
.opt__row input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.select { width: 100%; height: 50px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); font-size: 1rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--white); height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; }
.qty input { width: 42px; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy { display: flex; gap: 10px; margin-top: 22px; }
.buy .btn { flex: 1; min-height: 54px; font-size: 1.04rem; }
.assure { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 22px; }
.assure li { display: flex; gap: 9px; align-items: center; font-size: .9rem; color: var(--ink-2); }
.assure svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.desc { margin-top: 26px; color: var(--ink-2); font-size: 1rem; }
.desc p:last-child { margin-bottom: 0; }
.specs { margin: 26px 0 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--ink-3); font-weight: 500; }
.specs dd { margin: 0; font-weight: 600; }
.promise { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper-2); font-size: .9rem; color: var(--ink-2); }
.mobile-buy { display: none; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { position: static; }
  .mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; gap: 12px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
  .mobile-buy.is-on { transform: none; }
  .mobile-buy b { font: 700 1.15rem/1 var(--font-head); }
  .mobile-buy .btn { flex: 1; }
}

/* ---------- carrito (cajón) ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(26,26,30,.42); opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .32s cubic-bezier(.3,.7,.2,1); box-shadow: -20px 0 50px rgba(26,26,30,.18); }
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
body.cart-open { overflow: hidden; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.3rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 64px; height: 84px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); padding: 3px; }
.line__t { font: 600 .92rem/1.3 var(--font-head); text-decoration: none; }
.line__o { font-size: .8rem; color: var(--ink-3); margin-top: 3px; }
.line__q { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.line__q button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; line-height: 1; }
.line__x { border: 0; background: none; color: var(--ink-3); font-size: .8rem; cursor: pointer; text-decoration: underline; padding: 0; margin-left: 6px; }
.line__p { font: 700 .95rem/1 var(--font-head); white-space: nowrap; }
.line.is-gone { opacity: .55; }
.line.is-gone .line__o { color: #B3261E; font-weight: 600; }
.sum { display: grid; gap: 6px; font-size: .94rem; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .total { font: 700 1.1rem/1.2 var(--font-head); padding-top: 6px; border-top: 1px dashed var(--line); }
.sum small { color: var(--ink-3); }
.progress { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--blue); width: 0; transition: width .4s ease; }
.progress-txt { font-size: .84rem; color: var(--ink-2); }
.ship-to { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .9rem; }
.ship-to select { height: 38px; border-radius: var(--pill); border: 1px solid var(--line); padding: 0 12px; background: var(--paper); max-width: 60%; }
.drawer__empty { text-align: center; padding: 50px 10px; color: var(--ink-2); }
.drawer__empty .btn { margin-top: 12px; }
.err { color: #B3261E; font-size: .86rem; }
.pay-logos { display: flex; justify-content: center; gap: 10px; color: var(--ink-3); font-size: .76rem; letter-spacing: .04em; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--pill); font-size: .92rem; box-shadow: var(--shadow-2); transition: transform .3s cubic-bezier(.3,.7,.2,1); max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast:empty { display: none; }

/* ---------- páginas de texto ---------- */
.prose { max-width: 760px; padding-block: clamp(40px, 7vw, 80px); }
.prose h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 24px; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.prose h3 { margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; }
.prose td, .prose th { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }

/* ---------- pie ---------- */
.footer { background: var(--ink); color: #C9C9D0; padding-block: 64px 28px; margin-top: 0; }
.footer a { color: #C9C9D0; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .94rem; }
.footer .brand__mark { color: #fff; font-size: 2rem; }
.footer .brand__mark i { color: #7F9CFF; }
.footer__tag { font: 700 1.4rem/1.2 var(--font-head); color: #fff; margin: 14px 0 8px; letter-spacing: -0.02em; }
.footer__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid #34343C; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #8E8E98; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- movimiento (sólo si el JS lo permite) ---------- */
.tnb-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.tnb-motion .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__video { display: none; }
}
