.header-controls .search-toggle {
  margin-top: 3px;
  cursor: pointer; }



.header-controls .search-toggle img,
.header-controls .сabinet-box img {
  display: block;
  max-width: 28px; }

.search-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0 20px 35px;
  background-color: #fff;
  transition: 0.25s;
  transform: translateY(-150%);
  z-index: 10000; }

.search-box.active {
  transform: translateY(0); }

.search-box .form-holder {
  position: relative; }

.search-box .search-btn {
  position: absolute;
  top: 0;
  right: 0;
  height: 42px;
  color: #fff;
  #border-radius: 40px;
 background: linear-gradient(89.81deg, #E64747 0.17%, #D9BCB3 94.11%);
  width: 80px;
  border: 0; }

.search-box .search-close {
  position: absolute;
  width: 32px;
  height: 32px;
  top: 24px;
  left: 7px;
  background: url(../img/icons/close-icon.svg) no-repeat center;
  background-size: 60%;
  border: 0;
  outline: 0;
  transition: 0.25s;
  cursor: pointer; }

.search-box .form-control {
  padding: 0 90px 0 12px;
  font-size: 13px; }

.search-autoresult {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 1;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #c4c4c4;
  overflow: hidden; }

.search-autoresult .badge-new,
.search-autoresult .badge-sale,
.search-autoresult .badge-top {
  font-size: 10px;
  left: -5px;
  top: 5px;
  padding: 1px 8px; }

.search-autoresult .product-item {
  display: flex;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #E2E2E2;
  padding: 3px 0;
  align-items: center;
  box-shadow: none;
  height: auto; }

.search-autoresult .product-item:hover {
  box-shadow: none; }

.search-autoresult .product-item .product-img {
  width: 60px;
  height: 60px;
  margin-right: 10px;
  margin-top: 10px;
  position: relative; }

.search-autoresult .product-img a {
  display: block;
  width: 100%;
  height: 100%; }

.search-autoresult .product-img img {
  display: block;
  max-width: 100%;
  max-height: 100%; }

.search-autoresult .product-img:hover {
  opacity: 0.8; }

.search-autoresult .product-name {
  font-size: 14px; }

.search-autoresult .product-name a {
  color: #252525;
  text-decoration: none; }

.search-autoresult .product-name a:hover {
  color: #FF4C00;
  text-decoration: underline; }

.search-autoresult .product-cost {
  position: static !important; }

.search-autoresult .new-cost,
.search-autoresult .default-cost {
  display: inline-block;
  vertical-align: bottom; }

.search-autoresult .old-cost {
  font-size: 14px; }

.search-autoresult .max-scroll {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding-left: 10px;
  padding-right: 10px; }

.search-autoresult .failed-search {
  text-align: center;
  padding: 40px 10px; }

.search-autoresult .failed-search img {
  display: block;
  max-width: 40px;
  margin: 0 auto 10px;
  flex: 0 0 100%; }

.search-autoresult .failed-search .failed-text {
  font-weight: 600;
  font-size: 16px;
  max-width: 280px;
  margin: 0 auto; }

.search-autoresult .show-all-results {
  text-align: center;
  padding: 8px;
  margin-top: -2px;
  position: relative;
  height: 70px; }

.search-autoresult .show-all-results a {
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  height: 38px;
  background: linear-gradient(89.81deg, #BE8FCF 0.17%, #B8B3D9 94.11%); }

.search-autoresult .show-all-results a span {
  font-weight: 700;
  font-size: 18px;
  margin-left: 5px; }
  
  @media (min-width: 421px) {
  .search-box .form-control {
    padding-right: 130px; }
  .search-box .search-btn {
    width: 120px; } }
    
@media (min-width: 576px) {
  .search-autoresult .product-item {
    padding: 5px 0; }
  .search-autoresult .product-item .product-cost {
    flex-wrap: wrap; }
  .search-autoresult .product-img {
    flex: 0 0 60px; }
  .search-autoresult .product-name {
    flex-grow: 1;
    margin-right: auto;
    font-weight: 500; }
  .search-autoresult .product-text {
    flex-grow: 1;
    display: flex; }
  .search-autoresult .product-cost {
    margin-left: auto;
    flex: 0 0 120px;
    justify-content: flex-end; }
  .search-autoresult .product-item .old-cost {
    order: 1; }
  .search-autoresult .product-item .new-cost,
  .search-autoresult .product-item .default-cost {
    order: 2;
    margin-right: 0;
    width: 100%;
    text-align: right; } }

@media (min-width: 768px) {

  .header-controls {
    width: 280px; }
  .search-box .form-control {
    font-size: 14px;
    height: 48px; }
  .search-box .search-btn {
    height: 48px; }
  .search-box .search-close {
    top: 28px; }
  .search-autoresult .show-all-results a {
    left: 0;
    right: 0;
    width: 400px;
    margin: 0 auto; } }

@media (min-width: 992px) {
  .search-box .form-holder {
    max-width: 800px;
    margin: 0 auto; }
  .search-box .form-control {
    padding-right: 290px;
    font-size: 16px;
    padding-left: 20px; }
  .search-box .search-btn {
    width: 280px;
    font-size: 18px; }
  .search-box .search-close {
    left: auto;
    right: 20px; }
  .search-autoresult {
    width: 800px;
    right: 0;
    left: 30px;
    margin: 0 auto;
    top: calc(100% + 3px);
    border-radius: 10px;
    overflow: hidden;
    padding-top: 10px; }
  .search-autoresult .max-scroll {
    padding-left: 20px;
    padding-right: 20px; } }    
    
    
@media (min-width: 1200px) {
  
  .search-box {
    padding: 20px 60px 20px 0; }
  .search-box .search-close {
    left: auto;
    right: 20px;
    background-size: 24px; }
  .search-autoresult {
    left: -60px; }}
    