.container {
  display: grid;
  gap: var(--Spacing-x3) var(--Spacing-x9);
}

.content {
  width: var(--max-width-page);
  margin: var(--Spacing-x3) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--Spacing-x4);
}

.header {
  padding-bottom: var(--Spacing-x3);
}

.summary {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

@media screen and (min-width: 1367px) {
  .container {
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto 1fr;
    width: var(--max-width-page);
    margin: var(--Spacing-x5) auto 0;
  }

  .content {
    width: 100%;
    margin: var(--Spacing-x3) 0 0;
  }

  .summary {
    position: static;
    display: grid;
    grid-column: 2/3;
    grid-row: 1/-1;
    z-index: unset;
  }
}
