.header_search {
  position: relative;
}
.header_search .header_search_blcks {
  width: 100%;
}
.header_search_suggestions {
  position: absolute;
  top: 60px;
  background: #fff;
  left: -135px;
  -webkit-box-shadow: 5px 5px 40px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 5px 5px 40px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 5px 5px 40px 0px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: row;
}
.header_search_suggestions .suggestions_words {
  padding: 20px;
  width: 390px;
}
.header_search_suggestions .suggestion-item {
  margin-bottom: 10px;
}
.header_search_suggestions .suggestion-item:last-child {
  margin-bottom: 0;
}
.header_search_suggestions .suggestion-item a {
  display: block;
  width: 100%;
  padding: 5px 10px;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
}
.header_search_suggestions .suggestions_cat {
  padding: 20px;
  border-top: 1.5px solid #E7E4ED;
}
.header_search_suggestions .suggestions_cat h4 {
  font-weight: 300;
  font-size: 18px;
  line-height: 24px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.header_search_suggestions .suggestions_cat a {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  margin-bottom: 15px;
}
.header_search_suggestions .suggestions_cat a:hover {
  background: #F5F5FA;
}
.header_search_suggestions .suggestions_cat a img {
  width: 55px;
  margin-right: 10px;
}
.header_search_suggestions .suggestions_product {
  width: 365px;
  border-left: 1.5px solid #E7E4ED;
  padding: 20px;
}
.good_item.search_product {
  position: relative;
  border-radius: 8px;
}
.good_item.search_product:hover {
  background: #F5F5FA;
}
.good_item.search_product .good_item_front {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 15px;
}
.good_item.search_product .good_item_front .right {
  width: 100%;
}
.good_item.search_product .good_item_img {
  width: 55px;
  height: 55px;
}
.good_item.search_product .good_item_text {
  font-size: 14px;
  line-height: 18px;
}
.good_item.search_product .right .bottom {
  display: flex;
  justify-content: space-between;
}
.good_item.search_product .good_item_char_price {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 0;
}
.good_item.search_product .add_to_cart_button.button {
  margin-top: 0;
  width: 87px;
  height: 24px;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  padding: 3px 15px;
  border-radius: 4px;
}
.good_item.search_product .cartcalc {
  width: 87px;
  height: 24px;
  gap: 2px;
}
.good_item.search_product .cartcalc button {
  width: 24px;
  height: 24px;
  padding: 6px;
  border-radius: 4px;
}
.good_item.search_product .cartcalc button::before,
.good_item.search_product .cartcalc button::after {
  border-radius: 2px;
  width: 8px;
  left: 8px;
  right: 8px;
  margin: 0;
}
.good_item.search_product .cartcalc input.qty {
  padding: 3px;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  font-size: 14px;
  line-height: 18px;
}
.good_item.search_product .quantity {
  margin: 0;
}

@media (max-width: 991px) {
  .header_search .header_search_blcks {
    position: fixed;
    top: 3.1rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 3rem);
    background: white;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding-bottom: 1rem;
    padding: 35px 20px;
  }
  .header_search .header_search_blcks.active {
    transform: translateX(0);
  }
  .header_search .header_search_input input,
  .header_search .header_search_input .btn {
    height: 36px;
  }
  .header .header_search_blcks.active .header_search_input {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: 36px;
  }
  .header_search_close {
    margin-top: 15px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 15px;
  }
  .header_search_close svg {
    width: auto;
  }
  .header_search_suggestions {
    position: relative;
    top: auto;
    left: auto;
    box-shadow: none;
    border-radius: 0;
  }
  .header_search_suggestions .left {
    width: 100%;
  }
  .header_search_suggestions .suggestions_words {
    width: 100%;
    padding: 0;
    padding-bottom: 15px;
  }
  .header_search_suggestions .suggestion-item {
    margin-bottom: 5px;
  }
  .header_search_suggestions .suggestion-item a {
    padding: 5px 0;
    font-size: 14px;
    line-height: 18px;
  }
  .header_search_suggestions .suggestions_cat {
    padding: 20px 0;
  }
  .header_search_suggestions .suggestions_cat h4 {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 18px;
  }
  .header_search_suggestions .suggestions_cat a {
    padding: 0;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 16px;
  }
  .header_search_suggestions .suggestions_cat a img {
    width: 45px;
  }
  .header_search_suggestions .suggestions_product {
    display: none !important;
  }
}

/* 05.11.2025 Правки - уменьшение кол-ва текста */
.good_item.search_product .good_item_text,
.header_search_suggestions .suggestion-item a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}
/* END 05.11.2025 Правки - уменьшение кол-ва текста */
