/* Wrapper */
.flo-search-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 16px;
}

/* Box principale */
.flo-search-box {
    width: 100%;
    max-width: 520px;
    position: relative;
}

/* Input */
#flo-commerce-search {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid #e3e8ef;
    font-size: 15px;
    outline: none;
    background: #f9fbfd;
    transition: all 0.2s ease;
}

/* Focus state */
#flo-commerce-search:focus {
    background: #ffffff;
    border-color: #c7d7ff;
    box-shadow: 0 0 0 3px rgba(100, 140, 255, 0.15);
}

/* Placeholder */
#flo-commerce-search::placeholder {
    color: #a0a8b8;
}

/* Résultats */
#flo-search-results {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f7;
    list-style: none;
    padding: 6px 0;
    margin: 8px 0 0 0;
    z-index: 999;
    max-height: 280px;
    overflow-y: auto;
}

/* Item */
#flo-search-results li {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #2a2f3a;
    transition: all 0.15s ease;
}

/* Hover */
#flo-search-results li:hover {
    background: #f2f6ff;
    color: #1a3cff;
}

/* Empty state (optionnel si tu l’ajoutes en JS) */
#flo-search-results li.empty {
    color: #9aa3b2;
    cursor: default;
}

/* Scrollbar clean */
#flo-search-results::-webkit-scrollbar {
    width: 6px;
}

#flo-search-results::-webkit-scrollbar-thumb {
    background: #d6deeb;
    border-radius: 10px;
}

/* Mobile optimisation */
@media (max-width: 480px) {
    .flo-search-wrapper {
        padding: 20px 12px;
    }

    #flo-commerce-search {
        font-size: 16px;
    }
}