.bx-searchtitle {
  margin: 10px 0 0;
}
.bx-searchtitle-history {
  margin-top: 5px;
}
.bx-searchtitle-history a {
  color: #222;
  text-decoration: underline;
}
.bx-searchtitle-history a:hover {
  text-decoration: none;
}
.bx-searchtitle-popup-history {
  padding: 0 8px 8px 8px;
}
.bx-searchtitle-popup-history-title {
  font-size: 16px;
}
.bx-searchtitle-popup-history-item {
  padding: 4px 0;
}
.bx-searchtitle-popup-history-item::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url(images/search-icon.svg) center center no-repeat;
  background-size: 12px auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
.bx-searchtitle-popup-history a {
  color: #222;
  text-decoration: underline;
  vertical-align: middle;
}
.bx-searchtitle-popup-history a:hover {
  text-decoration: none;
}

.header__search form .bx-block-title {
  font-family: Arial, Helvetica, sans-serif;
  color: #343434;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 9px;
  font-weight: 600;
}
.header__search form .bx-input-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0px;
  gap: 8px;
  width: 100%;
  height: 100%;
}

.header__search form .bx-input-group-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
}

div.title-search-result {
  border: 0 none !important;
  border-top: 0 none;
  display: none;
  overflow: hidden;
  z-index: 999;
  min-width: 200px;

  margin-top: 0px;

  background-color: rgba(255, 255, 255, 0.01);
}

div.title-search-fader {
  display: none;
  background-image: url("images/fader.png");
  background-position: right top;
  background-repeat: repeat-y;
  position: absolute;
}

p.title-search-preview {
  font-size: 12px;
}
div.title-search-result td.title-search-price span {
  font-size: 26px;
}

.bx_smart_searche {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-top: 0;
  border-radius: 0px 0px 48px 48px;
}
.bx_smart_searche .bx_info_wrap {
  margin-left: 85px;
}
.bx_smart_searche .bx_img_element {
  float: left;
  padding: 5px;
  width: 75px;
  text-align: center;
}
.bx_smart_searche .bx_item_block {
  min-height: 65px;
  position: relative;
}
.bx_smart_searche .bx_image {
  display: inline-block;
  max-width: 100%;
}
.bx_smart_searche .bx_image.empty_image {
  background-image: url(image/noimg.png);
}
.bx_smart_searche .bx_item_element {
  padding: 8px 0;
}
.bx_smart_searche .bx_item_element.bx_item_element_all_result {
  padding: 24px;
}
.bx_smart_searche .bx_item_element_all_result {
  text-align: center;
}
.bx_smart_searche .bx_item_element hr {
  margin: 0;
  border: none;
  border-bottom: 1px solid #e5e5e5;
}
.bx_smart_searche .bx_item_element a {
  margin-top: 5px;
  display: inline-block;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
}
.bx_smart_searche .bx_item_element a b {
  font-weight: bold;
}
.bx_smart_searche .bx_item_element a b {
  color: #000;
}
.bx_smart_searche .bx_item_element a:hover,
.bx_smart_searche .bx_item_element a:hover b {
  text-decoration: underline;
}
.bx_smart_searche .bx_item_preview_text {
  font-size: 13px;
  padding: 5px 10px 5px 0;
}
.bx_smart_searche .bx_price {
  font-weight: bold;
  font-size: 15px;
  margin-top: 5px;
}
.bx_smart_searche .bx_price .old {
  font-weight: normal;
  text-decoration: line-through;
  color: #636363;
  font-size: 12px;
  vertical-align: middle;
}
.bx_smart_searche .bx_item_block.all_result {
  min-height: 0;
}
.bx_smart_searche .bx_item_block.others_result {
  min-height: 0;
  line-height: 12px;
  padding: 0;
}
.bx_smart_searche .bx_item_block.all_result .all_result_button {
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 110%;
  text-align: center;
  color: #f25354;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
}
.bx_smart_searche .bx_item_block.all_result .all_result_button:after {
  flex: 0 0 auto;
  content: "";
  width: 21px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg width='21' height='20' viewBox='0 0 21 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 3.75L14.25 10L8 16.25' stroke='%23F25354' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
    center no-repeat;
}
.bx_smart_searche .bx_item_block_title {
  font-weight: bold;
  font-size: 16px;
  margin: 4px 8px;
}
.bx_smart_searche .bx_item_block_href {
  --gap-x: 24px;
  --gap-y: 14px;
  --image-w: 75px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-y) var(--gap-x);
  align-items: center;
  text-decoration: none;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.03);
  border-radius: 30px;
}
.bx_smart_searche .bx_item_block_href:hover {
  box-shadow: 0px 7px 15px rgba(0, 0, 0, 0.1);
}

.bx_smart_searche .bx_item_block_hrline {
  border-bottom: 1px solid #f5a61c;
  margin: 0 8px 5px;
}
.bx_item_block_item_clear {
  display: block;
  clear: both;
}
.bx_smart_searche .bx_item_block_item_info_wrap,
.bx_smart_searche .bx_item_block_href_category_block {
  max-width: calc(100% - var(--image-w) - var(--gap-x));
  flex: 1 1 auto;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}
.bx_smart_searche .bx_item_block_item_info {
  display: block;
}
.bx_smart_searche .bx_item_block_href_category_title {
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 120%;
  color: #f25354;
}
.bx_smart_searche .bx_item_block_href_category_name {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 110%;
  color: #343434;
}
.bx_smart_searche .bx_item_block_item_image {
  flex: 0 0 auto;
  width: var(--image-w);
  height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f3f4;
  border-radius: 16px;
  overflow: hidden;
}
.bx_smart_searche .bx_item_block_item_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bx_item_block_item_image svg {
}
.bx_smart_searche .bx_item_block_item_name {
  overflow: hidden;
  display: flex;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 110%;
  color: #343434;
}
.bx_smart_searche .bx_item_block_item_name_flex_align {
  margin: auto 0;
}
.bx_smart_searche .bx_item_block_item_simple_name {
  color: #333;
  display: block;
  line-height: 17px;
}
.bx_smart_searche .bx_item_block_item_name b,
.bx_smart_searche .bx_item_block_item_simple_name b {
  color: #f5a61c;
}
.bx_smart_searche .bx_item_block_item_price {
  float: right;
  text-align: right;
  color: #333;
  line-height: 17px;
}
.bx_smart_searche .bx_item_block_item_velvet_price {
  width: 100%;
  padding-left: calc(var(--gap-x) + var(--image-w));
  flex: 0 0 auto;
  white-space: nowrap;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
  text-align: left;
  color: #313131;
}
.bx_smart_searche .bx_item_block_item_price.bx_item_block_item_price_only_one {
  line-height: 34px;
}
.bx_smart_searche .bx_item_block_item_price .bx_price_new {
  white-space: nowrap;
  font-weight: bold;
  display: block;
}
.bx_smart_searche .bx_item_block_item_price .bx_price_old {
  white-space: nowrap;
  text-decoration: line-through;
}
.bx_smart_searche .bx_item_block_item_text {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 120%;
  color: #6e6e6e;
  max-height: 48px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bx_smart_searche .bx_item_block_item_props {
  color: #9b9b9b;
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 15px;
}
.bx_smart_searche .bx_item_block_item_text.wpic,
.bx_smart_searche .bx_item_block_item_props.wpic {
}
.bx_item_block_item_prop_item {
  display: block;
}
.bx_smart_no_result_find {
  padding: 0 8px 8px;
}

.header__search form .bx-searchtitle-clear {
  position: absolute;
  top: 50%;
  right: calc(100% + 20px);
  transform: translate(0, -50%);
  width: 28px;
  height: 28px;
  z-index: 4;
  display: none;
  font-size: 28px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  color: #666;
}
.header__search form .bx-searchtitle-clear:after {
  display: inline-block;
  content: "\00d7";
}

.header__search form .bx-searchtitle-voice {
  position: absolute;
  top: 3px;
  right: 110%;
  width: 28px;
  height: 28px;
  z-index: 4;
  display: none;
  font-size: 28px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  color: #666;
  background: url(images/voice.svg?v=3) center center no-repeat;
  background-size: 22px auto;
}
.header__search form .bx-searchtitle-voice.voice-show {
  display: block;
}

.header__search form .bx-searchtitle-voice.active::after,
.header__search form .bx-searchtitle-voice.active::before {
  content: "";
  position: absolute;
  border: 3px solid #3d64ff;
  left: -20px;
  opacity: 0;
  right: -20px;
  top: -20px;
  bottom: -20px;
  border-radius: 50%;
  animation: searchpulse 2.5s linear infinite;
}

.header__search form .bx-searchtitle-voice.active::after {
  animation-delay: 1.25s;
}

@keyframes searchpulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.header__search form .bx-searchtitle-preloader {
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(-20px, -50%);
  width: 30px;
  height: 30px;
  z-index: 5;
  display: none;
}
.header__search form .bx-searchtitle-preloader.view {
  background: url(images/loader_black.gif) center center no-repeat #fff;
}

.header__search.focus form [type="submit"] {
  background-image: none;
  background-color: #f25354;
  color: #fff;
  font-size: 13px;
  width: 100px;
  height: 40px;
  border-radius: 12px;
  flex: 0 0 auto;
}
.header__search.focus form [type="submit"]:before {
  content: attr(data-text);
}

@media (min-width: 756px) {
  .header__search {
    transition: all 0.35s ease;
  }
  .header__search.focus {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background-color: #fff;
    height: 100%;
    align-items: center;
    display: flex;
    z-index: 3;
    gap: 8px;
    padding: 0 30px;
  }
  .header__search.focus form {
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  .header__search.focus form .bx-input-group {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 0 20px;
  }

  .header__search.focus .close-mobile-search {
    display: inline-flex;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    background: var(--close) center no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.5 3.5L3.5 12.5' stroke='%23676767' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12.5 12.5L3.5 3.5' stroke='%23676767' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    cursor: pointer;
  }
}
@media (max-width: 755px) {
  div.title-search-result {
    padding-top: 0;
    margin-top: -2px;
  }
  .bx_smart_searche {
    border-top: 1px solid #e1e1e1;
    padding: 14px 15px;
    border-radois: 0 0 24px 24px;
  }
  .header__search form [type="submit"] {
    background-image: none;
    background-color: #f25354;
    color: #fff;
    font-size: 13px;
    width: 100px;
    height: 40px;
    border-radius: 12px;
    flex: 0 0 auto;
    width: 100%;
  }
  .header__search form [type="submit"]:before {
    content: attr(data-text);
  }

  .header__search.focus form [type="submit"] {
    width: 100%;
  }
  .bx_smart_searche .bx_item_block_href {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 8px 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 16px;
  }
  .bx_smart_searche .bx_item_block_item_image {
    width: 56px;
    height: 48px;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .bx_smart_searche .bx_item_block_item_info_wrap,
  .bx_smart_searche .bx_item_block_href_category_block {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    gap: 4px;
  }
  .bx_smart_searche .bx_item_block_item_name {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .bx_smart_searche .bx_item_block_item_text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 11px;
  }
  .bx_smart_searche .bx_item_block_item_velvet_price {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    text-align: left;
    font-size: 16px;
    padding-left: 0;
  }
}
