/* =========================================================
JUEGOS RECREATIVOS MÉXICO - PÁGINA PRINCIPAL
========================================================= */
.jrm-home {
    color:var(--jrm-texto);
    background:#fff;
    overflow:hidden;
    font-family:'Poppins',sans-serif;
}

.jrm-home * {
    box-sizing:border-box;
}

.jrm-home a {
    text-decoration:none;
}

.jrm-home-container {
    width:min(1440px,calc(100% - 48px));
    margin:0 auto;
}

.jrm-home-hero {
    width:100%;
    background:var(--jrm-superficie);
}

.jrm-home-slides {
    width:100%;
    position:relative;
    overflow:hidden;
    isolation:isolate;
}

.jrm-home-slide {
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transition:opacity .6s ease,visibility .6s ease;
    pointer-events:none;
}

.jrm-home-slide:first-child {
    position:relative;
}

.jrm-home-slide.is-active {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    z-index:1;
}

.jrm-home-slide picture,.jrm-home-slide img {
    display:block;
    width:100%;
}

.jrm-home-slide img {
    height:auto;
    object-fit:cover;
}

.jrm-home-slider-arrow {
    position:absolute;
    z-index:3;
    top:50%;
    transform:translateY(-50%);
    border:1px solid #ffffff8c;
    border-radius:50%;
    background:#ffffffeb;
    color:var(--jrm-primario);
    width:43px;
    height:43px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:15px;
    box-shadow:0 6px 25px #061a1326;
    transition:background .2s;
}

.jrm-home-slider-arrow:hover {
    background:white;
}

.jrm-home-slider-prev {
    left:22px;
}

.jrm-home-slider-next {
    right:22px;
}

.jrm-home-dots {
    position:absolute;
    z-index:3;
    bottom:17px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
    padding:8px 11px;
    border-radius:30px;
    background:#122b1c65;
}

.jrm-home-dots button {
    display:block;
    width:8px;
    height:8px;
    padding:0;
    border:0;
    border-radius:20px;
    background:#ffffff8c;
    cursor:pointer;
    transition:width .2s,background .2s;
}

.jrm-home-dots button.is-active {
    width:27px;
    background:#fff;
}

.jrm-home-welcome {
    padding:74px 0 82px;
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.75fr);
    align-items:center;
    gap:70px;
}

.jrm-home-eyebrow {
    display:block;
    font-size:11px;
    letter-spacing:2px;
    font-weight:700;
    color:var(--jrm-primario);
    line-height:1.6;
    margin-bottom:14px;
}

.jrm-home-intro h1 {
    margin:0 0 18px;
    font-size:clamp(31px,3.8vw,52px);
    line-height:1.15;
    letter-spacing:-1.5px;
    color:var(--jrm-texto);
    font-family:'Poppins',sans-serif;
}

.jrm-home-intro p {
    font-size:15px;
    line-height:1.9;
    color:#617568;
    max-width:690px;
    margin:0 0 28px;
}

.jrm-home-intro-actions {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.jrm-home-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:47px;
    border-radius:10px;
    padding:13px 19px;
    font-size:13px;
    font-weight:700;
    line-height:1.25;
    white-space:nowrap;
    transition:transform .2s,background .2s,box-shadow .2s;
}

.jrm-home-btn:hover {
    transform:translateY(-2px);
}

.jrm-home-btn-primary {
    background:var(--jrm-primario);
    color:#fff!important;
}

.jrm-home-btn-light {
    background:var(--jrm-superficie);
    color:var(--jrm-primario)!important;
    border:1px solid #d8e6db;
}

.jrm-home-benefits {
    padding:15px 25px;
    background:var(--jrm-superficie);
    border:1px solid var(--jrm-borde);
    border-radius:20px;
}

.jrm-home-benefits>div {
    display:flex;
    align-items:center;
    gap:16px;
    padding:19px 0;
    border-bottom:1px solid #e0e9e1;
}

.jrm-home-benefits>div:last-child {
    border-bottom:0;
}

.jrm-home-benefits>div>i {
    width:43px;
    height:43px;
    border-radius:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#e2eee5;
    color:#2b6242;
    font-size:17px;
    flex:none;
}

.jrm-home-benefits span {
    display:flex;
    flex-direction:column;
    gap:5px;
}

.jrm-home-benefits strong {
    font-size:14px;
    color:var(--jrm-texto);
}

.jrm-home-benefits small {
    font-size:12px;
    color:#788c7b;
    line-height:1.6;
}

.jrm-home-section {
    padding:83px 0 91px;
}

.jrm-home-section-soft {
    background:var(--jrm-superficie);
}

.jrm-home-heading {
    text-align:center;
    max-width:700px;
    margin:0 auto 38px;
}

.jrm-home-heading h2 {
    font-size:clamp(29px,3.1vw,40px);
    letter-spacing:-.8px;
    line-height:1.2;
    margin:0 0 12px;
    color:var(--jrm-texto);
    font-family:'Poppins',sans-serif;
}

.jrm-home-heading p {
    font-size:14px;
    color:#718276;
    line-height:1.8;
    margin:0;
}

.jrm-home-category-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:19px;
}

.jrm-home-category-card {
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--jrm-borde);
    border-radius:17px;
    color:var(--jrm-texto)!important;
    transition:box-shadow .23s,transform .23s,border-color .23s;
    min-width:0;
}

.jrm-home-category-card:hover {
    transform:translateY(-4px);
    box-shadow:0 16px 36px #1e4c3217;
    border-color:#c5ddcc;
}

.jrm-home-category-photo {
    height:185px;
    background:var(--jrm-superficie);
    display:grid;
    place-items:center;
    overflow:hidden;
    padding:15px;
}

.jrm-home-category-photo img {
    width:100%;
    height:100%;
    object-fit:contain;
    transition:transform .25s;
}

.jrm-home-category-card:hover img {
    transform:scale(1.045);
}

.jrm-home-category-photo>i {
    font-size:40px;
    color:#8aab92;
}

.jrm-home-category-info {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:17px 17px 19px;
    min-height:86px;
}

.jrm-home-category-info h3 {
    font-size:15px;
    line-height:1.4;
    margin:0 0 5px;
    overflow-wrap:anywhere;
    font-family:'Poppins',sans-serif;
}

.jrm-home-category-info span {
    font-size:12px;
    color:#87988a;
}

.jrm-home-category-info>i {
    color:var(--jrm-primario);
    font-size:14px;
    flex:none;
}

.jrm-home-products-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
}

.jrm-home-product-card {
    display:flex;
    flex-direction:column;
    min-width:0;
    border:1px solid #e5ebe5;
    border-radius:17px;
    padding:14px;
    background:#fff;
    transition:transform .2s,box-shadow .2s;
}

.jrm-home-product-card:hover {
    transform:translateY(-3px);
    box-shadow:0 12px 32px #163f2712;
}

.jrm-home-product-photo {
    display:grid;
    place-items:center;
    height:205px;
    background:var(--jrm-superficie);
    border-radius:11px;
    padding:10px;
    overflow:hidden;
    margin-bottom:16px;
}

.jrm-home-product-photo img {
    width:100%;
    height:100%;
    object-fit:contain;
}

.jrm-home-product-category {
    font-size:11px;
    line-height:1.5;
    color:#859787;
    margin-bottom:8px;
}

.jrm-home-product-card h3 {
    font-family:'Poppins',sans-serif;
    color:var(--jrm-texto);
    margin:0 0 12px;
    font-size:15px;
    line-height:1.5;
    flex:1;
}

.jrm-home-product-card h3 a {
    color:inherit;
}

.jrm-home-product-price {
    color:var(--jrm-primario);
    font-size:14px;
    line-height:1.5;
    margin-bottom:15px;
}

.jrm-home-product-actions {
    display:flex;
    flex-direction:column;
    gap:8px;
}

.jrm-home-product-actions .jrm-home-btn {
    width:100%;
    font-size:12px;
    min-height:42px;
    padding:10px;
}

.jrm-home-btn-wa {
    background:#e6f6eb;
    color:#217c43!important;
    border:1px solid #cee8d5;
}

.jrm-home-cta {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    background:var(--jrm-primario);
    color:#fff;
    border-radius:22px;
    padding:35px 40px;
    margin-bottom:83px;
}

.jrm-home-cta .jrm-home-eyebrow {
    color:#b6dac2;
}

.jrm-home-cta h2 {
    font-family:'Poppins',sans-serif;
    font-size:clamp(24px,3vw,33px);
    line-height:1.3;
    margin:0 0 10px;
    color:#fff;
}

.jrm-home-cta p {
    font-size:14px;
    line-height:1.8;
    color:#d3e4d8;
    max-width:690px;
    margin:0;
}

.jrm-home-btn-cta {
    background:#fff;
    color:var(--jrm-primario)!important;
    flex:none;
}

.jrm-home-empty {
    text-align:center;
    color:#718276;
}

@media(max-width:1100px) {
    .jrm-home-category-grid,.jrm-home-products-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .jrm-home-welcome {
        gap:30px;
    }
}

@media(max-width:800px) {
    .jrm-home-welcome {
        grid-template-columns:1fr;
        gap:28px;
        padding:53px 0;
    }
    .jrm-home-benefits {
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:14px;
        padding:15px;
    }
    .jrm-home-benefits>div {
        flex-direction:column;
        text-align:center;
        border:0;
        padding:12px 2px;
    }
    .jrm-home-category-grid,.jrm-home-products-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .jrm-home-cta {
        flex-direction:column;
        text-align:center;
    }
}

@media(max-width:600px) {
    .jrm-home-container {
        width:calc(100% - 32px);
    }
    .jrm-home-slider-arrow {
        width:34px;
        height:34px;
        font-size:12px;
    }
    .jrm-home-slider-prev {
        left:9px;
    }
    .jrm-home-slider-next {
        right:9px;
    }
    .jrm-home-dots {
        bottom:8px;
    }
    .jrm-home-welcome {
        padding:45px 0;
    }
    .jrm-home-intro,.jrm-home-intro p {
        text-align:center;
    }
    .jrm-home-intro h1 {
        letter-spacing:-.6px;
    }
    .jrm-home-intro-actions {
        justify-content:center;
    }
    .jrm-home-intro-actions .jrm-home-btn {
        width:100%;
    }
    .jrm-home-benefits {
        grid-template-columns:1fr;
        gap:0;
    }
    .jrm-home-benefits>div {
        flex-direction:row;
        text-align:left;
        padding:11px;
        border-bottom:1px solid #e2e9e2;
    }
    .jrm-home-benefits>div:last-child {
        border-bottom:0;
    }
    .jrm-home-section {
        padding:55px 0 61px;
    }
    .jrm-home-heading {
        margin-bottom:27px;
    }
    .jrm-home-category-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:11px;
    }
    .jrm-home-category-photo {
        height:142px;
        padding:8px;
    }
    .jrm-home-category-info {
        min-height:82px;
        padding:12px;
    }
    .jrm-home-category-info h3 {
        font-size:13px;
        text-align:center;
    }
    .jrm-home-category-info span {
        display:block;
        text-align:center;
        font-size:11px;
    }
    .jrm-home-category-info {
        justify-content:center;
    }
    .jrm-home-category-info>i {
        display:none;
    }
    .jrm-home-products-grid {
        grid-template-columns:1fr;
        max-width:410px;
        margin:0 auto;
        gap:17px;
    }
    .jrm-home-product-card {
        text-align:center;
    }
    .jrm-home-product-photo {
        height:230px;
    }
    .jrm-home-product-actions {
        align-items:stretch;
    }
    .jrm-home-cta {
        padding:31px 20px;
        margin-bottom:55px;
    }
    .jrm-home-btn-cta {
        width:100%;
    }
}

@media(prefers-reduced-motion:reduce) {
    .jrm-home-slide,.jrm-home-btn,.jrm-home-category-card,.jrm-home-product-card,.jrm-home-category-photo img {
        transition:none;
    }
}

/* =========================================================
SLIDER DE PORTADA - FORMATO CONTENIDO Y ELEGANTE
========================================================= */
.jrm-home .jrm-home-hero {
    width: min(1440px, calc(100% - 64px));
    margin: 32px auto 0;
    padding: 0;
    background: transparent;
}

.jrm-home .jrm-home-slides {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: var(--jrm-superficie);
    box-shadow: 0 14px 40px rgba(19, 49, 31, .10);
    border: 1px solid var(--jrm-borde);
}

@media only screen and (max-width: 720px) {
    .jrm-home .jrm-home-hero {
        width: calc(100% - 28px);
        margin-top: 16px;
    }
    .jrm-home .jrm-home-slides {
        border-radius: 15px;
        box-shadow: 0 7px 24px rgba(19, 49, 31, .09);
    }
}

/* REINICIO GLOBAL Y AJUSTES DE MARCA */
html,
body {
    margin  : 0 !important;
    padding : 0 !important;
    width   : 100%;
}

.jrm-home .jrm-home-hero {
    margin-top : 22px;
}

.jrm-home .jrm-home-category-photo {
    background : var(--jrm-superficie);
}

.jrm-home .jrm-home-category-photo > i {
    color : var(--jrm-primario);
}

.jrm-home .jrm-home-btn-primary:hover {
    background : var(--jrm-acento);
}

.jrm-home .jrm-home-cta .jrm-home-eyebrow {
    color : var(--jrm-secundario);
}

.jrm-home .jrm-home-product-price {
    font-weight : 600;
}
