.pf-categoria-box {
    background: #2c2c2c;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 245px; /* 🔥 altura rectangular */
}

/* CONTENEDOR DE IMAGEN */
.pf-categoria-box img {
    width: 100%;
    height: 185px;
    object-fit: contain;
    background: #1e1e1e; /* fondo para PNG blanco */
    padding: 10px;
}

/* TEXTO */
.pf-categoria-box h3 {
    color: #fff;
    font-size: 20px;
    padding: 10px;
    margin: 0;
    text-align: center;
}

/* HOVER */
.pf-categoria-box:hover {
    transform: translateY(-5px);
    background: #3a3a3a;
}
@media (max-width: 768px) {
    .pf-categorias-grid.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pf-categoria-box {
        height: 160px;
    }
}

.pf-categorias-grid {
    display: grid;
    gap: 20px;
}

/* 👇 6 columnas en escritorio */
.pf-categorias-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}


/* 🎨 fondos por categoría */
.cat-25 {
    background: #1e3a8a;
}

.cat-97 {
    background: #065f46;
}

.cat-24 {
    background: #7c2d12;
}

.cat-1239 {
    background: #4c1d95;
}

.cat-17 {
    background: #9f1239;
}

.cat-26 {
    background: #374151;
}


.cat-25 img { background: #1e3a8a; }
.cat-97 img { background: #065f46; }
.cat-24 img { background: #7c2d12; }