.crf-container {
    max-width: 1300px;
    margin: 40px auto;
    padding: 30px;
    background: #efe3c7;
    border: 1px solid #b89d6b;
    box-sizing: border-box;
}

.crf-notice {
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.5;
    border: 1px solid;
}

.crf-notice--error {
    background: #f8e3df;
    border-color: #b65b4c;
    color: #6f2d22;
}

.crf-notice--success {
    background: #e7f0df;
    border-color: #6d8b4f;
    color: #3e5a2b;
}

.crf-form {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.crf-column {
    flex: 1;
    background: #f7f0df;
    border: 1px solid #b89d6b;
    padding: 28px 24px;
    box-sizing: border-box;
}

.crf-column h3 {
    margin: 0 0 14px;
    font-size: 20px !important;
    line-height: 1.2;
    color: #23466a;
    font-weight: normal !important;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}

.crf-column p {
    margin: 0 0 12px;
}

.zakelijk-fields {
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccb78f;
}

.crf-column input[type="text"],
.crf-column input[type="email"],
.crf-column input[type="password"],
.crf-column select {
    width: 100%;
    height: 44px;
    padding: 10px 12px;
    border: 1px solid #b89d6b;
    border-radius: 0;
    background: #fffdf8;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.crf-column input[type="text"]:focus,
.crf-column input[type="email"]:focus,
.crf-column input[type="password"]:focus,
.crf-column select:focus {
    outline: none;
    border-color: #23466a;
    background: #fff;
}

.crf-column input::placeholder {
    color: #7a6b55;
    opacity: 1;
}

.crf-button {
    display: inline-block;
    background: #8d2f23;
    color: #fff;
    border: 1px solid #6f2118;
    border-radius: 0;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    box-shadow: none;
}

.crf-button:hover {
    background: #6f2118;
    border-color: #54170f;
}

.crf-button:focus {
    outline: none;
}

.crf-column label {
    display: block;
    margin-bottom: 6px;
    color: #5b4b35;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 980px) {
    .crf-container {
        padding: 20px;
    }

    .crf-form {
        flex-direction: column;
        gap: 20px;
    }

    .crf-column {
        width: 100%;
    }
}

.crf-container .woocommerce-error,
.crf-container .woocommerce-message,
.crf-container .woocommerce-info {
    margin: 0 0 24px 0;
    padding: 14px 18px;
    border: 1px solid;
    list-style: none;
}

.crf-container .woocommerce-error {
    background: #f8e3df;
    border-color: #b65b4c;
    color: #6f2d22;
}

.crf-container .woocommerce-message {
    background: #e7f0df;
    border-color: #6d8b4f;
    color: #3e5a2b;
}

.crf-container .woocommerce-info {
    background: #e8f1f8;
    border-color: #5b7ea4;
    color: #23466a;
}

.crf-container .woocommerce-error::before,
.crf-container .woocommerce-message::before,
.crf-container .woocommerce-info::before {
    display: none !important;
}

.crf-container .woocommerce-notices-wrapper:empty {
    display: none;
}

/* ===========================================
   CRF POPUP
   =========================================== */

.crf-popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
}

.crf-popup__overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 2147483646 !important;
}

.crf-popup__box {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: calc(100% - 40px) !important;
    max-width: 560px !important;
    margin: 0 !important;
    background: #efe3c7 !important;
    border: 1px solid #b89d6b !important;
    padding: 30px !important;
    z-index: 2147483647 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
}

.crf-popup__close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #6f2118 !important;
    z-index: 2 !important;
}

.crf-popup__content {
    font-size: 16px;
    line-height: 1.6;
    color: #4b3f2f;
    padding-right: 20px;
}

.crf-popup__content--error {
    color: #6f2d22;
}

.crf-popup__content--success {
    color: #3e5a2b;
}

body.crf-popup-open {
    overflow: hidden;
}

/* ===========================================
   BUTTON LOADING STATE
   =========================================== */

.crf-button.is-loading,
.crf-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .crf-popup__box {
        width: calc(100% - 30px) !important;
        padding: 24px !important;
    }
}

.crf-form input[type="text"],
.crf-form input[type="email"],
.crf-form input[type="password"],
.crf-form textarea {
    margin-top: 0 !important;
}