@import 'moda-themes/themes';

.order-summary-mobile-view {
  @media only screen and (max-width: 992px) {
    .order-summary-wrap-v2:nth-child(2) {
      margin-bottom: 20px;
      font-size: 16px;
    }
  }
}
.order-summary-container {
  &_border {
    border-bottom: 1px solid #434343;
  }
}
.order-summary-container.mobile-view {
  background-color: #ffffff;
  margin: 0 !important;
  border-top: 1px solid #434343;
  padding: 0 0 11px;
  .order-summary-container_title{
    margin-left: 0;
    font-size: 16px;
    line-height: 1.5;
    font-family: var(--theme-font-families-sans);
    margin-bottom: 0;
    padding: 20px 0 20px 0;
  }
}
.order-summary-container-new {
  margin-left: 14px;
  min-width: 417px;
  border: 1px solid #E1E1E1;

  @media only screen and (max-width: 992px) {
    min-width: 0px;
    width: 100%;
    border: none;
    margin-left: 0px;
  }
}

.order-summary-section {
  background-color: color('white');
  margin-bottom: 9px;
  &_divider {
    height: 2px;
    width: 369px;
    border: 1px solid #9F9F9F;
    margin-left: 27px;
    @media only screen and (max-width: 992px) {
      height: 26px;
      border: none;
      width: 100%;
      margin: 0;
      background-color: #F5F5F5;
    }
  }
  .return-link {
    cursor: pointer;
    text-decoration: underline;
  }
}

#payment-summary-container {
  width: 95%;
  padding-left: 27px;

  @media screen and (max-width:  992px) {
    padding: 20px 0 0 14px;
    border: none;
  }
}
.order-summary-title-new {
  color: #222222;
  font-family: Gotham;
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid #9F9F9F;
  padding: 20px 0px 4px 0px;
  margin: 0px 24px;
  text-shadow: 1px 0 0;

  @media only screen and (max-width: 992px) {
    font-size: 24px;
    text-align: center;
    line-height: 0.7;
    text-shadow: none;
    border-bottom: none;
    padding-top: 40px;
  }
}

.order-summary-products {
  overflow-y: visible;
  overflow-x: hidden;
  min-height: 210px;
  max-height: 480px;
  &_title {
    background-color: #F5F5F5;
    height: 36px;
    width: 100%;
    color: #222222;
    font-family: "Moda Operandi";
    font-size: 16px;
    line-height: 1.5;
    margin-top: 20px;
    @media only screen and (max-width: 992px) {
      line-height: 2.2;
      padding-left: 14px;
    }
  }
  > div {
    border-top: 1px solid #E1E1E1;
    &:first-child{
      border: none;
    }
  }
  .cart-item {
    margin-top: 20px;
    border-top: none;
    border-bottom: 1px solid #E1E1E1;
    padding-left: 27px;
    &:last-child {
      border: none;
    }
    @media only screen and (max-width: 992px) {
     padding: 0px;
     margin-top: 20px;
    }
    .data-container {
      display: inline-block;
      .timer-icon {
        width: 5%;
        float: left;
        margin-right: 3px;
        color: #87363d;
      }
      .countdown-timer-wrapper {
        display: flex;
        margin-bottom: 13px;
        font-size: 12px;
        color: #87363d;
      }
      .error-message-main-container {
        width: 100%;
        .error-container {
          left: 0;
          .mojo-error-message {
            margin: 0 auto;
            margin-bottom: 12px;
            padding: 0;
            width: inherit;
            color: color('code-red');
            line-height: 1.5;
            font-family: font-family('sans');
            &:before {
              display: none;
            }
            @media screen and (max-width: 1200px) {
              margin-left: 0px;
            }
          }
          .moda-icon-timer {
            line-height: 1.5;
            margin-right: 5px;
          }
        }
      }
    }
    .image-container {
      display: inline-block;
      width: 106px;
    }
    .container-no-x {
      padding: 0px 26px 0px 0px !important;
    }
    .info-container {
      width: 61%;
      vertical-align: top;
      text-align: left;
      display: inline-block;
      font-family: font-family('sans');
      font-size: 12px;
      line-height: 1.5;
      color: color('cement');

      @media screen and (max-width: 992px) {
        width: 58%;
      }
      .designer-product-name {
        padding-bottom: 6px;
      }
      .designer {
        color: #222222;
        font-family: Gotham;
        font-size: 12px;
        line-height: 1.5;
      }
      .name {
        color: color('cement');
      }

      .price {
        padding: 6px 0;
        .original-amount, .previous-amount {
          font-family: Gotham;
          color: #434343;
          font-size: 12px;
          line-height: 1.5;
          float: left;
        }  
        .previous-amount {
          text-shadow: 0.5px 0 0;
          &.strike-text {
            text-decoration: line-through;
            color: color('nokia');
          }
        }
      }
      .personalization-header, .expected-delivery-time {
        color: #434343;
        font-size: 12px;
        line-height: 1.5;
      }
      .return-policy {
        color: #434343;
        font-family: Gotham;
        font-size: 12px;
        text-shadow: 0.5px 0 0;
        line-height: 1.5;
      }
      .expected-delivery-time {
        margin-top: 16px;
      }
      .other-info {
        width: 210px;
        display: inline-block;
        .item-info {
          &.size {
            width: 55%;
            float: left;
            margin-right: 5px;
          }
          &.qty {
            width: 30%;
            float: right;
            @media screen and (max-width: 992px) {
              margin-right: 0;
              width: 41%;
              .ShippingAddressSelect {
                width: 75px;
              }
            }
          }
          &.size-error, &.qty-error {
            .moda-icon-arrow_sm_down {
              border: 1px solid color('code-red');
              &:before {
                color: color('code-red') !important;
              }
            }
          }
        }
      }
      .delivery-date {
        padding: 6px 0;
        display: inline;
      }
      .low-stock-alert {
        color: #ee0700;
      }
    }
    .conditional-messages {
      background-color: #fafafa;
      margin-left: 132px;
      margin-top: 12px;
      .mojo-tagline-4 {
        margin-top: 5PX;
      }
      @media screen and (max-width: 992px) {
        width: 53%;
        margin-top: 2%;
      }
    }
    .checkout-product-remove-v2 {
      margin-left: 122px;
      .bottom-button-links-v2 {
        margin-top: 12px;
        margin-bottom: 19px;
        .save-for-later-remove {
          font-family: var(--theme-font-families-sans);
          text-decoration: underline;
          color: #444444;
          font-size: 11px;
          line-height: 1.5;
          cursor: pointer;
        }

        .mojo-panel_controls_divider {
          display: inline-block;
          vertical-align: middle;
          margin: 0 10px;
          font-family: var(--theme-font-families-sans);
          font-size: 11px;
          line-height: 1;
          color: #dedede;
        }
      }
    }
  }
}