/* ================================================================
   CLIMAX WIZARD v2.0 — AANVULLENDE STIJLEN (appended)
   ================================================================ */

/* ===== HEADER v2: COMPACT BRAND ONLY ===== */
.cw-header { padding: 8px 20px; }
.cw-brand-name { font-size: 14px; }
.cw-brand-tag { display: none; }

/* ===== STAP 1 SPLIT LAYOUT ===== */
.cw-step1-layout { display: block; }

@media (min-width: 769px) {
    .cw-step1-layout {
        display: grid;
        grid-template-columns: 230px 1fr;
        gap: 32px;
        align-items: start;
    }
    .cw-step1-left {
        position: sticky;
        top: 110px;
    }
}

.cw-step1-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.cw-step1-right { min-width: 0; }

@media (max-width: 768px) {
    .cw-step1-left { margin-bottom: 20px; }
}

/* ===== KALENDER DATUMPICKER ===== */
.cw-calendar {
    background: var(--cw-white);
    border: 1.5px solid var(--cw-border);
    border-radius: var(--cw-radius);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}
.cw-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 13px;
    border-bottom: 1px solid var(--cw-border-light);
    background: var(--cw-surface);
}
.cw-cal-nav {
    width: 28px;
    height: 28px;
    border: 1px solid var(--cw-border);
    border-radius: 7px;
    background: var(--cw-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cw-text-sec);
    font-family: var(--cw-font);
    font-size: 15px;
    line-height: 1;
    transition: all 150ms ease;
}
.cw-cal-nav:hover:not(:disabled) { background: var(--cw-surface-hover); }
.cw-cal-nav:disabled { opacity: 0.3; cursor: default; }
.cw-cal-month-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--cw-text);
}
.cw-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 8px;
    gap: 2px;
}
.cw-cal-dow {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--cw-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 0 7px;
}
.cw-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
    color: var(--cw-text);
    cursor: pointer;
    transition: all 150ms ease;
    position: relative;
    min-width: 0;
}
.cw-cal-day:hover:not(.is-disabled):not(.is-selected) {
    background: var(--cw-surface);
}
.cw-cal-day.is-today {
    font-weight: 700;
    color: var(--cw-red);
}
.cw-cal-day.is-today::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: var(--cw-red);
    border-radius: 50%;
}
.cw-cal-day.is-selected {
    background: var(--cw-red);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255,0,0,0.3);
}
.cw-cal-day.is-selected.is-today::after { background: #fff; }
.cw-cal-day.is-disabled {
    color: var(--cw-border);
    cursor: default;
    pointer-events: none;
}
.cw-cal-day.is-empty { cursor: default; pointer-events: none; }
.cw-cal-skip-text {
    font-size: 12px;
    color: var(--cw-text-muted);
    text-align: center;
    padding: 7px 13px 11px;
    border-top: 1px solid var(--cw-border-light);
}

.cw-schade-datum-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cw-red-glow);
    border: 1px solid var(--cw-red-border);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cw-red-dark);
    margin-top: 8px;
    animation: caSlideDown 250ms var(--cw-ease) both;
}

/* ===== OORZAAK ICON CARDS ===== */
.cw-oorzaak-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 15px 8px 13px;
    text-align: center;
}
.cw-oorzaak-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--cw-surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
    color: var(--cw-text-light);
    flex-shrink: 0;
}
.cw-card.is-selected .cw-oorzaak-icon-wrap {
    background: rgba(255,0,0,0.09);
    color: var(--cw-red);
}
.cw-oorzaak-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--cw-text);
    line-height: 1.3;
}

/* ===== STAP 2 TABS ===== */
.cw-tab-bar {
    display: flex;
    border: 1.5px solid var(--cw-border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
.cw-tab-btn {
    flex: 1;
    padding: 11px 14px;
    background: var(--cw-white);
    border: none;
    border-right: 1px solid var(--cw-border);
    font-family: var(--cw-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--cw-text-light);
    cursor: pointer;
    transition: all 180ms ease;
    text-align: center;
}
.cw-tab-btn:last-child { border-right: none; }
.cw-tab-btn.is-active { background: var(--cw-red); color: #fff; }
.cw-tab-btn:hover:not(.is-active) { background: var(--cw-surface); }

/* ===== SEARCHABLE DROPDOWN ===== */
.cw-search-dropdown { position: relative; margin-bottom: 4px; }
.cw-search-field-wrap { position: relative; }
.cw-search-field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cw-text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}
.cw-search-field {
    width: 100%;
    font-family: var(--cw-font);
    font-size: 14px;
    color: var(--cw-text);
    background: var(--cw-white);
    border: 1.5px solid var(--cw-border);
    border-radius: 10px;
    padding: 12px 14px 12px 40px;
    outline: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.cw-search-field:focus {
    border-color: var(--cw-red);
    box-shadow: 0 0 0 3px var(--cw-red-glow);
}
.cw-search-field.is-open {
    border-radius: 10px 10px 0 0;
}
.cw-search-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 256px;
    overflow-y: auto;
    background: var(--cw-white);
    border: 1.5px solid var(--cw-red);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    z-index: 200;
    display: none;
}
.cw-search-list.is-open { display: block; }
.cw-search-list::-webkit-scrollbar { width: 4px; }
.cw-search-list::-webkit-scrollbar-thumb { background: var(--cw-border); border-radius: 2px; }
.cw-search-item {
    padding: 9px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--cw-border-light);
    font-size: 13px;
    color: var(--cw-text);
    transition: background 100ms ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cw-search-item:last-child { border-bottom: none; }
.cw-search-item:hover,
.cw-search-item.is-focused { background: var(--cw-red-glow); }
.cw-search-item.is-selected { background: var(--cw-red); color: #fff; }
.cw-search-empty {
    padding: 14px;
    text-align: center;
    color: var(--cw-text-muted);
    font-size: 13px;
}

.cw-selected-value-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cw-red-glow);
    border: 1.5px solid var(--cw-red-border);
    border-radius: var(--cw-radius);
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cw-text);
    animation: caSlideDown 250ms var(--cw-ease) both;
}
.cw-selected-value-badge .cw-badge-check { color: var(--cw-green); flex-shrink: 0; }
.cw-selected-value-badge .cw-badge-reset {
    margin-left: auto;
    color: var(--cw-text-muted);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    padding: 0 0 0 8px;
    display: flex;
    align-items: center;
    transition: color 150ms ease;
    font-family: var(--cw-font);
}
.cw-selected-value-badge .cw-badge-reset:hover { color: var(--cw-red); }
.cw-selected-value-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}
.cw-niet-verzekerd-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--cw-text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--cw-font);
    padding: 0;
    transition: color 150ms ease;
}
.cw-niet-verzekerd-link:hover { color: var(--cw-text); }

.cw-rdw-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--cw-text-muted);
    padding: 6px 0;
}
.cw-rdw-loading .cw-spinner { width: 16px; height: 16px; border-width: 2px; }

/* Bouwjaar select in merk/model tab */
.cw-bouwjaar-select {
    font-family: var(--cw-font);
    font-size: 14px;
    color: var(--cw-text);
    background: var(--cw-white);
    border: 1.5px solid var(--cw-border);
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
    width: 100%;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7878' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.cw-bouwjaar-select:focus {
    border-color: var(--cw-red);
    box-shadow: 0 0 0 3px var(--cw-red-glow);
}

/* ================================================================
   CLIMAX WIZARD v2.0 — MOBIELE RESPONSIVE FIXES
   ================================================================ */

/* ===== FIX 1: STAP 1 SPLIT LAYOUT MOBIEL ===== */
@media (max-width: 768px) {
    .cw-step1-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .cw-step1-left {
        position: relative !important;
        top: auto !important;
        margin-bottom: 4px;
    }
    .cw-step1-left svg {
        max-width: 150px;
    }
}

@media (max-width: 440px) {
    .cw-step1-left svg {
        max-width: 130px;
    }
}

/* ===== FIX 2: KALENDER DATUMPICKER MOBIEL ===== */
@media (max-width: 640px) {
    .cw-calendar {
        margin: 0 -4px;
    }
    .cw-cal-grid {
        gap: 1px;
        padding: 6px;
    }
    .cw-cal-day {
        font-size: 13px;
        min-height: 36px;
        aspect-ratio: auto;
    }
    .cw-cal-dow {
        font-size: 9px;
        padding: 2px 0 5px;
    }
    .cw-cal-header {
        padding: 10px;
    }
    .cw-cal-month-label {
        font-size: 13px;
    }
    .cw-cal-nav {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
}

@media (max-width: 440px) {
    .cw-cal-day {
        font-size: 12px;
        min-height: 34px;
    }
}

/* ===== FIX 3: OORZAAK ICON CARDS MOBIEL ===== */
@media (max-width: 640px) {
    .cw-step1-right .cw-grid-3 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .cw-oorzaak-card {
        padding: 12px 6px 10px;
        gap: 7px;
    }
    .cw-oorzaak-icon-wrap {
        width: 42px;
        height: 42px;
    }
    .cw-oorzaak-icon-wrap svg {
        width: 24px;
        height: 24px;
    }
    .cw-oorzaak-label {
        font-size: 11px;
    }
}

/* ===== FIX 4: SEARCHABLE DROPDOWNS MOBIEL + iOS ZOOM FIX ===== */
@media (max-width: 768px) {
    .cw-search-list {
        max-height: 200px;
        position: absolute;
        left: 0;
        right: 0;
    }
    .cw-search-field {
        font-size: 16px;
        padding: 14px 14px 14px 40px;
    }
    .cw-search-item {
        padding: 12px 14px;
        font-size: 14px;
    }
    /* iOS Safari zoom fix — alle inputs minimaal 16px */
    .cw-input,
    .cw-search-field,
    .cw-bouwjaar-select,
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        font-size: 16px !important;
    }
}

@media (max-width: 440px) {
    .cw-search-list {
        max-height: 180px;
    }
}

/* ===== FIX 5: TAB-BAR STAP 2 MOBIEL ===== */
@media (max-width: 640px) {
    .cw-tab-bar {
        flex-direction: column;
        border-radius: 10px;
    }
    .cw-tab-btn {
        border-right: none;
        border-bottom: 1px solid var(--cw-border);
        padding: 12px 14px;
        font-size: 13px;
    }
    .cw-tab-btn:last-child {
        border-bottom: none;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .cw-tab-btn {
        font-size: 12px;
        padding: 10px;
    }
}

/* ===== FIX 6: KENTEKEN INPUT MOBIEL ===== */
@media (max-width: 480px) {
    .cw-kenteken-row {
        flex-direction: column;
        gap: 8px;
    }
    .cw-kenteken-row .cw-btn {
        width: 100%;
        justify-content: center;
    }
    .cw-kenteken-input {
        font-size: 18px;
    }
}

/* ===== FIX 7: SCHADEGROOTTE CARDS MOBIEL ===== */
@media (max-width: 440px) {
    .cw-step1-right .cw-grid-2 {
        gap: 8px;
    }
    .cw-schade-card {
        padding: 12px 8px;
    }
    .cw-schade-card svg {
        width: 32px;
        height: 32px;
    }
}

/* ===== FIX 8: BOTTOM BAR MOBIEL ===== */
@media (max-width: 640px) {
    .cw-bottom-bar {
        padding: 8px 12px;
    }
    .cw-bottom-inner {
        gap: 8px;
    }
    .cw-step-counter {
        display: none;
    }
    .cw-btn-primary {
        padding: 12px 18px;
        font-size: 13px;
    }
    .cw-btn-secondary {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* ===== FIX 9: PROGRESS BAR MOBIEL ===== */
@media (max-width: 480px) {
    .cw-progress-label {
        font-size: 8px;
        letter-spacing: 0;
    }
}

@media (max-width: 360px) {
    .cw-progress-label {
        display: none;
    }
    .cw-progress-step {
        align-items: center;
    }
    .cw-progress-line {
        height: 4px;
        border-radius: 2px;
    }
}

/* ===== FIX 10: STAP 3 GEGEVENS FORMULIER MOBIEL ===== */
@media (max-width: 640px) {
    .cw-form-row-2 {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}

/* ===== FIX 11: DATUM/TIJDPICKER MOBIEL ===== */
.cw-datum-slider {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.cw-datum-slider::-webkit-scrollbar { display: none; }
.cw-datum-item {
    scroll-snap-align: center;
}

@media (max-width: 640px) {
    .cw-datum-item {
        min-width: 52px;
        padding: 7px 4px;
    }
    .cw-service-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .cw-service-grid .cw-service-card:last-child {
        grid-column: span 2;
    }
}

/* ===== FIX 12: STAP 5 BEVESTIGING MOBIEL ===== */
@media (max-width: 640px) {
    .cw-summary-table {
        font-size: 12px;
    }
    .cw-summary-row {
        grid-template-columns: 90px 1fr;
        gap: 4px;
        padding: 6px 0;
    }
}

/* ===== FIX 13: VERZEKERAAR BADGE MOBIEL ===== */
@media (max-width: 640px) {
    .cw-selected-value-badge {
        padding: 8px 12px;
    }
    .cw-selected-value-name {
        font-size: 12px;
        white-space: normal;
        word-break: break-word;
    }
}

/* ===== FIX 14: TOUCH TARGETS ===== */
@media (max-width: 768px) {
    .cw-card {
        min-height: 44px;
    }
    .cw-oorzaak-card {
        min-height: 44px;
    }
    .cw-card[data-val] {
        padding: 12px;
    }
    .cw-akkoord-check {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }
}

/* ===== FIX 15: CONTENT PADDING & SPACING MOBIEL ===== */
@media (max-width: 640px) {
    .cw-content {
        padding: 16px 14px 120px;
    }
    .cw-step-header {
        margin-bottom: 16px;
    }
    .cw-step-title {
        font-size: 19px;
    }
    .cw-step-subtitle {
        font-size: 13px;
    }
    .cw-section-label {
        font-size: 10px;
        margin-bottom: 7px;
    }
    .cw-spacer {
        height: 16px;
    }
}

@media (max-width: 440px) {
    .cw-content {
        padding: 12px 10px 110px;
    }
    .cw-step-title {
        font-size: 17px;
    }
}

/* ===== FIX 16: HEADER MOBIEL ===== */
@media (max-width: 640px) {
    .cw-header {
        padding: 6px 12px;
    }
    .cw-brand-badge {
        width: 28px;
        height: 28px;
        font-size: 13px;
        border-radius: 7px;
    }
    .cw-brand-name {
        font-size: 13px;
    }
}

/* ================================================================
   CLIMAX WIZARD v4.0 — AANVULLENDE STIJLEN
   ================================================================ */

/* ===== TIJDSTIP FONT: MONTSERRAT ===== */
.cw-tijd-item {
    font-family: 'Montserrat', 'Be Vietnam Pro', system-ui, sans-serif;
}

/* ===== CONFIRM GRID (2 kolommen) ===== */
.cw-confirm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 640px) {
    .cw-confirm-grid {
        grid-template-columns: 1fr;
    }
}
.cw-confirm-col {
    background: var(--cw-white);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius);
    padding: 16px 18px;
}
.cw-confirm-col-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--cw-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
}
.cw-confirm-row {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--cw-border-light);
    font-size: 13px;
}
.cw-confirm-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.cw-confirm-label {
    color: var(--cw-text-muted);
    min-width: 80px;
    flex-shrink: 0;
    font-size: 12px;
}
.cw-confirm-value {
    color: var(--cw-text);
    font-weight: 600;
    word-break: break-word;
}

/* ===== AGENDA DOWNLOAD KNOP ===== */
.cw-btn-agenda {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--cw-radius);
    font-family: var(--cw-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--cw-border);
    background: var(--cw-white);
    color: var(--cw-text-sec);
    transition: all 180ms ease;
    text-decoration: none;
    white-space: nowrap;
}
.cw-btn-agenda:hover {
    background: var(--cw-surface);
    border-color: var(--cw-text-muted);
}

/* ===== SUCCESS SCHERM KNOPPEN ===== */
.cw-success-btn-tel {
    background: var(--cw-white);
    color: var(--cw-text);
    border: 1.5px solid var(--cw-border);
    text-decoration: none;
}
.cw-success-btn-tel:hover {
    background: var(--cw-surface);
}
.cw-success-btn-wa {
    background: #25D366;
    color: #fff !important;
    border: none;
    text-decoration: none;
}
.cw-success-btn-wa:hover {
    background: #1FB855;
    color: #fff !important;
}
.cw-success-btn-wa svg {
    color: #fff !important;
    stroke: #fff !important;
}
.cw-success-btn-agenda {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--cw-radius);
    font-family: var(--cw-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--cw-border);
    background: var(--cw-white);
    color: var(--cw-text-sec);
    transition: all 180ms ease;
}
.cw-success-btn-agenda:hover {
    background: var(--cw-surface);
}

/* ===== INLINE NAV MOBIEL ===== */
@media (max-width: 640px) {
    .cw-nav-inline {
        margin-top: 24px;
        padding-top: 16px;
    }
    .cw-nav-row .cw-btn {
        padding: 11px 16px;
        font-size: 13px;
    }
    .cw-content {
        padding-bottom: 24px;
    }
}

/* ===== HEADER VERBERGEN (v4) ===== */
.cw-header {
    display: none !important;
}

/* ================================================================
   CLIMAX WIZARD v6.0 — CRITICAL FIXES
   ================================================================ */

/* ===== MOBIEL STAP 2 — TABS GESTACKED ===== */
@media (max-width: 640px) {
    .cw-tab-bar {
        flex-direction: column !important;
        border-radius: 10px;
        gap: 0;
    }
    .cw-tab-btn {
        border-right: none !important;
        border-bottom: 1px solid var(--cw-border);
        padding: 14px 16px !important;
        font-size: 14px !important;
        min-height: 48px;
        text-align: left;
    }
    .cw-tab-btn:last-child {
        border-bottom: none !important;
    }
}

/* ===== MOBIEL KENTEKEN — COLUMN LAYOUT ===== */
@media (max-width: 520px) {
    .cw-kenteken-row {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .cw-kenteken-wrap {
        max-width: 100% !important;
        width: 100%;
    }
    .cw-kenteken-btn {
        width: 100% !important;
        padding: 14px 20px !important;
        border-radius: 8px !important;
        font-size: 15px !important;
        min-height: 48px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cw-kenteken-input {
        font-size: 18px !important;
    }
}

/* ===== MOBIEL SEARCH DROPDOWNS ===== */
@media (max-width: 640px) {
    .cw-search-field {
        font-size: 16px !important;
        padding: 14px 14px 14px 42px !important;
        min-height: 48px;
    }
    .cw-search-item {
        padding: 14px 16px !important;
        font-size: 15px !important;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    .cw-search-list {
        max-height: 220px;
    }
    .cw-bouwjaar-select {
        font-size: 16px !important;
        min-height: 48px;
    }
}

/* ===== iOS ZOOM FIX — ALLE INPUTS 16PX OP MOBIEL ===== */
@media (max-width: 768px) {
    .cw-input,
    .cw-float-input,
    .cw-search-field,
    .cw-bouwjaar-select,
    .cw-kenteken-input {
        font-size: 16px !important;
    }
}

/* ===== CONTENT PADDING FIX (inline nav, niet fixed bar) ===== */
@media (max-width: 640px) {
    .cw-content {
        padding: 16px 14px 24px !important;
    }
}

/* ================================================================
   CLIMAX WIZARD v8.1 — TIJDSTIP KEUZE CARDS
   ================================================================ */
.cw-tijd-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
.cw-tijd-keuze {
    text-align: center;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.cw-tijd-keuze-icon { font-size: 36px; line-height: 1; }
.cw-tijd-keuze-label { font-size: 18px; font-weight: 700; color: var(--cw-text); }
.cw-tijd-keuze-range { font-size: 15px; color: var(--cw-text-light); font-weight: 500; }
.cw-card.is-selected .cw-tijd-keuze-label { color: var(--cw-red-dark); }
@media (max-width: 640px) {
    .cw-tijd-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
    .cw-tijd-keuze { padding: 22px 14px; }
    .cw-tijd-keuze-icon { font-size: 30px; }
    .cw-tijd-keuze-label { font-size: 16px; }
    .cw-tijd-keuze-range { font-size: 14px; }
}

/* ================================================================
   CLIMAX WIZARD v8.1 — STAP 2 UITKLAPBAAR ALTERNATIEF
   ================================================================ */
.cw-expand-section {
    margin-top: 20px;
}
.cw-expand-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: var(--cw-surface);
    border: 1.5px dashed var(--cw-border);
    border-radius: var(--cw-radius);
    cursor: pointer;
    font-family: var(--cw-font);
    transition: all 200ms ease;
}
.cw-expand-trigger:hover {
    background: var(--cw-surface-hover);
    border-color: var(--cw-text-muted);
}
.cw-expand-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--cw-text-light);
}
.cw-expand-action {
    font-size: 13px;
    font-weight: 700;
    color: var(--cw-red);
}
.cw-expand-content {
    margin-top: 16px;
    padding: 20px;
    background: var(--cw-white);
    border: 1.5px solid var(--cw-border);
    border-radius: var(--cw-radius);
    animation: ca 300ms var(--cw-ease) both;
    position: relative;
    z-index: 10;
}
@media (max-width: 640px) {
    .cw-expand-trigger {
        padding: 12px 14px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

/* ===== SCHADE DUUR LABEL ===== */
.cw-schade-duur {
    font-size: 12px;
    font-weight: 600;
    color: var(--cw-text-muted);
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid var(--cw-border-light);
    width: 100%;
}
.cw-card.is-selected .cw-schade-duur {
    color: var(--cw-red-dark);
    border-top-color: var(--cw-red-border);
}

/* ================================================================
   CLIMAX WIZARD v8.1 — DROPDOWN Z-INDEX FIX
   ================================================================ */
#cw-dd-wrap-merk .cw-search-list       { z-index: 400; }
#cw-dd-wrap-model .cw-search-list      { z-index: 350; }
#cw-dd-wrap-verzekeraar .cw-search-list { z-index: 300; }

/* ================================================================
   CLIMAX WIZARD v8.1 — GROENE KAART UPLOAD
   ================================================================ */
.cw-groene-kaart-upload {
    margin-top: 14px;
}
.cw-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--cw-surface);
    border: 1.5px dashed var(--cw-border);
    border-radius: var(--cw-radius);
    cursor: pointer;
    font-family: var(--cw-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--cw-text-light);
    transition: all 200ms ease;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}
.cw-upload-btn:hover {
    background: var(--cw-surface-hover);
    border-color: var(--cw-text-muted);
    color: var(--cw-text-sec);
}
.cw-upload-icon { font-size: 16px; }
.cw-upload-result {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(16, 185, 129, 0.06);
    border: 1.5px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--cw-radius);
    margin-top: 10px;
    font-size: 13px;
    color: var(--cw-text);
}
.cw-upload-check { color: var(--cw-green); flex-shrink: 0; }
.cw-upload-filename {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

/* ================================================================
   CLIMAX WIZARD v8.1 — OPMERKINGEN TEXTAREA
   ================================================================ */
.cw-textarea {
    font-family: var(--cw-font);
    font-size: 14px;
    color: var(--cw-text);
    background: var(--cw-white);
    border: 1.5px solid var(--cw-border);
    border-radius: var(--cw-radius);
    padding: 12px 14px;
    width: 100%;
    resize: vertical;
    min-height: 80px;
    outline: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    box-sizing: border-box;
}
.cw-textarea:focus {
    border-color: var(--cw-red);
    box-shadow: 0 0 0 3px var(--cw-red-glow);
}
.cw-textarea::placeholder { color: var(--cw-text-muted); }
@media (max-width: 768px) {
    .cw-textarea { font-size: 16px; }
}
