@media screen and (min-width: 900px) {
  #main-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 4rem;
  }
}

.summary .btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  border-radius: 0;
}

@media screen and (min-width: 900px) {
  .summary {
    position: unset;
    margin-top: 0;
  }

  .summary .btn {
    position: unset;
    margin: 1rem 0;
    border-radius: var(--radius);
  }
}

.summary__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.summary__item.summary__total {
  border-top: thin solid var(--color-divider);
  border-bottom: thin solid var(--color-divider);
  margin: 1rem 0;
}

.media {
  border-bottom: thin solid var(--color-divider);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.media__heading {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .media__heading > div:last-child {
    justify-self: flex-end;
    text-align: end;
  }
}

.media__heading > div:last-child .btn {
  margin-top: 1rem;
  font-size: 1.2rem;
}
.media__content {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

@media screen and (max-width: 900px) {
  .footer {
    padding-bottom: 5rem;
  }
}

.caption.error {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}
