/* Tienda v2 (/tienda/v2). Usa los tokens y piezas de tienda.css; aquí solo lo nuevo. Se carga solo en /tienda/v2. */
html { scroll-padding-top: var(--alto-barra, 66px); } /* bajar a cada paso queda justo bajo la barra */
.pie-sucursales { display: none; } /* en v2 las sucursales tienen su propia sección */
.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.v2-hueco:empty { display: none; }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--grafito); color: var(--sobre-grafito); }
.chip[aria-pressed="true"] small, .chip[aria-current="true"] small { color: var(--sobre-grafito-2); }
.chip:hover:not([aria-pressed="true"]):not([aria-current="true"]) { background: var(--hoja-2); }
.chip-tenue { background: transparent; box-shadow: inset 0 0 0 2px var(--hoja-2); }
.v2-tit h2 { font-family: var(--letra-ancha); font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 4.2vw, 46px); letter-spacing: -0.035em; line-height: 1; }
.v2-tit p { margin-top: 10px; color: var(--tinta-2); font-size: 17px; }
.v2-tit h2:focus { outline: none; }
.v2-paso { padding-top: 56px; scroll-margin-top: -32px; }
.v2-vacio { margin-top: 18px; color: var(--tinta-2); }
.v2-gris { color: var(--tinta-2); font-size: 15px; }
.v2-nota { color: var(--ojo); font-weight: 600; font-size: 15px; }

/* imágenes de motos: foto oficial sobre blanco; si no hay, el dibujo del cuadro de la lámina */
.v2-moto-img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; display: block; }
.v2-marca-foto, .v2-tipo-foto, .v2-modelo-foto, .v2-dsp-mini { position: relative; }
.v2-marca-foto > .v2-moto-img, .v2-tipo-foto > .v2-moto-img, .v2-modelo-foto > .v2-moto-img, .v2-dsp-mini > .v2-moto-img { position: absolute; inset: 0; }
.v2-moto-img.es-dibujo { padding: 6%; mix-blend-mode: multiply; }
.sin-img { display: grid; place-items: center; width: 100%; height: 100%; padding: 8px; text-align: center; font-family: var(--letra-ancha); font-weight: 800; font-stretch: 112%; font-size: 24px; letter-spacing: -0.03em; color: #c9cbd0; overflow-wrap: anywhere; }

/* ---------- portada + marca ---------- */
.v2-portada { background: var(--grafito); color: var(--sobre-grafito); }
.v2-portada-in { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 40px; }
@media (min-width: 960px) { .v2-portada-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 64px; } }
.v2-portada h1 { font-family: var(--letra-ancha); font-weight: 800; font-stretch: 112%; font-size: clamp(42px, 7.2vw, 88px); letter-spacing: -0.04em; line-height: 0.92; }
.v2-portada-txt p { margin-top: 18px; font-size: 18px; line-height: 1.5; color: var(--sobre-grafito-2); max-width: 36ch; }
.v2-portada :focus-visible { outline-color: #fff; }
.btn-blanco { background: #fff; color: #17181a; margin-top: 24px; min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-blanco:hover { background: #e9e9eb; }
.v2-marcas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 960px) { .v2-marcas { gap: 16px; } }
.v2-marca { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); text-align: left; border: 0; padding: 0; border-radius: 18px; overflow: hidden;
  background: #fff; color: #17181a; font: inherit; cursor: pointer; transition-property: scale, translate; transition-duration: 0.2s; transition-timing-function: var(--suave); }
button.v2-marca:hover { translate: 0 -3px; }
button.v2-marca:active { scale: 0.98; }
.v2-marca[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--rojo); }
.v2-marca-foto { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #fff; }
.v2-marca-letra { font-family: var(--letra-ancha); font-weight: 800; font-stretch: 125%; font-size: clamp(34px, 6vw, 64px); letter-spacing: -0.04em; color: #c9cbd0; }
.v2-marca-txt { display: grid; gap: 4px; padding: 14px 16px 18px; align-content: start; background: #f3f3f4; }
.v2-marca-txt b { font-family: var(--letra-ancha); font-weight: 800; font-stretch: 112%; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1; }
.v2-marca-txt small { font-size: 14px; color: #4f5157; line-height: 1.35; }

/* ---------- tipos ---------- */
.v2-tipos { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .v2-tipos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1180px) { .v2-tipos { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.v2-tipo, .v2-modelo-btn { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); align-content: start; text-align: left; border: 0; font: inherit; color: inherit;
  background: var(--hoja); border-radius: var(--r); padding: 6px 6px 14px; cursor: pointer;
  transition-property: scale, translate, background-color; transition-duration: 0.18s; transition-timing-function: var(--suave); }
.v2-tipo:hover, .v2-modelo-btn:hover { translate: 0 -2px; }
.v2-tipo:active, .v2-modelo-btn:active { scale: 0.98; }
.v2-tipo[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--rojo); }
.v2-tipo-foto, .v2-modelo-foto { display: block; aspect-ratio: 4 / 3; background: #fff; border-radius: 10px; overflow: hidden; }
.v2-tipo b { display: block; padding: 10px 8px 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.v2-tipo small { display: block; padding: 2px 8px 0; color: var(--tinta-2); font-size: 14px; font-variant-numeric: tabular-nums; }

/* ---------- modelos ---------- */
.v2-modelos-cab { display: grid; gap: 16px; align-items: end; }
@media (min-width: 900px) { .v2-modelos-cab { grid-template-columns: minmax(0, 1fr) 380px; } }
.v2-filtro input { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: var(--hoja); padding: 0 22px; font: inherit; font-size: 17px; color: var(--tinta);
  box-shadow: inset 0 0 0 2px var(--hoja-2); }
.v2-filtro input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--foco); }
.v2-modelos { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; grid-auto-flow: dense; }
@media (min-width: 720px) { .v2-modelos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .v2-modelos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.v2-modelo { min-width: 0; scroll-margin-top: 12px; }
.v2-modelo-txt { display: grid; gap: 2px; padding: 10px 8px 0; min-width: 0; }
.v2-modelo-txt b { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; overflow-wrap: anywhere; }
.v2-modelo-txt small { color: var(--tinta-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.v2-colores { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; }
.v2-colores small { font-size: 12px; margin-left: 2px; }
.v2-swatch { display: inline-flex; width: 16px; height: 16px; border-radius: 99px; overflow: hidden; box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.15); flex: none; }
.v2-swatch i { flex: 1; }
.v2-modelo.abierta { grid-column: 1 / -1; background: var(--hoja); border-radius: calc(var(--r) + 4px); padding: 8px; box-shadow: inset 0 0 0 3px var(--rojo); }
.v2-modelo.abierta .v2-modelo-btn { padding: 0; height: auto; grid-template-rows: none; grid-template-columns: minmax(0, 1fr); }
.v2-modelo.abierta .v2-modelo-btn:hover { translate: none; }
.v2-modelo.abierta .v2-modelo-txt b { font-family: var(--letra-ancha); font-stretch: 112%; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.03em; line-height: 1; }
.v2-modelo.abierta .v2-modelo-txt small { font-size: 16px; }
@media (min-width: 720px) {
  .v2-modelo.abierta { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 28px; padding: 12px; }
  .v2-modelo.abierta .v2-modelo-btn { grid-template-columns: minmax(0, 1fr); }
}
.v2-anios { padding: 14px 8px 8px; animation: v2-sube 0.28s var(--suave); align-self: center; }
.v2-anios > p { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.v2-anios-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.v2-anios-chips .chip { min-height: 48px; font-size: 17px; padding: 0 18px; background: var(--fondo); font-variant-numeric: tabular-nums; }
.v2-anios-chips .chip-tenue { background: transparent; }
@media (min-width: 720px) {
  .v2-anios { grid-column: 2; grid-row: 1; padding: 12px 8px; }
}
@keyframes v2-sube { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

/* ---------- despiece ---------- */
.v2-despiece { padding-top: 56px; scroll-margin-top: -44px; }
.v2-dsp-cab { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 16px; align-items: center; }
@media (min-width: 720px) { .v2-dsp-cab { grid-template-columns: 128px minmax(0, 1fr) auto; } }
.v2-dsp-mini { display: block; aspect-ratio: 4 / 3; background: #fff; border-radius: 12px; overflow: hidden; }
.v2-dsp-cab h2 { font-family: var(--letra-ancha); font-weight: 800; font-stretch: 112%; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.035em; line-height: 1; }
.v2-dsp-cab h2:focus { outline: none; }
.v2-dsp-cab-txt { display: grid; gap: 6px; min-width: 0; }
.v2-dsp-cab-txt > p { color: var(--tinta-2); }
.v2-versiones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.v2-versiones .chip { min-height: 40px; font-size: 14px; padding: 0 14px 0 10px; }
.v2-cambiar { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 720px) { .v2-cambiar { grid-column: auto; } }

.v2-suc-chips { display: grid; gap: 8px; margin-top: 16px; background: var(--hoja); border-radius: var(--r); padding: 12px 16px 14px; }
.v2-suc-chips p { font-weight: 800; }
@media (min-width: 1024px) { .v2-suc-chips { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 8px 8px 8px 18px; } .v2-suc-chips .chips { margin: 0; padding: 0; } }
.v2-suc-chips .chips { margin: 0 -16px; padding: 2px 16px; }
.v2-suc-chips .chip { background: var(--fondo); }

.v2-dsp-grid { display: grid; gap: 14px; margin-top: 14px; align-items: start; }
@media (min-width: 1024px) { .v2-dsp-grid { grid-template-columns: 210px minmax(0, 1fr) 340px; gap: 14px; } }
@media (min-width: 1200px) { .v2-dsp-grid { grid-template-columns: 220px minmax(0, 1fr) 370px; } }
.v2-despiece .contenedor { max-width: 1480px; }

/* sistemas (escritorio) */
.v2-sistemas { display: none; }
@media (min-width: 1024px) {
  .v2-sistemas { display: grid; gap: 4px; background: var(--hoja); border-radius: var(--r); padding: 8px; position: sticky; top: calc(var(--alto-barra, 66px) + 12px);
    max-height: calc(100dvh - var(--alto-barra, 66px) - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .v2-sis-chips, .v2-tira { display: none !important; }
}
.v2-sis-cab { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px;
  background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; transition-property: background-color; transition-duration: 0.15s; }
.v2-sis-cab:hover { background: var(--fondo); }
.v2-sis-cab b { font-weight: 700; font-size: 15px; }
.v2-sis-cab small { color: var(--tinta-2); font-variant-numeric: tabular-nums; font-size: 13px; }
.v2-sis-cab[aria-expanded="true"] { background: var(--grafito); color: var(--sobre-grafito); }
.v2-sis-cab[aria-expanded="true"] small { color: var(--sobre-grafito-2); }
.v2-sis-minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px 2px 10px; }
.v2-mini { display: grid; gap: 4px; align-content: start; border: 0; background: none; padding: 4px; border-radius: 10px; font: inherit; color: inherit; cursor: pointer; text-align: left;
  transition-property: background-color, scale; transition-duration: 0.15s; transition-timing-function: var(--suave); }
.v2-mini img { width: 100%; aspect-ratio: 16 / 11; object-fit: contain; background: #fff; border-radius: 6px; outline: 1px solid var(--contorno-foto); outline-offset: -1px; }
.v2-mini span { font-size: 12.5px; line-height: 1.2; overflow-wrap: anywhere; }
.v2-mini:hover { background: var(--fondo); }
.v2-mini:active { scale: 0.97; }
.v2-mini[aria-current] { background: var(--rojo-suave); }
.v2-mini[aria-current] img { outline: 2px solid var(--rojo); outline-offset: -2px; }
.v2-mini[aria-current] span { font-weight: 700; color: var(--rojo-texto); }

/* sistemas (celular): chips y tira de miniaturas */
.v2-sis-chips { margin: 0 -16px; }
.v2-tira { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 8px -16px 0; padding: 0 16px 2px; scroll-snap-type: x proximity; }
.v2-tira::-webkit-scrollbar { display: none; }
.v2-tira .v2-mini { flex: 0 0 112px; scroll-snap-align: start; background: var(--hoja); }
.v2-tira .v2-mini[aria-current] { background: var(--rojo-suave); }

/* visor */
.v2-col-visor { min-width: 0; }
.v2-visor { margin: 10px -16px 0; background: #fff; color: #17181a; position: relative; }
@media (min-width: 720px) { .v2-visor { margin: 10px 0 0; border-radius: var(--r); overflow: hidden; } }
@media (min-width: 1024px) { .v2-visor { margin: 0; position: sticky; top: calc(var(--alto-barra, 66px) + 12px); } }
.v2-visor-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 12px 4px 16px; }
.v2-visor-cab h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; overflow-wrap: anywhere; }
.v2-lam-n { display: block; font-size: 13px; color: #4f5157; font-variant-numeric: tabular-nums; }
.v2-visor-nav { display: flex; gap: 6px; flex: none; }
.v2-flecha, .v2-zoom-btn { min-width: 44px; height: 44px; border: 0; border-radius: 999px; background: #f0f0f2; color: #17181a; display: inline-grid; place-items: center; cursor: pointer;
  transition-property: background-color, scale; transition-duration: 0.15s; transition-timing-function: var(--suave); font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; }
.v2-flecha:hover:not(:disabled), .v2-zoom-btn:hover { background: #e2e2e6; }
.v2-flecha:active:not(:disabled), .v2-zoom-btn:active { scale: 0.94; }
.v2-flecha:disabled { opacity: 0.35; cursor: default; }
.v2-escenario { position: relative; overflow: hidden; aspect-ratio: 17 / 11; touch-action: pan-y; cursor: zoom-in; background: #fff; }
.v2-escenario.acercada { touch-action: none; cursor: grab; }
.v2-escenario:focus-visible { outline-offset: -3px; }
.v2-lam-img { width: 100%; height: 100%; object-fit: contain; transform-origin: center; user-select: none; -webkit-user-drag: none; }
.v2-escenario:not(.acercada) .v2-lam-img { transition: transform 0.25s var(--suave); }
.v2-zoom { display: flex; gap: 6px; align-items: center; padding: 6px 12px 12px; }
.v2-ver-grande { padding: 0 16px; margin-left: auto; }

/* lista numerada */
.v2-col-lista { background: var(--hoja); border-radius: var(--r); min-width: 0; }
@media (min-width: 1024px) { .v2-col-lista { position: sticky; top: calc(var(--alto-barra, 66px) + 12px); max-height: calc(100dvh - var(--alto-barra, 66px) - 24px);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
.v2-lista-cab { padding: 14px 16px 8px; position: sticky; top: 0; background: var(--hoja); z-index: 1; }
.v2-lista-cab h3 { font-size: 17px; font-weight: 800; }
.v2-leyenda { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; color: var(--tinta-2); margin-top: 2px; }
.v2-leyenda .v2-punto + .v2-punto, .v2-leyenda .v2-punto:not(:first-child) { margin-left: 8px; }
.v2-lista { list-style: none; margin: 0; padding: 0 6px 8px; }
.v2-fila { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 10px; align-items: center; gap: 10px; min-height: 60px; padding: 8px 10px;
  border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 10px; transition-property: background-color; transition-duration: 0.12s; }
.v2-fila:hover { background: var(--fondo); }
.v2-fila[aria-expanded="true"] { background: var(--rojo-suave); }
.v2-pos { width: 32px; height: 32px; border-radius: 99px; background: var(--hoja-2); display: grid; place-items: center; font-weight: 800; font-size: 14px;
  font-variant-numeric: tabular-nums; transition-property: background-color, color; transition-duration: 0.15s; }
.v2-fila[aria-expanded="true"] .v2-pos, .v2-fila:hover .v2-pos { background: var(--rojo); color: var(--sobre-rojo); }
.v2-fila-txt { display: grid; min-width: 0; }
.v2-fila-txt b { font-weight: 600; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.v2-fila-txt small { font-size: 12.5px; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.v2-fila-precio { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v2-fila-precio small { font-weight: 600; color: var(--tinta-2); font-size: 13px; }
.v2-punto { display: inline-block; width: 10px; height: 10px; border-radius: 99px; background: #b5b7bc; flex: none; }
.v2-punto.si { background: #1f9d55; }
.v2-fila-carga { height: 52px; margin: 6px 4px; border-radius: 10px; background: var(--fondo); animation: v2-late 1.2s ease-in-out infinite alternate; }
@keyframes v2-late { from { opacity: 1; } to { opacity: 0.45; } }

/* detalle de pieza */
.v2-detalle { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px 14px; padding: 14px 12px 16px; margin: 2px 0 8px; background: var(--fondo); border-radius: 12px;
  animation: v2-sube 0.22s var(--suave); }
.v2-det-foto .foto { aspect-ratio: 1; }
.v2-det-lam { display: grid; gap: 4px; }
.v2-det-lam img { background: #fff; border-radius: 8px; aspect-ratio: 1; object-fit: contain; outline: 1px solid var(--contorno-foto); outline-offset: -1px; }
.v2-det-lam b { font-size: 12px; color: var(--tinta-2); }
.v2-det-txt { display: grid; gap: 4px; align-content: start; min-width: 0; }
.v2-det-nombre { font-size: 18px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.v2-det-nombre:focus { outline: none; }
.v2-det-clave { font-size: 13px; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.v2-det-precio { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.v2-det-precio small { white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--tinta-2); letter-spacing: 0; }
.v2-det-exist, .v2-det-nota, .v2-det-comprar, .v2-det-ficha, .v2-detalle > .btn { grid-column: 1 / -1; }
.v2-det-exist { display: grid; gap: 6px; background: var(--hoja); border-radius: 10px; padding: 10px 12px; }
.v2-ex { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.v2-ex.si { color: var(--ok); }
.v2-ex-otras { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.v2-ex-otras li { display: flex; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; }
.v2-det-comprar { display: flex; gap: 10px; align-items: center; }
.v2-det-comprar .paso { background: var(--hoja); }
.v2-det-comprar .btn { flex: 1; }
.v2-det-ficha { font-size: 14px; justify-self: start; min-height: 32px; display: inline-flex; align-items: center; }

/* hoja inferior (celular) */
.v2-hoja { margin: auto 0 0; width: 100vw; max-width: 100vw; max-height: 88dvh; border: 0; padding: 0 0 env(safe-area-inset-bottom); border-radius: 22px 22px 0 0;
  background: var(--hoja); color: var(--tinta); overflow-y: auto; overscroll-behavior: contain; }
.v2-hoja[open] { animation: v2-hoja 0.3s var(--suave); }
.v2-hoja::backdrop { background: oklch(0 0 0 / 0.45); animation: aparece 0.3s var(--suave); }
@keyframes v2-hoja { from { translate: 0 100%; } to { translate: 0 0; } }
.v2-hoja-asa { width: 44px; height: 5px; border-radius: 99px; background: var(--hoja-2); margin: 10px auto 0; }
.v2-hoja-cerrar { position: absolute; top: 8px; right: 8px; }
.v2-hoja .v2-detalle { margin: 0; background: none; padding: 14px 16px 20px; grid-template-columns: 128px minmax(0, 1fr); animation: none; }
.v2-hoja .v2-det-txt { padding-right: 36px; }
.v2-hoja .v2-det-exist { background: var(--fondo); }
.v2-hoja .v2-det-comprar .paso { background: var(--fondo); }

.v2-sin-despiece { display: grid; gap: 12px; justify-items: start; background: var(--hoja); border-radius: var(--r); padding: 28px 24px; }
.v2-sin-despiece h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }

/* ---------- sucursales ---------- */
.v2-sucursales { padding: 56px 0 64px; background: var(--hoja); }
.v2-hueco[data-paso="sucursales"] { margin-top: 48px; }
.v2-sucs { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .v2-sucs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .v2-sucs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .v2-sucs:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.v2-suc { background: var(--fondo); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.v2-suc-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.v2-suc h3 { font-family: var(--letra-ancha); font-weight: 800; font-stretch: 112%; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.035em; line-height: 1; }
.v2-suc-txt > p { font-size: 16px; }
.v2-suc-hor { color: var(--tinta-2); }
.v2-abierto { justify-self: start; font-size: 14px; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.v2-abierto.si { background: var(--ok-suave); color: var(--ok); }
.v2-abierto.no { background: var(--hoja-2); color: var(--tinta-2); }
.v2-suc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.v2-suc-btns { margin-top: auto; padding-top: 6px; }
@media (min-width: 720px) { .v2-suc-btns { order: 2; } }
.v2-suc-btns .btn { background: var(--hoja); }
.v2-suc-btns .btn:hover { background: var(--hoja-2); }
.v2-suc .liga { font-size: 15px; justify-self: start; min-height: 32px; display: inline-flex; align-items: center; }
.v2-mapa { position: relative; display: block; height: 180px; flex: none; overflow: hidden; background: #e8e6e1; }
.v2-mapa-mos { position: absolute; width: 768px; height: 512px; }
.v2-mapa-mos img { position: absolute; width: 256px; height: 256px; max-width: none; }
@media (min-width: 720px) { .v2-mapa { height: auto; aspect-ratio: 2 / 1; } .v2-sucs:has(> :nth-child(4):last-child) .v2-mapa { aspect-ratio: 5 / 2; } }
.v2-pin { position: absolute; left: 50%; top: 50%; translate: -50% -100%; color: var(--rojo); }
.v2-pin .ico { fill: var(--rojo); stroke: #fff; stroke-width: 1.6; }
.v2-osm { position: absolute; right: 6px; bottom: 4px; font-size: 11px; background: oklch(1 0 0 / 0.8); color: #333; padding: 0 4px; border-radius: 3px; }

/* carrito v2: entrega y desglose (tienda.js con ES_V2) */
.entrega { border: 0; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.entrega legend { font-weight: 700; margin-bottom: 6px; }
.entrega label { display: flex; align-items: center; gap: 10px; min-height: 48px; background: var(--hoja); border-radius: var(--r-chico); padding: 0 14px; cursor: pointer; }
.entrega input { width: 20px; height: 20px; accent-color: var(--rojo); }
.desglose { margin: 0 0 10px; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.desglose div { display: flex; justify-content: space-between; gap: 12px; }
.desglose dt, .desglose dd { margin: 0; }
.desglose dd { text-align: right; }
.desglose-total { font-size: 18px; font-weight: 800; border-top: 1px solid var(--hoja-2); padding-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  .v2-anios, .v2-detalle, .v2-hoja[open], .v2-hoja::backdrop, .v2-fila-carga { animation: none; }
  .v2-marca, .v2-tipo, .v2-modelo-btn, .v2-mini, .v2-escenario .v2-lam-img { transition-duration: 0s !important; }
}
.v2-sin-dibujo { display: none; position: absolute; inset: 0; place-content: center; text-align: center; padding: 24px; font-weight: 600; color: #4f5157; background: #f7f7f8; }
.es-sin-dibujo .v2-sin-dibujo { display: grid; }
.v2-mini.es-sin-dibujo img { opacity: 0.25; }

/* ---------- pulido 22-nov (segunda vuelta) ---------- */
/* foto real con fundido; la silueta por tipo es SVG propio y nunca finge ser la moto */
img.v2-moto-img { opacity: 0; transition-property: opacity; transition-duration: 0.25s; transition-timing-function: var(--suave); }
img.v2-moto-img.lista { opacity: 1; }
.v2-marca-foto:has(> img:not(.lista)), .v2-tipo-foto:has(> img:not(.lista)), .v2-modelo-foto:has(> img:not(.lista)) { background: var(--hoja-2); animation: v2-late 1.2s ease-in-out infinite alternate; }
.v2-sil { color: #a3a7af; stroke-width: 3; padding: 14% 10%; }
.v2-marca-foto:has(> .v2-sil), .v2-tipo-foto:has(> .v2-sil) { background: var(--fondo); }
.v2-sub { margin: 34px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.v2-sub[hidden], .v2-modelos[hidden], .v2-modelos-c[hidden] { display: none; }

/* lista compacta de "Más modelos": sin foto, nombre + cc + años + colores */
.v2-modelos-c { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; grid-auto-flow: dense; }
@media (min-width: 720px) { .v2-modelos-c { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1100px) { .v2-modelos-c { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v2-modelo-c { min-width: 0; background: var(--hoja); border-radius: var(--r); scroll-margin-top: 12px; }
.v2-modelo-c .v2-modelo-btn { height: auto; grid-template-columns: 64px minmax(0, 1fr) 20px; grid-template-rows: none; align-items: center; align-content: center; gap: 12px; min-height: 68px;
  padding: 8px 14px 8px 8px; background: none; color: inherit; }
.v2-modelo-c .v2-modelo-btn:hover { background: var(--fondo); translate: none; border-radius: var(--r); }
.v2-modelo-c .v2-modelo-txt { padding: 0; }
.v2-modelo-c .v2-modelo-txt b { font-size: 17px; }
.v2-modelo-c .v2-modelo-btn > .ico { color: var(--tinta-2); transition-property: rotate; transition-duration: 0.2s; transition-timing-function: var(--suave); }
.v2-modelo-c .v2-modelo-btn[aria-expanded="true"] > .ico { rotate: 180deg; }
.v2-sil-caja { display: grid; place-items: center; width: 64px; height: 48px; border-radius: 10px; background: var(--fondo); }
.v2-sil-caja .v2-sil { width: 100%; height: 100%; padding: 6px 4px; }
.v2-modelo-c.abierta { grid-column: 1 / -1; box-shadow: inset 0 0 0 3px var(--rojo); }
.v2-modelo-c.abierta .v2-modelo-btn:hover { background: none; }
.v2-modelo-c .v2-anios { padding: 4px 14px 16px; grid-column: auto; grid-row: auto; }

/* esqueletos de carga */
.v2-esq { display: block; border-radius: 12px; background: var(--hoja-2); animation: v2-late 1.2s ease-in-out infinite alternate; }
.v2-portada .v2-esq { background: var(--grafito-2); }
.v2-esq-marca { aspect-ratio: 3 / 3.4; border-radius: 18px; }
.v2-despiece[role="status"] { padding-top: 56px; }
.v2-esq-grid { display: grid; gap: 14px; }
@media (min-width: 1024px) { .v2-esq-grid { grid-template-columns: minmax(0, 1fr) 370px; } }
.v2-esq-visor { aspect-ratio: 17 / 11; border-radius: var(--r); }
.v2-esq-fila { height: 56px; margin: 0 0 8px; }
.v2-esq-lista { display: grid; align-content: start; }
@media (prefers-reduced-motion: reduce) { .v2-esq, .v2-marca-foto, .v2-tipo-foto, .v2-modelo-foto { animation: none !important; } img.v2-moto-img { transition-duration: 0s; } }

/* Vento: "Bajo pedido, se confirma" */
.v2-fila-txt .v2-estado { color: var(--ojo); font-weight: 600; }

/* portada más compacta en celular: las marcas con foto caben en la primera pantalla */
.v2-portada-in { padding-top: 28px; padding-bottom: 32px; gap: 20px; }
.v2-portada-txt p { margin-top: 12px; font-size: 17px; text-wrap: pretty; }
@media (min-width: 960px) { .v2-portada-in { padding-top: 64px; padding-bottom: 64px; gap: 48px; } }

/* sucursales sin dirección: una franja, no tarjetas vacías */
.v2-suc-mas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 16px; padding: 16px 20px; background: var(--fondo); border-radius: var(--r); }
.v2-suc-mas p { flex: 1 1 280px; font-size: 16px; }
.v2-suc-mas .btn { background: var(--hoja); }

/* carrito: municipio del envío */
.envio-zona { display: grid; gap: 10px; margin-top: 16px; }
.envio-zona .envio { margin: 0; font-weight: 600; }
.envio-zona select { width: 100%; }

/* lo más buscado */
.v2-busc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .v2-busc { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.v2-busc a { display: grid; gap: 4px; height: 100%; padding: 10px; background: var(--hoja); border-radius: var(--r); color: inherit; text-decoration: none; align-content: start; }
.v2-busc a:hover { background: var(--rojo-suave); }
.v2-busc img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 8px; }
.v2-busc b { font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.v2-busc span { font-weight: 800; font-variant-numeric: tabular-nums; }
.v2-busc small { font-size: 12px; color: var(--tinta-2); line-height: 1.25; }
.v2-suc-ref { font-size: 14px; color: var(--tinta-2); }
