/* Palette de couleurs Fixolite (exemple) */
:root {
    --fixo-red: #D90429;
    --fixo-gray-light: #EDF2F4;
    --fixo-gray-medium: #8D99AE;
    --fixo-gray-dark: #2B2D42;
    --fixo-white: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--fixo-gray-light);
    color: var(--fixo-gray-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Header & Navigation --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--fixo-white);
    padding: 15px 30px;
    border-bottom: 3px solid var(--fixo-red);
}

.logo {
    max-width: 180px; /* Ajustez la taille de votre logo */
}

.lang-switcher form {
    margin: 0;
}
.lang-switcher select {
    padding: 5px;
    border: 1px solid var(--fixo-gray-medium);
    border-radius: 4px;
}

/* --- Formulaire de Recherche --- */
.search-form form {
    display: flex;
    margin-bottom: 30px;
}
.search-form input[type="text"] {
    flex: 1;
    padding: 12px;
    font-size: 1.1em;
    border: 1px solid var(--fixo-gray-medium);
    border-radius: 4px 0 0 4px;
}
.search-form button {
    padding: 12px 20px;
    font-size: 1.1em;
    background-color: var(--fixo-red);
    color: var(--fixo-white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

hr {
    border: 0;
    border-top: 1px solid var(--fixo-gray-medium);
}

/* ... (tout votre CSS existant :root, body, container, header, etc.) ... */

/* ... (votre CSS pour .search-form et hr) ... */

/* --- Liste de Résultats --- */
.product-list {
    list-style: none;
    padding: 0;
}
.product-item {
    background-color: var(--fixo-white);
    border: 1px solid var(--fixo-gray-medium);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    
    /* 1. CHANGEMENT : Utiliser Flexbox pour la mise en page */
    display: flex;
    flex-wrap: wrap; /* Permet à l'image de passer en dessous sur petit écran */
}
.product-info {
    font-size: 1.1em;
    /* 2. CHANGEMENT : Le texte prend l'espace disponible */
    flex: 1; 
    min-width: 300px; /* S'assure que le texte ne soit pas trop écrasé */
}
.product-info strong {
    font-size: 1.3em;
    color: var(--fixo-red);
    display: block;
    margin-bottom: 10px;
}
.product-info a {
    color: var(--fixo-red);
    text-decoration: none;
    font-weight: bold;
}
.product-info a:hover {
    text-decoration: underline;
}

/* 3. NOUVEAU : Bloc pour l'image */
.product-image {
    flex-shrink: 0; /* Empêche l'image de rétrécir */
    width: 300px;
    margin-left: 20px;
}
.product-image img {
    max-width: 100%; /* L'image prend 100% du conteneur (300px) */
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--fixo-gray-light);
}
/* Media query pour les petits écrans (ex: mobiles) */
@media (max-width: 768px) {
    .product-item {
        flex-direction: column-reverse; /* Met l'image au-dessus du texte */
    }
    .product-image {
        width: 100%;
        max-width: 300px; /* Garde la taille max même sur mobile */
        margin-left: 0;
        margin-bottom: 15px;
    }
}


/* --- Iframe PDF --- */
.pdf-viewer {
/* ... (pas de changement ici) ... */
}

/* --- NOUVEAU : Menu Catégories --- */
.category-nav {
    text-align: center;
    margin-bottom: 20px;
    padding: 0px;
}
.category-nav h3 {
    margin-top: 0;
}
.category-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.category-nav li {
    margin: 5px;
}
.category-nav a {
    display: block;
    padding: 8px 15px;
    background-color: var(--fixo-gray-medium);
    color: var(--fixo-white);
    text-decoration: none;
    border-radius: 4px;
}
.category-nav a:hover{
    background-color: var(--fixo-red);
    opacity: 100%;
}
.category-nav .active {
    background-color: var(--fixo-red);
    opacity: 70%;
}