
/* v6.6.31 EDD checkout stable styling */

body #edd_checkout_wrap,
body #edd_checkout_form_wrap,
body form#edd_purchase_form{
    width: 1180px !important;
    max-width: calc(100vw - 40px) !important;
    margin: 40px auto 80px !important;
    box-sizing: border-box !important;
}

body #edd_checkout_cart_wrap,
body #edd_checkout_wrap fieldset,
body #edd_purchase_submit{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 38px rgba(15,23,42,.07) !important;
    margin: 0 0 34px !important;
    padding: 34px !important;
}

body #edd_checkout_cart_wrap{
    padding: 0 !important;
    overflow: hidden !important;
}

body table#edd_checkout_cart{
    width: 100% !important;
    min-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}

body table#edd_checkout_cart th{
    background: #111827 !important;
    color: #fff !important;
    padding: 22px 28px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    border-color: rgba(255,255,255,.12) !important;
}

body table#edd_checkout_cart td{
    background: #fff !important;
    color: #475569 !important;
    padding: 22px 28px !important;
    font-size: 15px !important;
    border-color: #edf2f7 !important;
    vertical-align: middle !important;
}

body #edd_checkout_cart .edd_cart_footer_row td,
body #edd_checkout_cart tfoot td{
    background: #111827 !important;
    color: #fff !important;
    font-weight: 900 !important;
}

body #edd_checkout_wrap legend{
    color: #009dea !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    margin: 0 0 26px !important;
    padding: 0 !important;
}

body #edd_checkout_wrap p{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    box-sizing: border-box !important;
}

body #edd_checkout_wrap label{
    display: block !important;
    color: #1f2937 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
}

body #edd_checkout_wrap input[type="text"],
body #edd_checkout_wrap input[type="email"],
body #edd_checkout_wrap input[type="tel"],
body #edd_checkout_wrap input[type="password"],
body #edd_checkout_wrap textarea,
body #edd_checkout_wrap select{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;
    border: 2px solid #dbe5ee !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    padding: 0 18px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    display: block !important;
}

body #edd_checkout_wrap textarea{
    height: auto !important;
    min-height: 150px !important;
    padding: 16px 18px !important;
}

body #edd_checkout_wrap input:focus,
body #edd_checkout_wrap textarea:focus,
body #edd_checkout_wrap select:focus{
    border-color: #009dea !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(0,157,234,.11) !important;
    outline: none !important;
}

body #edd_checkout_wrap .edd-description,
body #edd_checkout_wrap .edd-help,
body #edd_checkout_wrap .edd_field_description,
body #edd_checkout_wrap span.description{
    display: none !important;
}

body #edd_purchase_submit{
    text-align: left !important;
}

body #edd_purchase_submit .edd-submit,
body #edd_purchase_submit input[type="submit"],
body #edd-purchase-button{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 160px !important;
    height: 58px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #009dea !important;
    color: #fff !important;
    padding: 0 34px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    box-shadow: 0 10px 28px rgba(0,157,234,.22) !important;
}

body #edd_purchase_submit .edd-submit:hover,
body #edd_purchase_submit input[type="submit"]:hover,
body #edd-purchase-button:hover{
    background: #0088cc !important;
}

@media(max-width: 900px){
    body #edd_checkout_wrap,
    body #edd_checkout_form_wrap,
    body form#edd_purchase_form{
        max-width: calc(100vw - 24px) !important;
        margin-top: 30px !important;
    }

    body #edd_checkout_cart_wrap,
    body #edd_checkout_wrap fieldset,
    body #edd_purchase_submit{
        padding: 24px !important;
        border-radius: 18px !important;
    }
}


/* v6.6.32 hide duplicate EDD identity rows safely */
#edd_purchase_form_wrap fieldset#edd_register_account_fields,
#edd_purchase_form_wrap fieldset#edd_cc_fields,
#edd_purchase_form_wrap p#edd-email-wrap,
#edd_purchase_form_wrap p#edd-first-name-wrap,
#edd_purchase_form_wrap p#edd-last-name-wrap{
    display:none !important;
}

/* unify form */
#edd_checkout_wrap fieldset{
    width:100% !important;
    max-width:100% !important;
}



/* v6.6.33 HARD remove visible EDD persoonsgegevens block */
#edd_checkout_user_info,
#edd_checkout_user_info legend,
#edd_checkout_user_info p,
#edd_checkout_user_info input,
#edd_checkout_wrap fieldset#edd_checkout_user_info,
#edd_checkout_wrap fieldset.edd-checkout-user-info,
#edd_checkout_wrap fieldset.edd_customer_info,
#edd_checkout_wrap fieldset.edd-customer-info,
#edd_checkout_wrap fieldset.edd_personal_info,
#edd_checkout_wrap fieldset.edd-personal-info{
    display:none !important;
    visibility:hidden !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    overflow:hidden !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    box-shadow:none !important;
}

/* Do not show the original EDD email/name rows when they are rendered separately */
#edd_checkout_wrap #edd-email-wrap,
#edd_checkout_wrap #edd-first-name-wrap,
#edd_checkout_wrap #edd-last-name-wrap,
#edd_checkout_wrap p.edd-email,
#edd_checkout_wrap p.edd-first-name,
#edd_checkout_wrap p.edd-last-name{
    display:none !important;
}
