@import 'helpers/helpers';
@import 'bootstrap/scss/bootstrap-grid';

#print-list {
  .header-wrapper {
    width: 100%;
    background: #0a3055;

    .header {
      height: 80px;
      max-width: 720px;
      width: 100%;
      padding-right: 15px;
      padding-left: 15px;

      &-inner {
        display: flex;
        align-items: center;
        height: 100%;
        margin-right: -15px;
        min-height: 76px;
        padding: 0;
        margin-left: 0;
      }

      &-logo {
        display: block;
        height: 100%;
        margin-top: -5px;

        img {
          max-height: 80px;
          height: 100%;
        }
      }
    }
  }

  h1 {
    text-align: center;
    margin-bottom: 0;
    padding-bottom: .67em;
    font-size: 34px !important;
  }

  .b-bottom-grey {
    border-bottom: 1px solid $gray;
  }

  .order-line-shop-list {
    padding: 35px 0 35px 10px;
    border-bottom: 1px solid $gray;
    border-top: 0;

    &:last-child {
      border-bottom: 0;
    }

    &__img {
      width: 148px;
      margin-right: 22px;

      img {
        width: 100%;
      }
    }

    &__inner {
      flex: 2;
    }

    &__info {
      flex: 2;
      margin-right: 15px;
    }

    &__title_link {
      overflow-wrap: break-word;
    }

    &__calcs {
      width: 240px;

      .order-line__value {
        .product-card__quantity {
          justify-content: space-between;
        }

        .product-card__price {
          &__old-price {
            display: none;
          }

          &__value {
            font-size: 16px;
            font-weight: $btn-font-weight;
            color: $blue-dark;
          }

          &__sqm {
            display: none;
          }

          &__saved {
            display: none;
          }

          &__total {
            font-size: 20px;
            font-weight: 700;
            line-height: 1.5rem;
            color: $blue-dark;
          }
        }
      }
    }

    &__calc {
      margin-bottom: 15px;
    }

    .price-item {
      margin-bottom: 10px;
    }

    &__price-discount {
      .order-line__value {
        .product-card__price {
          &__old-price {
            display: block;
            margin-bottom: 5px;
            font-size: 16px;
            font-weight: $btn-font-weight;
          }

          &__value {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.5rem;
            color: $red;
          }

          &__sqm {
            display: block;
            font-weight: $btn-font-weight;
            color: $red;
          }

          &__saved {
            display: block;
          }

          &__total {
            color: $red;
          }
        }
      }
    }

    &__title_link {
      text-decoration: underline;
      font-size: 16px;
      font-weight: $btn-font-weight;
      line-height: 1.5rem;
      display: inline-block;
      margin-bottom: 16px;
    }

    &__code {
      margin-bottom: 15px;
      white-space: nowrap;
    }

    .order-line__promo {
      margin: 10px 0 15px;
    }

    &__delivery {
      align-items: center;
      border-top: 1px solid $gray-light;
      padding-top: 20px;

      &-in_store_only {
        @include make-col(8);

        width: 100%;
        padding: 10px;
        text-align: center;
        border: 1px solid $gray-light;
      }
    }

    &__lbl {
      @include make-col(4);
      display: inline-block;
      vertical-align: top;
      color: $warm-grey;
      font-weight: 700;
    }

    .order-line__value {
      @include make-col(8);
    }
  }

  .shopping-list {
    .my-shopping-list {
      .shop-list-info {
        padding-bottom: 16px;
        justify-content: flex-start;
        flex-wrap: wrap;

        &__ref {
          padding-right: 15px;
          padding-top: 0;
          font-size: 16px;
          width: 100%;
          flex: 1;
          max-width: 100%;
          margin-bottom: 10px;

          &_value {
            overflow-wrap: normal;
            word-break: normal;
          }
        }

        &_item {
          text-align: left;
          font-weight: 400;
          margin-top: 0;
        }
      }
    }
  }
}
