/* Barre de recherche */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 8px auto 20px;
    width: 100%;
    max-width: 700px;
}

.search-container input[type="text"] {
    padding: 12px 15px;
    width: 100%;
    max-width: 420px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.search-container input[type="text"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-container button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.search-container button:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.28);
}

.search-container button i {
    margin-left: 5px;
}

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

h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #111827;
    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.08);
    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: #2563eb;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0 12px;
    }

    .search-container input[type="text"] {
        max-width: none;
    }
}
