@media (max-width: 1200px) {
  .copyright {
    right: 0;
  }

  .tooltip-text {
    right: -14px;
  }

  .tooltip-text::after {
    bottom: -6px;
    left: 92%;
  }

  .logogrid {
    max-width: 450px;
  }
}

@media (max-width: 1090px) {
  .salon__address {
    display: none;
  }
}

@media (max-width: 1000px) {
  .header {
    padding-bottom: 30px;
    background-size: 220%;
  }

  .header__info {
    gap: 15px;
    display: inline-grid;
  }

  .logogrid {
    display: grid;
    gap: 10px;
  }

  .logo_text {
    font-size: 18px;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    border-left: none;
  }
}

@media (max-width: 943px) {
  .tooltip-text {
    right: 18px;
    top: -1px;
    /* width: 133px; */
    font-size: 10px;
    line-height: 16px;
  }

  .tooltip-text::after {
    bottom: -4px;
    left: 47%;
  }
}

@media (max-width: 850px) {
  .logostur {
    grid-gap: 15px;
  }

  .tablecell img {
    max-height: 32px;
    max-width: 100px;
  }

  .chatheader {
    padding: 25px;
  }

  .chathead {
    font-size: 22px;
    margin-bottom: 30px;
  }

  h1 {
    font-size: 33px;
    margin: 35px auto 50px;
    padding: 0 20px;
  }

  .phone {
    /*font-size: 19px;*/
    margin-top: 5px;
  }

  /*.advantages {*/
  /*    padding: 0;*/
  /*    grid-template-columns: 1.1fr 1fr 1fr;*/
  /*}*/
  .header .main {
    padding: 0 20px;
  }
}

@media (max-width: 800px) {

  /*.advantages {*/
  /*    grid-gap: 30px;*/
  /*}*/
  .wingood {
    width: 100%;
    height: 100%;
    margin: 0;
    left: 0;
    top: 0;
    overflow: auto;
    background: #fff;
  }

  .imggood {
    border-radius: 0;
  }

  .descgood {
    border-radius: 0;
  }

  .goodarr1 {
    left: 18px;
    z-index: 10;
    top: 108px;
    margin: 0;
  }

  .goodarr2 {
    right: 18px;
    z-index: 10;
    top: 108px;
    margin: 0;
  }

  .winclose {
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 770px) {
  h1 {
    font-size: 36px;
    margin: 40px auto;
    width: 100%;
  }

  .chathead {
    font-size: 20px;
  }

  .chatheader {
    padding: 17px 20px 20px;
  }

  .chatcont {
    padding: 0 20px 100px;
  }

  .mesbot {
    grid-template-columns: 45px 1fr;
    grid-gap: 10px;
    max-width: calc(100% - 10px);
  }

  .mesimg {
    height: 45px;
  }

  .mestext {
    padding: 9px 13px 10px;
    font-size: 14px;
    line-height: 140%;
  }

  .other-detail,
  .other-detail::placeholder {
    font-size: 12px;
  }

  .message:nth-child(5) .mestext {
    min-width: auto !important;
  }

  .butslink {
    margin-top: 15px;
  }

  .butlink,
  .butlinkshow {
    padding: 8px 15px 10px;
    font-size: 14px;
  }

  .butlinkcountry {
    grid-template-columns: 18px 1fr;
  }

  .flag {
    height: 13px;
    width: 18px;
    margin-top: 4px;
  }

  .datepicker--nav-action {
    height: 30px;
    width: 30px;
    background-size: 8px;
  }

  .datepicker--nav-action:last-child {
    background-position: 12px center;
  }

  .datepicker--nav-title {
    font-size: 14px;
    line-height: 0;
    height: auto;
  }

  .datepicker--nav {
    padding: 7px 25px;
  }

  .datepicker--day-name {
    font-size: 10px;
  }

  .datepicker--days-names {
    margin: 0 0 7px;
    padding: 7px 25px;
  }

  .datepicker--content {
    padding: 0 0 16px;
  }

  .datepicker--cells-days {
    grid-gap: 1px;
  }

  .datepicker--cells {
    padding: 0px 25px;
  }

  .datepicker--cell {
    font-size: 12px;
    padding: 6px;
  }

  .datepicker-inline .datepicker {
    width: 259px;
  }

  .alenaprint {
    padding-left: 67px;
  }

  .butnumber {
    padding: 8px 12px 10px;
    width: 37px;
  }

  .inptext {
    padding: 13px 20px;
  }

  .butphone {
    padding: 13px 50px 14px;
  }

  .blocksms {
    border-radius: 30px;
  }

  .icosms {
    width: 50px;
    height: 50px;
  }

  .smshead {
    font-size: 24px;
    line-height: 33px;
    margin: 15px 0 25px;
  }

  .smsdesc {
    font-size: 14px !important;
    max-width: 350px;
  }

  .codeword {
    font-size: 18px;
  }

  .contcode {
    grid-template-columns: 115px 1fr;
  }

  .icosuccess {
    width: 45px;
    height: 45px;
    margin-bottom: 18px;
  }

  .blocksuccess {
    padding: 30px;
    max-width: 420px;
  }

  .ssitem {
    margin-right: 15px;
  }

  .descss {
    font-size: 12px;
    margin: 20px 0 15px;
    line-height: 17px;
  }

  .loadcupon {
    font-size: 13px;
    padding: 7px 15px 8px 35px;
    background-position: 18px 12px;
    background-size: 9px;
    bottom: 8px;
    right: 8px;
  }

  .cuponsuccess {
    margin-top: 20px;
  }

  .butinp {
    margin-left: -50px;
  }

  .header {
    padding-bottom: 30px;
    padding-top: 17px;
  }

  .fixed__botitem {
    display: grid;
    grid-template-columns: 45px 1fr 100px;
    gap: 20px;
    position: sticky;
    top: 0;
  }

  .fixed__bot {
    padding: 10px 10px 10px;
    margin-left: -15px;
    width: 100%;
  }

  .bot__post {
    font-size: 12px;
  }

  .fixed__botitem .mesimg::before {
    right: 0;
  }

  .autoafter {
    font-size: 14px;
    line-height: 148%;
  }

  .fixed__text {
    display: none;
  }

  .fixed__botitem {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    gap: 20px;
    position: sticky;
    top: 0;
  }

  .fixed__btn {
    height: 36px;
    width: 36px;
  }

  .fixed__ph {
    height: 36px;
    overflow: hidden;
    display: inline-block;
    font-size: 0;
  }

  .fixed__ph::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 473.806 473.806' style='enable-background:new 0 0 473.806 473.806;fill: %23fff' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cpath d='M374.456,293.506c-9.7-10.1-21.4-15.5-33.8-15.5c-12.3,0-24.1,5.3-34.2,15.4l-31.6,31.5c-2.6-1.4-5.2-2.7-7.7-4 c-3.6-1.8-7-3.5-9.9-5.3c-29.6-18.8-56.5-43.3-82.3-75c-12.5-15.8-20.9-29.1-27-42.6c8.2-7.5,15.8-15.3,23.2-22.8 c2.8-2.8,5.6-5.7,8.4-8.5c21-21,21-48.2,0-69.2l-27.3-27.3c-3.1-3.1-6.3-6.3-9.3-9.5c-6-6.2-12.3-12.6-18.8-18.6 c-9.7-9.6-21.3-14.7-33.5-14.7s-24,5.1-34,14.7c-0.1,0.1-0.1,0.1-0.2,0.2l-34,34.3c-12.8,12.8-20.1,28.4-21.7,46.5 c-2.4,29.2,6.2,56.4,12.8,74.2c16.2,43.7,40.4,84.2,76.5,127.6c43.8,52.3,96.5,93.6,156.7,122.7c23,10.9,53.7,23.8,88,26 c2.1,0.1,4.3,0.2,6.3,0.2c23.1,0,42.5-8.3,57.7-24.8c0.1-0.2,0.3-0.3,0.4-0.5c5.2-6.3,11.2-12,17.5-18.1c4.3-4.1,8.7-8.4,13-12.9 c9.9-10.3,15.1-22.3,15.1-34.6c0-12.4-5.3-24.3-15.4-34.3L374.456,293.506z M410.256,398.806 C410.156,398.806,410.156,398.906,410.256,398.806c-3.9,4.2-7.9,8-12.2,12.2c-6.5,6.2-13.1,12.7-19.3,20 c-10.1,10.8-22,15.9-37.6,15.9c-1.5,0-3.1,0-4.6-0.1c-29.7-1.9-57.3-13.5-78-23.4c-56.6-27.4-106.3-66.3-147.6-115.6 c-34.1-41.1-56.9-79.1-72-119.9c-9.3-24.9-12.7-44.3-11.2-62.6c1-11.7,5.5-21.4,13.8-29.7l34.1-34.1c4.9-4.6,10.1-7.1,15.2-7.1 c6.3,0,11.4,3.8,14.6,7c0.1,0.1,0.2,0.2,0.3,0.3c6.1,5.7,11.9,11.6,18,17.9c3.1,3.2,6.3,6.4,9.5,9.7l27.3,27.3 c10.6,10.6,10.6,20.4,0,31c-2.9,2.9-5.7,5.8-8.6,8.6c-8.4,8.6-16.4,16.6-25.1,24.4c-0.2,0.2-0.4,0.3-0.5,0.5 c-8.6,8.6-7,17-5.2,22.7c0.1,0.3,0.2,0.6,0.3,0.9c7.1,17.2,17.1,33.4,32.3,52.7l0.1,0.1c27.6,34,56.7,60.5,88.8,80.8 c4.1,2.6,8.3,4.7,12.3,6.7c3.6,1.8,7,3.5,9.9,5.3c0.4,0.2,0.8,0.5,1.2,0.7c3.4,1.7,6.6,2.5,9.9,2.5c8.3,0,13.5-5.2,15.2-6.9 l34.2-34.2c3.4-3.4,8.8-7.5,15.1-7.5c6.2,0,11.3,3.9,14.4,7.3c0.1,0.1,0.1,0.1,0.2,0.2l55.1,55.1 C420.456,377.706,420.456,388.206,410.256,398.806z'/%3E%3Cpath d='M256.056,112.706c26.2,4.4,50,16.8,69,35.8s31.3,42.8,35.8,69c1.1,6.6,6.8,11.2,13.3,11.2c0.8,0,1.5-0.1,2.3-0.2 c7.4-1.2,12.3-8.2,11.1-15.6c-5.4-31.7-20.4-60.6-43.3-83.5s-51.8-37.9-83.5-43.3c-7.4-1.2-14.3,3.7-15.6,11 S248.656,111.506,256.056,112.706z'/%3E%3Cpath d='M473.256,209.006c-8.9-52.2-33.5-99.7-71.3-137.5s-85.3-62.4-137.5-71.3c-7.3-1.3-14.2,3.7-15.5,11 c-1.2,7.4,3.7,14.3,11.1,15.6c46.6,7.9,89.1,30,122.9,63.7c33.8,33.8,55.8,76.3,63.7,122.9c1.1,6.6,6.8,11.2,13.3,11.2 c0.8,0,1.5-0.1,2.3-0.2C469.556,223.306,474.556,216.306,473.256,209.006z'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
    fill: #fff;
    width: 36px;
    height: 36px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #282D30;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    transform: rotateZ(270deg);
  }

  .fixed__btn {
    padding: 10px 6px;
  }

  .bot__name {
    margin-top: 3px;
    font-size: 14px;
    line-height: 130%;
  }

  .bot__post {
    font-size: 12px;
  }

  .title_descr {
    max-width: 450px;
    margin: 0 auto;
    margin-bottom: 40px;
  }
}

@media (max-width: 740px) {
  .header .main {
    padding: 0 20px;
    flex-direction: column;
  }

  .address {
    text-align: center;
  }

  .header__info {
    display: block;
  }

  .header__info-col {
    align-items: center;
  }

  .logophone a {
    justify-content: center;
  }

  .phonedescr {
    text-align: center;
  }

  .logotext {
    border: 0;
    padding: 0;
    text-align: center;
    height: auto;
    justify-content: center;
  }

  .logo {
    margin: 0 auto;
  }

  .phone {
    float: none;
    text-align: center;
    margin-top: 10px;
  }

  .phone2 {
    float: none;
    text-align: center;
    margin-top: 10px;
  }

  .logo2 {
    margin: 3px auto;
  }
}

@media (max-width: 699px) {
  .advantages {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .advantagetext br {
    display: none;
  }

  .advantage {
    display: flex;
  }

  .advantage_info1 {
    top: 30px;
    left: 30%;
  }

  .advantage_info2 {
    top: 105px;
  }
}

@media (max-width: 670px) {

  .model-choose {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .auto-mileage__radio {
    grid-template-columns: 1fr 1fr;
  }

  .marka-choose {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .blocksms {
    width: calc(100% - 32px);
  }

  .contcode {
    padding: 10px 0 15px;
    grid-template-columns: 1fr;
  }

  .codeword {
    padding-top: 0;
    text-align: center;
  }

  .blocksuccess {
    width: calc(100% - 32px);
  }

  .tablecell img {
    max-height: 24px;
    max-width: 70px;
  }
}

@media (max-width: 655px) {
  .butscountry {
    max-width: 100px;
  }

  .butscountry .butlink {
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .autolink {
    padding: 5px;
  }

  .autoname {
    font-size: 16px;
  }

  .autoprice {
    font-size: 13px;
  }

  .autobut {
    font-size: 13px;
    padding: 13px;
  }

  .select {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 570px) {
  .popup-date {
    left: 0;
  }

  .blockcode {
    padding: 10px 40px;
  }

  .imggood {
    height: 220px;
  }

  .goodarr {
    top: 92px;
  }
}

@media (max-width: 550px) {
  .blockpopup__chat {
    padding: 29px 20px 20px 30px;
  }

  h1 {
    font-size: 22px;
    margin: 15px auto 15px;
    padding: 0 14px;
  }

  .tooltip {
    width: 15px;
    height: 15px;
    right: -20px;
    top: 7px;
  }

  .title_descr {
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 22px;
    max-width: 320px;
  }

  .tablecell img {
    max-height: 22px;
    max-width: 65px;
  }

  .logostur {
    grid-gap: 12px;
  }

  .chathead {
    font-size: 15px;
    line-height: 145%;
    margin-bottom: 15px;
  }

  .chatheader {
    padding: 13px 20px 5px;
  }

  .chathead {
    font-size: 15px;
    line-height: 145%;
    margin-bottom: 10px;
  }

  .autoslink {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .thanks {
    padding: 37px 20px 30px !important;
    width: 100% !important;
  }

  .chatheader {
    padding: 15px 20px 13px;
  }

  .blockcode {
    padding: 10px 20px;
  }

  .advantagetext {
    font-size: 13px;
  }

  .header {
    padding-bottom: 35px;
    padding-top: 12px;
  }
}

@media (max-width: 490px) {
  .tablecell img {
    max-height: 18px;
    max-width: 55px;
  }

  .auto-mileage__radio {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 461px) {
  .message-date {
    display: none;
  }

  .header__mobile {
    display: none;
  }

  .header__close {
    display: none;
  }
}

.message-date {
  text-align: right;
  color: #9c9ca3;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  /* 123.077% */
}

.mesuser .message-date {
  color: #fff;
}

.mesuser-check {
  position: relative;
}

.mesuser-check::before {
  display: none;
  content: '';
  position: absolute;
  right: -20px;
  bottom: 0;
  top: 0;
  margin: auto 0;
  width: 15px;
  height: 14px;
  background-image: url(../img/check-msg.svg);
  background-repeat: no-repeat;
}

@media (max-width: 460px) {
  .marka-choose {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }

  .cookie-block {
    display: none;
  }

  .service-logo {
    display: grid;
    gap: 5px;
    color: #6b6b6b;
    font-size: 12px;
  }

  .block-advantages {
    transition: transform 700ms ease, opacity 500ms ease;
    transform: translateY(300px) scale(0.9);
    opacity: 0;
    overflow: hidden;
  }

  .block-advantages.blockshow2 {
    transform: translateY(0) scale(1);
    opacity: 1;
    z-index: 1;
    position: relative;
  }

  .block-advantages {
    padding: 10px;
    display: block;
  }

  .mobile-chatheader {
    background: #282D30;
    padding: 15px;
    border-radius: 20px;
  }

  .cookie-block {
    right: 50%;
    left: 50%;
    transform: translate(-50%, 20px);
    max-width: 95vw;
    width: 95vw;
    border-radius: 12px;
    bottom: 24px;
    padding: 15px 15px 12px 15px;
    font-size: 13px;
    line-height: 1.3;
    display: none;
  }

  .cookie-block.cookie-visible {
    transform: translate(-50%, 0);
  }

  .cookie-ok {
    border-radius: 8px;
    padding: 6px 50px 6px 50px;
    font-size: 14px;
    width: 100%;
  }

  .policy-mob {
    display: block;
    text-decoration: underline;
    margin-top: 15px;
  }

  .logophone .policy-mob a {
    font-size: 14px;
  }

  .other-detail__wrap {
    background-color: #fff;
    border-radius: 4px 18px 18px 16px;
    padding: 10px;
    margin: 10px 0 0 0;
  }

  .custom-model__wrap {
    background-color: #fff;
    border-radius: 4px 18px 18px 16px;
    padding: 10px;
    margin: 10px 0 0 0;
  }

  /* .chatheader {
        background: #282d30;
        box-shadow: 0px 4px 10px rgba(38, 36, 60, 0.08);
        border-radius: 24px 24px 0px 0px;
    } */

  .message:not(:first-child) .mesimg {
    visibility: visible;
  }

  .address {
    font-size: 14px;
    text-align: center;
  }

  .autoslink3 .imgauto {
    margin-top: 15px;
  }

  .banner {
    margin: 30px 5px;
  }

  .phone span {
    font-size: 14px;
  }

  .logotext {
    font-size: 16px;
    text-align: center;
  }

  .other-detail {
    margin: 7px 0;
  }

  /* .alenaprint {
            margin-bottom: -25px;
        } */
  .logo__img {
    justify-content: center;
  }

  .phone {
    margin-top: 8px;
  }

  .phonedesc {
    margin-top: -10px;
  }

  .header__thanks {
    padding: 0 !important;
  }

  .main__thanks-text-testdrive {
    margin: 0 auto 40px;
  }

  .main__thanks-text-map {
    margin: 30px 0 0 0;
  }

  .thanks-h2 {
    font-size: 24px;
  }

  .main__thanks-promo-body {
    padding: 20px;
  }

  .main__thanks-form {
    padding: 24px;
    margin: 0 0 40px 0;
  }

  .agreement-label {
    font-size: 18px;
  }

  .items-wrap1 {
    font-size: 16px;
  }

  .logochery {
    display: none;
  }

  .logochery2 {
    display: block;
  }

  /* body {
            font-family: 'Open Sans', sans-serif;
        } */
  .submit-options {
    font-size: 18px;
    color: #000;
  }

  .cash2 {
    font-size: 16px;
  }

  .mesuser .message-date {
    padding: 0 19px 0 0;
  }

  .mesuser-check::before {
    display: block;
  }

  .fixed-crossbrowser-background {
    display: none;
  }

  .gradient {
    display: none;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    max-width: 100%;
    display: none;
    background-color: rgba(38, 40, 47, 0.9);
    margin: 0;
    padding: 0;
  }

  .header-inner {
    transition: transform 0.3s;
    transform: translateY(-100%);
    padding: 25px 20px 70px;
    background-color: #fff;
    border-radius: 0 0 30px 30px;
  }

  .logophone a {
    display: block;
    text-align: center;
    margin: 0;
    font-size: 16px;
  }

  .phonedescr {
    color: #697279;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .header__show .header-inner {
    transform: translateY(0);
  }

  .header__close {
    display: block;
    text-align: right;
    outline: none;
    border: none;
    background: none;
    width: 100%;
    margin: 0 0 15px 0;
  }

  .autoafter {
    display: none;
  }

  .message,
  .alenaprint {
    margin-top: 4px;
  }

  .mesbot[data-mesbot='10'] .mescont {
    max-width: 255px;
  }

  .message[data-mesbot='0'] .mesimg {
    /* opacity: 0 !important; */
  }

  .message[data-mesbot='0'] .mescont::before {
    /* display: none; */
  }

  .message[data-mesbot='1'] .mesimg {
    opacity: 0 !important;
  }

  .message[data-mesbot='1'] .mescont::before {
    display: none;
  }

  .message[data-mesbot='6'] .butlinkact {
    background-color: #282D30 !important;
    color: #fff !important;
  }

  /* .message[data-mesbot='7'] .mesimg {
            opacity: 0 !important;
        }
    
        .message[data-mesbot='7'] .mescont::before {
            display: none;
        } */

  /* .message[data-mesbot='4'] .mesimg {
            opacity: 0 !important;
        }
    
        .message[data-mesbot='4'] .mescont::before {
            display: none;
        } */

  /* .message[data-mesbot='5'] .mesimg {
            opacity: 0 !important;
        }
    
        .message[data-mesbot='5'] .mescont::before {
            display: none;
        } */

  /* .message[data-mesbot='6'] .mesimg {
            opacity: 0 !important;
        }
    
        .message[data-mesbot='6'] .mescont::before {
            display: none;
        } */

  .message[data-mesbot='7'] .mesimg {
    opacity: 0 !important;
  }

  .message[data-mesbot='7'] .mescont::before {
    display: none;
  }

  .message[data-mesbot='8'] .mesimg {
    opacity: 0 !important;
  }

  .message[data-mesbot='8'] .mescont::before {
    display: none;
  }

  .message[data-mesbot='8'] .mesimg {
    margin-bottom: auto !important;
    margin-top: 10px !important;
  }

  .message[data-mesbot='8'] .mescont::before {
    top: 42px;
  }

  .message[data-mesbot='3'] .mesimg {
    margin-bottom: 20px !important;
  }

  .message[data-mesbot='7'] .mesimg {
    margin-top: 10px !important;
  }

  .mesbot[data-mesbot='4'] .mescont::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -6px;
    width: 26px;
    height: 21px;
    background-image: url('../img/msg-angle.svg');
    background-repeat: no-repeat;
    z-index: -1;
  }

  .mesbot[data-mesbot='5'] .mescont::before {
    content: '';
    position: absolute;
    bottom: 48px;
    left: -6px;
    width: 26px;
    height: 21px;
    background-image: url('../img/msg-angle.svg');
    background-repeat: no-repeat;
    z-index: -1;
  }

  .mesbot[data-mesbot='6'] .mescont::before {
    content: '';
    position: absolute;
    bottom: 48px;
    left: -6px;
    width: 26px;
    height: 21px;
    background-image: url('../img/msg-angle.svg');
    background-repeat: no-repeat;
    z-index: -1;
  }

  .mesbot[data-mesbot='3'] .mescont::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: -6px;
    width: 26px;
    height: 21px;
    background-image: url('../img/msg-angle.svg');
    background-repeat: no-repeat;
    z-index: -1;
  }

  .mesbot[data-mesbot='2'] .mescont::before {
    content: '';
    position: absolute;
    bottom: 58px;
    left: -6px;
    width: 26px;
    height: 21px;
    background-image: url('../img/msg-angle.svg');
    background-repeat: no-repeat;
    z-index: -1;
  }

  .message[data-mesbot='2'] .mesimg {
    margin-bottom: 58px;
  }

  /* .mesbot[data-mesbot="4"] .mescont::before {
        content: "";
        position: absolute;
        bottom: -10px;
        left: -6px;
        width: 26px;
        height: 21px;
        background-image: url("../img/msg-angle.svg");
        background-repeat: no-repeat;
        z-index: -1;
      } */

  .mesbot[data-mesbot='7'] .mescont::before {
    content: '';
    position: absolute;
    left: -6px;
    width: 26px;
    height: 21px;
    background-image: url('../img/msg-angle.svg');
    background-repeat: no-repeat;
    z-index: -1;
    top: 20px;
  }

  .mesbot[data-mesbot='8'] .mescont::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -6px;
    width: 26px;
    height: 21px;
    background-image: url('../img/msg-angle.svg');
    background-repeat: no-repeat;
    z-index: -1;
    top: 20px;
  }

  .mesbot[data-mesbot='9'] .mescont::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -6px;
    width: 26px;
    height: 21px;
    background-image: url('../img/msg-angle.svg');
    background-repeat: no-repeat;
    z-index: -1;
    top: 28px;
  }

  .message[data-mesbot='4'] .mesimg {
    margin-bottom: 10px;
  }

  .message[data-mesbot='5'] .mesimg {
    margin-bottom: 48px;
  }

  .message[data-mesbot='6'] .mesimg {
    margin-bottom: 48px;
  }

  .message[data-mesbot='9'] .mesimg {
    margin-top: 20px !important;
  }

  .mesuser {
    margin-top: 20px !important;
    margin-bottom: 20px;
  }

  .mestext {
    font-size: 16px;
    line-height: 22px;
    box-shadow: none;
    border-radius: 15px;
  }

  .inpphone,
  .inpname,
  .butphone {
    max-width: 270px;
    margin-top: 10px;
  }

  .autoslink {
    margin-top: 4px;
    margin-bottom: 0px;
  }

  .agreement-label {
    color: #000;
    font-size: 16px;
    line-height: 22px;
  }

  .agreement-label::before {
    border: 1px solid #d6d6d6;
    width: 18px;
    height: 18px;
  }

  .chat .mesimg {
    height: 26px;
    width: 26px;
  }

  .set--options {
    padding: 8px 12px;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    max-width: 170px;
    border-radius: 4px 18px 18px 16px;
  }

  .header__mobile {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 15px;
    background: #ffffff;
    top: 0;
    z-index: 2;
  }

  .dealer-mob {
    width: 130px;
    font-size: 14px;
    font-weight: 600;
  }

  .header__mobile-logo {
    margin: 0 5px 0 0;
  }

  .header__mobile-logo img {
    width: 40px;
  }

  .header__mobile-tel {
    text-decoration: none !important;
    color: #343434;
    font-weight: 600 !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.2px;
    margin: 0 0 0 auto;
  }

  .header__mobile-btn {
    outline: none;
    background: none;
    border: none;
    position: relative;
    /* margin: 0 0 0 25px; */
    padding: 17px;
    background: #f0efef;
    border-radius: 100px;
  }

  .header__mobile-btn span {
    position: absolute;
    background-color: #343434;
    top: 44%;
    left: 44%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
  }

  .header__mobile-btn span::before {
    content: '';
    top: 0;
    left: 7px;
    position: absolute;
    background-color: #343434;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
  }

  .header__mobile-btn span::after {
    content: '';
    top: 0;
    left: -7px;
    position: absolute;
    background-color: #343434;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
  }

  /* .checkbox__choose:checked ~ span:before {
            border-color: #f7761f;
        } */

  .fixed__botitem .mesimg {
    height: 35px;
    width: 35px;
  }

  .message:first-child .mesimg {
    opacity: 1;
    margin-top: auto;
  }

  .mesbot:first-child .mescont {
    position: relative;
  }

  .mesbot:first-child .mescont::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -6px;
    width: 26px;
    height: 21px;
    background-image: url('../img/msg-angle.svg');
    background-repeat: no-repeat;
    z-index: -1;
  }

  .message:not(:first-child):nth-child(n + 1) .mesimg {
    opacity: 1;
    margin-top: auto;
  }

  .mesbot:not(:first-child):nth-child(n + 1) .mescont {
    position: relative;
  }

  /* .mesbot:not(:first-child):nth-child(n + 1) .mescont::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: -6px;
        width: 26px;
        height: 21px;
        background-image: url("../img/msg-angle.svg");
        background-repeat: no-repeat;
        z-index: -1;
      } */

  .mesuser:not(:first-child):nth-child(n + 1) .mescont {
    position: relative;
  }

  .mesuser:not(:first-child):nth-child(n + 1) .mescont::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -6px;
    width: 26px;
    height: 21px;
    background-image: url('../img/msg-angle-user.svg');
    background-repeat: no-repeat;
    z-index: -1;
  }

  .butlink {
    font-size: 16px;
  }

  .submit-options:hover {
    background-color: #fff;
    color: #000;
  }

  .submit-options {
    box-shadow: none;
  }

  .chat {
    position: relative;
    /* background-image: url('../img/msg_bg_new.png'); */
    background-repeat: repeat;
    background-size: cover;
    background-color: #f0f5e7;
    width: 100vw;
    margin-left: calc((-100vw + 100%) / 2);
    margin-right: calc((-100vw + 100%) / 2);
    /* padding: 20px 0 0 0; */
  }

  /* .chat::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: #fff;
          z-index: -1;
          opacity: 0.4;
      } */

  .sale {
    position: relative;
    padding: 120px 0 45px 0;
    margin: 0 0 -30px 0;
    height: auto;
    overflow: hidden;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    background-image: url('../img/msg_bg_new.png');
    background-size: cover;
  }

  .sale h1,
  .title_descr {
    color: #000;
  }

  .sale h1 {
    margin: 0 auto 20px;
  }

  /* .sale::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: #26282f;
      } */

  .shadow {
    position: fixed;
    height: 100vh;
    z-index: 5;
    background: rgba(38, 40, 47, 0.8);
  }

  h1 {
    margin: 0 auto 20px;
    text-align: center;
    font-weight: 700;
    line-height: 130%;
    /* 39px */
  }

  .title_descr {
    margin: 0 auto;
  }

  .chatheader {
    display: none;
  }

  .blockpopup__chat {
    padding: 15px;
    border-radius: 30px;
  }

  .purchase {
    display: none;
  }

  .autoslink {
    grid-template-columns: repeat(1, 1fr);
    background-color: #fff;
    padding: 10px;
    border-radius: 4px 18px 18px 16px;
  }

  .autolink {
    border-radius: 16px;
    background: #ffffff;
    /* max-width: 142px; */
    height: 100%;
    max-height: 212px;
    padding: 6px;
    /* box-shadow: none; */
  }

  .perchatka_name {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
    height: 50px;
    max-height: none;
  }

  /* .imgauto {
            max-height: 86px;
        } */

  .imgauto img {
    margin: 15px 0 25px 0;
  }

  .label {
    font-family: 'HelveticaNeueCyr';
    font-size: 14px;
    text-decoration: underline;
    border-bottom: none;
    margin: 10px 0 5px 0;
  }

  .label-info {
    top: -16px;
    right: -7px;
  }

  .colors-inner {
    border-radius: 4px 18px 18px 16px;
    background: #fff;
    padding: 10px;
  }

  .mesbot-inner {
    background-color: #fff;
    border-radius: 16px 18px 18px 16px;
    padding: 10px 10px 8px 10px;
    margin-top: 4px;
    margin-bottom: 0px;
  }

  .message[data-mesbot='2'] .mesbot-inner {
    border-radius: 16px 18px 18px 16px;
  }

  .message[data-mesbot='3'] .mesbot-inner {
    border-radius: 16px 18px 18px 16px;
  }

  .message[data-mesbot='4'] .mesbot-inner {
    border-radius: 16px 18px 18px 16px;
  }

  .auto-mileage {
    border-radius: 15px;
  }

  .color-butlink {
    box-shadow: none;
    border-radius: 12px;
    padding: 6px 10px;
  }

  /* .butslink {
        margin-top: 4px;
      } */

  body {
    background-image: url('../img/msg_bg.svg');
    background-color: #f6f8f8;
  }

  .fixed__bot {
    display: none;
    margin-left: 0;
    left: 0;
  }

  .fixed__botitem .mesimg::before {
    bottom: 2px;
    right: 0px;
    width: 8px;
    height: 8px;
  }

  .mesbot {
    grid-template-columns: 26px 1fr;
  }

  .goodmark {
    width: 22px;
    height: 22px;
    background-size: 10px;
    top: 2px;
    right: 2px;
  }

  body {
    padding: 0;
  }

  .recall-call__time.service__inp {
    max-width: 270px;
    border-radius: 15px;
  }

  .inptime {
    max-width: 270px;
  }

  .chatcont {
    padding: 20px 10px 100px;
  }
}

@media (max-width: 450px) {
  /* .inpphone,
	.butphone {
		width: 100%;
	} */

  /* body {
		padding: 0px 10px;
	} */

  /* .header {
		margin-left: -10px;
		max-width: calc(100% + 20px);
	} */

  .tablecell img {
    max-height: 13px;
  }

  .thanks {
    padding: 25px 20px 25px !important;
  }

  .ssitem {
    margin-right: 20px;
    height: 35px;
    width: 35px;
  }

  .smsdesc {
    padding: 0 20px;
  }

  .smshead {
    font-size: 21px;
    margin: 15px 0 20px;
  }

  .icosuccess {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }

  .imggood {
    height: 165px;
  }

  .goodarr {
    top: 65px;
  }

  .winclose {
    top: 10px;
    right: 18px;
  }

  .divpricegood {
    display: grid;
    grid-gap: 20px;
  }

  .pricegood {
    margin: 0;
    text-align: center;
  }

  .header {
    padding-bottom: 28px;
  }

  .fixed__bot {
    margin-left: -10px;
  }
}

@media (max-width: 370px) {
  .dealer-mob {
    width: 80px;
  }

  .mesbot {
    grid-template-columns: 25px 1fr;
  }

  .butlink {
    padding: 10px 14px 11px;
  }

  .logotur {
    height: 33px;
  }

  .tablecell img {
    max-height: 16px;
  }

  .logostur {
    grid-gap: 5px;
    grid-template-columns: repeat(3, 1fr);
  }

  h1 {
    font-size: 22px;
    margin: 20px auto 23px;
  }

  .advantage:nth-child(2) .advantagetext {
    padding-top: 0px;
  }

  .header-phone .phone span,
  .header-phone .phone2 span {
    font-size: 16px;
  }

  .phonedesc {
    font-size: 12px;
  }

  .fixed__bot .header-phones {
    /* right: 35px; */
    top: 65px;
  }

  .header-phones-mobile h5 {
    font-size: 14px;
  }

  .header-phones-mobile {
    padding: 10px 0;
  }
}

@media (max-width: 340px) {
  .header__mobile-tel {
    font-size: 12px;
  }
}

@media (max-height: 750px) {
  .blocksuccess {
    margin-top: -200px !important;
  }
}

@media (max-height: 700px) {
  .blocksuccess {
    margin-top: -190px !important;
  }
}

@media (max-height: 640px) {
  .blocksuccess {
    margin-top: -170px !important;
  }
}