/*****
cart: 
    * product details
    *  cart products 
*****/  


 /* 
---------------------------------
-----    product details    -----
---------------------------------
 */  

.mod_shop_product_details .mod_shop_product_details_sku p{

    padding: 0.25rem 0.5rem;
    margin-bottom:.5rem;
    width: fit-content;
    
    color: #fff;
    background: #000;
    
    font-weight: bold;
    font-size: 0.8rem;
}

.mod_shop_product_details .mod_checkout_product_assambly{
    display: none;
}

.mod_shop_product_details .mod_shop_product_details_linked_wrap{

    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mod_shop_product_details  .mod_shop_product_details_linked_wrap{

    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.mod_shop_product_cart  .mod_shop_product_details_price{
    font-weight: bold;
}


.mod_shop_product_cart  .mod_shop_product_details_linked_items{

    top: 2rem;
    position: absolute;
    z-index: 10;
    height: auto;
    padding: 1.4rem;
    border: 1px solid var(--border-color);
    border-radius: var(--card-border-l);
    background: #fff;
    box-shadow: 0 3px 6px #00000029;
    min-width: 25rem;
}

.mod_shop_product_cart  .toggle_input:checked~.toggle_input_item{

    height: auto;
    display: block !important;
    opacity: 1;
    visibility: visible;
    transition: height .3s, visibility .3s;
}

.mod_shop_product_cart  .mod_shop_product_details_linked_item{

    display: flex;
    gap: 1rem;
    margin: .5rem 0;
}

.mod_shop_product_cart  .mod_shop_product_details_linked_wrap{
    position: relative;

}

.mod_shop_product_details .mod_shop_product_details_desc {

    font-size: .9rem;
    max-width: 80%;
}

.mod_shop_product_details .mod_shop_product_details_linked_items .mod_shop_product_details_sku{

    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    background: #000;
    width: fit-content;
    padding: 0.25rem 0.5rem;
    height: fit-content;
}

.mod_shop_product_details .mod_shop_product_details_linked_wrap label{
    display: flex;
    padding: .5rem 0;
}

.mod_shop_product_details .toggle_input_button{

    font-size: .7rem;
}

.mod_shop_product_details_title{

    font-weight: 700;
}

.mod_shop_product_details_title{

    font-size: .9rem;
    max-width: 80%;
}

@media only screen and (max-width: 768px) {

    .mod_shop_product_cart  .mod_shop_product_details_linked_items{

        min-width: 78vw;
        max-width: 96vw;
        width: 100%;
        right: -10vw;
    }
}


 /* 
---------------------------------
-----     cart products   -----
---------------------------------
 */  
.mod_shop_product_details.mod_shop_product_cart {
    width: 55%;
}

 /* 
---------------------------------
-----     search resutls   -----
---------------------------------
 */  


.mod_shop_product_search_results.mod_shop_product_details{

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    margin-left: 2rem;
}

.mod_shop_product_search_results .mod_shop_product_details_content_wrap{

    width: 80%;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.mod_shop_cart_search_result_price{

    display: none;
}

.mod_shop_product_checkout:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.mod_shop_product_search_results .mod_shop_product_details_linked_wrap{

    display: none;
}

.mod_shop_product_search_results .mod_shop_product_details_price{

    width: 20%;
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    
    .mod_shop_product_search_results .mod_shop_product_details_price_wrap{

        display: none;
    }
    
    .mod_shop_product_search_results .mod_shop_product_details_content_wrap{

        flex-direction: column;
        align-items: flex-start;
    }

    .mod_shop_cart_search_result_price{

        display: block;
    }
}

 /* 
---------------------------------
-----      checkout         -----
---------------------------------
 */ 

.mod_shop_product_checkout .mod_shop_product_details_price_wrap{

    display: none;
}

.mod_shop_product_checkout .mod_shop_product_details_content_wrap{

    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem 0;
}

.mod_shop_product_checkout .mod_shop_product_details_linked_wrap{

    margin-right: 0;
    position: unset;
}

.mod_shop_product_checkout .mod_checkout_product_assambly p{

    font-size: 0.7rem;
}

.mod_shop_product_checkout .mod_checkout_product_assambly{

    display: flex !important;

    padding: .5rem 0;
}

.mod_shop_product_checkout .mod_shop_product_details_linked_items .mod_shop_product_details_sku{

    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    background: #000;
    width: fit-content;
    padding: 0.25rem 0.5rem;
    height: fit-content;
}

.mod_shop_product_checkout .toggle_input:checked~.toggle_input_item{

    height: auto;
    display: block !important;
    opacity: 1;
    visibility: visible;
    transition: height .3s, visibility .3s;
}

.mod_shop_product_checkout .mod_shop_product_details_linked_items{

    display: none;
    padding: 1.4rem;
    border: 1px solid var(--border-color);
    border-radius: var(--card-border-l);
    background: #fff;
    box-shadow: 0 3px 6px #00000029;
    margin-left: 1rem;
}


.mod_shop_product_checkout .mod_shop_product_details_linked_item{

    display: flex;
    gap: 1rem;
    margin: .5rem 0;
}
.mod_shop_product_checkout .mod_shop_product_details_desc {

    font-size: .9rem;
    max-width: 80%;
}



@media only screen and (max-width: 768px) {

    .mod_shop_product_checkout .mod_shop_product_details_linked_items{

        padding: .7em;
    } 
    .mod_shop_product_checkout .mod_shop_product_details_linked_item{

        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem;
    }
    .mod_shop_product_checkout .mod_shop_product_details_linked_item:not(:last-child){
        
        border-bottom: 1px solid var(--border-color);
    }

    .mod_shop_product_checkout .toggle_input:checked~.toggle_input_item{
    
        width: 100%;
    }
}