import json

def test_hard_block(title, query):
    title_lower = title.lower()
    clean_query = query.lower()
    blocked_words = ['gioco', 'jeu', 'juego', 'game', 'fifa', 'spiderman', 'call of duty', 'gta', 'manette', 'controller', 'dualsense', 'cuffie', 'headset', 'scatola', 'boite', 'caja', 'box', 'ricambio', 'pezzi', 'stand', 'base', 'cover', 'faceplate', 'adesivo']
    if 'ps5' in clean_query or 'playstation' in clean_query:
        if any(w in title_lower for w in blocked_words):
            return True
    return False

print('TEST HARD BLOCK 1 (Fifa 23 PS5):', test_hard_block('Fifa 23 PS5', 'ps5'))
print('TEST HARD BLOCK 2 (Manette ps5):', test_hard_block('Manette ps5', 'ps5'))
print('TEST HARD BLOCK 3 (Console PS5):', test_hard_block('Console PS5', 'ps5'))
