@font-face {
  font-family: 'Searchpro-Roboto';
  src: url(Roboto-Regular.eot);
  src: url(Roboto-Regular.eot?#iefix) format('embedded-opentype'),
       url(Roboto-Regular.woff2) format('woff2'),
       url(Roboto-Regular.woff) format('woff'),
       url(Roboto-Regular.ttf) format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Searchpro-Roboto';
  src: url(Roboto-Medium.eot);
  src: url(Roboto-Medium.eot?#iefix) format('embedded-opentype'),
       url(Roboto-Medium.woff2) format('woff2'),
       url(Roboto-Medium.woff) format('woff'),
       url(Roboto-Medium.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
}

.searchpro__field {
  width: 450px;
  border-radius: 10px;
  overflow: hidden;
}

.searchpro__field,
.searchpro__field * {
  box-sizing: border-box;
  font-family: 'Searchpro-Roboto', sans-serif;
}

.searchpro__field .searchpro__field-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1000;
  height: 42px;
  background: #ffffff;
  border: 1px solid #cfd6dd;
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
  transition: border-color .2s ease, background-color .2s ease;
}

.searchpro__field .searchpro__field-container.js-searchpro__field-container--focus {
  border-color: #2C4E84;
  background: #ffffff;
}

.searchpro__field .searchpro__field-container.loading {
  background: #ffffff;
  animation: none;
}

.searchpro__field .searchpro__field-input-container {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  background: transparent;
}

.searchpro__field .searchpro__field-input-container .searchpro__field-input {
  width: 100%;
  height: 100%;
  padding: 0 50px 0 14px;
  border: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
  font-size: 15px;
  color: #4c5b68;
  border-radius: 0;
}

.searchpro__field .searchpro__field-input-container .searchpro__field-input::placeholder {
  color: #9aa6b2;
}

.searchpro__field .searchpro__field-input-container .searchpro__field-input::-ms-clear {
  display: none;
}

.searchpro__field-container.js-searchpro__field-container--loading .searchpro__field-input-container:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50px;
  margin: auto;
  background-color: transparent;
  background-image: url(field-loading-icon.svg);
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.searchpro__field-container .searchpro__field-clear-button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50px;
  margin: auto;
  cursor: pointer;
  background-color: transparent;
  background-image: url(clear-button-icon.svg);
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.searchpro__field-container .searchpro__field-clear-button:hover {
  background-image: url(clear-button-icon-hover.svg);
}

.searchpro__field .searchpro__field-button-container {
  height: 100%;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.searchpro__field .searchpro__field-button-container .searchpro__field-button {
  position: relative;
  z-index: 1100;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  border-radius: 0;
  background: #2d4f93;
  background-image: none;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  box-shadow: none;
  transition: background-color .2s ease, color .2s ease;
}

.searchpro__field .searchpro__field-button-container .searchpro__field-button:hover {
  background: #264582;
  background-image: none;
}

.searchpro__field .searchpro__field-container.js-searchpro__field-container--focus .searchpro__field-button-container .searchpro__field-button {
  background: #2d4f93;
  background-image: none;
  color: #ffffff;
}

.searchpro__field .searchpro__field-categories-container {
  position: relative;
  height: 100%;
  user-select: none;
  background: transparent;
}

@media (max-width: 550px) {
  .searchpro__field .searchpro__field-categories-container {
    display: none;
  }
}

.searchpro__field .searchpro__field-categories-container .searchpro__field-categories-label {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 160px;
  padding: 0 35px 0 18px;
  font-size: 14px;
  color: #4c5b68;
  cursor: pointer;
  background: #ffffff;
  border-radius: 0;
  transition: background-color .2s ease, color .2s ease;
}

.searchpro__field .searchpro__field-categories-container .searchpro__field-categories-label span {
  display: block;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchpro__field .searchpro__field-categories-container .searchpro__field-categories-label:hover {
  background-color: #ffffff;
  color: #2C4E84;
}

.searchpro__field .searchpro__field-categories-container .searchpro__field-categories-label:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 24px;
  transform: translateY(-50%);
  background-color: #cfd6dd;
  transition: background-color .2s ease;
}

.searchpro__field .searchpro__field-categories-container .searchpro__field-categories-label:hover:before {
  background-color: #cfd6dd;
  height: 24px;
}

.searchpro__field .searchpro__field-categories-container .searchpro__field-categories-label:after {
  content: '';
  position: absolute;
  right: 18px;
  width: 8px;
  height: 5px;
  background-image: url(categories-caret-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform .2s ease;
}

.searchpro__field .searchpro__field-categories-container .searchpro__field-categories-label.js-searchpro__field-category-selector-active:after {
  transform: rotate(-180deg);
}

.searchpro__field .searchpro__field-categories-list {
  display: none;
  position: absolute;
  right: 0;
  width: 280px;
  max-height: 400px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #cfd6dd;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 30;
}

.searchpro__field .searchpro__field-category,
.searchpro__field .searchpro__field-subcategory {
  padding: 8px 18px;
  font-size: 14px;
  color: #4c5b68;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color .2s ease, color .2s ease;
}

.searchpro__field .searchpro__field-category-all,
.searchpro__field .searchpro__field-subcategory-all {
  color: #1f2d3a;
}

.searchpro__field .searchpro__field-category.selected,
.searchpro__field .searchpro__field-subcategory.selected {
  font-weight: 500;
  color: #2C4E84;
}

.searchpro__field .searchpro__field-category:hover,
.searchpro__field .searchpro__field-subcategory:hover {
  background: #f7f9fb;
  color: #2C4E84;
}

.searchpro__field .searchpro__field-category:first-child {
  padding-top: 14px;
}

.searchpro__field .searchpro__field-category:last-child,
.searchpro__field .searchpro__field-subcategories-list:last-child .searchpro__field-subcategory:last-child {
  padding-bottom: 14px;
}

.searchpro__field .searchpro__field-subcategories-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.searchpro__field .searchpro__field-subcategories-list .searchpro__field-subcategory {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 38px;
}

.searchpro__field .searchpro__field-subcategories-list .searchpro__field-subcategory span {
  padding-left: 12px;
}

.searchpro__field .searchpro__field-subcategories-list .searchpro__field-subcategory:before {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background-image: url(subcategory-list-icon.svg);
  background-size: contain;
}

.searchpro__field .searchpro__field-subcategories-list .searchpro__field-subcategory:hover:before {
  background-image: url(subcategory-list-icon-hover.svg);
}

.searchpro__field .searchpro__field-subcategories-list .searchpro__field-subcategories-list .searchpro__field-subcategory {
  padding-left: 50px;
}

.searchpro__field .searchpro__field-subcategories-list .searchpro__field-subcategories-list .searchpro__field-subcategories-list .searchpro__field-subcategory {
  padding-left: 60px;
}

.js-searchpro__dropdown,
.js-searchpro__helper {
  position: absolute;
  z-index: 999;
}

.searchpro__dropdown {
  position: relative;
  z-index: 800;
  max-height: 600px;
  margin-top: 6px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #cfd6dd;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.searchpro__dropdown .searchpro__dropdown-view-all {
  border-top: 1px solid #e8edf2;
}

.searchpro__dropdown .searchpro__dropdown-view-all-link {
  display: block;
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
  color: #2C4E84;
  transition: background-color .2s ease, color .2s ease;
}

.searchpro__dropdown .searchpro__dropdown-view-all-link:hover {
  background: #f7f9fb;
  color: #264582;
}

.searchpro__dropdown .searchpro__dropdown-view-all-link.js-searchpro__dropdown-entity--active {
  background: #f7f9fb;
  color: #2C4E84;
}

.searchpro__dropdown .searchpro__dropdown-group-title {
  padding: 10px 18px;
  font-size: 12px;
  color: #7c8a96;
  text-transform: uppercase;
}

.searchpro__dropdown a.searchpro__dropdown-entity {
  color: #1f2d3a;
  text-decoration: none;
}

.searchpro__dropdown .searchpro__dropdown-entity {
  display: block;
  padding: 8px 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color .2s ease, color .2s ease;
}

.searchpro__dropdown .searchpro__dropdown-entity:hover,
.searchpro__dropdown .searchpro__dropdown-entity.js-searchpro__dropdown-entity--active {
  background-color: #f7f9fb;
}

.searchpro__dropdown .searchpro__dropdown-entity_delete-button {
  float: right;
  opacity: 0;
  font-size: 12px;
  color: #9aa6b2;
  transition: opacity .2s ease, color .2s ease;
}

.searchpro__dropdown .searchpro__dropdown-entity_delete-button:hover {
  color: #2C4E84;
}

.searchpro__dropdown .searchpro__dropdown-entity:hover .searchpro__dropdown-entity_delete-button,
.searchpro__dropdown .searchpro__dropdown-entity.js-searchpro__dropdown-entity--active .searchpro__dropdown-entity_delete-button {
  opacity: 1;
}

.searchpro__dropdown .searchpro__dropdown-entity_name {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.searchpro__dropdown .searchpro__dropdown-entity_subname {
  color: #7c8a96;
  font-size: 12px;
}

.searchpro__dropdown .searchpro__dropdown-entity_image-container {
  float: left;
  margin-right: 10px;
}

.searchpro__dropdown .searchpro__dropdown-entity_summary {
  margin-top: 5px;
  font-size: 12px;
  color: #6f7c88;
  white-space: normal;
}

.searchpro__dropdown .searchpro__dropdown-entity_price {
  font-size: 16px;
  font-weight: 500;
}

.searchpro__dropdown .searchpro__dropdown-entity_price .ruble {
  font-family: 'ALSRubl-Arial', Arial, sans-serif;
}

.searchpro__dropdown .searchpro__dropdown-entity_price-container {
  margin-top: 5px;
}

.searchpro__dropdown .searchpro__dropdown-entity_compare-price {
  font-size: 12px;
  color: #7c8a96;
  text-decoration: line-through;
}

.searchpro__dropdown .searchpro-highlighted {
  font-weight: 500;
  color: #2C4E84;
}