{"id":195,"date":"2026-09-22T14:32:39","date_gmt":"2026-09-22T14:32:39","guid":{"rendered":"https:\/\/mysco.ec\/?page_id=195"},"modified":"2026-11-13T03:44:02","modified_gmt":"2026-11-13T03:44:02","slug":"chikawa-merch","status":"publish","type":"page","link":"https:\/\/mysco.ec\/?page_id=195","title":{"rendered":"CHIKAWA MERCH"},"content":{"rendered":"<div class=\"buscador-merch\">\n  <div class=\"caja-busqueda\">\n    <svg class=\"icono-lupa\" viewBox=\"0 0 24 24\" width=\"22\" height=\"22\">\n      <circle cx=\"11\" cy=\"11\" r=\"7\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><\/circle>\n      <line x1=\"16.5\" y1=\"16.5\" x2=\"21\" y2=\"21\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><\/line>\n    <\/svg>\n    <input type=\"text\" id=\"buscarMerch\" placeholder=\"Buscar producto...\">\n    <button type=\"button\" id=\"borrarBusqueda\" aria-label=\"Borrar b\u00fasqueda\">\u00d7<\/button>\n  <\/div>\n\n  <div class=\"barra-opciones\">\n    <div class=\"abecedario\" id=\"abecedario\"><\/div>\n    <select id=\"ordenMerch\">\n      <option value=\"original\">Orden original<\/option>\n      <option value=\"az\">A \u2192 Z<\/option>\n      <option value=\"za\">Z \u2192 A<\/option>\n    <\/select>\n  <\/div>\n\n  <p id=\"contadorResultados\"><\/p>\n<\/div>\n\n<style>\n  \/* ===== PERSONALIZA AQU\u00cd ===== *\/\n  .buscador-merch {\n    --color-principal: #c4546b;\n    --color-fondo: #fff5f7;\n    --color-texto: #333;\n    --borde: 2px;\n    --redondeo: 40px;\n    --alto: 60px;\n  }\n  \/* ============================ *\/\n\n  .caja-busqueda { position: relative; display: flex; align-items: center; }\n  .icono-lupa {\n    position: absolute; left: 22px;\n    color: var(--color-principal); pointer-events: none;\n  }\n  #buscarMerch {\n    width: 100%; height: var(--alto);\n    padding: 0 55px 0 58px;\n    font-size: 18px; font-family: inherit;\n    color: var(--color-texto); background: var(--color-fondo);\n    border: var(--borde) solid var(--color-principal);\n    border-radius: var(--redondeo);\n    outline: none; box-sizing: border-box;\n    transition: box-shadow 0.2s, background 0.2s;\n  }\n  #buscarMerch::placeholder { color: #b98a94; }\n  #buscarMerch:focus { background: #fff; box-shadow: 0 0 0 4px rgba(196, 84, 107, 0.2); }\n  #borrarBusqueda {\n    position: absolute; right: 18px;\n    width: 32px; height: 32px;\n    border: none; border-radius: 50%;\n    background: var(--color-principal); color: #fff;\n    font-size: 20px; line-height: 1;\n    cursor: pointer; display: none;\n  }\n\n  .barra-opciones {\n    display: flex; flex-wrap: wrap;\n    align-items: center; justify-content: space-between;\n    gap: 12px; margin-top: 16px;\n  }\n  .abecedario { display: flex; flex-wrap: wrap; gap: 6px; }\n  .letra {\n    min-width: 34px; height: 34px; padding: 0 8px;\n    font-size: 14px; font-family: inherit; font-weight: 600;\n    color: var(--color-principal); background: #fff;\n    border: 1.5px solid var(--color-principal);\n    border-radius: 999px; cursor: pointer;\n    transition: all 0.2s;\n  }\n  .letra:hover:not(:disabled) { background: var(--color-fondo); }\n  .letra.activo { background: var(--color-principal); color: #fff; }\n  .letra:disabled { opacity: 0.25; cursor: default; }\n\n  #ordenMerch {\n    height: 38px; padding: 0 14px;\n    font-size: 15px; font-family: inherit;\n    color: var(--color-principal); background: #fff;\n    border: 1.5px solid var(--color-principal);\n    border-radius: 999px; cursor: pointer; outline: none;\n  }\n\n  #contadorResultados {\n    margin: 12px 0 0 10px; font-size: 15px;\n    color: var(--color-principal); min-height: 1.2em;\n  }\n<\/style>\n\n<script>\ndocument.addEventListener('DOMContentLoaded', function () {\n  const input = document.getElementById('buscarMerch');\n  const borrar = document.getElementById('borrarBusqueda');\n  const contador = document.getElementById('contadorResultados');\n  const abecedario = document.getElementById('abecedario');\n  const orden = document.getElementById('ordenMerch');\n  const limpiar = t => t.toLowerCase().normalize('NFD').replace(\/[\\u0300-\\u036f]\/g, '').trim();\n\n  const zona = document.querySelector('.galeria-merchsanrio') || document.body;\n\n  \/\/ Guarda cada producto con su pie de imagen y su posici\u00f3n original\n  const productos = Array.from(zona.querySelectorAll('figure.wp-block-image')).map((fig, i) => {\n    const pie = fig.querySelector('figcaption');\n    return {\n      bloque: fig.closest('.wp-block-column') || fig,\n      texto: limpiar(pie ? pie.textContent : ''),\n      posicion: i\n    };\n  });\n\n  let letraActiva = '';\n\n  \/\/ Crea los botones: Todos + A\u2013Z\n  const letrasConProductos = new Set(productos.map(p => p.texto.charAt(0).toUpperCase()));\n  const botonTodos = document.createElement('button');\n  botonTodos.type = 'button';\n  botonTodos.className = 'letra activo';\n  botonTodos.textContent = 'Todos';\n  botonTodos.dataset.letra = '';\n  abecedario.appendChild(botonTodos);\n\n  'ABCDEFGHIJKLMN\u00d1OPQRSTUVWXYZ'.split('').forEach(l => {\n    const b = document.createElement('button');\n    b.type = 'button';\n    b.className = 'letra';\n    b.textContent = l;\n    b.dataset.letra = l.toLowerCase();\n    if (!letrasConProductos.has(l)) b.disabled = true;\n    abecedario.appendChild(b);\n  });\n\n  const botonesLetra = abecedario.querySelectorAll('.letra');\n\n  function filtrar() {\n    const texto = limpiar(input.value);\n    let visibles = 0;\n\n    productos.forEach(p => {\n      const pasaTexto = texto === '' || p.texto.includes(texto);\n      const pasaLetra = letraActiva === '' || p.texto.startsWith(letraActiva);\n      const coincide = pasaTexto && pasaLetra;\n      p.bloque.style.display = coincide ? '' : 'none';\n      if (coincide) visibles++;\n    });\n\n    borrar.style.display = texto ? 'block' : 'none';\n    botonesLetra.forEach(b => b.classList.toggle('activo', b.dataset.letra === letraActiva));\n\n    if (!texto && !letraActiva) {\n      contador.textContent = '';\n    } else if (visibles === 0) {\n      contador.textContent = 'No se encontraron productos \ud83d\ude22';\n    } else {\n      contador.textContent = visibles + (visibles === 1 ? ' producto encontrado' : ' productos encontrados');\n    }\n  }\n\n  function ordenar() {\n    const modo = orden.value;\n    const lista = [...productos].sort((a, b) => {\n      if (modo === 'az') return a.texto.localeCompare(b.texto, 'es');\n      if (modo === 'za') return b.texto.localeCompare(a.texto, 'es');\n      return a.posicion - b.posicion;\n    });\n    lista.forEach(p => p.bloque.parentNode.appendChild(p.bloque));\n  }\n\n  input.addEventListener('input', filtrar);\n\n  borrar.addEventListener('click', function () {\n    input.value = '';\n    filtrar();\n    input.focus();\n  });\n\n  botonesLetra.forEach(b => {\n    b.addEventListener('click', function () {\n      letraActiva = b.dataset.letra;\n      filtrar();\n    });\n  });\n\n  orden.addEventListener('change', ordenar);\n});\n<\/script>\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-container-core-gallery-is-layout-917a039e wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1179\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/2-1.jpg\" alt=\"\" class=\"wp-image-1179\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/2-1.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/2-1-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/2-1-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/2-1-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong>STICKER 3D LILA &#8211; <strong>CHIKAWA &#8211; <\/strong>STI-3CLIL<\/strong><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1181\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/3-3.jpg\" alt=\"\" class=\"wp-image-1181\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/3-3.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/3-3-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/3-3-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/3-3-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong>STICKER 3D ROSA<\/strong> <strong>&#8211;<\/strong> <strong>CHIKAWA &#8211; <\/strong>STI-S3CHI<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1183\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/5-2.jpg\" alt=\"\" class=\"wp-image-1183\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/5-2.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/5-2-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/5-2-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/5-2-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong><strong>NOTA ADHESIVA CUADRO NARANJA<\/strong><\/strong> &#8211; <strong>CHIKAWA &#8211; <\/strong>NOT-SCCN<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1180\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/6-2.jpg\" alt=\"\" class=\"wp-image-1180\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/6-2.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/6-2-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/6-2-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/6-2-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong><strong>NOTA ADHESIVA CUADRO AZUL<\/strong><\/strong> &#8211; <strong>CHIKAWA &#8211; <\/strong>NOT-SCCA<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1182\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/7-3.jpg\" alt=\"\" class=\"wp-image-1182\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/7-3.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/7-3-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/7-3-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/7-3-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong><strong>NOTA ADHESIVA CUADRO CELESTE<\/strong><\/strong> &#8211; <strong>CHIKAWA &#8211; <\/strong>NOT-SCCC<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1185\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/8-2.jpg\" alt=\"\" class=\"wp-image-1185\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/8-2.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/8-2-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/8-2-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/8-2-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong><strong>NOTA ADHESIVA CUADRO ROSADO<\/strong><\/strong> &#8211; <strong>CHIKAWA &#8211; <\/strong>NOT-SCCR<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1184\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/9-3.jpg\" alt=\"\" class=\"wp-image-1184\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/9-3.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/9-3-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/9-3-819x1024.jpg 819w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/9-3-768x960.jpg 768w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong>PELUCHE CHIKAWA<\/strong> &#8211; PEL-DCHI<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1186\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/10-2.jpg\" alt=\"\" class=\"wp-image-1186\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/10-2.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/10-2-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/10-2-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/10-2-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong>PELUCHE HACHIWARE<\/strong> &#8211; PEL-DHAC<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1187\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/11-2.jpg\" alt=\"\" class=\"wp-image-1187\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/11-2.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/11-2-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/11-2-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/11-2-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong>LLAVEROS DE ACRILICO<\/strong> &#8211; <strong>CHIKAWA &#8211; <\/strong>LLA-SCHI<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1188\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/12-2.jpg\" alt=\"\" class=\"wp-image-1188\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/12-2.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/12-2-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/12-2-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/12-2-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong>LEGO DE USAGI<\/strong> &#8211; LEG-SUSA<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1189\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/13-2.jpg\" alt=\"\" class=\"wp-image-1189\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/13-2.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/13-2-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/13-2-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/13-2-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong>LEGO DE HACHIWARE<\/strong> &#8211; LEG-SHAC<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1190\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/14-2.jpg\" alt=\"\" class=\"wp-image-1190\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/14-2.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/14-2-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/14-2-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/14-2-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong>LEGO DE CHIKAWA<\/strong> &#8211; LEG-SCHI<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\" style=\"margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"1350\" data-id=\"1191\" src=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/15-2.jpg\" alt=\"\" class=\"wp-image-1191\" style=\"aspect-ratio:3\/4\" srcset=\"https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/15-2.jpg 1080w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/15-2-240x300.jpg 240w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/15-2-768x960.jpg 768w, https:\/\/mysco.ec\/wp-content\/uploads\/2026\/10\/15-2-819x1024.jpg 819w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><figcaption class=\"wp-element-caption\"><strong>JUEGO DE CARTAS UNO<\/strong> &#8211; <strong>CHIKAWA &#8211; <\/strong>JUG-DUC<\/figcaption><\/figure>\n<\/figure>\n\n\n<!-- MYSCO \u00b7 Etiquetas AGOTADO \/ OFERTA sobre las fotos (lee solo c\u00f3digos desde tu inventario, nunca precios ni stock) -->\n<style>\n  .mysco-wrap{position:relative !important;display:block}\n  .mysco-tag{position:absolute;z-index:5;pointer-events:none;font-family:inherit;font-weight:800;letter-spacing:.08em;text-transform:uppercase;line-height:1;white-space:nowrap}\n  .mysco-tag.agotado{transform:translateY(-50%);text-align:center;box-sizing:border-box;padding:12px 6px;background:rgba(30,30,30,.72);color:#fff;font-size:clamp(14px,3.2vw,22px)}\n  .mysco-tag.oferta{padding:7px 12px;border-radius:999px;background:#E0457B;color:#fff;font-size:clamp(11px,2.4vw,14px);box-shadow:0 2px 6px rgba(0,0,0,.25)}\n  .mysco-gris{opacity:.6}\n<\/style>\n<script>\n(function () {\n  var URL = 'https:\/\/ujtkepiempfdirhguysp.supabase.co\/rest\/v1\/rpc\/etiquetas_web';\n  var KEY = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InVqdGtlcGllbXBmZGlyaGd1eXNwIiwicm9sZSI6ImFub24iLCJpYXQiOjE3OTAzNjkxNTcsImV4cCI6MjEwNTk0NTE1N30.WnMSKWEoDFdKTgHOUN84YVX-RXeF8srengJWKGzrOcY';\n  var RX = \/\\b[A-Z]{3}-[A-Z0-9]{1,8}(?:-\\d{1,2})?\\b\/g;\n  var datos = null;\n\n  \/\/ Un c\u00f3digo general (ej. LIM-SS) agrupa varios personajes: AGOTADO solo si todos lo est\u00e1n; OFERTA si alguno lo est\u00e1.\n  function estado(code) {\n    var exacto = datos.filter(function (d) { return d.cod === code; });\n    var grupo = exacto.length ? exacto : datos.filter(function (d) { return d.cod.indexOf(code) === 0; });\n    if (!grupo.length) return null;\n    return { agotado: grupo.every(function (d) { return d.agotado; }), oferta: grupo.some(function (d) { return d.oferta; }) };\n  }\n\n  \/\/ Desde el texto con el c\u00f3digo, sube hasta encontrar el contenedor que tiene UNA sola foto\n  function fotoDe(el) {\n    for (var i = 0; el && i < 8; i++, el = el.parentElement) {\n      var imgs = el.querySelectorAll('img');\n      if (imgs.length === 1) return imgs[0];\n      if (imgs.length > 1) return null;\n    }\n    return null;\n  }\n\n  \/\/ La etiqueta se ubica exactamente sobre la foto (aunque debajo est\u00e9 el texto del producto)\n  function ubicar(img, tag) {\n    var x = img.offsetLeft, y = img.offsetTop, w = img.offsetWidth, h = img.offsetHeight;\n    if (tag.classList.contains('agotado')) { tag.style.left = x + 'px'; tag.style.width = w + 'px'; tag.style.top = (y + h \/ 2) + 'px'; }\n    else { tag.style.left = (x + 10) + 'px'; tag.style.top = (y + 10) + 'px'; }\n  }\n  var marcados = [];\n  function marcar(img, est) {\n    var box = img.parentElement; if (!box) return;\n    if (getComputedStyle(box).position === 'static') box.classList.add('mysco-wrap');\n    box.querySelectorAll('.mysco-tag[data-for]').forEach(function (t) { if (t._img === img) t.remove(); });\n    img.classList.toggle('mysco-gris', est.agotado);\n    var tipo = est.agotado ? 'agotado' : est.oferta ? 'oferta' : ''; if (!tipo) return;\n    var t = document.createElement('span'); t.className = 'mysco-tag ' + tipo; t.textContent = est.agotado ? 'Agotado' : 'Oferta';\n    t.setAttribute('data-for', ''); t._img = img; box.appendChild(t); marcados = marcados.filter(function (m) { return m[1].isConnected; }); marcados.push([img, t]);\n    var re = function () { ubicar(img, t); }; re(); if (!img.complete) img.addEventListener('load', re, { once: true });\n  }\n  window.addEventListener('resize', function () { marcados.forEach(function (m) { if (m[1].isConnected) ubicar(m[0], m[1]); }); });\n\n  function aplicar() {\n    if (!datos) return;\n    var w = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT, null), n, vistos = new Set();\n    while ((n = w.nextNode())) {\n      var p = n.parentElement; if (!p || p.closest('script,style,.mysco-tag,[class*=\"pedido\"],[id*=\"pedido\"]')) continue;\n      var m = (n.nodeValue || '').toUpperCase().match(RX); if (!m || m.length !== 1) continue;\n      var img = fotoDe(p); if (!img || vistos.has(img)) continue;\n      var est = estado(m[0]); if (!est) continue;\n      vistos.add(img); marcar(img, est);\n    }\n  }\n\n  fetch(URL, { method: 'POST', headers: { apikey: KEY, Authorization: 'Bearer ' + KEY, 'Content-Type': 'application\/json' }, body: '{}' })\n    .then(function (r) { return r.json(); })\n    .then(function (d) { if (!Array.isArray(d)) return; datos = d; aplicar();\n      var t; new MutationObserver(function (ms) {\n        if (ms.every(function (m) { return [].every.call(m.addedNodes, function (x) { return x.classList && x.classList.contains('mysco-tag'); }); })) return;\n        clearTimeout(t); t = setTimeout(aplicar, 200);\n      }).observe(document.body, { childList: true, subtree: true });\n    })\n    .catch(function () {});\n})();\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u00d7 Orden originalA \u2192 ZZ \u2192 A<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-195","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mysco.ec\/index.php?rest_route=\/wp\/v2\/pages\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mysco.ec\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mysco.ec\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mysco.ec\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mysco.ec\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=195"}],"version-history":[{"count":19,"href":"https:\/\/mysco.ec\/index.php?rest_route=\/wp\/v2\/pages\/195\/revisions"}],"predecessor-version":[{"id":1565,"href":"https:\/\/mysco.ec\/index.php?rest_route=\/wp\/v2\/pages\/195\/revisions\/1565"}],"wp:attachment":[{"href":"https:\/\/mysco.ec\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}