/* Ronda de notas del 13-11-2026, segunda parte (208 a 230). */

/* Nota 212: los tipos de carrocería como íconos: el holograma pequeño, en blanco y sin fondo, con el nombre al lado.
   Lo escogido sigue con el color de acento. */
.tipos-holo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.tipos-holo > .tipo-holo:last-child:nth-child(odd) { grid-column: auto; }
.tipo-holo { grid-template-rows: none; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 58px; padding: 4px 8px 4px 4px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; box-shadow: none; }
.tipo-holo::before { display: none; }
.th-holo, .tipos-holo > .tipo-holo:last-child:nth-child(odd) .th-holo { aspect-ratio: 16 / 10; width: 74px; }
.th-holo img { inset: 2px; top: 2px; left: 2px; width: calc(100% - 4px); height: calc(100% - 4px);
  filter: grayscale(1) brightness(2.4) contrast(1.2) drop-shadow(0 0 4px rgba(255, 255, 255, .25)); }
body:not(.oscuro) .th-holo img { filter: grayscale(1) brightness(.25) contrast(1.4); }
.th-nombre { margin: 0; padding: 0; min-height: 0; transform: none; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.th-nombre > * { transform: none; }
.th-nombre b { font: italic 700 13.5px/1.2 var(--titulo, Montserrat, sans-serif); }
.tipo-holo .th-galeria { position: static; width: 36px; height: 36px; grid-column: 2; justify-self: end; display: none; }
.tipo-holo:has(:checked) { background: linear-gradient(160deg, var(--acento, #d71f30), color-mix(in srgb, var(--acento, #d71f30) 72%, #000)); border-color: transparent;
  box-shadow: 0 10px 22px -14px rgba(var(--acento-rgb, 215, 31, 48), .9); color: var(--sobre-acento, #fff); }
.tipo-holo:has(:checked) .th-holo img { filter: grayscale(1) brightness(3) contrast(1.2); }
.tipo-holo:has(:checked) .th-nombre { background: none; }
@media (hover: hover) { .tipo-holo:hover { transform: none; border-color: rgba(255, 255, 255, .3); } }
body:not(.oscuro) .tipo-holo { border-color: rgba(0, 0, 0, .12); color: var(--grafito, #1b1d21); }
/* La galería de fotos del tipo: un botón pequeño al lado del nombre. */
.tipo-holo { grid-template-columns: 74px minmax(0, 1fr) auto; }
.tipo-holo .th-galeria { display: grid; grid-column: 3; position: static; width: 36px; height: 36px; margin: 0; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
@container (max-width: 380px) { .tipo-holo { grid-template-columns: 56px minmax(0, 1fr) auto; } .th-holo { width: 56px !important; } .th-nombre b { font-size: 12px; } .tipo-holo .th-galeria { width: 32px; height: 32px; } }

/* Nota 213: ruletas aún más limpias: sin marco; solo los números y la franja roja en vidrio. */
.medidas-visor .ru-tambor { background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.medidas-visor .ru-franja { background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .04) 55%), rgba(var(--acento-rgb, 215, 31, 48), .62);
  backdrop-filter: blur(10px) saturate(1.6); -webkit-backdrop-filter: blur(10px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 22px -12px rgba(var(--acento-rgb, 215, 31, 48), .9); }
@media (hover: hover) { .medidas-visor .ru-tambor:hover { border-color: transparent; } .medidas-visor .ru-tambor:hover .ru-franja { border-color: rgba(255, 255, 255, .55); } }

/* Nota 215: aviso de medida sobre el camión, abajo a la izquierda (solo cuando se pasa de la medida). */
.norma-visor { position: absolute; left: 12px; bottom: 12px; z-index: 4; max-width: min(420px, 48%); }
.norma-visor[hidden] { display: none; }
.norma-visor details.aviso-norma { margin: 0; background: rgba(10, 13, 18, .55); border: 1px solid rgba(255, 255, 255, .16); color: #f2f4f7;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .7); animation: nv-entra .35s cubic-bezier(.2, .8, .2, 1) both; }
.norma-visor details.aviso-norma .an-estado { color: #f2f4f7; }
.norma-visor details.aviso-norma .an-estado .no { color: #ff8a93; }
.norma-visor .an-norma p { color: rgba(242, 244, 247, .85); }
.norma-visor .an-norma h3 { color: #fff; }
@keyframes nv-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .norma-visor details.aviso-norma { animation: none; } }
@media (max-height: 560px), (max-width: 760px) { .norma-visor { left: 6px; bottom: 6px; max-width: 46%; } }

/* Nota 211: equipamiento de serie en botones; al tocar uno, el camión sin fondo y recortado en esa parte, con su texto. */
.ds-botones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 6px 0 8px; }
.ds-boton { display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; align-items: center; min-height: 56px; padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: rgba(255, 255, 255, .04); color: inherit; text-align: left; cursor: pointer;
  transition: background .2s ease, border-color .2s ease; }
body:not(.oscuro) .ds-boton { border-color: rgba(0, 0, 0, .12); background: rgba(0, 0, 0, .025); }
.ds-boton .ds-ico { grid-row: 1 / span 2; width: 30px; height: 30px; display: grid; place-items: center; }
.ds-boton .ds-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ds-boton b { font: italic 700 13.5px/1.2 var(--titulo, Montserrat, sans-serif); }
.ds-boton small { font-size: 12px; opacity: .7; }
.ds-boton[aria-pressed=true] { background: linear-gradient(160deg, var(--acento, #d71f30), color-mix(in srgb, var(--acento, #d71f30) 72%, #000)); border-color: transparent; color: var(--sobre-acento, #fff); }
.ds-boton:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (hover: hover) { .ds-boton:not([aria-pressed=true]):hover { border-color: rgba(var(--acento-rgb, 215, 31, 48), .6); } }
.de-serie .ds-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }

#visor .parte-fotos:has(.pf-ficha) { background: radial-gradient(ellipse 80% 80% at 35% 55%, #1a1f27 0%, #0b0d11 70%); }
body:not(.oscuro) #visor .parte-fotos:has(.pf-ficha) { background: radial-gradient(ellipse 80% 80% at 35% 55%, #ffffff 0%, #e9ebee 75%); }
.pf-ficha { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; opacity: 0; transition: opacity .45s ease; }
.pf-ficha.entra { opacity: 1; }
.pf-ficha.se-va { opacity: 0; }
.pff-img { position: relative; height: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
.pff-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: var(--x) var(--y); transform: scale(calc(var(--s) * .92));
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.pf-ficha.entra .pff-img img { transform: scale(var(--s)); }
.pf-ficha.con-mascara .pff-img img { object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 60% 60% at var(--x) var(--y), #000 45%, transparent 80%); mask-image: radial-gradient(ellipse 60% 60% at var(--x) var(--y), #000 45%, transparent 80%); }
.pff-txt { padding: 0 8% 0 4%; color: #f2f4f7; }
body:not(.oscuro) .pff-txt { color: #1b1d21; }
.pff-txt small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.pff-txt h3 { margin: 4px 0 12px; font: italic 800 clamp(22px, 2.6vw, 34px)/1.1 var(--titulo, Montserrat, sans-serif); }
.pff-txt h3::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 10px; border-radius: 2px; background: var(--acento, #d71f30); transform: skewX(-20deg); }
.pff-txt ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pff-txt li { font-size: 14px; line-height: 1.35; }
.pff-txt li b { font-weight: 700; }
.pff-txt li span { display: block; font-size: 13px; opacity: .72; }
@media (max-width: 760px), (max-height: 560px) { .pff-txt li:nth-child(n+5) { display: none; } .pff-txt h3 { margin-bottom: 6px; } .pff-txt li { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .pf-ficha, .pff-img img { transition: none; } }
/* La galería del tipo va pequeña, en la esquina, para que el nombre quepa en una o dos líneas. */
.tipo-holo { grid-template-columns: 74px minmax(0, 1fr); padding-right: 40px; }
.tipo-holo .th-galeria { position: absolute; top: 50%; right: 2px; translate: 0 -50%; width: 38px; height: 38px; background: none; border: 0; opacity: .75; }
.tipo-holo .th-galeria .ico { width: 17px; height: 17px; }
.tipo-holo .th-galeria:hover { opacity: 1; }
.th-nombre b { line-height: 1.15; }
@container (max-width: 380px) { .tipo-holo { grid-template-columns: 56px minmax(0, 1fr); } }

/* Nota 214: ninguna sección de la columna necesita scroll. Las líneas en filas compactas (foto, nombre y precio en una
   franja) y las versiones más bajas, para que todo «Línea y versión» quepa a la vista. */
#opciones .op.op-linea { grid-template-columns: 78px minmax(0, 1fr) auto; grid-template-areas: "foto txt precio"; min-height: 54px; padding: 4px 14px 4px 8px; column-gap: 10px; align-items: center; }
#opciones .op-linea .op-foto { width: 78px; height: 44px; }
#opciones .op-linea.con-recorte .op-foto img { height: 54px; }
#opciones .op-linea .op-txt { align-self: center; }
#opciones .op-linea .op-txt b { font-size: 14px; }
#opciones .op-linea .op-txt small { font-size: 11.5px; }
#opciones .op-linea .op-precio { align-self: center; text-align: right; font-size: 13.5px; white-space: nowrap; }
#opciones .op-linea + .op-linea, #opciones .versiones-split + .op-linea { margin-top: 0; }
#opciones .op-linea ~ .op-linea { margin-top: 0; }
#opciones .tarjetas:has(.op-linea) { gap: 5px; }
#opciones .vs-mitad { min-height: 0; padding: 7px 12px; }
#opciones .vs-mitad .vs-datos { font-size: 11.5px; }
#opciones .vs-mitad b { font-size: 14px; }
#opciones .vs-mitad .vs-precio { font-size: 13.5px; margin-top: 2px; }

/* Nota 219: el camión en los tres colores, uno debajo del otro, ocupando la columna. */
.muestras-camion { display: grid; gap: 8px; }
.muestra-camion { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 0; height: clamp(96px, 17vh, 150px);
  padding: 4px 16px 4px 4px; border-radius: 12px; cursor: pointer; overflow: hidden; isolation: isolate;
  background: linear-gradient(100deg, rgba(255, 255, 255, .02), color-mix(in srgb, var(--c) 22%, transparent)); border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .2s ease, background .2s ease; }
body:not(.oscuro) .muestra-camion { border-color: rgba(0, 0, 0, .12); }
.muestra-camion input { position: absolute; opacity: 0; pointer-events: none; }
.muestra-camion img { height: 100%; width: 100%; object-fit: contain; object-position: 30% 60%; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .4)); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.muestra-camion .mc-nombre { display: flex; align-items: center; gap: 8px; font: italic 700 15px/1.2 var(--titulo, Montserrat, sans-serif); white-space: nowrap; }
.muestra-camion .mc-nombre i { width: 16px; height: 16px; border-radius: 4px; transform: skewX(-14deg); background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.muestra-camion:has(:checked) { border-color: var(--acento, #d71f30); box-shadow: 0 0 0 1px var(--acento, #d71f30); }
.muestra-camion:has(:checked) .mc-nombre { color: var(--acento-claro, #ff5a66); }
body:not(.oscuro) .muestra-camion:has(:checked) .mc-nombre { color: var(--acento, #d71f30); }
.muestra-camion:has(:checked) img { transform: scale(1.06); }
.muestra-camion:has(:focus-visible) { outline: 2px solid currentColor; outline-offset: 2px; }
@media (hover: hover) { .muestra-camion:not(:has(:checked)):hover { border-color: rgba(255, 255, 255, .35); } }
.color-camiones .solo-chasis { margin-top: 10px; }

/* Nota 220: la toma tipo dron más lenta y sutil (premium). La regla de la nota 204 dejaba sin transición el movimiento. */
#visor .vista .foto-caja { transition: transform 2.4s cubic-bezier(.22, .61, .18, 1), scale .6s cubic-bezier(.2, .7, .2, 1); }
.parte-fotos.ver .pf-fotos img:not(.sale) { animation: pf-dron-suave 14s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes pf-dron-suave { from { transform: scale(1.035); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { #visor .vista .foto-caja { transition: none; } .parte-fotos.ver .pf-fotos img:not(.sale) { animation: none; } }

/* Nota 223: comparativo Infurplas / B-Line, primero lo que cambia y luego lo igual; abajo «Personalizar carrocería». */
.comp-tabla { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; line-height: 1.3; table-layout: fixed; }
.comp-tabla th, .comp-tabla td { padding: 6px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, .08); }
body:not(.oscuro) .comp-tabla th, body:not(.oscuro) .comp-tabla td { border-bottom-color: rgba(0, 0, 0, .08); }
.comp-tabla thead th:first-child { width: 34%; }
.comp-tabla tbody th { font-weight: 600; opacity: .8; }
.comp-tabla thead th { padding: 0 3px 6px; border: 0; }
.comp-col { display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; cursor: pointer; border: 1px solid rgba(255, 255, 255, .16); transition: background .2s ease, border-color .2s ease; }
body:not(.oscuro) .comp-col { border-color: rgba(0, 0, 0, .14); }
.comp-col input { position: absolute; opacity: 0; pointer-events: none; }
.comp-col b { font: italic 700 14.5px/1.2 var(--titulo, Montserrat, sans-serif); }
.comp-col span { font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.comp-col:has(:checked) { background: linear-gradient(160deg, var(--acento, #d71f30), color-mix(in srgb, var(--acento, #d71f30) 72%, #000)); border-color: transparent; color: var(--sobre-acento, #fff); }
.comp-col:has(:focus-visible) { outline: 2px solid currentColor; outline-offset: 2px; }
.comp-tabla .comp-sec th { padding-top: 10px; font: italic 700 11px/1.2 var(--titulo, Montserrat, sans-serif); letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.comp-tabla .comp-precio td { font-weight: 800; font-variant-numeric: tabular-nums; }
/* La columna escogida se resalta suave en todas las filas. */
.comp-tabla.es-inf tbody td:nth-of-type(1), .comp-tabla.es-bl tbody td:nth-of-type(2) { background: rgba(var(--acento-rgb, 215, 31, 48), .1); font-weight: 700; }
.comp-personalizar { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; align-items: center; margin-top: 10px; min-height: 52px; padding: 8px 14px;
  border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .3); cursor: pointer; }
body:not(.oscuro) .comp-personalizar { border-color: rgba(0, 0, 0, .25); }
.comp-personalizar input { position: absolute; opacity: 0; pointer-events: none; }
.comp-personalizar .ico { grid-row: 1 / span 2; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.comp-personalizar b { font: italic 700 14.5px/1.2 var(--titulo, Montserrat, sans-serif); }
.comp-personalizar small { font-size: 12px; opacity: .7; }
.comp-personalizar:has(:checked) { border-style: solid; border-color: var(--acento, #d71f30); background: rgba(var(--acento-rgb, 215, 31, 48), .12); }
.comp-personalizar:has(:focus-visible) { outline: 2px solid currentColor; outline-offset: 2px; }

/* Notas 224 y 226: las vistas que se activan, como íconos de vidrio sobre el camión (arriba a la derecha del visor). */
.visor-acciones { position: absolute; top: 14px; right: 14px; z-index: 5; display: flex; flex-direction: column; gap: 10px; }
.va-boton { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7);
  transition: background .2s ease, transform .2s ease; }
.va-boton[hidden] { display: none; }
.va-boton svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.va-boton[aria-pressed=true] { background: var(--acento, #d71f30); border-color: transparent; }
.va-boton:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* El nombre sale al lado del ícono al pasar el ratón o al tenerlo encendido (en la tablet, tocarlo lo enciende). */
.va-boton::after { content: attr(data-tip); position: absolute; right: calc(100% + 10px); top: 50%; translate: 0 -50%; padding: 6px 10px; border-radius: 8px; white-space: nowrap;
  background: rgba(10, 13, 18, .8); color: #fff; font: 700 12.5px/1.2 "Nunito Sans", sans-serif; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
@media (hover: hover) { .va-boton:hover { transform: scale(1.06); } .va-boton:hover::after { opacity: 1; } }
.va-boton:focus-visible::after { opacity: 1; }
@media (max-height: 560px), (max-width: 760px) { .visor-acciones { top: 8px; right: 8px; gap: 6px; } .va-boton { width: 44px; height: 44px; } .va-boton svg { width: 22px; height: 22px; } }

/* Nota 229: el envío al cliente en la columna derecha, compacto (sin scroll): el código y el botón en una franja, y debajo
   la opción de que el cliente escriba su número. */
.cot-envio { display: grid; gap: 8px; }
.cot-envio > h3 { margin: 4px 0 0; font: italic 700 15px/1.2 var(--titulo, Montserrat, sans-serif); }
.cot-envio .pr-envio, #pr-envio.cot-envio .pr-envio { display: grid; grid-template-columns: 1fr; gap: 8px; }
.cot-envio .pe-camino { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 12px; padding: 10px 12px; }
.cot-envio .pe-camino > b { grid-column: 1 / -1; font-size: 13.5px; }
.cot-envio .pe-camino .pr-qr { grid-row: span 2; width: 112px; padding: 6px; background: #fff; border-radius: 8px; }
.cot-envio .pe-camino .pr-qr svg { width: 100%; height: auto; display: block; }
.cot-envio .pe-camino p { font-size: 12px; line-height: 1.35; }
.cot-envio .pe-camino > button { margin: 0; min-height: 44px; }
.cot-envio .pe-camino:last-child { grid-template-columns: minmax(0, 1fr); }
.cot-envio .pe-camino:last-child p { display: none; }
.cot-envio .pr-wa div { display: flex; gap: 6px; }
.cot-envio .pr-wa input { min-width: 0; flex: 1; }

/* Nota 230: tarjeta del asesor (QR de su WhatsApp) y registro rápido de un cliente. */
.ta-tarjeta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; margin: 10px 0; padding: 16px; border-radius: 12px; background: #fff; color: #1b1d21;
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, .6); }
.ta-qr { width: 180px; }
.ta-qr svg { display: block; width: 100%; height: auto; }
.ta-qr p { margin: 0; font-size: 13px; }
.ta-datos { display: grid; gap: 4px; }
.ta-datos small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b6f76; }
.ta-datos b { font: italic 800 20px/1.15 var(--titulo, Montserrat, sans-serif); }
.ta-datos span { font-weight: 700; font-variant-numeric: tabular-nums; }
.ta-datos img { width: 120px; margin-top: 8px; }
.ta-registro summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; }
.ta-wa { display: grid; gap: 6px; margin: 6px 0; } .ta-wa div { display: flex; gap: 6px; } .ta-wa input { flex: 1; min-height: 44px; padding: 0 12px; }
@media (max-width: 520px) { .ta-tarjeta { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.comp-tabla { font-size: 12.5px; }
.comp-tabla th, .comp-tabla td { padding: 5px 7px; }
.comp-igual { margin-top: 6px; font-size: 12.5px; }
.comp-igual summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; gap: 8px; font: italic 700 12px/1.2 var(--titulo, Montserrat, sans-serif); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.comp-igual summary small { font: 600 11.5px "Nunito Sans", sans-serif; text-transform: none; letter-spacing: 0; opacity: .8; }
.comp-igual ul { margin: 0; padding: 0 0 0 16px; display: grid; gap: 4px; }
.cot-envio .pe-camino:not(:has(.pr-qr)) { grid-template-columns: minmax(0, 1fr); }
.cot-envio .pe-camino > button { width: 100%; justify-content: center; }
