  /* Íconos Phosphor (regular), recortados a los 14 que usa la página */
  @font-face { font-family: "Phosphor"; src: url("/fonts/phosphor-luber.woff2?v=3") format("woff2"); font-display: block; }
  .ph { font-family: "Phosphor" !important; speak: never; font-style: normal; font-weight: normal; font-variant: normal;
        text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; display: inline-block; }
  .ph-arrow-down-right:before { content: "\e042"; }
  .ph-drop:before { content: "\e210"; }
  .ph-fan:before { content: "\e9f2"; }
  .ph-gas-pump:before { content: "\e768"; }
  .ph-magnifying-glass:before { content: "\e30c"; }
  .ph-plus:before { content: "\e3d4"; }
  .ph-whatsapp-logo:before { content: "\e5d0"; }
  .ph-wind:before { content: "\e5d2"; }
  .ph-x:before { content: "\e4f6"; }
  .ph-wrench:before { content: "\e5d4"; }
  .ph-shield-check:before { content: "\e40c"; }
  .ph-arrows-left-right:before { content: "\e0a0"; }
  .ph-seal-check:before { content: "\e606"; }
  .ph-check:before { content: "\e182"; }

  /* Colores medidos del logo (PROTOTIPOS/luber-logo/README.md): rojo #C91727, gris #4D4D4E */
  :root {
    --bg: #f4f4f3; --surface: #e8e8e6; --ink: #1f2327; --muted: #4d4d4e;
    --line: #d3d3d1; --red: #c91727; --red-hover: #a8121f; --panel: #1f2327; --on-panel: #f4f4f3;
    --radius: 10px; --ease: cubic-bezier(.23, 1, .32, 1); --ease-in-out: cubic-bezier(.77, 0, .175, 1);
    color-scheme: light dark;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #121314; --surface: #1c1d1f; --ink: #ecedeb; --muted: #a8aaad;
      --line: #33363a; --red-text: #ef4453; --panel: #26292d; --card: #26292d;
    }
  }
  * { box-sizing: border-box; margin: 0; }
  @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
  body { font-family: "Archivo", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  img { display: block; max-width: 100%; height: auto; }
  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
  section { padding: 96px 0; }
  /* destinos del menú (/#filtros, /#preguntas): el título queda bajo la parte fija del encabezado (68 px; 114 px en celular y tableta,
     abajo). scroll-margin y no scroll-padding en html, que se sumaría a los de #bar-sentinel, .bus-campo y .cat-sec */
  section[id] { scroll-margin-top: 76px; }
  h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
  h1, h2, h3 { text-wrap: balance; }
  .nw { white-space: nowrap; }
  h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; }
  p.lead { color: var(--muted); max-width: 52ch; margin-top: 16px; font-size: 1.075rem; }

  /* Botones: un solo radio en toda la página */
  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--radius); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600;
         transition: transform 160ms var(--ease), background-color 150ms ease; }
  .btn:active { transform: scale(.97); }
  .btn-primary { background: var(--red); color: #fff; }
  .btn-ghost { border-color: color-mix(in srgb, var(--ink) 25%, transparent); color: var(--ink); background: transparent; }
  .btn-light { background: #fff; color: var(--red); }
  .btn i { font-size: 1.2em; }
  @media (hover: hover) and (pointer: fine) {
    .btn-primary:hover { background: var(--red-hover); }
    .btn-ghost:hover { background: var(--surface); }
    .btn-light:hover { background: #f1e3e4; }
  }
  :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

  /* Nav */
  /* fondo liso antes: Safari 15/iOS 15 y Chrome 99 no conocen color-mix y el encabezado quedaba transparente */
  header { position: sticky; top: 0; z-index: 10; background: var(--bg); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  header .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .logo { display: block; line-height: 0; }
  .logo img { height: 30px; width: auto; }
  @media (prefers-color-scheme: dark) { .logo img { background: #f4f4f3; padding: 6px 10px; border-radius: 6px; height: 38px; } }
  nav ul { display: flex; gap: 28px; list-style: none; padding: 0; }
  nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
  nav a { transition: color 150ms ease; }
  @media (hover: hover) and (pointer: fine) { nav a:hover { color: var(--ink); } }
  /* Buscador del encabezado (24-oct-2026): el mismo motor y la misma lista del buscador grande del inicio, compactos */
  .hbus { display: block; margin: 0; flex: 1 1 auto; min-width: 0; max-width: 420px; transition: opacity 160ms ease, transform 160ms var(--ease), visibility 160ms; }
  .hbus .bus-campo input { min-height: 48px; padding: 0 52px 0 14px; font-size: 1rem; border: 1.5px solid var(--muted); box-shadow: none; }
  .hbus .bus-ir { top: 2px; right: 2px; bottom: 2px; width: 44px; font-size: 1.25rem; }
  /* el encabezado es fijo: la lista se desplaza por dentro y no pasa del borde de lo visible (el JS la ajusta con el teclado abierto) */
  .hbus .bus-panel { right: auto; width: max(100%, min(460px, calc(100vw - 48px))); max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
  .hbus .bus-op, .hbus .bus-todos { scroll-margin-top: 0; }
  /* inicio: escondido mientras el buscador grande está a la vista (para no tener dos iguales) */
  .js .hbus.oculta { visibility: hidden; opacity: 0; transform: translateY(-4px); }
  @media (prefers-reduced-motion: reduce) { .hbus { transition: none; } }
  @media (min-width: 1100px) { header nav ul { gap: 22px; } }
  @media (min-width: 1100px) and (max-width: 1199px) { .solo-ancho { display: none; } }
  /* celular y tableta: logo y WhatsApp arriba, la barra de búsqueda debajo (fija), y el menú de secciones como primera fila,
     que se va con el scroll (top: -44px): lo fijo queda en 113 px. Con el menú debajo del buscador serían 157 px fijos. */
  @media (max-width: 1099px) {
    section[id] { scroll-margin-top: 122px; }
    header { top: -44px; }
    header .wrap { flex-wrap: wrap; height: auto; padding-bottom: 8px; gap: 6px 16px; }
    header nav { order: -1; flex: 1 0 100%; min-width: 0; margin-inline: -24px; }  /* min-width 0: sin esto la barra crece al ancho de sus enlaces y la página se desborda a los lados */
    header nav ul { gap: 22px; overflow-x: auto; padding: 0 24px; scrollbar-width: none; mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
    header nav a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
    header .wrap > .btn { order: 1; padding: 8px 14px; min-height: 44px; }  /* el WhatsApp del encabezado, no el de "sin resultados" de la lista */
    .hbus { order: 2; flex: 1 0 100%; max-width: none; }
    /* inicio: la barra cuelga del encabezado sin empujar la página (si lo hiciera, el contenido saltaría al aparecer) */
    .js .hbus.flota { position: absolute; top: 100%; left: 0; right: 0; margin-top: -1px; padding: 0 24px 8px; background: var(--bg); border-bottom: 1px solid var(--line); }
  }
  @media (max-width: 767px) { .solo-ancho { display: none; } .logo img { height: 24px; } }
  @media (max-width: 359px) { header .wrap > .btn > span { display: none; } }

  /* Hueco para foto: se cambia por <img> cuando haya fotos aprobadas */
  .photo { border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted);
           background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--red) 18%, var(--surface)), var(--surface) 60%); }
  .photo i { font-size: 4rem; color: var(--red-text, var(--red)); }
  .photo small { display: block; margin-top: 10px; font-size: .8rem; max-width: 30ch; }

  /* Hero */
  .hero { padding: 48px 0 24px; overflow-x: clip; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
  .hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); max-width: 12ch; }
  .hero h1 em { font-style: normal; color: var(--red-text, var(--red)); }
  .hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
  .hero-fig { margin: 0; position: relative; isolation: isolate; }
  /* bloque rojo que nace detrás de la caja y sale hasta el borde de la pantalla */
  .hero-fig::before { content: ""; position: absolute; z-index: -1; top: 16%; bottom: 6%; left: 30%;
    right: calc(-1 * ((100vw - min(100vw, 1240px)) / 2 + 24px)); background: var(--red); border-radius: var(--radius) 0 0 var(--radius); }
  /* marcas de carro bajo el hero: cada una abre el catálogo ya buscado (?q=marca) */
  .marcas-carro { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
  .marcas-t { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .marcas-lista { display: flex; flex-wrap: wrap; gap: 0 20px; list-style: none; padding: 0; margin: 0; }
  .marcas-lista a { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 800; letter-spacing: -0.02em; color: color-mix(in srgb, var(--ink) 62%, transparent); text-decoration: none; transition: color 160ms ease; }
  .marcas-lista span { font-size: .75rem; font-weight: 600; color: var(--muted); }
  .marcas-tipos { flex-basis: 100%; font-size: .875rem; color: var(--muted); }
  .mlogo { display: block; flex: none; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
  .marcas-lista a:active { color: var(--red-text, var(--red)); }
  @media (hover: hover) and (pointer: fine) { .marcas-lista a:hover { color: var(--red-text, var(--red)); } }
  @media (max-width: 767px) { .marcas-carro { margin-top: 4px; gap: 4px 20px; } .marcas-lista { gap: 0 18px; } }
  .hero-filter { width: 100%; max-width: 640px; margin-left: auto; }
  @media (max-width: 767px) {
    .hero { padding-top: 32px; }
    .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
    .hero-fig::before { left: 24%; right: -24px; }
  }
  @media (max-width: 480px) { .hero .cta { gap: 8px; margin-top: 24px; } .hero .cta .btn { flex: 1 1 auto; justify-content: center; padding: 10px 12px; font-size: .875rem; gap: 6px; } }

  /* Tipos de filtro: 2x2, cada uno con su foto */
  .tipos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  .tipo-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: center; padding: 18px 24px 18px 18px;
    border-radius: var(--radius); background: var(--card, #fff); border: 1px solid var(--line); text-decoration: none; color: inherit;
    transition: transform 200ms var(--ease), border-color 150ms ease, box-shadow 200ms ease; }
  .tipo-card img { border-radius: calc(var(--radius) - 4px); }
  .tipo-card h3 { font-size: 1.6rem; }
  .tipo-card p { color: var(--muted); margin-top: 8px; max-width: 36ch; }
  .tipo-card .ver { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--red-text, var(--red)); }
  .tipo-card .ver i { transform: rotate(-45deg); }
  .tipo-card:active { transform: scale(.98); }
  @media (hover: hover) and (pointer: fine) { .tipo-card:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 16px 30px -22px rgb(0 0 0 / .4); } }
  @media (prefers-reduced-motion: reduce) { .tipo-card:hover { transform: none; } }
  @media (max-width: 767px) { .tipos-grid { grid-template-columns: 1fr; gap: 12px; } .tipo-card { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 16px; padding: 12px 16px 12px 12px; } .tipo-card h3 { font-size: 1.3rem; } .tipo-card p { font-size: .92rem; } }


  /* Catálogo de filtros */
  .catalog { background: var(--surface); }
  .prods { list-style: none; padding: 0; margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
  .prod { cursor: pointer; position: relative; background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 14px; transition: transform 200ms var(--ease), box-shadow 200ms ease; }
  .prod:active { transform: scale(.98); transition-duration: 120ms; }
  @media (hover: hover) and (pointer: fine) {
    .prod:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgb(0 0 0 / .35); }
    .prod:hover:active { transform: translateY(-3px) scale(.98); }
  }
  @media (prefers-reduced-motion: reduce) { .prod:hover, .prod:hover:active { transform: none; } }
  .prod[hidden] { display: none; }
  .js .prod img { opacity: 0; transition: opacity 250ms ease; }
  .js .prod img.ok { opacity: 1; }
  .prod img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--radius) - 4px); background: #fff; }
  .finder-bar { margin-top: 32px; display: grid; gap: 10px; }
  .finder-bar .hint { font-weight: 500; color: var(--red-text, var(--red)); }
  .chips-row .n { margin-left: 6px; font-size: .78em; font-weight: 600; opacity: .7; }
  .chips-row button[hidden] { display: none; }
  #chips-tipo button.dim[aria-pressed=true] { background: var(--bg); color: var(--ink); border-color: var(--red); }
  /* escritorio: la barra de filtros queda a mano mientras se recorre el catálogo; las marcas se ven todas */
  @media (min-width: 768px) {
    .finder-bar { position: sticky; top: 68px; z-index: 5; margin-inline: -24px; padding: 14px 24px 12px;
      background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(10px);
      border-bottom: 1px solid transparent; transition: border-color 150ms ease, box-shadow 150ms ease; }
    .finder-bar.stuck { border-bottom-color: var(--line); box-shadow: 0 10px 24px -20px rgb(0 0 0 / .35); }
    .chips-row { flex-wrap: wrap; overflow: visible; }
    .finder-bar { grid-template-columns: minmax(260px, 400px) 1fr; align-items: center; column-gap: 20px; row-gap: 10px; padding-top: 12px; padding-bottom: 10px; }
    .finder-bar > label { grid-column: 1 / -1; }
    .finder-bar.stuck .brand-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
    .finder-bar.stuck > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .finder-bar .search input { padding-top: 12px; padding-bottom: 12px; }
    #chips-tipo { justify-content: flex-end; padding: 0; }
    .brand-chips { grid-column: 1 / -1; padding: 0; }
  }
  /* tableta: el encabezado fijo mide 113 px (logo + buscador), no 68 */
  @media (min-width: 768px) and (max-width: 1099px) { .finder-bar { top: 113px; } }
  /* celular: las filas se deslizan; el borde difuminado avisa que hay más */
  @media (max-width: 767px) {
    .chips-row { mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); padding-right: 28px; }
    #chips-tipo { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; mask-image: none; padding-right: 0; }
    #chips-tipo button { display: flex; align-items: center; justify-content: center; }
    .catalog .lead { display: none; }
  }
  .finder-bar label { font-weight: 600; font-size: .95rem; }
  .search { position: relative; max-width: 560px; }
  .search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--muted); }
  .search input { width: 100%; font: inherit; font-size: 1.05rem; padding: 15px 16px 15px 46px; border-radius: var(--radius); border: 1.5px solid color-mix(in srgb, var(--ink) 55%, transparent); background: var(--bg); color: var(--ink); }
  .chips-row { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 4px; scrollbar-width: none; }
  .chips-row button { flex: none; font: inherit; font-weight: 600; padding: 9px 15px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); background: var(--bg); color: var(--ink); cursor: pointer; white-space: nowrap; }
  .chips-row button[aria-pressed=true] { background: var(--red); border-color: var(--red); color: #fff; }
  .chips-row button { transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 120ms var(--ease); }
  .chips-row button:active { transform: scale(.97); }
  @media (pointer: coarse) { .chips-row button { min-height: 44px; } }
  .chips-row button i { margin-right: 6px; }
  .brand-chips button { font-size: .9rem; padding: 7px 13px; }
  .brand-chips button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
  .cat-sec { padding: 0; margin-top: 40px; scroll-margin-top: 260px; }
  .cat-sec[hidden], .brand[hidden] { display: none; }
  .cat-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: var(--radius); background: var(--panel); color: var(--on-panel); }
  .cat-head i { font-size: 1.8rem; color: var(--red-text, #ef4453); }
  .cat-head h2, .cat-head h3 { max-width: none; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
  .cat-head span { white-space: nowrap; margin-left: auto; color: color-mix(in srgb, var(--on-panel) 70%, transparent); font-size: .95rem; }
  .brand { margin-top: 32px; }
  .brand-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--red); }
  .brand-head h3, .brand-head h4 { max-width: none; font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; font-weight: 800; }
  .brand-head span { color: var(--muted); font-size: .95rem; }
  .prods { margin-top: 20px; }
  .mods { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .mods li { font-size: .9rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--surface); }
  .mods li.more { background: transparent; color: var(--muted); }
  .prod-foot { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--muted); margin-top: auto; padding-top: 4px; }
  .prod-foot .tipo { font-weight: 600; color: var(--ink); }
  .empty { text-align: center; padding: 56px 16px; display: grid; justify-items: center; gap: 10px; }
  .empty[hidden] { display: none; }
  .fab-filtros { position: fixed; right: 16px; bottom: 16px; z-index: 6; display: inline-flex; align-items: center; gap: 8px;
    min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-weight: 600;
    box-shadow: 0 12px 28px -12px rgb(0 0 0 / .45); transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
  .fab-filtros i { font-size: 1.2rem; }
  .fab-filtros:active { transform: scale(.96); }
  .fab-filtros.off { opacity: 0; transform: translateY(12px); pointer-events: none; }
  @media (min-width: 768px) { .fab-filtros { display: none; } }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .empty i { font-size: 2.4rem; color: var(--muted); }
  .empty p { color: var(--muted); margin-bottom: 8px; }
  @media (max-width: 767px) { .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .prod { padding: 14px; } .mods li { font-size: .8rem; padding: 4px 8px; } .prod-foot { flex-direction: column; gap: 2px; } }

  /* Ficha del filtro */
  .prod-open { position: absolute; inset: 0; border: 0; background: none; border-radius: inherit; cursor: pointer; }
  dialog.ficha { margin: auto; border: 0; padding: 0; border-radius: var(--radius); background: var(--bg); color: var(--ink); width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); }
  dialog.ficha::backdrop { background: rgb(15 16 18 / .6); backdrop-filter: blur(4px); }
  dialog.ficha, dialog.ficha::backdrop {
    transition: opacity 160ms ease, transform 160ms var(--ease), overlay 160ms allow-discrete, display 160ms allow-discrete;
    opacity: 0;
  }
  dialog.ficha { transform: scale(.96); }
  dialog.ficha[open], dialog.ficha[open]::backdrop { opacity: 1; transition-duration: 220ms; }
  dialog.ficha[open] { transform: none; }
  @starting-style {
    dialog.ficha[open], dialog.ficha[open]::backdrop { opacity: 0; }
    dialog.ficha[open] { transform: scale(.96); }
  }
  @media (prefers-reduced-motion: reduce) { dialog.ficha, dialog.ficha[open] { transform: none; } }
  .ficha-in { display: grid; grid-template-columns: 1fr 1.1fr; }
  .ficha-img { background: #fff; display: grid; place-items: center; }
  .ficha-img img { width: 100%; height: 100%; object-fit: contain; }
  .ficha-txt { padding: 32px; display: grid; gap: 14px; align-content: start; }
  .ficha-txt h3 { font-size: 2rem; letter-spacing: -0.02em; }
  .ficha-sub { color: var(--red-text, var(--red)); font-weight: 600; margin-top: 2px; }
  .ficha-ayuda { font-size: .85rem; color: var(--muted); }
  .ficha-mod { font-size: 1.1rem; font-weight: 500; line-height: 1.4; }
  .ficha-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .95rem; margin-top: 4px; }
  .ficha-dl dt { color: var(--muted); }
  .ficha-dl dd { margin: 0; font-weight: 600; }
  .ficha-stock { color: var(--muted); font-size: .85rem; }
  .ficha-stock[data-estado=agotado] { color: var(--red-text, var(--red)); font-weight: 600; }
  .ficha-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
  dialog.ficha form { margin: 0; }
  .ficha-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: var(--radius); background: var(--bg); color: var(--ink); font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; }
  @media (max-width: 767px) { .ficha-in { grid-template-columns: 1fr; } .ficha-img img { width: 60%; height: auto; } .ficha-txt { padding: 22px; } .ficha-txt h3 { font-size: 1.6rem; } }

  /* Conoce Luber Filter */
  .info { background: var(--bg); }
  .info-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
  .caja { margin: 0; }
  .caja img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 50px -30px rgb(0 0 0 / .45); }
  .sellos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; }
  .sellos li { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .sellos li::before { content: "\e606"; font-family: "Phosphor"; font-size: 1.15rem; letter-spacing: 0; font-weight: normal; color: var(--red-text, var(--red)); }
  .tres { margin: 0; }
  .tres img { max-width: 520px; margin-inline: auto; }
  @media (max-width: 767px) { .tres img { max-width: 340px; } }
  .cifras-linea { color: var(--muted); font-size: .9rem; margin-top: 14px; }
  .cifras { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin-top: 28px; }
  .cifras dt { color: var(--muted); font-size: .85rem; }
  .cifras dd { margin: 0; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
  .info h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
  .hecho { margin-top: 88px; }
  .partes { list-style: none; padding: 0; counter-reset: parte; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin-top: 28px; }
  .partes li { counter-increment: parte; position: relative; padding-left: 52px; }
  .partes li::before { content: counter(parte); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; background: var(--red); color: #fff; }
  .partes strong { font-size: 1.1rem; }
  .partes p, .ventajas p, .pasos-inst p { color: var(--muted); margin-top: 4px; }
  .nota { color: var(--muted); font-size: .9rem; margin-top: 18px; max-width: 62ch; }
  .ventajas { margin-top: 88px; }
  .ventajas ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
  .ventajas li { background: var(--surface); border-radius: var(--radius); padding: 24px; display: grid; gap: 6px; align-content: start; }
  .ventajas li:first-child { background: var(--red); color: #fff; }
  .ventajas li:first-child p { color: rgb(255 255 255 / .86); }
  .ventajas i { font-size: 1.8rem; color: var(--red-text, var(--red)); margin-bottom: 10px; }
  .ventajas li:first-child i { color: #fff; }
  .ventajas strong { font-size: 1.15rem; }
  .instala { margin-top: 88px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 56px; align-items: start;
    background: var(--panel); color: var(--on-panel); border-radius: var(--radius); padding: 48px; align-items: center; }
  .instala .nota { color: color-mix(in srgb, var(--on-panel) 72%, transparent); }
  .pasos-inst { list-style: none; padding: 0; counter-reset: paso; display: grid; gap: 18px; }
  .pasos-inst li { counter-increment: paso; display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
  .pasos-inst li::before { content: counter(paso); width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; }
  .pasos-inst p { color: color-mix(in srgb, var(--on-panel) 86%, transparent); margin: 6px 0 0; }
  @media (max-width: 767px) {
    .info-top, .instala { grid-template-columns: 1fr; gap: 32px; }
    .partes { grid-template-columns: 1fr; gap: 22px; }
    .ventajas ul { grid-template-columns: 1fr 1fr; gap: 12px; } .ventajas li { padding: 18px 16px; } .ventajas strong { font-size: 1.05rem; }
    .instala { padding: 28px 22px; }
    .cifras { gap: 12px 24px; } .cifras dd { font-size: 2rem; }
  }
  /* instalación dentro de la ficha */
  .ficha-inst summary { cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--red-text, var(--red)); padding: 4px 0; list-style: none; display: flex; gap: 8px; align-items: center; justify-content: flex-start; }
  .ficha-inst summary::-webkit-details-marker { display: none; }
  .ficha-inst ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }

  /* Formulario */
  .finder .wrap { max-width: 760px; }
  form { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .field { display: grid; gap: 8px; align-content: start; }
  .field.full { grid-column: 1 / -1; }
  label, legend { font-weight: 600; font-size: .95rem; }
  input[type=text], input[type=number] { font: inherit; padding: 13px 14px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--ink) 32%, transparent); background: var(--bg); color: var(--ink); }
  input::placeholder { color: var(--muted); }
  .help { color: var(--muted); font-size: .85rem; }
  .error { color: var(--red-text, var(--red)); font-size: .85rem; font-weight: 600; min-height: 1em; }
  [aria-invalid=true] { border-color: var(--red) !important; }
  fieldset { border: 0; padding: 0; display: grid; gap: 10px; }
  .chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .chips label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--ink) 32%, transparent); border-radius: var(--radius); font-weight: 500; cursor: pointer; background: var(--bg); }
  .chips input { accent-color: var(--red); width: 18px; height: 18px; }
  .chips label { transition: border-color 150ms ease, box-shadow 150ms ease, transform 120ms var(--ease); }
  .chips label:active, .ficha-close:active { transform: scale(.96); }
  .ficha-close { transition: transform 120ms var(--ease), background-color 150ms ease; }
  summary { transition: color 150ms ease; }
  summary:active i { transform: scale(.85); }
  .chips label:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
  form .btn { justify-self: start; }
  @media (max-width: 767px) { form { grid-template-columns: 1fr; } }

  /* Cómo pedir: fila de verbos, sin tarjetas */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; padding: 0; counter-reset: st; }
  .steps li { list-style: none; counter-increment: st; position: relative; padding-left: 52px; }
  .steps li::before { content: counter(st); position: absolute; left: 0; top: -4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1rem; line-height: 1; background: var(--red); color: #fff; }
  .pedir-cta { margin-top: 44px; }
  .steps h3 { font-size: 1.9rem; }
  .steps p { color: var(--muted); margin-top: 10px; max-width: 34ch; }
  @media (max-width: 767px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

  /* Preguntas */
  .faq { padding-top: 0; }
  .faq .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
  details { border-bottom: 1px solid var(--line); }
  details:first-child { border-top: 1px solid var(--line); }
  summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 1.15rem; display: flex; justify-content: space-between; gap: 16px; }
  summary::-webkit-details-marker { display: none; }
  summary i { transition: transform 200ms var(--ease); flex-shrink: 0; color: var(--red-text, var(--red)); }
  details[open] summary i { transform: rotate(45deg); }
  details p { color: var(--muted); padding: 0 0 22px; max-width: 60ch; }
  @media (max-width: 767px) { .faq .wrap { grid-template-columns: 1fr; gap: 32px; } }

  /* Cierre */
  .closing { padding: 0 0 96px; }
  .closing .band { border-radius: var(--radius); background: var(--red); color: #fff; padding: 64px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
  .closing h2 { max-width: 18ch; }
  .closing p { margin-top: 12px; color: rgb(255 255 255 / .86); max-width: 44ch; }
  @media (max-width: 767px) { .closing .band { padding: 40px 24px; } }
  footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .9rem; }
  footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
  footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  footer nav a { text-decoration: none; color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
  @media (hover: hover) and (pointer: fine) { footer nav a:hover { color: var(--ink); } }

  /* Movimiento: entrada del hero y aparición al hacer scroll */
  @media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
    .js .reveal.in { opacity: 1; transform: none; }
    .js .buscador.reveal { transform: none; }  /* el buscador solo aparece con fundido: si se mueve, el scroll al enfocarlo (celular) lo deja bajo el encabezado */
    .js .prod:not(.seen) { opacity: 0; transform: translateY(10px); }
    .js .prod.seen:not(.done) { transition: opacity 400ms var(--ease), transform 400ms var(--ease), box-shadow 200ms ease; transition-delay: calc(var(--d, 0) * 40ms); }
  }

  /* página de catálogo */
  .catalog h1, .fm-top h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 18ch; }
  .catalog { padding-top: 64px; }
  nav a[aria-current=page] { color: var(--ink); font-weight: 600; }
  .tipos-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .tipos-head p { color: var(--muted); margin-top: 10px; max-width: 46ch; }

  /* ficha técnica de marca */
  .fm-frase { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; color: var(--red-text, var(--red)); margin-top: 14px; max-width: 30ch; }
  .info-intro .btn { margin-top: 28px; }
  .ficha-marca { padding-top: 64px; }
  .fm-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 56px; align-items: center; }
  .fm-top h1 { max-width: 16ch; }
  .fm-kicker { font-weight: 700; color: var(--red-text, var(--red)); }
  .fm-top .cta { margin-top: 28px; }
  .fm-bloque { margin-top: 96px; }
  .fm-bloque > h2 { max-width: 22ch; }
  .dudas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
  .duda { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; }
  .duda dt { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
  .duda dd { margin: 8px 0 0; color: var(--muted); }
  .familias { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
  .familia { display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: inherit;
    transition: transform 200ms var(--ease), border-color 150ms ease; }
  .familia > i { font-size: 2rem; color: var(--red-text, var(--red)); margin-bottom: 10px; }
  .familia strong { font-size: 1.2rem; }
  .familia p { color: var(--muted); }
  .familia .ver { margin-top: 10px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
  .familia .ver i { transform: rotate(-45deg); }
  .familia:active { transform: scale(.98); }
  @media (hover: hover) and (pointer: fine) { .familia:hover { border-color: var(--red); transform: translateY(-3px); } }
  @media (prefers-reduced-motion: reduce) { .familia:hover { transform: none; } }
  .elegir { list-style: none; padding: 0; counter-reset: el; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
  .elegir li { counter-increment: el; position: relative; padding-left: 52px; }
  .elegir li::before { content: counter(el); position: absolute; left: 0; top: -4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1rem; line-height: 1; background: var(--red); color: #fff; }
  .elegir strong { font-size: 1.1rem; }
  .elegir p { color: var(--muted); margin-top: 6px; }
  .fm-trae { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .trae { list-style: none; padding: 0; display: grid; gap: 10px; }
  .trae li { padding: 14px 18px 14px 48px; border-radius: var(--radius); background: var(--surface); position: relative; font-weight: 600; }
  .trae li::before { content: "\e182"; font-family: "Phosphor"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--red-text, var(--red)); font-weight: normal; }
  .ficha-marca .instala { margin-top: 96px; }
  @media (max-width: 767px) {
    .fm-top, .fm-trae { grid-template-columns: 1fr; gap: 32px; }
    .dudas, .familias { grid-template-columns: 1fr; }
    .elegir { grid-template-columns: 1fr; gap: 22px; }
    .fm-bloque { margin-top: 64px; }
  }

  /* cajas en PNG transparente: sombra que sigue la forma, sin recuadro */
  .caja-png img { width: 100%; border-radius: 0; box-shadow: none; filter: drop-shadow(0 26px 30px rgb(0 0 0 / .22)); }
  .caja-png { margin: 0; }
  .caja-png figcaption { color: var(--muted); font-size: .85rem; margin-top: 12px; text-align: center; }
  .fm-elegir { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); gap: 48px; align-items: center; margin-top: 32px; }
  .fm-elegir .elegir { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .instala .caja-png { max-width: 300px; margin-top: 28px; }
  .instala .caja-png img { filter: drop-shadow(0 22px 26px rgb(0 0 0 / .45)); }
  @media (max-width: 767px) {
    .fm-elegir { grid-template-columns: 1fr; gap: 28px; }
    .fm-elegir .caja-png { max-width: 260px; margin-inline: auto; }
    .fm-elegir .elegir { grid-template-columns: 1fr; }
    .instala .caja-png { max-width: 220px; margin-inline: auto; }
  }

  /* inicio: bloque de marca con llamado al catálogo */
  .info-intro .lead strong { color: var(--ink); }
  .info-cta-t { font-weight: 800; font-size: 1.1rem; margin-top: 22px; }
  .info-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
  .info-intro .info-ctas .btn { margin-top: 0; }

  /* firma de marca: la raya inclinada del logo, un solo gesto repetido bajo los títulos de sección */
  .tipos-head h2::after, #pedir h2::after, .faq h2::after, .info-intro h2::after, .fm-bloque > h2::after, .fm-trae h2::after,
  .instala h2::after, .catalog h1::after, .fm-top h1::after {
    content: ""; display: block; width: 64px; height: 6px; margin-top: 16px; background: var(--red); transform: skewX(-20deg); transform-origin: left; border-radius: 1px; }

  /* Mi pedido: el cliente marca filtros con su cantidad y manda la lista por WhatsApp (sin cuentas ni registro) */
  .cotiz-hint { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; max-width: 62ch; font-size: .95rem; color: var(--muted); }
  .cotiz-hint i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-size: .9rem; margin-top: 1px; }
  .cotiz-hint b { color: var(--ink); }
  .prod-add { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; margin-top: 2px;
    border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); background: transparent; color: var(--ink); font: inherit; font-weight: 700; font-size: .85rem;
    cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 120ms var(--ease); }
  .prod-add:active { transform: scale(.97); }
  .prod-add.en { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .prod-add { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  @media (hover: hover) and (pointer: fine) { .prod-add:not(.en):hover { background: var(--surface); } }
  .qty { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); border-radius: var(--radius); background: var(--card, #fff); overflow: hidden; }
  .qty button { width: 44px; height: 44px; border: 0; background: none; font: inherit; font-size: 1.3rem; font-weight: 600; color: var(--ink); cursor: pointer; }
  .qty button:active { background: var(--surface); }
  .qty input { width: 64px; height: 44px; padding: 0; border: 0; border-inline: 1px solid var(--line); border-radius: 0; text-align: center; font: inherit; font-weight: 800; font-size: 1rem; background: transparent; color: var(--ink); appearance: textfield; -moz-appearance: textfield; }
  .qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
  .ficha-cant { display: grid; gap: 10px; }
  .ficha-cant label { font-weight: 700; }
  .ficha-cant-fila { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .atajos { display: flex; gap: 6px; flex-wrap: wrap; }
  .atajos button { min-height: 40px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: inherit; font-size: .875rem; font-weight: 700; color: var(--ink); cursor: pointer; }
  .atajos button[aria-pressed=true] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .ficha-ok { font-size: .875rem; font-weight: 600; color: var(--ink); }
  .ficha-ok button { border: 0; background: none; padding: 0; font: inherit; color: var(--red-text, var(--red)); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .cotiz-barra { position: fixed; z-index: 7; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 8px; }
  .cotiz-barra[hidden] { display: none; }
  .cotiz-abrir { flex: 1; min-width: 0; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 14px;
    border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: inherit; font-weight: 700; box-shadow: 0 14px 30px -14px rgb(0 0 0 / .55); cursor: pointer; }
  .cotiz-buscar { flex: none; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.3rem; display: grid; place-items: center; box-shadow: 0 14px 30px -14px rgb(0 0 0 / .55); cursor: pointer; }
  .cotiz-abrir:active, .cotiz-buscar:active { transform: scale(.97); }
  .cotiz-barra .cuenta { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--red); color: #fff; font-size: .8rem; }
  .cotiz-barra .u { font-weight: 500; opacity: .8; font-size: .9rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  @media (min-width: 768px) { .cotiz-barra { left: auto; right: 24px; bottom: 24px; } .cotiz-buscar { display: none; } }
  body.con-cotiz .fab-filtros { display: none; }  /* con lista, la lupa va dentro de la barra */
  body.con-cotiz { padding-bottom: 84px; }  /* la barra no tapa el pie */
  #bar-sentinel { scroll-margin-top: 112px; }  /* la lupa y "Buscar y filtrar" aterrizan con el buscador a la vista */
  @media (max-width: 1099px) { #bar-sentinel { scroll-margin-top: 124px; } }  /* bajo el encabezado de 113 px (logo + buscador) */
  dialog.cotiz { margin: auto auto 0; width: 100%; max-width: 560px; max-height: 88dvh; border: 0; padding: 0; border-radius: 18px 18px 0 0; background: var(--bg); color: var(--ink); }
  dialog.cotiz[open] { display: flex; flex-direction: column; }
  dialog.cotiz::backdrop { background: rgb(15 16 18 / .6); backdrop-filter: blur(4px); }
  dialog.cotiz, dialog.cotiz::backdrop { transition: opacity 160ms ease, transform 200ms var(--ease), overlay 200ms allow-discrete, display 200ms allow-discrete; opacity: 0; }
  dialog.cotiz { transform: translateY(24px); }
  dialog.cotiz[open], dialog.cotiz[open]::backdrop { opacity: 1; transition-duration: 240ms; }
  dialog.cotiz[open] { transform: none; }
  @starting-style { dialog.cotiz[open], dialog.cotiz[open]::backdrop { opacity: 0; } dialog.cotiz[open] { transform: translateY(24px); } }
  @media (prefers-reduced-motion: reduce) { dialog.cotiz, dialog.cotiz[open] { transform: none; } }
  @media (min-width: 768px) { dialog.cotiz { margin: auto; border-radius: var(--radius); max-height: calc(100dvh - 48px); } }
  .cotiz-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
  .cotiz-cab h2 { font-size: 1.5rem; max-width: none; letter-spacing: -0.02em; }
  .cotiz-cab p { color: var(--muted); font-size: .9rem; margin-top: 2px; }
  .cotiz-cab form { margin: 0; }
  .cotiz-cerrar { width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; }
  .cotiz-items { list-style: none; padding: 0; margin: 0; overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; }
  .cotiz-items li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); }
  .cotiz-items img { width: 48px; height: 60px; object-fit: cover; border-radius: 6px; background: #fff; }
  .cotiz-items b { display: block; font-weight: 800; }
  .cotiz-items span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }
  .cotiz-der { display: grid; justify-items: end; gap: 4px; }
  .cotiz-der .qty button { width: 36px; height: 40px; }
  .cotiz-der .qty input { width: 58px; height: 40px; font-size: 1rem; padding: 0; }  /* 16 px: el iPhone no hace zoom */
  .quitar { border: 0; background: none; padding: 2px; font: inherit; font-size: .8rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
  .cotiz-pie { display: grid; gap: 10px; padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .cotiz-neg-t { font-weight: 700; font-size: .9rem; cursor: pointer; min-height: 40px; display: flex; align-items: center; justify-content: flex-start; gap: 6px; list-style: none; padding: 4px 0; }
  .cotiz-neg-t::-webkit-details-marker { display: none; }
  .cotiz-neg-t i { margin-left: auto; color: var(--red-text, var(--red)); transition: transform 200ms var(--ease); }
  .cotiz-negocio[open] .cotiz-neg-t i { transform: rotate(45deg); }
  .cotiz-negocio .cotiz-neg { margin-top: 8px; }
  .cotiz-neg-t span { font-weight: 500; color: var(--muted); }
  .cotiz-neg { display: flex; flex-wrap: wrap; gap: 6px; }
  .cotiz-neg button { min-height: 40px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: inherit; font-size: .875rem; font-weight: 600; color: var(--ink); cursor: pointer; }
  .cotiz-neg button[aria-pressed=true] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .cotiz-nota { font-size: .8rem; color: var(--muted); }
  .cotiz-pie .btn { justify-content: center; }
  .cotiz-vaciar { justify-self: center; border: 0; background: none; font: inherit; font-size: .85rem; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 6px; }
  .hero-para { margin-top: 14px; font-size: .9rem; color: var(--muted); }
  /* ranking de existencias: cada modelo abre sus filtros en el catálogo */
  #luber-top .lt-row[role=link] { cursor: pointer; border-radius: 8px; transition: background-color 150ms ease; }
  #luber-top .lt-row[role=link]:active { background: var(--surface); }
  #luber-top .lt-row[role=link]:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
  @media (hover: hover) and (pointer: fine) { #luber-top .lt-row[role=link]:hover { background: var(--surface); } }
  .lt-toca { display: flex; align-items: center; gap: 8px; margin: -6px 0 16px; font-size: .9rem; font-weight: 600; color: var(--ink); }
  .lt-toca i { color: var(--red-text, var(--red)); }

  /* Buscador principal del inicio (24-oct-2026): modelo, código o referencia, con resultados al instante */
  .buscador { position: relative; z-index: 5; display: block; margin-top: 28px; max-width: 560px; }  /* block: la regla global "form" es una cuadrícula de 2 columnas */
  .bus-t { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
  .bus-campo { position: relative; scroll-margin-top: 68px; }  /* al enfocar en el celular sube hasta aquí: 9 px bajo el encabezado del inicio (59 px fijos) */
  .bus-campo input { width: 100%; min-height: 62px; padding: 0 70px 0 18px; font: inherit; font-size: 1.0625rem; border-radius: var(--radius);
    border: 2px solid color-mix(in srgb, var(--ink) 80%, transparent); background: var(--card, #fff); color: var(--ink);
    box-shadow: 0 14px 32px -22px rgb(0 0 0 / .45); }
  .bus-campo input::placeholder { color: var(--muted); opacity: 1; }
  .bus-campo input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
  .bus-ir { position: absolute; top: 7px; right: 7px; bottom: 7px; width: 52px; display: grid; place-items: center; border: 0; border-radius: calc(var(--radius) - 3px);
    background: var(--red); color: #fff; font-size: 1.45rem; cursor: pointer; transition: transform 160ms var(--ease), background-color 150ms ease; }
  .bus-ir:active { transform: scale(.96); }
  .bus-panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--card, #fff); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: 0 28px 56px -24px rgb(0 0 0 / .5); overflow: hidden; }
  .bus-panel[hidden], .bus-lista[hidden], .bus-vacio[hidden] { display: none; }
  .bus-op { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 64px; padding: 10px 14px;
    text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
  .bus-op img { width: 52px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: #fff; }
  .bus-tx { display: grid; gap: 2px; min-width: 0; font-size: .875rem; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
  .bus-cod { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
  .bus-cod b { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
  .bus-le > span:first-child { font-weight: 600; color: var(--ink); }
  .bus-mas { font-weight: 600; }
  .bus-op mark { background: color-mix(in srgb, var(--red) 15%, transparent); color: var(--ink); font-weight: 700; border-radius: 3px; padding: 0 2px; }
  .bus-op[aria-selected=true], .bus-todos[aria-selected=true] { background: var(--surface); box-shadow: inset 4px 0 0 var(--red); }
  .bus-todos { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 14px; font-weight: 700;
    text-decoration: none; color: var(--red-text, var(--red)); }
  /* en oscuro el rojo claro sobre el panel no llega a 4,5:1: el texto va en tinta y la flecha sigue roja */
  @media (prefers-color-scheme: dark) { .bus-todos { color: var(--ink); } .bus-todos i { color: var(--red-text); } }
  /* con las flechas, la opción marcada no queda debajo del encabezado fijo (mismo margen que #bar-sentinel) */
  .bus-op, .bus-todos { scroll-margin-top: 112px; }
  .bus-vacio { display: grid; gap: 12px; padding: 16px; font-size: .95rem; color: var(--muted); }
  .bus-vacio b { color: var(--ink); }
  .bus-vacio .btn { justify-self: start; }
  .bus-ej { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: .875rem; color: var(--muted); }
  .bus-ej button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
    transition: background-color 150ms ease, transform 120ms var(--ease); }
  .bus-ej button:active { transform: scale(.97); }
  @media (hover: hover) and (pointer: fine) {
    .bus-op:hover, .bus-todos:hover, .bus-ej button:hover { background: var(--surface); }
    .bus-ir:hover { background: var(--red-hover); }
  }
  @media (pointer: coarse) { .bus-ej button { min-height: 40px; } }
  @media (max-width: 767px) {
    .buscador { margin-top: 20px; }
    .bus-campo input { min-height: 58px; font-size: 1rem; padding-left: 14px; padding-right: 64px; }
    .bus-ir { width: 48px; }
    .bus-op { padding: 10px 12px; gap: 10px; grid-template-columns: 46px minmax(0, 1fr); }
    .bus-op img { width: 46px; }
    .hero .lead { margin-top: 20px; }
  }
