/*MENU SIDEBAR*/
#menu_sidebar{
    width: 20%;
    min-width: 390px;
    float: left;
    margin-top: 90px;
    height: 100vh;
    padding: 0 15px;
    border-left: 1px solid lightgray;
    position: fixed;
    box-shadow: -1px 0 20px 4px rgba(0,0,0,0.1);
}
#menu_sidebar .single_cart_product button{
    background: white;
    border: 1px solid lightgray;
    line-height: 23px;
    width: 30px;
    height: 30px;
    padding: 0;
    padding-bottom: 4px;
    font-size: 23px;
    color: var(--accent-color);
    cursor: pointer;
    text-align: center;
    border-radius: var(--btn-border-radius);
    border: none;
}
#menu_sidebar .single_cart_product button:hover{
    border: 1px solid var(--accent-color);
}
#menu_sidebar .single_cart_product{
    border-bottom: 1px solid #ebebeb;
    padding: 1em;
}
/*#menu_sidebar #sidebar_cart .link_back,*/
#menu_sidebar .single_cart_product .edit_product_comment, #menu_sidebar .single_cart_product .add_product_comment{
    text-decoration: underline;
    font-weight: bold;
    font-size: 14px;
    color: var(--accent-color);
    cursor: pointer;
}
#menu_sidebar .single_cart_product .comment_btn_wrapper{
    display: flex;width: 100%;
    justify-content: flex-end;
    font-size: small;
}
#menu_sidebar .single_cart_product .product_comment{
    width: 100%;
    max-width: 100%;
    height: 4em;
    max-height: 4em;
    margin-top: 5px;
    border-color: lightgray;
}
#menu_sidebar .single_cart_product .comment_btn_wrapper>div{
    color: var(--accent-color);
    cursor: pointer;
}
#menu_sidebar .single_cart_product .comment_btn_wrapper>div:hover{
    text-decoration: underline;
}
#menu_sidebar .single_cart_product .comment_btn_wrapper>div:first-of-type{
    margin-right: 1em;
}
#menu_sidebar #sidebar_cart{
    overflow-y: auto;
    height: calc(100vh - 130px);
}
#menu_sidebar #sidebar_cart::-webkit-scrollbar {
    width: 3px;
}
/* Track */
#menu_sidebar #sidebar_cart::-webkit-scrollbar-track {
    /*background: #f1f1f1;*/
    border-radius: 50px;
    background: rgba(0,0,0,0);
}
/* Handle */
#menu_sidebar #sidebar_cart::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0);
    border-radius: 50px;
    background-image: linear-gradient(0, rgba(0,0,0,0) 6%, #888 0%);
}
/*
    #menu_sidebar #sidebar_cart .single_cart_product p span{
        color: #6d0914;
        font-weight: 500;
    }
    #menu_sidebar #sidebar_cart .link_back,
    #menu_sidebar #sidebar_cart .add_product_comment, #menu_sidebar #sidebar_cart .edit_product_quantity{
        color: #f58a2a;
    }
    #menu_sidebar #sidebar_cart #sidebar_submit_btn{
        background-color: #f58a2a;
        border-color: #f58a2a;
    }
    #menu_sidebar #sidebar_cart #sidebar_submit_btn:hover{
        background-color: #f59f52;
        border-color: #f59f52;
    }
*/

.menu_sidebar .heading-container {
    padding: 15px;font-weight: bold;color: #424242;font-size: 20px;
}
.single_cart_product_data { 
    display: flex; flex-wrap: wrap; justify-content: space-between;color: var(--black-light-color);margin:0;
}
.product_price_container {
    padding-right: 0;
    margin-left: auto;
}
.product_discount_price_container {
    display: block; text-align: right; width: 100%; padding-right: 0; line-height: 1;
}
.product_options_container {
    font-size: small;
}
.add_comment_container {
    display: flex;justify-content: space-between;color: var(--black-light-color);
}
.add_comment_wrapper {
    color: var(--black-light-color); display: none; width: 100%;
}
/* Empty Cart */
.empty_cart_icons img {
    width: 100%; object-fit: contain
}
.empty_cart_icons p {
    font-size: 20px
}
.total_wrapper {
    padding: 1em;color: var(--black-light-color);
}
.total_wrapper_el { margin: 0;font-size: 1rem } 
.total_wrapper_el span { float: right }
.total_wrapper_el > span { display: flex; gap: 4px }
.total_wrapper_el_final_price { font-weight: 500;margin-top: 10px }
.total_wrapper_el_final_price span { font-weight: 500 }

.total_wrapper.index_view > *:not(.index_show) {
  display: none;
}
.total_wrapper:has(.total_wrapper_el_boxes) {
  padding-top: 0;
}
.total_wrapper .total_wrapper_el_boxes {
  margin-bottom: 1em;
}

.min_price_message { font-size: small }
.min_price_message p { margin: 1rem 0;text-align: center }
.checkout_link_back { padding: 0 15px 15px }

/* ADDITIONAL CSS */
/*#menu_sidebar #sidebar_cart .link_back, */
#menu_sidebar .single_cart_product .edit_product_comment, 
#menu_sidebar .single_cart_product .add_product_comment {
    color: var(--secondary-color);
}
#menu_sidebar .single_cart_product button {
    color: var(--primary-color);
}
#menu_sidebar .single_cart_product button:hover {
    border: 1px solid var(--primary-color);
}
#menu_sidebar .sidebar_products  .single_cart_product:last-child {
    border: none;
}
#menu_sidebar .single_cart_product .comment_btn_wrapper {
    gap: 10px
}
#menu_sidebar .single_cart_product .comment_btn_wrapper>div {
    color: var(--primary-color);
    font-size: 14px;
    line-height: 1;
}
#menu_sidebar .single_cart_product .comment_btn_wrapper>div:first-of-type {
    margin: 0;
}
#menu_sidebar #sidebar_cart .link_back { margin-top: 10px }