.main_content {
    width: 100%;
    margin: 0px auto;
    /* background-color: #fafbff; */
    background-color: var(--page-bg-color);
    padding: 30px 0;
}

.page_heading {
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    text-decoration: underline;
}

.my_cart_container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 10px;
}

.my_cart_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.my_checkout_items_list {
    width: 100%;
    margin-right: 10px;
}

.cart_item_div {
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    position: relative;
    background-color: #fff;
    margin: 2px;
    border-radius: 6px;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
}

.cart_item_detail {
    width: 100%;
    padding: 5px;
}

.item_name {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--main-black);
    display: block;
}

.item_name:hover {
    color: var(--primary-color);
}

.pd_cart_item_img {
    display: block;
}

.img_type2 {
    height: 110px;
    width: 110px;
    /* border-radius: 4px; */
}

.remove_cart_item {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 25px;
    height: 30px;
    width: 30px;
    color: var(--dark-gray);
}

.remove_cart_item:hover {
    color: var(--dark-blue);
}

.hr_line {
    /* background-color: var(--dark-gray); */
    /* height: 1px; */
    width: 100%;
    margin: 3px 0;
}

.item_price_div {
    margin: 10px 0;
}

.item_price {
    font-size: 16px;
    font-weight: 500;
    color: var(--main-black);
}

.bfd_price {
    text-decoration: line-through;
    margin-left: 10px;
    color: var(--header-subtext-color);
    font-size: 14px;
}

.item_qty_selector {
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    outline: none;
    width: 50px;
    padding: 2px;
    margin-top: 8px;
    background-color: #fff;
}

/* .out_of_stock {} */

.b_container {
    width: 100%;
    max-width: 480px;
}

/* Pricing Details */
.flex_sbt {
    display: flex;
    justify-content: space-between;
}

.cart_pricing__ {
    /* border: 1px solid var(--dark-gray); */
    padding: 15px;
    width: 100%;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
}

.shipping_charges,
.order_value,
.coupon_discount {
    margin: 5px 0;
    color: var(--gray-made-color);
}

.grand_total {
    border-top: 1px solid var(--ft-text-gray);
    border-bottom: 1px solid var(--ft-text-gray);
    padding: 8px 0;
    margin: 10px 0;
    font-weight: 500;
}


/* Apply Coupon  */
.apply_coupon_div {
    position: relative;
    width: 100%;
    margin: 10px auto;
}

.coupon_form {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 10px auto;
}

.cart_coupon_input {
    width: 100%;
    height: 40px;
    border: 1px solid var(--ft-text-gray);
    border-radius: 4px;
    padding: 0 50px 0 10px;
    outline: none;
    color: var(--primary-color);
    font-weight: 500;
}

.cart_coupon_input:focus {
    border: 2px solid var(--primary-color);
    font-size: 16px;
}

.apply_cart_coupon {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 22px;
    background-color: var(--primary-color);
    color: #fff;
    height: 100%;
    width: 50px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.coupon_applied_notice {
    font-weight: 500;
    width: fit-content;
    margin: 0 auto;
}

.greenC {
    color: #27A62E;
    font-weight: 500;
}

.place_order {
    display: block;
    background-color: var(--primary-color);
    color: #fff;
    height: 38px;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    border-radius: 4px;
}

.place_order:hover {
    /* font-weight: 500; */
    background-color: var(--bottom-nav);
}

.free_delivery_note {
    width: fit-content;
    margin: 0 auto;
    margin-top: 10px;
    color: var(--header-subtext-color);
    text-align: center;
}



/* Address Div */
.address_div {
    /* border: 1px solid var(--dark-gray); */
    padding: 15px;
    width: 100%;
    margin-top: 15px;
    border-radius: 5px;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.05);
}

.address_div > h3 {
    font-size: 17px;
    font-weight: 500;
    text-decoration: underline;
}

.address_div .title {
    font-size: 16px;
    color: var(--main-black);
    font-weight: 500;
}

.address_div .value {
    color: var(--gray-made-color);
    margin-left: 10px;
}

.checkout_form_div {
    width: 100%;
    margin-top: 20px;
}

.street_address {
    padding-top: 10px;
    height: auto;
}

.user_name,
.user_address,
.add_landmark {
    margin: 13px 0;
    display: flex;
    align-items: flex-start;
}

.add_landmark {
    align-items: center;
}

.user_landmark {
    width: 100%;
    height: 35px;
    border: 1px solid var(--ft-text-gray);
    border-radius: 4px;
    padding: 0 10px 0 10px;
    outline: none;
    margin-left: 10px;
}

.address_confirmation {
    display: block;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    height: 38px;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    margin-top: 18px;
    border-radius: 4px;
    font-weight: 500;
}

.address_confirmation:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.edit_address {
    border: 1px solid var(--light-gray);
    height: 35px;
    width: 35px;
    border-radius: 50%;
    font-size: 18px;
    position: absolute;
    top: 5px;
    right: 5px;
}

.edit_address:hover {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}

@media screen and (max-width: 1050px) {
    .my_cart_container {
        flex-direction: column;
    }

    .my_cart_items_list {
        width: 100%;
        min-width: auto;
    }

    .b_container {
        max-width: none;
        margin-top: 15px;
    }
}

@media screen and (max-width: 450px) {

    .my_cart_container {
        padding: 5px;
    }

    .item_name,
    .item_price,
    .cart_pricing__,
    .address_div,
    .address_div .title {
        font-size: 14px;
    }

    .place_order {
        max-width: none;
    }

    .address_div > h3 {
        font-size: 16px;
    }

    .grand_total {
        font-size: 16px;
    }

}

@media screen and (max-width: 400px) {

    .cart_pricing__,
    .address_div {
        padding: 15px 8px;
    }

}

@media screen and (max-width: 350px) {
    .my_cart_container {
        flex-direction: column;
        padding: 5px;
    }
}