/* APF_V4_UNIFIED_SEARCH_HUB_20261014 */

#apfV4SearchHub {
  box-sizing:border-box;
  margin:0 0 20px;
  padding:18px;
  border:1px solid #dce6f4;
  border-radius:18px;
  background:#fff;
}

#apfV4SearchHub .apf-category-offers-heading {
  margin:0 0 13px!important;
}

#apfV4SearchHub .apf-category-offers-heading h2 {
  font-size:21px;
  margin:0 0 5px;
}

#apfV4SearchHub .apf-v4-search-row {
  display:flex;
  width:100%;
  max-width:720px;
  margin-bottom:13px;
}

#apfV4SearchHub .search,
#apfV4SearchHub .mobile-search {
  box-sizing:border-box;
  width:100%;
  min-width:0;
}

#apfV4SearchHub .filters {
  position:static!important;
  top:auto!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

#apfV4SearchHub .cats {
  display:flex!important;
  flex-wrap:wrap;
  gap:8px;
  overflow:visible;
}

#apfV4SearchHub #businessSearchResults {
  margin-top:10px;
}

.apf-v4-category-reminder {
  padding:15px;
  margin:12px 0;
  border:1px solid #dce6f4;
  border-radius:16px;
  background:#f8fbff;
}

.apf-v4-category-reminder > strong {
  display:block;
  margin-bottom:12px;
  color:#102c52;
  font-size:17px;
}

.apf-v4-reminder-track {
  display:flex;
  gap:8px;
  flex-wrap:nowrap;
  overflow-x:auto;
  padding-bottom:8px;
  scrollbar-width:thin;
}

.apf-v4-reminder-chip {
  flex:0 0 auto;
  min-height:38px;
  padding:8px 12px;
  border-radius:24px;
  border:1px solid #dce5f3;
  background:white;
  color:#1e375b;
  font:700 13px system-ui,sans-serif;
  cursor:pointer;
}

.apf-v4-reminder-chip::before {
  content:attr(data-icon);
  margin-right:6px;
}

.apf-v4-reminder-chip.active {
  color:white;
  background:#1768e5;
  border-color:#1768e5;
}

@media (min-width:821px) {
  header {
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:18px!important;
  }

  #apfV4SearchHub .search {
    display:flex!important;
  }

  #apfV4SearchHub .mobile-search {
    display:none!important;
  }
}

@media (max-width:820px) {
  #apfV4SearchHub {
    margin:0 0 14px;
    padding:14px 12px;
    border-radius:15px;
  }

  #apfV4SearchHub .search {
    display:none!important;
  }

  #apfV4SearchHub .mobile-search {
    display:flex!important;
  }

  #apfV4SearchHub .cats {
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x proximity;
    padding:4px 0 10px;
  }

  #apfV4SearchHub .cats button {
    flex:0 0 auto;
    scroll-snap-align:start;
  }

  .mobile-discovery {
    grid-template-columns:minmax(0,1fr)!important;
  }

  #apfV4SearchHub .apf-category-offers-heading h2 {
    font-size:19px;
  }
}