/* 
 * FICHIER : search-fibosearch.css
 * FONCTIONNALITÉ : Styles pour la recherche Fibosearch
 * LOCALISATION : Pages avec recherche (is_search() || is_home() || is_front_page())
 * OPTIMISÉ : Extrait du CSS Elementor global pour chargement conditionnel
 */

/* Bouton de soumission recherche */
.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::before {
    display: none;
}

.dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit, 
.dgwt-wcas-om-bar .dgwt-wcas-om-return {
    display: none;
}

/* Icône de recherche */
.dgwt-wcas-layout-icon-open .dgwt-wcas-search-icon-arrow {
    display: none!important;
}

/* Position de la forme de recherche */
html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon .dgwt-wcas-search-form {
    top: -10px;
}

/* Bouton de fermeture */
.dgwt-wcas-close:not(.dgwt-wcas-inner-preloader) {
    justify-content: flex-end;
}

/* Input de recherche */
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input, 
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus {
    border-radius: 0px;
    border: 1px solid #B8A687!important;
    border-bottom: none!important;
}

/* Position input sur pages */
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input, 
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus {
    position: absolute;
    right: 20px;
}

/* Conteneur des suggestions */
.dgwt-wcas-suggestions-wrapp {
    background: #fff;
    border: 1px solid #B8A687!important;
    border-top: none;
}

/* Suggestions au survol */
.dgwt-wcas-has-headings .dgwt-wcas-suggestion.dgwt-wcas-suggestion-tax.dgwt-wcas-suggestion-selected,
.dgwt-wcas-has-headings .dgwt-wcas-suggestion.dgwt-wcas-suggestion-tax:hover {
    text-decoration: none;
    font-weight: 500;
}

/* Preloader */
.dgwt-wcas-preloader.dgwt-wcas-close {
    top: 20px!important;
    right: 50px;
}

/* Prix dans les résultats de recherche */
body > div.dgwt-wcas-suggestions-wrapp.woocommerce.dgwt-wcas-has-img.dgwt-wcas-has-price.dgwt-wcas-has-headings.js-dgwt-wcas-initialized > a:nth-child(1) > div > div.dgwt-wcas-meta > span > ins,
body > div.dgwt-wcas-suggestions-wrapp.woocommerce.dgwt-wcas-has-img.dgwt-wcas-has-price.dgwt-wcas-has-headings.js-dgwt-wcas-initialized > a.dgwt-wcas-suggestion.dgwt-wcas-suggestion-product > div > div.dgwt-wcas-meta > span > ins > span > bdi {
    font-size: 20px;
}