@media (max-width: 1090px) {
    .salon__address {
        display: none;
    }
}
@media (max-width: 1000px) {
    .header {
        padding-bottom: 60px;
        background-size: 200%;
    }
}
@media (max-width: 850px) {
    .logostur {
        grid-gap: 15px;
    }
    .logogrid {
        grid-template-columns: 139px 1fr;
    }
    .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;
    }
    .logo {
        width: 139px;
        height: 42px;
    }
    .phone {
        font-size: 19px;
        margin-top: 5px;
    }
    .advantages {
        padding: 0;
        grid-gap: 40px;
    }
    .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;
    }
    .logo2{
        width: 70px;
        margin-top: 7px;
    }
}
@media (max-width: 770px) {
    h1 {
        font-size: 36px;
        margin: 40px auto;
    }
    .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%;
    }
    .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: 45px;
        padding-top: 17px;
    }

  .bot__name {
    margin-top: 3px;
    font-size: 14px;
    line-height: 130%;
  }

  .fixed__botitem {
    display: grid;
    grid-template-columns: 45px 1fr 100px;
    gap: 20px;
    position: sticky;
    top: 0;
  }

  .fixed__bot {
    padding: 10px 10px 10px;
    margin-left: -10px;
  }

  .bot__post {
    font-size: 12px;
  }

  .fixed__botitem .mesimg::before {
    left: 35px;
  }

  .fixed__ph::before {
    content: "Позвонить";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #f79130;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .fixed__ph:hover::before {
    background-color: #eb5f00;
  }

  .fixed__btn {
    padding: 0px 15px;
  }
  .fixed__text {
    display: none;
  }
}

@media (max-width: 740px){
    .logo {
        width: 100%;
        height: 36px;
        background-position: center;
    }
    /*.logogrid {*/
    /*    grid-gap: 15px;*/
    /*    grid-template-columns: 1fr;*/
    /*    width: 200px;*/
    /*    display: grid;*/
    /*    margin: 0 auto;*/
    /*}*/
    /*.logotext {*/
    /*    border: 0;*/
    /*    padding: 0;*/
    /*    text-align: center;*/
    /*    height: auto;*/
    /*    flex-direction: column;*/
    /*}*/
    /*.logo2{*/
    /*    width: 80px;*/
    /*    margin-right: 0;*/
    /*    margin-top: 0px;*/
    /*    margin-bottom: 10px;*/
    /*}*/
    .phone {
        float: none;
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 670px) {
    .logo2 {
        margin: 0 auto;
    }
    .logotext {
        border-left: none;
    }
    .logogrid {
        grid-template-columns: 1fr;
    }
    .header .main {
        flex-direction: column;
    }
    .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: 570px) {
    .blockcode {
        padding: 10px 40px;
    }
    .imggood {
        height: 220px;
    }
    .goodarr {
        top: 92px;
    }
}
@media (max-width: 550px) {
    h1 {
        font-size: 22px;
        margin: 24px auto 30px;
        padding: 0 14px;
    }
    .title-descr {
        font-size: 16px;
        line-height: 140%;
        margin-bottom: 22px;
    }
    .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: 575px) {
    .advantages {
        grid-template-columns: 1fr;
        grid-gap: 11px;
    }
    .chatheader {
        padding: 15px 20px 13px;
    }
    .blockcode {
        padding: 10px 20px;
    }
    .advantagetext {
        font-size: 13px;
    }
    .advantage:nth-child(1) .advantagetext {
        padding-top: 9px;
    }
    .advantage:nth-child(2) .advantagetext {
        padding-top: 9px;
    }
    .advantage:nth-child(3) .advantagetext {
        padding-top: 9px;
    }
}

@media (max-width: 520px) {
    .thanks {
        padding: 37px 20px 30px !important;
        width: 100% !important;
    }
    .header {
        padding-bottom: 35px;
        padding-top: 12px;
    }
}
@media (max-width: 490px) {
    .tablecell img {
        max-height: 18px;
        max-width: 55px;
    }
}
@media (max-width: 450px) {
    .inpphone,
    .butphone {
        width: 100%;
    }
    body {
        padding: 0px 10px;
    }
    .header{
        margin-left: -10px;
        max-width: calc(100% + 20px);
    }
    .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;
    }
    .header {
        padding-bottom: 28px;
    }
}
@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;
    }
    .header{
        background-size: 250%;
    }
	
  .agreement-label {
    font-size: 13px;
  }

  .agreement-label2 {
    font-size: 13px;
  }

  .cash {
    padding: 12px 10px 10px 38px;
  }

  /*.fixed__botitem {*/
  /*  grid-template-columns: 35px 1fr;*/
  /*  gap: 10px;*/
  /*}*/

  .fixed__botitem .mesimg::before {
    left: 27px;
    width: 9px;
    height: 9px;
    bottom: -3px;
  }

  .bot__name {
    margin-top: 0px;
  }
}

/*@media (max-width: 366px) {
    .advantage:nth-child(3) .advantagetext {
        padding-top: 0px;
    }
}*/


@media (max-width: 328px) {
    .advantage:nth-child(1) .advantagetext {
        padding-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;
    }
}
