.cf24-recientes{
    width: 100%;
    margin: 20px 0;
    border-radius: 12px;
    padding: 12px;
    
    .wrap{
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
    
    a{
        cursor: pointer;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 1px solid #e9ecef;
        border-radius: 12px;
        padding: 16px;
        text-align: center;
        display: grid;
        grid-template-rows: 200px auto auto auto;
        gap: 12px;
        align-items: center;
        justify-items: center;
        text-decoration: none;
        color: #2c3e50;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        position: relative;
        overflow: hidden;
        
        &::before{
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #274198 0%, #0dafcc 100%);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .img-container{
            width: 100%;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border-radius: 8px;
            background: #f8f9fa;
        }
        
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            border-radius: 8px;
            transition: transform 0.3s ease;
        }
        
        h3{
            margin: 0;
            font-size: 0.85rem;
            font-weight: 600;
            color: #2c3e50;
            letter-spacing: -0.01em;
            line-height: 1.3;
            text-transform: uppercase;
        }
        
        h4{
            margin: 0;
            font-size: 0.9rem;
            font-weight: 400;
            color: #495057;
            letter-spacing: 0.01em;
        }
        
        .precio{
            font-weight: 700;
            font-size: 1.2rem;
            color: #0dafcc;
            background: linear-gradient(90deg, #274198 0%, #0dafcc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: 0.02em;
        }
        
        &:hover{
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(39, 65, 152, 0.15);
            border-color: #0dafcc;
            background: linear-gradient(135deg, #ffffff 0%, #e3f8fc 100%);
            
            &::before{
                transform: scaleX(1);
            }
            
            img{
                transform: scale(1.1);
            }
        }
        
        &:active{
            transform: translateY(-4px);
            box-shadow: 0 6px 16px rgba(39, 65, 152, 0.2);
        }
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .cf24-recientes{
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .cf24-recientes{
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .cf24-recientes{
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 20px auto;
        
        a{
            padding: 12px;
            grid-template-rows: 150px auto auto auto;
            gap: 8px;
            
            .img-container{
                height: 150px;
            }
            
            h3{
                font-size: 0.8rem;
            }
            
            h4{
                font-size: 0.8rem;
            }
            
            .precio{
                font-size: 1rem;
            }
        }
    }
}

@media (max-width: 480px) {
    .cf24-recientes{
        grid-template-columns: 1fr;
        
        a{
            grid-template-rows: 200px auto auto auto;
            
            .img-container{
                height: 200px;
            }
        }
    }
}