:root .woocommerce-checkout {
    --wd-form-height: 40px;
    font-size: 13px;
}

/*.woocommerce-checkout .blockUI::after,
.woocommerce-checkout .blockUI {
    display: none !important;
}*/

.woocommerce-checkout :is(input, select, textarea):not(input[type="radio"]) {
    letter-spacing: -0.05px;
    color: rgb(10 9 11);
    border: 1px solid #0A090B;
    border-radius: 8px;
    padding-inline: 12px;
    position: relative;
    transition: all .15s ease;
}

.woocommerce-checkout :is(input:focus, select:focus, textarea:focus):not(input[type="radio"]) {
    box-shadow: 0 0 0px 3px rgb(10 9 11 / 7%);
}

.woocommerce-checkout .required {
    color: inherit;
    opacity: .5;
    display: none;
}

.woocommerce-checkout label {
    color: #0A090B;
    line-height: 1;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.woocommerce-checkout:not(.woocommerce-checkout-received,.woocommerce-order-pay) .main-page-wrapper {
	margin: 0;
    min-height: 100vh;
}

body .website-wrapper{
    background-color: #fcf8f4;    ;
}

.checkout-steps-wrapper-top>.vc_column_container>.vc_column-inner>.wpb_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #0A090B;
    padding: 20px 0;
    line-height: 1;
    max-width: 1150px;
    width: 100%;
    margin: 0 auto 16px auto;
}

.woocommerce-checkout .wpb_content_element {
    margin-bottom: 0;
}

.checkout-steps-wrapper-top img {
    width: 140px;
}

.checkout-steps-wrapper-top p {
    display: inline-block;
    line-height: 1;
    font-weight: 500;
    color: #363840;
    letter-spacing: -0.05px;
}

.woocommerce-shipping-methods input+label .amount {
    position: absolute;
    right: 20px;
}

.checkout-steps-wrapper-top p::before {
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
    width: 13px;
    height: 13.86px;
    margin-inline-end: 8px;
    position: relative;
    top: 2px;
}

.checkout-steps-wrapper-top .checkout-secure-purchase p::before {
    background-image: url('/wp-content/themes/woodmart-child/enova/media/svg/lock-keyhole-duotone-solid 1.svg');
}

.checkout-steps-wrapper-top .checkout-need-help p::before {
    background-image: url('/wp-content/uploads/2024/08/phone-volume-duotone-solid-1.svg');
    width: 15px;
    height: 15px;
    top: 4px;
}

.checkout-steps-wrapper-top {
    margin-bottom: 16px;
}

.wd-billing-details,
.woocommerce-shipping-fields,
.checkout-order-review .wd-order-table,
#payment_section>.vc_column-inner>.wpb_wrapper,
.woocommerce-shipping-method-fields {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    margin: 0;
    position: relative;
    box-shadow: 0px 5px 20px 0px hsl(19deg 82% 15% / 5%);
}

body.woocommerce-order-pay #order_review {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin: 40px auto 0 auto;
    position: relative;
    border: 1px solid rgb(24 24 28 / 4%);
    box-shadow: 0px 7px 10px -8px rgb(24 24 28 / 4%);
}

.woocommerce-order-pay .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 20px;
}

.wd-billing-details {
    margin-bottom: 32px;
}

.woocommerce-shipping-method-fields {
    padding: 0;
}

.woocommerce-shipping-method-fields-wrapper {
    margin-bottom: 30px;
}

.checkout-steps-wrapper h3+div p {
    margin-bottom: 0;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 20px;
}

.woocommerce-shipping-fields {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.shipping_address,
.shipping-methods-title,
.woocommerce-shipping-fields .woocommerce-shipping-methods {
    width: 100%;
}

.checkout-steps-wrapper .wpb_text_column h3,
.checkout-order-review .wpb_text_column h3 {
    line-height: 22px;
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: -.18px;
    color: #2D2B32;
}

.checkout-steps-wrapper {
    width: 58%;
}

.checkout-order-review {
    width: 42%;
}

form.woocommerce-checkout {
    max-width: 1150px;
    width: 100%;
    margin: 0 auto 40px auto;
}

.enova-form-row-100 {
    width: 100%;
}

.enova-form-row-50 {
    width: calc(50% - 6px);
}

.enova-form-row-25 {
    width: calc(25% - 10px);
}

.enova-form-row-33 {
    width: calc(33% - 7px);
}


#ship-to-different-address {
    display: none;
}

#consentimiento_field{
	margin-top: -8px;
}

#consentimiento_field .optional{
	display: none;
}

#consentimiento_field .woocommerce-input-wrapper{
    display: flex;
    gap: 6px;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.woocommerce-checkout #consentimiento_field label{
	margin: 0;
}

.woocommerce-input-wrapper ul {
    display: flex;
    list-style: none;
    margin: 0;
    height: 48px;
    padding: 4px;
    background-color: #f7ede6;
    align-items: center;
    border-radius: 8px;
}

.woocommerce-input-wrapper label.checkbox + ul,
.woocommerce-input-wrapper label.checkbox + ul li{
	padding: 0;
	background: none;
	height: auto;
}

.woocommerce-input-wrapper li {
    flex: 1;
    line-height: 1;
    margin: 0;
    height: 40px;
    display: flex;
    align-items: center;
    width: 100%;
}

.woocommerce-input-wrapper li input[type="radio"] {
    display: none;
    appearance: none;
    margin: 0;
}

.woocommerce-checkout form.checkout .woocommerce-input-wrapper li label {
    display: inline-flex !important;
    margin: 0 !important;
    height: 40px;
    align-items: center;
    padding-inline: 12px;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    justify-content: center;
    border-radius: 6px;
    position: relative;
    z-index: 0;
    cursor: pointer;
    width: 100%;
}

.woocommerce-input-wrapper li input+label {
    opacity: .675;
}

.woocommerce-input-wrapper li input:checked+label {
    opacity: 1;
    color: #fff;
}

.woocommerce-input-wrapper li input+label::before {
    content: '';
    box-shadow: 0px 1.5px 4px -1px #0A090B12;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #C05727;
    border-radius: 6px;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.975);
    transition: all .15s ease;
}

.woocommerce-input-wrapper li input:checked+label::before {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.retiro-en-tienda .shipping_address {
    margin-bottom: 20px;
}

.form-row.shipping_despacho {
    margin-bottom: 0;
}

ul.woocommerce-shipping-methods {
    padding: 0;
    margin: 0;
    list-style: none;
}

#payment_section .section-title h3 {
    position: absolute;
    top: -36px;
    left: 0;
}

.woocommerce-checkout #payment_section {
    margin-top: 36px;
}

#shipping_responsabledoc_field,
#shipping_responsablendoc_field,
#shipping_responsabletel_field {
    margin-bottom: 0;
}

.woocommerce-checkout form.checkout .woocommerce-shipping-methods label,
.payment-method-container label {
    display: flex;
    justify-content: space-between;
    height: 60px;
    align-items: center;
    padding-left: 48px;
    padding-right: 20px;
    font-size: 14px;
    letter-spacing: -0.05px;
    cursor: pointer;
    font-weight: 400;
    margin: 0 !important;
}

.woocommerce-shipping-method-fields .amount {
    color: #0A090B;
    font-weight: 500;
}

.woocommerce-shipping-methods#shipping_method li {
    position: relative;
    margin-bottom: 0;
}

.retiro-en-tienda .woocommerce-shipping-methods#shipping_method li {
    display: block !important;
}

.payment-method-container {
    position: relative;
    border-bottom: 1px solid #ececed;
}

.woocommerce-shipping-methods#shipping_method li:not(:last-child) {
    border-bottom: 1px solid #ECECED;
}

.woocommerce-shipping-methods#shipping_method input.shipping_method,
.payment-method-container input {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 100px;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    box-shadow: inset 0 0 0px 2px #DCDCDE;
    position: absolute;
}

.woocommerce-shipping-methods#shipping_method input.shipping_method::before,
.payment-method-container input::before {
    content: '';
    box-shadow: inset 0 0 0px 6px var(--wd-primary-color);
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.25);
    transition: all .2s ease;
}

.woocommerce-shipping-methods#shipping_method input.shipping_method:checked:before,
.woocommerce-checkout div#payment li.wc_payment_method .payment-method-container input:checked::before {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.woocommerce-checkout div#payment li.wc_payment_method .payment-method-container input:checked+label,
.woocommerce-shipping-methods#shipping_method input.shipping_method:checked+label {
    background-color: rgb(192 87 39 / 7%);
    box-shadow: 0 0 0 1px var(--wd-primary-color);
    border-radius: 0;
    z-index: 1;
    position: relative;
}

.woocommerce-checkout div#payment li.wc_payment_method:first-child .payment-method-container input:checked+label,
.woocommerce-shipping-methods#shipping_method li:first-child input.shipping_method:checked+label {
    border-radius: 9px 9px 0 0;
}

.woocommerce-shipping-methods#shipping_method li:first-child input.shipping_method:checked+label{
    border-radius: 9px;
}

.woocommerce-shipping-methods#shipping_method li:last-child:not(:nth-child(1)) input.shipping_method:checked+label {
    border-radius: 0 0 9px 9px;
}

#payment_section>.vc_column-inner>.wpb_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#place_order {
    width: 100%;
    text-transform: none;
    font-weight: 500;
    letter-spacing: -0.05px;
    border-radius: 6px;
    line-height: 1;
    order: -1;
    font-size: 15px;
}

.payment_methods .payment_box {
    margin-top: 0;
    box-shadow: none;
    background: none;
    border-bottom: 1px solid #0A090B;
    border-radius: 0;
}

.wc_payment_methods,
#shipping_method.woocommerce-shipping-methods {
    margin-bottom: 0;
    border: 1px solid #0A090B;
    border-radius: 10px;
}

li.wc_payment_method {
    margin-bottom: 0;
}

li.wc_payment_method:last-child .payment-method-container,
li.wc_payment_method:last-child .payment_box {
    border-bottom: 0;
}

.payment_methods .payment_box:before {
    display: none;
}

#shipping_method.woocommerce-shipping-methods {
    margin-bottom: 20px;
}

#shipping_responsableentrega_field {
    margin-top: 20px;
}

.shipping-methods-title {
    color: #0A090B;
    line-height: 1;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 20px;
}

.form-row.place-order {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.woocommerce-terms-and-conditions-wrapper {
    margin: 12px 0 0 0;
    padding: 0;
    border: 0;
    font-size: 12px;
}

.woocommerce-privacy-policy-text::before {
    content: '';
    background-image: url('/wp-content/themes/woodmart-child/enova/media/svg/lock-keyhole-duotone-solid 1.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-inline-end: 10px;
    position: relative;
    top: 0px;
}

.woocommerce-privacy-policy-text {
    display: inline-flex;
}

body .woocommerce-privacy-policy-text,
.wd-payment-methods.wd-wpb {
    margin-bottom: 0;
}

body .wd-checkout-prod-img img {
    box-shadow: 0 0 0 1px #ECECED;
    border-radius: 8px;
}

.woocommerce-checkout-review-order-table tr {
    border: 0;
}

.woocommerce-checkout-review-order-table thead {
    display: none;
}

body .woocommerce-checkout-review-order-table :is(th, td) {
    padding: 0;
    line-height: 1;
}

.woocommerce-checkout-review-order-table tr.cart_item {
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table tr.cart_item .product-total .amount {
    font-weight: 500;
    color: #2D2B32;
    letter-spacing: -0.02px;
}

body .woocommerce-checkout-review-order-table tfoot tr:last-child {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #0A090B;
    align-items: baseline;
}

.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout-review-order-table .cart-discount {
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table .cart-discount th {
    font-weight: 400;
    letter-spacing: -0.05px;
}

.woocommerce-checkout-review-order-table .cart-discount td {
    margin-right: 8px;
}

.woocommerce-remove-coupon {
    width: auto;
    height: auto;
}

.woocommerce-remove-coupon:before {
    font-size: 11px;
    margin-left: 2px;
    color: #7F7D83;
}

body .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-methods li :is(input, label) {
    display: none !important;
}

body .woocommerce-checkout-review-order-table #shipping_method.woocommerce-shipping-methods,
body .woocommerce-checkout-review-order-table .woocommerce-shipping-methods#shipping_method li:not(:last-child) {
    border: 0 !important;
    margin: 0 !important;
}

tr.order-total th {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.05px;
    color: #0A090B;
}

.woocommerce-checkout-review-order-table tr.order-total--custom strong .amount {
    font-size: 21px;
    letter-spacing: -0.25px;
    color: var(--wd-primary-color);
}

.woocommerce-checkout-review-order-table tr.order-total--custom {
    align-items: baseline;
}

.woocommerce-checkout-review-order-table .amount {
    color: #2D2B32;
    font-size: 14px;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-methods li {
    font-size: 0;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals .amount {
    font-size: 14px;
}

.woocommerce-shipping-methods .amount {
    color: #0A090B;
}

.wd-checkout-prod-cont .product-quantity {
    display: none;
}

.wd-checkout-prod-img {
    position: relative;
}

.wd-checkout-prod-img .product-quantity {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: 20px;
    background-color: #f1f1f1;
    border-radius: 100px;
    word-spacing: -3px;
    font-size: 11px;
    font-weight: 500;
    color: #2D2B32;
    position: absolute;
    top: -8px;
    right: -8px;
}

.woocommerce-checkout.retiro-en-tienda #billing_section #shipping_message {
    display: none !important;
}

.woocommerce-checkout.retiro-en-tienda #billing_section .woocommerce-shipping-methods {
    display: block !important;
    position: relative;
    margin-top: 20px;
}

.woocommerce-checkout:not(.retiro-en-tienda) #shipping_message {
    display: block !important;
}

.woocommerce-shipping-fields #shipping_message {
    width: 100%;
    padding: 12px 16px;
    background-color: #f7ede6;
    border-radius: 8px;
    color: var(--wd-text-color);
}

body .mp-checkout-container div{
    background: none !important;
}

.woocommerce-checkout.retiro-en-tienda .woocommerce-shipping-methods::before {
    content: 'Opciones de retiro';
    color: #0A090B;
    line-height: 1;
    font-size: 13px;
    font-weight: 500;
    position: absolute;
    top: -25px;
}

.wd-checkout-coupon {
    max-width: 1150px;
    width: 100%;
    margin: auto;
}

.wd-checkout-coupon-inner {
    margin: 0;
}

.wd-checkout-coupon .woocommerce-form-coupon {
    border: 0;
    margin: 0 0 24px;
    padding: 0;
	display: flex !important;
}

.woocommerce-form-coupon-toggle{
	display: none !important;
}

body .checkout_coupon .button{
	min-height: 40px;
    border-radius: 5px;
}

.woocommerce-checkout-review-order-table form.checkout_coupon.woocommerce-form-coupon {
    display: flex !important;
    gap: 8px;
}

.woocommerce-checkout-review-order-table .woocommerce-form-coupon-toggle,
.woocommerce-checkout-review-order-table form.checkout_coupon>p:first-child {
    display: none !important;
}

.checkout_coupon label[for="coupon_code"] {
    clip: initial !important;
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0 !important;
}

.checkout_coupon label[for="coupon_code"]::after {
    content: '';
    background-image: url('/wp-content/themes/woodmart-child/enova/media/svg/tags-duotone-solid-grey.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 14px;
    width: 14px;
    display: inline-block;
    position: relative;
    left: 14px;
    top: 1px;
}

.checkout_coupon input[name="coupon_code"].input-text {
    padding-left: 36px !important;
    line-height: calc(100%* 3);
}

.woocommerce-checkout-review-order-table .checkout_coupon .button {
    min-height: 40px;
    text-transform: none;
    border-radius: 8px;
    opacity: .5;
    pointer-events: none;
    line-height: 2;
    font-size: 13px;
}

.woocommerce-checkout-review-order-table .checkout_coupon .button.active {
    opacity: 1;
    pointer-events: auto;
}

.woocommerce-checkout div.create-account {
    border: 0px;
    margin: 0px;
    padding: 0px;
}

body.woocommerce-checkout form :is(input[type="checkbox"]) {
    appearance: none;
    width: 18px;
    height: 18px;
    padding: 0 !important;
    position: relative;
    z-index: 0;
    border-radius: 3px !important;
    border: 0 !important;
    box-shadow: 0 0 0 1px #e6e6e6;
    margin-right: 6px;
    cursor: pointer;
}

.woocommerce-checkout input[type="checkbox"]::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    background-image: url('/wp-content/themes/woodmart-child/enova/media/svg/checkbox-v1.svg');
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
    background-color: var(--wd-primary-color);
    border-radius: 3px;
    transform: scale(0);
    visibility: hidden;
    transition: all .15s cubic-bezier(0, 1.18, 0.99, 1.01);
}

.woocommerce-checkout input[type="checkbox"]:checked:before {
    transform: scale(1);
    visibility: visible;
}

.woocommerce-checkout :is(input:checked):is(input[type="checkbox"]) {
	box-shadow: 0 0 0px 3px rgb(192 87 39 / 25%);
}

.woocommerce-account-fields .woocommerce-form__label-for-checkbox {
    cursor: pointer;
}

.woocommerce-account-fields .woocommerce-form__label-for-checkbox input+span {
    position: relative;
    top: 1px;
}

.checkout-top-elements>.vc_column_container>.vc_column-inner>.wpb_wrapper {
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
}

.checkout-top-elements ul:is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
    border-radius: 10px;
}

.wd-checkout-login {
    max-width: 652px;
    width: 100%;
}

.wd-checkout-login form.login {
    border: 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid rgb(24 24 28 / 4%);
    box-shadow: 0px 7px 10px -8px rgb(24 24 28 / 4%);
}

.wd-checkout-login form.login>p:first-child {
    display: none;
}

.wd-checkout-login form.login button {
    text-transform: none;
    font-size: 14px;
    border-radius: 6px;
    min-height: 40px;
}

.login-form-footer .woocommerce-form-login__rememberme {
    cursor: pointer;
}

.login-form-footer .woocommerce-form-login__rememberme span {
    position: relative;
    top: 1px;
}

.checkout_coupon .form-row-first {
    position: relative;
}

.woocommerce-checkout .website-wrapper :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle)>div {
    color: #363840 !important;
    letter-spacing: -0.05px;
}

.checkout-f1 {
    margin-top: 20px;
}

.wd-order-table :is(.woocommerce-error, .woocommerce-message) {
    display: none !important;
}

.woocommerce-checkout .woocommerce-message {
    max-width: 1150px;
    width: 100%;
    margin: auto;
    border-radius: 10px;
}

.woocommerce-checkout :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
    border-radius: 10px;
}

.cart-product-label {
    line-height: 16px;
}

/*.woocommerce-checkout:not(.woocommerce-order-received) .main-page-wrapper>.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: var(--wd-primary-color);
    height: 300px;
    pointer-events: none;
}*/

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

    .checkout-steps-wrapper,
    .checkout-order-review {
        width: 100%;
    }

    .checkout-steps-wrapper-top>.vc_column_container>.vc_column-inner>.wpb_wrapper {
        padding-inline: 16px;
    }

    .checkout-steps-wrapper-top img {
        width: 130px;
    }

    .checkout-steps-wrapper-top {
        margin-bottom: 24px;
    }

    .checkout-order-review {
        margin-bottom: 24px;
    }

    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        column-gap: 10px;
        row-gap: 20px;
    }

    .woocommerce-privacy-policy-text::before {
        width: 30px;
        height: 18px;
    }

    .enova-form-row-33 {
        width: 100%;
    }

    form.woocommerce-checkout {
        margin-bottom: 0;
    }

    .woocommerce-checkout .site-content {
        margin-bottom: 0;
    }

    :is(#payment_section, #billing_section) .enova-form-row-50 {
        width: 100%;
    }

    .enova-form-row-25 {
        width: calc(50% - 5px);
    }

    #shipping_responsabletel_field {
        margin-top: 20px;
    }

    .checkout_coupon .form-row-first {
        width: 100%;
    }

    .woocommerce-checkout-review-order-table .checkout_coupon .button {
        position: absolute;
        right: 0px;
        top: 0;
    }

}