/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .mwb_woo_smc_cart_wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: flex-end;
}

.meb_woo_smc_remove_saved_item {
    font-size: 20px;
}

.mwb_woo_smc_modified_row td.product-remove {
    text-align: left;
}

.mwb_woo_smc_modified_row a.remove {
    display: inline-block;
    flex: 0 0 24px;
}

.mwb_mwc_class {
    text-align: right;
    margin-bottom: 5px;
}


div#mwb_woo_smc_recover_user_cart_data {
    overflow: auto;
}

.save_later_div span.scl_heading {
    font-size: x-large;
    font-weight: bolder;
}

.wps_wpr_btn_copy_scl {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    float: left;
    padding: 6px
}

.wps_wpr_btn_copy_scl:active,
.wps_wpr_btn_copy_scl:focus,
.wps_wpr_btn_copy_scl:hover {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0
}

.wps_tooltip {
    position: relative;
    display: inline-block
}

.wps_account_wrapper .wps_tooltip .wps_tooltiptext {
    background-color: #000;
    border-radius: 6px;
    bottom: -30px;
    color: #fff;
    font-size: 11px;
    left: -19px;
    padding: 5px 0;
    position: absolute;
    text-align: center;
    visibility: hidden;
    width: 80px;
    z-index: 1
}

.wps_account_wrapper .wps_tooltip .wps_tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #000 transparent
}

.wps_tooltip:hover .wps_tooltiptext {
    visibility: visible
}

.wps_wpr_btn_copy {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    float: left;
    padding: 6px
}

.wps_wpr_btn_copy:active,
.wps_wpr_btn_copy:focus,
.wps_wpr_btn_copy:hover {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0
}

.wps_wpr_wrapper_button {
    display: flex;
    margin-top: 15px;
}

.product-type-variable-subscription input#mwb_woo_save_my_cart_button{
    margin-top: 15px;
}

.wps_wpr_wrapper_button .wps_wpr_common_class {
    margin-right: 10px;
}

.wps_wpr_wrapper_button img {
    height: 24px !important;
    width: auto;
}

button.wps_wpr_btn_copy_scl.wps_tooltip {
    position: absolute;
    right: 15px;
    border: none;
}

button.wps_wpr_btn_copy_scl.wps_tooltip .wps_tooltiptext_scl {
    color: #000;
}

.page-form .cart-wrapper {
    overflow: auto;
}

.page-form .cart-wrapper .product-name {
    min-width: 150px;
}

.theme-betheme .mwb_woo_smc_cart_wrapper input[type=button] {
    margin-left: 10px !important;
}

.mwb_woo_smc_modified_row .mwb_woo_smc_show_button {
    margin-left: 10px;
}

table.mwb-woo-smc-shop_table.mwb-woo-smc-cart.mwb-woo-smc-cart-contents a.mwb_woo_smc_remove_saved_item.remove {
    color: #dcdcdc !important;
    font-size: 0;
}

.mwb_woo_smc_show_button.button {
    max-width: 150px;
    min-width: 100px;
    white-space: break-spaces;
    font-size: 16px;
    line-height: 1.25;
    border-radius: 5px;
}

.theme-Avada .mwb_woo_smc_cart_wrapper,
.theme-betheme .mwb_woo_smc_cart_wrapper {
    flex-direction: row;
    align-items: flex-start;
}

.theme-Avada .mwb_woo_smc_cart_wrapper a.remove,
.theme-betheme .mwb_woo_smc_cart_wrapper a.remove {
    line-height: 0;
    margin-left: 10px;
}

.theme-betheme .product-remove .mwb_woo_smc_cart_wrapper a.remove.button {
    margin: 0 0 0 10px;
}

.theme-Divi .mwb_woo_smc_cart_wrapper {
    justify-content: flex-end;
}

.theme-betheme .mwb_woo_smc_modified_row td.product-remove,
.theme-Divi .mwb_woo_smc_modified_row td.product-remove {
    text-align: right;
}

@media screen and (max-width: 768px) {
    table.mwb-woo-smc-shop_table thead {
        display: block !important;
    }

    table.mwb-woo-smc-shop_table thead tr th {
        display: none;
    }

    table.mwb-woo-smc-shop_table thead tr th.mwb-woo-smc-product-name {
        display: block;
        font-size: 18px;
    }

    table.mwb-woo-smc-shop_table tbody tr {
        display: flex;
        flex-direction: column;
        position: relative;
        padding: 10px 0;
        border-top: 1px solid;
    }

    table.mwb-woo-smc-shop_table tbody tr td {
        text-align: left;
        padding: 10px;
    }

    table.mwb-woo-smc-shop_table tbody tr .mwb_woo_smc_remove_saved_item {
        color: #f00;
        margin: 0 0 0 auto;
        display: inline-block;
        float: right;
    }

    table.mwb-woo-smc-shop_table tbody tr .mwb_woo_smc_move_to_cart_button {
        margin-top: 20px;
    }

    .theme-Avada .mwb_woo_smc_modified_row .mwb_woo_smc_show_button {
        margin-left: 0;
        margin-right: 20px;
        position: absolute;
        right: 0;
    }

    .theme-betheme .mwb_woo_smc_cart_wrapper {
        justify-content: flex-end;
    }

    .theme-betheme table.mwb-woo-smc-shop_table tbody tr .mwb_woo_smc_remove_saved_item,
    .theme-Divi table.mwb-woo-smc-shop_table tbody tr .mwb_woo_smc_remove_saved_item {
        float: unset;
    }
}

input#mwb_woo_save_my_cart_button {

    padding: 12px;

}

.product-type-variable input#mwb_woo_save_my_cart_button {
    margin-top: 15px;
}

/* Additional CSS for My account save cart later part start */

:root {
    --wps-primary-color: #0094FF;
    --wps-primary-color-op: #0094ff11;
}

.woocommerce-MyAccount-content h2.save_later_each_table_main_title {
    margin: 0 0 25px;
    line-height: 1.25;
    font-size: 28px;
    font-weight: 600;
}

.woocommerce-MyAccount-content h2.save_later_each_table_wrapper_title {
    margin: 0 0 15px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #efefef;
    cursor: pointer;
    border-radius: 5px;
}

.woocommerce-page .mwb_mwc_class input.button.mwb_smc_add_all_product_to_cart_my,
.woocommerce-page .mwb_mwc_class input.button.mwb_smc_rename_to_cart_my,
.woocommerce-page .mwb_mwc_class input.button#mwb_scl_save_whole_cart, 
.woocommerce-page .mwb_mwc_class input.button#mwb_smc_delete_to_cart_my_button,
.woocommerce-page .mwb_mwc_class input.button.mwb_smc_rename_to_cart_my_account,
.woocommerce-page .mwb_mwc_class input.button#mwb_smc_delete_to_cart_my_button{
    min-height: 40px !important;
    border: inherit !important;
    padding: 10px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    border-radius: 5px !important;
    margin-left: 0px !important;
    line-height: 1.5em !important;
}

.woocommerce-MyAccount-content h2.save_later_each_table_wrapper_title svg {
    transition: transform 0.3s;
}

.woocommerce-MyAccount-content h2.save_later_each_table_wrapper_title.active svg {
    transform: rotate(180deg);
}

body input[name="mwb_scl_save_whole_cart"],
body button[name=wc_cart_share_button] {
    margin: 0 0 20px;
    border-radius: 5px !important; 
    padding: 10px 16px !important;
    min-height: 40px;
    line-height: 1rem !important;
    font-size: 16px;
    font-weight: 500 !important;
    text-transform: capitalize;
    font-family: var(--body_typography-font-family,inherit) !important;
    border: none;
}

input#wps_wpr_copy+pre {
    background: #fff;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    margin: 10px 0 32px;
    padding: 24px;
}

.wps_scl_share_button.scl_share_div #wps_wpr_copy_code code {
    word-break: break-all;
    white-space: break-spaces;
}

body div#mwb_woo_smc_recover_user_cart_data {
    border-radius: 5px;
    margin: 0 0 20px;
    max-height: 480px;
}

body .woocommerce-MyAccount-content h2.save_later_each_table_main_title {
    padding: 24px 0px 15px;
    color: var(--wps-primary-color);
    margin: 0;
    font-size: 32px;
    line-height: 38px;
    font-weight: 400;
}

.woocommerce-MyAccount-content h2.save_later_each_table_main_title {
    padding: 0 0 15px;

}

.mwb_mwc_class_save_cart_wrap .mwb_mwc_class_save_cart,
.mwb_mwc_class_save_cart_wrap>.mwb_mwc_class {
    display: inline-block;
    margin: 10px 0 0;
}

.mwb_mwc_class_save_cart_wrap .mwb_mwc_class_save_cart {
    margin-right: 10px;
}

.mwb_mwc_class_save_cart_wrap {
    text-align: left;
    padding: 0 24px 10px 0px;
}
.woocommerce-page .wps-scl-save-whole-cart-btn .button.alt,
body div#mwb_woo_smc_recover_user_cart_data .button,
.woocommerce-account div#mwb_woo_smc_recover_user_cart_data .button {
    border-radius: 5px !important;
    padding: 10px 16px !important;
    min-height: 40px !important;
    line-height: 1rem !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    font-family: var(--body_typography-font-family,inherit) !important;
    border: none;
}
.woocommerce-page .wps-scl-save-whole-cart-btn .button.alt:after{
    display: none;
}
table.mwb-woo-smc-shop_table {
    margin: 0 0 24px;
    width: 100%;
}

table.mwb-woo-smc-shop_table thead tr {
    position: sticky;
    top: 0;
}

body div#mwb_woo_smc_recover_user_cart_data a.mwb_woo_smc_remove_saved_item.remove {
    width: 42px;
    height: 42px;
    border: none;
    font-size: 0 !important;
}

body div#mwb_woo_smc_recover_user_cart_data a.mwb_woo_smc_remove_saved_item.remove::before {
    content: "\f182";
    font-family: dashicons;
    color: #ff6565;
    width: 100%;
    height: 100%;
    font-size: 24px;
    font-weight: 400;
}

table.mwb-woo-smc-shop_table {
    border-collapse: collapse;
}

table.mwb-woo-smc-shop_table.shop_table_responsive th,
table.mwb-woo-smc-shop_table.shop_table_responsive td {
    padding: 10px;
    font-size: 18px;
    text-align: center;
}

table.mwb-woo-smc-shop_table th {
    background: #EFEFEF;
    color: #000;
    text-align: center;
}

body div#mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table td img,
.woocommerce-account div#mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table td img {
    max-width: 80px;
    max-height: 80px;
}

table.mwb-woo-smc-shop_table th.mwb-woo-smc-product-name,
table.mwb-woo-smc-shop_table td:nth-of-type(3) {
    text-align: left;
}

table.mwb-woo-smc-shop_table td:nth-of-type(3) a {
    color: var(--wps-primary-color);
    font-size: 16px;
}

table.mwb-woo-smc-shop_table tbody tr:nth-of-type(2n) {
    background: var(--wps-primary-color-op);
}

.woocommerce-account table.mwb-woo-smc-shop_table th,
.woocommerce-account table.mwb-woo-smc-shop_table td {
    text-align: left;
}

body #mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table tbody td,
.woocommerce-account #mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table tbody td {
    background: transparent;
    vertical-align: middle;
}

body #mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table .button,
.woocommerce-account #mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table .button {
    font-size: 16px;
}
#wps_wpr_copy_code code {
	word-wrap: break-word;
	white-space: break-spaces;
}
.wps-scl-save-whole-cart-btn {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.wps-scl-save-whole-cart-btn form button {
    margin-bottom: 0;
}
.wps-scl-save-whole-cart-btn {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}
body div#mwb_woo_smc_recover_user_cart_data .button:after{
    display: none;
}
@media screen and (max-width:768px) {

    .woocommerce-MyAccount-content input.mwb_smc_add_all_product_to_cart_my {
        margin-left: 10px;
    }

    body div#mwb_woo_smc_recover_user_cart_data {
        max-height: 100%;
    }

    table.mwb-woo-smc-shop_table {
        margin: 0 0 24px;
        width: 100%;
    }

    table.mwb-woo-smc-shop_table thead tr {
        position: unset;
    }

    body #mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table tbody td,
    .woocommerce-account #mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table .button {
        text-align: right;
    }

    body #mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table tbody td::before,
    .woocommerce-account #mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table tbody td::before {
        content: attr(data-title) " : ";
        font-weight: 600;
        float: left;
    }

    body #mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table tbody td:first-of-type::before,
    .woocommerce-account #mwb_woo_smc_recover_user_cart_data table.mwb-woo-smc-shop_table tbody td:first-of-type::before {
        content: attr(data-title);
    }

    table.mwb-woo-smc-shop_table img {
        margin: 0 0 0 auto;
    }

    .woocommerce-account table.mwb-woo-smc-shop_table th {
        text-align: left;
        padding: 10px;
    }

    .woocommerce-account table.mwb-woo-smc-shop_table td {
        text-align: right;
    }

}
@media screen and (max-width:500px) {
    .woocommerce-page .mwb_mwc_class input.button.mwb_smc_add_all_product_to_cart_my,
    .woocommerce-page .mwb_mwc_class input.button.mwb_smc_rename_to_cart_my,
    .woocommerce-page .mwb_mwc_class input.button#mwb_scl_save_whole_cart, 
    .woocommerce-page .mwb_mwc_class input.button#mwb_smc_delete_to_cart_my_button,
    .woocommerce-page .mwb_mwc_class input.button.mwb_smc_rename_to_cart_my_account,
    .woocommerce-page .mwb_mwc_class input.button#mwb_smc_delete_to_cart_my_button{
        padding: 5px 8px !important;
        min-height: auto;
        font-size: 14px !important;
        margin: 0px !important;
        white-space: pre-wrap;
        line-height: 1.25 !important;
        border: 0px !important;
    }
    .mwb_mwc_class_save_cart_wrap>.mwb_mwc_class{
        display: flex;
        justify-content: space-around;
        gap: 5px;
    }
    .mwb_mwc_class_save_cart_wrap{
        padding-right: 0px;
    }
    .woocommerce-MyAccount-content h2.save_later_each_table_wrapper_title {
        font-size: 18px;
    }  
    .woocommerce-MyAccount-content h2.save_later_each_table_wrapper_title svg {
        width: 20px;
        height: 20px;
    }
    body .woocommerce-MyAccount-content h2.save_later_each_table_main_title {
        font-size: 25px;
    }  
}

@media screen and (max-width:400px) {
    .button.alt.mwb_smc_add_all_product_to_cart_my_account, .button.alt.mwb_smc_rename_to_cart_my_account, #mwb_smc_delete_to_cart_my_button {
        font-size: 12px;
    }

}

/* Additional CSS for Cart page end */

