/* Barre de recherche sticky */
.sticky-search-bar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 997;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e8;
}

.sticky-search-bar.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Container */
.sticky-search-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Logo */
.sticky-search-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    color: #333;
    font-size: 18px;
    white-space: nowrap;
}

.sticky-search-logo img {
    margin-right: 8px;
}

.sticky-search-logo .logo-light {
    font-weight: 300;
}

/* Wrapper de recherche */
.sticky-search-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 400px;
    position: relative;
}

/* Input */
.sticky-search-input {
    height: 38px;
    font-size: 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 0 18px;
    width: 100%;
    background: #f8f8f8;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.sticky-search-input:focus {
    border-color: #333;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.sticky-search-input::placeholder {
    color: #999;
}

/* Bouton reset DANS l'input - CACHÉ */
.sticky-reset-btn {
    display: none !important;
}

/* Bouton submit EXTERNE */
.sticky-submit-btn {
    background: #333 !important;
    border: none !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.sticky-submit-btn:hover {
    background: #000 !important;
    transform: scale(1.05) !important;
}

.sticky-submit-btn svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    fill: #fff !important;
}

/* Responsive - Tablette */
@media (max-width: 991px) {
    .sticky-search-logo {
        font-size: 16px;
    }
    
    .sticky-search-logo img {
        width: 28px;
        height: 28px;
    }
    
    .sticky-search-wrapper {
        flex: 0 1 350px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .sticky-search-bar {
        top: 50px;
        padding: 10px 0;
    }
    
    .sticky-search-bar .container {
        padding: 0 12px;
        gap: 8px;
    }
    
    .sticky-search-logo {
        display: none;
    }
    
    .sticky-search-wrapper {
        flex: 1;
    }
    
    .sticky-search-input {
        height: 38px;
        font-size: 14px;
        padding: 0 16px;
    }
    
    .sticky-submit-btn {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }
    
    .sticky-submit-btn svg {
        width: 15px !important;
        height: 15px !important;
        max-width: 15px !important;
        max-height: 15px !important;
    }
}

/* Icônes SVG cachées */
.sticky-svg-icons {
    display: none;
}

/* Style de l'autocomplétion */
.ui-autocomplete {
    z-index: 9999 !important;
}
