/* PAP STORE — configurador (paramotor / frame kit), mismo lenguaje que el main site */
/* a pantalla completa: la foto se lleva todo el ancho que sobra */
.cfg-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 30vw, 480px);
  gap: clamp(16px, 2vw, 26px); align-items: start;
  padding: 10px clamp(16px, 2.5vw, 32px) 0;
}
/* frame kit: la foto es mas pequena, asi que el panel de opciones se lleva mas ancho */
.cfg-layout.wide-panel { grid-template-columns: minmax(0, 1fr) clamp(360px, 44vw, 760px); }
.cfg-stage {
  position: sticky; top: calc(var(--bar) + 16px);
  background: #fff; border-radius: 22px;
  box-shadow: 0 2px 4px rgba(20,20,18,0.04), 0 14px 32px rgba(20,20,18,0.07);
  height: calc(100vh - var(--bar) - 32px); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 2vw, 28px);
}
.cfg-canvas { position: relative; width: 100%; height: 100%; }
.cfg-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
/* especificaciones del motor elegido, sobre la foto (arriba a la izquierda) */
.cfg-specs { position: absolute; z-index: 20; top: clamp(18px, 2.6vw, 40px); left: clamp(18px, 2.6vw, 40px); width: clamp(210px, 24%, 300px); }
.cfg-specs:empty { display: none; }
.cfg-specs .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(20,20,18,0.09); }
.cfg-specs .ttl { font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; color: #141412; margin-bottom: 12px; white-space: nowrap; }
.cfg-specs .ttl + .row { border-top: 1px solid rgba(20,20,18,0.09); }
.cfg-specs .k { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #6B6B66; white-space: nowrap; }
.cfg-specs .v { font-size: 12.5px; font-weight: 700; color: var(--ink); text-align: right; }
/* descargar la configuracion en PDF, arriba a la derecha de la foto */
.cfg-pdf {
  position: absolute; z-index: 20; top: clamp(14px, 2vw, 28px); right: clamp(14px, 2vw, 28px);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--ink); background: #fff;
  border: 1px solid rgba(20,20,18,0.35); border-radius: 999px; padding: 9px 16px 9px 13px;
  transition: color .18s, border-color .18s;
}
.cfg-pdf:hover { color: var(--red); border-color: var(--red); }
.cfg-pdf:disabled { cursor: default; color: var(--muted); border-color: var(--line); }
.cfg-panel { padding: 0 0 40px; container-type: inline-size; }
/* configurador de paramotor (.cfg-fixed): la pantalla queda fija (foto + panel) sin escalon al
   empezar a bajar; lo que se desplaza es el panel de opciones y, al llegar a su final, la pagina
   sigue bajando hacia los detalles */
@media (min-width: 901px) and (hover:hover), (min-width: 901px) and (pointer:fine), (min-width: 901px) and (orientation:landscape) {
  .cfg-layout.cfg-fixed { height: calc(100vh - var(--bar)); box-sizing: border-box; padding-top: 16px; padding-bottom: 16px; align-items: stretch; }
  .cfg-fixed .cfg-stage { position: relative; top: auto; height: 100%; }
  .cfg-fixed .cfg-panel { height: calc(100% + 4px); overflow-y: auto; padding: 4px 12px 0; margin: -4px -12px 0; scrollbar-width: thin; scrollbar-color: rgba(20,20,18,0.25) transparent; }
  .cfg-fixed .cfg-bar { bottom: 0; box-shadow: none; }
  /* el panel recorta lo que sobresale: sombras cortas para que no se vea el corte */
  .cfg-fixed .cfg-card { box-shadow: 0 1px 2px rgba(20,20,18,0.05), 0 3px 8px rgba(20,20,18,0.05); }
}
/* paramotor en ordenador (Nico, 10-11-2026): opciones mas anchas y foto mas estrecha (usa el hueco entre las specs y
   el paramotor), para que el material del chasis y el deposito quepan en una linea */
@media (min-width: 1280px) and (hover:hover), (min-width: 1280px) and (pointer:fine), (min-width: 1280px) and (orientation:landscape) {
  .cfg-layout.cfg-fixed { grid-template-columns: minmax(0, 1fr) clamp(500px, calc(26vw + 200px), 620px); }
}
.cfg-title { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; line-height: 1; margin: 0 0 8px; text-transform: uppercase; letter-spacing: -0.01em; }

.cfg-card {
  background: #fff; border-radius: 18px; margin-bottom: 10px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(20,20,18,0.04), 0 10px 24px rgba(20,20,18,0.06);
}
.cfg-card > .head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 16px 20px;
}
.cfg-card > .head .nm { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.cfg-card > .head .cur { font-size: 13px; font-weight: 500; color: var(--sub); text-align: right; flex: 1; }
.cfg-card > .head .arrow {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
  background: var(--bg); color: var(--ink); font-size: 11px;
}
.cfg-card.open > .head .arrow { background: var(--red); color: #fff; }
.cfg-card .body { display: none; padding: 2px 18px 18px; }
.cfg-card.open .body { display: block; }

.cfg-subhead { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.cfg-grid { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cfg-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cfg-grid.two .cfg-opt .lbl { white-space: nowrap; }
.cfg-opt {
  border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; padding: 11px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center;
  transition: border-color .18s, background .18s;
}
.cfg-opt:hover { border-color: var(--ink); }
.cfg-opt.on { border: 1.5px solid var(--red); background: rgba(227,6,19,0.05); padding: 10.5px 7.5px; }
.cfg-opt img { width: 100%; max-width: 44px; aspect-ratio: 1; object-fit: contain; display: block; }
/* etiqueta y precio en la misma linea */
/* logo / nombre / precio, cada uno en su linea */
.cfg-opt .txt { display: block; text-align: center; line-height: 1.3; }
.cfg-opt .lbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.cfg-opt .prc { display: block; font-size: 12px; color: var(--red); font-weight: 700; white-space: nowrap; margin-top: 4px; }
.cfg-sel { margin-top: 10px; }
.cfg-sel label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cfg-sel select {
  width: 100%; font-size: 13.5px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; outline: none;
}
.cfg-sel select:focus { border-color: var(--red); }

.cfg-bar {
  position: sticky; bottom: 16px; z-index: 60;
  background: #141416; color: #fff; border-radius: 22px;
  display: grid; grid-template-columns: auto auto minmax(max-content, 1fr) auto; grid-template-areas: "cap qty tot btn";
  align-items: center; gap: 12px 18px;
  padding: 16px 18px; margin-top: 18px;
  box-shadow: 0 18px 40px rgba(20,20,18,0.28);
}
.cfg-bar > div:first-child { grid-area: cap; }
.cfg-bar .tot { grid-area: tot; font-size: 21px; font-weight: 700; text-align: right; white-space: nowrap; }
.cfg-bar .tot .unit { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; color: rgba(242,241,237,0.6); margin-top: 2px; }
.cfg-bar .qty { grid-area: qty; justify-self: start; min-width: max-content; }
.cfg-bar .btn { grid-area: btn; justify-self: end; white-space: nowrap; }
.cfg-bar .cap { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,241,237,0.55); }
.cfg-bar .qty { border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; background: transparent; height: 42px; }
.cfg-bar .qty button, .cfg-bar .qty input { color: #fff; background: transparent; }
.cfg-bar .qty button { font-size: 18px; font-weight: 700; width: 34px; line-height: 1; }
.cfg-bar .qty input { font-size: 14px; }

/* ordenador con el panel estrecho: todo en una linea, mas compacto y sin el rotulo */
@media (min-width: 901px) and (hover:hover), (min-width: 901px) and (pointer:fine), (min-width: 901px) and (orientation:landscape) {
  /* panel de 561 a 680 px: el rotulo se queda (en dos lineas) con espacios mas cortos; si el total es largo (clase .long, 6+ cifras) se quita */
  @container (max-width: 680px) {
    .cfg-bar { grid-template-columns: minmax(min-content, auto) auto minmax(max-content, 1fr) auto; gap: 10px; padding: 14px; }
    .cfg-bar .btn { padding: 13px 20px !important; }
  }
  @container (max-width: 680px) {
    .cfg-bar.long { grid-template-columns: auto minmax(max-content, 1fr) auto; grid-template-areas: "qty tot btn"; gap: 10px; padding: 14px; }
    .cfg-bar.long > div:first-child { display: none; }
    /* la cantidad no se encoge (el total le pisaba el +); la nota del IVA puede partirse en dos lineas */
    .cfg-bar.long .qty { min-width: max-content; }
    .cfg-bar.long .tot { font-size: 17px; white-space: nowrap; min-width: 0; }
    .cfg-bar.long .tot .unit { white-space: normal; line-height: 1.25; }
    .cfg-bar.long .qty button { width: 28px; }
    .cfg-bar.long .btn { padding: 12px 14px !important; }
  }
  /* panel de 560 px o menos: todo en una linea, mas compacto y sin el rotulo */
  @container (max-width: 560px) {
    .cfg-bar { grid-template-columns: auto minmax(max-content, 1fr) auto; grid-template-areas: "qty tot btn"; gap: 10px; padding: 14px; }
    .cfg-bar > div:first-child { display: none; }
    /* la cantidad no se encoge (el total le pisaba el +); la nota del IVA puede partirse en dos lineas */
    .cfg-bar .qty { min-width: max-content; }
    .cfg-bar .tot { font-size: 17px; white-space: nowrap; min-width: 0; }
    .cfg-bar .tot .unit { white-space: normal; line-height: 1.25; }
    .cfg-bar .qty button { width: 28px; }
    .cfg-bar .btn { padding: 12px 14px !important; }
  }
  /* panel muy estrecho: dos filas (total arriba, cantidad y boton debajo) para que cualquier precio quepa */
  @container (max-width: 400px) {
    .cfg-bar { gap: 8px; padding: 12px; }
    .cfg-bar .qty button { width: 24px; }
    .cfg-bar .btn { padding: 12px 10px !important; white-space: normal; line-height: 1.15; min-width: 0; }
  }
  @container (max-width: 330px) {
    .cfg-bar { grid-template-columns: auto 1fr; grid-template-areas: "tot tot" "qty btn"; }
    .cfg-bar .tot { text-align: left; }
  }
  @container (max-width: 400px) {
    .cfg-bar.long { grid-template-columns: auto 1fr; grid-template-areas: "tot tot" "qty btn"; }
    .cfg-bar.long .tot { text-align: left; }
  }
}

@media (max-width: 1200px) {
  .cfg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px), (max-width:1366px) and (orientation:portrait) and (hover:none) and (pointer:coarse) {
  .cfg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cfg-layout { grid-template-columns: 1fr; }
  .cfg-stage { position: relative; top: auto; height: auto; aspect-ratio: 3 / 2; }
  .cfg-pdf { top: 10px; right: 10px; padding: 8px; }
  .cfg-pdf span { display: none; }
  .cfg-specs { display: none; }
  .cfg-canvas { aspect-ratio: 3 / 2; height: auto; }
  .cfg-bar { padding: 14px 16px; grid-template-columns: 1fr auto; grid-template-areas: "cap tot" "qty btn"; }
}
@media (max-width: 560px) {
  .cfg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Main features del motor elegido (mismo aspecto que Pick your power en /paramotor) ---------- */
/* abajo, hasta el footer, el mismo hueco que arriba (16px del layout + su padding): se anula el margen del footer */
.cfg-feat { scroll-margin-top: calc(var(--bar) + 12px); padding: clamp(28px, calc(4*var(--vh,1vh)), 48px) clamp(16px, 2.5vw, 32px) calc(16px + clamp(28px, calc(4*var(--vh,1vh)), 48px)); margin-bottom: calc(-1 * clamp(40px, calc(6*var(--vh,1vh)), 72px)); }
.cfg-feat-card { background: #fff; border-radius: 22px; padding: clamp(20px, 2.4vw, 36px) clamp(18px, 1.9vw, 38px) clamp(28px, 3.4vw, 52px); box-shadow: 0 2px 4px rgba(20,20,18,0.04), 0 14px 32px rgba(20,20,18,0.07); }
.cfg-feat-head { font-size: clamp(16px, 1.25vw, 24px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: clamp(18px, 2vw, 30px); }
.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(6px, 0.5vw, 10px); row-gap: clamp(28px, 3vw, 44px); }
@media (max-width: 1023px), (max-width:1366px) and (orientation:portrait) and (hover:none) and (pointer:coarse) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px)  { .feat-grid { grid-template-columns: minmax(0, 1fr); } }
.cfg-feat-item { display: flex; flex-direction: column; }
.cfg-feat-item .ph { position: relative; aspect-ratio: 1 / 1; overflow: hidden; cursor: zoom-in; background: linear-gradient(135deg, #ECECEE 0%, #DADADD 55%, #CBCBCF 100%); }
.cfg-feat-item .strip { position: absolute; inset: 7%; display: flex; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); mix-blend-mode: multiply; }
.cfg-feat-item .photo .strip { inset: 0; mix-blend-mode: normal; }
.cfg-feat-item .sl { flex: 0 0 100%; height: 100%; background-size: contain; background-position: center; background-repeat: no-repeat; }
.cfg-feat-item .photo .sl { background-size: cover; }
.cfg-feat-item .zoom { position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; background: rgba(255,255,255,0.2); color: #fff; border: none; cursor: zoom-in; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(255,255,255,0.35), 0 1px 6px rgba(0,0,0,0.18); transition: background 0.2s; }
.cfg-feat-item .zoom:hover { background: #E30613; }
.cfg-feat-item .nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.2); color: #fff; border: none; cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(255,255,255,0.35); }
.cfg-feat-item .nav:hover { background: #E30613; }
.cfg-feat-item .nav.prev { left: 10px; }
.cfg-feat-item .nav.next { right: 10px; }
.cfg-feat-item .dots { position: absolute; z-index: 2; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; }
.cfg-feat-item .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.45); box-shadow: 0 0 3px rgba(0,0,0,0.4); }
.cfg-feat-item .dots i.on { background: #fff; }
.cfg-feat-item .tt { font-size: clamp(18px, 1.3vw, 25px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin-top: clamp(18px, 1.4vw, 26px); }
.cfg-feat-item p { margin: clamp(8px, 0.6vw, 12px) 0 0; max-width: 90%; font-size: clamp(14px, 0.82vw, 15.5px); line-height: 1.6; color: #2B2B29; }
.cfg-feat-zoom { position: fixed; inset: 0; z-index: 500; background: rgba(255,255,255,0.2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(2*var(--vh,1vh)); padding: calc(5*var(--vh,1vh)) 4vw; cursor: zoom-out; }
.cfg-feat-zoom img { max-width: 100%; max-height: 84vh; object-fit: contain; box-shadow: 0 24px 70px rgba(0,0,0,0.22); }
.cfg-feat-zoom .cap { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: #141412; background: rgba(255,255,255,0.85); border-radius: 999px; padding: 8px 16px; }

/* guia de tallas del arnes */
.cfg-subhead-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cfg-sizehelp { font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); background: none; border: none; border-bottom: 1px solid currentColor; padding: 0 0 1px; cursor: pointer; }
.cfg-sizehelp:hover { color: var(--red); }
.cfg-sizemodal { position: fixed; inset: 0; z-index: 600; background: rgba(12,12,13,0.62); display: flex; align-items: center; justify-content: center; padding: calc(4*var(--vh,1vh)) 4vw; }
.cfg-sizemodal .box { position: relative; background: #fff; border-radius: 22px; width: min(980px, 100%); max-height: 92vh; overflow: auto; padding: clamp(22px, 3vw, 40px); box-sizing: border-box; color: #141412; }
.cfg-sizemodal .x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: none; background: #E30613; color: #fff; font-size: 15px; cursor: pointer; }
.cfg-sizemodal .ttl { font-weight: 800; font-size: clamp(16px, 1.6vw, 22px); text-transform: uppercase; padding-right: 48px; }
.cfg-sizemodal .ttl span { color: #E30613; }
.cfg-sizemodal p { font-size: 14px; line-height: 1.6; margin: 8px 0 14px; }
.cfg-sizemodal .legend { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.1em; margin-bottom: 12px; }
.cfg-sizemodal .legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; margin-left: 8px; }
.cfg-sizemodal .row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 3px 0; }
.cfg-sizemodal .h { text-align: right; white-space: nowrap; font-size: 11px; color: #6B6B66; }
.cfg-sizemodal .h b { color: #141412; font-weight: 500; }
.cfg-sizemodal .track { position: relative; height: 16px; background-image: linear-gradient(90deg, rgba(20,20,18,0.07) 1px, transparent 1px); background-size: 12.5% 100%; }
.cfg-sizemodal .bar { position: absolute; top: 1px; bottom: 1px; border-radius: 999px; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cfg-sizemodal .ticks { display: flex; justify-content: space-between; font-size: 10.5px; color: #6B6B66; padding-top: 6px; }
.cfg-sizemodal .ticks b { color: #141412; font-weight: 500; }
.cfg-sizemodal .axis .h { font-weight: 700; }
.cfg-sizemodal .wt { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; margin-top: 10px; color: #6B6B66; }
.cfg-sizemodal .wt b { color: #141412; }

/* ---------- móvil (< 700 px): foto fija arriba con la ficha técnica al lado, lista compacta de grupos y barra fina.
   Tablet y ordenador no cambian ---------- */
@media (max-width:699px), (max-width:1366px) and (orientation:portrait) and (hover:none) and (pointer:coarse) {
  /* una sola columna (el Frame Kit ponía el panel a 360 px como mínimo y ensanchaba la página) */
  .cfg-layout, .cfg-layout.wide-panel { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 8px; }
  /* foto fija bajo la cabecera mientras se baja; especificaciones a la izquierda, foto a la derecha */
  .cfg-stage {
    position: sticky; top: var(--bar); z-index: 40; aspect-ratio: auto;
    height: auto;
    padding: 10px 12px; border-radius: 0 0 18px 18px; margin: -8px -16px 0;
    display: flex; align-items: stretch; gap: 10px;
    box-shadow: 0 8px 18px rgba(20,20,18,0.08);
  }
  /* la foto en un cuadro: las capas son 3:2 y el paramotor ocupa todo el alto y la parte derecha (del 40 % al 98 % del
     ancho); se recorta solo el aire de la izquierda para que el paramotor se vea más grande */
  .cfg-stage .cfg-canvas { flex: 1 1 auto; min-width: 0; height: auto; aspect-ratio: 9 / 10; align-self: center; }
  .cfg-stage .cfg-canvas img { object-fit: cover; object-position: 97% 50%; }
  /* Frame Kit (sin especificaciones): la foto entera a lo ancho */
  .wide-panel .cfg-stage .cfg-canvas { aspect-ratio: 16 / 9; }
  .wide-panel .cfg-stage .cfg-canvas img { object-fit: contain; object-position: 50% 50%; }
  .cfg-specs {
    display: flex; flex-direction: column; justify-content: center; order: -1;
    position: static; flex: 0 0 44%; width: auto; min-width: 0;
  }
  .cfg-specs:empty { display: none; }
  .cfg-specs .ttl { font-size: 10px; letter-spacing: 0.06em; margin-bottom: 6px; }
  .cfg-specs .ttl + .row { border-top: none; }
  .cfg-specs .row { padding: 3.5px 0; gap: 6px; border-bottom: 1px dotted rgba(20,20,18,0.28); }
  .cfg-specs .row.red { display: none; }
  .cfg-specs .k { font-size: 8.5px; letter-spacing: 0.06em; flex: 0 0 auto; }
  .cfg-specs .v { font-size: 10px; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
  .cfg-pdf { top: 8px; right: 8px; padding: 6px; }

  /* rótulo y nombre del modelo en una línea (la isla baja la letra lo justo; si ni así cabe, …) */
  .cfg-kicker { font-size: 10.5px !important; margin-bottom: 6px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cfg-title { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 12px !important; }
  #cfg-feat-link { margin-bottom: 14px !important; }

  /* lista compacta de grupos: nombre, lo elegido debajo en pequeño y › a la derecha */
  .cfg-panel { padding-bottom: 24px; }
  .cfg-card { border-radius: 14px; margin-bottom: 6px; box-shadow: 0 1px 2px rgba(20,20,18,0.05), 0 3px 10px rgba(20,20,18,0.05); }
  .cfg-card > .head {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nm arrow" "cur arrow";
    column-gap: 10px; row-gap: 2px; padding: 11px 14px;
  }
  .cfg-card > .head .nm { grid-area: nm; font-size: 12px; letter-spacing: 0.05em; }
  .cfg-card > .head .cur { grid-area: cur; text-align: left; font-size: 12px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cfg-card > .head .arrow { grid-area: arrow; width: 22px; height: 22px; flex-basis: 22px; background: none; font-size: 0; }
  .cfg-card > .head .arrow:not(.lock)::before { content: '›'; font-size: 22px; line-height: 1; color: var(--ink); transition: transform .2s; }
  .cfg-card.open > .head .arrow { background: none; }
  .cfg-card.open > .head .arrow::before { transform: rotate(90deg); color: var(--red); }
  .cfg-card .body { padding: 0 12px 12px; }
  /* antes de que la isla arranque (Configurator.tsx: .cfg-listo), el grupo que viene abierto del servidor se ve cerrado,
     como lo deja la isla en movil: asi la lista no salta al cerrarse */
  #cfg-groups:not(.cfg-listo) .cfg-card.open .body { display: none; }
  #cfg-groups:not(.cfg-listo) .cfg-card.open > .head .arrow::before { transform: none; color: var(--ink); transition: none; }
  .cfg-subhead { font-size: 10px; letter-spacing: 0.12em; margin: 10px 0 6px; }
  .cfg-subhead-row .cfg-sizehelp { font-size: 11px; }
  .cfg-sel { margin-top: 8px; }
  .cfg-sel label { font-size: 10px; margin-bottom: 4px; }
  .cfg-sel select { font-size: 13px; padding: 9px 14px; }

  /* opciones finas: 2 por fila; 3 o 4 si son cortas; colores de 4 en 4; extras de 3 en 3 */
  .cfg-grid, .cfg-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px !important; }
  .cfg-grid.m-n3, .cfg-grid.m-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cfg-grid.m-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cfg-opt { padding: 7px 5px; gap: 3px; border-radius: 10px; min-height: 40px; }
  .cfg-opt.on { border: 1.5px solid var(--red); padding: 6.5px 4.5px; }
  .cfg-opt img { max-width: 30px; }
  .cfg-grid.m-swatch .cfg-opt img { max-width: 24px; }
  .cfg-opt .txt { line-height: 1.2; }
  .cfg-opt .lbl, .cfg-grid.two .cfg-opt .lbl { font-size: 11.5px; white-space: normal; overflow-wrap: anywhere; }
  .cfg-opt .prc { font-size: 10.5px; margin-top: 2px; }
  .cfg-grid.m-more .cfg-opt { justify-content: flex-start; }
  .cfg-grid.m-more .cfg-opt .lbl { font-size: 10.5px; }

  /* total y botón: barra fina fija abajo */
  .cfg-bar {
    position: sticky; bottom: 8px; margin-top: 12px; border-radius: 16px; padding: 8px 8px 8px 14px;
    grid-template-columns: minmax(max-content, 1fr) auto auto; grid-template-areas: "tot qty btn"; gap: 8px;
  }
  .cfg-bar > div:first-child { display: none; }
  .cfg-bar .tot { font-size: 16px; text-align: left; white-space: nowrap; min-width: 0; }
  .cfg-bar .tot .unit { font-size: 10px; margin-top: 1px; }
  .cfg-bar .qty { height: 34px; min-width: max-content; }
  .cfg-bar .qty button { width: 24px; font-size: 15px; }
  .cfg-bar .qty input { width: 24px; font-size: 13px; }
  .cfg-bar .btn { padding: 10px 14px !important; font-size: 12.5px; white-space: normal; line-height: 1.15; min-width: 0; }
}

/* ---------- tablet en vertical (táctil, 700–1366 px): la misma organización que en móvil, ampliada. La foto fija mide
   lo mismo en proporción a la pantalla (28 % del alto), y la lista de grupos y la barra van en una columna centrada ---------- */
@media (min-width:700px) and (max-width:1366px) and (orientation:portrait) and (hover:none) and (pointer:coarse) {
  .cfg-layout, .cfg-layout.wide-panel { gap: 20px; padding: 12px clamp(24px, 5vw, 56px) 0; }
  .cfg-stage { margin: -12px calc(-1 * clamp(24px, 5vw, 56px)) 0; padding: 14px clamp(24px, 5vw, 56px); gap: clamp(16px, 3vw, 32px); border-radius: 0 0 22px 22px; }
  .cfg-stage .cfg-canvas, .wide-panel .cfg-stage .cfg-canvas { aspect-ratio: auto; height: 28vh; }
  .cfg-specs { flex: 0 0 40%; max-width: 380px; }
  .cfg-specs .ttl { font-size: 15px; margin-bottom: 10px; }
  .cfg-specs .row { padding: 6px 0; gap: 10px; }
  .cfg-specs .k { font-size: 10.5px; letter-spacing: 0.1em; }
  .cfg-specs .v { font-size: 12.5px; }
  .cfg-pdf { top: 14px; right: 14px; padding: 9px; }
  .cfg-panel { width: 100%; max-width: 760px; margin: 0 auto; padding-bottom: 32px; }
  .cfg-kicker { font-size: 12px !important; margin-bottom: 8px !important; }
  .cfg-title { font-size: 26px; margin-bottom: 16px !important; }
  #cfg-feat-link { margin-bottom: 18px !important; }
  .cfg-card { border-radius: 16px; margin-bottom: 8px; }
  .cfg-card > .head { padding: 15px 20px; row-gap: 3px; }
  .cfg-card > .head .nm { font-size: 13px; }
  .cfg-card > .head .cur { font-size: 13px; }
  .cfg-card > .head .arrow { width: 26px; height: 26px; flex-basis: 26px; }
  .cfg-card > .head .arrow:not(.lock)::before { font-size: 26px; }
  .cfg-card .body { padding: 0 18px 18px; }
  .cfg-subhead { font-size: 11px; letter-spacing: 0.14em; margin: 14px 0 8px; }
  .cfg-subhead-row .cfg-sizehelp { font-size: 12px; }
  .cfg-sel label { font-size: 11px; margin-bottom: 6px; }
  .cfg-sel select { font-size: 14px; padding: 12px 16px; }
  .cfg-grid, .cfg-grid.two { gap: 8px; margin-top: 10px !important; }
  .cfg-opt { padding: 11px 8px; gap: 5px; border-radius: 14px; min-height: 52px; }
  .cfg-opt.on { padding: 10.5px 7.5px; }
  .cfg-opt img { max-width: 40px; }
  .cfg-grid.m-swatch .cfg-opt img { max-width: 32px; }
  .cfg-opt .lbl, .cfg-grid.two .cfg-opt .lbl { font-size: 12.5px; }
  .cfg-opt .prc { font-size: 12px; margin-top: 3px; }
  .cfg-grid.m-more .cfg-opt .lbl { font-size: 12px; }
  .cfg-bar { bottom: 16px; margin-top: 16px; border-radius: 20px; padding: 12px 12px 12px 20px; gap: 12px; }
  .cfg-bar .tot { font-size: 20px; }
  .cfg-bar .tot .unit { font-size: 11px; margin-top: 2px; }
  .cfg-bar .qty { height: 42px; }
  .cfg-bar .qty button { width: 32px; font-size: 18px; }
  .cfg-bar .qty input { width: 30px; font-size: 14px; }
  .cfg-bar .btn { padding: 13px 22px !important; font-size: 13px; }
  .cfg-feat { padding-left: clamp(24px, 5vw, 56px); padding-right: clamp(24px, 5vw, 56px); }
}
/* Paramotor (TINOX V2): chasis (tamaño y material), color de la red, acelerador y depósito con el diseño de las opciones
   del Paramotor Kit (Nico, 10-11-2026). Mismas medidas que .product-layout.kit-bar .opt-cards de la ficha (shop/pap-ficha-a.css
   y pap-ficha-b.css): si cambian allí, cambiarlas aquí. Las columnas del móvil las pone la isla (data-mcols, --m-cols) */
/* margen negativo: titulo del grupo a 15px de las opciones (antes 30px; Nico, 10-11-2026) */
.cfg-kgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: -3px; }
.cfg-kgrid[data-n="6"], .cfg-kgrid[data-n="8"] { grid-template-columns: repeat(2, 1fr); }
.cfg-kgrid[data-n="5"] { grid-template-columns: repeat(5, 1fr); }
.cfg-kgrid[data-n="7"] { grid-template-columns: repeat(7, 1fr); }
.cfg-kgrid[data-short][data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cfg-kgrid[data-short][data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cfg-kgrid[data-short][data-n="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cfg-kgrid button { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 8px 12px; text-align: left; background: #fff; border: 1px solid rgba(20,20,18,0.22); border-radius: 10px; cursor: pointer; font: inherit; color: #141412; transition: border-color .2s, background .2s, box-shadow .2s; }
.cfg-kgrid button:hover { border-color: #141412; }
.cfg-kgrid button.on { border-color: #141412; background: #F5F5F7; }
.cfg-kgrid b { flex: 1 1 auto; min-width: 0; font-size: 12.5px; line-height: 1.25; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.cfg-kgrid span { flex: none; white-space: nowrap; color: #E30613; font-size: 12.5px; font-weight: 700; }
.cfg-kgrid button.sw-card { justify-content: center; padding: 8px; min-height: 46px; }
.cfg-kgrid .sw { display: block; width: 100%; height: 28px; border-radius: 7px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.14); }
/* si el panel tiene sitio, 3 o 4 opciones en una sola linea (el movil y la tablet en vertical siguen con sus columnas, abajo) */
@container (min-width: 500px) {
  .cfg-kgrid[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (min-width: 620px) {
  .cfg-kgrid[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* KIT_TWO_COLS (barra del arnés del Frame Kit): no caben en una fila, dos columnas como FRAME MATERIAL antes */
.cfg-kgrid[data-two][data-n] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width:699px), (max-width:1366px) and (orientation:portrait) and (hover:none) and (pointer:coarse) {
  .cfg-kgrid, .cfg-kgrid[data-n] { grid-template-columns: repeat(var(--m-cols, 2), minmax(0, 1fr)); gap: 6px; margin-top: 0; }
  .cfg-kgrid button { min-height: 38px; padding: 7px 10px; border-radius: 10px; gap: 6px; }
  .cfg-kgrid b { font-size: 11.5px; line-height: 1.2; overflow-wrap: anywhere; }
  .cfg-kgrid span { font-size: 11px; }
  .cfg-kgrid[data-mcols="3"] button:not(.sw-card), .cfg-kgrid[data-mcols="4"] button:not(.sw-card), .cfg-kgrid[data-mcols="5"] button:not(.sw-card) { flex-direction: column; justify-content: center; text-align: center; gap: 2px; padding: 6px 4px; }
  .cfg-kgrid button.sw-card { min-height: 34px; padding: 5px; }
  .cfg-kgrid .sw { height: 22px; }
  .cfg-kgrid button.on { border-color: #E30613; background: rgba(227,6,19,0.05); box-shadow: inset 0 0 0 0.5px #E30613; }
}
@media (min-width:700px) and (max-width:1366px) and (orientation:portrait) and (hover:none) and (pointer:coarse) {
  .cfg-kgrid, .cfg-kgrid[data-n] { gap: 8px; }
  .cfg-kgrid button { min-height: 46px; padding: 9px 14px; border-radius: 12px; }
  .cfg-kgrid b { font-size: 12.5px; }
  .cfg-kgrid span { font-size: 12px; }
  .cfg-kgrid button.sw-card { min-height: 44px; padding: 7px; }
  .cfg-kgrid .sw { height: 28px; }
}
/* Frame Kit: rótulo de subgrupo (bolsa, separador) sobre sus tarjetas finas, sin el margen negativo del título del grupo */
.cfg-subhead + .cfg-kgrid { margin-top: 0; }

/* movil muy estrecho: el precio ocupa su fila y cantidad + boton van debajo, sin pisarse */
@media (max-width: 359px) {
  .cfg-bar { grid-template-columns: auto 1fr; grid-template-areas: "tot tot" "qty btn"; row-gap: 6px; }
  .cfg-bar .tot { text-align: left; }
}
