
        /* --- RIMUOVI PADDING TOP/BOTTOM DALLA NAVIGAZIONE --- */
        #colibri .h-navigation_sticky .style-2, 
        #colibri .h-navigation_sticky.style-2,
        .h-navigation_sticky .style-2,
        .h-navigation_sticky.style-2 {
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }

		/* --- STILI BARRA DI RICERCA (Colonna Centrale) --- */
		[data-colibri-id="1729-h6"],
		[data-colibri-id="1729-h7"],
		[data-colibri-id="1732-h7"],
		[data-placeholder-provider="navigation-spacing"] {
			display: flex !important;
			justify-content: center !important;  /* ← CENTRO ORIZZONTALE */
			align-items: center !important;      /* ← CENTRO VERTICALE */
			width: 100% !important;
			height: 100% !important;
			padding: 0 !important;
			margin: 0 !important;
		}

		/* Sovrascrive le classi del tema */
		.style-435,
		.style-local-1729-h6,
		.h-column__inner {
			display: flex !important;
			justify-content: center !important;
			align-items: center !important;
		}

		.custom-header-search-form {
			display: flex;
			align-items: center;
			background: #f1f1f1;
			border-radius: 50px;
			padding: 2px;
			border: 1px solid #ddd;
			width: 100%;
			max-width: 400px;
			height: 40px;
			box-shadow: 0 2px 5px rgba(0,0,0,0.05);
			margin: 0 auto;  /* ← CENTRATURA EXTRA */
		}

		.custom-header-search-input {
			border: none !important;
			background: transparent !important;
			padding: 6px 15px !important;  /* ← RIDOTTO PADDING VERTICALE */
			margin: 0 !important;
			flex-grow: 1;
			font-size: 14px;
			color: #333;
			outline: none !important;
			box-shadow: none !important;
			height: 100%;  /* ← OCCUPA L'ALTEZZA DEL FORM */
			line-height: normal;  /* ← EVITA SPAZIATURE EXTRA */
		}

		.custom-header-search-btn {
			background: #0073aa;
			color: white;
			border: none;
			width: 36px;
			height: 36px;  /* ← GIÀ COMPATTO */
			border-radius: 50%;
			margin-right: 2px;
			cursor: pointer;
			display: flex;
			align-items: center;
			justify-content: center;
			flex-shrink: 0;  /* ← EVITA CHE SI RIMPICCIOLISCA */
		}
        
        .custom-header-search-btn svg { width: 16px; height: 16px; fill: white; }

        /* --- RIMUOVI SPAZIO SOTTO IL LOGO E CENTRA --- */
        [data-colibri-id*="h5"],
        [data-placeholder-provider="navigation-logo"] {
            margin-bottom: 0 !important;
            padding-bottom: 0 !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
        }

        .h-logo {
            margin-bottom: 0 !important;
            padding-bottom: 0 !important;
        }

        /* --- NASCONDI SOLO IL LOGO SU MOBILE (NON LE BANDIERE) --- */
        @media (max-width: 768px) {
            .h-logo,
            .h-logo__image,
            .h-logo__alt-image {
                display: none !important;
            }
            
            #custom-lang-flags {
                display: flex !important;
                margin-top: 0;
                padding-top: 8px;
                padding-bottom: 8px;
            }
            
            .custom-header-search-form {
                max-width: 100%;
            }
        }

        /* --- STILI BANDIERE --- */
        #custom-lang-flags {
            display: none;
            flex-wrap: wrap;
            justify-content: center;
            gap: 6px;
            margin-top: -5px;
            padding-bottom: 5px;
            max-width: 220px;
            transition: margin-top 0.3s ease;
        }

        #custom-lang-flags.positioned {
            display: flex !important;
        }

        .custom-lang-flag {
            width: 24px;
            height: auto;
            opacity: 0.8;
            transition: transform 0.2s, opacity 0.2s;
            box-shadow: 0 1px 2px rgba(0,0,0,0.3);
            border-radius: 2px;
        }

        .custom-lang-flag:hover {
            opacity: 1;
            transform: scale(1.2);
        }

        /* --- SCROLL EFFECT (CSS PURO) --- */
        .h-logo__image, 
        .h-logo__alt-image {
            transition: transform 0.3s ease !important; 
            transform-origin: center center;
        }

        body.scrolled [data-nav-normal] .h-logo__image,
        body.scrolled [data-nav-normal] .h-logo__alt-image {
            transform: scale(0.8);
        }

        body.scrolled #custom-lang-flags {
            margin-top: -8px;
        }
    