:root {
  /* --site-color: #F04545; */
  --site-color: #52a0fc;
  --site-color_2: #f04545;
}

@media (max-width: 998px) {
  .bnews__item .auto_head,
  .pcatalog__item .auto_head {
    display: flex;
  }

  .bnews__item .auto_content,
  .pcatalog__item .auto_content {
    display: block;
  }

  .bnews__item .auto_footer,
  .pcatalog__item .auto_footer {
    display: flex;
  }

  .bnews__item .bnews__item-content,
  .pcatalog__item .pcatalog__item-content {
    display: none;
  }

  span#favorites_count {
    position: absolute;
    z-index: 2;
    padding: 2px 0 0 0;
    width: 28px;
    text-align: center !important;
    color: #fff;
    text-align: center;
    font-family: Mulish;
    font-size: 14.667px;
    font-style: normal;
    font-weight: 700;
    cursor: pointer;
  }

  .bnews__item-wrapper > svg#svg_delete_favorite,
  .bnews__item-wrapper > svg#svg_add_favorite,
  .pcatalog__item-wrapper > svg#svg_delete_favorite,
  .pcatalog__item-wrapper > svg#svg_add_favorite {
    display: none;
  }

  header .header__btn > div {
    display: none;
  }

  header.header#header {
    position: sticky !important;
  }
}

@media (min-width: 999px) {
  .bnews__item .auto_head,
  .pcatalog__item .auto_head {
    display: none;
  }

  .bnews__item .auto_content,
  .pcatalog__item .auto_content {
    display: none;
  }

  .bnews__item .auto_footer,
  .pcatalog__item .auto_footer {
    display: none;
  }

  .bnews__item .bnews__item-content,
  .pcatalog__item .pcatalog__item-content {
    display: block;
  }

  span#favorites_count_desktop {
    position: absolute;
    z-index: 2;
    padding: 2px 0 0 0;
    width: 40px;
    text-align: center !important;
    color: #fff;
    font-family: Mulish;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    cursor: pointer;
  }
}

/* new-updated */
@media (max-width: 415px) {
  .auto_footer_btn {
    width: 140px !important;
  }
}

@media (max-width: 360px) {
  .auto_footer_phone span:nth-child(1) {
    font-size: 13px !important;
  }

  .auto_footer_phone span:nth-child(3) {
    font-size: 12px;
  }

  .auto_footer_phone {
    margin-left: 10px !important;
  }
}

.auto_head {
  margin-top: 14px;
  display: flex;
  margin-bottom: 12px;
  justify-content: space-between;
  padding: 0 15px;
}

.auto_head_item:nth-child(2) {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.auto_head_item__name {
  color: #404040;
  font-family: Inter;
  font-size: 17px;
  font-style: bold;
  font-weight: 600;
  line-height: 130%;
}

.auto_head_item__prices {
  margin-top: 3px;
  display: flex;
  align-items: center;
}

.auto_head_item__prices_item:nth-child(1) {
  color: var(--site-color_2);
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}

.auto_head_item__prices_item:nth-child(2) {
  color: #cecece;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 131.023%;
  text-decoration-line: line-through;
  margin-left: 5px;
}

.auto_head_item__credit {
  color: var(--site-color_2);
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.auto_content {
  margin-top: 10px;
  padding: 0 15px;
}

.auto_content_vin span {
  color: #282626;
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 135%;
}

.auto_content_data {
  margin-top: 5px;
}

.auto_content_data {
  display: flex;
}

.auto_content_data {
  color: #404040 !important;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.auto_content_data_item:nth-child(2) {
  margin-left: 20px;
}

.auto_footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 0 15px;
  justify-content: space-between;
}

.auto_footer_btn {
  width: 197px;
  height: 45px;
  flex-shrink: 0;
  border-radius: 9.278px;
  background: var(--site-color);
  color: #fff;
  text-align: center;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auto_footer_phone {
  margin-left: 16px;
}

.auto_footer_phone span:nth-child(1) {
  color: var(--site-color);
  text-align: center;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
}

.auto_footer_phone span:nth-child(2) {
  color: #8f8f8f;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.bnews__item-wrapper,
.pcatalog__item-wrapper {
  position: relative;
}

.bnews__item-wrapper > svg#svg_delete_favorite,
.bnews__item-wrapper > svg#svg_add_favorite,
.pcatalog__item-wrapper > svg#svg_delete_favorite,
.pcatalog__item-wrapper > svg#svg_add_favorite {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 10;
  box-sizing: border-box;
  padding: 0 1px;
}
