.catalog-search {
  position: relative;
  width: 100%;
  margin: 0 0 28px;
  box-sizing: border-box;
  z-index: 5;
}
.catalog-search__form {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid #d3d9e9;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.catalog-search__suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d3d9e9;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(20, 28, 45, 0.12);
  max-height: 320px;
  overflow: auto;
  z-index: 20;
}
.catalog-search__suggest-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  color: #222;
  line-height: 1.35;
}
.catalog-search__suggest-item:hover,
.catalog-search__suggest-item.is-active {
  background: #f5f7fb;
}
.catalog-search__suggest-label {
  min-width: 0;
  flex: 1 1 auto;
}
.catalog-search__suggest-meta {
  flex-shrink: 0;
  font-size: 12px;
  color: #8a93a6;
}
.catalog-search__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
  color: #8a93a6;
  font-size: 16px;
  pointer-events: none;
}
.catalog-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 12px 0 0;
  font-size: 16px;
  line-height: 48px;
  color: #222;
}
.catalog-search__input::placeholder {
  color: #9aa3b5;
}
.catalog-search__btn {
  flex-shrink: 0;
  border: 0;
  background: #e31e24;
  color: #fff;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.catalog-search__btn:hover {
  background: #c41a1f;
}
.catalog-search__form:focus-within {
  border-color: #e31e24;
}
.catalog-search-hidden {
  display: none !important;
}
.page-template-page-catalog .service-content-r {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: 100%;
}
.page-template-page-catalog .service-content-r .home-services-blocks {
  margin-top: 0;
  width: 100%;
}
.page-template-page-catalog .service-content-r .home-services-blocks > div {
  flex-basis: calc((100% - 6%) / 3);
  max-width: calc((100% - 6%) / 3);
}
@media screen and (max-width: 1200px) {
  .page-template-page-catalog .service-content-r .home-services-blocks > div {
    flex-basis: calc((100% - 3%) / 2);
    max-width: calc((100% - 3%) / 2);
  }
}
@media screen and (max-width: 767px) {
  .page-template-page-catalog .service-content-r .home-services-blocks > div {
    flex-basis: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 575px) {
  .catalog-search__btn {
    padding: 0 14px;
    font-size: 14px;
  }
  .catalog-search__icon {
    width: 40px;
  }
  .catalog-search__input {
    height: 44px;
    line-height: 44px;
    font-size: 15px;
  }
}
