 .woocommerce-checkout .custom-checkout-right {
    max-width: 40% !important;
    padding-right: 180px !important;
min-height: 160rem;
    height: 100%;
    padding-left: 30px;
}
.woocommerce-checkout .custom-checkout-right {
    flex: 0 0 50% !important;
}
.custom-checkout-right {
    background: #f3f3f3;
    padding: 15px;
}

/* ===================================================
   GOOD4YOU STYLE - CHECKOUT (custom template match)
=================================================== */
/* ===== Order Type (Private/Commercial) Radio Buttons ===== */
#order_type_field {
    margin-bottom: 25px;
}

#order_type_field > label.required_field {
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    display: block;
    font-size: 0.95em;
}

#order_type_field .required {
    color: #e63946;
}

#order_type_field .woocommerce-input-wrapper {
    display: flex;
    gap: 15px;
}

/* Each option as a pill/box */
#order_type_field label.radio {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 20px 12px 42px;
    cursor: pointer;
    font-weight: 500;
    color: #333;
    margin: 0;
    transition: border-color 0.15s ease, color 0.15s ease;
}

/* Hide default radio, keep it accessible */
#order_type_field label.radio input.input-radio {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

/* Custom circle - outer ring */
#order_type_field label.radio::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.15s ease;
}

/* Custom circle - inner filled dot (hidden by default) */
#order_type_field label.radio::after {
    content: "";
    position: absolute;
    left: 19px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0098d5;
    transition: transform 0.15s ease;
}
.woocommerce-checkout .custom-checkout-left {
    flex: 0 0 59% !important;
    max-width: 60% !important;
    padding-left: 10% !important;
    padding-right: 2%;
}
/* Checked state - highlight label border + text color */
#order_type_field label.radio:has(input:checked) {
    border-color: #0098d5;
    color: #0098d5;
}
#order_type_field label.radio:has(input:checked)::before {
    border-color: #0098d5;
}
#order_type_field label.radio:has(input:checked)::after {
    transform: translateY(-50%) scale(1);
}

/* Hover state */
#order_type_field label.radio:hover {
    border-color: #0098d5;
}

/* Fix the <font> tags WooCommerce/Google Translate injects - remove weird spacing */
#order_type_field font {
    vertical-align: inherit !important;
}
/* Page title */
.wc-custom-two-col .main_title {
    font-size: 2em;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

/* Two column layout */
.custom-checkout-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    /* flex-wrap: wrap; */
    
    margin: 0 auto;
}
.custom-checkout-left {
    flex: 1.6;
    min-width: 320px;
}
.custom-checkout-right {
    flex: 1;
    min-width: 280px;
}

/* Section step titles - "1. Je gegevens" etc */
.wc-custom-two-col .step-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #1a1a2e;
    border-bottom: 1px solid #eee;
    padding: 20px 0 15px 0;
    margin: 0 0 25px;
}

/* Form rows */
.wc-custom-two-col .form-row {
    margin-bottom: 20px;
}
.wc-custom-two-col .form-row label {
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    display: block;
    font-size: 0.95em;
}
.wc-custom-two-col .form-row label .required {
    color: #e63946;
    text-decoration: none;
}
.wc-custom-two-col .form-row input.input-text,
.wc-custom-two-col .form-row select,
.wc-custom-two-col .form-row textarea,
.wc-custom-two-col .select2-container .select2-selection--single {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px !important;
    width: 100%;
    font-size: 1em;
    height: auto !important;
}
.wc-custom-two-col .select2-container .select2-selection__rendered {
    line-height: 24px !important;
    padding-left: 2px !important;
}
.wc-custom-two-col .form-row input.input-text:focus,
.wc-custom-two-col .form-row select:focus {
    border-color: #0098d5;
    outline: none;
}
.wc-custom-two-col .form-row-first,
.wc-custom-two-col .form-row-last {
    width: 48%;
}
.wc-custom-two-col .form-row-first {
    float: left;
}
.wc-custom-two-col .form-row-last {
    float: right;
}
.wc-custom-two-col .woocommerce-billing-fields::after {
    content: "";
    display: table;
    clear: both;
}

/* Private / Commercial toggle */
.billing-type-toggle {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.billing-type-toggle label {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}
.billing-type-toggle input[type="radio"] {
    accent-color: #0098d5;
    width: 18px;
    height: 18px;
}
.billing-type-toggle label.active {
    border-color: #0098d5;
    color: #0098d5;
}

/* Ship to different address checkbox */
.wc-custom-two-col #ship-to-different-address {
    border: none;
    padding-bottom: 15px;
    margin-bottom: 5px;
display: flex;
    gap: 10px;
    padding: 15px 0;
}
.wc-custom-two-col #ship-to-different-address label {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wc-custom-two-col #ship-to-different-address input[type="checkbox"] {
    accent-color: #0098d5;
    width: 18px;
    height: 18px;
}

/* Section 3: order summary (inline, inside left column) */
.wc-custom-two-col .payment-options .order-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.wc-custom-two-col .item-name {
    color: #1a1a2e;
    font-weight: 500;
}
.wc-custom-two-col .item-qty {
    color: #999;
}

/* Terms checkbox */
.wc-custom-two-col #custom_terms_wrapper label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9em;
    color: #666;
    font-weight: 400;
}
.wc-custom-two-col #custom_terms_wrapper input[type="checkbox"] {
    accent-color: #0098d5;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.wc-custom-two-col #custom_terms_wrapper a {
    color: #0098d5;
    text-decoration: underline;
}

/* Payment section */
.wc-custom-two-col .wc-payment-section {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 10px;
}
.wc-custom-two-col #payment ul.payment_methods {
    list-style: none;
    padding: 0;
}
.wc-custom-two-col #payment ul.payment_methods li {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
}

/* Place order button */
.wc-custom-two-col #place_order {
    background: #0098d5 !important;
    border-radius: 8px;
    padding: 16px !important;
    font-weight: 600;
    width: 100%;
    font-size: 1.05em;
}
.wc-custom-two-col #place_order:hover {
    background: #256e46 !important;
}

/* ===== RIGHT SIDEBAR ===== */
.custom-checkout-right .order-summary-sticky {
    background: transparent;
    position: sticky;
    top: 20px;
}
.custom-checkout-right .order-summary {
    margin-bottom: 20px;
}
.custom-checkout-right .order-summary-title {
    font-size: 1.6em;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

/* Order items list */
.custom-checkout-right ul.order-items {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-checkout-right li.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.custom-checkout-right .item-thumb img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
}
.custom-checkout-right .item-details {
    display: flex;
    flex-direction: column;
}
.custom-checkout-right .item-details .item-name {
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.95em;
}
.custom-checkout-right .item-details .item-qty {
    color: #999;
    font-size: 0.85em;
}

/* "Bekijk winkelwagen" link */
.custom-checkout-right .cart-link {
    color: #0098d5;
    text-decoration: underline;
    font-size: 0.9em;
    font-weight: 500;
}

/* Static text block - "Altijd goed geregeld" */
.custom-checkout-right .static-text {
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.custom-checkout-right .store-info {
    font-size: 1.15em;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.custom-checkout-right .static-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-checkout-right .static-text ul li {
    padding: 5px 0;
    color: #333;
    font-size: 0.95em;
}
.custom-checkout-right .static-text ul li::before {
    content: "✔";
    color: #2e8b57;
    font-weight: bold;
    margin-right: 8px;
}

/* Logo images */
.wc-custom-two-col .logo-container img {
    display: inline-block;
}

@media (max-width: 900px) {
    .custom-checkout-container {
        flex-direction: column;
    }
    .wc-custom-two-col .form-row-first,
    .wc-custom-two-col .form-row-last {
        width: 100%;
        float: none;
    }
}