/* V12.9.36 — déplacer la recherche principale à la place du slogan.
   Le moteur, les catégories, les pages du compte et le mobile sont conservés. */
#headerSearchPanel{display:none!important}
@media(min-width:900px){
  #app>.topbar{overflow:visible}
  #app>.topbar #headerSearchPanel{
    display:block!important;
    position:absolute!important;
    left:var(--ljo-header-search-left,max(330px,calc(50% - 403px)))!important;
    top:50%!important;
    transform:translateY(-50%);
    width:var(--ljo-header-search-width,min(calc(730px + 2cm),calc(100% - 362px)))!important;
    max-width:none!important;
    height:calc(52px + .2cm)!important;
    min-height:0!important;
    margin:0!important;padding:0!important;
    border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;
    overflow:visible;z-index:4;
  }
  #headerSearchPanel #desktopSearchZone{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 190px!important;
    grid-template-rows:calc(44px + .2cm)!important;
    gap:0!important;align-items:center!important;
    width:100%!important;max-width:none!important;
    height:calc(52px + .2cm)!important;min-height:calc(52px + .2cm);
    margin:0!important;padding:3px!important;
    box-sizing:border-box;overflow:visible;
    border:1px solid rgba(114,47,72,.16)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.68)!important;
    box-shadow:0 7px 22px rgba(78,32,50,.10)!important;
    -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  }
  #headerSearchPanel .desktop-search-box{
    grid-column:1!important;grid-row:1!important;
    display:flex!important;align-items:center;
    min-width:0;width:100%!important;height:calc(44px + .2cm)!important;
    padding:0 5px 0 14px!important;box-sizing:border-box;
    border:0!important;border-radius:999px!important;
    background:transparent!important;color:var(--city-primary,#722F48);
  }
  #headerSearchPanel .desktop-search-box:focus-within{
    background:rgba(255,255,255,.66)!important;
    box-shadow:inset 0 0 0 1px rgba(135,60,156,.18);
  }
  #headerSearchPanel .desktop-search-box input{
    flex:1 1 auto!important;min-width:0!important;
    height:100%;padding:0 10px!important;
    border:0;outline:0;background:transparent;color:#3f3338;
    font-family:inherit;font-size:17px!important;font-weight:700!important;
  }
  #headerSearchPanel .desktop-search-box input::placeholder{color:#897b82;font-weight:650}
  #headerSearchPanel .desktop-location-compact,
  #headerSearchPanel .desktop-location-trigger{height:calc(44px + .2cm)}
  /* Supprimer l'emplacement de l'ancienne barre, sans tasser les autres pages. */
  #app>main:has(>#view-home.active){padding-top:14px}
  #view-home>#homeServiceShortcuts{margin-top:0}
  #view-home .v10-marketplace-core,
  #view-home.match-job-results-mode .v10-marketplace-core{
    scroll-margin-top:var(--ljo-header-clearance,164px)!important;
  }
}
@media(min-width:900px) and (max-width:1080px){
  #headerSearchPanel #desktopSearchZone{grid-template-columns:minmax(0,1fr) 150px!important}
  #headerSearchPanel .desktop-search-box{padding-left:8px!important}
}
