/* Busca Famplas v1.9: barra visível; sem modal, sem dropdown nativo. */
#header .fpm-original-search-hidden{display:none!important}
#header .fpm-header-search-slot{--fpm-search-navy:var(--fpm-navy,#061d42);--fpm-search-orange:var(--fpm-orange,#ff7900);flex:1 1 330px;min-width:185px;max-width:470px;width:auto;position:relative;margin:0 clamp(10px,1.8vw,30px);align-self:center;z-index:12;box-sizing:border-box}
#header .fpm-header-search-slot *,#header .fpm-header-search-slot *:before{box-sizing:border-box}
#header .fpm-header-search-form{height:47px;margin:0!important;border:1px solid #dce4ef;border-radius:999px;display:flex;align-items:center;gap:0;background:#f4f6fa;box-shadow:0 2px 10px rgba(6,29,66,.025);overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}
#header .fpm-header-search-form:focus-within{border-color:var(--fpm-search-orange);box-shadow:0 5px 21px rgba(6,29,66,.10)}
#header .fpm-header-search-icon{display:flex;align-items:center;justify-content:center;padding:0 11px 0 17px;color:#8190a5;line-height:1}
#header .fpm-header-search-input{min-width:0!important;flex:1 1 0!important;width:1%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0 5px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--fpm-search-navy)!important;font-weight:500;font-size:14px!important;line-height:normal;outline:none!important;appearance:none}
#header .fpm-header-search-input::placeholder{color:#65758a;opacity:1}
#header .fpm-header-search-submit{height:47px!important;width:53px!important;min-width:53px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0 999px 999px 0!important;display:flex;align-items:center;justify-content:center;box-shadow:none!important;background:var(--fpm-search-orange)!important;color:#fff!important;cursor:pointer;line-height:1}
#header .fpm-header-search-submit:hover{filter:brightness(.94)}
#header .fpm-header-search-results[hidden]{display:none!important}
#header .fpm-header-search-results{position:absolute;z-index:100;top:calc(100% + 10px);left:0;right:0;overflow-y:auto;max-height:min(480px,60vh);padding:12px;background:#fff;border:1px solid #e1e7ef;border-radius:17px;box-shadow:0 20px 55px rgba(6,29,66,.18);color:var(--fpm-search-navy);text-align:left}
#header .fpm-search-caption{font-size:11px;letter-spacing:.1em;font-weight:800;color:#7a889c;margin:3px 8px 8px}
#header .fpm-search-note{font-size:13px;line-height:1.5;color:#64758a;margin:0;padding:14px 8px}
#header .fpm-search-result{display:flex;gap:11px;align-items:center;padding:8px 7px!important;margin:0!important;border-radius:10px;color:var(--fpm-search-navy)!important;text-decoration:none!important;background:transparent;transition:background-color .17s ease}
#header .fpm-search-result:hover,#header .fpm-search-result:focus-visible{background:#f0f4f9!important;outline:0}
#header .fpm-search-result__thumb{width:54px;height:54px;flex:0 0 54px;border:1px solid #e8edf4;border-radius:10px;background:#f7f9fc;overflow:hidden;display:grid;place-items:center}
#header .fpm-search-result__thumb img{width:100%;height:100%;object-fit:contain}
#header .fpm-search-result__text{display:grid;gap:4px;min-width:0;flex:1}
#header .fpm-search-result__text strong{color:var(--fpm-search-navy);font-size:13px;line-height:1.3;font-weight:800}
#header .fpm-search-result__text small{color:var(--fpm-search-orange);font-size:13px;font-weight:750}
#header .fpm-search-result__arrow{font-size:24px;color:var(--fpm-search-orange)}
#header .fpm-search-all{background:transparent!important;border:0!important;color:var(--fpm-search-orange)!important;font-size:12px!important;font-weight:800!important;text-transform:none!important;margin:4px 0 0!important;box-shadow:none!important}
@media(max-width:1060px) and (min-width:850px){#header .fpm-header-search-slot{flex-basis:230px;margin-inline:10px;min-width:145px;max-width:340px}}
@media(max-width:849px){#header .fpm-header-search-slot.is-mobile{display:block;width:calc(100% - 28px);max-width:var(--fpm-container,1280px);min-width:0;flex:none;margin:7px auto 12px;align-self:center}#header .fpm-header-search-form{height:44px}#header .fpm-header-search-submit{height:44px!important;width:52px!important;min-width:52px!important}#header .fpm-header-search-results{max-height:50vh}#header .header-main{overflow:visible}}
@media(prefers-reduced-motion:reduce){#header .fpm-header-search-slot *,#header .fpm-header-search-slot{transition:none!important;animation:none!important}}
