.page-orderview {

   .orderview-link {
      border: 1px solid $border-color;
      margin: 0 0 30px;
      padding: 30px;

      h1 {
         font-size: 26px;
         margin-bottom: 8px;
      }
   }

   .price-box {
      margin-left: auto;
      width: 100%;
      max-width: 420px;

      .total-price {
         padding-bottom: 0;
      }
   }
}


.cart-summary {

   ul {
      list-style-type: none;
      padding-left: 0;
   }
}

.cart-summary-message {
   margin-bottom: $spacer-xl;
}

.cart-summary-note {
   border-bottom: 1px solid $border-color;
   margin-bottom: $spacer-xl;
   padding-bottom: $spacer;
}

.cart-summary-overview {
   display: flex;
   justify-content: space-between;

   > div {
      width: 50%;
      margin-bottom: $spacer-lg;

      &:first-child {
         order: 1;
         max-width: 430px;
      }
   }
}

.cart-summary-overview-header {
   display: flex;
   justify-content: space-between;
   align-items: baseline;
   border-bottom: 1px solid $border-color;

   p {
      margin-bottom: $spacer;
   }
}

.cart-box-row-summary {
   &:hover {
      border-color: transparent;
      border-bottom-color: $border-color;
   }

   .price {
      font-size: $font-size-base;
   }
}

@media screen and (max-width: $lg - 1) {
   .cart-summary-overview {
      flex-wrap: wrap;

      > div {
         width: 100%;

         &:first-child {
            max-width: none;
            order: 0;
            margin-bottom: $spacer-xl;
         }
      }
   }
}

.orderview-row {
   display: flex;
   flex-wrap: wrap;
   margin: 0 calc(-1 * $grid-gutter-width / 2) $spacer-lg;

   .column {
      flex-grow: 1;
      min-width: 150px;
      padding: 0 calc($grid-gutter-width / 2) 0;
      width: 25%;
   }

   &::after {
      border-bottom: 1px solid $border-color;
      content: "";
      display: block;
      margin: 0 auto;
      width: calc(100% - #{$grid-gutter-width});
      height: 1px;
   }

   @media screen and (max-width: $lg - 1) {
      .column {
         width: 50%;
         margin-bottom: 1rem;

         ul:last-child {
            margin-bottom: 0;
         }
      }
   }

   @media screen and (max-width: $xs - 1) {
      .column {
         width: 100%;
      }
   }
}
