@media (max-width: 950px) {
  /*.headergrid {*/
  /*  grid-template-columns: 200px 1fr 166px;*/
  /*}*/

  .phones-container {
    grid-template-columns: 1fr;
  }

  .header .main {
    max-width: 810px;
  }

  .phones-container {
    justify-items: left;
  }

  .fixed__bot {
    width: calc(100% - 30px);
  }
}

@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;
  }

  /*.headergrid {*/
  /*  grid-template-columns: 200px 1fr 139px;*/
  /*  column-gap: 20px;*/
  /*}*/

  /*.logo {*/
  /*  width: 139px;*/
  /*  height: 42px;*/
  /*}*/

  .phone {
    font-size: 15px;
    line-height: 20px;
  }

  .phonedesc {
    font-size: 12px;
  }

  .advantages {
    padding: 0;
    grid-gap: 40px;
  }

  .header .main {
    padding: 0 20px;
  }

  .header {
    padding: 15px 0;
  }

  .logogusar {
    font-size: 16px;
  }

  .gusardesc {
    font-size: 12px;
  }
}

@media (max-width: 800px) {
  .popup__thanks {
    width: 70%;
  }

  .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;
  }

  .logo {
    flex-direction: column;
    align-items: flex-start;
  }

  .logotext {
    border: 0;
    padding: 0;
    text-align: center;
    height: auto;
    margin-top: 8px;
  }

  .logo img {
    margin-right: 0;
  }
}

@media (max-width: 770px) {

  .headergrid .headergrid__item:nth-child(1) {
    align-self: end;
    margin-right: 0;
  }

  .contacts__container {
    display: grid;
    gap: 10px;
  }


  /*.headergrid {*/
  /*  grid-template-columns: 1fr;*/
  /*  grid-gap: 16px;*/
  /*}*/

  .washide {
    display: block;
    margin-top: 10px;
  }

  .behide {
    display: none;
  }

  h1 {
    font-size: 36px;
    margin: 40px auto;
  }

  .chathead {
    font-size: 20px;
  }

  .chatheader {
    padding: 17px 20px 20px;
  }

  .chatcont {
    padding: 20px 20px 100px 20px;
  }

  .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%;
  }

  .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;
  }

  .inpphone {
    margin-top: 0;
  }

  .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: 17px;
    padding-top: 17px;
  }

  /*.logo {*/
  /*  width: 100%;*/
  /*  height: 30px;*/
  /*  background-position: center;*/
  /*}*/

  .logogrid {
    grid-gap: 7px;
    grid-template-columns: 1fr;
    width: 190px;
    display: grid;
    margin: 0 auto;
  }

  .phones-container {
    justify-items: center;
    gap: 10px;
  }



  .phone {
    float: none;
    text-align: center;
    margin-top: 10px;
  }

  .autoslink3 {
    grid-template-columns: 1fr 1fr;
  }

  /*.autocat {*/
  /*  grid-column-end: 3;*/
  /*}*/

  .autocat {
    font-size: 15px;
    padding: 15px 0 2px;
  }

  .priceinfo {
    position: inherit;
  }

  .priceinfoblock {
    left: auto !important;
    right: 0px !important;
    bottom: auto !important;
    top: 181px !important;
    width: 300px;
    font-size: 12px;
    color: #8a9292;
    padding: 11px 15px;
  }

  .chat {
    overflow: hidden;
  }

  .priceinfo2 .priceinfoblock {
    top: 24px !important;
    right: -145px !important;
  }

  .logogusar {
    margin-top: 0;
    text-align: center;
  }

  .advantagetext {
    justify-content: start;
  }

  .gusardesc {
    text-align: center;
  }

  .phonedesc {
    text-align: center;
  }

  .fixed__bot {
    padding: 10px 10px 10px;
    margin-left: -15px;
    width: 100%;
  }

  .fixed__botitem {
    display: grid;
    grid-template-columns: 45px 1fr 36px;
    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: #003B70;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    transform: rotateZ(270deg);
  }

  .fixed__btn {
    padding: 10px 6px;
  }

  .autoafter {
    font-size: 14px;
    line-height: 148%;
  }

  .fixed__text {
    display: none;
  }

  .fixed__ph::before {
    content: "Позвонить";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #003B70;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
  }

  /*.fixed__ph:hover::before {*/
  /*  background-color: #ffc516;*/
  /*}*/

  .fixed__btn {
    padding: 10px 6px;
  }

  .bot__name {
    margin-top: 3px;
    font-size: 14px;
    line-height: 130%;
  }

  .bot__post {
    font-size: 12px;
  }
}

@media (max-width: 670px) {
  .popup__thanks {
    width: 90%;
  }

  .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: 650px) {
  .butscountry {
    max-width: 100px;
  }

  .butscountry .butlink {
    white-space: nowrap;
  }

  .ai3~.advantagetext {
    padding-top: 0;
  }
}

@media (max-width: 620px) {
  .autolink {
    padding: 15px;
  }

  .autoname {
    font-size: 16px;
  }

  .autoprice {
    font-size: 13px;
  }

  .autobut {
    font-size: 13px;
    padding: 13px;
  }
}

@media (max-width: 600px) {
  .flex-block {
    grid-template-columns: repeat(2, 1fr);
  }

  .descagree .agreement-label2 {
    flex-wrap: wrap;
  }

  .headergrid {
    display: block;
  }

  .logo {
    align-items: center;
  }

  .advantages {
    grid-template-columns: 1fr;
    grid-gap: 11px;
  }

  .priceinfo2 .priceinfoblock {
    width: 250px;
    right: 0 !important;
  }

  .autoslink3 .imgauto {
    height: 80px;
  }
}

@media (max-width: 570px) {
  .blockcode {
    padding: 10px 40px;
  }

  .imggood {
    height: 220px;
  }

  .goodarr {
    top: 92px;
  }
}

@media (max-width: 560px) {
  .butdealer {
    width: 100%;
  }

}

@media (max-width: 550px) {
  h1 {
    font-size: 22px;
    margin: 24px auto 30px;
    padding: 0 14px;
  }

  .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: 15px;
    padding-top: 12px;
  }

  .autoslink3 {
    grid-template-columns: 1fr;
  }

  .autocat {
    grid-column-end: 2;
  }

  .priceinfoblock {
    top: 170px !important;
  }
}

@media (max-width: 490px) {
  .tablecell img {
    max-height: 18px;
    max-width: 55px;
  }
}

@media (max-width: 450px) {

  .inpphone,
  .butphone {
    width: 100%;
  }

  body {
    padding: 0px 10px;
  }

  .message {
    margin-top: 20px;
  }

  .message:first-child {
    margin-top: 0;
  }

  /*.chatcont {*/
  /*  padding: 0 10px 100px;*/
  /*}*/

  .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;
  }

  .fixed__bot {
    padding: 10px 10px 10px;
    margin-left: -10px;
  }
}

@media (max-width: 400px) {
  .header {
    width: calc(100% + 25px);
  }

  .fixed__botitem {
    grid-template-columns: 35px 1fr 36px;
    gap: 10px;
  }

  .fixed__botitem .mesimg::before {
    bottom: 2px;
    right: -1px;
  }

  .mesimg {
    height: 35px;
  }

  .mesbot {
    grid-template-columns: 35px 1fr;
  }

  .agreement-label {
    font-size: 13px;
  }

  .cash2 {
    padding: 10px 10px 10px 30px;
    font-size: 14px;
    line-height: 130%;
  }

  .headergrid .headergrid__item:nth-child(1) {
    margin-right: 0;
  }
}

@media (max-width: 370px) {
  .mesbot {
    grid-template-columns: 35px 1fr;
  }

  .mesimg {
    height: 35px;
  }

  .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;
  }

  .bot__name {
    margin-top: 0px;
  }
}

@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;
  }
}