/*==========================
    RECURSOS DIGITALES
==========================*/

.products{
    width: 100%;
    padding: 100px 8%;
    background: #f8fafc;
}
.productFeatures{

    display:flex;

    flex-direction:column;

    gap:10px;

    margin:20px 0;

    color:#555;

    font-size:.95rem;

}

.productFeatures span{

    display:flex;

    align-items:center;

    gap:8px;

}

.subHeading{
    text-align: center;
    max-width: 700px;
    margin: 20px auto 60px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}
/* ===== FILTROS ===== */
.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filterBtn {
    padding: 8px 16px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.filterBtn:hover {
    background: #e5e7eb;
    border-color: #ccc;
}
/* ===== BOTÓN ===== */
.btn {
    display: inline-block;
    padding: 10px 14px;
    background: #4f46e5;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

.btn:hover {
    background: #3730a3;
}
/* ===== BOTÓN SECUNDARIO (volver todos) ===== */
.btn.secondary {
    background: #e5e7eb;
    color: #111;
}

.btn.secondary:hover {
    background: #d1d5db;
}
.productGrid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}

.productCard{

    background: #fff;

    border-radius: 20px;

    padding: 35px;

    box-shadow: 0 10px 25px rgba(0,0,0,.08);

    transition: .3s;

    display: flex;

    flex-direction: column;

}

.productCard:hover{

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(0,0,0,.12);

}

.badge{

    width: fit-content;

    padding: 6px 14px;

    border-radius: 30px;

    background: #6d28d9;

    color: #fff;

    font-size: .85rem;

    font-weight: 600;

    margin-bottom: 20px;

}

.productCard h3{

    font-size: 1.5rem;

    color: #1f2937;

    margin-bottom: 15px;

}

.productCard p{

    color: #666;

    line-height: 1.7;

    flex: 1;

}

.price{

    margin: 30px 0;

    font-size: 2rem;

    font-weight: bold;

    color: #6d28d9;

}

.productCard .btn{

    display: inline-flex;

    justify-content: center;

    align-items: center;

    text-decoration: none;

    background: #6d28d9;

    color: white;

    padding: 14px;

    border-radius: 10px;

    transition: .3s;

    font-weight: 600;

}

.productCard .btn:hover{

    background: #6d28d9;

}

@media(max-width:768px){

    .products{

        padding: 80px 20px;

    }

    .productGrid{

        grid-template-columns: 1fr;

    }

}