html.nc-vat-popup-open,
html.nc-vat-popup-open body {
    overflow: hidden !important;
}

.nc-vat-popup[hidden],
.ncvc-vat-toggle-source[hidden] {
    display: none !important;
}

.nc-vat-popup {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(22, 25, 21, .60);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nc-vat-popup__dialog {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 650px);
    max-height: calc(100vh - 36px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 20px;
    background: #f3f2e9;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
    padding: 34px;
    color: #252522;
}

.nc-vat-popup__eyebrow {
    display: none;
    margin: 0 0 9px;
    color: #647360;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nc-vat-popup h2 {
    margin: 12px 20px 16px;
    color: #252522;
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.08;
    text-align: center;
}

.nc-vat-popup__intro {
    margin: 0 0 24px;
    color: #686861;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
}

.nc-vat-popup__choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.nc-vat-popup .nc-vat-popup__choice {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 112px !important;
    border: 1px solid #647360 !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #252522 !important;
    padding: 18px !important;
    cursor: pointer !important;
    text-align: left !important;
    text-transform: none !important;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

.nc-vat-popup .nc-vat-popup__choice:hover,
.nc-vat-popup .nc-vat-popup__choice:focus-visible {
    border-color: #647360 !important;
    background: #f8faf7 !important;
    color: #252522 !important;
    box-shadow: 0 0 0 3px rgba(100, 115, 96, .14) !important;
    outline: 0 !important;
    transform: translateY(-1px);
}

.nc-vat-popup__choice:disabled {
    cursor: wait;
    opacity: .65;
}

.nc-vat-popup__icon {
    display: grid;
    flex: 0 0 45px;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 0;
    background: transparent;
    color: #394b38;
    font-size: 22px;
    font-weight: 800;
}

.nc-vat-popup__copy {
    display: block;
    min-width: 0;
}

.nc-vat-popup__copy strong,
.nc-vat-popup__copy small {
    display: block;
}

.nc-vat-popup__copy strong {
    color: #252522 !important;
    font-size: 17px;
    line-height: 1.25;
    text-transform: none !important;
}

.nc-vat-popup__copy small {
    margin-top: 5px;
    color: #73736d !important;
    font-size: 13px;
    line-height: 1.35;
    text-transform: none !important;
}

.nc-vat-popup__note {
    margin: 18px 0 0;
    color: #7b7b75;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.nc-vat-popup .nc-vat-popup__close {
    appearance: none !important;
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    display: grid !important;
    place-items: center !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f0f1ee !important;
    color: #44443f !important;
    padding: 0 !important;
    cursor: pointer !important;
    font-size: 22px !important;
    line-height: 1 !important;
    text-transform: none !important;
}

.nc-vat-popup .nc-vat-popup__close:hover,
.nc-vat-popup .nc-vat-popup__close:focus-visible {
    background: #e5e8e2 !important;
    color: #252522 !important;
    outline: 2px solid #647360 !important;
    outline-offset: 2px !important;
}

.nc-vat-toggle-menu-item {
    display: flex;
    align-items: center;
    margin-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding: 14px 0 6px;
}

.wdevs-tax-switch {
    --wts-bg-color-checked: #647360 !important;
}

.nc-tax-toggle .wdevs-tax-switch-label {
    transform: scale(.85);
    transform-origin: left center;
}

@media (max-width: 600px) {
    .nc-vat-popup {
        align-items: end;
        padding: 12px;
    }

    .nc-vat-popup__dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        border-radius: 18px;
        padding: 27px 18px 20px;
    }

    .nc-vat-popup h2 {
        font-size: 28px;
    }

    .nc-vat-popup__choices {
        grid-template-columns: 1fr;
    }

    .nc-vat-popup .nc-vat-popup__choice {
        min-height: 88px !important;
        padding: 15px !important;
    }

    .nc-vat-popup__note {
        margin-top: 14px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .nc-vat-popup:not([hidden]) .nc-vat-popup__dialog {
        animation: ncVatIn .22s ease-out both;
    }

    @keyframes ncVatIn {
        from {
            opacity: 0;
            transform: translateY(12px) scale(.985);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }
}
