/* =========================================================================
 * La Historia con Wifi · Extras
 * Preventa, Cómo se juega, Puntos de venta y Publica tu juego.
 * ====================================================================== */

/* Piezas comunes ---------------------------------------------------------- */
body.lhw-shop .lhw-kick {
    display: inline-block;
    font-family: var(--fl);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1;
}

body.lhw-shop .lhw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--fd);
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    padding: 18px 28px;
    border-radius: 999px;
    border: 2px solid var(--ink);
    background: var(--ink);
    color: #fff !important;
    text-decoration: none !important;
    text-transform: none;
    box-shadow: 0 6px 0 rgba(23, 21, 18, .18);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}

body.lhw-shop .lhw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 0 rgba(23, 21, 18, .18);
}

body.lhw-shop .lhw-mark {
    position: relative;
    z-index: 0;
    white-space: nowrap;
}

body.lhw-shop .lhw-mark::after {
    content: "";
    position: absolute;
    left: -.08em;
    right: -.08em;
    bottom: .04em;
    height: .36em;
    background: var(--sun);
    z-index: -1;
    border-radius: 4px;
    transform: skew(-8deg) rotate(-1deg);
}

/* Preventa ---------------------------------------------------------------- */
body.lhw-shop .lhw-pv {
    margin: 18px 0 26px;
    padding: 22px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 22px;
    box-shadow: 6px 6px 0 var(--ink);
}

body.lhw-shop .lhw-pv-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

body.lhw-shop .lhw-pv-tag,
body.lhw-shop .lhw-pv-badge {
    display: inline-block;
    font-family: var(--fl);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1;
    padding: 7px 12px 6px;
    border-radius: 999px;
    background: var(--ecr);
    color: #fff;
}

body.lhw-shop .lhw-pv-soon {
    font-family: Caveat, cursive;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    color: var(--ink2);
}

body.lhw-shop .lhw-pv-nums {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.lhw-shop .lhw-pv-nums b {
    display: block;
    font-family: var(--fd);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--ink);
}

body.lhw-shop .lhw-pv-nums small {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--muted);
}

body.lhw-shop .lhw-pv-bar {
    position: relative;
    height: 14px;
    margin: 18px 0 18px;
    background: var(--paper2);
    border: 2px solid var(--ink);
    border-radius: 999px;
    overflow: hidden;
}

body.lhw-shop .lhw-pv-bar i {
    position: absolute;
    inset: 0 auto 0 0;
    background: repeating-linear-gradient(-45deg, var(--ecy) 0 10px, var(--sun) 10px 20px);
    border-right: 2px solid var(--ink);
    animation: lhwpvbar 1.2s ease-out both;
}

@keyframes lhwpvbar {
    from {
        width: 0;
    }
}

body.lhw-shop .lhw-pv-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: pv;
    display: grid;
    gap: 8px;
}

body.lhw-shop .lhw-pv-steps li {
    position: relative;
    padding-left: 34px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink2);
    counter-increment: pv;
}

body.lhw-shop .lhw-pv-steps li::before {
    content: counter(pv);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    font-family: var(--fd);
    font-size: 13px;
    font-weight: 800;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
}

body.lhw-shop ul.products li.product {
    position: relative;
}

body.lhw-shop ul.products li.product .lhw-pv-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    box-shadow: 0 0 0 2px #fff;
}

body.lhw-shop .lhw-pv-note {
    margin: 0 0 18px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.45;
    background: #FFF4CC;
    border: 2px solid var(--ink);
    border-radius: 14px;
}

/* Cómo se juega ----------------------------------------------------------- */
body.lhw-shop .lhw-cj {
    grid-column: 1 / -1;
    margin: 40px 0 8px;
    padding: 56px clamp(20px, 4vw, 56px);
    background: var(--ink);
    color: #fff;
    border-radius: 32px;
}

body.lhw-shop .lhw-cj-head {
    text-align: center;
    margin-bottom: 36px;
}

body.lhw-shop .lhw-cj-head .lhw-kick {
    color: var(--sun);
}

body.lhw-shop .lhw-cj-head h2 {
    margin: 10px 0 0;
    font-family: var(--fd);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    color: #fff;
}

body.lhw-shop .lhw-cj-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.lhw-shop .lhw-cj-steps li {
    padding: 26px 24px 28px;
    background: var(--paper);
    color: var(--ink);
    border-radius: 22px;
    transform: rotate(-1.2deg);
    transition: transform .25s;
}

body.lhw-shop .lhw-cj-steps li:nth-child(2) {
    background: var(--sun);
    transform: rotate(1deg);
}

body.lhw-shop .lhw-cj-steps li:nth-child(3) {
    transform: rotate(-.4deg);
}

body.lhw-shop .lhw-cj-steps li:hover {
    transform: rotate(0) translateY(-4px);
}

body.lhw-shop .lhw-cj-n {
    display: block;
    font-family: var(--fd);
    font-size: 64px;
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.05em;
}

body.lhw-shop .lhw-cj-steps h3 {
    margin: 12px 0 6px;
    font-family: var(--fd);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
}

body.lhw-shop .lhw-cj-steps p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink2);
}

body.lhw-shop .lhw-cj-vids {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 280px);
    gap: 16px;
    margin-top: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    justify-content: center;
}

body.lhw-shop .lhw-cj-v {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--paper);
    border-radius: 22px;
    background: var(--ink2);
    color: #fff !important;
    cursor: pointer;
    scroll-snap-align: start;
    text-decoration: none !important;
}

body.lhw-shop .lhw-cj-v img,
body.lhw-shop .lhw-cj-v video,
body.lhw-shop .lhw-cj-v iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

body.lhw-shop .lhw-cj-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: var(--sun);
    border: 2px solid var(--ink);
    transition: transform .2s;
}

body.lhw-shop .lhw-cj-play::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 19px;
    border-style: solid;
    border-width: 12px 0 12px 19px;
    border-color: transparent transparent transparent var(--ink);
}

body.lhw-shop .lhw-cj-v:hover .lhw-cj-play {
    transform: scale(1.08);
}

body.lhw-shop .lhw-cj-vt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 16px 16px;
    font-family: var(--fd);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    text-align: left;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    pointer-events: none;
}

body.lhw-shop .lhw-cj-v.is-file .lhw-cj-vt,
body.lhw-shop .lhw-cj-v.is-on .lhw-cj-vt {
    display: none;
}

body.lhw-shop .lhw-cj-v.is-empty {
    border-style: dashed;
    cursor: default;
    background: transparent;
}

body.lhw-shop .lhw-cj-v.is-empty .lhw-cj-play {
    opacity: .35;
}

body.lhw-shop .lhw-cj-v.is-empty .lhw-cj-vt {
    background: none;
    color: rgba(255, 255, 255, .85);
}

body.lhw-shop .lhw-cj-vt small {
    display: block;
    margin-top: 4px;
    font-family: Caveat, cursive;
    font-size: 20px;
    font-weight: 700;
    color: var(--sun);
}

/* Páginas extra (puntos de venta, publica tu juego) ---------------------- */
body.lhw-page .entry-header,
body.lhw-page .ast-breadcrumbs-wrapper {
    display: none !important;
}

body.lhw-page .ast-article-single,
body.lhw-page .ast-article-post,
body.lhw-page article.page {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

body.lhw-page .entry-content > *:last-child {
    margin-bottom: 0;
}

body.lhw-page h1,
body.lhw-page h2,
body.lhw-page h3 {
    font-family: var(--fd);
    color: var(--ink);
    letter-spacing: -.03em;
}

/* Puntos de venta --------------------------------------------------------- */
body.lhw-shop .lhw-ti-head {
    text-align: center;
    margin-bottom: 28px;
}

body.lhw-shop .lhw-ti-head .lhw-kick {
    display: block;
}

body.lhw-shop .lhw-ti-head h1 {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 12px 0 10px;
    font-size: clamp(48px, 7vw, 92px);
    font-weight: 800;
    line-height: .95;
}

body.lhw-shop .lhw-ti-count {
    font-family: var(--fl);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 8px 12px 7px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--sun);
    transform: rotate(-4deg);
}

body.lhw-shop .lhw-ti-head p {
    margin: 0;
    font-size: 18px;
    color: var(--ink2);
}

body.lhw-shop .lhw-ti-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 12px;
    margin-bottom: 14px;
}

body.lhw-shop .lhw-ti-search {
    position: relative;
    display: block;
    margin: 0;
}

body.lhw-shop .lhw-ti-search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    color: var(--muted);
}

body.lhw-shop .lhw-ti-search input,
body.lhw-shop .lhw-ti-city {
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 18px 0 50px;
    font-family: Lora, Georgia, serif;
    font-size: 16px;
    color: var(--ink);
    background: #fff;
    border: 2px solid var(--ink) !important;
    border-radius: 16px !important;
    box-shadow: none;
}

body.lhw-shop .lhw-ti-city {
    padding-left: 18px;
    font-family: var(--fd);
    font-weight: 700;
}

body.lhw-shop .lhw-ti-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    margin-bottom: 8px;
    scrollbar-width: none;
}

body.lhw-shop .lhw-ti-chips button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-family: var(--fd);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    color: var(--ink);
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

body.lhw-shop .lhw-ti-chips button i {
    font-style: normal;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--paper2);
}

body.lhw-shop .lhw-ti-chips button.on,
body.lhw-shop .lhw-ti-chips button:hover {
    background: var(--ink);
    color: #fff;
}

body.lhw-shop .lhw-ti-chips button.on i {
    background: var(--sun);
    color: var(--ink);
}

body.lhw-shop .lhw-ti-body {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 16px;
    height: 620px;
}

body.lhw-shop .lhw-ti-list {
    margin: 0;
    padding: 8px;
    list-style: none;
    overflow-y: auto;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 22px;
}

body.lhw-shop .lhw-ti-list li {
    display: grid;
    gap: 6px;
    padding: 14px 14px 14px 46px;
    position: relative;
    border-radius: 14px;
    cursor: pointer;
    transition: background .2s;
}

body.lhw-shop .lhw-ti-list li + li {
    margin-top: 2px;
}

body.lhw-shop .lhw-ti-list li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 15px;
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 0;
    background: var(--sun);
    border: 2px solid var(--ink);
    transform: rotate(-45deg);
}

body.lhw-shop .lhw-ti-list li:hover,
body.lhw-shop .lhw-ti-list li.on {
    background: var(--paper);
}

body.lhw-shop .lhw-ti-list b {
    font-family: var(--fd);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -.01em;
}

body.lhw-shop .lhw-ti-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body.lhw-shop .lhw-ti-tags i {
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
}

body.lhw-shop .lhw-ti-list small {
    font-size: 14px;
    line-height: 1.4;
    color: var(--muted);
}

body.lhw-shop .lhw-ti-list a {
    justify-self: start;
    font-family: var(--fd);
    font-size: 14px;
    font-weight: 700;
    color: var(--ecb);
    text-decoration: underline !important;
}

body.lhw-shop .lhw-ti-list .lhw-ti-empty {
    padding: 24px;
    cursor: default;
    color: var(--muted);
}

body.lhw-shop .lhw-ti-list .lhw-ti-empty::before {
    display: none;
}

body.lhw-shop .lhw-ti-map {
    min-height: 100%;
    border: 2px solid var(--ink);
    border-radius: 22px;
    overflow: hidden;
    background: var(--paper2);
    z-index: 1;
}

body.lhw-shop .lhw-ti-pin span {
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 50% 50% 50% 0;
    background: var(--sun);
    border: 2px solid var(--ink);
    transform: rotate(-45deg);
    box-shadow: 2px 2px 0 var(--ink);
}

body.lhw-shop .lhw-ti .leaflet-popup-content-wrapper {
    border: 2px solid var(--ink);
    border-radius: 14px;
    box-shadow: none;
    font-family: Lora, Georgia, serif;
}

body.lhw-shop .lhw-ti-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 24px 28px;
    background: var(--sun);
    border: 2px solid var(--ink);
    border-radius: 22px;
}

body.lhw-shop .lhw-ti-cta p {
    margin: 0;
    font-size: 18px;
}

body.lhw-shop .lhw-ti-cta b {
    font-family: var(--fd);
}

/* Publica tu juego -------------------------------------------------------- */
body.lhw-shop .lhw-pu {
    max-width: 980px;
    margin: 0 auto;
}

body.lhw-shop .lhw-pu-hero {
    text-align: center;
    padding: 24px 0 56px;
}

body.lhw-shop .lhw-pu-hero h1 {
    margin: 14px auto 18px;
    max-width: 820px;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    line-height: 1;
}

body.lhw-shop .lhw-pu-hero p {
    max-width: 620px;
    margin: 0 auto 28px;
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink2);
}

body.lhw-shop .lhw-pu-sec {
    padding: 48px 0;
    border-top: 2px solid var(--line);
}

body.lhw-shop .lhw-pu-sec h2 {
    margin: 0 0 24px;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1;
}

body.lhw-shop .lhw-pu-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

body.lhw-shop .lhw-pu-steps li {
    padding: 24px;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 22px;
}

body.lhw-shop .lhw-pu-steps span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-family: var(--fd);
    font-size: 20px;
    font-weight: 800;
    background: var(--sun);
    border: 2px solid var(--ink);
    border-radius: 50%;
}

body.lhw-shop .lhw-pu-steps h3 {
    margin: 16px 0 8px;
    font-size: 22px;
    font-weight: 800;
}

body.lhw-shop .lhw-pu-steps p,
body.lhw-shop .lhw-pu-tip p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink2);
}

body.lhw-shop .lhw-pu-two {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

body.lhw-shop .lhw-pu-check {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

body.lhw-shop .lhw-pu-check li {
    position: relative;
    padding-left: 34px;
    font-size: 17px;
    line-height: 1.45;
}

body.lhw-shop .lhw-pu-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171512' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
    border: 2px solid var(--ink);
}

body.lhw-shop .lhw-pu-small {
    margin: 16px 0 0;
    font-size: 15px;
    color: var(--muted);
}

body.lhw-shop .lhw-pu-tip {
    position: relative;
    padding: 28px;
    background: var(--ink);
    border-radius: 22px;
    transform: rotate(1deg);
}

body.lhw-shop .lhw-pu-tip h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

body.lhw-shop .lhw-pu-tip p {
    color: rgba(255, 255, 255, .82);
}

body.lhw-shop .lhw-pu-tip p + p {
    margin-top: 12px;
}

body.lhw-shop .lhw-pu-tip .hand {
    display: block;
    margin-top: 16px;
    font-family: Caveat, cursive;
    font-size: 26px;
    font-weight: 700;
    color: var(--sun);
}

body.lhw-shop .lhw-pu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

body.lhw-shop .lhw-pu-grid label {
    display: grid;
    gap: 6px;
    margin: 0;
    font-family: var(--fd);
    font-size: 15px;
    font-weight: 700;
}

body.lhw-shop .lhw-pu-grid label.full {
    grid-column: 1 / -1;
}

body.lhw-shop .lhw-pu-grid input,
body.lhw-shop .lhw-pu-grid select,
body.lhw-shop .lhw-pu-grid textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    font-family: Lora, Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
    background: #fff;
    border: 2px solid var(--ink) !important;
    border-radius: 14px !important;
    box-shadow: none;
}

body.lhw-shop .lhw-pu-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

body.lhw-shop .lhw-pu-msg {
    margin: 0 0 20px;
    padding: 16px 18px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    font-size: 16px;
}

body.lhw-shop .lhw-pu-msg.is-ok {
    background: #DFF3E3;
}

body.lhw-shop .lhw-pu-msg.is-err {
    background: #FBE1E4;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 921px) {
    body.lhw-shop .lhw-cj-steps,
    body.lhw-shop .lhw-pu-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    body.lhw-shop .lhw-cj-vids {
        justify-content: start;
        grid-auto-columns: 70%;
    }

    body.lhw-shop .lhw-ti-body {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
    }

    body.lhw-shop .lhw-ti-map {
        order: -1;
        height: 340px;
        min-height: 0;
    }

    body.lhw-shop .lhw-ti-list {
        max-height: 460px;
    }

    body.lhw-shop .lhw-pu-two {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    body.lhw-shop .lhw-pv {
        padding: 18px;
        box-shadow: 4px 4px 0 var(--ink);
    }

    body.lhw-shop .lhw-pv-nums small {
        font-size: 12px;
    }

    body.lhw-shop .lhw-cj {
        padding: 40px 18px;
        border-radius: 24px;
    }

    body.lhw-shop .lhw-ti-head h1 {
        flex-direction: column;
        gap: 10px;
    }

    body.lhw-shop .lhw-ti-tools {
        grid-template-columns: minmax(0, 1fr);
    }

    body.lhw-shop .lhw-ti-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    body.lhw-shop .lhw-pu-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Personajes ---------------------------------------------------------------- */
body.lhw-shop .lhw-pj-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
    margin-bottom: 32px;
}

body.lhw-shop .lhw-pj-hero h1 {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 12px 0 14px;
    font-size: clamp(54px, 8vw, 112px);
    font-weight: 800;
    line-height: .9;
}

body.lhw-shop .lhw-pj-count {
    margin-top: .3em;
    font-family: var(--fl);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 8px 12px 7px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--sun);
    transform: rotate(-6deg);
}

body.lhw-shop .lhw-pj-hero p {
    max-width: 560px;
    margin: 0;
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink2);
}

body.lhw-shop .lhw-pj-random {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px 14px 14px;
    font-family: var(--fd);
    text-align: left;
    text-transform: none;
    color: var(--ink);
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 22px;
    box-shadow: 6px 6px 0 var(--ink);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

body.lhw-shop .lhw-pj-random:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--ink);
}

body.lhw-shop .lhw-pj-random-card {
    display: grid;
    place-items: center;
    width: 52px;
    height: 70px;
    font-size: 32px;
    font-weight: 800;
    color: var(--sun);
    background: var(--ink);
    border-radius: 10px;
    transform: rotate(-8deg);
    transition: transform .45s;
}

body.lhw-shop .lhw-pj-random:hover .lhw-pj-random-card {
    transform: rotate(6deg);
}

body.lhw-shop .lhw-pj-random.spin .lhw-pj-random-card {
    transform: rotateY(180deg) rotate(0);
}

body.lhw-shop .lhw-pj-random b {
    display: block;
    font-size: 19px;
    font-weight: 800;
}

body.lhw-shop .lhw-pj-random small {
    display: block;
    margin-top: 2px;
    font-family: Lora, Georgia, serif;
    font-size: 14px;
    color: var(--muted);
}

body.lhw-shop .lhw-pj-tools {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 70px);
    z-index: 20;
    display: grid;
    gap: 12px;
    margin: 0 -8px 24px;
    padding: 12px 8px;
    background: var(--paper);
}

body.lhw-shop .lhw-pj-search {
    position: relative;
    display: block;
    margin: 0;
}

body.lhw-shop .lhw-pj-search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    color: var(--muted);
}

body.lhw-shop .lhw-pj-search input {
    width: 100%;
    height: 58px;
    margin: 0;
    padding: 0 18px 0 50px;
    font-family: Lora, Georgia, serif;
    font-size: 17px;
    color: var(--ink);
    background: #fff;
    border: 2px solid var(--ink) !important;
    border-radius: 16px !important;
    box-shadow: none;
}

body.lhw-shop .lhw-pj-az {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

body.lhw-shop .lhw-pj-az button {
    flex: 0 0 auto;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-family: var(--fd);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-transform: none;
    color: var(--ink);
    background: transparent;
    border: 2px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}

body.lhw-shop .lhw-pj-az button:hover {
    border-color: var(--ink);
}

body.lhw-shop .lhw-pj-az button.on {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--sun);
}

body.lhw-shop .lhw-pj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.lhw-shop .lhw-pj-grid li[hidden] {
    display: none;
}

body.lhw-shop .lhw-pj-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: #fff !important;
    background: var(--ink);
    border-radius: 22px;
    text-decoration: none !important;
    transition: transform .25s, box-shadow .25s;
}

body.lhw-shop .lhw-pj-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 46px;
    background: var(--sun);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    transition: height .25s;
}

body.lhw-shop .lhw-pj-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 6px 8px 0 var(--sun);
}

body.lhw-shop .lhw-pj-card:hover::after {
    height: 64px;
}

body.lhw-shop .lhw-pj-img {
    display: block;
    margin: 10px 10px 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: var(--ink2);
}

body.lhw-shop .lhw-pj-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

body.lhw-shop .lhw-pj-card:hover .lhw-pj-img img {
    transform: scale(1.05);
}

body.lhw-shop .lhw-pj-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    padding: 16px 16px 58px;
}

body.lhw-shop .lhw-pj-body b {
    font-family: var(--fd);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

body.lhw-shop .lhw-pj-body small {
    font-size: 13.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .72);
}

body.lhw-shop .lhw-pj-body i {
    font-family: var(--fd);
    font-style: normal;
    font-weight: 800;
    color: var(--sun);
}

body.lhw-shop .lhw-pj-empty {
    padding: 48px 0;
    text-align: center;
    font-size: 18px;
    color: var(--muted);
}

body.lhw-shop .lhw-pj-more-wrap {
    margin-top: 36px;
    text-align: center;
}

body.lhw-shop .lhw-pj-more-wrap[hidden] {
    display: none;
}

body.lhw-shop .lhw-pj-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 64px;
    padding: 36px 40px;
    background: var(--sun);
    border: 2px solid var(--ink);
    border-radius: 28px;
    box-shadow: 8px 8px 0 var(--ink);
}

body.lhw-shop .lhw-pj-cta .hand {
    font-family: Caveat, cursive;
    font-size: 26px;
    font-weight: 700;
    color: var(--ink2);
}

body.lhw-shop .lhw-pj-cta h2 {
    margin: 4px 0 8px;
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1;
}

body.lhw-shop .lhw-pj-cta p {
    margin: 0;
    font-size: 17px;
    color: var(--ink2);
}

@media (max-width: 921px) {
    body.lhw-shop .lhw-pj-hero {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    body.lhw-shop .lhw-pj-random {
        justify-self: start;
    }

    body.lhw-shop .lhw-pj-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    body.lhw-shop .lhw-pj-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.lhw-shop .lhw-pj-img {
        margin: 6px 6px 0;
        border-radius: 12px;
    }

    body.lhw-shop .lhw-pj-body {
        padding: 12px 12px 40px;
    }

    body.lhw-shop .lhw-pj-body b {
        font-size: 15px;
    }

    body.lhw-shop .lhw-pj-body small {
        display: none;
    }

    body.lhw-shop .lhw-pj-card::after {
        height: 30px;
    }

    body.lhw-shop .lhw-pj-tools {
        top: calc(var(--wp-admin--admin-bar--height, 0px) + 60px);
    }

    body.lhw-shop .lhw-pj-cta {
        padding: 28px 22px;
    }
}

body.lhw-shop .lhw-pj {
    padding: 48px 0 110px;
}

@media (max-width: 600px) {
    body.lhw-shop .lhw-pj {
        padding: 28px 0 72px;
    }
}

/* Ficha de personaje ------------------------------------------------------- */
body.lhw-shop .lhw-pp {
    padding: 40px 0 110px;
}

body.lhw-shop .lhw-pp-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    font-family: var(--fl);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

body.lhw-shop .lhw-pp-crumbs a {
    color: var(--ink) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

body.lhw-shop .lhw-pp-hero {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    margin-bottom: 56px;
}

body.lhw-shop .lhw-pp-card {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 14px 14px 72px;
    overflow: hidden;
    color: #fff;
    background: var(--ink);
    border-radius: 26px;
    box-shadow: 10px 12px 0 var(--sun);
    transform: rotate(-3deg);
}

body.lhw-shop .lhw-pp-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 78%;
    height: 64px;
    background: var(--sun);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

body.lhw-shop .lhw-pp-card-img {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: var(--ink2);
}

body.lhw-shop .lhw-pp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.lhw-shop .lhw-pp-card b {
    margin-top: 6px;
    font-family: var(--fd);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

body.lhw-shop .lhw-pp-card small {
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .75);
}

body.lhw-shop .lhw-pp-card i {
    font-family: var(--fd);
    font-style: normal;
    font-weight: 800;
    color: var(--sun);
}

body.lhw-shop .lhw-pp-card-logo {
    position: absolute;
    right: 16px;
    bottom: 14px;
    z-index: 1;
    font-family: var(--fd);
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
}

body.lhw-shop .lhw-pp-intro h1 {
    margin: 12px 0 16px;
    font-size: clamp(44px, 6vw, 88px);
    font-weight: 800;
    line-height: .95;
}

body.lhw-shop .lhw-pp-meta {
    margin: 0 0 26px;
    font-size: 16px;
    color: var(--muted);
}

body.lhw-shop .lhw-pp-share {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.lhw-shop .lhw-pp-share .lhw-btn {
    padding: 15px 22px;
}

body.lhw-shop .lhw-pp-share svg {
    width: 20px;
    height: 20px;
}

body.lhw-shop .lhw-pp-copy {
    padding: 15px 22px;
    font-family: var(--fd);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    color: var(--ink);
    background: transparent;
    border: 2px solid var(--ink);
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

body.lhw-shop .lhw-pp-copy:hover {
    background: var(--ink);
    color: #fff;
}

body.lhw-shop .lhw-pp-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 0 0;
    border-top: 2px solid var(--line);
}

body.lhw-shop .lhw-pp-body p,
body.lhw-shop .lhw-pp-body li,
body.lhw-shop .lhw-pp-body .elementor-widget-text-editor {
    font-family: Lora, Georgia, serif;
    font-size: 19px;
    line-height: 1.75;
    color: var(--ink2);
}

body.lhw-shop .lhw-pp-body p {
    margin: 0 0 1.2em;
}

body.lhw-shop .lhw-pp-body > p:first-of-type::first-letter,
body.lhw-shop .lhw-pp-body .elementor-widget-text-editor p:first-of-type::first-letter {
    float: left;
    margin: 6px 10px 0 0;
    font-family: var(--fd);
    font-size: 64px;
    font-weight: 800;
    line-height: .8;
    color: var(--ink);
}

body.lhw-shop .lhw-pp-body h2,
body.lhw-shop .lhw-pp-body h3 {
    margin: 1.4em 0 .5em;
    font-family: var(--fd);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
}

body.lhw-shop .lhw-pp-body a {
    color: var(--ecb);
    text-decoration: underline !important;
}

body.lhw-shop .lhw-pp-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

body.lhw-shop .lhw-pp-body .elementor-section .elementor-container,
body.lhw-shop .lhw-pp-body .elementor-widget-wrap {
    padding: 0 !important;
}

body.lhw-shop .lhw-pp-body .yarpp,
body.lhw-shop .lhw-pp-body .yarpp-related {
    display: none !important;
}

body.lhw-shop .lhw-pp-rel {
    margin-top: 72px;
}

body.lhw-shop .lhw-pp-rel h2 {
    margin: 0 0 24px;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1;
}

body.lhw-shop .lhw-pp-ep {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px 5px;
    font-family: var(--fl);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--ecr);
    border-radius: 999px;
}

body.lhw-shop .lhw-pj-card .lhw-pj-img {
    position: relative;
}

body.lhw-shop .lhw-pp-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-top: 56px;
}

body.lhw-shop .lhw-pp-prev,
body.lhw-shop .lhw-pp-next {
    display: grid;
    gap: 4px;
    padding: 18px 22px;
    color: var(--ink) !important;
    background: #fff;
    border: 2px solid var(--ink);
    border-radius: 18px;
    text-decoration: none !important;
    transition: transform .2s, box-shadow .2s;
}

body.lhw-shop .lhw-pp-next {
    text-align: right;
}

body.lhw-shop .lhw-pp-prev:hover,
body.lhw-shop .lhw-pp-next:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--ink);
}

body.lhw-shop .lhw-pp-prev small,
body.lhw-shop .lhw-pp-next small {
    font-family: var(--fl);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

body.lhw-shop .lhw-pp-prev b,
body.lhw-shop .lhw-pp-next b {
    font-family: var(--fd);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

body.lhw-shop .lhw-pp-prev small::before {
    content: "← ";
}

body.lhw-shop .lhw-pp-next small::after {
    content: " →";
}

body.lhw-shop .lhw-pp-all {
    font-family: var(--fd);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink) !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    white-space: nowrap;
}

@media (max-width: 921px) {
    body.lhw-shop .lhw-pp-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    body.lhw-shop .lhw-pp-card {
        width: min(100%, 340px);
        margin: 0 auto;
    }

    body.lhw-shop .lhw-pp-intro {
        order: -1;
    }

    body.lhw-shop .lhw-pp-nav {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    body.lhw-shop .lhw-pp-all {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
    }
}

@media (max-width: 600px) {
    body.lhw-shop .lhw-pp {
        padding: 24px 0 72px;
    }

    body.lhw-shop .lhw-pp-card {
        width: 82%;
    }

    body.lhw-shop .lhw-pp-body {
        padding-top: 32px;
    }

    body.lhw-shop .lhw-pp-body p,
    body.lhw-shop .lhw-pp-body li,
    body.lhw-shop .lhw-pp-body .elementor-widget-text-editor {
        font-size: 17px;
    }

    body.lhw-shop .lhw-pp-prev,
    body.lhw-shop .lhw-pp-next {
        padding: 14px 16px;
    }

    body.lhw-shop .lhw-pp-prev b,
    body.lhw-shop .lhw-pp-next b {
        font-size: 15px;
    }
}

/* Fotos de personajes: priorizar la parte de arriba (caras) al recortar */
body.lhw-shop .lhw-pj-img img,
body.lhw-shop .lhw-pp-card-img img {
    object-position: 50% 0%;
}

body.lhw-shop .lhw-pp-card-img {
    aspect-ratio: 1 / 1;
}
