/* ✅ Conteneur centré */
/* ✅ Centrage absolu */
.search-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}


/* ✅ Champ de recherche */
.search-container input[type="text"] {
    padding: 12px 15px;
    width: 320px;
    border: 2px solid #ccc;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: 0.3s ease-in-out;
}

/* ✅ Focus sur l'input */
.search-container input[type="text"]:focus {
    border-color: #ff6347;
    box-shadow: 0px 0px 8px rgba(255, 99, 71, 0.5);
}

/* ✅ Bouton de recherche */
.search-container button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background-color: #ff6347;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s ease-in-out;
}

/* ✅ Effet au survol du bouton */
.search-container button:hover {
    background-color: #ff4500;
    box-shadow: 0px 4px 8px rgba(255, 69, 0, 0.4);
}

/* ✅ Icône à l'intérieur du bouton */
.search-container button i {
    margin-left: 5px;
}

.container {
    margin-top: 50px;
    padding: 20px;
}

h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    font-weight: bold;
}

.search-empty {
    background-color: #fff3f3;
    border: 1px solid #ffb3b3;
    padding: 20px;
    border-radius: 10px;
    color: #c10000;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.suggestion a {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.suggestion a:hover {
    text-decoration: underline;
}

.thumbnail {
    background-color: #fff;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.03);
}

.thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.caption h4 {
    font-weight: bold;
    margin-top: 10px;
}

.caption p {
    color: #666;
    font-size: 14px;
}

.price {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: #ff5722;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
}
