.cart.cart-form {
  margin-bottom: 7em;

  .views-form {
    table {
      width: 100%;
    }

    tbody>tr>td {
      border-top: 1px solid var('--bs-light');
    }

    th,
    td {
      padding-top: 1em;
      padding-bottom: 1em;
    }
  }

  .ordered-bike-specifications {
    max-width: 310px;
  }

  .quantity-edit-input {
    width: 60px;
  }

  .form-actions {
    display: flex;
    margin-top: 2em;
    border-top: 1px solid #C4C4C4;
    padding-top: 5em;

    input[data-drupal-selector="edit-checkout"] {
      margin-left: auto;
    }
  }


}

.cart-item {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  position: relative;

  margin-top: 2em;
  border-top: 1px solid #C4C4C4;
  padding-top: 3em;

  .views-field-accessories {
    width: 100%;
  }

  .views-label {
    margin-bottom: 5em;
    display: block;
  }

  .views-field-remove-button {
    display: flex;
    align-items: center;
  }

  .order-item-remark {
    height: 89px;
  }
}

@media all and (max-width: 991.98px) {
  .cart-item {
    flex-wrap: wrap;

    .views-field-purchased-entity {
      width: 215px;
      margin-right: 50px;
    }

    .views-field-remove-button {
      position: absolute;
      right: 0;
      top: 0;
      width: 30px;
      height: 100%;
    }

    .views-field-order-details,
    .views-field-edit-quantity,
    .views-field-unit-price__number {
      width: calc(100% - 265px);
      padding-right: 30px;
    }

    .views-field-edit-quantity,
    .views-field-unit-price__number {
      margin-left: 265px;
    }

    .views-field-edit-quantity,
    .views-field-unit-price__number {
      margin-top: 2em;
    }

    .views-label {
      margin-bottom: 1em;
    }

    .ordered-bike-specifications {
      max-width: 100% !important;
    }
  }
}

@media all and (max-width: 600px) {
  .cart-item {
    .views-field-purchased-entity {
      width: 100%;
      margin-right: 0px;
      margin-bottom: 2em;
      padding-right: 30px;
    }

    .views-field-order-details,
    .views-field-edit-quantity,
    .views-field-unit-price__number {
      width: 100%;
    }

    .views-field-edit-quantity,
    .views-field-unit-price__number {
      margin-left: 0;
    }
  }
}

.commerce-checkout-flow-custom-checkout-flow {
  .form-actions[data-drupal-selector="edit-actions"] {
    text-align: right;
  }
}
