/**
 * SIW B2B — Dealer account aanvragen + productpagina styling
 * Design tokens: #B61924 (primary), #1a1a1a (dark), Manrope font
 * v1.2.0
 */

/* ═══ Dealer button sectie (login pagina) ═══ */

/* CTA blok op de loginpagina */
.siw-b2b-login-cta {
    text-align: center;
    padding: 20px 0;
}

.siw-b2b-login-cta-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
}

.siw-b2b-login-cta-text .material-icons {
    font-size: 20px;
    color: #B61924;
}

/* Verberg standaard registratielink */
.page-authentication .no-account {
    display: none !important;
}

/* ═══ Modal overlay ═══ */

.siw-b2b-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.siw-b2b-modal-overlay.active {
    opacity: 1;
}

.siw-b2b-modal {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.siw-b2b-modal-overlay.active .siw-b2b-modal {
    transform: translateY(0);
}

.siw-b2b-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    transition: color 0.2s ease;
}

.siw-b2b-modal-close:hover {
    color: #1a1a1a;
}

.siw-b2b-modal-close .material-icons {
    font-size: 24px;
}

/* ═══ Modal header ═══ */

.siw-b2b-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.siw-b2b-modal-header h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

/* ═══ Stap-indicator ═══ */

.siw-b2b-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.siw-b2b-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.siw-b2b-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    background: #eee;
    color: #999;
    transition: all 0.25s ease;
}

.siw-b2b-step.active .siw-b2b-step-number {
    background: #B61924;
    color: #fff;
}

.siw-b2b-step.completed .siw-b2b-step-number {
    background: #27ae60;
    color: #fff;
}

.siw-b2b-step-label {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    color: #999;
    font-weight: 500;
    transition: color 0.25s ease;
}

.siw-b2b-step.active .siw-b2b-step-label {
    color: #B61924;
    font-weight: 600;
}

.siw-b2b-step.completed .siw-b2b-step-label {
    color: #27ae60;
}

.siw-b2b-step-line {
    flex: 1;
    height: 2px;
    background: #eee;
    margin: 0 6px;
    margin-bottom: 18px;
    transition: background 0.25s ease;
}

.siw-b2b-step-line.completed {
    background: #27ae60;
}

/* ═══ Formulier ═══ */

.siw-b2b-form-group {
    margin-bottom: 16px;
}

.siw-b2b-form-group label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.siw-b2b-form-group label .required {
    color: #B61924;
}

.siw-b2b-form-group input,
.siw-b2b-form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.siw-b2b-form-group input:focus,
.siw-b2b-form-group select:focus {
    border-color: #B61924;
    outline: none;
    box-shadow: 0 0 0 2px rgba(182, 25, 36, 0.1);
}

.siw-b2b-form-group input.error {
    border-color: #d9534f;
}

.siw-b2b-form-row {
    display: flex;
    gap: 12px;
}

.siw-b2b-form-row .siw-b2b-form-group {
    flex: 1;
}

.siw-b2b-form-row .siw-b2b-form-group--wide {
    flex: 2;
}

.siw-b2b-hint {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.siw-b2b-field-error {
    font-size: 12px;
    color: #d9534f;
    margin-top: 4px;
    min-height: 16px;
}

/* ═══ Gender radio opties ═══ */

.siw-b2b-gender-options {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.siw-b2b-gender-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 14px !important;
    color: #1a1a1a !important;
}

.siw-b2b-gender-option input[type="radio"] {
    width: auto;
    margin: 0;
}

/* ═══ Dealer Voorwaarden (Stap 1) ═══ */

.siw-b2b-conditions-intro {
    text-align: center;
    margin-bottom: 24px;
}

.siw-b2b-conditions-icon {
    margin-bottom: 12px;
}

.siw-b2b-conditions-icon .material-icons {
    font-size: 48px;
    color: #B61924;
}

.siw-b2b-conditions-intro h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.siw-b2b-conditions-intro p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.siw-b2b-conditions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.siw-b2b-condition-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8f9fa;
    border: 2px solid #eee;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-weight: 400 !important;
}

.siw-b2b-condition-item:hover {
    border-color: #ccc;
}

.siw-b2b-condition-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.siw-b2b-condition-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 1px;
}

.siw-b2b-condition-check::after {
    content: 'check';
    font-family: 'Material Icons';
    font-size: 16px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.siw-b2b-condition-item input[type="checkbox"]:checked ~ .siw-b2b-condition-check {
    background: #27ae60;
    border-color: #27ae60;
}

.siw-b2b-condition-item input[type="checkbox"]:checked ~ .siw-b2b-condition-check::after {
    opacity: 1;
}

.siw-b2b-condition-item input[type="checkbox"]:checked ~ .siw-b2b-condition-text {
    color: #1a1a1a;
}

.siw-b2b-condition-text {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #555;
}

/* ═══ Factuuradres toggle + velden ═══ */

.siw-b2b-invoice-toggle {
    margin-top: 8px;
    margin-bottom: 16px;
}

.siw-b2b-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 400 !important;
    line-height: 1.5;
}

.siw-b2b-checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

.siw-b2b-invoice-fields {
    padding-top: 8px;
}

.siw-b2b-section-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    gap: 12px;
}

.siw-b2b-section-divider::before,
.siw-b2b-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.siw-b2b-section-divider span {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ═══ Betaalwijze (Stap 5) ═══ */

.siw-b2b-step-title {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    text-align: center;
}

.siw-b2b-payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.siw-b2b-payment-option {
    position: relative;
    cursor: pointer;
    font-weight: 400 !important;
}

.siw-b2b-payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.siw-b2b-payment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid #eee;
    border-radius: 6px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.siw-b2b-payment-option:hover .siw-b2b-payment-card {
    border-color: #ccc;
}

.siw-b2b-payment-option input[type="radio"]:checked ~ .siw-b2b-payment-card {
    border-color: #B61924;
    background: #fef8f8;
}

.siw-b2b-payment-card .material-icons {
    font-size: 28px;
    color: #999;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.siw-b2b-payment-option input[type="radio"]:checked ~ .siw-b2b-payment-card .material-icons {
    color: #B61924;
}

.siw-b2b-payment-title {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
}

.siw-b2b-payment-desc {
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 2px;
}

/* ═══ SEPA Mandaat ═══ */

.siw-b2b-mandate-section {
    margin-top: 8px;
}

.siw-b2b-mandate-text {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.siw-b2b-mandate-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.siw-b2b-mandate-agree {
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #eee;
    border-radius: 6px;
    margin-top: 8px;
}

/* ═══ Privacy notice ═══ */

.siw-b2b-privacy-notice {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 12px 16px;
    margin-top: 16px;
}

.siw-b2b-privacy-notice p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ═══ Postcode Lookup Status ═══ */

.siw-b2b-lookup-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    font-size: 12px;
    margin-bottom: 8px;
}

.siw-b2b-lookup-status .siw-b2b-lookup-icon {
    font-size: 16px;
}

.siw-b2b-lookup-loading {
    color: #999;
}

.siw-b2b-lookup-success {
    color: #27ae60;
}

.siw-b2b-lookup-error {
    color: #d9534f;
}

/* ═══ BTW-nummer validatie ═══ */

.siw-b2b-form-group--vat .siw-b2b-vat-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.siw-b2b-form-group--vat .siw-b2b-vat-wrapper input {
    padding-right: 38px;
}

.siw-b2b-vat-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.siw-b2b-vat-status .material-icons {
    font-size: 20px;
}

.siw-b2b-vat-loading .material-icons {
    color: #999;
}

.siw-b2b-vat-valid .material-icons {
    color: #27ae60;
}

.siw-b2b-vat-invalid .material-icons {
    color: #d9534f;
}

.siw-b2b-vat-message {
    font-size: 11px;
    margin-top: 4px;
    min-height: 14px;
}

.siw-b2b-vat-msg-valid {
    color: #27ae60;
}

.siw-b2b-vat-msg-invalid {
    color: #d9534f;
}

/* ═══ Foutmelding ═══ */

.siw-b2b-form-error {
    background: #fdf2f2;
    border: 1px solid #d9534f;
    border-radius: 4px;
    padding: 10px 14px;
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #d9534f;
}

/* ═══ Navigatieknoppen ═══ */

.siw-b2b-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    gap: 12px;
}

.siw-b2b-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #B61924;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.siw-b2b-btn:hover {
    background: #9a1520;
    color: #fff !important;
}

.siw-b2b-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.siw-b2b-btn .material-icons {
    font-size: 18px;
}

.siw-b2b-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.siw-b2b-btn-back:hover {
    border-color: #999;
    color: #1a1a1a;
}

.siw-b2b-btn-back .material-icons {
    font-size: 18px;
}

/* ═══ Bedankt pagina ═══ */

.siw-b2b-thank-you {
    text-align: center;
    padding: 20px 0;
}

.siw-b2b-thank-you-icon {
    margin-bottom: 16px;
}

.siw-b2b-thank-you-icon .material-icons {
    font-size: 64px;
    color: #27ae60;
}

.siw-b2b-thank-you h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.siw-b2b-thank-you p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

/* ═══ Product pagina - Guest actions ═══ */

.siw-b2b-guest-actions {
    margin-top: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #eee;
}

.siw-b2b-guest-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0 0 16px 0;
}

.siw-b2b-guest-notice .material-icons {
    font-size: 20px;
    color: #B61924;
}

.siw-b2b-guest-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.siw-b2b-guest-buttons .siw-b2b-btn {
    flex: 1;
    justify-content: center;
    min-width: 140px;
    text-decoration: none;
}

.siw-b2b-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: transparent;
    color: #B61924;
    border: 2px solid #B61924;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.siw-b2b-btn-outline:hover {
    background: #B61924;
    color: #fff !important;
    text-decoration: none;
}

.siw-b2b-btn-outline .material-icons {
    font-size: 18px;
}

.siw-b2b-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #222;
    color: #fff !important;
    border: 2px solid #222;
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.siw-b2b-btn-dark:hover {
    background: #000;
    border-color: #000;
    color: #fff !important;
    text-decoration: none;
}

.siw-b2b-btn-dark .material-icons {
    font-size: 18px;
}

/* ═══ Product pagina - Pending notice ═══ */

.siw-b2b-pending-notice {
    margin-top: 16px;
}

.siw-b2b-pending-notice .alert {
    display: flex;
    align-items: center;
    gap: 8px;
}

.siw-b2b-pending-notice .material-icons {
    font-size: 20px;
}

/* ═══ Responsive ═══ */

@media (max-width: 991px) {
    .siw-b2b-guest-buttons {
        flex-direction: column;
    }
    .siw-b2b-guest-buttons .siw-b2b-btn,
    .siw-b2b-guest-buttons .siw-b2b-btn-outline,
    .siw-b2b-guest-buttons .siw-b2b-btn-dark {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .siw-b2b-modal {
        width: 95%;
        padding: 20px;
        max-height: 95vh;
    }

    .siw-b2b-modal-header h2 {
        font-size: 18px;
    }

    .siw-b2b-form-row {
        flex-direction: column;
        gap: 0;
    }

    .siw-b2b-step-label {
        font-size: 10px;
    }

    .siw-b2b-step-line {
        flex: 1;
    }

    .siw-b2b-form-actions {
        flex-direction: column-reverse;
    }

    .siw-b2b-form-actions .siw-b2b-btn,
    .siw-b2b-form-actions .siw-b2b-btn-back {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .siw-b2b-modal {
        padding: 16px;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .siw-b2b-steps {
        gap: 0;
    }

    .siw-b2b-step-line {
        flex: 1;
        margin: 0 3px;
    }

    .siw-b2b-step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .siw-b2b-step-label {
        font-size: 9px;
    }

    .siw-b2b-condition-item {
        padding: 10px 12px;
    }

    .siw-b2b-payment-card {
        padding: 12px 14px;
    }
}

/* ═══ Prijstoggle (Privé / Zakelijk) ═══ */

.header-banner-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.siw-price-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #ddd;
}

.siw-price-toggle-label {
    font-size: 0.7rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
    line-height: 1;
}

.siw-price-toggle-label.active {
    color: #fff;
    font-weight: 600;
}

.siw-price-toggle-switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 16px;
    margin: 0;
}

.siw-price-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.siw-price-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 16px;
    transition: background 0.3s;
}

.siw-price-toggle-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 2px;
    bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

.siw-price-toggle-switch input:checked + .siw-price-toggle-slider {
    background: #B61924;
}

.siw-price-toggle-switch input:checked + .siw-price-toggle-slider:before {
    transform: translateX(14px);
}

/* ═══ Info-tooltip bij toggle ═══ */

.siw-toggle-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    transform: translateY(6px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.siw-toggle-tooltip.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.siw-toggle-tooltip-arrow {
    position: absolute;
    top: -6px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #1e3a5f;
}

.siw-toggle-tooltip-body {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1e3a5f;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.siw-toggle-tooltip-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.siw-toggle-tooltip-icon .material-icons {
    font-size: 18px;
    color: #6db3f2;
}

.siw-toggle-tooltip-text {
    color: #d0dfef;
}

.siw-toggle-tooltip-text strong {
    color: #fff;
}

.siw-toggle-tooltip-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.siw-toggle-tooltip-close .material-icons {
    font-size: 16px;
    color: #999;
    transition: color 0.15s;
}

.siw-toggle-tooltip-close:hover .material-icons {
    color: #fff;
}

/* ═══ B2B Extra prijsinfo (productpagina) ═══ */

.siw-b2b-extra-prices {
    display: none;
}

body.siw-zakelijk .siw-b2b-extra-prices {
    display: block;
}

.siw-b2b-price-details {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #555;
    line-height: 1.5;
}

.siw-b2b-price-details > span {
    display: flex;
    gap: 4px;
}

.siw-b2b-price-details .siw-b2b-price-label {
    color: #888;
}

.siw-b2b-price-details .siw-b2b-price-value {
    font-weight: 600;
    color: #333;
}

/* ═══ Checkout mandaat formulier ═══ */

.siw-checkout-mandate {
    margin-bottom: 20px;
}

.siw-checkout-mandate-box {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px 24px;
}

.siw-checkout-mandate-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
}

.siw-checkout-mandate-desc {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.5;
}

.siw-checkout-mandate-field {
    margin-bottom: 12px;
}

.siw-checkout-mandate-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.siw-checkout-mandate-field label .required {
    color: #B61924;
}

.siw-checkout-mandate-field input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color .2s;
}

.siw-checkout-mandate-field input[type="text"]:focus {
    border-color: #B61924;
    outline: none;
}

.siw-checkout-mandate-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    font-size: 0.8125rem;
    line-height: 1.5;
    cursor: pointer;
}

.siw-checkout-mandate-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.siw-checkout-mandate-error {
    background: #fdecea;
    color: #B61924;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.8125rem;
    margin-bottom: 12px;
}

.siw-checkout-mandate-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.siw-checkout-mandate-btn {
    background: #B61924;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.siw-checkout-mandate-btn:hover {
    background: #9a1520;
}

.siw-checkout-mandate-btn:disabled {
    background: #999;
    cursor: not-allowed;
}
/* ═══ Cart warning modal (privé-modus) ═══ */

.siw-cart-warning-modal {
    max-width: 440px;
    text-align: center;
    padding: 36px 32px 28px;
}

.siw-cart-warning-icon {
    margin-bottom: 16px;
}

.siw-cart-warning-icon .material-icons {
    font-size: 48px;
    color: #B61924;
}

.siw-cart-warning-title {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.siw-cart-warning-text {
    font-size: 0.925rem;
    color: #444;
    line-height: 1.6;
    margin: 0 0 24px;
}

.siw-cart-warning-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.siw-cart-warning-actions .btn {
    min-width: 120px;
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.siw-cart-warning-actions .btn-secondary {
    background: #f5f5f5;
    color: #1a1a1a;
    border: 1px solid #ddd;
}

.siw-cart-warning-actions .btn-secondary:hover {
    background: #e8e8e8;
}

.siw-cart-warning-actions .btn-primary {
    background: #B61924;
    color: #fff;
    border: none;
}

.siw-cart-warning-actions .btn-primary:hover {
    background: #9a1520;
    color: #fff;
}

@media (max-width: 480px) {
    .siw-cart-warning-modal {
        padding: 28px 20px 24px;
    }

    .siw-cart-warning-actions {
        flex-direction: column;
    }

    .siw-cart-warning-actions .btn {
        width: 100%;
    }
}