/* auto-bundled app\assets\TextPageAsset */

/* source: css/first-section.css */

.first-section {
  width: 100vw;
  height: 530px;
  background-color: var(--blue-color);
  position: relative;
  overflow: hidden;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.first-section--background-png {
  background-repeat: no-repeat;
  background-position: right 85% bottom 0;
  background-size: cover;
}

.first-section__content {
  position: relative;
  width: var(--width-container);
  max-width: var(--max-width);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 23px;
  z-index: 2;
}

.first-section__title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 8px;
}

.first-section__breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumbs__text {
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF80;
}

a.breadcrumbs__text {
  color: #FFFFFF80;
  cursor: pointer;
}

@media (min-width: 1201px) {
  a.breadcrumbs__text:hover {
    color: #FFFFFF;
  }
}

.breadcrumbs__devider {
  width: 19px;
  height: 1px;
  background: #FFFFFF80;
  border: none;
  outline: none;
  cursor: pointer;
}

.first-section__title {
  font-size: 48px;
  font-weight: 500;
  color: white;
  max-width: 1240px;
}

.first-section__description {
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF80;
  max-width: 50%;
}

/* .background-img-png-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--width-container);
  max-width: var(--max-width);
  min-width: 227px;
  height: 100%;
  z-index: 1;
} */

/* .background-png {
  position: absolute;
  bottom: 20px;
  right: 110px;
  width: 49.6%;
} */

.background-png {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.background-svg-lines {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  transform: rotate(45deg);
  max-width: 715px;
  right: -175px;
}

.background-icon {
  position: absolute;
  max-width: 109px;
  right: 0;
  bottom: 82px;
}

@media (max-width: 1440px) {

  .first-section--background-png {
    background-position: right 70% bottom 0;
  }
}

@media (max-width: 1200px) {

  .first-section--background-png {
    background-position: right 60% bottom 0;
  }
}

@media (max-width: 1200px) {
  .background-icon {
    position: absolute;
    max-width: 77px;
  }

  .first-section--background-png {
    background-position: right 65% bottom 0;
  }
}

@media (max-width: 610px) {

  .first-section--background-png {
    background-position: right 55% bottom 0;
  }

  .first-section {
    height: 350px;
  }

  .background-icon {
    bottom: 35px;
  }
  
  .first-section__content {
    justify-content: start;
    box-sizing: border-box;
    padding-top: 108px;
    gap: 14px;
  }

  .first-section__title-wrapper {
    gap: 8px;
  }

  .breadcrumbs__text {
    font-size: 14px;
  }

  .first-section__title {
    font-size: 24px;
  }
  
  .first-section__description {
    font-size: 14px;
    max-width: var(--max-width);
  }

  .background-png {
    width: auto;
  }
/* 
  .background-svg-lines {
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
  }

  .background-png {
    left: 50%;
    transform: translateX(-50%);
    width: 77.4%;
  } */
}

@media (max-width: 425px) {

  .first-section--background-png {
    background-position: right 50% bottom 0;
  }
}

/* source: css/search.css */

.lgn-search-widget {
  width: 100%;
}

.hero-block__search {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  width: var(--width-container);
  max-width: var(--max-width);
  margin: -64px auto 0;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.hero-block__search--no-top-offset {
  margin-top: 0;
}

.hero-block__search .search-wrapper {
  margin-top: 0;
}

.search-wrapper {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 28px 35px 36px 45px;
  background-color: white;
  border-radius: var(--big-border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  z-index: 4;
}

.search-wrapper-up {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.search-label {
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
}

.search-buttons-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-search-number, .btn-search-auto {
  background-color: white;
  padding: 13px 38px;
  border-radius: var(--big-border-radius);
  font-size: 15px;
  line-height: 19px;
}

.btn-search-number.active,
.btn-search-auto.active {
  background-color: var(--blue-color);
  color: white;
}

.search-wrapper-down {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.search-by-number {
  display: none;
  width: 100%;
  height: 62px;
  border: 1px solid #D1D5DC;
  border-radius: var(--btn-border-radius);
  box-sizing: border-box;
}

.search-input-car-brend--full {
  flex: 1 1 auto;
  width: 100%;
}

.search-input-car-model, .search-input-car-brend {
  width: 100%;
  height: 62px;
  border: 1px solid #D1D5DC;
  border-radius: var(--btn-border-radius);
  position: relative;
}

.search-input-car-brend-arrow, .search-input-car-model-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  transition: all .3s ease;
}

.arrow-active {
  transform: rotate(180deg);
}

.search-by-auto {
  display: none;
  width: 100%;
  height: 100%;
  gap: 25px;
}

.search-by-number.active, .search-by-auto.active {
  display: flex;
}

input.search-input::placeholder {
  color: #B9B9B9;
}

input.search-input {
  background-color: inherit;
  font-size: 16px;
  padding: 0px;
  font-family: inherit;
  margin: 0;
  border: none;
  outline: none;
  width: 100%;
  padding-left: 21px;
  height: 100%;
  box-sizing: border-box;
}

.btn-search-enter {
  width: 100%;
  height: 62px;
  max-width: 232px;
  background-color: var(--orange-color);
  border-radius: var(--btn-border-radius);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-search-enter:disabled {
  cursor: not-allowed;
  opacity: .85;
}

.btn-search-enter__content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-search-enter__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: search-btn-spin .8s linear infinite;
}

.btn-search-enter.is-loading .btn-search-enter__icon,
.btn-search-enter.is-loading .btn-search-enter__label {
  display: none;
}

.btn-search-enter.is-loading .btn-search-enter__spinner {
  display: inline-block;
}

@keyframes search-btn-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1200px) {
  .search-wrapper-up {
    flex-direction: column;
    align-items: start;
    gap: 18px;
  }
}

@media (max-width: 1200px) {

  .search-wrapper-up {
    flex-direction: column;
    align-items: start;
    gap: 18px;
  }

  .search-label {
    font-size: 20px;
  }

  .search-wrapper-down {
    flex-direction: column;
    width: 100%;
  }

  .search-by-auto {
    flex-direction: column;
    gap: 12px;
  }

  .search-buttons-wrapper {
    width: 100%;
  }

  .btn-search-number, .btn-search-auto {
    flex: 1;
    height: 45px;
    text-align: center;
    white-space: nowrap;
  }

  .btn-search-enter {
    width: 100%;
    max-width: none;
  }

}

.autocomplete-suggestion__match {
  font-weight: 600;
}

@media (max-width: 610px) {

  .hero-block__search {
    margin-top: -32px;
    padding: 0 0 20px;
  }

  .hero-block__search--no-top-offset {
    margin-top: 0;
  }

  .search-wrapper {
    padding: 21px 16px;
    gap: 10px;
  }

  .search-label {
    font-size: 18px;
    line-height: 23px;
  }

  .btn-search-number, .btn-search-auto {
    width: 100%;
    font-size: 13px;
    padding: 13px;
  }

  .search-by-number {
    height: 60px;
  }

  input.search-input {
    font-size: 16px;
  }

  .btn-search-enter  {
    height: 62px;
  }
}

@media (max-width: 428px) {
  input.search-input {
    padding-left: 16px;   
  }
}

/* source: css/search-result.css */

.results-section {
  margin-top: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--background-gray-color);
}

.result-section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.result-section__content > .description {
  box-sizing: border-box;
  width: var(--width-container);
  max-width: var(--max-width);
  text-align: left;
  color: var(--gray-text, #364153);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
}

.js-search-result-target-full {
  width: 100%;
}

.lgn-search-widget-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  overflow: visible;
}

.lgn-search-widget-results:not(:empty) {
  padding-bottom: 24px;
}

.result-section__label {
  width: 100%;
  text-align: start;
  font-size: 48px;
  font-weight: 600;
  margin-top: 60px;
  max-width: var(--max-width);
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.popular-model__info-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: var(--half-padding-blocks);
  margin-top: 27px;
  max-width: var(--max-width);
}

.model-info__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #F7F8FB;
  border-radius: 20px;
  transition: all .3s ease;
  overflow: visible;
}

.btn--model-info {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  background: 0; 
  transition: transform 0.3s ease;
  font-size: 16px;
  font-weight: 500;
}

.model-info__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 32px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 20px;
}

/* /* .btn--model-info:hover {
  transform: scale(1.01);
} */

.head-texts {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

.head-item {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 4px;
}

.head-item__title {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-text);
}

.head-item__value {
  font-size: 20px;
  font-weight: 500;
  color: black;
  text-align: left;
}

.head-item__devider {
  width: 1px;
  height: 53px;
  background: #DADCDF;
  border: none;
  outline: none;
  cursor: pointer;
}

.model-info__body {
  align-items: start;
  justify-content: start;
  width: 100%;
  padding: 24px 0 56px 32px;
  box-sizing: border-box;
  gap: 40px;
  display: none;
  transition: all .3 ease;
}

.filter-variants {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 14px;
  width: 200px;
}

.filter-variants__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.filter-variants__head-img {
  max-width: 17px;
}

.filter-variants__head-title {
  font-size: 16px;
  font-weight: 400;
}

.filter-variants__body {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 7px;
}

.filter-variant {
  font-size: 16px;
  font-weight: 400;
  color: var(--blue-color) !important;
  text-decoration: none;
}

.filter-variant-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-variant-hint {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  z-index: 2;
}

.filter-variant-hint__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid #AEB3BA;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: #5E6775;
  cursor: help;
}

.filter-variant-hint__tooltip {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: calc(100% + 8px);
  top: auto;
  transform: translateX(calc(-50% + var(--hint-shift-x, 0px)));
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #364153;
  white-space: normal;
  width: max-content;
  max-width: min(280px, calc(100vw - 48px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 30;
}

.filter-variant-hint.is-below .filter-variant-hint__tooltip {
  bottom: auto;
  top: calc(100% + 8px);
}

.filter-variant-hint:hover .filter-variant-hint__tooltip,
.filter-variant-hint:focus-within .filter-variant-hint__tooltip {
  opacity: 1;
  visibility: visible;
}

/* В таблице поиска по номеру — поднимаем слой при наведении */
.result-section__table .filter-variant-hint {
  z-index: 2;
}

.result-section__table .filter-variant-hint:hover,
.result-section__table .filter-variant-hint:focus-within {
  z-index: 20;
}

.result-section__table .filter-variant-hint__tooltip {
  left: 50%;
  right: auto;
  bottom: calc(100% + 8px);
  transform: translateX(calc(-50% + var(--hint-shift-x, 0px)));
}

.result-section__table .filter-variant-hint.is-below .filter-variant-hint__tooltip {
  bottom: auto;
  top: calc(100% + 8px);
}

.filter-variants__devider {
  width: 1px;
  height: 150px;
  background: #DADCDF;
  border: none;
  outline: none;
  cursor: pointer; 
}

.head-item__arrow {
  transition: all .3 ease;
}

.search-brand-models {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-width);
}

.search-brand-model-block {
  width: 100%;
}

.result-section__label--follow {
  margin-top: 48px;
}

.search-brand-model-block .popular-model__info-section {
  margin-top: 27px;
  margin-bottom: 0;
}

.search-brand-model-block:last-child .popular-model__info-section {
  margin-bottom: var(--half-padding-blocks);
}

/*  */

.model-info__body.active-model-info__body {
  display: flex;
}

.model-info__head.active-model-info__head {
  background-color:var(--blue-color);
}

.head-item__arrow.head-item__arrow-active {
  transform: rotate(90deg);
}

.head-item__title.head-item__text-active, .head-item__value.head-item__text-active {
  color: white;
}

.head-item__arrow.head-item__arrow-active path {
  stroke: white;
}

.result-section__panel,
.result-section__table {
  width: 100%;
  max-width: var(--max-width);
  margin-top: 30px;
  padding: 30px;
  background-color: white;
  border-radius: var(--big-border-radius);
  box-sizing: border-box;
  overflow: visible;
}

.result-section__table-scroll {
  width: 100%;
  overflow: visible;
}

.result-section__table table,
.result-section__table tbody,
.result-section__table tr,
.result-section__table td {
  overflow: visible;
}

.result-section__table .second-data {
  position: relative;
  z-index: 1;
}

.result-section__table tr:hover .second-data,
.result-section__table .filter-variant-hint:focus-within {
  z-index: 3;
}

.result-section__panel-text {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.result-section__panel--empty .result-section__panel-text {
  color: #0A0A0A;
}

.result-section__panel--error .result-section__panel-text {
  color: #ff5252;
}

table {
  border-collapse: collapse;
  width: 100%;
}

thead {
  height: 62px;
  width: 100%;
  position: relative;
  z-index: 0;
}

thead::before {
 content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 62px;
  background-color: var(--background-gray-color);
  border-radius: 8px;
  pointer-events: none;
  z-index: -1;
}

thead th{
  border: none;
  font-size: 16px;
  font-weight: 500;
  text-align: start;
  border: none;
  background-color: transparent;
  font-size: 16px;
  font-weight: 500;
  text-align: start;
  position: relative;
  z-index: 1;
}

.first-data {
  padding-left: 20px;
}

.second-data {
  color: var(--blue-color);
}

tbody tr {
  height: 56px;
  border-bottom: 1px solid #AEB3BA40;
}

tbody td {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-text);
  opacity: .8;
}

tbody tr:last-child {
  border-bottom: none;
}

@media (max-width: 1200px) {
  .head-texts {
    gap: 31px;
  }
}

@media (max-width: 1200px) {

  .popular-model__info-section {
    align-items: start;
  }

  .model-info__option.active__option {
    width: 100%;
  }

  .head-texts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    flex: 1;
    min-width: 0;
    width: 100%;
  }

  .head-item__devider {
    display: none;
  }

  .head-item--period .head-item__value {
    white-space: nowrap;
  }
}


@media (max-width: 1200px) {
  .model-info__body {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 10px;
    padding: 24px 32px;
    overflow: visible;
  }

  .filter-variants {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .filter-variants__body {
    overflow: visible;
  }

  .filter-variants__devider {
    width: 100%;
    height: 1px;
  }

  .filter-variant-row {
    flex-wrap: nowrap;
  }
}

@media (max-width: 610px) {

  .popular-model__info-section {
    gap: 10px;
    margin-top: 20px;
  }

  .result-section__label {
    margin-top: 30px;
    font-size: 24px;
  }
  
  .head-item__title {
    font-size: 12px;
  }

  .head-item__value {
    font-size: 16px;
  }

  .head-texts {
    gap: 10px;
  }

  .model-info__head {
    padding: 16px;
    gap: 10px;
  }

  .head-item__wrapper {
    gap: 0;
  }

  .result-section__panel,
  .result-section__table {
    margin-top: 20px;
    padding: 21px 16px;
  }

  .result-section__panel-text {
    font-size: 16px;
  }

  .result-section__table-scroll {
    overflow-x: visible;
  }

  .result-section__table table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .result-section__table .first-data {
    padding-left: 8px;
    width: 34%;
    word-break: break-word;
  }

  .result-section__table th:nth-child(2),
  .result-section__table td.second-data {
    width: 36%;
  }

  .result-section__table th:nth-child(3),
  .result-section__table td:nth-child(3) {
    width: 30%;
    word-break: break-word;
  }

  .result-section__table th,
  .result-section__table tbody td {
    font-size: 13px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 8px;
    vertical-align: middle;
  }

  .result-section__table th:last-child,
  .result-section__table td:last-child {
    padding-right: 8px;
  }

  .result-section__table .filter-variant-row {
    flex-wrap: wrap;
    gap: 4px;
  }

  .result-section__table .filter-variant {
    font-size: 13px;
  }

}

@media (max-width: 610px) {
  .model-info__body {
    padding: 16px;
  }

  .model-info__body .filter-variant-hint__tooltip {
    left: 50%;
    right: auto;
    transform: translateX(calc(-50% + var(--hint-shift-x, 0px)));
    max-width: min(260px, calc(100vw - 32px));
  }

  .model-info__body .filter-variant-hint.is-below .filter-variant-hint__tooltip {
    bottom: auto;
    top: calc(100% + 8px);
  }
}

@media (max-width: 530px) {
  .result-section__table .filter-variant-hint__tooltip {
    left: 50%;
    right: auto;
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateX(calc(-50% + var(--hint-shift-x, 0px)));
    max-width: min(220px, calc(100vw - 32px));
  }

  .result-section__table .filter-variant-hint.is-below .filter-variant-hint__tooltip {
    bottom: auto;
    top: calc(100% + 8px);
  }
}

/* source: css/text-page.css */

.text-page {
  width: 100%;
}

.text-page__section {
  width: var(--width-container);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 0 80px;
  box-sizing: border-box;
}

.text-page__content {
  color: var(--black-color);
  font-size: 16px;
  line-height: 1.6;
}

.text-page__content > :first-child {
  margin-top: 0;
}

.text-page__content > :last-child {
  margin-bottom: 0;
}

.text-page__content p,
.text-page__content ul,
.text-page__content ol,
.text-page__content blockquote {
  margin: 0 0 16px;
}

.text-page__content h2,
.text-page__content h3,
.text-page__content h4 {
  margin: 28px 0 12px;
  font-weight: 500;
  line-height: 1.3;
}

.text-page__content h2 {
  font-size: 28px;
}

.text-page__content h3 {
  font-size: 22px;
}

.text-page__content h4 {
  font-size: 18px;
}

.text-page__content ul,
.text-page__content ol {
  padding-left: 24px;
}

.text-page__content li + li {
  margin-top: 8px;
}

.text-page__content a {
  color: var(--blue-color);
  text-decoration: underline;
}

.text-page__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
}

.text-page__content th,
.text-page__content td {
  border: 1px solid #d7dde2;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 1200px) {
  .text-page__section {
    padding-bottom: 48px;
  }

  .text-page__content {
    font-size: 14px;
  }

  .text-page__content h2 {
    font-size: 22px;
  }

  .text-page__content h3 {
    font-size: 18px;
  }
}

