@import '../../../styleConstants.scss';

#cart-count {
    vertical-align: sub;
    color: $accentColor;
    font-size: 1.6rem;
    font-family: arial,sans-serif;
}

#cart-container {
    padding: 2rem;
}

#cart-items-container {
    border-radius: $box-radius;

    .cart-show-items {
        padding: 1rem;
    }

    .quantity-field {
        margin-left: 2%;
        display: inline-block;
        max-width: 5rem;
    }

    .remove-item {
        color: #111;
        cursor: pointer;
        font-size: 1.3rem;
        padding-top: 0.375rem;
        line-height: 1.5rem;
    }

    .cart-item-details {
        padding-top: 0.5rem;
    }

    .cart-item-small-details {
        padding-top: 0.5rem;
        font-size: $font-size-msmall;
    }

    .item-name {
        font-weight: $font-weight;
    }

    .cart-item-additional-title {
        font-weight: 600;
        color: $font-light-color;
    }

    .cart-item-details {
        .item-name {
        }
        .item-quantity {

        }

        .wiaas-divider {
            height: 40px;
            margin: 0 20px;
            min-width: 1px;
        }
    }

    .item-payment-type {
        font-weight: 600;
    }

    .item-price {
        background-color: #fbfbfb;
        margin-top: 1rem;

        .item-price-type {
            padding: 0.4rem;
            color: $font-light-color;
            font-weight: 600;
        }

        .item-price-header {
            font-weight: 600;
            color: $font-light-color;
            padding: 0.4rem;
        }

        .item-price-value {
            padding: 0.4rem;
        }
    }

    .cart-total-price {
        padding: 1rem 0;
        font-size: $font-size-big;

        .cart-total-price-header {
            color: $font-light-color;
            font-weight: 600;
        }
    }

    .price-table th{
        padding: 0.5rem;
    }

    .price-table td{
        border-top: 1px solid $darkGreyColor;
        padding: 0.5rem;
    }

    .not-available {
        margin-left: 0.2rem;
        color: $not-available-status-color;
        font-weight: $font-weight;
        font-size: $font-size-msmall;
    }

    .old-price{
        text-decoration: line-through;
        font-size: $font-size-msmall;
    }

    .new-price{
        color: $redColor;
        font-weight: $font-weight;
    }
}

#cart-review-order-container {
    border-radius: $box-radius;



    .cart-customer-main-info-row {
        padding: 0.5rem;
        text-align: left;
        > div:first-child {
            color: $font-light-color;
            font-weight: 600;
        }
    }

    .place-order-btn {
        cursor: pointer;
        background-color: $accentColor;
        border: none;
        width: 100%;
        float: right;
        font-weight: $font-weight;
        &:focus, &:hover {
            box-shadow: 0 0 0 0.1rem lighten($accentColor, 0.9) !important;
        }
    }

    .button-cart {
        text-align: right;
        padding: 1rem;
    }
}

#go-to-co-market-text {
    color: $warmGreyColor;
}

#cart-add-new-delivery-address {
    margin: 1rem;
}

#cart-customer-details-container {
    .cart-customer-main-info-row {
        padding: 0.5rem;
        text-align: left;
    }

    .country-address {
        padding: 0;
    }

    .next-btn, .prev-btn {
        cursor: pointer;
        background-color: $whiteColor;
        color: $darkGreyColor;
    }

    .next-btn {
        float: right;
    }

    .prev-btn {
        float: left;
    }

    .address-row {
        position: relative;
        border-bottom: 1px solid $divider-color;
        padding: 0.5rem 0;
    }

    .address-text {
        position: relative;
        display: inline-block;
        margin-left: 2rem;
        width: 80%;
    }

    .address-icons{
        position: absolute;
        min-width: 3rem;
        display: inline-block;
        text-align: right;
        width: 15%;
    }

    .control-icon {
        margin-right: 2rem;
        font-size: $font-size-big;
        cursor: pointer;
    }

    .add-address-btn{
        cursor: pointer;
        margin: 1rem 0;
    }

    .cart-address-box {
        margin-top: 2rem;
    }
}

#cart-customer-main-information-container {
    border-radius: $box-radius;
}
