
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    html {
      scroll-behavior: smooth
    }

    body {
      font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
      background: var(--bg);
      color: var(--text);
      font-size: var(--orto-font-13);
      line-height: 1.5;
      -webkit-text-size-adjust: 100%
    }

    /* ÑÑÑÑÑÑ TOPBAR ÑÑÑÑÑÑ */
    /* ÑÑÑÑÑÑ HEADER ÑÑÑÑÑÑ */

    .cart-count {
      position: absolute;
      top: 4px;
      right: 4px;
      min-width: 18px;
      height: 18px;
      background: var(--buy);
      color: var(--orto-white);
      font-size: var(--orto-font-11);
      font-weight: 800;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 5px;
      border: 2px solid var(--white);
      transition: transform .2s cubic-bezier(.175, .885, .32, 1.275)
    }

    .cart-count.bump {
      transform: scale(1.3)
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-10px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    

    /* Franja de sucursales: el botón no hereda el ancho completo de los botones de tarjeta */
    .store-strip .btn-buy {
      width: auto;
      padding: var(--orto-space-8) var(--orto-space-13);
      box-shadow: none
    }

    /* Aviso Box Selection sobre el catálogo y su insignia como filtro */
    .catalog-box-note {
      margin: var(--orto-space-13) var(--orto-space-5) 0
    }

    .box-filter {
      cursor: pointer;
      font-family: inherit;
      transition: background var(--orto-duration-fast) var(--orto-ease), color var(--orto-duration-fast) var(--orto-ease)
    }

    .box-filter:hover {
      background: var(--buy-light-2)
    }

    .box-filter.active {
      background: var(--buy-primary);
      border-color: var(--buy-primary);
      color: var(--orto-white)
    }

    .box-filter:focus-visible {
      outline: 2px solid var(--buy-primary);
      outline-offset: 2px
    }

    /* ÑÑÑÑÑÑ PROMO STRIP ÑÑÑÑÑÑ */

    /* ÑÑÑÑÑÑ HERO BANNERS ÑÑÑÑÑÑ */
    /* Entre la barra de categorías y las tarjetas queda aire para su halo «radiactivo»: la orilla
       del marino sube y el halo luce completo (pedido del dueño, 21-oct-2026) */
    .hero-cards-wrap {
      padding: var(--orto-space-21) var(--orto-gutter) 0;
      max-width: var(--orto-layout-max);
      margin: 0 auto
    }

    .hero-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px
    }

    .promo-banner {
      border-radius: var(--radius-lg);
      overflow: hidden;
      position: relative;
      /* 377 px, número de Fibonacci (233 × φ); en el celular 301 (ver abajo) */
      height: calc(var(--orto-space-89) * 3 + var(--orto-space-55) * 2);
      display: flex;
      align-items: flex-end;
      text-decoration: none;
      transition: transform .3s, box-shadow .3s;
      box-shadow: var(--shadow-md);
      background: var(--navy);
      /* La tarjeta sube y la foto crece a la vez: sin su propia capa, el navegador dejaba de recortar
         la foto en la orilla y se pintaba encima del borde de arriba (pedido del dueño, 22-oct-2026) */
      isolation: isolate;
      will-change: transform
    }

    .promo-banner:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-3px)
    }

    /* Borde «radiactivo» del color de su categoría (pedido del dueño; index.js pone .acento-*):
       un borde real de 1 px (parejo también en las curvas de las esquinas), un halo fijo del mismo
       color y, por dentro, un filo luminoso que late. Solo se anima la transparencia del filo: la
       tarjeta de video lo hace sin repintar (medido el 19-oct-2026: el halo animado bajaba el
       desplazamiento de 54 a 40 cuadros por segundo en un procesador como el de un celular).
       El fondo no se pinta bajo el borde: así el marino no asoma por fuera en las esquinas. */
    .promo-banner[class*="acento-"] {
      border: 1px solid var(--acento);
      background-clip: padding-box;
      box-shadow: 0 0 13px -3px var(--acento), 0 0 34px -13px var(--acento)
    }

    .promo-banner[class*="acento-"]:hover {
      box-shadow: 0 0 21px -3px var(--acento), 0 0 55px -13px var(--acento)
    }

    .promo-banner[class*="acento-"]::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 11;
      border-radius: calc(var(--radius-lg) - 1px);
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acento) 55%, var(--orto-white)), inset 0 0 13px -5px var(--acento);
      pointer-events: none;
      will-change: opacity;
      animation: latido-radiactivo calc(var(--dur-respiracion) * 2) var(--ease-orbita) infinite
    }

    @keyframes latido-radiactivo {
      0%, 100% { opacity: 1 }
      50%      { opacity: .45 }
    }

    /* La barra de categorías va sobre el marino también de noche: el aro de cada esfera sigue claro */
    :root[data-tema="noche"] .cat-chip {
      --acento-suave: color-mix(in srgb, var(--acento) 21%, var(--orto-white))
    }

    @media (prefers-reduced-motion: reduce) {
      .promo-banner[class*="acento-"]::before { animation: none }
    }

    .promo-banner img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .5s
    }

    .promo-banner:hover img {
      transform: scale(1.05)
    }

    .promo-banner::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(10, 15, 30, .65) 0%, rgba(10, 15, 30, .15) 40%, transparent 70%)
    }

    .promo-copy {
      position: relative;
      z-index: 10;
      padding: 21px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%
    }

    /* Pastilla con la esfera de su categoría al lado (index.js, pintarTarjetas) */
    .promo-etiqueta {
      display: flex;
      align-items: center;
      gap: var(--orto-space-8)
    }

    .promo-etiqueta .esfera {
      flex-shrink: 0
    }

    /* La foto de fondo de la tarjeta se estira a todo lo ancho; la ilustración de la esfera no */
    .promo-banner .promo-etiqueta img,
    .promo-banner:hover .promo-etiqueta img {
      position: static;
      transform: none
    }

    /* El borde y el punto toman el color de la categoría de la tarjeta (.acento-*); sin ella, dorado */
    .promo-tag {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: color-mix(in srgb, var(--acento, var(--yellow)) 21%, var(--orto-navy));
      backdrop-filter: blur(4px);
      border: 1px solid var(--acento, var(--yellow));
      color: var(--orto-white);
      font-size: var(--orto-font-11);
      font-weight: 700;
      letter-spacing: .5px;
      text-transform: uppercase;
      padding: 5px 13px;
      border-radius: 9999px;
      width: fit-content;
      white-space: nowrap
    }

    .promo-tag::before {
      content: '';
      width: 6px;
      height: 6px;
      background: var(--acento, var(--yellow));
      border-radius: 50%
    }

    .promo-headline {
      font-size: var(--orto-font-16);
      font-weight: 800;
      color: var(--white);
      line-height: 1.2;
      letter-spacing: -.3px
    }

    .promo-headline em {
      color: var(--yellow);
      font-style: normal
    }

    .promo-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--yellow);
      color: var(--navy);
      padding: 8px 21px;
      font-size: var(--orto-font-11);
      font-weight: 800;
      border-radius: var(--radius-md);
      width: fit-content;
      transition: all .2s;
      margin-top: 5px;
      border: none;
      cursor: pointer;
      font-family: inherit;
      text-decoration: none
    }

    .promo-banner:hover .promo-cta {
      background: var(--yellow2);
      transform: translateX(4px)
    }

    .promo-cta svg {
      width: 14px;
      height: 14px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    .discount-badge {
      position: absolute;
      top: 14px;
      right: 14px;
      z-index: 10;
      background: var(--red);
      color: var(--orto-white);
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 16px rgba(220, 38, 38, .4);
      border: 3px solid rgba(255, 255, 255, .3);
      transform: rotate(12deg);
      font-family: inherit
    }

    .discount-badge .pct {
      font-size: var(--orto-font-16);
      font-weight: 800;
      line-height: 1
    }

    .discount-badge .off {
      font-size: var(--orto-font-11);
      font-weight: 700
    }

    /* Card promocional sin fotografía: ilustración sobre el fondo navy */
    .promo-art {
      position: absolute;
      top: 24px;
      right: 24px;
      width: 120px;
      height: 120px;
      fill: none;
      stroke: var(--teal);
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: .7
    }

    @media (max-width: 640px) {
      .promo-art {
        top: 13px;
        right: 13px;
        width: 55px;
        height: 55px
      }
    }

    /* Aviso cuando el catálogo no está disponible */
    .catalog-unavailable {
      grid-column: 1 / -1;
      padding: var(--orto-space-55) var(--orto-space-21);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--orto-space-13);
      border: 1px solid var(--orto-border);
      border-radius: var(--radius-lg);
      background: var(--orto-superficie);
      text-align: center
    }

    .catalog-unavailable > .icon {
      font-size: var(--orto-font-55);
      stroke-width: 1.5;
      color: var(--orto-ambar-texto)
    }

    .catalog-unavailable h2 {
      font-size: var(--orto-font-21);
      font-weight: 800;
      color: var(--orto-text)
    }

    .catalog-unavailable p {
      max-width: 377px;
      font-size: var(--orto-font-16);
      color: var(--orto-muted)
    }

    /* "Quizá quisiste decir…" (22-oct-2026): la palabra y sus categorías como enlaces */
    .catalog-quiso a {
      color: var(--orto-teal-texto);
      font-weight: 800;
      text-decoration: underline;
      text-underline-offset: 3px
    }

    .catalog-unavailable-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: var(--orto-space-13)
    }

    /* ÑÑÑÑÑÑ STATS ÑÑÑÑÑÑ */
    .stats-bar {
      background: var(--orto-superficie);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 34px 13px
    }

    .stats-inner {
      max-width: var(--orto-layout-max);
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 21px;
      text-align: center
    }

    .stat-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px
    }

    .stat-num {
      font-size: clamp(26px, 3vw, 38px);
      font-weight: 800;
      color: var(--orto-teal-texto);
      letter-spacing: -1px
    }

    .stat-label {
      font-size: var(--orto-font-13);
      font-weight: 600;
      color: var(--sub);
      max-width: 140px
    }

    /* ÑÑÑÑÑÑ LAYOUT ÑÑÑÑÑÑ */
    .wrap {
      max-width: var(--orto-layout-max);
      margin: 0 auto;
      padding: 8px var(--orto-gutter);
      display: grid;
      grid-template-columns: 210px 1fr;
      gap: 8px
    }

    .sidebar {
      background: var(--orto-superficie);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 21px;
      height: fit-content;
      position: sticky;
      top: 80px
    }

    .sidebar-title {
      font-size: var(--orto-font-13);
      font-weight: 800;
      color: var(--text);
      margin-bottom: 13px
    }

    .sidebar-sep {
      border: none;
      border-top: 1px solid var(--border);
      margin: 13px 0
    }

    .cat-count {
      font-size: var(--orto-font-11);
      background: var(--border);
      color: var(--sub);
      padding: 2px 8px;
      border-radius: 9999px;
      font-weight: 600
    }

    .filter-label {
      font-size: var(--orto-font-11);
      font-weight: 700;
      color: var(--text);
      text-transform: uppercase;
      letter-spacing: .5px;
      margin-bottom: 8px
    }

    .check-row {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 5px 5px;
      cursor: pointer;
      border-radius: var(--radius-sm);
      font-size: var(--orto-font-13);
      color: var(--sub);
      transition: background .2s
    }

    .check-row:hover {
      background: var(--bg)
    }

    .check-row input {
      width: 16px;
      height: 16px;
      accent-color: var(--teal);
      cursor: pointer
    }

    .content {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 8px
    }

    /* ÑÑÑÑÑÑ SORT ÑÑÑÑÑÑ */
    .sort-row {
      background: var(--orto-superficie);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 13px 13px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 13px;
      flex-wrap: wrap;
      box-shadow: var(--shadow-sm)
    }

    .sort-row p {
      font-size: var(--orto-font-13);
      color: var(--muted);
      font-weight: 500
    }

    .sort-row p strong {
      color: var(--text)
    }

    /* Subtítulo de la búsqueda por síntoma: "Para dolor de espalda: Fajas y Correctores" */
    .sort-row .sort-sintoma {
      margin-top: 2px;
      font-size: var(--orto-font-13);
      font-weight: 700;
      color: var(--orto-text)
    }

    /* Título de la página (Fase 13: un h1 por página) con el conteo debajo; en cada categoría dice su
       nombre largo (CONFIG.CATEGORIES.titulo) */
    .sort-titulo {
      display: flex;
      flex-direction: column;
      min-width: 0
    }

    .sort-titulo h1 {
      margin: 0;
      font-size: var(--orto-font-16);
      font-weight: 800;
      line-height: 1.3;
      color: var(--orto-text)
    }

    /* "Cómo elegir" de la categoría, al final del catálogo para no empujar los productos */
    .cat-guia {
      margin-top: var(--orto-space-21);
      padding: var(--orto-space-21);
      background: var(--orto-superficie);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm)
    }

    /* Mientras llegan los productos la guía espera: si saliera antes, bajaría de golpe al llenarse el catálogo */
    .pgrid:empty ~ .cat-guia {
      display: none
    }

    .cat-guia h2 {
      margin: 0 0 var(--orto-space-8);
      font-size: var(--orto-font-21);
      font-weight: 800;
      color: var(--orto-text)
    }

    .cat-guia p {
      margin: 0;
      font-size: var(--orto-font-16);
      line-height: 1.6;
      color: var(--orto-text)
    }

    .cat-guia p + p {
      margin-top: var(--orto-space-8)
    }

    .cat-guia .cat-guia-blog {
      margin-top: var(--orto-space-13);
      font-weight: 700
    }

    .cat-guia-blog a {
      color: var(--orto-teal-texto);
      text-decoration: underline
    }

    @media (min-width: 768px) {
      .cat-guia > div {
        columns: 2;
        column-gap: var(--orto-space-34)
      }

      .cat-guia p + p {
        margin-top: 0
      }

      .cat-guia p {
        break-inside: avoid
      }
    }

    /* Catálogo en enlaces (lo escribe el servidor): las categorías en el inicio y los productos en cada categoría */
    .cat-indice {
      margin-top: var(--orto-space-21);
      padding: var(--orto-space-21);
      background: var(--orto-superficie);
      border: 1px solid var(--border);
      border-radius: var(--radius-md)
    }

    .cat-indice[hidden] {
      display: none
    }

    .cat-indice h2 {
      margin: 0 0 var(--orto-space-13);
      font-size: var(--orto-font-21);
      font-weight: 800;
      color: var(--orto-text)
    }

    .cat-indice h3 {
      margin: 0 0 var(--orto-space-8);
      font-size: var(--orto-font-16);
      font-weight: 800;
      color: var(--orto-text)
    }

    .cat-indice ul {
      margin: 0;
      padding: 0;
      list-style: none
    }

    .cat-indice li {
      padding: var(--orto-space-5) 0;
      font-size: var(--orto-font-16);
      line-height: 1.5;
      color: var(--orto-text)
    }

    .cat-indice a {
      color: var(--orto-teal-texto);
      font-weight: 700;
      text-decoration: underline
    }

    .cat-indice-categorias li span {
      display: block
    }

    .cat-indice-grupos section {
      break-inside: avoid;
      margin-bottom: var(--orto-space-21)
    }

    .cat-indice-otras {
      margin-top: var(--orto-space-13)
    }

    @media (min-width: 768px) {
      .cat-indice-grupos,
      .cat-indice-categorias:not(.cat-indice-categorias--corta) {
        columns: 2;
        column-gap: var(--orto-space-34)
      }

      .cat-indice-categorias:not(.cat-indice-categorias--corta) li {
        break-inside: avoid
      }

      .cat-indice-categorias--corta {
        display: flex;
        flex-wrap: wrap;
        gap: var(--orto-space-5) var(--orto-space-21)
      }
    }

    @media (min-width: 1100px) {
      .cat-indice-grupos {
        columns: 3
      }
    }

    .sort-right {
      display: flex;
      align-items: center;
      gap: 8px
    }

    .sort-right label {
      font-size: var(--orto-font-13);
      font-weight: 600;
      color: var(--sub)
    }

    .sort-right select {
      border: 1.5px solid var(--border2);
      border-radius: var(--radius-sm);
      padding: 8px 8px;
      font-size: var(--orto-font-13);
      font-family: inherit;
      color: var(--text);
      background: var(--orto-superficie);
      cursor: pointer;
      font-weight: 600;
      outline: none
    }

    /* ÑÑÑÑÑÑ PRODUCTS ” imagen grande ÑÑÑÑÑÑ */
    .pgrid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px
    }

    /* Mientras llegan los productos el catálogo aparta una pantalla: lo de abajo (testimonios, empresas)
       no se asoma para luego bajar de golpe al llenarse (Fase 13, CLS) */
    .pgrid:empty {
      min-height: 100vh
    }

    .pcard {
      background: var(--orto-superficie);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: all .3s;
      display: flex;
      flex-direction: column;
      position: relative;
      cursor: pointer
    }

    .pcard:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-3px);
      border-color: var(--border2)
    }

    .pcard-img {
      aspect-ratio: 5 / 8;
      background: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      position: relative;
      border-bottom: 1px solid var(--border);
      overflow: hidden
    }

    .pcard-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: transform .5s
    }

    .pcard:hover .pcard-img img {
      transform: scale(1.05)
    }

    .pcard-img .ph {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px
    }

    .pcard-img .ph p {
      font-size: var(--orto-font-13);
      color: var(--muted);
      font-weight: 500
    }

    /* Vista rápida (ui.vistaRapida): en computadora aparece al pasar el ratón; en el celular siempre */
    .pcard-rapida {
      position: absolute;
      left: 50%;
      bottom: var(--orto-space-8);
      z-index: 10;
      translate: -50% 0;
      display: inline-flex;
      align-items: center;
      gap: var(--orto-space-5);
      padding: var(--orto-space-5) var(--orto-space-13);
      border: 1px solid var(--orto-border);
      border-radius: var(--radius-pill);
      background: var(--orto-superficie);
      color: var(--orto-text);
      font-size: var(--orto-font-11);
      font-weight: 800;
      text-decoration: none;
      box-shadow: var(--shadow-md);
      white-space: nowrap
    }

    .pcard-rapida .icon { width: 14px; height: 14px }
    .pcard-rapida:hover, .pcard-rapida:focus-visible { border-color: var(--orto-teal); color: var(--orto-teal-texto) }

    @media (hover: hover) {
      .pcard-rapida { opacity: 0; transition: opacity var(--orto-duration-fast) var(--orto-ease) }
      .pcard:hover .pcard-rapida, .pcard-rapida:focus-visible { opacity: 1 }
    }

    .pwish {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--orto-superficie);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      cursor: pointer;
      transition: all .2s;
      box-shadow: var(--shadow-sm)
    }

    .pwish:hover {
      background: var(--orto-red-light);
      border-color: var(--red)
    }

    .pwish:hover svg {
      stroke: var(--red);
      fill: var(--orto-red-light)
    }

    .pwish svg {
      width: 13px;
      height: 13px;
      stroke: var(--muted);
      fill: none;
      stroke-width: 2;
      transition: all .2s
    }

    .pwish.active {
      background: var(--orto-red-light);
      border-color: var(--red)
    }

    .pwish.active svg {
      stroke: var(--red);
      fill: var(--red)
    }

    .pcard-body {
      padding: 13px;
      display: flex;
      flex-direction: column;
      gap: 5px;
      flex: 1
    }

    .pcard-name {
      font-size: var(--orto-font-13);
      font-weight: 700;
      color: var(--text);
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden
    }

    .pprice {
      display: flex;
      align-items: baseline;
      gap: 5px;
      flex-wrap: wrap
    }

    .pprice-main {
      font-size: var(--orto-font-21);
      font-weight: 800;
      color: var(--text);
      letter-spacing: -.5px
    }

    .pprice-old {
      font-size: var(--orto-font-13);
      color: var(--muted);
      text-decoration: line-through
    }

    .pprice-save {
      font-size: var(--orto-font-11);
      font-weight: 800;
      color: var(--orto-red-texto);
      background: var(--orto-red-light);
      padding: 3px 5px;
      border-radius: var(--radius-sm)
    }

    .pcard-btns {
      display: flex;
      flex-direction: column;
      gap: 5px;
      margin-top: auto;
      padding-top: 5px
    }

    .btn-buy,
    .btn-add {
      width: 100%;
      border: none;
      border-radius: var(--radius-md);
      font-family: inherit;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all .2s
    }

    .btn-buy:active,
    .btn-add:active {
      transform: translateY(2px)
    }

    .btn-buy {
      background: var(--buy);
      color: var(--orto-white);
      padding: 13px;
      font-size: var(--orto-font-13);
      font-weight: 700;
      box-shadow: 0 4px 6px rgba(29, 78, 216, .2);
      transition: all .25s
    }

    .btn-buy:hover {
      box-shadow: var(--glow-buy)
    }

    .btn-buy:hover {
      background: var(--buy2)
    }

    /* "Agregar al carrito" un tamaño más grande (pedido del dueño, 19-oct-2026) */
    .btn-add {
      background: var(--add);
      color: var(--orto-white);
      padding: 13px;
      font-size: var(--orto-font-16);
      font-weight: 700;
      transition: all .25s
    }

    .btn-add:hover {
      background: var(--add2);
      box-shadow: var(--glow-add)
    }

    .btn-buy svg,
    .btn-add svg {
      width: 13px;
      height: 13px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    /* Loading spinner */
    .load-more {
      text-align: center;
      padding: 34px 13px
    }

    .load-more .spinner {
      display: inline-block;
      width: 36px;
      height: 36px;
      border: 3px solid var(--border);
      border-top: 3px solid var(--teal);
      border-radius: 50%;
      animation: spin .8s linear infinite
    }

    @keyframes spin {
      to {
        transform: rotate(360deg)
      }
    }

    .load-more p {
      font-size: var(--orto-font-13);
      color: var(--muted);
      margin-top: 8px;
      font-weight: 500
    }

    /* ÑÑÑÑÑÑ TESTIMONIALS ÑÑÑÑÑÑ */
    .fsec {
      max-width: var(--orto-layout-max);
      margin: 0 auto;
      padding: 0 var(--orto-gutter) 13px
    }

    .sec-card {
      background: var(--orto-superficie);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 21px 21px;
      box-shadow: var(--shadow-sm)
    }

    .sec-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 21px;
      flex-wrap: wrap;
      gap: 13px
    }

    .sec-head h2 {
      font-size: clamp(18px, 2.5vw, 24px);
      font-weight: 800;
      color: var(--text);
      letter-spacing: -.4px
    }

    .sec-head a {
      font-size: var(--orto-font-13);
      font-weight: 700;
      color: var(--orto-teal-texto);
      text-decoration: none
    }

    .sec-head a:hover {
      color: var(--orto-teal-texto);
      text-decoration: underline
    }

    .tgrid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 13px
    }

    .tcard {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 21px;
      background: var(--bg);
      transition: all .3s;
      box-shadow: var(--shadow-sm)
    }

    .tcard:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
      background: var(--orto-superficie)
    }

    .tcard-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 13px
    }

    .t-info {
      display: flex;
      align-items: center;
      gap: 8px
    }

    .t-av {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: var(--orto-font-13);
      color: var(--orto-white)
    }

    .t-name {
      font-size: var(--orto-font-13);
      font-weight: 700;
      color: var(--text)
    }

    .t-verified {
      font-size: var(--orto-font-11);
      color: var(--orto-teal-texto);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 5px;
      margin-top: 2px
    }

    .t-verified svg {
      width: 12px;
      height: 12px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2.5
    }

    .g-icon {
      width: 24px;
      height: 24px
    }

    .t-stars {
      display: flex;
      align-items: center;
      gap: 5px;
      margin-bottom: 8px
    }

    .t-stars .s {
      color: var(--star);
      font-size: var(--orto-font-13);
      letter-spacing: -1px
    }

    .t-stars span {
      font-size: var(--orto-font-13);
      font-weight: 700;
      color: var(--sub)
    }

    .t-title {
      font-size: var(--orto-font-13);
      font-weight: 700;
      color: var(--text);
      margin-bottom: 5px;
      line-height: 1.4
    }

    .t-text {
      font-size: var(--orto-font-13);
      color: var(--sub);
      line-height: 1.7;
      font-style: italic
    }

    .t-date {
      font-size: var(--orto-font-11);
      color: var(--muted);
      margin-top: 8px;
      font-weight: 500
    }

    .t-date a {
      color: var(--orto-teal-texto);
      text-decoration: none;
      font-weight: 600
    }

    /* ÑÑÑÑÑÑ LOGOS ÑÑÑÑÑÑ */
    /* ÑÑÑÑÑÑ CONTACT ÑÑÑÑÑÑ */
    .contact-sec {
      max-width: var(--orto-layout-max);
      margin: 0 auto;
      padding: 13px var(--orto-gutter) 55px
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 34px;
      align-items: start;
      background: var(--orto-superficie);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 34px;
      box-shadow: var(--shadow-lg)
    }

    .contact-info .section-tag {
      font-size: var(--orto-font-13);
      letter-spacing: 2px;
      color: var(--orto-teal-texto);
      text-transform: uppercase;
      font-weight: 800;
      margin-bottom: 8px
    }

    .contact-info h2 {
      font-size: clamp(22px, 2.5vw, 30px);
      font-weight: 800;
      color: var(--text);
      margin-bottom: 13px;
      letter-spacing: -.3px;
      line-height: 1.2
    }

    .contact-info>p {
      color: var(--sub);
      font-size: var(--orto-font-13);
      line-height: 1.6;
      margin-bottom: 21px
    }

    .contact-row {
      display: flex;
      align-items: center;
      gap: 13px;
      margin-bottom: 13px
    }

    .contact-icon {
      width: 42px;
      height: 42px;
      background: var(--navy-light);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      border-radius: var(--radius-sm);
      color: var(--yellow)
    }

    .contact-icon svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    .c-label {
      font-size: var(--orto-font-11);
      letter-spacing: 1px;
      color: var(--muted);
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 2px
    }

    .c-val {
      font-size: var(--orto-font-13);
      color: var(--text);
      font-weight: 600
    }

    .c-val a {
      color: var(--orto-teal-texto);
      text-decoration: none
    }

    .contact-form-box {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 21px;
      display: flex;
      flex-direction: column;
      gap: 13px
    }

    .fg {
      display: flex;
      flex-direction: column;
      gap: 5px
    }

    .fg label {
      font-size: var(--orto-font-13);
      font-weight: 700;
      color: var(--text)
    }

    .fg input,
    .fg textarea,
    .fg select {
      border: 1.5px solid var(--border2);
      padding: 13px 13px;
      font-family: inherit;
      font-size: var(--orto-font-13);
      color: var(--text);
      background: var(--orto-superficie);
      outline: none;
      border-radius: var(--radius-sm);
      transition: all .2s;
      width: 100%
    }

    .fg input:focus,
    .fg textarea:focus,
    .fg select:focus {
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(0, 137, 123, .1)
    }

    .fg textarea {
      resize: vertical;
      min-height: 100px
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 13px
    }

    .form-submit {
      background: var(--teal);
      color: var(--orto-white);
      border: none;
      padding: 13px;
      font-family: inherit;
      font-size: var(--orto-font-16);
      font-weight: 700;
      cursor: pointer;
      border-radius: var(--radius-md);
      transition: all .2s
    }

    .form-submit:hover {
      background: var(--teal2);
      transform: translateY(-2px)
    }

    /* Toast notification */
    .toast {
      position: fixed;
      top: 80px;
      right: 20px;
      z-index: 10000;
      background: var(--orto-superficie);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 13px 21px;
      box-shadow: var(--shadow-lg);
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: var(--orto-font-13);
      font-weight: 600;
      transform: translateX(120%);
      transition: transform .3s ease;
      max-width: 320px
    }

    .toast.show {
      transform: translateX(0)
    }

    .toast .toast-icon {
      width: 28px;
      height: 28px;
      background: var(--add);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0
    }

    .toast .toast-icon svg {
      width: 16px;
      height: 16px;
      stroke: var(--orto-white);
      fill: none;
      stroke-width: 2.5
    }

    /* ÑÑÑÑÑÑ RESPONSIVE ÑÑÑÑÑÑ */
    @media(max-width:1100px) {
      .tgrid {
        grid-template-columns: repeat(2, 1fr)
      }

      .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 13px
      }
    }

    @media(max-width:960px) {
      .hero-cards {
        grid-template-columns: 1fr
      }

      .hero-cards-wrap {
        padding: var(--orto-space-13) var(--orto-gutter) 0
      }

      .promo-banner {
        height: calc(var(--orto-space-89) * 3 + var(--orto-space-55) * 2)
      }

      .wrap {
        grid-template-columns: 1fr;
        padding: 8px var(--orto-gutter)
      }

      .sidebar {
        display: none
      }

      .contact-grid {
        grid-template-columns: 1fr;
        padding: 21px;
        gap: 21px
      }

      .form-row {
        grid-template-columns: 1fr
      }

    }

    @media(max-width:520px) {
      .pgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px
      }

      .pcard-img {
        aspect-ratio: 5 / 8
      }

      .pcard-body {
        padding: 8px;
        gap: 3px
      }

      .pcard-name {
        font-size: var(--orto-font-13)
      }

      .pprice-main {
        font-size: var(--orto-font-13)
      }

      .pprice-old {
        font-size: var(--orto-font-11)
      }

      .btn-buy {
        padding: 8px;
        font-size: var(--orto-font-13)
      }

      .btn-add {
        padding: 8px;
        font-size: var(--orto-font-16)
      }

      .promo-banner {
        height: calc(var(--orto-space-89) * 3 + var(--orto-space-34))
      }

      .promo-copy {
        padding: 13px
      }

      .promo-headline {
        font-size: var(--orto-font-11)
      }

      .tgrid {
        grid-template-columns: 1fr
      }

      .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px
      }

      .stat-num {
        font-size: var(--orto-font-26)
      }

      .discount-badge {
        width: 48px;
        height: 48px;
        top: 10px;
        right: 10px
      }

      .discount-badge .pct {
        font-size: var(--orto-font-16)
      }
    }

    @media(max-width:380px) {
      .pcard-img {
        aspect-ratio: 5 / 8
      }

      .pcard-body {
        padding: 8px
      }

      .pcard-name {
        font-size: var(--orto-font-13)
      }

      .pprice-main {
        font-size: var(--orto-font-13)
      }
    }

    .pcard-bullets {
      list-style: none;
      padding: 0;
      margin: 5px 0 3px;
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .pcard-bullets li {
      font-size: var(--orto-font-11);
      color: var(--orto-text);
      line-height: 1.4;
      padding-left: 13px;
      position: relative;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .pcard-bullets li::before {
      content: '\2714';
      position: absolute;
      left: 0;
      color: var(--orto-teal-texto);
      font-weight: 700;
      font-size: var(--orto-font-11);
    }

    @media (max-width: 520px) {
      .pcard-bullets {
        display: none;
      }
    }
  
    /* ═══ FIBONACCI COLOR BALANCE: Navy + Yellow ═══ */
    /* Golden ratio: 61.8% teal, 23.6% navy, 14.6% yellow */

    /* CART BUTTON — navy ring */
    .cart-count { background: var(--yellow) !important; color: var(--navy) !important; font-weight: 800 !important; }

    /* PROMO STRIP — navy background with yellow icons */

    /* HERO PROMO CARDS — navy frame */
    .promo-cta { background: var(--yellow) !important; color: var(--navy) !important; }
    .promo-cta svg { stroke: var(--navy) !important; }
    .discount-badge { border: 3px solid var(--yellow) !important; background: var(--navy) !important; }

    /* PRODUCT CARDS — navy bottom accent, yellow on hover */
    .pcard { border-bottom: 3px solid var(--navy); }
    .pcard:hover { border-bottom-color: var(--yellow); box-shadow: 0 8px 24px rgba(8,13,27,.12); }
    .pcard-price { color: var(--orto-text) !important; }

    /* SIDEBAR — navy headings */
    .sb-title { color: var(--orto-text) !important; border-left: 3px solid var(--yellow); padding-left: 8px; }

    /* BOTTOM NAV — navy bar, yellow active */

    /* WHATSAPP BUTTON — navy shadow ring */

    

    /* SHIP BAR — navy with yellow highlight */
    /* ══ CATÁLOGO: fichas de categoría, lista lateral y carga por tandas ══ */
    /* Las categorías son la continuación del encabezado: el mismo navy, y se reparten a lo ancho
       (máximo 1440 px, como el encabezado); en teléfono se recorren con el dedo */
    .cat-chips {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(calc(var(--cat-esfera) + var(--orto-space-21)), 1fr);
      gap: var(--orto-space-8);
      padding: var(--orto-space-13) max(var(--orto-space-21), calc((100% - var(--orto-layout-max)) / 2 + var(--orto-space-21))) var(--orto-space-8);
      background: var(--orto-navy);
      overflow-x: auto;
      scrollbar-width: none;
      /* Se queda pegada bajo el encabezado (js/index.js mide su alto en --alto-encabezado). Sube 1 px
         por debajo de él: con altos de medio píxel, en el teléfono quedaba una rayita del fondo entre los dos */
      position: sticky;
      top: calc(var(--alto-encabezado, 1px) - 1px);
      z-index: 190;
      transition: padding var(--orto-duration-normal) var(--orto-ease)
    }

    /* En el inicio las categorías continúan el encabezado: sin su orilla ni su sombra, que entre los dos
       se veían como una raya (pedido del dueño) */
    .orto-header {
      border-bottom-color: var(--orto-navy);
      box-shadow: none
    }

    /* Al bajar por la página (pedido del dueño) la barra queda solo con los nombres, sin ilustraciones.
       Los nombres conservan el mismo ancho de columna, el mismo renglón partido y la misma separación que
       con las esferas (pedido del dueño, 19-oct-2026): antes cada uno se estiraba a un renglón y en el
       celular quedaban amontonados */
    .cat-chips.compacta {
      padding-top: var(--orto-space-5);
      padding-bottom: var(--orto-space-5);
      box-shadow: var(--shadow-md)
    }

    .cat-chips.compacta .cat-chip {
      gap: 0
    }

    .cat-chips.compacta .cat-chip .esfera {
      height: 0;
      opacity: 0;
      box-shadow: none;
      animation: none
    }

    /* Marca invisible justo arriba de la barra: cuando pasa bajo el encabezado, la barra se compacta */
    .cat-chips-marca {
      height: 1px;
      margin-bottom: -1px
    }

    .cat-chips::-webkit-scrollbar {
      display: none
    }

    .cat-chips:empty {
      display: none
    }

    /* Ficha de categoría: su esfera de color con el icono y el nombre debajo. Al pasar el dedo o
       el ratón la esfera se eleva como un astro; la elegida respira y su nombre se marca. */
    .cat-chip {
      min-width: 0;
      min-height: 44px;
      text-decoration: none;
      padding: var(--orto-space-5) 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--orto-space-8);
      border: 0;
      border-radius: var(--radius-md);
      background: none;
      color: var(--orto-white);
      font-family: inherit;
      font-size: var(--orto-font-13);
      font-weight: 700;
      line-height: 1.25;
      text-align: center;
      white-space: normal;
      cursor: pointer
    }

    /* Esferas grandes: la ilustración se distingue de un vistazo */
    .cat-chip .esfera {
      width: var(--cat-esfera);
      height: var(--cat-esfera);
      transition: transform var(--orto-duration-normal) var(--ease-orbita), box-shadow var(--orto-duration-normal) var(--ease-orbita),
        height var(--orto-duration-normal) var(--orto-ease), opacity var(--orto-duration-fast) var(--orto-ease)
    }

    .cat-chip:hover .esfera,
    .cat-chip:focus-visible .esfera {
      transform: translateY(-3px) scale(1.06);
      box-shadow: 0 0 0 4px var(--acento-suave), 0 13px 21px -8px var(--acento)
    }

    .cat-chip.active .esfera {
      box-shadow: 0 0 0 3px var(--orto-white), 0 0 0 6px var(--acento), 0 13px 21px -8px var(--acento);
      animation: respiracion calc(var(--dur-respiracion) * 2) var(--ease-orbita) infinite
    }

    /* Sobre el navy el nombre va en blanco; la elegida la marca un brochazo de su color (pedido del
       dueño, 22-oct-2026; antes era una barra): el mismo degradado y el mismo halo que late (solo
       transparencia, como el borde de las tarjetas de arriba). La forma la da una máscara: orilla
       irregular, cerdas abiertas y la cola seca a la derecha; ::before es el halo, la misma pincelada
       difuminada, porque una sombra no sigue la forma de la máscara. */
    .cat-chip {
      --brochazo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' fill='white' d='M3 7.5C4 4.6 9 3.6 16 3.4C34 2.8 52 3.6 70 3C86 2.5 101 2.2 111 3.1L118 3.6L113 5L119.5 6.2L112 7.6L117.5 9.6L106 10.6C90 11.6 72 11 56 11.6C40 12.2 24 12.6 12 12.2C6 12 2.4 10.4 3 7.5ZM22 6.6C40 6.1 58 6.4 76 5.9L76 6.5C58 7 40 6.8 22 7.3ZM48 9.2C64 8.9 80 9.1 98 8.6L97 9.2C80 9.6 64 9.5 48 9.8ZM86 4.4L104 4.1L103.5 4.6L87 4.9Z'/%3E%3C/svg%3E");
      --brochazo-halo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -6 136 26' preserveAspectRatio='none'%3E%3Cfilter id='d' x='-20%25' y='-60%25' width='140%25' height='220%25'%3E%3CfeGaussianBlur stdDeviation='2.6'/%3E%3C/filter%3E%3Cpath filter='url(%23d)' fill='white' d='M3 7.5C4 4.6 9 3.6 16 3.4C34 2.8 52 3.6 70 3C86 2.5 101 2.2 111 3.1L119.5 6.2L106 10.6C90 11.6 72 11 56 11.6C40 12.2 24 12.6 12 12.2C6 12 2.4 10.4 3 7.5Z'/%3E%3C/svg%3E")
    }

    .cat-chip.active .cat-nombre {
      font-weight: 800;
      position: relative
    }

    .cat-chip.active .cat-nombre::before,
    .cat-chip.active .cat-nombre::after {
      content: "";
      position: absolute;
      background: var(--acento-grad);
      -webkit-mask: var(--brochazo) center / 100% 100% no-repeat;
      mask: var(--brochazo) center / 100% 100% no-repeat;
      pointer-events: none;
      will-change: opacity;
      animation: latido-radiactivo calc(var(--dur-respiracion) * 2) var(--ease-orbita) infinite
    }

    /* La pincelada sobresale un poco de la palabra, como hecha a mano */
    .cat-chip.active .cat-nombre::after {
      left: -5px;
      right: -5px;
      bottom: -7px;
      height: 8px
    }

    .cat-chip.active .cat-nombre::before {
      left: -10px;
      right: -10px;
      bottom: -11px;
      height: 16px;
      background: var(--acento);
      -webkit-mask-image: var(--brochazo-halo);
      mask-image: var(--brochazo-halo);
      opacity: .8
    }

    @media (prefers-reduced-motion: reduce) {
      .cat-chip .esfera, .cat-chip.active .esfera, .cat-chip.active .cat-nombre::before, .cat-chip.active .cat-nombre::after { animation: none; transition: none }
      .cat-chip:hover .esfera { transform: none }
    }

    .cat-chip:focus-visible { outline: 2px solid var(--orto-gold); outline-offset: 2px }

    .cat-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 2px
    }

    .cat-list button {
      width: 100%;
      min-height: 34px;
      padding: var(--orto-space-5) var(--orto-space-8);
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: var(--orto-space-8);
      border: 0;
      border-radius: var(--radius-sm);
      background: none;
      color: var(--orto-sub);
      font-family: inherit;
      font-size: var(--orto-font-13);
      font-weight: 500;
      text-align: left;
      cursor: pointer;
      transition: background var(--orto-duration-fast) var(--orto-ease), color var(--orto-duration-fast) var(--orto-ease)
    }

    .cat-list button:hover {
      background: var(--orto-bg);
      color: var(--orto-text)
    }

    .cat-list button.active {
      background: var(--acento-suave, var(--orto-teal-light));
      color: var(--orto-text);
      font-weight: 700;
      box-shadow: inset 3px 0 0 var(--acento, var(--orto-teal))
    }

    .cat-list .cat-nombre { flex: 1 }

    /* Ramas de cada categoría (sus grupos), como el menú de Cloudflare: la flecha las abre y una
       línea a la izquierda las une con su categoría (index.js, renderFilters) */
    .cat-rama-fila { display: flex; align-items: center; gap: 2px }
    .cat-rama-fila > button[data-cat] { flex: 1; min-width: 0 }
    .cat-list .cat-rama-abrir {
      width: 34px;
      min-height: 34px;
      flex: none;
      justify-content: center;
      padding: 0
    }
    .cat-rama-abrir .icon { transition: rotate var(--orto-duration-fast) var(--orto-ease) }
    .cat-rama-abrir[aria-expanded="true"] .icon { rotate: 180deg }
    .cat-ramas {
      list-style: none;
      margin: 2px 0 var(--orto-space-5) var(--orto-space-21);
      padding-left: var(--orto-space-8);
      border-left: 1px solid var(--orto-border-dark);
      display: flex;
      flex-direction: column;
      gap: 2px
    }
    .cat-list .cat-ramas button { min-height: 34px; font-size: var(--orto-font-13) }

    /* Foto cuadrada: la proporción anterior (5/8) dejaba tarjetas muy altas en teléfono */
    .pcard-img {
      aspect-ratio: 1 / 1
    }

    .pcard-img-link {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center
    }

    .pcard-img .ph .icon {
      font-size: var(--orto-font-34);
      stroke-width: 1.5;
      color: var(--orto-border-dark)
    }

    .pcard-name {
      color: inherit;
      text-decoration: none
    }

    a.btn-add {
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none
    }

    .load-more-btn {
      display: block;
      min-height: 44px;
      margin: var(--orto-space-21) auto
    }

    @media (max-width: 760px) {
      .cat-chips {
        padding: var(--orto-space-13) var(--orto-space-13) var(--orto-space-5)
      }
    }

    /* Cuadrícula de productos: tantas columnas como quepan; 2 en teléfono */
    .pgrid {
      grid-template-columns: repeat(auto-fill, minmax(233px, 1fr));
      gap: var(--orto-space-13)
    }

    .pcard-bullets li {
      font-size: var(--orto-font-11)
    }

    @media (max-width: 640px) {
      .pgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--orto-space-8)
      }
    }

    /* ══ RESPALDO DE PAGOS Y ENVÍOS ══ */
    .partner-list {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(233px, 1fr));
      gap: var(--orto-space-13)
    }

    .partner-list li {
      min-height: 89px;
      padding: var(--orto-space-13) var(--orto-space-21);
      display: flex;
      align-items: center;
      gap: var(--orto-space-13);
      border: 1px solid var(--orto-border);
      border-radius: var(--radius-md);
      background: var(--orto-bg);
      color: var(--orto-sub);
      font-size: var(--orto-font-13);
      font-weight: 600;
      line-height: 1.4
    }

    .partner-list img {
      width: auto;
      height: 34px;
      flex-shrink: 0
    }

    .partner-list .icon {
      font-size: var(--orto-font-34);
      stroke-width: 1.5;
      color: var(--orto-teal-texto)
    }

    /* ══ TARJETAS DE ESPERA mientras carga el catálogo ══ */
    .pcard-skeleton .pcard-body {
      display: flex;
      flex-direction: column;
      gap: var(--orto-space-8);
      padding: var(--orto-space-13)
    }

    .pcard-skeleton .pcard-img,
    .pcard-skeleton .sk {
      background: linear-gradient(90deg, var(--orto-border) 25%, var(--orto-bg) 50%, var(--orto-border) 75%);
      background-size: 200% 100%;
      animation: sk-shimmer 1.4s linear infinite
    }

    .pcard-skeleton .sk {
      height: 13px;
      border-radius: var(--radius-sm)
    }

    .pcard-skeleton .sk-short {
      width: 55%
    }

    .pcard-skeleton .sk-btn {
      height: 34px;
      margin-top: var(--orto-space-8);
      border-radius: var(--radius-md)
    }

    @keyframes sk-shimmer {
      from { background-position: 200% 0 }
      to { background-position: -200% 0 }
    }

    @media (prefers-reduced-motion: reduce) {
      .pcard-skeleton .pcard-img,
      .pcard-skeleton .sk {
        animation: none
      }
    }

    /* ══ FILTROS EN TELÉFONO: la lista lateral se abre como hoja inferior ══ */
    .filters-btn,
    .sidebar-head,
    .sidebar-apply {
      display: none
    }

    @media (max-width: 960px) {
      .filters-btn {
        min-height: 44px;
        padding: 0 var(--orto-space-13);
        display: inline-flex;
        align-items: center;
        gap: var(--orto-space-8);
        border: 1px solid var(--orto-border-dark);
        border-radius: var(--radius-md);
        background: var(--orto-superficie);
        color: var(--orto-text);
        font-family: inherit;
        font-size: var(--orto-font-13);
        font-weight: 700;
        cursor: pointer
      }

      .sort-row {
        flex-wrap: wrap;
        gap: var(--orto-space-8)
      }

      .sort-titulo {
        flex-basis: 100%
      }

      .filters-backdrop {
        position: fixed;
        inset: 0;
        z-index: 290;
        background: var(--orto-navy);
        opacity: .55
      }

      .sidebar {
        display: block;
        position: fixed;
        /* Panel desde la izquierda, como en computadora (pedido del dueño, 19-oct-2026) */
        top: 0;
        left: 0;
        right: auto;
        /* Termina encima del menú inferior del celular (cart.js mide su alto en --orto-dock-base) */
        bottom: var(--orto-dock-base, 0px);
        z-index: 300;
        width: min(400px, 89vw);
        height: auto;
        max-height: none;
        padding: var(--orto-space-21);
        overflow-y: auto;
        border: 0;
        border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
        box-shadow: var(--shadow-spotlight);
        visibility: hidden;
        transform: translateX(-100%);
        transition: transform var(--orto-duration-normal) var(--orto-ease), visibility var(--orto-duration-normal) var(--orto-ease)
      }

      .sidebar.is-open {
        visibility: visible;
        transform: none
      }

      .sidebar-head {
        margin-bottom: var(--orto-space-13);
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: var(--orto-font-21);
        font-weight: 800;
        color: var(--orto-text)
      }

      .sidebar-head button {
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: var(--radius-md);
        background: var(--orto-bg);
        color: var(--orto-text);
        font-size: var(--orto-font-21);
        cursor: pointer
      }

      .sidebar .sidebar-title {
        display: none
      }

      .sidebar .cat-list button,
      .sidebar .check-row {
        min-height: 44px
      }

      .sidebar-apply {
        display: flex;
        margin-top: var(--orto-space-21)
      }
    }

    /* ══ INSTITUCIONES ══ */
    .brand-list {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(144px, 1fr));
      gap: var(--orto-space-13)
    }

    .brand-list li {
      height: 89px;
      padding: var(--orto-space-13) var(--orto-space-21);
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--orto-border);
      border-radius: var(--radius-md);
      background: var(--orto-superficie)
    }

    .brand-list img {
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain
    }

    /* ══ INSIGNIA Y CALIFICACIÓN EN LA TARJETA ══ */
    .pcard-img .pbadge {
      position: absolute;
      top: var(--orto-space-8);
      left: var(--orto-space-8);
      z-index: 10
    }

    /* Estrellas reales de quienes lo compraron, bajo el nombre (Fase 16; ui.estrellas) */
    .prating {
      display: flex;
      align-items: center;
      gap: var(--orto-space-5);
      margin: 0;
      font-size: var(--orto-font-13);
      font-weight: 600;
      color: var(--orto-text)
    }

    /* ══ EXISTENCIAS EN LA TARJETA ══ */
    .pstock {
      font-size: var(--orto-font-13);
      font-weight: 700
    }

    .pstock-in {
      display: flex;
      align-items: center;
      gap: var(--orto-space-5);
      color: var(--orto-green-deep)
    }

    .pstock-in::before {
      content: '';
      width: 5px;
      height: 5px;
      background: var(--orto-green-dark);
      border-radius: 50%
    }

    .pstock-low {
      color: var(--orto-ambar-texto)
    }

    .pstock-out {
      color: var(--orto-red-texto)
    }

    /* Tarjetas del inicio: tres en fila; en pantallas angostas se deslizan de lado para no
       empujar el catálogo hacia abajo */
    .hero-cards {
      grid-template-columns: repeat(3, 1fr)
    }

    /* Con fotografía clara detrás, el texto necesita más sombra para leerse */
    .promo-banner:has(img)::after {
      background: linear-gradient(to top, rgba(8, 13, 27, .9) 0%, rgba(8, 13, 27, .6) 45%, rgba(8, 13, 27, .1) 80%)
    }

    @media (max-width: 960px) {
      .hero-cards {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(260px, 82%);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        /* Una fila que se desliza recorta todo lo que sale de su orilla, también el halo «radiactivo»
           de las tarjetas (en celular se veía cortado arriba, abajo y en la primera). Se le da espacio
           por dentro para el halo y se devuelve con margen negativo, así la página no se alarga */
        padding: var(--orto-space-13) var(--orto-space-13) var(--orto-space-21);
        margin: calc(-1 * var(--orto-space-13)) calc(-1 * var(--orto-space-5)) calc(-1 * var(--orto-space-13));
        scroll-padding-inline: var(--orto-space-13)
      }

      .hero-cards::-webkit-scrollbar {
        display: none
      }

      .hero-cards .promo-banner {
        scroll-snap-align: start
      }
    }

    /* Tarjeta principal del inicio (pedido del dueño, 4-nov-2026): el video de las plantillas, primero y a todo
       lo ancho. El video no se recorta: su ancho se limita para que, con el texto de abajo, quepa en la pantalla
       (laptop 1366 × 768: 438 px de alto de video); en celular ocupa todo el ancho y el texto baja en una columna. */
    .hero-video {
      margin-bottom: 8px;
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--navy);
      box-shadow: var(--shadow-md);
      isolation: isolate
    }

    /* El video no se recorta: aprovecha todo el ancho disponible; en laptop cabe sin bajar.
       En pantallas grandes crece con el contenedor; el height lo da el aspect-ratio */
    .hero-video-medio {
      position: relative;
      /* Completo a la vista (pedido del dueño, 17-nov-2026: "está recortado"): no más alto que la pantalla
         menos el encabezado y la barra de categorías; si sobra ancho, queda centrado sobre el marino */
      width: min(100%, calc((100svh - 2 * var(--orto-space-89) - var(--orto-space-55)) * 16 / 9));
      margin-inline: auto;
      aspect-ratio: 16 / 9;
      background: var(--orto-navy)
    }

    .hero-video-medio video {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: contain      /* nunca se recorta (17-nov-2026) */
    }

    .hero-video-enlace {
      position: absolute;
      inset: 0;
      z-index: 1
    }

    .hero-video-pausa {
      position: absolute;
      right: var(--orto-space-13);
      bottom: var(--orto-space-13);
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: var(--orto-space-5);
      min-height: 44px;
      padding: 0 var(--orto-space-13);
      border: 1px solid var(--orto-white);
      border-radius: var(--radius-pill);
      background: color-mix(in srgb, var(--orto-navy) 72%, transparent);
      color: var(--orto-white);
      font-size: var(--orto-font-11);
      font-weight: 700;
      line-height: 1;
      font-family: inherit;
      cursor: pointer;
      backdrop-filter: blur(4px)
    }

    .hero-video-pausa:hover { background: var(--orto-navy) }
    .hero-video-pausa:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px }
    .hero-video-pausa .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round }

    .hero-video-copy {
      display: grid;
      grid-template-columns: 1fr auto;
      grid-template-areas: "etiqueta cta" "titular cta";
      align-items: center;
      gap: var(--orto-space-8) var(--orto-space-34);
      padding: var(--orto-space-21) var(--orto-space-34)
    }

    .hero-video-copy .promo-etiqueta { grid-area: etiqueta }
    .hero-video-copy .promo-headline { grid-area: titular; font-size: var(--orto-font-26) }
    .hero-video-copy .promo-cta { grid-area: cta; margin: 0; padding: var(--orto-space-13) var(--orto-space-34); font-size: var(--orto-font-16) }
    .hero-video-copy .promo-cta:hover { background: var(--yellow2) }

    @media (max-width: 960px) {
      .hero-video-copy { padding: var(--orto-space-21) var(--orto-space-21) }
      .hero-video-copy .promo-headline { font-size: var(--orto-font-21) }
    }

    /* Celular y tableta angosta: el texto baja en una columna y el botón ocupa todo el ancho */
    @media (max-width: 640px) {
      .hero-video-copy {
        grid-template-columns: 1fr;
        grid-template-areas: "etiqueta" "titular" "cta";
        padding: var(--orto-space-13) var(--orto-space-13) var(--orto-space-21)
      }
      .hero-video-copy .promo-headline { font-size: var(--orto-font-16) }
      .hero-video-copy .promo-cta { width: 100%; justify-content: center; padding: var(--orto-space-13) var(--orto-space-21); font-size: var(--orto-font-13) }
      .hero-video-pausa { right: var(--orto-space-8); bottom: var(--orto-space-8) }
      .hero-video-pausa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
      .hero-video-pausa { padding: 0; width: 44px; justify-content: center }
    }

    /* Tallas de un modelo en la tarjeta; la agotada va tachada */
    .ptallas {
      display: flex;
      flex-wrap: wrap;
      gap: var(--orto-space-5);
      margin: 0;
      font-size: var(--orto-font-11);
      font-weight: 600;
      color: var(--orto-sub)
    }

    .ptallas span {
      padding: 0 var(--orto-space-8);
      border: 1px solid var(--orto-border-dark);
      border-radius: var(--radius-pill);
      line-height: 21px
    }

    .ptallas .out {
      color: var(--orto-agotado);
      text-decoration: line-through;
      border-style: dashed;
      border-color: var(--orto-agotado)
    }

    .pprice-main small {
      font-size: var(--orto-font-13);
      font-weight: 600;
      color: var(--orto-muted)
    }

    /* "Elegir talla" es un enlace con forma de botón */
    a.btn-buy {
      text-decoration: none
    }

    /* ══ FILTROS: en cualquier pantalla se abren con el botón "Filtros" ══
       El catálogo ocupa todo el ancho; en escritorio el panel entra por la derecha. */
    .wrap { grid-template-columns: 1fr }

    .filters-btn {
      min-height: 44px;
      padding: 0 var(--orto-space-13);
      display: inline-flex;
      align-items: center;
      gap: var(--orto-space-8);
      border: 1px solid var(--orto-border-dark);
      border-radius: var(--radius-md);
      background: var(--orto-superficie);
      color: var(--orto-text);
      font-family: inherit;
      font-size: var(--orto-font-13);
      font-weight: 700;
      cursor: pointer
    }

    .filters-btn:hover { border-color: var(--orto-teal); color: var(--orto-teal-texto) }

    .filters-count {
      min-width: 21px;
      padding: 0 var(--orto-space-5);
      border-radius: var(--radius-pill);
      background: var(--orto-teal);
      color: var(--orto-white);
      font-size: var(--orto-font-11);
      line-height: 21px;
      text-align: center
    }

    .filters-backdrop {
      position: fixed;
      inset: 0;
      z-index: 290;
      background: var(--orto-navy);
      opacity: .55
    }

    .sidebar-head {
      margin-bottom: var(--orto-space-13);
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: var(--orto-font-21);
      font-weight: 800;
      color: var(--orto-text)
    }

    .sidebar-head button {
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: var(--radius-md);
      background: var(--orto-bg);
      color: var(--orto-text);
      font-size: var(--orto-font-21);
      cursor: pointer
    }

    .sidebar .cat-list button,
    .sidebar .check-row { min-height: 44px }

    .sidebar .check-row .cat-count { margin-left: auto }

    .sidebar-actions {
      position: sticky;
      bottom: calc(var(--orto-space-21) * -1);
      margin: var(--orto-space-21) calc(var(--orto-space-21) * -1) calc(var(--orto-space-21) * -1);
      padding: var(--orto-space-13) var(--orto-space-21);
      display: flex;
      gap: var(--orto-space-8);
      border-top: 1px solid var(--orto-border);
      background: var(--orto-superficie)
    }

    .sidebar-actions .btn { flex: 1 }
    .sidebar-actions .sidebar-apply { display: flex; margin-top: 0 }

    @media (min-width: 961px) {
      .sidebar {
        display: block;
        position: fixed;
        top: 0;
        right: auto;
        bottom: 0;
        left: 0;
        z-index: 300;
        width: 400px;
        max-width: 90vw;
        height: auto;
        padding: var(--orto-space-21);
        overflow-y: auto;
        border: 0;
        border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
        box-shadow: var(--shadow-spotlight);
        visibility: hidden;
        transform: translateX(-100%);
        transition: transform var(--orto-duration-normal) var(--orto-ease), visibility var(--orto-duration-normal) var(--orto-ease)
      }

      .sidebar.is-open {
        visibility: visible;
        transform: none
      }
    }

    /* El panel de filtros va por encima de todo lo flotante (botón de WhatsApp, menú inferior) */
    .filters-backdrop { z-index: 10000 }
    .sidebar { z-index: 10001 }

    /* ══ Antes en el HTML (style=""): ahora aquí, con los mismos valores ══ */
    .fsec--junta { margin-top: 8px }
    .t-av--teal { background: var(--orto-teal) }
    .t-av--ambar { background: var(--orto-gold-dark); color: var(--orto-navy) }
    .t-av--violeta { background: var(--orto-violeta) }
    .fg-opcional { font-weight: 400; color: var(--muted) }

    /* Empresas y respaldo lado a lado en pantalla ancha: dos franjas cortas en un solo renglón */
    @media (min-width: 1100px) {
      .fsec-par {
        max-width: var(--orto-layout-max);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
      }
      .fsec-par .fsec { width: 100%; }
      .fsec-par .fsec:first-child { padding-right: 0 }
      .fsec-par .sec-card { height: 100% }
      .fsec-par .brand-list { grid-template-columns: repeat(2, 1fr) }
      .fsec-par .partner-list { grid-template-columns: repeat(2, 1fr) }
    }

    /* En celular los cuatro respaldos van de dos en dos, con el ícono arriba (antes uno bajo otro) */
    @media (max-width: 640px) {
      .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)) }
      .partner-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--orto-space-5);
        padding: var(--orto-space-13);
        min-height: 0
      }
    }

    /* En celular angosto las tarjetas van de dos en dos y "Agregar al carrito" partía el botón en dos
       renglones: se lee "Agregar" junto al carrito, del mismo tamaño, y en voz alta sigue completo */
    @media (max-width: 480px) {
      .btn-add-resto { display: none }
    }
