@media (max-width: 1365px) {
  :root {
    --margin-cloud: -31%;
  }
}

@media (max-width: 1260px) {
  .footer__bottom {
    flex-wrap: wrap;
  }

  .footer__copy {
    order: 2;
    margin-top: 8px;
  }
}

@media (max-width: 1190px) {
  .header {
    height: 1267px;
  }

  .header::before {
    background-size: 1288px;
    background-position: center 500px;
  }

  .header__center {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header__buttons {
    transform: translateY(35px);
  }

  .search {
    margin-bottom: 8px;
  }

  .mapWrap {
    margin-top: 470px;
  }

  .cities {
    padding: 600px 16px 70px 16px;
  }
}

@media (max-width: 992px) {
  :root {
    --margin-cloud: -40%;
  }
}

@media (max-width: 870px) {
  .footer__logo-bottom {
    width: 100px;
  }
}

@media (max-width: 768px) {
  :root {
    --margin-cloud: -53%;
  }
}

@media (max-width: 576px) {
  :root {
    --margin-cloud: -63%;
  }

  /*  */
  .container {
    padding: 0 8px;
  }

  /*  */
  .header {
    height: 926px;
  }

  .header::before {
    background-size: 1000px;
    background-position: center 330px;
  }

  .cloud {
    animation-delay: calc(var(--delay) * 5);
  }

  .cloud-start-1 {
    margin-left: 10%;
  }

  .cloud-start-2 {
    margin-left: 35%;
  }

  .header__top {
    padding: 32px 16px 124px 16px;
  }

  .logo {
    width: 68px;
    height: 68px;
    margin: 0 auto 0 0;
  }

  .header__mail {
    font-size: 16px;
  }

  .header__ht {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    row-gap: 12px;
  }

  .header__h1 {
    font-size: 40px;
    line-height: 44px;
    margin-bottom: 0;
  }

  .header__buttons {
    row-gap: 20px;
  }

  .header__buttons a {
    height: 44px;
    font-size: 16px;
    padding: 14px 40px;
  }

  .mapWrap {
    margin-top: 300px;
  }

  .search {
    width: 100%;
  }

  .map {
    height: 480px;
  }

  .cities {
    grid-gap: 36px 70px;
    padding: 380px 16px 40px 16px;
  }

  .shop__title .cart-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .cart-address,
  .cart-phone,
  .cart-site {
    font-size: 13px;
    margin-bottom: 4px;
  }

  /*  */
  .shopsRoz {
    padding: 30px 0 60px 0;
  }

  /*  */
  .footer {
    height: 160px;
  }

  .footer__bottom {
    bottom: 18px;
    font-size: 8px;
    line-height: 10px;
    padding: 0 8px 0 0;
  }

  .footer__logo-bottom {
    width: 70px;
  }

  .footer__address-2 {
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  :root {
    --margin-cloud: -76%;
  }
}

@media (max-width: 400px) {
  :root {
    --margin-cloud: -95%;
  }
}

@media (max-width: 324px) {
  .footer__address {
    font-size: 7px;
  }
}
