/* SOLU STORE OBD — grafito + coral de Soluciones OBD, verde para pagos y cuotas, azul para enlaces. */
:root {
  --tinta: #121826; --tinta-2: #2d3748; --suave: #5b6576; --tenue: #8a94a6; --linea: #e3e7ee; --fondo: #eef1f5; --panel: #ffffff;
  --grafito: #071629; --grafito-2: #0b2547; --marca: #e5483a; --marca-oscura: #c23527; --marca-suave: #fff0ee;
  --azul: #2457c5; --verde: #16a34a; --verde-oscuro: #12823b; --verde-suave: #e9f9ef; --ambar: #b7791f;
  --sombra: 0 1px 2px rgb(18 24 38 / .06), 0 6px 18px rgb(18 24 38 / .06);
  --sombra-alta: 0 18px 44px rgb(18 24 38 / .16);
  --radio: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.5 Inter, "Segoe UI", system-ui, sans-serif; color: var(--tinta); background: var(--fondo); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: var(--azul); }
.contenedor { width: min(1220px, 100% - 32px); margin: 0 auto; }

/* ---------- Splash (video de la marca) ---------- */
/* El fondo es apenas más claro que los bordes del video (#04192b): con la mezcla "lighten" el fondo del video no se ve. */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 48%, #0c2a4d 0%, #08203b 38%, #061a30 75%); cursor: pointer; transition: opacity .6s ease, visibility .6s; }
.splash.fuera { opacity: 0; visibility: hidden; }
/* A su tamaño real (640×360) o menos, para que no pixele; los bordes se funden con el fondo. */
.splash-video { position: relative; z-index: 2; width: min(900px, 94vw); height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: transparent; mix-blend-mode: lighten;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%); mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 100%); }
/* Luces sutiles: dos halos que respiran y haces que giran despacio detrás del logo */
.splash-luces { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px 260px at 32% 46%, rgb(229 72 58 / .16), transparent 70%), radial-gradient(520px 300px at 68% 54%, rgb(80 140 255 / .14), transparent 70%);
  animation: luces-respirar 4s ease-in-out infinite alternate; }
.splash-luces::after { content: ""; position: absolute; left: 50%; top: 50%; width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax; opacity: .35;
  background: repeating-conic-gradient(from 0deg, rgb(255 255 255 / .05) 0deg 5deg, transparent 5deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 0, rgb(0 0 0 / .5) 20%, transparent 48%); mask: radial-gradient(circle, #000 0, rgb(0 0 0 / .5) 20%, transparent 48%);
  animation: rayos-girar 18s linear infinite; }
.particulas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.particula { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); box-shadow: 0 0 8px 2px var(--c); opacity: 0; animation: flotar var(--t) var(--d) linear infinite; }
@keyframes luces-respirar { from { opacity: .7; } to { opacity: 1; } }
@keyframes rayos-girar { to { transform: rotate(360deg); } }
@keyframes flotar { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 20% { opacity: .55; } 55% { opacity: .2; } 75% { opacity: .5; } 100% { opacity: 0; transform: translate(var(--dx), -120px) scale(1); } }
@media (prefers-reduced-motion: reduce) { .splash-luces, .splash-luces::after, .particula { animation: none; } }
.splash-botones { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.splash-boton { padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .1); color: #fff; font: 600 13px Inter, sans-serif; cursor: pointer; backdrop-filter: blur(6px); }
.splash-boton:hover { background: rgb(255 255 255 / .2); }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 20; background: linear-gradient(180deg, var(--grafito), var(--grafito-2)); color: #fff; box-shadow: 0 2px 12px rgb(0 0 0 / .18); }
.cabecera-fila { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 10px 0 8px; }
.marca { display: grid; gap: 1px; justify-items: start; text-decoration: none; }
.marca-logo, .marca-powered { mix-blend-mode: lighten; }   /* funde el fondo horneado del PNG con la cabecera oscura */
.marca-logo { height: 56px; width: auto; display: block; }
.marca-powered { height: 14px; width: auto; display: block; margin-left: 101px; }   /* centrado bajo el wordmark, proporcional a 56px */
.marca-fila { display: flex; align-items: center; gap: 8px; }
.marca-icono { width: 38px; height: 38px; }
.marca-texto { font: 800 20px/1 "Exo 2", Inter, sans-serif; letter-spacing: .05em; display: flex; gap: 5px; }
.marca-texto b { font-weight: 900; font-style: italic; }
.marca-texto b { color: var(--marca); }
.powered { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #aab3c2; letter-spacing: .02em; }
.powered img { height: 14px; padding: 2px 5px; border-radius: 4px; background: #fff; }
.buscador { position: relative; display: flex; background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgb(0 0 0 / .2); }
.buscador input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; border-radius: 12px 0 0 12px; outline: 0; color: var(--tinta); font-size: 15.5px; }
.buscador button { width: 54px; border: 0; border-radius: 0 12px 12px 0; background: var(--marca); color: #fff; cursor: pointer; display: grid; place-items: center; }
.buscador button:hover { background: var(--marca-oscura); }
.buscador button svg { width: 22px; height: 22px; fill: currentColor; }
.sugerencias { position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 12px; box-shadow: var(--sombra-alta); z-index: 30; }
.sugerencias li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--tinta); text-decoration: none; }
.sugerencias li a:hover, .sugerencias li a.activa { background: var(--fondo); }
.sugerencias img { width: 34px; height: 34px; object-fit: contain; background: #fff; border-radius: 6px; }
.sugerencias .busca { color: var(--suave); }
.acciones-cabecera { display: flex; gap: 6px; justify-content: flex-end; grid-column: 2 / -1; }
.accion { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 10px; color: #e6e9ef; text-decoration: none; font-weight: 600; font-size: 14px; }
.accion:hover { background: rgb(255 255 255 / .08); }
.accion svg { width: 22px; height: 22px; fill: currentColor; }
.accion.whatsapp { background: var(--verde); color: #fff; }
.accion.whatsapp:hover { background: var(--verde-oscuro); }
.subnav { border-top: 1px solid rgb(255 255 255 / .08); }
.subnav-fila { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 6px; }
.subnav-fila::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 6px 12px; border-radius: 999px; color: #c9d0db; text-decoration: none; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.subnav a:hover { color: #fff; background: rgb(255 255 255 / .08); }
.subnav a.activa { color: #fff; background: rgb(229 72 58 / .25); }
.subnav a.pedido { color: #ffcf99; }

/* ---------- Botones ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.boton:active { transform: translateY(1px); }
.boton svg { width: 20px; height: 20px; fill: currentColor; }
.principal { background: var(--marca); color: #fff; box-shadow: 0 8px 20px rgb(229 72 58 / .25); }
.principal:hover { background: var(--marca-oscura); }
.secundario { background: var(--panel); color: var(--tinta); border: 1px solid var(--linea); }
.secundario:hover { border-color: var(--tinta); }
.comprar { background: var(--verde); color: #fff; letter-spacing: .04em; font-weight: 800; box-shadow: 0 8px 20px rgb(22 163 74 / .25); }
.comprar:hover { background: var(--verde-oscuro); }
.whatsapp { background: var(--verde); color: #fff; }
.boton-mp { background: #009ee3; color: #fff; box-shadow: 0 8px 20px rgb(0 158 227 / .3); }
.boton-mp:hover { background: #0086c3; }

/* ---------- Inicio ---------- */
.vista { min-height: 60vh; padding-bottom: 40px; }
.cargando, .vacio { color: var(--suave); text-align: center; padding: 40px 0; }
.carrusel-hero { position: relative; overflow: hidden; height: clamp(260px, 30vw, 360px); background: var(--grafito); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; padding-bottom: 34px; opacity: 0; transition: opacity .8s ease; }
.slide.activa { opacity: 1; z-index: 1; }
.slide .contenedor { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 20px; }
.slide h2 { margin: 0 0 8px; font-size: clamp(22px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.slide p { margin: 0 0 16px; color: #d6dbe4; font-size: clamp(14px, 1.6vw, 17px); max-width: 520px; }
.slide .etiqueta { color: #ffb4ab; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin-bottom: 8px; }
.slide .fotos-slide { display: flex; justify-content: flex-end; gap: 12px; }
.slide .fotos-slide img { width: clamp(90px, 13vw, 170px); aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 18px; padding: 10px; box-shadow: var(--sombra-alta); }
.slide .fotos-slide img:nth-child(2) { transform: translateY(-14px) rotate(-3deg); }
.slide-1 { background: radial-gradient(700px 300px at 85% 0%, rgb(229 72 58 / .45), transparent 60%), linear-gradient(120deg, #121826, #2b1d2a); }
.slide-2 { background: radial-gradient(700px 300px at 80% 100%, rgb(22 163 74 / .4), transparent 60%), linear-gradient(120deg, #0f1d1a, #121826); }
.slide-3 { background: radial-gradient(700px 300px at 85% 0%, rgb(36 87 197 / .5), transparent 60%), linear-gradient(120deg, #121826, #16213d); }
.puntos-hero { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.puntos-hero button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgb(255 255 255 / .4); cursor: pointer; }
.puntos-hero button.activa { width: 24px; border-radius: 999px; background: #fff; }
.beneficios { position: relative; z-index: 3; margin-top: -26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--panel); border-radius: var(--radio); box-shadow: var(--sombra); }
.beneficio { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-right: 1px solid var(--linea); }
.beneficio:last-child { border-right: 0; }
.beneficio .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--marca-suave); color: var(--marca); }
.beneficio .ico svg { width: 22px; height: 22px; fill: currentColor; }
.beneficio b { display: block; font-size: 14px; }
.beneficio small { color: var(--suave); font-size: 12.5px; }
.seccion { margin-top: 26px; }
.seccion-cabeza { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.seccion-cabeza h2 { margin: 0; font-size: clamp(18px, 2.2vw, 22px); letter-spacing: -.01em; }
.seccion-cabeza a { font-weight: 600; font-size: 14px; text-decoration: none; }
.categorias-inicio { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.categoria-tile { display: grid; justify-items: center; gap: 8px; padding: 14px 10px; background: var(--panel); border-radius: var(--radio); box-shadow: var(--sombra); text-decoration: none; color: var(--tinta); text-align: center; font-weight: 600; font-size: 13.5px; transition: transform .15s, box-shadow .15s; }
.categoria-tile:hover { transform: translateY(-2px); box-shadow: var(--sombra-alta); }
.categoria-tile .redondo { width: 84px; height: 84px; border-radius: 50%; background: var(--fondo); display: grid; place-items: center; overflow: hidden; }
.categoria-tile .redondo img { width: 74%; height: 74%; object-fit: contain; }
.categoria-tile small { color: var(--suave); font-weight: 500; }
.categoria-tile.pedido .redondo { background: #fff4e5; }
.fila-productos { position: relative; }
.pista { display: grid; grid-auto-flow: column; grid-auto-columns: max(200px, calc((100% - 56px) / 5)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.pista::-webkit-scrollbar { display: none; }
.pista > * { scroll-snap-align: start; }
.flecha-pista { position: absolute; top: 40%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--sombra-alta); cursor: pointer; font-size: 20px; color: var(--tinta); }
.flecha-pista.izq { left: -14px; } .flecha-pista.der { right: -14px; }
.banda-pedido { margin-top: 30px; padding: 18px 20px; border-radius: var(--radio); background: linear-gradient(120deg, #fff4e5, #ffe9e5); border: 1px solid #f5d9b8; display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; }
.banda-pedido h2 { margin: 0; font-size: 20px; }
.banda-pedido p { margin: 4px 0 0; color: #7a4b12; }

/* ---------- Tarjeta de producto ---------- */
.tarjeta { display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; border-radius: var(--radio); background: var(--panel); overflow: hidden; cursor: pointer; box-shadow: var(--sombra); transition: transform .18s, box-shadow .18s; color: inherit; text-decoration: none; min-width: 0; }
.tarjeta:hover { transform: translateY(-3px); box-shadow: var(--sombra-alta); }
.tarjeta .imagen { aspect-ratio: 1; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--linea); position: relative; }
.tarjeta .imagen img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.tarjeta .cinta { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.cinta.stock { background: var(--verde-suave); color: var(--verde-oscuro); }
.cinta.pedido { background: #fff1dc; color: #9a5b0b; }
.cinta.servicio { background: #eef2ff; color: #3730a3; }
/* Fuente del producto (solo se ve en el editor de precios: el servidor no la manda al público). */
.tarjeta .cinta.fuente { top: auto; bottom: 10px; color: #fff; }
.cinta.fuente.ali { background: #e62e04; }
.cinta.fuente.ebay { background: #0064d2; }
.tarjeta .cuerpo { padding: 12px 14px 14px; display: grid; gap: 4px; flex: 1; align-content: start; }
.tarjeta h3 { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--tinta-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.tarjeta .precio { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-top: 4px; }
.tarjeta .precio small { font-size: 12px; font-weight: 600; color: var(--suave); }
.linea-cuotas { color: var(--verde-oscuro); font-size: 13px; font-weight: 600; }
.linea-transferencia { font-size: 12.5px; color: var(--suave); }
.linea-transferencia b { color: var(--tinta); }
.descuento { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--verde-suave); color: var(--verde-oscuro); font-size: 11.5px; font-weight: 800; }
.valoracion { color: var(--ambar); font-size: 12.5px; font-weight: 600; }
.llega { font-size: 12.5px; color: var(--verde-oscuro); font-weight: 600; }
.llega.pedido { color: #9a5b0b; }

/* "Producto estrella" (nuestros productos): sello dorado chico en la esquina de la foto y borde dorado fino en la tarjeta */
.sello-estrella { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; border-radius: 999px;
  background: linear-gradient(135deg, #fff8e6, #ffe9b8); border: 1px solid #f0cf7a; box-shadow: 0 2px 8px rgb(183 121 31 / .18); pointer-events: none;
  font: italic 800 11px/1 "Exo 2", Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #8a5a00; }
.sello-estrella::before { content: "★"; font-style: normal; font-size: 12px; color: #e0a100; text-shadow: 0 0 6px rgb(255 200 60 / .6); }
.sello-estrella.grande { left: 14px; bottom: 14px; padding: 6px 12px 6px 9px; font-size: 13px; }
.sello-estrella.grande::before { font-size: 15px; }
.tarjeta.estrella { box-shadow: 0 0 0 1.5px #f0cf7a, var(--sombra); }
.tarjeta.estrella:hover { box-shadow: 0 0 0 1.5px #e9bd4c, var(--sombra-alta); }
.galeria-principal { position: relative; }

/* ---------- Resultados ---------- */
.resultados { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; margin-top: 20px; }
.filtros { align-self: start; position: sticky; top: 130px; display: grid; gap: 16px; }
.filtros h1 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.filtros .total { color: var(--suave); font-size: 13.5px; }
.filtros .grupos { display: grid; gap: 14px; }
.grupo-filtro h3 { margin: 0 0 6px; font-size: 14px; }
.grupo-filtro a, .grupo-filtro button { display: block; width: 100%; text-align: left; padding: 4px 0; border: 0; background: none; color: var(--tinta-2); text-decoration: none; font-size: 13.5px; cursor: pointer; }
.grupo-filtro a:hover, .grupo-filtro button:hover { color: var(--azul); }
.grupo-filtro .activo { color: var(--marca); font-weight: 700; }
.grupo-filtro span { color: var(--tenue); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--panel); border: 1px solid var(--linea); font-size: 12.5px; cursor: pointer; }
.barra-resultados { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.barra-resultados select { height: 38px; border: 1px solid var(--linea); border-radius: 10px; padding: 0 10px; background: var(--panel); }
.boton-filtros { display: none; }
.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.mas-opciones { margin-top: 26px; }
.buscando { display: flex; align-items: center; gap: 10px; color: var(--suave); padding: 18px 0 30px; }
.girando { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--linea); border-top-color: var(--marca); animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.interpretacion { margin: -6px 0 12px; color: var(--suave); font-size: 13.5px; }
.mas-opciones { margin: 0 0 26px; }
.seccion-estrella:not(:empty) { margin: 0 0 26px; padding: 16px 16px 18px; border-radius: var(--radio); background: linear-gradient(120deg, #fff5f3, #fff9ef); border: 1px solid #f6d2cc; }
.seccion-estrella h2 { color: var(--marca-oscura); }
.nota-estrella { font-size: 13px; color: var(--suave); }
.catalogo-cabeza { margin-top: 6px; }
.buscando-ia { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--radio); background: linear-gradient(120deg, #eef4ff, #f5f0ff); border: 1px solid #d9e2ff; }
.buscando-ia small { display: block; color: var(--suave); }
.insignia { position: absolute; right: 10px; top: 10px; padding: 3px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; color: #fff; box-shadow: 0 4px 10px rgb(0 0 0 / .15); }
.insignia.mejor { background: var(--verde); }
.insignia.recomendado { background: var(--azul); }
.insignia.mejor { top: auto; bottom: 10px; }
.tarjeta.mejor-precio { box-shadow: 0 0 0 2px var(--verde), var(--sombra-alta); }

/* Marca de agua animada mientras busca la IA */
.resultados { position: relative; }
.resultados > :not(.marca-agua-busqueda):not(.filtros) { position: relative; z-index: 1; }
.resultados > .filtros { z-index: 1; }
.marca-agua-busqueda { position: absolute; inset: 0; z-index: 5; display: grid; place-items: start center; padding-top: 90px; pointer-events: none; opacity: .16; transition: opacity .5s; }
.marca-agua-busqueda.apagando { opacity: 0; }
.escena-loop { width: min(760px, 92%); height: auto; overflow: visible; }
.logo-agua { width: min(640px, 86%); height: auto; animation: logo-pulso 1.8s ease-in-out infinite; filter: drop-shadow(0 0 18px rgb(229 72 58 / .45)); }
@keyframes logo-pulso { 0%, 100% { transform: scale(.97); opacity: .75; } 50% { transform: scale(1.03); opacity: 1; } }
.escena-loop .piso { stroke: var(--tinta); stroke-width: 3; stroke-dasharray: 10 8; }
.escena-loop .carroceria, .escena-loop .impacto path { fill: var(--marca); }
.escena-loop .vidrio { fill: var(--tinta); }
.escena-loop .faro { fill: var(--marca); }
.escena-loop .rueda, .escena-loop .rueda-carrito { fill: var(--tinta); stroke: var(--tinta); stroke-width: 3; }
.escena-loop .llanta { fill: #fff; }
.escena-loop .canasta { fill: none; stroke: var(--tinta); stroke-width: 5; stroke-linejoin: round; }
.escena-loop .rejilla, .escena-loop .eje, .escena-loop .manija { fill: none; stroke: var(--tinta); stroke-width: 4; stroke-linecap: round; }
.escena-loop .lineas-velocidad line { stroke: var(--marca); stroke-width: 4; stroke-linecap: round; }
.escena-loop .auto { animation: loop-auto 2.8s cubic-bezier(.55, 0, .85, .35) infinite; }
.escena-loop .lineas-velocidad { animation: loop-lineas 2.8s linear infinite; }
.escena-loop .carrito { transform-box: view-box; transform-origin: 322px 168px; animation: loop-carrito 2.8s ease-out infinite; }
.escena-loop .impacto { transform-box: view-box; transform-origin: 232px 108px; animation: loop-impacto 2.8s ease-out infinite; }
@keyframes loop-auto { 0% { transform: translateX(-320px); opacity: 0; } 8% { opacity: 1; } 36% { transform: translateX(22px); } 46% { transform: translateX(8px); } 85% { transform: translateX(12px); opacity: 1; } 100% { transform: translateX(12px); opacity: 0; } }
@keyframes loop-lineas { 0% { transform: translateX(0); opacity: 1; } 34% { transform: translateX(230px); opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes loop-carrito { 0%, 35% { transform: rotate(0); } 45% { transform: translateX(16px) rotate(22deg); } 56% { transform: translateX(14px) rotate(9deg); } 66% { transform: translateX(15px) rotate(16deg); } 85% { transform: translateX(15px) rotate(13deg); } 100% { transform: rotate(0); } }
@keyframes loop-impacto { 0%, 33% { opacity: 0; transform: scale(.2); } 40% { opacity: 1; transform: scale(1.15); } 52%, 100% { opacity: 0; transform: scale(1.5); } }
.escena-loop .rayos { animation: girar-rueda .25s linear infinite; }
.escena-loop .haz { animation: none; opacity: .5; }
.escena-loop .rueda-carrito { fill: var(--tinta); stroke: var(--tinta); }
.escena-loop .cubo-carrito { fill: #fff; }
.escena-loop .empunadura { stroke: var(--marca); }
@media (prefers-reduced-motion: reduce) { .escena-loop * { animation: none !important; } }

/* ---------- Página de producto ---------- */
.migas { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 10px; font-size: 13px; color: var(--suave); }
.migas a { text-decoration: none; }
.producto { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 320px; gap: 22px; padding: 22px; background: var(--panel); border-radius: var(--radio); box-shadow: var(--sombra); }
.galeria { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-self: start; position: sticky; top: 130px; }
.miniaturas { display: grid; gap: 8px; align-content: start; }
.miniaturas button { width: 64px; height: 64px; padding: 0; border: 2px solid var(--linea); border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; }
.miniaturas button.activa, .miniaturas button:hover { border-color: var(--marca); }
.miniaturas img { width: 100%; height: 100%; object-fit: contain; }
.galeria-principal { aspect-ratio: 1; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.galeria-principal img { width: 100%; height: 100%; object-fit: contain; }
.lupa-foto { position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 38px; height: 38px; padding: 0; border: 1px solid var(--linea); border-radius: 999px;
  background: rgb(255 255 255 / .92); box-shadow: 0 2px 8px rgb(10 20 40 / .18); font-size: 17px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lupa-foto:hover { background: #fff; border-color: var(--marca); transform: scale(1.06); }

/* Comparador de equipos */
.comparar-fondo { position: fixed; inset: 0; z-index: 110; background: rgb(4 10 20 / .55); display: grid; place-items: center; padding: 16px; animation: visor-aparecer .18s ease; }
.comparar-caja { position: relative; width: min(640px, 100%); max-height: 86vh; overflow: auto; background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 24px 60px rgb(0 0 0 / .35); display: grid; gap: 10px; align-content: start; }
.comparar-caja h3 { margin: 0; padding-right: 40px; font-size: 19px; }
.comparar-sub { margin: 0; color: var(--suave); font-size: 13.5px; }
.visor-cerrar.oscuro { position: absolute; top: 10px; right: 10px; background: var(--fondo); color: var(--tinta); }
.visor-cerrar.oscuro:hover { background: var(--linea); }
.comparar-grupo { margin: 6px 0 0; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); }
.comparar-lista, .comparar-resultados { display: grid; gap: 8px; }
.comparar-item { display: flex; gap: 10px; align-items: center; text-align: left; padding: 8px; border: 1px solid var(--linea); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; }
.comparar-item:hover { border-color: var(--marca); box-shadow: var(--sombra); }
.comparar-item img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--linea); flex: none; }
.comparar-item b { display: block; font-size: 13.5px; line-height: 1.3; }
.comparar-item small { color: var(--suave); }
.comparar-busca { display: flex; gap: 8px; }
.comparar-busca input { flex: 1; height: 44px; padding: 0 12px; border: 1px solid var(--linea); border-radius: 10px; font: inherit; min-width: 0; }
.comparar-nota { margin: 0; color: var(--suave); font-size: 13px; }
/* Página de comparación */
.panel-comparar { display: grid; gap: 14px; }
.comparar-titulo { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.comparar-titulo h1 { margin: 0; font-size: clamp(20px, 2.2vw, 25px); letter-spacing: -.01em; }
.comparar-scroll { overflow-x: auto; }
.tabla-comparar { width: 100%; border-collapse: collapse; min-width: 640px; }
.tabla-comparar th, .tabla-comparar td { padding: 11px 12px; border-bottom: 1px solid var(--linea); vertical-align: top; text-align: left; font-size: 14px; line-height: 1.45; }
.tabla-comparar thead th { border-bottom: 2px solid var(--linea); vertical-align: bottom; }
.tabla-comparar tbody th { width: 185px; color: var(--suave); font-weight: 600; }
.tabla-comparar tbody tr:nth-child(odd) td { background: #fafbfd; }
.tabla-comparar small.suave { color: var(--suave); }
.cabeza-comparar { display: grid; gap: 8px; justify-items: start; min-width: 190px; }
.cabeza-comparar img { width: 160px; height: 125px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--linea); display: block; }
.cabeza-comparar a { color: inherit; text-decoration: none; font-weight: 800; line-height: 1.3; }
.cabeza-comparar a:hover { color: var(--marca); }
.precio-comparar b { font-size: 19px; letter-spacing: -.01em; }
.precio-comparar.mejor b { color: var(--verde-oscuro); }
.precio-comparar.mejor small { color: var(--verde-oscuro); font-weight: 700; }
.comparar-sueltas { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.fila-acciones td { padding-top: 14px; }
.fila-acciones .boton { display: inline-block; }
.comparar-pie { margin: 0; }
.ia-cargando { color: var(--suave); font-style: italic; }
.ia-cargando::before { content: "🤖 "; font-style: normal; }
.comparar-veredicto { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: #eef4ff; border: 1px solid #c9d7ef; font-size: 14px; line-height: 1.5; }
.comparar-veredicto .robot { width: 38px; height: 38px; object-fit: contain; flex: none; }
.comparar-veredicto b { color: var(--grafito-2); }
.comparar-ia-invita { display: grid; }
.boton.ia-resumen { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--grafito), var(--sm-navy-2)); color: #fff; border: 1px solid #2c4a7c; font-weight: 700; text-align: left; }
.boton.ia-resumen:hover { filter: brightness(1.15); }
.boton.ia-resumen .robot { width: 34px; height: 34px; object-fit: contain; flex: none; }
/* Botón destacado en la página de producto (pedido del dueño) */
.boton.comparar-abrir { width: 100%; background: linear-gradient(135deg, var(--grafito-2), #163156); color: #fff; border: 1px solid #2c4a7c; font-weight: 800; box-shadow: 0 4px 14px rgb(11 37 71 / .35); }
.boton.comparar-abrir:hover { background: linear-gradient(135deg, #123058, #1d3f6e); transform: translateY(-1px); }
@media (max-width: 700px) {
  .comparar-caja { padding: 16px; max-height: 92vh; }
  .tabla-comparar tbody th { width: 110px; }
}

/* Visor de fotos a pantalla completa */
@keyframes visor-aparecer { from { opacity: 0; } to { opacity: 1; } }
.visor-fotos { position: fixed; inset: 0; z-index: 120; background: rgb(4 10 20 / .93); display: grid; place-items: center; animation: visor-aparecer .18s ease; }
.visor-fotos > img { max-width: min(92vw, 1100px); max-height: 88vh; object-fit: contain; border-radius: 10px; background: #fff; }
.visor-cerrar { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .14);
  color: #fff; font-size: 19px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.visor-cerrar:hover { background: rgb(255 255 255 / .28); }
.visor-flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 64px; border: 0; border-radius: 12px; background: rgb(255 255 255 / .12);
  color: #fff; font-size: 34px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; }
.visor-flecha:hover { background: rgb(255 255 255 / .26); }
.visor-flecha.izq { left: 12px; }
.visor-flecha.der { right: 12px; }
.visor-contador { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13.5px; padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / .14); }
@media (max-width: 700px) {
  .visor-fotos > img { max-width: 100vw; max-height: 82vh; border-radius: 0; }
  .visor-flecha { width: 40px; height: 56px; }
}
.info-producto { display: grid; gap: 10px; align-content: start; }
.info-producto .estado-venta { color: var(--suave); font-size: 13px; }
.info-producto h1 { margin: 0; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.25; letter-spacing: -.01em; }
.precio-grande { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.precio-grande small { display: block; font-size: 12.5px; font-weight: 500; color: var(--suave); letter-spacing: 0; }
.caja-precio-transferencia { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: baseline; width: fit-content; padding: 6px 12px; border-radius: 10px; background: var(--verde-suave); color: var(--verde-oscuro); font-size: 14px; font-weight: 600; }
.caja-precio-transferencia b { font-size: 17px; }
.descripcion { color: var(--tinta-2); }
.descripcion p { margin: 0 0 8px; }
.titulo-seccion { margin: 14px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--suave); }
.caracteristicas { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.caracteristicas li { position: relative; padding-left: 24px; font-size: 14.5px; }
.caracteristicas li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 9px; border-left: 2.5px solid var(--verde); border-bottom: 2.5px solid var(--verde); transform: rotate(-45deg); }
.tabla-caracteristicas { width: 100%; border-collapse: collapse; font-size: 14px; overflow: hidden; border-radius: 10px; }
.tabla-caracteristicas td { padding: 9px 12px; vertical-align: top; }
.tabla-caracteristicas tr:nth-child(odd) { background: var(--fondo); }
.tabla-caracteristicas td:first-child { width: 40%; font-weight: 600; color: var(--tinta-2); }
.caja-compra { align-self: start; position: sticky; top: 130px; display: grid; gap: 12px; padding: 18px; border: 1px solid var(--linea); border-radius: var(--radio); }
.caja-compra .disponible { font-weight: 700; color: var(--verde-oscuro); }
.caja-compra .disponible.pedido { color: #9a5b0b; }
.caja-compra .llegada-compra { font-size: 13.5px; color: var(--tinta-2); }
.caja-compra .llegada-compra b { color: var(--verde-oscuro); }
.caja-compra .boton { width: 100%; }
.garantias { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13px; color: var(--suave); }
.garantias li { display: flex; gap: 8px; align-items: flex-start; }
.garantias li::before { content: "✓"; color: var(--verde); font-weight: 900; }
.debajo-producto { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 18px; }
.panel { background: var(--panel); border-radius: var(--radio); box-shadow: var(--sombra); padding: 20px 22px; }
.panel h2 { margin: 0 0 12px; font-size: 20px; }
.cantidad { display: inline-flex; align-items: center; border: 1px solid var(--linea); border-radius: 10px; overflow: hidden; width: fit-content; }
.cantidad button { width: 40px; height: 40px; border: 0; background: var(--fondo); cursor: pointer; font-size: 18px; }
.cantidad input { width: 52px; height: 40px; border: 0; text-align: center; outline: 0; }
.fila-cantidad { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--suave); }

/* Extras y planes */
.extras { display: grid; gap: 8px; }
.extra { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--linea); border-radius: 12px; cursor: pointer; background: var(--panel); }
.extra:has(input:checked) { border-color: var(--azul); background: #f2f6ff; }
.extra input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--azul); }
.extra b { display: block; font-size: 14px; }
.extra small { color: var(--suave); font-size: 12.5px; }
.extra .valor { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.extra .valor.incluido { color: var(--verde-oscuro); }
.medio .valor { font-size: 15px; }

/* Cuotas sin interés y MercadoLibre */
.cuotas { display: grid; gap: 8px; }
.boton-cuotas { width: 100%; justify-content: flex-start; gap: 12px; padding: 10px 14px; text-align: left; background: #e7f6fd; color: #00669a; box-shadow: none; border: 1px solid #bfe6f7; }
.boton-cuotas:hover { background: #d9f1fc; }
.boton-cuotas .icono { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #009ee3; flex: none; }
.boton-cuotas .icono svg { width: 20px; height: 20px; fill: #fff; }
.boton-cuotas b { display: block; font-size: 13.5px; }
.boton-cuotas small { display: block; font-weight: 500; font-size: 12.5px; }
.panel-cuotas { padding: 14px; border: 1px solid #bfe6f7; border-radius: 12px; background: #f2fbff; }
.titulo-cuotas { margin: 0 0 10px; font-weight: 700; }
.solapas-tarjetas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.solapa-tarjeta { padding: 6px 12px; border-radius: 999px; border: 1px solid #bfe6f7; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--tinta); }
.solapa-tarjeta.activa { background: #009ee3; border-color: #009ee3; color: #fff; }
.bancos { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; border-radius: 10px; background: #fff; border: 1px solid #d8eef8; }
.bancos li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 8px 12px; border-bottom: 1px solid #edf6fb; font-size: 13.5px; }
.bancos li:last-child { border-bottom: 0; }
.bancos li b { color: var(--verde-oscuro); font-size: 13px; text-align: right; }
.bancos li small { grid-column: 2; text-align: right; color: var(--suave); font-size: 12px; }
.nota-cuotas { margin: 10px 0 0; font-size: 12px; color: var(--suave); }
.nota-cuotas.mal { color: #b42318; }
.boton-ml { background: #ffe600; color: #2d3277; box-shadow: none; }
.boton-ml:hover { background: #ffdb15; }

/* ---------- Diálogo (presupuesto y compra) ---------- */
.detalle { width: min(980px, 100vw - 24px); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgb(0 0 0 / .35); }
.detalle::backdrop { background: rgb(12 16 26 / .6); backdrop-filter: blur(3px); }
.detalle-barra { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--panel); border-bottom: 1px solid var(--linea); }
.cerrar { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--linea); background: var(--panel); cursor: pointer; font-size: 20px; line-height: 1; }
.formulario { padding: 20px; display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.formulario h2 { margin: 0; }
.nota { margin: 0; color: var(--suave); font-size: 14px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.campo { display: grid; gap: 5px; font-size: 13px; color: var(--suave); font-weight: 500; }
.campo input, .campo select { height: 46px; padding: 0 12px; border: 1px solid var(--linea); border-radius: 10px; background: #fff; color: var(--tinta); outline: 0; }
.campo input:focus, .campo select:focus { border-color: var(--azul); }
.doc { display: flex; gap: 8px; }
.doc input { flex: 1; min-width: 0; }
.estado { min-height: 20px; font-size: 13.5px; color: var(--suave); margin: 0; }
.estado.mal { color: #b42318; }
.estado.bien { color: var(--verde-oscuro); }
.accion-final { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.obtener { flex: 1; min-width: 220px; padding: 14px 18px; font-size: 15px; letter-spacing: .03em; }
.resumen-compra { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--linea); border-radius: 12px; }
.resumen-compra img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #fff; }
.resumen-compra small { display: block; color: var(--suave); }
.orden-creada { text-align: left; }
.etiqueta-ok { margin: 0; color: var(--verde-oscuro); font-weight: 800; }
.codigo-orden { white-space: nowrap; padding: 2px 10px; border-radius: 8px; background: var(--fondo); border: 1px dashed var(--tinta); letter-spacing: .06em; }
.orden-qr { display: flex; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--linea); border-radius: 14px; }
.orden-qr small { display: block; color: var(--suave); margin: 2px 0 6px; }
.qr { width: 150px; height: 150px; image-rendering: pixelated; flex: none; }
.ver-ficha { color: var(--azul); font-weight: 600; font-size: 14px; }
.vista-presupuesto { display: grid; grid-template-rows: auto 1fr; height: calc(100vh - 24px); max-height: calc(100vh - 24px); }
.barra-presupuesto { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--linea); background: var(--panel); }
.barra-presupuesto .acciones { display: flex; gap: 10px; flex-wrap: wrap; }
.barra-presupuesto .comprar { padding: 12px 30px; font-size: 16px; }
.vista-presupuesto iframe { width: 100%; height: 100%; border: 0; background: #e9edf3; }

/* ---------- Pie ---------- */
.pie { margin-top: 30px; padding: 26px 0 34px; color: #c3cad6; font-size: 13.5px; background: var(--grafito); }
.pie-fila { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.pie b { color: #fff; }
.pie p { margin: 4px 0 0; }
.pie-links { display: flex; gap: 16px; }
.pie-links a { color: #e6e9ef; text-decoration: none; }
.pie-powered { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; }
.pie-powered img { height: 22px; }

/* ---------- Celular y tablet ---------- */
@media (max-width: 1100px) {
  .producto { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .caja-compra { grid-column: 1 / -1; position: static; }
  .debajo-producto { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .cabecera-fila { grid-template-columns: auto auto; gap: 10px 12px; }
  .buscador { grid-column: 1 / -1; order: 3; }
  .acciones-cabecera { justify-content: flex-end; }
  .accion span { display: none; }
  .beneficios { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  .beneficio:nth-child(2) { border-right: 0; }
  .beneficio:nth-child(-n+2) { border-bottom: 1px solid var(--linea); }
  .resultados { grid-template-columns: 1fr; }
  .filtros { position: static; }
  .filtros .grupos { display: none; }
  .filtros.abiertos .grupos { display: grid; }
  .boton-filtros { display: inline-flex; }
  .producto { grid-template-columns: 1fr; padding: 14px; }
  .galeria { position: static; grid-template-columns: 1fr; }
  .miniaturas { grid-auto-flow: column; grid-auto-columns: 56px; overflow-x: auto; order: 2; }
  .miniaturas button { width: 56px; height: 56px; }
  .slide .contenedor { grid-template-columns: 1fr; }
  .slide .fotos-slide { display: none; }
  .flecha-pista { display: none; }
  .categorias-inicio { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 112px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .categorias-inicio::-webkit-scrollbar { display: none; }
  .categoria-tile { padding: 10px 6px; font-size: 12px; }
  .categoria-tile .redondo { width: 62px; height: 62px; }
  .pista { grid-auto-columns: 46%; }
  .grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tarjeta .precio { font-size: 19px; }
  .detalle { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; margin: 0; }
  .campos { grid-template-columns: 1fr; }
  .vista-presupuesto { height: 100vh; max-height: 100vh; }
}
@media (max-width: 420px) {
  .marca-logo { height: 34px; }
  .marca-powered { height: 9px; margin-left: 61px; }
}

/* ---------- Banner animado "Productos por pedido" ---------- */
.banner-pedido { position: relative; overflow: hidden; margin-top: 30px; min-height: 300px; padding: 34px clamp(22px, 6vw, 96px); border-radius: var(--radio);
  display: flex; align-items: center; justify-content: space-between; gap: 40px; background: #0F1B2D; color: #fff; font-family: "Public Sans", system-ui, sans-serif; }
.vista > .contenedor > .banner-pedido:first-child { margin-top: 20px; }
.bp-aro { position: absolute; border-radius: 50%; border: 2px solid #1C2C47; pointer-events: none; }
.bp-aro1 { right: -120px; top: -160px; width: 560px; height: 560px; }
.bp-aro2 { right: 40px; top: -40px; width: 340px; height: 340px; }
.bp-texto, .bp-lado { position: relative; z-index: 1; }
.bp-texto { display: flex; flex-direction: column; gap: 14px; }
.bp-chip { display: inline-block; background: #F2A900; color: #0F1B2D; font-weight: 800; font-size: 12px; letter-spacing: 1.5px; padding: 5px 10px; border-radius: 6px; }
.bp-titulo { margin: 0; color: #fff; font-family: Archivo, sans-serif; font-weight: 900; font-size: clamp(30px, 4.3vw, 64px); line-height: .95; letter-spacing: -2px; }
.bp-titulo > span { display: block; white-space: nowrap; }
.bp-texto { flex: none; }
.bp-lado { flex: 1; min-width: 0; align-items: flex-end; }
.bp-acento, .bp-moneda { color: #F26B45; }
.bp-moneda { display: inline-block; }
.bp-bajada { margin: 6px 0 0; font-size: 18px; color: #C3CCDA; }
.bp-bajada strong { color: #fff; }
.bp-lado { display: flex; flex-direction: column; align-items: flex-end; gap: 28px; }
.bp-recorrido { width: min(520px, 100%); position: relative; padding-top: 40px; }
.bp-etiqueta { position: absolute; right: -14px; top: -34px; overflow: hidden; background: #C9401F; color: #fff; font-family: Archivo, sans-serif; font-weight: 900; font-size: 34px; padding: 10px 18px; border-radius: 12px; box-shadow: 0 10px 24px rgb(0 0 0 / .35); }
.bp-brillo { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: rgb(255 255 255 / .28); transform: translateX(-120%); }
.bp-pista { position: relative; height: 56px; }
.bp-camion { position: absolute; left: 0; bottom: 6px; width: 68px; height: 44px; color: #fff; }
.bp-camion svg { width: 68px; height: 44px; display: block; }
.bp-barra { height: 8px; border-radius: 8px; background: #1C2C47; overflow: hidden; }
.bp-relleno { height: 100%; width: 0; border-radius: 8px; background: #F2A900; }
.bp-hitos { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #8A97AB; }
.bp-cta { display: flex; align-items: center; gap: 10px; background: #C9401F; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; padding: 15px 28px; border-radius: 10px; }
.bp-cta:hover { background: #b3361a; color: #fff; }
/* Animación (7 s, en bucle) */
@keyframes bp-subir { 0% { opacity: 0; transform: translateY(24px); } 10% { opacity: 1; transform: translateY(0); } 92% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes bp-moneda { 0%, 12% { transform: translateY(0) rotate(0); } 18% { transform: translateY(-10px) rotate(-12deg); } 24% { transform: translateY(0) rotate(0); } 100% { transform: translateY(0); } }
@keyframes bp-camion { 0%, 14% { left: 0; } 58%, 100% { left: calc(100% - 68px); } }
@keyframes bp-relleno { 0%, 14% { width: 0; } 58%, 100% { width: 100%; } }
@keyframes bp-etiqueta { 0%, 56% { opacity: 0; transform: scale(.4) rotate(-12deg); } 63% { opacity: 1; transform: scale(1.12) rotate(-6deg); } 68% { opacity: 1; transform: scale(1) rotate(-6deg); } 94% { opacity: 1; transform: scale(1) rotate(-6deg); } 100% { opacity: 0; transform: scale(1) rotate(-6deg); } }
@keyframes bp-brillo { 0%, 62% { transform: translateX(-120%); } 74%, 100% { transform: translateX(220%); } }
@keyframes bp-latido { 0%, 60% { box-shadow: 0 0 0 0 rgb(242 107 69 / 0); } 66% { box-shadow: 0 0 0 10px rgb(242 107 69 / .25); } 74%, 100% { box-shadow: 0 0 0 0 rgb(242 107 69 / 0); } }
.bp-l1 { animation: bp-subir 7s ease-out infinite; }
.bp-l2 { animation: bp-subir 7s ease-out .25s infinite; opacity: 0; }
.bp-l3 { animation: bp-subir 7s ease-out .5s infinite; opacity: 0; }
.bp-moneda { animation: bp-moneda 7s ease-in-out infinite; }
.bp-camion { animation: bp-camion 7s cubic-bezier(.45, 0, .25, 1) infinite; }
.bp-relleno { animation: bp-relleno 7s cubic-bezier(.45, 0, .25, 1) infinite; }
.bp-etiqueta { animation: bp-etiqueta 7s ease-out infinite; opacity: 0; }
.bp-brillo { animation: bp-brillo 7s ease-in-out infinite; }
.bp-cta { animation: bp-latido 7s ease-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .bp-l1, .bp-l2, .bp-l3, .bp-moneda, .bp-camion, .bp-relleno, .bp-etiqueta, .bp-brillo, .bp-cta { animation: none; opacity: 1; }
  .bp-relleno { width: 100%; } .bp-camion { left: calc(100% - 68px); }
}
@media (max-width: 900px) {
  .banner-pedido { flex-direction: column; align-items: stretch; gap: 30px; padding: 28px 22px; }
  .bp-lado { align-items: stretch; }
  .bp-recorrido { width: 100%; }
  .bp-etiqueta { right: 0; font-size: 26px; }
  .bp-cta { justify-content: center; }
  .bp-hitos { font-size: 11px; }
}

/* ---------- Banner "por pedido" en chico, en la cabecera ---------- */
.mini-banner { display: flex; align-items: center; gap: 14px; padding: 7px 10px 7px 12px; border-radius: 12px; background: #0F1B2D; border: 1px solid #22375a; color: #fff; text-decoration: none; font-family: "Public Sans", system-ui, sans-serif; position: relative; overflow: hidden; box-shadow: 0 0 0 0 rgb(242 107 69 / 0); animation: bp-latido 7s ease-out infinite; }
.mini-banner:hover { border-color: #F26B45; }
.mb-texto { display: grid; gap: 3px; }
.mb-chip { width: fit-content; background: #F2A900; color: #0F1B2D; font-weight: 800; font-size: 8.5px; letter-spacing: 1.2px; padding: 2px 6px; border-radius: 4px; }
.mb-titulo { font-family: Archivo, sans-serif; font-weight: 900; font-size: 13px; letter-spacing: -.2px; white-space: nowrap; line-height: 1; }
.mb-acento, .mb-moneda { color: #F26B45; }
.mb-moneda { display: inline-block; animation: mb-moneda 7s ease-in-out infinite; }
@keyframes mb-moneda { 0%, 12% { transform: rotate(0); } 18% { transform: translateY(-2px) rotate(-12deg); } 24%, 100% { transform: rotate(0); } }
.mb-recorrido { width: 74px; display: grid; gap: 3px; }
.mb-pista { position: relative; height: 15px; }
.mb-camion { position: absolute; left: 0; bottom: 0; width: 23px; height: 15px; color: #fff; animation: mb-camion 7s cubic-bezier(.45, 0, .25, 1) infinite; }
.mb-camion svg { width: 23px; height: 15px; display: block; }
.mb-barra { height: 4px; border-radius: 4px; background: #1C2C47; overflow: hidden; }
.mb-barra .bp-relleno { display: block; }
.mb-etiqueta { position: relative; overflow: hidden; background: #C9401F; color: #fff; font-family: Archivo, sans-serif; font-weight: 900; font-size: 14px; padding: 4px 7px; border-radius: 7px; transform: rotate(-6deg); animation: mb-etiqueta 7s ease-out infinite; }
@keyframes mb-camion { 0%, 14% { left: 0; } 58%, 100% { left: calc(100% - 23px); } }
@keyframes mb-etiqueta { 0%, 56% { transform: scale(.85) rotate(-12deg); } 63% { transform: scale(1.15) rotate(-6deg); } 68%, 100% { transform: scale(1) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .mini-banner, .mb-etiqueta, .mb-moneda { animation: none; } }
@media (max-width: 860px) { .mb-titulo { font-size: 11px; } .mb-chip { display: none; } .mini-banner { padding: 6px 8px; gap: 8px; } .mb-etiqueta { font-size: 12px; } }
@media (max-width: 480px) { .mb-texto { display: none; } }

/* Tarjeta: precio por transferencia primero (verde) y el de lista en cuotas debajo */
.tarjeta .precio.transferencia { color: var(--verde-oscuro); }
.tarjeta .linea-transferencia { color: var(--verde-oscuro); font-size: 13px; font-weight: 600; }
.tarjeta .linea-cuotas.lista { color: var(--suave); font-weight: 500; }

/* ---------- Buscando: camioncito con el $ avanzando ---------- */
.buscando-ofertas { display: grid; justify-items: center; gap: 14px; padding: 26px 20px 24px; border-radius: var(--radio); background: #0F1B2D; border: 1px solid #22375a; color: #fff; }
.bo-ruta { position: relative; width: min(420px, 100%); height: 46px; border-bottom: 4px solid #1C2C47; }
.bo-ruta::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: linear-gradient(90deg, #F2A900, #F26B45); transform-origin: left; animation: bo-relleno 2.8s cubic-bezier(.45, 0, .25, 1) infinite; }
.bo-camion { position: absolute; bottom: 2px; left: 0; width: 56px; height: 36px; color: #fff; animation: bo-camion 2.8s cubic-bezier(.45, 0, .25, 1) infinite; }
.bo-camion svg { width: 100%; height: 100%; display: block; }
.bo-moneda { position: absolute; bottom: 8px; left: 0; font-family: Archivo, sans-serif; font-weight: 900; font-size: 16px; color: #F2A900; opacity: 0; animation: bo-moneda 2.8s ease-out infinite; }
.bo-moneda.m2 { animation-delay: .35s; } .bo-moneda.m3 { animation-delay: .7s; }
.bo-texto { font-family: Archivo, sans-serif; font-weight: 900; letter-spacing: .6px; font-size: clamp(14px, 2.4vw, 18px); text-align: center; animation: bo-latido 1.4s ease-in-out infinite; }
@keyframes bo-camion { 0% { left: 0; } 85%, 100% { left: calc(100% - 56px); } }
@keyframes bo-relleno { 0% { transform: scaleX(0); } 85%, 100% { transform: scaleX(1); } }
@keyframes bo-moneda { 0% { left: 4%; opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 60% { opacity: .9; } 100% { left: 70%; opacity: 0; transform: translateY(-26px); } }
@keyframes bo-latido { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
@media (prefers-reduced-motion: reduce) { .bo-camion, .bo-ruta::after, .bo-moneda, .bo-texto { animation: none; } .bo-camion { left: calc(100% - 56px); } }

/* "X% menos que en MercadoLibre" */
.vs-ml { display: inline-block; width: fit-content; margin-top: 3px; padding: 2px 8px; border-radius: 6px; background: #FFF3C4; color: #6b4e00; font-size: 12px; font-weight: 800; }
.vs-ml.grande { font-size: 14px; padding: 5px 10px; margin: 6px 0 2px; }
.vs-ml.grande small { font-weight: 600; color: #8a6d1f; }

/* Productos de eBay (salen de EE.UU.) */
.llega-rapido { display: inline-block; width: fit-content; padding: 2px 8px; border-radius: 6px; background: #E3F2FF; color: #0b4a8f; font-size: 12px; font-weight: 800; }

/* Regalo: licencia de SIMPLO 2026 en los productos con más ganancia */
.regalo-simplo { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 4px; padding: 3px 9px 3px 6px; border-radius: 7px;
  background: linear-gradient(90deg, #E8F7EE, #FFF4D6); border: 1px solid #F2C94C; color: #0b2547; font-size: 11.5px; font-weight: 800; letter-spacing: .2px; line-height: 1.2; }
.regalo-simplo .regalo-icono { font-size: 15px; animation: regalo-salto 2.6s ease-in-out infinite; }
.regalo-simplo.grande { font-size: 14px; padding: 8px 14px 8px 10px; margin: 0 0 10px; }
.regalo-simplo.grande .regalo-icono { font-size: 20px; }
@keyframes regalo-salto { 0%, 70%, 100% { transform: translateY(0) rotate(0); } 78% { transform: translateY(-3px) rotate(-10deg); } 86% { transform: translateY(0) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .regalo-simplo .regalo-icono { animation: none; } }

/* Precio por transferencia: arriba, grande y con un brillo suave que lo recorre cada tanto */
.precio-estrella { position: relative; overflow: hidden; display: grid; gap: 2px; width: fit-content; min-width: 260px; padding: 10px 16px 12px; border-radius: 12px;
  background: linear-gradient(135deg, #EAF8F0, #D9F2E4); border: 1px solid #A8DDBF; box-shadow: 0 6px 18px -10px rgb(22 128 72 / .55); }
.precio-estrella small { font-size: 12.5px; font-weight: 700; color: var(--verde-oscuro); letter-spacing: .3px; text-transform: uppercase; }
.precio-estrella-fila { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.precio-estrella-monto { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: #0F7A44; }
.precio-estrella .descuento { font-size: 13px; }
.brillo-precio { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .75) 50%, transparent 65%); transform: translateX(-120%); animation: brillo-precio 4.5s ease-in-out infinite; }
@keyframes brillo-precio { 0%, 62% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.precio-cuotas { margin-top: 8px; font-size: 14.5px; color: var(--tinta); }
.precio-cuotas b { font-size: 17px; }
.precio-cuotas small { display: block; font-size: 12px; color: var(--suave); }
/* En las tarjetas, el mismo brillo sobre el precio por transferencia */
.tarjeta .precio.transferencia { position: relative; width: fit-content; overflow: hidden; border-radius: 6px; padding-right: 4px; }
.tarjeta .precio.transferencia::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .8) 50%, transparent 65%); transform: translateX(-120%); animation: brillo-precio 5.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .brillo-precio, .tarjeta .precio.transferencia::after { animation: none; display: none; } }
@media (max-width: 600px) { .precio-estrella { min-width: 0; width: 100%; } .precio-estrella-monto { font-size: 32px; } }

/* ================= Cabecera SOLU STORE (diseño nuevo) ================= */
:root { --sm-navy: #0F1B2D; --sm-navy-2: #1C2C47; --sm-navy-line: #1E2C44; --sm-coral: #C9401F; --sm-coral-dark: #A8341A;
  --sm-coral-light: #F26B45; --sm-amber: #F2A900; --sm-text-on-dark: #E6EBF2; --sm-muted-on-dark: #C3CCDA; --sm-max: 1240px; }
.sm-container { max-width: var(--sm-max); margin: 0 auto; padding: 0 24px; }
.sm-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Barra promo */
.sm-promo { background: var(--sm-amber); color: var(--sm-navy); }
.sm-promo__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 8px 24px; font-size: 14px; text-align: center; }
.sm-promo__tag { background: var(--sm-navy); color: var(--sm-amber); font-weight: 800; font-size: 11px; letter-spacing: 1.5px; padding: 3px 8px; border-radius: 5px; }
.sm-promo__title { font-family: Archivo, sans-serif; font-weight: 800; letter-spacing: .3px; }
.sm-promo__title .sm-dollar { color: var(--sm-coral-dark); }
.sm-promo__pct { color: var(--sm-coral-dark); display: inline-block; font-weight: 800; animation: sm-pop 4s ease-out infinite; }
.sm-promo a { color: var(--sm-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sm-track { position: relative; width: 86px; height: 20px; display: inline-block; }
.sm-track__line { position: absolute; left: 0; right: 0; bottom: 1px; height: 3px; border-radius: 3px; background: rgb(15 27 45 / .2); overflow: hidden; }
.sm-track__fill { display: block; height: 100%; width: 0; background: var(--sm-navy); border-radius: 3px; animation: sm-fill 4s cubic-bezier(.45, 0, .25, 1) infinite; }
.sm-track__truck { position: absolute; left: 0; bottom: 4px; width: 24px; height: 16px; animation: sm-truck 4s cubic-bezier(.45, 0, .25, 1) infinite; }
.sm-track__truck svg { display: block; }
@keyframes sm-truck { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(62px); } }
@keyframes sm-fill { 0% { width: 0; } 70%, 100% { width: 100%; } }
@keyframes sm-pop { 0%, 68% { transform: scale(1); } 76% { transform: scale(1.25); } 84%, 100% { transform: scale(1); } }

/* Header */
.cabecera.sm-header { background: linear-gradient(180deg, var(--grafito) 0%, var(--sm-navy) 85%); }
.sm-header__row { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.sm-logo-link { flex: 0 0 auto; display: grid; gap: 2px; justify-items: start; text-decoration: none; line-height: 0; }
/* El PNG del logo trae un panel azul pintado: con lighten, lo oscuro se funde con el header y queda solo el dibujo. */
.sm-logo, .sm-powered { mix-blend-mode: lighten; }
.sm-logo { height: 66px; width: auto; display: block; }
.sm-powered { height: 16px; width: auto; display: block; margin-left: 119px; }   /* centrado bajo el wordmark SOLU STORE */
.sm-search { position: relative; flex: 1 1 auto; display: flex; min-width: 0; height: 48px; background: #fff; border-radius: 10px; }
.sm-search input { flex: 1; min-width: 0; border: 0; padding: 0 18px; font: inherit; font-size: 15px; color: var(--tinta); outline: none; background: none; border-radius: 10px 0 0 10px; }
.sm-search:focus-within { box-shadow: 0 0 0 3px rgb(242 107 69 / .45); }
.sm-search button { border: 0; background: var(--sm-coral); color: #fff; width: 56px; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 0 10px 10px 0; }
.sm-search button:hover { background: var(--sm-coral-dark); }
.sm-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; }
.sm-action { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 72px; padding: 6px 10px; border-radius: 10px; color: var(--sm-text-on-dark); text-decoration: none; font-weight: 600; font-size: 12px; text-align: center; }
.sm-action:hover { background: var(--sm-navy-2); }
.sm-menu-btn { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }

/* Navegación */
.sm-nav { border-top: 1px solid var(--sm-navy-line); }
.sm-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.sm-nav a { display: flex; align-items: center; gap: 8px; padding: 13px 14px; color: var(--sm-muted-on-dark); text-decoration: none; font-size: 14px; font-weight: 500; border-bottom: 3px solid transparent; }
.sm-nav a:hover { color: #fff; }
.sm-nav a[aria-current="page"] { color: #fff; font-weight: 600; border-bottom-color: var(--sm-coral-light); }
.sm-nav a.sm-nav--pedido { color: var(--sm-amber); font-weight: 600; }
.sm-badge { background: var(--sm-coral); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 5px; }

@media (max-width: 820px) {
  .sm-header__row { flex-wrap: wrap; gap: 12px; }
  .sm-logo { height: 46px; }
  .sm-powered { height: 12px; margin-left: 79px; }
  .sm-actions { margin-left: auto; }
  .sm-menu-btn { display: flex; }
  .sm-search { order: 3; flex-basis: 100%; }
  .sm-nav { display: none; }
  .sm-nav.is-open { display: block; }
  .sm-nav ul { flex-direction: column; gap: 0; }
  .sm-nav a { border-bottom: 1px solid var(--sm-navy-line); }
  .sm-nav a[aria-current="page"] { border-bottom-color: var(--sm-navy-line); box-shadow: inset 3px 0 0 var(--sm-coral-light); }
}
@media (prefers-reduced-motion: reduce) {
  .sm-track__truck, .sm-track__fill, .sm-promo__pct { animation: none; }
  .sm-track__truck { transform: translateX(62px); }
  .sm-track__fill { width: 100%; }
}

/* ================= SOLU IA (asesor flotante) ================= */
.ia-boton { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 74px; height: 74px; border: 0; padding: 0; background: none; cursor: pointer; filter: drop-shadow(0 8px 18px rgb(7 22 41 / .45)); transition: transform .15s; }
.ia-boton:hover { transform: scale(1.06); }
.ia-boton img { width: 100%; height: auto; display: block; animation: ia-flotar 3.6s ease-in-out infinite; }
.ia-globo { position: absolute; right: 80px; bottom: 18px; white-space: nowrap; background: #fff; color: var(--tinta); font-weight: 700; font-size: 13px; padding: 9px 13px; border-radius: 12px 12px 3px 12px; box-shadow: 0 8px 24px -10px rgb(7 22 41 / .45); }
@keyframes ia-flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.ia-panel { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100vh - 40px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 24px 70px -24px rgb(7 22 41 / .65); overflow: hidden; }
.ia-cabeza { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, var(--grafito), var(--sm-navy-2)); color: #fff; }
.ia-cabeza img { width: 42px; height: auto; }
.ia-quien { display: grid; line-height: 1.25; }
.ia-quien small { color: #b8c6dd; font-size: 12px; }
.ia-cerrar { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 9px; background: rgb(255 255 255 / .12); color: #fff; font-size: 20px; cursor: pointer; }
.ia-mensajes { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; background: #f3f6fb; }
.ia-msj { max-width: 86%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.ia-msj.ia { background: #fff; border: 1px solid var(--linea); border-bottom-left-radius: 4px; justify-self: start; box-shadow: 0 2px 8px -6px rgb(7 22 41 / .35); }
.ia-msj.cliente { background: var(--grafito-2); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }
.ia-msj.pensando { color: var(--suave); font-style: italic; }
.ia-msj.pensando::after { content: "…"; animation: ia-puntos 1.2s steps(4) infinite; }
@keyframes ia-puntos { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.ia-conviene { justify-self: start; max-width: 92%; background: var(--verde-suave); border: 1px solid #a8ddbf; border-radius: 14px; padding: 10px 14px; font-size: 13.5px; }
.ia-conviene b { display: block; color: var(--verde-oscuro); margin-bottom: 4px; }
.ia-conviene ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.ia-producto { justify-self: start; display: flex; gap: 10px; align-items: center; width: 92%; background: #fff; border: 1px solid var(--linea); border-radius: 12px; padding: 8px 10px; cursor: pointer; text-align: left; font: inherit; box-shadow: 0 2px 8px -6px rgb(7 22 41 / .35); }
.ia-producto:hover { border-color: var(--marca); }
.ia-producto img { width: 46px; height: 46px; object-fit: contain; background: var(--fondo); border-radius: 8px; }
.ia-producto b { font-size: 13px; line-height: 1.3; display: block; }
.ia-producto small { color: var(--verde-oscuro); font-weight: 700; }
.ia-buscar { justify-self: start; border: 1px solid var(--linea); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 700; color: var(--grafito-2); cursor: pointer; }
.ia-buscar:hover { border-color: var(--marca); color: var(--marca); }
.ia-opciones { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: #f3f6fb; }
.ia-opciones button { border: 1px solid #c9d7ef; background: #fff; border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 13px; font-weight: 600; color: var(--grafito-2); cursor: pointer; }
.ia-opciones button:hover { border-color: var(--marca); color: var(--marca); }
.ia-entrada { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--linea); background: #fff; }
.ia-entrada input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--linea); border-radius: 11px; padding: 0 13px; font: inherit; }
.ia-entrada input:focus { outline: 2px solid rgb(229 72 58 / .35); border-color: var(--marca); }
.ia-entrada button { width: 46px; border: 0; border-radius: 11px; background: linear-gradient(135deg, var(--marca), #c23327); color: #fff; font-size: 17px; cursor: pointer; }
@media (max-width: 480px) { .ia-panel { right: 0; bottom: 0; width: 100vw; height: 82vh; border-radius: 18px 18px 0 0; } .ia-boton { right: 12px; bottom: 12px; width: 64px; height: 64px; } }
@media (prefers-reduced-motion: reduce) { .ia-boton img { animation: none; } }

/* ---------- Términos y condiciones ---------- */
.legal { max-width: 880px; padding: 28px 0 48px; }
.legal h1 { font-size: 26px; margin: 0 0 4px; }
.legal-fecha { color: var(--tenue); font-size: 13px; margin: 0 0 18px; }
.legal section { background: var(--panel); border: 1px solid var(--linea); border-radius: var(--radio); padding: 16px 20px; margin: 0 0 12px; box-shadow: var(--sombra); }
.legal h2 { font-size: 16.5px; margin: 0 0 8px; color: var(--tinta); }
.legal p { margin: 0 0 8px; color: var(--tinta-2); }
.legal ul { margin: 0 0 8px; padding-left: 20px; color: var(--tinta-2); }
.legal li { margin: 0 0 6px; }
.legal-volver { margin-top: 18px; }
.nota-legal { margin: 10px 0 0; font-size: 12.5px; color: var(--tenue); text-align: center; }
.nota-legal a { color: var(--azul); }

/* ---------- Editor de precios (solo visible dentro del panel de administración) ---------- */
.editor-precios { position: fixed; top: 86px; right: 14px; width: 300px; z-index: 60; background: #fff; border: 2px solid #F2A900; border-radius: 16px; padding: 14px 16px; box-shadow: 0 18px 44px rgb(18 24 38 / .3); display: grid; gap: 8px; font-size: 14px; }
.editor-precios .ep-titulo { font-size: 16px; color: #0b2547; }
.editor-precios .ep-prod { color: var(--suave); line-height: 1.35; }
.editor-precios .ep-linea { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; color: var(--suave); }
.editor-precios .ep-linea b { color: var(--tinta); }
.editor-precios .ep-linea.grande b { font-size: 19px; }
.editor-precios .ep-campo { display: grid; gap: 4px; font-weight: 700; color: var(--tinta); }
.editor-precios .ep-campo input { height: 44px; border: 1px solid var(--linea); border-radius: 10px; padding: 0 12px; font: 700 17px Inter, sans-serif; }
.editor-precios .ep-botones { display: grid; gap: 6px; }
.editor-precios .ep-boton { border: 0; border-radius: 10px; padding: 11px; font-weight: 800; cursor: pointer; background: linear-gradient(135deg, var(--verde), var(--verde-oscuro)); color: #fff; }
.editor-precios .ep-boton.claro { background: #fff; color: var(--tinta); border: 1px solid var(--linea); }
.editor-precios .ep-nota { margin: 0; font-size: 12.5px; color: var(--suave); }
.editor-precios .ep-mal { color: #b42318; font-weight: 700; }
@media (max-width: 760px) { .editor-precios { top: auto; bottom: 90px; right: 8px; width: min(300px, calc(100vw - 16px)); } }
.editor-precios .ep-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.editor-precios .ep-boton.ambar { background: linear-gradient(135deg, #F2A900, #ffd34d); color: #092038; }
/* Contención del panel del editor: los inputs numéricos tienen ancho mínimo nativo y desbordaban el panel. */
.editor-precios, .editor-precios * { box-sizing: border-box; }
.editor-precios { width: min(320px, calc(100vw - 20px)); max-height: calc(100vh - 110px); overflow: auto; }
.editor-precios input { width: 100%; min-width: 0; }
.editor-precios .ep-fila { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.editor-precios .ep-boton { width: 100%; white-space: normal; font-size: 13.5px; }
.editor-precios .ep-linea b { text-align: right; }
.editor-precios .ep-boton.chico { padding: 7px 10px; font-size: 12.5px; }
.editor-precios .ep-botones.fila { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); display: grid; gap: 6px; }
.editor-precios .ep-fuente { display: grid; gap: 2px; padding: 8px 10px; background: #f6f9fd; border: 1px dashed #b9c8de; border-radius: 10px; }
.editor-precios .ep-fuente a { font-weight: 800; color: var(--azul); text-decoration: none; }
.editor-precios .ep-fuente small { color: var(--suave); line-height: 1.4; }
.editor-precios .ep-usd-fila { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: end; }
.editor-precios .ep-usd-fila label { display: grid; gap: 3px; font-size: 12px; font-weight: 700; color: var(--tinta); }
.editor-precios .ep-usd-fila input { height: 36px; }
.editor-precios .ep-usd-nota { color: #9a5b0b; font-weight: 700; }
.editor-precios .ep-plan { display: grid; gap: 6px; padding: 10px 0 12px; border-top: 1px solid var(--linea); }
.editor-precios .ep-plan > b { color: var(--tinta); font-size: 13.5px; }

/* Banner "esperás un poco, ahorrás mucho" COMPACTO en los resultados de búsqueda (en el inicio queda grande). */
.banner-pedido.compacto { min-height: 0; padding: 16px clamp(18px, 4vw, 48px); margin-top: 16px; gap: 18px; }
.banner-pedido.compacto .bp-titulo { font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -1px; }
.banner-pedido.compacto .bp-bajada { font-size: 14px; margin-top: 2px; }
.banner-pedido.compacto .bp-chip { font-size: 10.5px; padding: 3px 8px; letter-spacing: 1px; }
.banner-pedido.compacto .bp-texto { gap: 7px; }
.banner-pedido.compacto .bp-lado { gap: 10px; }
.banner-pedido.compacto .bp-etiqueta { font-size: 20px; padding: 5px 11px; top: -20px; right: -6px; border-radius: 9px; }
.banner-pedido.compacto .bp-recorrido { width: min(340px, 100%); padding-top: 22px; }
.banner-pedido.compacto .bp-pista { height: 34px; }
.banner-pedido.compacto .bp-camion { width: 44px; height: 29px; }
.banner-pedido.compacto .bp-aro1 { right: -180px; top: -260px; }
.banner-pedido.compacto .boton { padding: 9px 16px; font-size: 13.5px; }
@media (max-width: 760px) { .banner-pedido.compacto { gap: 14px; padding: 16px 16px; } }
