@media (max-width: 880px) {
  .form__unit--success {
    padding: 0;
  }

  .ground__booking {
    margin: 30px -20px;
    border-radius: 0;
  }

  .ground__options {
    grid-template-columns: repeat(2,1fr);
    grid-gap: 15px;
  }

  .ground__wrapper--scrolling-big .pitch__wrap {
    width: 880px;
  }

  .ground__review {
    flex-wrap: wrap;
    row-gap: 5px;
  }

  .yandex {
    width: 100%;
    margin: 0;
  }

  .field__list--grids {
    grid-template-columns: repeat(2, 1fr);
  }

  .field__list--grids .field__item:nth-child(2) {
    text-align: right;
  }
}

@media (max-width: 740px) {
  .ground__wrap {
    display: block;
  }

  .ground__times {
    display: none;
  }

  .pitch__price {
    color: var(--gray);
    font-size: 12px;
    line-height: 16px;
  }

  .pitch__time {
    display: block;
  }

  .slider--ground {
    width: 100%;
  }
}

@media (max-width: 710px) {
  .form__timer {
    font-size: 26px;
    line-height: 30px;
  }

  .ground__header--no-selected .ground__price {
    display: none;
  }

  .ground__header--no-selected .button {
    display: none;
  }

  .ground__header--selected .button {
    order: 3;
  }

  .ground__header--selected .ground__price {
    order: 1;
    margin: 10px auto;
    text-align: center;
  }

  .ground__detail {
    padding: 0;
  }

  .ground__unit-list {
    gap: 5px;
    width: 100%;
  }

  .ground__unit {
    max-width: 100%;
    background-color: initial;
    order: 2;
    border: 1px solid var(--dark-white);
  }

  .ground__header {
    padding: 10px;
    flex-wrap: wrap;
  }

  .ground__close-icon {
    fill: var(--main);
    border-radius: 5px;
    background-color: var(--dark-white);
  }

  .ground__wrapper--scrolling-medium .pitch__wrap {
    width: 580px;
  }
}

@media (max-width: 580px) {
  .form__grid--three {
    grid-template-columns: repeat(2,1fr);
  }
}

