/* Nexo ARG for WooCommerce — página de producto (arioli.dev/productos/woonexo). Sobre partials/v2 (tokens --bg, --card,
   --signal…). Acento propio: el verde de Nexo (--pa, de product_content). Elemento propio: la tienda a la que se le
   enchufan módulos (3D en el hero, HTML/CSS de respaldo). El partial woonexo-precios usa --pa, --pa-bg, --pa-ink,
   .btn-pa y .price-notes: se definen acá. */
.nx { --nx: var(--pa, #34d399); --nx-2: #10b981; --nx-soft: rgba(52,211,153,.14); --nx-ink: #06281c; --crema: #f4efe4; }
.nx .eyebrow .idx { color: var(--nx); }
.nx .btn-pa { background: var(--nx); color: var(--nx-ink); }
.nx .btn-pa:hover { transform: translateY(-2px); filter: brightness(1.05); }
.nx .price-notes { margin-top: 26px; display: grid; gap: 8px; max-width: 820px; font-size: 14px; color: var(--text2); }
.nx .price-notes strong { color: var(--text); }
.nx .price-notes a, .nx-precios .wnx-free a:not(.btn) { color: var(--nx); }
.nx-btn-wa { background: var(--wa); color: #04260f; display: inline-flex; align-items: center; gap: 8px; }
.nx-btn-wa:hover { transform: translateY(-2px); filter: brightness(1.05); }
.nx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ── Hero ── */
.nx-hero { position: relative; overflow: hidden; padding: 150px 0 0; }
.nx-aurora i:nth-child(1) { background: radial-gradient(circle, rgba(52,211,153,.24), transparent 65%); }
.nx-aurora i:nth-child(3) { background: radial-gradient(circle, rgba(59,130,246,.16), transparent 65%); }
.nx-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 40px; align-items: center; min-height: 580px; }
.nx-hero-grid > * { min-width: 0; }
.nx-h1 { font-size: clamp(36px, 4.7vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -.032em; margin-top: 22px; max-width: 640px; }
.nx-h1-k { display: block; font-family: var(--font-mono); font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--nx); margin-bottom: 14px; }
.nx-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text2); }
.nx-chips li { display: inline-flex; align-items: center; gap: 8px; }
.nx-chips li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--nx); }

.nx-escena { position: relative; height: 580px; }
#nx-3d { position: absolute; inset: -40px -60px -40px -40px; width: calc(100% + 100px); height: calc(100% + 80px); opacity: 0; transition: opacity .9s var(--ease); }
.nx-3d-on #nx-3d { opacity: 1; }
.nx-3d-on .nx-tienda-html { opacity: 0; transform: translate(-50%, -47%) scale(.97); pointer-events: none; }

/* La tienda (HTML): respaldo del 3D */
.nx-tienda-html { position: absolute; left: 50%; top: 50%; width: min(100%, 440px); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 26px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.nx-th-local { position: relative; width: 250px; height: 210px; border-radius: 14px 14px 6px 6px; background: linear-gradient(180deg, #1c2638, #121a2a); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 70px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(52,211,153,.08); }
.nx-th-toldo { position: absolute; left: -14px; right: -14px; top: 34px; height: 40px; border-radius: 6px 6px 14px 14px; background: repeating-linear-gradient(90deg, var(--nx) 0 26px, var(--crema) 26px 52px); box-shadow: 0 10px 18px -8px rgba(0,0,0,.6);
    -webkit-mask: radial-gradient(14px 10px at 13px 100%, #0000 98%, #000) 0 0 / 26px 100%; mask: radial-gradient(14px 10px at 13px 100%, #0000 98%, #000) 0 0 / 26px 100%; }
.nx-th-cartel { position: absolute; left: 30px; right: 30px; top: -16px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--crema); color: #0b1220; font-weight: 800; letter-spacing: .14em; font-size: 14px; box-shadow: 0 0 0 3px #0b1220, 0 0 24px rgba(52,211,153,.35); }
.nx-th-vidriera { position: absolute; left: 22px; width: 130px; bottom: 18px; height: 98px; border-radius: 8px; background: linear-gradient(160deg, rgba(147,197,253,.22), rgba(15,23,42,.6)); border: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; padding: 10px; }
.nx-th-vidriera i { height: 46px; border-radius: 6px; background: linear-gradient(180deg, #fbbf24, #f59e0b); }
.nx-th-vidriera i:nth-child(2) { height: 60px; background: linear-gradient(180deg, var(--nx), var(--nx-2)); }
.nx-th-vidriera i:nth-child(3) { height: 38px; background: linear-gradient(180deg, #93c5fd, #3b82f6); }
.nx-th-puerta { position: absolute; right: 24px; bottom: 0; width: 62px; height: 116px; border-radius: 8px 8px 0 0; background: #0a101c; border: 1px solid rgba(255,255,255,.12); }
.nx-th-puerta::after { content: ''; position: absolute; left: 10px; top: 52px; width: 6px; height: 6px; border-radius: 50%; background: var(--nx); }
.nx-th-riel { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 440px; position: relative; padding-top: 18px; border-top: 2px solid rgba(52,211,153,.4); }
.nx-th-riel span { position: relative; padding: 9px 14px; border-radius: 10px; background: #101a2c; border: 1px solid rgba(52,211,153,.45); font-size: 13px; font-weight: 700; color: var(--text); box-shadow: 0 0 0 3px rgba(52,211,153,.08); }
.nx-th-riel span::before { content: ''; position: absolute; left: 50%; top: -20px; width: 2px; height: 18px; margin-left: -1px; background: var(--nx); }
.js .nx-th-riel span { animation: nxEnchufa .7s var(--ease) both; animation-delay: calc(.25s + var(--i) * .12s); }
@keyframes nxEnchufa { from { opacity: 0; transform: translateY(16px); } }

.nx-flota { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(15,22,38,.84); border: 1px solid var(--card-border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; color: var(--text2); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.nx-flota b { color: var(--text); }
.nx-flota-pedido { left: -6px; bottom: 6px; flex-direction: column; align-items: flex-start; gap: 8px; }
.nx-flota-pedido .k { font-family: var(--font-mono); font-size: 11.5px; color: var(--text3); }
.nx-estados { display: flex; gap: 6px; }
.nx-estados b { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(148,163,184,.12); color: var(--text2); font-weight: 600; }
.nx-estados b.ok { background: var(--nx-soft); color: #6ee7b7; }
.nx-flota-clave { right: 0; top: 34px; }
.nx-flota-clave svg { color: var(--nx); flex: none; }
.nx-flota-clave span { display: grid; font-size: 12.5px; }
.nx-flota-clave b { font-size: 14px; }

/* Cinta de público */
.nx-cinta { position: relative; margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.nx-cinta-track { display: flex; gap: 46px; width: max-content; animation: nxCinta 42s linear infinite; }
.nx-cinta-track span { font-size: 18px; font-weight: 700; color: var(--text3); white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; }
.nx-cinta-track span::after { content: '✦'; color: var(--nx); font-size: 12px; }
@keyframes nxCinta { to { transform: translateX(-50%); } }

/* ── Dolor ── */
.nx-dolor .h2 { max-width: 980px; }
.nx-dolor-lista { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.nx-dolor-lista li { padding: 22px 20px; border-radius: var(--radius); border: 1px solid var(--card-border); background: var(--card); color: var(--text2); font-size: 15px; line-height: 1.6; }
.nx-dolor-lista li span { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--nx); margin-bottom: 12px; }

/* ── Recorrido ── */
.nx-rec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.nx-rec-pasos { list-style: none; }
.nx-rec-pasos li { padding: 34px 0 34px 28px; border-left: 2px solid var(--card-border); min-height: clamp(260px, 46vh, 440px); display: flex; flex-direction: column; justify-content: center; opacity: .42; transition: opacity .5s var(--ease), border-color .5s var(--ease); }
.nx-rec-pasos li.on { opacity: 1; border-color: var(--nx); }
.nx-rec-pasos .n { font-family: var(--font-mono); font-size: 12.5px; color: var(--nx); }
.nx-rec-pasos h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 10px; }
.nx-rec-pasos p { color: var(--text2); font-size: 16.5px; line-height: 1.7; max-width: 460px; }
.nx-rec-visor { position: sticky; top: 120px; height: 440px; border-radius: 22px; border: 1px solid var(--card-border); overflow: hidden;
    background: radial-gradient(500px 300px at 70% 20%, var(--nx-soft), transparent 70%), linear-gradient(180deg, #0d1424, #0a101c); }
.nx-vis { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.nx-vis.on { opacity: 1; transform: none; }
.nx-vis svg { flex: none; }

/* 1 · Instalar */
.nx-instala { width: 330px; display: grid; gap: 14px; }
.nx-zip { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px dashed rgba(148,163,184,.35); font-family: var(--font-mono); font-size: 13px; color: var(--text2); }
.nx-zip i { font-style: normal; font-weight: 500; font-size: 11px; color: var(--nx-ink); background: var(--nx); padding: 8px 6px; border-radius: 6px; }
.nx-instala-barra { height: 6px; border-radius: 3px; background: rgba(148,163,184,.15); overflow: hidden; }
.nx-instala-barra i { display: block; height: 100%; width: 0; background: var(--nx); border-radius: 3px; }
.nx-vis.on .nx-instala-barra i { animation: nxCarga 1.4s var(--ease) .2s forwards; }
@keyframes nxCarga { to { width: 100%; } }
.nx-plugin { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--card-border); }
.nx-plugin b { display: block; font-size: 15px; } .nx-plugin small { color: var(--text3); font-size: 12.5px; }
.nx-switch { width: 44px; height: 24px; border-radius: 12px; background: rgba(148,163,184,.25); position: relative; flex: none; transition: background .3s; }
.nx-switch i { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.nx-vis.on .nx-switch { animation: nxSwitchBg .01s 1.7s forwards; }
.nx-vis.on .nx-switch i { animation: nxSwitch .35s var(--ease) 1.7s forwards; }
@keyframes nxSwitchBg { to { background: var(--nx); } }
@keyframes nxSwitch { to { transform: translateX(20px); } }
.nx-instala-ok { display: inline-flex; align-items: center; gap: 8px; color: #6ee7b7; font-weight: 700; font-size: 14px; opacity: 0; }
.nx-vis.on .nx-instala-ok { animation: nxAparece .4s var(--ease) 2s forwards; }
@keyframes nxAparece { to { opacity: 1; } }

/* 2 · Guía */
.nx-guia { width: 320px; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--card-border); }
.nx-guia-cab { display: flex; justify-content: space-between; align-items: baseline; color: var(--text2); font-size: 14px; }
.nx-guia-cab b { font-size: 22px; color: var(--text); font-variant-numeric: tabular-nums; } .nx-guia-cab em { font-style: normal; }
.nx-guia-prog { height: 8px; border-radius: 4px; background: rgba(148,163,184,.15); margin: 14px 0 16px; overflow: hidden; }
.nx-guia-prog i { display: block; height: 100%; width: 0; background: var(--nx); border-radius: 4px; transition: width 1s var(--ease) .2s; }
.nx-vis.on .nx-guia-prog i { width: 75%; }
.nx-guia ul { list-style: none; display: grid; gap: 8px; }
.nx-guia li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 14px; }
.nx-guia li.ok svg { color: var(--nx); }
.nx-guia li.falta { color: var(--signal); border: 1px dashed rgba(245,179,1,.4); }
.nx-guia li.falta i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--signal); flex: none; }

/* 3 · Elegir complementos */
.nx-elige { width: 340px; display: grid; gap: 14px; }
.nx-elige-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nx-elige-grid span { padding: 14px 12px; border-radius: 12px; border: 1px solid var(--card-border); background: var(--card); font-size: 13.5px; font-weight: 700; color: var(--text2); transition: all .4s var(--ease); }
.nx-vis.on .nx-elige-grid span.on { border-color: var(--nx); background: var(--nx-soft); color: var(--text); transition-delay: calc(.2s + var(--i) * .25s); }
.nx-elige-clave { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: #0b1220; border: 1px solid rgba(52,211,153,.4); font-size: 13px; color: var(--text2); }
.nx-elige-clave svg { color: var(--nx); }
.nx-elige-clave b { font-family: var(--font-mono); font-weight: 500; color: var(--text); letter-spacing: .04em; }
.nx-elige-clave em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: var(--nx-ink); background: var(--nx); padding: 3px 8px; border-radius: 999px; }

/* 4 · Pedido */
.nx-pedido { width: 330px; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--card-border); }
.nx-pedido-cab b { display: block; font-size: 18px; } .nx-pedido-cab span { color: var(--text3); font-size: 13.5px; }
.nx-pedido-tl { list-style: none; margin-top: 18px; display: grid; gap: 12px; position: relative; padding-left: 24px; }
.nx-pedido-tl::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: rgba(148,163,184,.2); }
.nx-pedido-tl li { position: relative; font-size: 14.5px; color: var(--text3); transition: color .3s; }
.nx-pedido-tl li small { color: var(--text3); }
.nx-pedido-tl li::before { content: ''; position: absolute; left: -23px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #0b1220; border: 2px solid rgba(148,163,184,.4); transition: all .3s; }
.nx-vis.on .nx-pedido-tl li { color: var(--text); }
.nx-vis.on .nx-pedido-tl li::before { background: var(--nx); border-color: var(--nx); }
.nx-vis.on .nx-pedido-tl li:nth-child(1), .nx-vis.on .nx-pedido-tl li:nth-child(1)::before { transition-delay: .2s; }
.nx-vis.on .nx-pedido-tl li:nth-child(2), .nx-vis.on .nx-pedido-tl li:nth-child(2)::before { transition-delay: .6s; }
.nx-vis.on .nx-pedido-tl li:nth-child(3), .nx-vis.on .nx-pedido-tl li:nth-child(3)::before { transition-delay: 1s; }
.nx-vis.on .nx-pedido-tl li:nth-child(4), .nx-vis.on .nx-pedido-tl li:nth-child(4)::before { transition-delay: 1.4s; }
.nx-vis.on .nx-pedido-tl li:nth-child(5), .nx-vis.on .nx-pedido-tl li:nth-child(5)::before { transition-delay: 1.8s; }

/* ── Bento ── */
.nx-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.nx-b { position: relative; padding: 26px; border-radius: 18px; border: 1px solid var(--card-border); background: var(--card); overflow: hidden; min-width: 0; }
.nx-b h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin: 12px 0 8px; }
.nx-b p { color: var(--text2); font-size: 15px; line-height: 1.65; }
.nx-b-grande { grid-row: span 2; background: radial-gradient(420px 260px at 90% 100%, var(--nx-soft), transparent 70%), var(--card); }
.nx-b-ancha { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.nx-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--nx); }
.nx-tabla { margin-top: 24px; border-radius: 12px; border: 1px solid var(--card-border); overflow: hidden; font-size: 13px; }
.nx-tabla > div { display: grid; grid-template-columns: minmax(0, 2fr) .7fr .9fr .7fr; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); color: var(--text2); }
.nx-tabla > div span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-tabla > div.h { border-top: 0; background: rgba(255,255,255,.03); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text3); }
.nx-tabla > div span:first-child { color: var(--text); font-weight: 600; }
.nx-tabla .sin { color: #fca5a5; }
.nx-tabla i { font-style: normal; } .nx-tabla i.si { color: var(--nx); font-weight: 700; }
.nx-rayo { display: grid; gap: 6px; margin-top: 18px; }
.nx-rayo i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--nx), transparent); width: 100%; transition: width .8s var(--ease); }
.js .nx-b:not(.in) .nx-rayo i { width: 0; }
.nx-rayo i:nth-child(2) { transition-delay: .12s; max-width: 80%; } .nx-rayo i:nth-child(3) { transition-delay: .24s; max-width: 60%; }
.nx-peso { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; margin-top: 18px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text3); }
.nx-peso i { height: 10px; border-radius: 5px; background: rgba(252,165,165,.55); width: var(--w); }
.nx-peso i.liv { background: var(--nx); }
.nx-version { display: grid; gap: 10px; }
.nx-version-fila { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--card-border); font-size: 14px; color: var(--text2); }
.nx-version-fila b { font-size: 13px; color: var(--nx-ink); background: var(--nx); padding: 6px 12px; border-radius: 8px; }
.nx-version-fila em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #6ee7b7; }

.nx-mas { margin-top: 44px; }
.nx-mas-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.nx-mas-cab h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.nx-mas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nx-mas-grid .nx-b { border-style: dashed; border-color: rgba(52,211,153,.35); }
.nx-mas-grid { align-items: start; }
.nx-b-lista { grid-column: 1 / -1; }
.nx-b-lista ul { list-style: none; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.nx-b-lista a { display: inline-block; padding: 5px 10px; border-radius: 999px; background: rgba(148,163,184,.1); font-size: 12.5px; color: var(--text2); text-decoration: none; transition: background .2s, color .2s; }
.nx-b-lista a:hover { background: var(--nx-soft); color: var(--text); }

/* ── Precios (partial de Nexo): solo se ajusta el marco ── */
.nx-precios { position: relative; }
.nx-precios > .sec { padding-top: 120px !important; }
.nx-precios .wnx-comp { background: var(--card); border-color: var(--card-border); }
.nx-precios .wnx-comp.on { border-color: var(--nx); background: var(--nx-soft); }
.nx-precios .wnx-filtros button:focus-visible, .nx-precios .wnx-add:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

/* ── Requisitos + cross ── */
.nx-encaja { padding-top: 40px; }
.nx-encaja-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.nx-req { list-style: none; margin-top: 32px; display: grid; gap: 10px; }
.nx-req li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--card-border); background: var(--card); font-size: 15px; color: var(--text2); }
.nx-req svg { color: var(--nx); margin-top: 4px; }
.nx-cross { display: grid; gap: 14px; }
.nx-cross-k { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text3); }
.nx-cross-i { display: grid; gap: 6px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--card-border); background: var(--card); text-decoration: none; transition: border-color .2s; }
.nx-cross-i:hover { border-color: rgba(52,211,153,.5); }
.nx-cross-i b { font-size: 17px; }
.nx-cross-i span { color: var(--text2); font-size: 14.5px; line-height: 1.55; }
.nx-cross-i em { font-style: normal; font-family: var(--font-mono); font-size: 13px; color: var(--nx); }

/* ── Límites y cierre ── */
.nx-limites { margin-top: 30px; padding: 22px; border-radius: 16px; border: 1px solid var(--card-border); background: var(--card); }
.nx-limites b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text3); }
.nx-limites ul { margin: 12px 0 0 18px; display: grid; gap: 8px; color: var(--text2); font-size: 14.5px; line-height: 1.55; }
.nx-docs { margin-top: 18px; color: var(--text2); font-size: 14.5px; }
.nx-docs a { color: var(--nx); font-weight: 600; }
.nx-final { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px; border-radius: 28px; border: 1px solid var(--card-border);
    background: radial-gradient(600px 300px at 0% 100%, var(--nx-soft), transparent 70%), var(--card); }
.nx-final-piezas { position: relative; width: 300px; height: 280px; }
.nx-final-piezas span { position: absolute; left: 50%; top: 50%; padding: 8px 12px; border-radius: 10px; background: #101a2c; border: 1px solid rgba(52,211,153,.45); font-size: 12.5px; font-weight: 700; white-space: nowrap;
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 90deg - 45deg)) translateY(-128px) rotate(calc(var(--i) * -90deg + 45deg)); }
.nx-final-piezas .core { display: grid; place-items: center; width: 116px; height: 116px; padding: 0; border-radius: 26px; background: linear-gradient(160deg, var(--nx), var(--nx-2)); color: var(--nx-ink); font-size: 16px; text-align: center; line-height: 1.1;
    transform: translate(-50%, -50%) rotate(-6deg); box-shadow: 0 30px 60px -20px rgba(16,185,129,.55); border: 0; }
.nx-final-piezas .core small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; margin-top: 4px; }

/* ── Responsive ── */
@media (max-width: 1080px) {
    .nx-hero-grid, .nx-rec, .nx-encaja-grid { grid-template-columns: 1fr; }
    .nx-escena { height: 460px; }
    .nx-rec-visor { display: none; }
    .nx-rec-pasos li { min-height: 0; opacity: 1; border-color: var(--nx); padding: 22px 0 22px 22px; }
    .nx-dolor-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-bento, .nx-mas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-b-grande { grid-row: auto; grid-column: span 2; }
    .nx-b-ancha { grid-column: span 2; }
    .nx-final { grid-template-columns: 1fr; padding: 36px 28px; }
    .nx-final-piezas { display: none; }
}
@media (max-width: 680px) {
    .nx-hero { padding-top: 120px; }
    .nx .wrap { padding: 0 16px; }
    .nx-escena { height: 420px; }
    .nx-flota-clave { display: none; }
    .nx-flota-pedido { bottom: 0; }
    .nx-th-local { transform: scale(.86); }
    .nx-th-riel span { font-size: 12px; padding: 7px 10px; }
    .nx-dolor-lista, .nx-bento, .nx-mas-grid { grid-template-columns: 1fr; }
    .nx-b-grande, .nx-b-ancha, .nx-b-lista { grid-column: auto; }
    .nx-b-ancha { grid-template-columns: 1fr; }
    .nx-tabla > div { grid-template-columns: minmax(0, 1.6fr) .6fr .9fr .6fr; font-size: 12px; padding: 9px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .nx-cinta-track, .js .nx-th-riel span { animation: none; }
    .nx-vis, .nx-vis * { transition: none !important; animation: none !important; }
    .nx-instala-barra i { width: 100%; } .nx-switch { background: var(--nx); } .nx-switch i { transform: translateX(20px); } .nx-instala-ok { opacity: 1; }
    .nx-rayo i { width: 100%; transition: none; }
}
