/* NUEVO CSS */

/* ESTILOS PAGINA VALORACION */

.privacy-policy-wrapper .privacy-policy-text {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.privacy-policy-wrapper input {
    width: auto !important;
    accent-color: #f15a30 !important;
}

#custom-loading-wrapper {
    display: none;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;
}

#custom-loading-wrapper h3 {
    text-align: center;
    color: black !important;
    font-weight: 600;
}

#custom-loading-wrapper img {
    max-width: 200px;
}

#custom-loading-wrapper.active {
    display: flex;
}

/* ESTILOS WOOCOMMERCE */

section.woocommerce-order-details,
section.woocommerce-order-details {
    margin-top: 60px;
}

.order-again {
    display: none;
}

.wc-block-checkout__order-notes {
    display: none;
}

/* PAGINA CHECKOUT */


body.woocommerce-checkout .entry-title {
    color: black;
    font-family: 'Urbanist',
        Helvetica,
        Arial,
        Lucida,
        sans-serif;
    font-size: 40px;
}

body.woocommerce-checkout h3 {
    font-family: 'Urbanist',
        Helvetica,
        Arial,
        Lucida,
        sans-serif;
    color: black !important;
    font-weight: 600;
}

body.woocommerce-checkout #customer_details {
    display: block;
}

body.woocommerce-checkout .checkout-grid {
    display: grid !important;
    gap: 40px;
    grid-template-columns: 1fr 1fr !important;
}

body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="password"],
body.woocommerce-checkout select {
    background-color: white !important;
    padding: 0 14px !important;
    border-color: #dee2e6 !important;
    border-width: 1px !important;
    border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    -ms-border-radius: 3px !important;
    -o-border-radius: 3px !important;
    min-height: 43px !important;
    font-family: 'Urbanist',
        Helvetica,
        Arial,
        Lucida,
        sans-serif;
}

body.woocommerce-checkout input[type="checkbox"] {
    accent-color: #f15a30 !important;
}

body.woocommerce-checkout .select2-selection__rendered {
    min-height: 43px;
    line-height: 43px !important;

}

body.woocommerce-checkout .select2-selection--single {
    min-height: 43px;
}

body.woocommerce-checkout .select2-selection__arrow {
    min-height: 43px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    background-color: whitesmoke !important;
}

.woocommerce #customer_details>div {
    width: 100%;
}

.et_color_scheme_orange.woocommerce-page .place-order a {
    color: black !important;
    text-decoration: underline;
}

.et_color_scheme_orange.woocommerce-page .place-order button.button {
    margin-top: 40px;
}

.et_color_scheme_orange.woocommerce-page button.button,
.et_color_scheme_orange.woocommerce-page a.button,
.et_color_scheme_orange.woocommerce-page a.button.alt,
.woocommerce-page #payment #place_order {
    background-color: #f15a30 !important;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-color: #f15a30 !important;
    color: white !important;
    font-size: 16px;
}

.woocommerce-orders-table__cell-order-actions {
    display: flex;
    gap: 20px;
}


.checkout-notice-wrapper {
    border: 2px solid #f15a30;
    padding: 30px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    gap: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    margin: 30px 0;
}

.checkout-notice-wrapper svg {
    height: auto;
    aspect-ratio: 1/ 1;
    display: block;
    padding-right: 5px;
}

.checkout-notice-wrapper h2 {
    font-weight: 600;
    font-size: 24px !important;
}




@media(max-width: 768px) {
    body.woocommerce-checkout form.woocommerce-checkout {
        grid-template-columns: 1fr !important;
    }

    .woocommerce-order-downloads .download-file a {
        margin-top: 30px;
        width: 100%;
    }

    .checkout-notice-wrapper {
        flex-direction: column;
        padding: 10px;
    }

    body.woocommerce-checkout .checkout-grid {
        grid-template-columns: 1fr !important;
    }

    .checkout-notice-wrapper h2 {
        font-size: 20px !important;
        text-align: center;
    }

}

/* PAGINA THANKYOU */

.thankyou-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 80px;
    background-image: url('/wp-content/plugins/generar-pedido-pdf/images/background-email.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 40px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    margin-bottom: 60px;
}

.thankyou-wrapper>.wrapper {
    background-color: white;
    padding: 40px 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.thankyou-wrapper>.wrapper h2 {
    color: #13136b;
    font-size: 28px !important;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.thankyou-wrapper>.wrapper p {
    color: black;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 24px;
}

.thankyou-wrapper .downloads-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.thankyou-wrapper .downloads-wrapper a.download-btn {
    background-color: #f15a30 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 20px;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}