body.nm-page-search .nm-cats,
body.nm-page-search .nm-header .nm-search {
  display: none;
}

.nm-find-tool {
  display: none;
}

/* Phone: logo and location on the first row, profile and cart beside search. */
@media (max-width: 991.98px) {
  body.nm-page-search .nm-header,
  body.nm-page-search .nm-bar {
    max-width: 100%;
  }

  body.nm-page-search .nm-bar {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    grid-template-areas: "brand location";
  }

  body.nm-page-search .nm-header .nm-account,
  body.nm-page-search .nm-header .nm-cart {
    display: none;
  }

  body.nm-page-search .nm-brand,
  body.nm-page-search .nm-location {
    min-width: 0;
  }

  body.nm-page-search .nm-location {
    max-width: 100%;
  }

  .nm-find-tool {
    display: flex;
    flex: 0 0 auto;
  }
}

.nm-find {
  margin: 0 auto 40px;
  padding: 0 0 24px;
  background: #fff;
  min-height: 70vh;
}

.nm-find-bar {
  position: sticky;
  top: 52px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.nm-find-back {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #6BB252;
  text-decoration: none;
}

.nm-find-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid #d9d9d9;
  border-radius: 12px;
  background: #f7f8f6;
}

.nm-find-box:focus-within {
  border-color: #6BB252;
  background: #fff;
}

.nm-find-box svg {
  flex: 0 0 auto;
  color: #777;
}

.nm-find-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #222;
  font-size: 16px;
}

.nm-find .nm-hero {
  background: transparent;
}

.nm-find-slide {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
}

.nm-find-slide.is-plain {
  min-height: 168px;
  background: #6BB252;
}

.nm-find-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05) 55%);
}

.nm-find-caption small,
.nm-find-caption strong {
  display: block;
  color: #fff;
}

.nm-find-caption small {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nm-find-caption strong {
  margin-top: 4px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.nm-find h2 {
  margin: 16px 12px 8px;
  color: #6BB252;
  font-size: 1rem;
}

.nm-find .nm-find-categories h2 {
  margin-right: 0;
  margin-left: 0;
}

.nm-find-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 4px;
  scrollbar-width: none;
}

.nm-find-chips a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1.5px solid #6BB252;
  border-radius: 99px;
  background: #fff;
  color: #6BB252;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.nm-find-chips a:hover {
  background: #f3f8f0;
}

.nm-find-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px;
  background: #fff;
}

.nm-find-filters select,
.nm-find-deal {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #d7ddd2;
  border-radius: 99px;
  background: #fff;
  color: #6BB252;
  font-size: 0.84rem;
  font-weight: 700;
}

.nm-find-deal {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nm-find .nm-products-grid {
  padding-bottom: 16px;
}

.nm-find .nm-find-popular h2 {
  margin-right: 0;
  margin-left: 0;
}

.nm-find-empty {
  grid-column: 1 / -1;
  margin: 12px 0;
  color: #666;
}

@media (min-width: 992px) {
  body.nm-page-search .nm-bar {
    grid-template-columns: auto minmax(160px, 1fr) auto auto;
    grid-template-areas: "brand location account cart";
  }

  .nm-find-bar {
    top: 64px;
  }
}

@media (max-width: 991.98px) {
  body.nm-page-search .nm-site-footer,
  body.nm-page-search #footer-bottom {
    display: none;
  }

  body.nm-page-search {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .nm-find-bar {
    top: 52px;
  }
}
