.wv-checkout-widget {
    width: 100%;
}

.wv-checkout-widget .woocommerce form.checkout {
    display: grid;
    row-gap: var(--wv-checkout-sections-gap, 24px);
}

.wv-checkout-widget .woocommerce .col2-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--wv-checkout-columns-gap, 24px);
    width: 100%;
    margin: 0;
}

.wv-checkout-widget .woocommerce .col2-set::before,
.wv-checkout-widget .woocommerce .col2-set::after {
    display: none;
}

.wv-checkout-widget .woocommerce .col2-set .col-1,
.wv-checkout-widget .woocommerce .col2-set .col-2 {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
}

.wv-checkout-widget .woocommerce form .form-row {
    margin-bottom: 14px;
}

.wv-checkout-widget .woocommerce form .form-row-first,
.wv-checkout-widget .woocommerce form .form-row-last {
    width: calc(50% - (var(--wv-checkout-field-columns-gap, 18px) / 2));
}

.wv-checkout-widget .woocommerce form .form-row-first {
    float: left;
    clear: none;
}

.wv-checkout-widget .woocommerce form .form-row-last {
    float: right;
    clear: none;
}

.wv-checkout-widget .woocommerce-billing-fields,
.wv-checkout-widget .woocommerce-shipping-fields,
.wv-checkout-widget .woocommerce-additional-fields,
.wv-checkout-widget #order_review,
.wv-checkout-widget .woocommerce-checkout-payment {
    width: 100%;
    box-sizing: border-box;
}

.wv-checkout-widget__mock {
    width: 100%;
}

.wv-checkout-widget__mock .shop_table {
    width: 100%;
}

.wv-checkout-widget__mock .payment_box {
    margin-top: 10px;
}

.wv-checkout-widget__mock .woocommerce-checkout-payment .wc_payment_method {
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid #dcdcde;
    border-radius: 10px;
}

.wv-checkout-widget__mock .woocommerce-checkout-payment .payment_box {
    padding: 12px 14px;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    background: #f6f7f7;
}

.wv-checkout-widget__editor-note {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #72aee6;
    border-radius: 10px;
    background: #eef4fb;
    color: #1d4f85;
    font-weight: 600;
}

.wv-checkout-widget__notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    background: #f6f7f7;
    color: #1d2327;
}

.wv-checkout-widget__notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #dbe7f5;
    color: #1d4f85;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
}

.wv-checkout-widget__shipping-toggle label,
.wv-checkout-widget .woocommerce-checkout-payment .wc_payment_methods > li > label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wv-checkout-widget .woocommerce-checkout-payment .woocommerce-privacy-policy-text {
    display: none !important;
}

.wv-checkout-widget .woocommerce-checkout-payment .wc_payment_methods {
    display: flex;
    flex-direction: var(--wv-checkout-payment-methods-direction, column);
    flex-wrap: wrap;
    gap: var(--wv-checkout-payment-methods-gap, 12px);
}

.wv-checkout-widget .woocommerce-checkout-payment .wc_payment_methods .wc_payment_method {
    margin: 0 !important;
}

.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consents {
    margin-top: 16px;
    --wv-checkout-consent-gap: 12px;
}

.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consents .form-row {
    margin-top: 0;
    margin-bottom: var(--wv-checkout-consent-gap, 12px);
}

.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consents .form-row:last-child {
    margin-bottom: 0;
}

.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consent__label {
    display: flex;
    align-items: flex-start;
}

.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consent__content,
.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consent__text {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25em;
}

.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consent__required {
    display: inline-flex;
    align-items: center;
}

.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consent__control {
    -webkit-appearance: none;
    appearance: none;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    border: 1px solid currentColor;
    border-radius: 4px;
    background-color: transparent;
    color: currentColor;
    display: inline-block !important;
    position: relative !important;
    flex: 0 0 auto;
    margin: 0.2em 8px 0 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    left: auto !important;
    top: auto !important;
    float: none !important;
    vertical-align: top !important;
    cursor: pointer;
    box-shadow: none;
}

.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consent__control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consent__control:checked {
    background-color: currentColor;
    border-color: currentColor;
}

.wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consent__control:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.elementor-widget-visualab_checkout_classic.wv-checkout-consent-style-radio .wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consent__control {
    border-radius: 999px !important;
}

.elementor-widget-visualab_checkout_classic.wv-checkout-consent-style-radio .wv-checkout-widget .woocommerce-checkout-payment .wv-checkout-consent__control:checked::after {
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 999px;
    background: #fff;
    transform: translate(-50%, -50%);
}

@media (max-width: 767px) {
    .wv-checkout-widget .woocommerce .col2-set {
        grid-template-columns: 1fr;
    }

    .wv-checkout-widget .woocommerce form .form-row-first,
    .wv-checkout-widget .woocommerce form .form-row-last {
        float: none;
        width: 100%;
    }
}
