/* Sistema editorial urbano (21-nov-2026) — basado en las láminas de ChatGPT (home-b/sistema-editorial).
   Se activa con la clase .jh-ed en el contenedor del texto. Negro/blanco, fucsia #FF007A solo como acento,
   Oswald en títulos e Inter en texto. Adornos = recortes de la lámina 02 tal cual. */
.jh-ed .jh-seo-block{max-width:920px;font-family:Inter,system-ui,sans-serif;color:#1d1d1d;font-size:16px;line-height:1.7}
.jh-ed .jh-seo-block p{font-size:16px;color:#2f2f2f;margin:0 0 16px}
.jh-ed .jh-seo-block strong{color:#111;font-weight:700}

/* H2: Oswald, subrayado de rotulador corto (lámina 02) */
.jh-ed .jh-seo-block h2{font-family:Oswald,Inter,sans-serif;font-weight:600;font-size:30px;line-height:1.15;letter-spacing:.005em;color:#111;margin:64px 0 22px;padding-bottom:16px;position:relative}
.jh-ed .jh-seo-block h2::after{content:"";position:absolute;left:0;bottom:0;width:120px;height:17px;background:url(/themes/jokerhouse/assets/img/editorial/subrayado-rotulador.png) left center/contain no-repeat}
.jh-ed .jh-seo-block h2:first-child{font-size:36px;margin-top:6px}
/* separador con corona entre secciones (lámina 02) */
.jh-ed .jh-seo-block h2:not(:first-child)::before{content:"";display:block;width:168px;height:32px;margin:0 auto 46px;background:url(/themes/jokerhouse/assets/img/editorial/separador-corona.png) center/contain no-repeat;opacity:.85}

/* H3: Oswald, raya fucsia corta a la izquierda */
.jh-ed .jh-seo-block h3{font-family:Oswald,Inter,sans-serif;font-weight:500;font-size:21px;color:#111;margin:30px 0 10px;padding-left:14px;border-left:3px solid #FF007A;line-height:1.25}

/* enlaces internos: negro con subrayado fucsia fino */
.jh-ed .jh-seo-block a{color:#111;font-weight:600;border-bottom:0;text-decoration:underline;text-decoration-color:#FF007A;text-decoration-thickness:1.5px;text-underline-offset:3px}
.jh-ed .jh-seo-block a:hover{color:#FF007A}

/* píldoras de categoría */
.jh-ed .jh-seo-pills{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 8px}
.jh-ed .jh-seo-pill{display:inline-flex;align-items:center;height:38px;padding:0 16px;border:1px solid #d9d9d9;border-radius:999px;background:#fff;color:#111!important;text-decoration:none!important;font:500 15px/1 Oswald,Inter,sans-serif;letter-spacing:.01em}
.jh-ed .jh-seo-pill:hover{border-color:#FF007A;color:#FF007A!important}

/* tarjetas por uso, con los iconos de subcategoría de ChatGPT */
.jh-ed .jh-seo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 10px}
.jh-ed .jh-seo-card{position:relative;background:#fff;border:1px solid #e4e4e4;border-radius:14px;padding:22px 22px 18px 92px;min-height:150px}
.jh-ed .jh-seo-card h3{border:0;padding:0;margin:0 0 8px;font-size:20px}
.jh-ed .jh-seo-card p{font-size:15px;color:#3a3a3a;margin:0}
.jh-ed .jh-seo-card::before{content:"";position:absolute;left:18px;top:20px;width:58px;height:58px;background:var(--jh-ed-ico) center/contain no-repeat}
@media (max-width:700px){.jh-ed .jh-seo-grid{grid-template-columns:1fr}.jh-ed .jh-seo-card{padding-left:84px}}

/* preguntas frecuentes en acordeón (lo monta el JS sobre los h3 de la última sección) */
.jh-ed .jh-ed-faq{border-top:1px solid #e6e6e6;margin-top:10px}
.jh-ed .jh-ed-faq details{border-bottom:1px solid #e6e6e6}
.jh-ed .jh-ed-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 4px;font:500 19px/1.3 Oswald,Inter,sans-serif;color:#111}
.jh-ed .jh-ed-faq summary::-webkit-details-marker{display:none}
.jh-ed .jh-ed-faq summary::after{content:"+";font:300 28px/1 Inter,sans-serif;color:#111;transition:transform .2s,color .2s;flex:none}
.jh-ed .jh-ed-faq details[open] summary{color:#FF007A}
.jh-ed .jh-ed-faq details[open] summary::after{transform:rotate(45deg);color:#FF007A}
.jh-ed .jh-ed-faq details>p,.jh-ed .jh-ed-faq details>div{padding:0 4px 18px;margin:0}

/* Barajas: icono de cada tarjeta = icono de su subcategoría (cabecera) */
.jh-ed--c10 .jh-seo-card:nth-child(1){--jh-ed-ico:url(/themes/jokerhouse/assets/img/jh-ico3-25.webp?v=1)}
.jh-ed--c10 .jh-seo-card:nth-child(2){--jh-ed-ico:url(/themes/jokerhouse/assets/img/jh-ico3-26.webp?v=1)}
.jh-ed--c10 .jh-seo-card:nth-child(3){--jh-ed-ico:url(/themes/jokerhouse/assets/img/jh-ico3-27.webp?v=1)}
.jh-ed--c10 .jh-seo-card:nth-child(4){--jh-ed-ico:url(/themes/jokerhouse/assets/img/jh-ico3-29.webp?v=1)}

/* tarjetas de marca (llevan logo): sin icono de uso, logo arriba */
.jh-ed .jh-seo-card:has(.jha-logo){padding-left:22px}
.jh-ed .jh-seo-card:has(.jha-logo)::before{content:none}
.jh-ed .jh-seo-card .jha-logo{display:inline-flex;width:58px;height:58px;border:1px solid #e4e4e4;border-radius:10px;overflow:hidden;background:#fff;margin:0 0 10px}
.jh-ed .jh-seo-card .jha-logo img{width:100%;height:100%;object-fit:contain}
.jh-ed .jh-seo-grid:has(.jha-logo){grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.jh-ed .jh-seo-grid:has(.jha-logo){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* acordeón: limpiar el estilo antiguo de details */
.jh-ed .jh-ed-faq details{background:transparent!important;border:0!important;border-bottom:1px solid #e6e6e6!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important}
.jh-ed .jh-ed-faq summary{background:transparent!important}
.jh-ed .jh-ed-faq summary::before{content:none!important}

/* bloques inferiores (marcas destacadas, explorar, quizás te interese) con el mismo sistema */
.jh-ed .jh-cat-seo__brands,.jh-ed .jh-cat-seo__subcats,.jh-ed .jh-cat-seo__related{max-width:920px;margin-left:auto;margin-right:auto}
.jh-ed .jh-cat-seo__brands h2,.jh-ed .jh-cat-seo__subcats h2,.jh-ed .jh-cat-seo__related h2{font-family:Oswald,Inter,sans-serif!important;font-weight:600!important;font-size:26px!important;letter-spacing:.005em;color:#111;padding-bottom:14px;position:relative;margin-bottom:20px!important}
.jh-ed .jh-cat-seo__brands h2::after,.jh-ed .jh-cat-seo__subcats h2::after,.jh-ed .jh-cat-seo__related h2::after{content:"";position:absolute;left:0;bottom:0;width:100px;height:14px;background:url(/themes/jokerhouse/assets/img/editorial/subrayado-rotulador.png) left center/contain no-repeat}
.jh-ed .jh-cat-seo__brands-list a,.jh-ed .jh-cat-seo__subcat{border-color:#e4e4e4!important;border-radius:12px!important;box-shadow:none!important}
.jh-ed .jh-cat-seo__brands-list a:hover,.jh-ed .jh-cat-seo__subcat:hover{border-color:#FF007A!important}
.jh-ed .jh-cat-seo__subcat h3,.jh-ed .jh-cat-seo__subcat strong,.jh-ed .jh-cat-seo__brand-name{font-family:Oswald,Inter,sans-serif!important;font-weight:500!important}
.jh-ed .jh-cat-seo__related-list a{border:1px solid #d9d9d9!important;background:#fff!important;font:500 14px/1 Oswald,Inter,sans-serif!important;color:#111!important}
.jh-ed .jh-cat-seo__related-list a:hover{border-color:#FF007A!important;color:#FF007A!important}
.jh-ed .jh-seo-grid:has(.jha-logo) .jh-seo-card{padding-left:22px}
.jh-ed .jh-seo-grid:has(.jha-logo) .jh-seo-card::before{content:none}
.jh-ed .jh-ed-faq details[open] summary::after{content:"\2212";transform:none}
.jh-ed .jh-cat-seo__brands,.jh-ed .jh-cat-seo__subcats,.jh-ed .jh-cat-seo__related{width:100%;box-sizing:border-box}

/* v4 (21-nov-2026): más esquemático — cada sección en un panel grande y suave; menos fucsia */
.jh-ed .jh-seo-block{max-width:980px}
.jh-ed .jh-ed-sec{background:#fafafa;border:1px solid #ececec;border-radius:22px;padding:34px 38px 28px;margin:0 0 22px}
.jh-ed .jh-ed-sec>*:last-child{margin-bottom:0}
.jh-ed .jh-ed-sec>h2{margin:0 0 20px!important}
.jh-ed .jh-ed-sec>h2::before{content:none!important;display:none!important}
.jh-ed .jh-ed-sec:first-child{background:#fff}
.jh-ed .jh-ed-sec .jh-seo-card{background:#fff}
@media (max-width:700px){.jh-ed .jh-ed-sec{padding:24px 18px 18px;border-radius:16px}}
/* enlaces: subrayado gris, fucsia solo al pasar el ratón */
.jh-ed .jh-seo-block a{text-decoration-color:#c8c8c8}
.jh-ed .jh-seo-block a:hover{text-decoration-color:#FF007A}
/* píldoras neutras, sin subrayado ni amarillo */
.jh-ed .jh-seo-block a.jh-seo-pill,.jh-ed .jh-seo-block a.jh-seo-pill:hover{text-decoration:none!important;border:1px solid #d9d9d9!important;background:#fff!important;color:#111!important;box-shadow:none!important}
.jh-ed .jh-seo-block a.jh-seo-pill:hover{border-color:#111!important}

/* todas las categorías: tarjetas sin icono por defecto; con icono solo donde se define (Barajas) */
.jh-ed .jh-seo-card{padding-left:22px}
.jh-ed .jh-seo-card::before{content:none}
.jh-ed--c10 .jh-seo-grid:not(:has(.jha-logo)) .jh-seo-card{padding-left:92px}
.jh-ed--c10 .jh-seo-grid:not(:has(.jha-logo)) .jh-seo-card::before{content:""}
@media (max-width:700px){.jh-ed--c10 .jh-seo-grid:not(:has(.jha-logo)) .jh-seo-card{padding-left:84px}}


/* más ancho (21-nov-2026) */
.jh-ed .jh-seo-block{max-width:1180px!important}
.jh-ed .jh-cat-seo__brands,.jh-ed .jh-cat-seo__subcats,.jh-ed .jh-cat-seo__related{max-width:1180px!important}
.jh-ed .jh-ed-sec{padding:38px 48px 32px}
.jh-ed .jh-ed-sec>p,.jh-ed .jh-ed-sec>h3,.jh-ed .jh-ed-faq{max-width:none}
.jh-ed .jh-seo-grid:has(.jha-logo){grid-template-columns:repeat(3,minmax(0,1fr))}
/* mismo ancho que la rejilla de productos (contenedor de 1416 px a 1500 de ventana: márgenes de 42 px) */
.jh-cat-seo.jh-ed .jh-cat-seo__inner{max-width:none!important;padding-left:42px!important;padding-right:42px!important}
.jh-ed .jh-seo-block,.jh-ed .jh-cat-seo__brands,.jh-ed .jh-cat-seo__subcats,.jh-ed .jh-cat-seo__related{max-width:none!important;padding-left:0!important;padding-right:0!important}
@media (max-width:768px){.jh-cat-seo.jh-ed .jh-cat-seo__inner{padding-left:12px!important;padding-right:12px!important}}
.jh-cat-seo.jh-ed .jh-cat-seo__inner{max-width:1500px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
@media (max-width:1440px){.jh-cat-seo.jh-ed .jh-cat-seo__inner{padding-left:32px!important;padding-right:32px!important}}
@media (max-width:768px){.jh-cat-seo.jh-ed .jh-cat-seo__inner{padding-left:12px!important;padding-right:12px!important}}
