.cart_wrapper {
    width: 100%;
    .cart_head {
        width: 100%;
        height: 220px;
        background-image: url("../../assets/Group63@3x.png");
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: cover;
        .nav_header {
            position: static;
            background-color: transparent;
            .nav_title {
                h4 {
                    color: #FFF;
                }
            }
        }
        .cart_menu_header {
            padding: 20px;
            ul {
                margin: 0px;
                padding: 10px;
                background-color: rgba(273, 273, 273, 0.1);
                border-radius: 10px;
                li {
                    list-style: none;
                    color: rgba(176, 174, 199, 1);
                    width: 20%;
                    display: inline-block;
                    font-weight: 700;
                    font-size: 13px;
                    hr {
                        height: 0px;
                        border-top: none;
                        width: 90%;
                        margin-top: 0px;
                        margin-bottom: 0px;
                        position: relative;
                        margin: 0 auto;
                        border-bottom: 2px dashed rgba(176, 174, 199, 1);
                        bottom: 4px;
                    }
                }
                .active {
                    color: #FFF;
                }
            }
        }
        .cart_content {
            width: calc(100% - 40px);
            margin: 0 auto;
            height: calc(100vh - 220px);
            border-radius: 10px;
            background-color: #fff;
            .checkout_list {
                width: 100%;
                padding: 15px;
                height: calc(100vh - 180px);
                overflow: scroll;
                .payment_method {
                    width: 100%;
                    padding-bottom: 15px;
                    padding-top: 15px;
                    [type="radio"]:checked,
                    [type="radio"]:not(:checked) {
                        position: absolute;
                        left: -9999px;
                    }
                    [type="radio"]:checked+label,
                    [type="radio"]:not(:checked)+label {
                        position: relative;
                        padding-left: 28px;
                        width: 100%;
                        cursor: pointer;
                        line-height: 20px;
                        display: inline-block;
                        color: #666;
                    }
                    [type="radio"]:checked+label:before,
                    [type="radio"]:not(:checked)+label:before {
                        content: '';
                        position: absolute;
                        left: 0;
                        top: 0;
                        width: 18px;
                        height: 18px;
                        border: 2px solid #29285b;
                        border-radius: 100%;
                        background: #fff;
                    }
                    [type="radio"]:checked+label:after,
                    [type="radio"]:not(:checked)+label:after {
                        content: '';
                        width: 12px;
                        height: 12px;
                        background: #29285b;
                        position: absolute;
                        top: 5px;
                        left: 5px;
                        border-radius: 100%;
                        -webkit-transition: all 0.2s ease;
                        transition: all 0.2s ease;
                    }
                    [type="radio"]:not(:checked)+label:after {
                        opacity: 0;
                        -webkit-transform: scale(0);
                        transform: scale(0);
                    }
                    [type="radio"]:checked+label:after {
                        opacity: 1;
                        -webkit-transform: scale(1);
                        transform: scale(1);
                    }
                }
                h5 {
                    color: rgba(59, 57, 77, 1);
                    margin: 0px;
                    padding: 0px;
                    font-weight: bolder;
                    font-size: 18px;
                    padding-bottom: 15px;
                    padding-top: 10px;
                }
                p {
                    margin: 0px;
                    text-align: left;
                    color: rgba(41, 40, 91, 1);
                    padding-left: 10px;
                }
                h6 {
                    margin: 0px;
                    padding: 0px;
                    color: rgba(176, 174, 199, 1);
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    text-align: left;
                    strong {
                        color: rgba(59, 57, 77, 1);
                        font-weight: 400;
                    }
                }
                ion-row {
                    padding-bottom: 10px;
                }
                hr {
                    border-top: none;
                    height: 0px;
                    border-bottom: 1px solid rgba(176, 174, 199, 1);
                }
                .card_div {
                    border: 1px solid rgba(176, 174, 199, 1);
                    height: 50px;
                    border-radius: 5px;
                    input {
                        border: none;
                        height: 100%;
                        background-color: transparent;
                    }
                    .card_no {
                        width: calc(100% - 80px);
                        height: 100%;
                        padding-left: 20px;
                        border-right: 1px solid rgba(176, 174, 199, 1);
                    }
                    .cv_number {
                        width: 80px;
                        height: 100%;
                        text-align: center;
                    }
                }
                .after_pay {
                    height: 60px;
                    border-top: 1px solid #b0aec7;
                    border-bottom: 1px solid #b0aec7;
                    color: #b0aec7;
                    text-align: left;
                    padding-top: 17px;
                    margin-top: 25px;
                }
                .delivery_time {
                    width: 100%;
                    padding-top: 30px;
                    padding-bottom: 20px;
                    ul {
                        margin: 0px;
                        padding: 0px;
                        text-align: left;
                        li {
                            padding: 0px;
                            list-style: none;
                            display: inline-block;
                            font-size: 12px;
                            margin-right: 10px;
                            text-align: center;
                            border: 1px solid rgba(176, 174, 199, 1);
                            border-radius: 4px;
                            padding: 5px;
                            strong {
                                color: rgba(59, 57, 77, 1);
                            }
                        }
                    }
                }
                .coupon_code {
                    padding-top: 20px;
                    padding-bottom: 40px;
                    border-bottom: 1px solid #b0aec7;
                    .promo-row {
                        display: flex;
                        justify-content: space-between;
                        input {
                            width: 75%;
                            border: 1px solid #b0aec7;
                            border-radius: 20px;
                            height: 35px;
                            padding-left: 20px;
                            font-weight: 900;
                            color: #29285b;
                            outline: none;
                            transition: all .4s ease-in-out;
                            &::placeholder {
                                color: rgba(215, 213, 228, 1);
                            }
                            &:focus {
                                border: 1px solid #f3d09f;
                                box-shadow: 3px 3px 6px 0px rgba(202, 154, 83, 0.11);
                            }
                        }
                        .add_btn {
                            color: #29285b;
                            width: 25%;
                            height: 35px;
                            background: transparent;
                            font-size: 17px;
                            font-weight: bolder;
                        }
                        .apply_btn {
                            display: flex;
                        }
                    }
                    .promo-success {
                        color: #31b131;
                        font-size: 16px;
                        text-align: left;
                        display: block;
                        margin-top: 5px;
                    }
                }
                .total_div {
                    p {
                        margin: 0px;
                        padding: 0px;
                        color: rgba(41, 40, 91, 1);
                        font-weight: bolder;
                    }
                }
            }
            .cart_list {
                width: 100%;
                height: calc(100vh - 200px);
                overflow: scroll;
                ul {
                    margin: 0px;
                    padding: 10px;
                    width: 100%;
                    li {
                        list-style: none;
                        width: 100%;
                        padding-right: 10px;
                        position: relative;
                        padding-left: 25px;
                        border-bottom: 1px solid rgba(215, 213, 228, 1);
                        padding-bottom: 20px;
                        padding-top: 20px;
                        .close {
                            background-image: url("../../assets/close.png");
                            width: 15px;
                            height: 15px;
                            background-position: center;
                            background-repeat: no-repeat;
                            position: absolute;
                            top: 55px;
                            left: 0px;
                            background-size: cover;
                        }
                        .cart_image {
                            width: 90px;
                            height: 90px;
                            background-color: #a8a8a8;
                            border-radius: 8px;
                            float: left;
                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                                object-position: center;
                                border-radius: 8px;
                            }
                        }
                        .cart_detail {
                            float: left;
                            width: calc(100% - 120px);
                            padding-left: 15px;
                            padding-top: 5px;
                            h4 {
                                margin: 0px;
                                padding: 0px;
                                color: rgba(176, 174, 199, 1);
                                text-align: left;
                                font-size: 16px;
                                overflow: hidden;
                                white-space: nowrap;
                                text-overflow: ellipsis;
                            }
                            h5 {
                                margin: 0px;
                                padding: 0px;
                                color: rgba(59, 57, 77, 1);
                                text-align: left;
                                font-weight: bolder;
                                font-size: 20px;
                                padding-top: 10px;
                                overflow: hidden;
                                white-space: nowrap;
                                text-overflow: ellipsis;
                            }
                        }
                        .cart_count {
                            width: 30px;
                            float: left;
                            height: 90px;
                            padding-top: 35px;
                            padding-bottom: 35px;
                            border: 1px solid rgba(215, 213, 228, 1);
                            border-radius: 20px;
                            color: rgba(215, 213, 228, 1);
                            font-size: 20px;
                            position: relative;
                            .add {
                                position: absolute;
                                top: 0px;
                                left: 0px;
                                right: 0px;
                            }
                            .remove {
                                position: absolute;
                                bottom: 0px;
                                left: 0px;
                                right: 0px;
                            }
                            .count {
                                color: rgba(41, 40, 91, 1);
                                font-size: 16px;
                                font-weight: 900;
                            }
                        }
                    }
                }
                .total_div {
                    p {
                        margin: 0px;
                        padding: 0px;
                        color: rgba(41, 40, 91, 1);
                        font-weight: bolder;
                    }
                }
            }
            .order_placed_div {
                width: 100%;
                padding: 10px;
                padding-top: 30px;
                img {
                    width: 80px;
                }
                h4 {
                    color: #29285b;
                    font-weight: bolder;
                    margin-bottom: 5px;
                }
                p {
                    color: #29285b;
                    margin: 0px;
                    padding: 0px;
                    font-size: 14px;
                }
                h3 {
                    color: rgba(176, 174, 199, 1);
                    font-size: 18px;
                    padding-top: 20px;
                }
                h1 {
                    color: rgba(59, 57, 77, 1);
                    font-weight: bolder;
                    font-size: 35px;
                    margin: 0px;
                }
                .view_order {
                    height: 45px;
                    border-radius: 10px;
                    padding-left: 20px;
                    padding-right: 20px;
                    background-color: #29285b;
                    color: #FFF;
                    margin-top: 30px;
                    font-size: 18px;
                    font-weight: 400;
                }
                .home_btn {
                    height: 45px;
                    color: #29285b;
                    background-color: transparent;
                    padding-left: 20px;
                    padding-right: 20px;
                    margin-top: 30px;
                    font-size: 18px;
                    font-weight: 900;
                }
            }
            .no-items-wrapper {
                text-align: center;
                padding-top: 40%;
                img {
                    width: 100px;
                }
                h1 {
                    font-size: 18px;
                    font-weight: bolder;
                    text-transform: uppercase;
                    color: #3B394D;
                }
                button {
                    background-color: #29285b;
                    border-radius: 8px;
                    height: 50px;
                    width: 48%;
                    color: #fff;
                    font-size: 18px;
                    font-weight: lighter;
                    text-transform: uppercase;
                    margin-top: 10px;
                }
            }
        }
    }
}

.footer_btn {
    width: 100%;
    z-index: 999;
    left: 0px;
    right: 0px;
    box-shadow: 0px -2px 3px -1px rgba(0, 0, 0, 0.34);
    background-color: rgba(41, 40, 91, 1);
    text-align: center;
    color: #fff;
    font-size: 18px;
    padding: 15px;
    font-weight: 300;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.footer_btnbay {
    width: 100%;
    box-shadow: 0px -2px 3px -1px rgba(0, 0, 0, 0.34);
    z-index: 999;
    left: 0px;
    right: 0px;
    border-radius: 15px;
    .continue {
        width: 50%;
        border-top-left-radius: 15px;
        text-align: center;
        font-size: 18px;
        padding: 15px;
        font-weight: 300;
        float: left;
        border-top: 1px solid #d7d5e4;
        border-left: 1px solid #d7d5e4;
    }
    .checkout {
        width: 50%;
        border-top-right-radius: 15px;
        background-color: rgba(41, 40, 91, 1);
        border: 1px solid rgba(41, 40, 91, 1);
        text-align: center;
        color: #fff;
        font-size: 18px;
        padding: 15px;
        font-weight: 300;
        float: right;
    }
}

.sort_wrappper {
    height: 100vh;
    width: 100%;
    background: #fff;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 99;
    agm-map {
        width: 100%;
        height: 100vh;
    }
    .add_address_wrapper {
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0px;
        overflow: scroll;
        top: 40%;
        padding: 20px 20px 50px 20px;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        background: #fff;
        box-shadow: 0px -2px 5px 0px rgba(0, 0, 0, 0.2);
    }
    h5 {
        color: rgba(41, 40, 91, 1);
        margin: 0px;
        padding: 0px;
        font-weight: 800;
    }
    ul {
        margin: 0px;
        padding: 0px;
        padding-top: 30px;
        li {
            list-style: none;
            margin-bottom: 15px;
            p {
                margin: 0px;
                padding: 0px;
                color: rgba(176, 174, 199, 1);
                padding-top: 5px;
                padding-bottom: 5px;
            }
            .styled-checkbox {
                position: absolute; // take it out of document flow
                opacity: 0; // hide it
                &+label {
                    position: relative;
                    cursor: pointer;
                    padding: 0;
                    width: 100%;
                }
                // Box.
                &+label:before {
                    content: '';
                    margin-right: 10px;
                    display: inline-block;
                    vertical-align: text-top;
                    width: 20px;
                    height: 20px;
                    border-radius: 50%;
                    background: white;
                    border: 1px solid rgba(215, 213, 228, 1);
                }
                &:checked+label:before {
                    background: #29285b;
                }
                // Disabled state label.
                &:disabled+label {
                    color: #b8b8b8;
                    cursor: auto;
                }
                // Disabled box.
                &:disabled+label:before {
                    box-shadow: none;
                    background: #ddd;
                }
                // Checkmark. Could be replaced with an image
                &:checked+label:after {
                    content: '';
                    position: absolute;
                    left: 6px;
                    top: 10px;
                    background: white;
                    width: 2px;
                    height: 2px;
                    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
                    transform: rotate(45deg);
                }
            }
        }
    }
}