/* ==================================================
CATÁLOGO - TECNOLOGÍA ISRAEL
================================================== */

.catalog-page{
    background:#F5F7FC;
    min-height:100vh;
    padding:12px 0 50px;
}

/* BREADCRUMB */

.catalog-breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    color:#64748B;
    font-size:.92rem;
    margin-bottom:14px;
}

.catalog-breadcrumb a{
    color:#475569;
    text-decoration:none;
}

/* LAYOUT */

.catalog-layout{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:24px;
    align-items:start;
}

/* SIDEBAR */

.sidebar-card{
    background:#08142F;
    border:1px solid rgba(255,255,255,.06);
    border-radius:24px;
    padding:24px;
    color:#FFFFFF;
    position:sticky;
    top:110px;
    box-shadow:0 10px 30px rgba(2,11,31,.18);
}

.sidebar-card h3{
    margin-bottom:20px;
    font-size:1.15rem;
}

.filter-group{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:18px;
    margin-top:18px;
}

.filter-group:first-of-type{
    border-top:none;
    padding-top:0;
    margin-top:0;
}

.filter-group h4{
    margin-bottom:14px;
    font-size:.95rem;
}

.filter-group label{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
    color:#D7E2FF;
    font-size:.92rem;
}

.filter-group input[type="range"]{
    width:100%;
}

.price-range{
    display:flex;
    justify-content:space-between;
    margin-top:10px;
    color:#8FA4D3;
    font-size:.85rem;
}

/* CONTENIDO */

.catalog-content{
    background:#FFFFFF;
    border:1px solid #E5EAF5;
    border-radius:28px;
    padding:24px;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

/* TOOLBAR */

.catalog-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:26px;
    padding-bottom:18px;
    border-bottom:1px solid #EEF2F7;
}

.catalog-results{
    color:#334155;
    font-size:.95rem;
}

.catalog-results strong{
    color:#0B1836;
}

.catalog-sort{
    display:flex;
    align-items:center;
    gap:12px;
}

.catalog-sort label{
    color:#475569;
    font-size:.9rem;
}

.catalog-sort select{
    background:#FFFFFF;
    border:1px solid #D7DFEE;
    border-radius:12px;
    padding:10px 14px;
    min-width:180px;
    color:#0B1836;
    font-size:.92rem;
}

/* GRID */

.catalog-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    align-items:start;
}

.catalog-item{
    width:100%;
}

/* Cards más compactas */

.catalog-grid .product-card{
    width:100%;
    max-width:none;
    min-width:0;
    box-shadow:0 6px 20px rgba(15,23,42,.06);
    transition:.25s ease;
}

.catalog-grid .product-card:hover{
    transform:translateY(-4px);
}

/* PAGINACIÓN */

.catalog-pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:32px;
}

.page-btn{
    width:44px;
    height:44px;
    border-radius:12px;
    border:1px solid #D7DFEE;
    background:#FFFFFF;
    color:#0B1836;
    cursor:pointer;
    transition:.2s;
}

.page-btn.active,
.page-btn:hover{
    background:#1F5EFF;
    border-color:#1F5EFF;
    color:#FFFFFF;
}

/* =========================
TABLET
========================= */

@media (max-width:1199px){

    .catalog-grid{
        grid-template-columns:repeat(3,1fr);
        gap:18px;
    }

}

/* =========================
MÓVIL / TABLET PEQUEÑA
========================= */

@media (max-width:991px){

    .catalog-layout{
        grid-template-columns:1fr;
        gap:18px;
    }

    .sidebar-card{
        position:static;
        width:100%;
        padding:16px;
        border-radius:18px;
    }

    .catalog-content{
        padding:18px;
    }

    .catalog-grid{
        grid-template-columns:repeat(2,1fr);
        gap:16px;
    }

    .catalog-toolbar{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

    .catalog-sort{
        width:100%;
        flex-direction:column;
        align-items:flex-start;
    }

    .catalog-sort select{
        width:100%;
    }

}

/* =========================
TELÉFONO
========================= */

@media (max-width:767px){

    html,
    body{
        overflow-x:hidden;
    }

    .catalog-page{
        padding-top:8px;
    }

    .catalog-breadcrumb{
        margin-bottom:10px;
        font-size:.85rem;
    }

    .sidebar-card{
        padding:14px;
        border-radius:16px;
        margin-bottom:14px;
    }

    .sidebar-card h3{
        font-size:.95rem;
        margin-bottom:10px;
    }

    .filter-group{
        margin-top:12px;
        padding-top:12px;
    }

    .filter-group h4{
        font-size:.88rem;
        margin-bottom:8px;
    }

    .filter-group label{
        font-size:.84rem;
        margin-bottom:6px;
    }

    .catalog-content{
        border-radius:20px;
        padding:14px;
    }

    .catalog-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .catalog-item .product-card{
        width:100%;
    }

    /* Tarjeta compacta móvil */

    .catalog-grid .product-image-area{
        height:140px;
        padding:8px;
    }

    .catalog-grid .product-circle{
        width:120px;
        height:120px;
    }

    .catalog-grid .product-image-area img{
        max-width:78%;
        max-height:105px;
    }

    .catalog-grid .product-content{
        padding:10px;
    }

    .catalog-grid .product-content h3{
        font-size:.9rem;
        line-height:1.15;
        min-height:38px;
        margin-bottom:8px;
    }

    .catalog-grid .product-specs{
        gap:4px;
    }

    .catalog-grid .product-specs li{
        font-size:.68rem;
        line-height:1.15;
    }

    .catalog-grid .product-specs li i{
        width:14px;
        font-size:.72rem;
    }

    .catalog-grid .product-footer{
        padding:10px;
    }

    .catalog-grid .product-price{
        font-size:1rem;
    }

    .catalog-grid .product-btn{
        width:28px;
        height:28px;
        font-size:.78rem;
    }

}