.order-confirmation {
  & > * + * {
    margin-top: 1rem;
  }

  & .headline {
    border: 1px solid var(--custom-text-background-color-hover);
    border-radius: 0.25rem;
    text-align: center;
    margin-bottom: 1rem;

    & .main {
      font-size: 1.25rem;
      padding: 1rem 1rem 0;
    }

    & .sub {
      padding: 0 1rem; 
    }

    & div {
      border-top: 1px solid var(--custom-text-background-color-hover);
      margin-top: 1rem;

      & a {
        display: block;
        font-size: 0.875rem;
        padding: 0.5rem 1rem;

        &:hover,
        &:active,
        &:focus {
          color: var(--custom-link-color, black);
        }
      }
    }
  }

  & .order-invoice-details {
    border: 1px solid var(--custom-text-background-color-hover);
    border-radius: 0.25rem;
    display: flex;
    text-align: center;

    & div {
      display: flex;
      flex: 1;
      flex-direction: column-reverse;
      padding: 0.5rem;

      & + div {
        border-left: 1px solid var(--custom-text-background-color-hover);
      }

      & dd {
        font-size: 1.25rem;
      }
    }
  }

  & summary + .order-invoice-bank-info {
    margin-top: 1rem;
  }

  & .order-invoice-bank-info {
    border: 1px solid #e1e1e1;
    border-radius: 0.25rem;
    background: #efefef;
    color: #7e7e7e;
    column-gap: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0.5rem 1rem;

    @media only screen and (width >= 600px) {
      grid-template-columns: 1fr auto;
    }

    & dt {
      white-space: nowrap;
    }

    & dt,
    & dd {
      font-size: 0.875rem;
    }

    & dd {
      color: #333;
      margin-bottom: 0.5rem;

      @media only screen and (width >= 600px) {
        margin-bottom: 0;
      }
    }
  }

  & h3 {
    font-weight: normal;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }
}
