﻿:root {
  --primary-color: #03B586;
  --primary-hover: #1F8369;
  --secondary-color: #f1f3f9;
  --bg-second-color: #EFF1F8;
  --background-color: #fff;
  --white-grey: #D5D5D5;
  --black-color: #000000;
  --red-color: #FC4444;
  --hit-color: #FD6969;
  --blue-light-color: #7499E0;
  --grey-color: #6C6C6C;
  --grey-light: #C7C7CC;
  --green-color: #21681b;
  --text-color: #2E2E2E;
  --text-color-grey: #33363F;
  --text-subcolor: #777777;
  --color-btn-hover: #035487;
  --color-bg-modal: rgba(0,0,0,0.4);
  --properties-bg-color: #E9EDF6;
  --bg-producent: #B6CEF1;
  --checkbox-color: #33363f;
  --filter-color: #d2dbee;
  --logo-col: #FFA500;
  --title-col: #67686E;
  --text-col-grey: #2e2e33;
  --color-33: #333333;
  --color-titles: #434343;
  --color-grey: #45454C;
  --color-dark: #1d1d1f;
  --color-353: #353539;
  --color-h2: #383A3C;
  --color-yellow: #FBE601;
  --color-84: #8496B7;
  --color-cont: #FAA61A;
  --color-uni: #ED1D25;
  --color-bar: #20438C;
  --color-falk: #20438C;
  --color-kum: #CCA770;
  --font-family: "Open Sans", sans-serif;
  --font-secondary: "Roboto", sans-serif;
  --line-height-base: 20px;
  --line-stand: 27px;
  --font-max-mini: 10px;
  --font-mini: 11px;
  --font-size-small: 12px;
  --font-small: 13px;
  --font-size-base: 14px;
  --font-size-extra: 15px;
  --font-size-up: 16px;
  --font-17: 17px;
  --font-size-large: 18px;
  --font-size-low: 19px;
  --font-big: 20px;
  --font-big2: 22px;
  --font-title: 24px;
  --font-tab: 25px;
  --font-26: 26px;
  --font-27: 27px;
  --font-card-name: 28px;
  --font-30: 30px;
  --font-h1: 32px;
  --font-34: 34px;
  --font-tablet: 36px;
  --font-h1-desktop: 40px;
  --font-45: 45px;
  --size-huge: 46px;
  --font-50: 50px;
  --font-weight-normal: 400;
  --font-weight500: 500;
  --font-weight-bold: 600;
  --font-max-bold: 700;
  --transition-duration: 500ms;
  --transition-ease: ease-out;
  --shadow-right-bottom: rgba(0,0,0,.15) 2.4px 2.4px 3.2px;
  --radius-min: 4px;
  --radius-stand: 10px;
  --radius-mix: 14px;
  --line-top-bottom: 1px solid #D3DBEE;
  --line2-top-bottom: 1px solid #dde3f1;
  --line3-border: 1px solid #B2B2B2;
  --border-line: 1px solid #C1C1C1;
  --radius-input: 19px;
}

:root {
  --primary-color: #03B586;
  --primary-hover: #1F8369;
  --secondary-color: #f1f3f9;
  --bg-second-color: #EFF1F8;
  --background-color: #fff;
  --white-grey: #D5D5D5;
  --black-color: #000000;
  --red-color: #FC4444;
  --hit-color: #FD6969;
  --blue-light-color: #7499E0;
  --grey-color: #6C6C6C;
  --grey-light: #C7C7CC;
  --green-color: #21681b;
  --text-color: #2E2E2E;
  --text-color-grey: #33363F;
  --text-subcolor: #777777;
  --color-btn-hover: #035487;
  --color-bg-modal: rgba(0,0,0,0.4);
  --properties-bg-color: #E9EDF6;
  --bg-producent: #B6CEF1;
  --checkbox-color: #33363f;
  --filter-color: #d2dbee;
  --logo-col: #FFA500;
  --title-col: #67686E;
  --text-col-grey: #2e2e33;
  --color-33: #333333;
  --color-titles: #434343;
  --color-grey: #45454C;
  --color-dark: #1d1d1f;
  --color-353: #353539;
  --color-h2: #383A3C;
  --color-yellow: #FBE601;
  --color-84: #8496B7;
  --color-cont: #FAA61A;
  --color-uni: #ED1D25;
  --color-bar: #20438C;
  --color-falk: #20438C;
  --color-kum: #CCA770;
  --font-family: "Open Sans", sans-serif;
  --font-secondary: "Roboto", sans-serif;
  --line-height-base: 20px;
  --line-stand: 27px;
  --font-max-mini: 10px;
  --font-mini: 11px;
  --font-size-small: 12px;
  --font-small: 13px;
  --font-size-base: 14px;
  --font-size-extra: 15px;
  --font-size-up: 16px;
  --font-17: 17px;
  --font-size-large: 18px;
  --font-size-low: 19px;
  --font-big: 20px;
  --font-big2: 22px;
  --font-title: 24px;
  --font-tab: 25px;
  --font-26: 26px;
  --font-27: 27px;
  --font-card-name: 28px;
  --font-30: 30px;
  --font-h1: 32px;
  --font-34: 34px;
  --font-tablet: 36px;
  --font-h1-desktop: 40px;
  --font-45: 45px;
  --size-huge: 46px;
  --font-50: 50px;
  --font-weight-normal: 400;
  --font-weight500: 500;
  --font-weight-bold: 600;
  --font-max-bold: 700;
  --transition-duration: 500ms;
  --transition-ease: ease-out;
  --shadow-right-bottom: rgba(0,0,0,.15) 2.4px 2.4px 3.2px;
  --radius-min: 4px;
  --radius-stand: 10px;
  --radius-mix: 14px;
  --line-top-bottom: 1px solid #D3DBEE;
  --line2-top-bottom: 1px solid #dde3f1;
  --line3-border: 1px solid #B2B2B2;
  --border-line: 1px solid #C1C1C1;
  --radius-input: 19px;
}

.search-engine {
  padding: 20px 0;
  background-color: var(--bg-second-color);
}
.search-engine-box .search-box {
  background: var(--background-color);
  padding: 24px 29px 24px 29px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 272px;
  margin: 0 auto;
  border-top: 6px solid var(--primary-color);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.search-engine-box .search-box-title {
  font-family: var(--font-family);
  font-size: var(--font-big);
  font-weight: var(--font-weight-bold);
  padding: 0 0 20px 0;
  text-align: center;
}
.search-engine-box .form-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 15px;
}
.search-engine-box .form-row .form-group-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-engine-box .top .form-group {
  flex: 1;
  max-width: 124px;
}
.search-engine-box .top .size {
  flex: 1;
  max-width: 80px;
}
.search-engine-box .middle {
  gap: 16px;
  border-top: 1px solid var(--grey-light);
  padding-top: 20px;
  justify-content: center;
}
.search-engine-box .middle .brand {
  flex: 1;
  max-width: 152px;
}
.search-engine-box .middle .code {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}
.search-engine-box .middle .code label {
  font-family: var(--font-family);
  font-size: var(--font-size-up);
  font-weight: var(--font-weight-normal);
  color: var(--text-color);
  display: flex;
  width: 160px;
}
.search-engine-box .middle .code input {
  width: 272px;
  border: 1px solid var(--grey-light);
  padding: 6px 8px;
  font-family: inherit;
  font-size: var(--font-size-base);
  background-color: var(--background-color);
  color: var(--color-grey);
  box-sizing: border-box;
}
.search-engine-box .middle .btn-add {
  font-family: var(--font-family);
  font-size: var(--font-size-up);
  font-weight: var(--font-weight-normal);
  color: var(--background-color);
  background-color: var(--primary-color);
  border: none;
  padding: 8px 20px;
  border-radius: 12px;
  cursor: pointer;
  align-self: flex-end;
  transition: background-color 0.6s ease-in-out;
}
.search-engine-box .middle .btn-add:hover {
  background-color: var(--primary-hover);
}
.search-engine-box label {
  font-family: var(--font-family);
  font-size: var(--font-mini);
  font-weight: var(--font-weight-normal);
  color: #73737F;
  display: block;
  margin-bottom: 5px;
  background: var(--background-color);
  text-align: center;
}
.search-engine-box .custom-select {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  color: var(--color-grey);
  background-color: var(--background-color);
  border: 1px solid var(--grey-light);
  width: 100%;
  display: inline-block;
  position: relative;
  cursor: pointer;
}
.search-engine-box .custom-select-inner {
  background-color: var(--background-color);
  border-radius: 0;
  box-sizing: border-box;
  position: relative;
}
.search-engine-box .selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  cursor: pointer;
}
.search-engine-box .arrow {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  transition: transform 0.6s ease;
}
.search-engine-box .custom-select.open .arrow {
  transform: rotate(180deg);
}
.search-engine-box .options-search {
  position: absolute;
  left: -1px;
  top: calc(100% + 33px);
  width: calc(100% + 2px);
  z-index: 9999;
  background-color: var(--background-color);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 150px;
  overflow-y: auto;
  height: auto;
  display: none;
  border-bottom: 1px solid var(--grey-light);
}
.search-engine-box .options {
  position: absolute;
  top: 100%;
  left: -1px;
  width: calc(100% + 2px);
  z-index: 9999;
  background-color: var(--background-color);
  display: none;
  z-index: 1000;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 150px;
  overflow-y: auto;
  height: auto;
  border-bottom: 1px solid var(--grey-light);
}
.search-engine-box .brand-search {
  display: none;
  position: absolute;
  top: 100%;
  left: -1px;
  width: calc(100% + 2px);
  z-index: 1001;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid var(--grey-light);
  background-color: white;
  margin: 0;
  border-bottom: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.search-engine-box .custom-select.open .brand-search {
  display: block;
}
.search-engine-box .custom-select.open .options {
  display: block;
}
.search-engine-box .custom-select.open .options-search {
  display: block;
}
.search-engine-box .options li, .search-engine-box .options-search li {
  padding: 6px;
  border-right: 1px solid var(--grey-light);
  border-left: 1px solid var(--grey-light);
  background-color: white;
}
.search-engine-box .options li:hover, .search-engine-box .options-search li:hover {
  padding: 6px;
  border-right: 1px solid var(--grey-light);
  border-left: 1px solid var(--grey-light);
  background-color: var(--grey-light);
}
.search-engine-box .options li:first-child, .search-engine-box .options-search li:first-child {
  border-top: 1px solid var(--grey-light);
}
.search-engine-box .options li:last-child, .search-engine-box .options-search li:last-child {
  border-bottom: 1px solid var(--grey-light);
}
.search-engine-box .search-button {
  font-family: var(--font-family);
  font-size: var(--font-big);
  font-weight: var(--font-weight-bold);
  color: var(--background-color);
  background-color: var(--primary-color);
  border: none;
  padding: 7px 24px;
  border-radius: 12px;
  cursor: pointer;
  align-self: flex-end;
  transition: background-color 0.6s ease-in-out;
  max-height: 46px;
}
.search-engine-box .search-button:hover {
  background-color: var(--primary-hover);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .search-engine-box .search-box {
    max-width: 647px;
    padding: 24px 40px 24px 40px;
  }
  .search-engine-box .search-box-title {
    text-align: left;
  }
  .search-engine-box .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 15px;
  }
  .search-engine-box .top .form-group {
    flex: 1;
    max-width: 176px;
  }
  .search-engine-box .top .size {
    flex: 1;
    max-width: 80px;
  }
  .search-engine-box .middle {
    gap: 16px;
    justify-content: flex-start;
  }
  .search-engine-box .middle .brand {
    flex: 1;
    max-width: 176px;
  }
  .search-engine-box .middle .code {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-direction: inherit;
  }
  .search-engine-box .middle .code label {
    font-family: var(--font-family);
    font-size: var(--font-size-up);
    font-weight: var(--font-weight-normal);
    color: var(--text-color);
    display: flex;
    width: 160px;
  }
  .search-engine-box .middle .code input {
    width: 320px;
    border: 1px solid var(--grey-light);
    padding: 6px 8px;
    font-family: inherit;
    font-size: var(--font-size-base);
    background-color: var(--background-color);
    color: var(--color-grey);
    box-sizing: border-box;
  }
}
@media (min-width: 1200px) {
  .search-engine-box .top-top {
    display: flex;
    gap: 18px;
  }
  .search-engine-box .top-top .width {
    width: 176px;
  }
  .search-engine-box .top-top .width-des {
    width: 80px;
  }
  .search-engine-box .search-box {
    max-width: 1016px;
    padding: 24px 48px 12px 48px;
  }
  .search-engine-box .search-box-title {
    text-align: left;
  }
  .search-engine-box .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
  }
  .search-engine-box .top .form-group {
    flex: 1;
    max-width: 176px;
  }
  .search-engine-box .top .size {
    flex: 1;
    max-width: 80px;
  }
  .search-engine-box .middle {
    gap: 16px;
    justify-content: flex-start;
  }
  .search-engine-box .middle .brand {
    flex: 1;
    max-width: 176px;
  }
  .search-engine-box .middle .code {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-direction: inherit;
  }
  .search-engine-box .middle .code label {
    font-family: var(--font-family);
    font-size: var(--font-size-up);
    font-weight: var(--font-weight-normal);
    color: var(--text-color);
    display: flex;
    width: 160px;
  }
  .search-engine-box .middle .code input {
    width: 320px;
    border: 1px solid var(--grey-light);
    padding: 6px 8px;
    font-family: inherit;
    font-size: var(--font-size-base);
    background-color: var(--background-color);
    color: var(--color-grey);
    box-sizing: border-box;
  }
  .search-engine-box .middle .form-group-btn .btn-add {
    font-family: var(--font-family);
    font-size: var(--font-size-up);
    font-weight: var(--font-weight-normal);
    color: var(--background-color);
    background-color: var(--primary-color);
    border: none;
    padding: 8px 20px;
    border-radius: 12px;
    cursor: pointer;
    align-self: flex-end;
    transition: background-color 0.6s ease-in-out;
  }
  .search-engine-box .middle .btn-add:hover {
    background-color: var(--primary-hover);
  }
}
