/* TradesFolks Search Autosuggest V4 — single owner */
.global-search[data-tf-search-owner="v4"]{position:relative!important;overflow:visible!important}
.global-search[data-tf-search-owner="v4"].tf-search-v4-open{z-index:2147482000!important}
.tf-search-v4-panel{
  position:absolute!important;z-index:2147483000!important;top:calc(100% + 7px)!important;
  left:0!important;right:0!important;width:100%!important;max-height:min(72vh,680px)!important;
  overflow:auto!important;background:#fff!important;border:1px solid #d7e1ef!important;border-radius:14px!important;
  box-shadow:0 20px 48px rgba(7,31,73,.18)!important;color:#10213c!important;
  overscroll-behavior:contain
}
.tf-search-v4-panel[hidden]{display:none!important}
.tf-search-v4-body{padding:6px 0}
.tf-search-v4-group{padding:3px 8px 7px}
.tf-search-v4-group+.tf-search-v4-group{border-top:1px solid #edf1f6}
.tf-search-v4-group h3{
  margin:0;padding:8px 9px 6px;font-size:11px;line-height:1.2;text-transform:uppercase;
  letter-spacing:.075em;color:#718096;font-weight:800
}
.tf-search-v4-group>a{
  min-height:52px;display:grid;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;
  gap:10px;padding:6px 9px;border-radius:10px;text-decoration:none;color:#10213c
}
.tf-search-v4-group>a:hover,.tf-search-v4-group>a.is-active{background:#f5f8fc}
.tf-search-v4-icon{
  width:42px;height:42px;border:1px solid #e2e8f0;border-radius:9px;background:#f7f9fc;
  display:grid;place-items:center;overflow:hidden;color:#0b59b6
}
.tf-search-v4-icon img{width:100%;height:100%;object-fit:cover;display:block}
.tf-search-v4-icon svg{
  width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round
}
.tf-search-v4-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.tf-search-v4-copy strong{font-size:14px;line-height:1.3;color:#13233d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-search-v4-copy small{font-size:11px;color:#718096;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-search-v4-arrow{font-size:17px;color:#97a6bb;text-align:center}
.tf-search-v4-all{
  margin:3px 8px 8px;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;
  border-radius:10px;background:#fff7db;border:1px solid #f1cf67;color:#09295e!important;
  font-size:13px;font-weight:800;text-decoration:none
}
.tf-search-v4-all:hover,.tf-search-v4-all.is-active{background:#ffefb6}
.tf-search-v4-footer{
  position:sticky;bottom:0;display:flex;gap:18px;padding:8px 14px;background:#f8fafc;border-top:1px solid #e8edf4;
  color:#77849a;font-size:10px;font-weight:700
}
.tf-search-v4-loading,.tf-search-v4-empty{padding:18px 20px;display:flex;align-items:center;gap:10px;color:#5c6a80;font-size:12px}
.tf-search-v4-empty{align-items:flex-start;flex-direction:column;gap:4px}
.tf-search-v4-empty strong{color:#172a48;font-size:13px}
.tf-search-v4-loading i{
  width:17px;height:17px;border-radius:50%;border:2px solid #d9e2ee;border-top-color:#f5b800;
  animation:tfSearchV4Spin .75s linear infinite
}
@keyframes tfSearchV4Spin{to{transform:rotate(360deg)}}
@media(max-width:767px){
  .tf-search-v4-panel{
    position:fixed!important;left:10px!important;right:10px!important;top:116px!important;
    width:auto!important;max-height:calc(100vh - 138px)!important;border-radius:12px!important
  }
  .tf-search-v4-group>a{min-height:50px}
  .tf-search-v4-footer{display:none}
}
