body.search,
body.search .sa-page {
  background: #faf6ec;
  color: #10291d;
}

.sa-search-page {
  width: min(1180px, calc(100% - 40px));
  margin: clamp(36px, 5vw, 70px) auto clamp(56px, 7vw, 96px);
  color: #10291d;
  font-family: AvenirNextLTPro, Avenir, Arial, sans-serif;
}

.sa-search-page__hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(16 41 29 / 18%);
  border-radius: 18px;
  padding: clamp(30px, 5vw, 60px);
  background: #fff001;
  box-shadow: 0 18px 45px rgb(16 41 29 / 8%);
}

.sa-search-page__hero::after {
  position: absolute;
  top: -78px;
  right: -52px;
  width: 250px;
  height: 250px;
  border: 38px solid rgb(43 147 72 / 18%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.sa-search-page__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #1e7f3b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sa-search-page__title {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 !important;
  color: #10291d !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif !important;
  font-size: clamp(39px, 5.4vw, 68px) !important;
  font-weight: 950 !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
}

.sa-search-page__intro {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 22px 0 26px;
  color: rgb(16 41 29 / 82%);
  font-size: 16px;
  line-height: 1.55;
}

.sa-search-page__intro a {
  color: #10291d !important;
  font-weight: 900;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.sa-search-page__form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 760px;
  gap: 10px;
}

.sa-search-page__form input[type="search"] {
  width: 100%;
  min-height: 54px;
  border: 1.5px solid #10291d;
  border-radius: 9px;
  padding: 0 18px;
  background: #fff;
  color: #10291d;
  font: inherit;
  box-shadow: none;
}

.sa-search-page__form button {
  min-width: 116px;
  min-height: 54px;
  border: 1.5px solid #10291d;
  border-radius: 9px;
  padding: 0 22px;
  background: #10291d;
  color: #fff001;
  font: 900 14px/1 AvenirNextLTPro, Avenir, Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.sa-search-page__form button:hover,
.sa-search-page__form button:focus-visible {
  background: #2b9348;
}

.sa-search-page__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 20px;
}

.sa-search-page__toolbar > p {
  margin: 0;
  color: rgb(16 41 29 / 72%);
  font-size: 15px;
}

.sa-search-page__toolbar > p strong {
  color: #10291d;
  font-size: 18px;
}

.sa-search-page__trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.sa-search-page__trust small {
  color: rgb(16 41 29 / 68%);
  font-size: 12px;
  font-weight: 600;
}

.sa-search-page__stars {
  display: inline-flex;
  gap: 2px;
}

.sa-search-page__stars span {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  background: #00b67a;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.sa-search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sa-search-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(16 41 29 / 18%);
  border-radius: 14px;
  background: #fff;
  color: #10291d;
  box-shadow: 0 10px 28px rgb(16 41 29 / 6%);
  transition: transform .18s ease, box-shadow .18s ease;
}

.sa-search-card:hover {
  box-shadow: 0 16px 34px rgb(16 41 29 / 12%);
  transform: translateY(-3px);
}

.sa-search-card a {
  color: inherit !important;
  text-decoration: none !important;
}

.sa-search-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid rgb(16 41 29 / 12%);
  background: linear-gradient(180deg, #edf6dc 0%, #faf6ec 100%);
}

.sa-search-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sa-search-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
}

.sa-search-card__title {
  color: #10291d !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.sa-search-card__subtitle {
  display: block;
  min-height: 36px;
  margin-top: 5px;
  color: rgb(16 41 29 / 58%);
  font-size: 13px;
  line-height: 1.35;
}

.sa-search-card__price {
  display: block;
  margin-top: 14px;
  color: #10291d;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
}

.sa-search-card__edit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  margin-top: 17px;
  border-top: 1px solid rgb(16 41 29 / 14%);
  padding-top: 14px;
  color: #1e7f3b !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.sa-search-card__edit::after {
  content: "\2192";
  color: #10291d;
  font: 900 23px/1 Arial, sans-serif;
}

.sa-search-empty {
  margin: 44px auto 0;
  border: 1px solid rgb(16 41 29 / 16%);
  border-radius: 12px;
  padding: 28px;
  background: #fff;
  color: #10291d;
  font-size: 17px;
  text-align: center;
}

@media (max-width: 1000px) {
  .sa-search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sa-search-page {
    width: min(100% - 24px, 680px);
    margin-top: 24px;
  }

  .sa-search-page__hero {
    border-radius: 12px;
    padding: 28px 20px;
  }

  .sa-search-page__hero::after {
    top: -95px;
    right: -100px;
  }

  .sa-search-page__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sa-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .sa-search-page__form {
    grid-template-columns: 1fr;
  }

  .sa-search-page__form button {
    width: 100%;
  }

  .sa-search-page__trust {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .sa-search-grid {
    grid-template-columns: 1fr;
  }
}
