.search-field {
  position: relative;
  width: 100%;
  border-radius: 10px;
  z-index: 2;
  background-color: transparent;
  transition: background-color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), border-radius 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.search-field.show-results {
  border-radius: 10px 10px 0 0;
}
.search-field__header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
}
.search-field__input {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.04);
}
@media (min-width: 768px) {
  .search-field__input {
    box-shadow: none;
  }
}
.search-field__input_icon {
  position: absolute;
  top: 0;
  left: 14px;
  bottom: 0;
  width: 20px;
  height: 20px;
  margin: auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}
.search-field__input_icon svg {
  width: 17px;
  height: 17px;
}
.search-field__input_input {
  width: 100%;
  height: 100%;
  padding: 17px 45px;
  background-color: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), box-shadow 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
@media (min-width: 768px) {
  .search-field__input_input {
    border-color: transparent;
  }
}
@media (min-width: 1024px) {
  .search-field__input_input {
    font-size: 16px;
  }
}
.search-field__input_input::placeholder {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.24;
  color: #959595;
}
@media (min-width: 1024px) {
  .search-field__input_input::placeholder {
    font-size: 16px;
  }
}
.search-field__input_clear {
  position: absolute;
  top: 0;
  right: 14px;
  bottom: 0;
  width: 26px;
  height: 26px;
  margin: auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 100%;
  overflow: hidden;
  background-color: #f6f6f6;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.search-field__input_clear.active {
  opacity: 1;
  visibility: visible;
}
.search-field__input_clear svg {
  width: 16px;
  height: 16px;
  color: #c6c6c6;
}
.search-field__cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28571;
  color: #ff7100;
}
@media (min-width: 768px) {
  .search-field__cancel {
    display: none;
  }
}
.search-field__results {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-height: 0;
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.search-field__results.active {
  max-height: 600px;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.search-field__results.not-found .search-field__results_none {
  display: block;
}
.search-field__results.not-found .search-field__results_list,
.search-field__results.not-found .search-field__results_footer {
  display: none;
}
.search-field__results_body {
  margin: 0 12px 10px 12px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}
.search-field__results_none {
  display: none;
  padding: 16px 14px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.24;
  color: #636363;
}
.search-field__results_none span {
  color: #ff7100;
  word-break: break-word;
}
.search-field__results_list {
  margin-top: 10px;
  max-height: 510px;
  overflow-y: auto;
}
.search-field__results_list::-webkit-scrollbar {
  width: 3px;
}
.search-field__results_list::-webkit-scrollbar-track {
  background-color: #eaeaea;
  border-radius: 4px;
}
.search-field__results_list::-webkit-scrollbar-thumb {
  background-color: #ff7100;
  border-radius: 4px;
}
.search-field__results_item {
  position: relative;
  padding: 5px;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  transition: background-color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
@media (min-width: 1024px) {
  .search-field__results_item {
    padding: 10px;
  }
}
.search-field__results_item:hover {
  background: rgba(246, 246, 246, 0.5);
}
.search-field__results_item_body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
@media (min-width: 768px) {
  .search-field__results_item_body {
    gap: 15px;
  }
}
@media (min-width: 1024px) {
  .search-field__results_item_body {
    gap: 24px;
  }
}
.search-field__results_item_img {
  flex: 0 0 60px;
  border-radius: 10px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .search-field__results_item_img {
    flex: 0 0 90px;
  }
}
.search-field__results_item_img img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 1024px) {
  .search-field__results_item_img img {
    height: 90px;
  }
}
.search-field__results_item_info {
  flex: 0 1 auto;
  max-width: 550px;
  width: calc(100% - 70px);
  display: flex;
  flex-direction: column;
}
.search-field__results_item_name {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.36;
  color: #959595;
}
@media (min-width: 1024px) {
  .search-field__results_item_name {
    font-size: 16px;
  }
}
.search-field__results_item_name span {
  color: #ff7100;
  font-weight: 600;
}
.search-field__results_item_article {
  position: relative;
  margin-top: 2px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.23077;
  color: #959595;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}
.search-field__results_item_price {
  margin-top: 5px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.24;
  color: #262627;
}
@media (min-width: 1024px) {
  .search-field__results_item_price {
    margin-top: 10px;
    font-size: 15px;
  }
}
.search-field__results_item_link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.search-field__results_show-all {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.36;
  color: #3f4041;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 24px;
}
@media (min-width: 1024px) {
  .search-field__results_show-all {
    font-size: 18px;
  }
}

.header .search-field::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 16px);
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  transition: opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.header .search-field.focused__header {
  background-color: transparent;
}
.header .search-field.focused__input {
  border-radius: 10px;
  overflow: hidden;
}
.header .search-field.focused::before {
  opacity: 1;
  visibility: visible;
}
.header .search-field.focused .search-field__input_input {
  border-color: #eaeaea;
}
.header .search-field__results {
  margin: 0 -12px;
  width: calc(100% + 24px);
}

.header-mobile-search .search-field__input {
  border-radius: 10px;
  overflow: hidden;
}