
nav {
    background-color: #f8f8f8;
    padding: 10px 20px;
}


.nav-container {
    display: flex;
    justify-content: flex-end;
    gap: 20px; 
}


.nav-container a {
    text-decoration: none;
    color: #333; 
    font-size: 16px; 
}


.nav-container a:hover {
    color: #a27146; 
}

nav ul {
    display: flex; 
    padding: 0;
    margin: 0;
    list-style-type: none;  
}

nav ul li {
    position: relative;  
    margin-right: 20px;
}


nav ul li .sub-menu {
    display: none;  
    position: absolute; 
    top: 100%;  
    left: 0;
    background-color: #f0f0f0;  
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}


nav ul li:hover .sub-menu {
    display: block;  
}


nav ul li .sub-menu li a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;  
    color: black;  
}


nav ul li .sub-menu li a:hover {
    background-color: #ddd;  
}

.product {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px;
    width: 200px;
    text-align: center;
    display: inline-block;
}
img {
    width: 150px;
    height: auto;
}
/* Style de la barre de recherche */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 20px;
}

/* Style de l'input de la barre de recherche */
.search-bar {
    width: 100%;
    max-width: 400px; /* Largeur maximale */
    padding: 10px 15px;
    border-radius: 25px;
    border: 2px solid #ccc;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-bar:focus {
    border-color: #a27146; /* Change la couleur de la bordure au focus */
}

/* Style du bouton de recherche */
.search-button {
    position: absolute;
    right: 10px;
    background-color: #a27146; /* Couleur du bouton */
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #7a4c30; /* Change la couleur du bouton au survol */
}

.search-button i {
    color: white;
    font-size: 18px;
}

/* Optionnel : ajouter une ombre portée pour un effet visuel */
.search-container {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

