/**
 * Fairkaufhandy Funnel Styles v7.0.0
 * Milestone 1: Complete funnel overhaul — device checks, trust modules, UX optimization.
 */

/* ===== CSS CUSTOM PROPERTIES ===== */
.fkh-funnel {
    --fkh-primary: #ff6b00;
    --fkh-primary-dark: #e05800;
    --fkh-primary-bg: #fff7ed;
    --fkh-primary-ring: rgba(255, 107, 0, 0.14);
    --fkh-success: #10b981;
    --fkh-success-dark: #059669;
    --fkh-success-bg: #ecfdf5;
    --fkh-text: #111827;
    --fkh-text-secondary: #4b5563;
    --fkh-text-muted: #6b7280;
    --fkh-text-light: #9ca3af;
    --fkh-border: #e5e7eb;
    --fkh-border-strong: #d1d5db;
    --fkh-bg: #fff;
    --fkh-bg-subtle: #f9fafb;
    --fkh-bg-muted: #f3f4f6;
    --fkh-radius: 8px;
    --fkh-radius-sm: 6px;
    --fkh-radius-lg: 10px;
    --fkh-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
    --fkh-shadow-lg: 0 4px 24px rgba(0,0,0,0.10);
    --fkh-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== FUNNEL CONTAINER ===== */
.fkh-funnel {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--fkh-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER ===== */
.fkh-f-header {
    text-align: center;
    margin-bottom: 28px;
}
.fkh-f-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--fkh-text);
    letter-spacing: -0.3px;
}
.fkh-f-subtitle {
    font-size: 15px;
    color: var(--fkh-text-muted);
    margin: 0;
    font-weight: 400;
}

/* ===== PROGRESS BAR ===== */
.fkh-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    padding: 12px 16px;
    background: var(--fkh-bg-subtle);
    border: 1px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.fkh-prog-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    cursor: default;
    position: relative;
}
.fkh-prog-num {
    width: 32px;
    height: 32px;
    border-radius: var(--fkh-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--fkh-bg-muted);
    color: var(--fkh-text-light);
    transition: all var(--fkh-transition);
    border: 2px solid transparent;
}
.fkh-prog-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--fkh-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color var(--fkh-transition);
}
.fkh-prog-step.active .fkh-prog-num {
    background: var(--fkh-primary);
    color: #fff;
    border-color: var(--fkh-primary);
    box-shadow: 0 0 0 3px var(--fkh-primary-ring);
}
.fkh-prog-step.active .fkh-prog-label {
    color: var(--fkh-primary);
}
/* v9.21.0: Completed steps are clickable */
.fkh-prog-step.completed {
    cursor: pointer;
}
.fkh-prog-step.completed .fkh-prog-num {
    background: var(--fkh-success);
    color: #fff;
    border-color: var(--fkh-success);
}
.fkh-prog-step.completed:hover .fkh-prog-num {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.fkh-prog-step.completed .fkh-prog-label {
    color: var(--fkh-success);
}
.fkh-prog-line {
    flex: 1;
    height: 2px;
    background: var(--fkh-border);
    min-width: 16px;
    max-width: 48px;
    margin: 0 4px;
    border-radius: 1px;
    transition: background var(--fkh-transition);
    align-self: flex-start;
    margin-top: 16px;
}
.fkh-prog-line.completed {
    background: var(--fkh-success);
}

/* ===== STEP PANELS ===== */
.fkh-panels {
    position: relative;
}
.fkh-panel {
    display: none;
    background: var(--fkh-bg);
    border-radius: var(--fkh-radius-lg);
    padding: 28px 24px;
    box-shadow: var(--fkh-shadow);
    border: 1px solid var(--fkh-border);
}
.fkh-panel.active {
    display: block;
}
.fkh-panel.fkh-slide-in {
    animation: fkh-slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fkh-slideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== STEP TITLES ===== */
.fkh-step-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--fkh-text);
    letter-spacing: -0.2px;
}

/* ===== SELECT DROPDOWN ===== */
.fkh-select-wrap {
    position: relative;
}
.fkh-select {
    width: 100%;
    padding: 13px 44px 13px 14px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--fkh-text);
    background: var(--fkh-bg);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color var(--fkh-transition), box-shadow var(--fkh-transition);
}
.fkh-select:hover { border-color: var(--fkh-primary); }
.fkh-select:focus { border-color: var(--fkh-primary); outline: none; box-shadow: 0 0 0 3px var(--fkh-primary-ring); }

/* ===== OPTION BUTTONS ===== */
.fkh-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}
.fkh-opt-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 14px 10px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    background: var(--fkh-bg);
    font-size: 14px;
    font-weight: 600;
    color: var(--fkh-text-secondary);
    cursor: pointer;
    transition: all var(--fkh-transition);
    text-align: center;
    min-height: 48px;
}
.fkh-opt-btn:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-opt-btn.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}
.fkh-opt-icon {
    font-size: 20px;
    line-height: 1;
}

/* ===== CATEGORY CARDS (Main Page) ===== */
.fkh-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.fkh-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 18px 10px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    background: var(--fkh-bg);
    cursor: pointer;
    transition: all var(--fkh-transition);
    text-align: center;
    min-height: 92px;
}
.fkh-cat-card:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.10);
}
.fkh-cat-card.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
    transform: translateY(-1px);
}
.fkh-cat-icon {
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fkh-cat-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}
/* v9.2.0: Brand logos — uniform square SVG icons from Simple Icons */
.fkh-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.fkh-brand-logo svg {
    width: 32px;
    height: 32px;
    color: var(--fkh-text);
}
.fkh-cat-card.selected .fkh-brand-logo svg {
    color: #fff;
    fill: #fff;
}
.fkh-cat-card.selected .fkh-brand-logo svg text {
    fill: #fff;
}
.fkh-cat-card.selected .fkh-brand-logo svg path {
    fill: #fff;
}
.fkh-cat-card.selected .fkh-brand-logo svg circle,
.fkh-cat-card.selected .fkh-brand-logo svg line,
.fkh-cat-card.selected .fkh-brand-logo svg rect:not([fill="#F25022"]):not([fill="#7FBA00"]):not([fill="#00A4EF"]):not([fill="#FFB900"]) {
    stroke: #fff;
    fill: #fff;
}
/* Keep Microsoft & Google multi-color logos on selected */
.fkh-cat-card.selected .fkh-brand-logo svg rect[fill="#F25022"],
.fkh-cat-card.selected .fkh-brand-logo svg rect[fill="#7FBA00"],
.fkh-cat-card.selected .fkh-brand-logo svg rect[fill="#00A4EF"],
.fkh-cat-card.selected .fkh-brand-logo svg rect[fill="#FFB900"] {
    fill: #fff;
}
.fkh-cat-label {
    font-size: 14px;
    font-weight: 700;
}
.fkh-cat-desc {
    font-size: 11px;
    color: var(--fkh-text-muted);
    line-height: 1.2;
}
.fkh-cat-card.selected .fkh-cat-desc {
    color: rgba(255, 255, 255, 0.85);
}
.fkh-cat-other {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px dashed var(--fkh-border-strong);
    border-radius: var(--fkh-radius-sm);
    background: transparent;
    color: var(--fkh-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--fkh-transition);
}
.fkh-cat-other:hover {
    border-color: var(--fkh-primary);
    color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-cat-expanded {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.fkh-cat-exp-btn {
    flex: 0 0 auto;
}
.fkh-cat-exp-btn.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}

@media (max-width: 480px) {
    .fkh-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .fkh-cat-card {
        padding: 14px 8px;
        min-height: 76px;
    }
    .fkh-cat-icon { font-size: 22px; }
    .fkh-cat-label { font-size: 13px; }
}

/* ===== CONDITION BUTTONS ===== */
.fkh-condition-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.fkh-cond-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 12px 16px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    background: var(--fkh-bg);
    cursor: pointer;
    transition: all var(--fkh-transition);
    text-align: left;
    width: 100%;
}
.fkh-cond-btn strong {
    font-size: 15px;
    color: var(--fkh-text);
}
.fkh-cond-btn small {
    font-size: 13px;
    color: var(--fkh-text-muted);
}
.fkh-cond-btn:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-cond-btn.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary);
    color: #fff;
}
.fkh-cond-btn.selected strong,
.fkh-cond-btn.selected small {
    color: #fff;
}

/* ===== DELIVERY OPTIONS ===== */
.fkh-delivery-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fkh-delivery-btn {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    background: var(--fkh-bg);
    cursor: pointer;
    transition: all var(--fkh-transition);
    text-align: left;
    width: 100%;
}
.fkh-delivery-btn:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-delivery-btn.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
    box-shadow: 0 0 0 2px var(--fkh-primary-ring);
}
.fkh-del-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}
.fkh-del-info {
    flex: 1;
}
.fkh-del-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 1px;
    color: var(--fkh-text);
}
.fkh-del-info small {
    font-size: 13px;
    color: var(--fkh-text-muted);
}

/* ===== FORM ELEMENTS ===== */
.fkh-form-group {
    margin-bottom: 18px;
}
.fkh-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--fkh-text-secondary);
    margin-bottom: 6px;
}
.fkh-optional-tag {
    font-weight: 400;
    font-size: 12px;
    color: var(--fkh-text-light);
    font-style: italic;
}
.fkh-input {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--fkh-text);
    background: var(--fkh-bg);
    transition: border-color var(--fkh-transition), box-shadow var(--fkh-transition);
    box-sizing: border-box;
}
.fkh-input:focus {
    border-color: var(--fkh-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--fkh-primary-ring);
}
.fkh-hint {
    display: block;
    font-size: 12px;
    color: var(--fkh-text-light);
    margin-top: 5px;
}
.fkh-optional {
    padding-top: 8px;
    border-top: 1px solid var(--fkh-bg-muted);
}

/* ===== PLZ RESULT ===== */
.fkh-plz-ok {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: var(--fkh-success-bg);
    border: 1px solid #a7f3d0;
    border-radius: var(--fkh-radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    margin-top: 8px;
}
.fkh-plz-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--fkh-radius-sm);
    font-size: 14px;
    color: #1d4ed8;
    margin-top: 8px;
}

/* ===== SELECTED BADGE ===== */
.fkh-selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--fkh-radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: #166534;
    margin-top: 10px;
}

/* ===== NAVIGATION BUTTONS ===== */
.fkh-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}
.fkh-btn {
    padding: 13px 28px;
    border: none !important;
    border-radius: var(--fkh-radius);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--fkh-transition);
    letter-spacing: 0.1px;
}
.fkh-btn-next {
    background: #ff6b00 !important;
    background: var(--fkh-primary) !important;
    color: #fff !important;
    margin-left: auto;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4), 0 2px 6px rgba(255, 107, 0, 0.2);
    border-radius: 9999px;
    padding: 16px 36px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: none;
    position: relative;
    overflow: hidden;
}
.fkh-btn-next::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.fkh-btn-next:hover:not(:disabled) {
    background: #e05800 !important;
    background: var(--fkh-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 107, 0, 0.5), 0 4px 10px rgba(255, 107, 0, 0.3);
}
.fkh-btn-next:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}
.fkh-btn-next:disabled {
    background: #e5e7eb !important;
    color: #9ca3af !important;
    cursor: not-allowed;
    box-shadow: none;
    border: 2px solid #d1d5db !important;
}
.fkh-btn-next:disabled::after {
    display: none;
}
.fkh-btn-back {
    background: transparent;
    color: var(--fkh-text-muted);
    border: 1px solid var(--fkh-border);
    border-radius: 9999px;
    padding: 13px 24px;
    font-weight: 600;
}
.fkh-btn-back:hover {
    background: var(--fkh-bg-muted);
    border-color: var(--fkh-border-strong);
    color: var(--fkh-text-secondary);
}

/* ===== LOADING ===== */
.fkh-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    color: var(--fkh-text-muted);
    font-size: 14px;
    font-weight: 500;
}
.fkh-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid var(--fkh-border);
    border-top-color: var(--fkh-primary);
    border-radius: 50%;
    animation: fkh-spin 0.6s linear infinite;
    flex-shrink: 0;
}
@keyframes fkh-spin {
    to { transform: rotate(360deg); }
}

/* ===== PRICE CARD (Preview) ===== */
.fkh-price-card {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff;
    padding: 20px;
    border-radius: var(--fkh-radius);
    text-align: center;
    margin-top: 14px;
    animation: fkh-slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
}
.fkh-price-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 4px;
}
.fkh-price-val {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.fkh-price-note {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 4px;
    font-weight: 500;
}
.fkh-price-msg {
    background: var(--fkh-bg-subtle);
    border: 1px solid var(--fkh-border);
    padding: 16px;
    border-radius: var(--fkh-radius);
    text-align: center;
    color: var(--fkh-text-muted);
    margin-top: 14px;
    font-size: 14px;
}
.fkh-price-msg p { margin: 0; }
.fkh-no-data {
    color: var(--fkh-text-light);
    font-size: 14px;
    text-align: center;
    padding: 16px;
}

/* ===== OFFER STEP ===== */
.fkh-offer {
    text-align: center;
}
.fkh-summary {
    margin-bottom: 24px;
}
.fkh-summary-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--fkh-bg-subtle);
    border: 1px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    padding: 4px 0;
    margin-top: 12px;
    text-align: left;
    overflow: hidden;
}
.fkh-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    font-size: 14px;
    border-bottom: 1px solid var(--fkh-bg-muted);
}
.fkh-sum-row:last-child { border-bottom: none; }
.fkh-sum-row span { color: var(--fkh-text-muted); font-weight: 500; }
.fkh-sum-row strong { color: var(--fkh-text); }

.fkh-offer-price {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #fff;
    padding: 28px;
    border-radius: var(--fkh-radius-lg);
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.25);
    border: 1px solid rgba(255,255,255,0.08);
}
.fkh-offer-price-custom {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}
.fkh-offer-price-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 6px;
}
.fkh-offer-price-val {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
    letter-spacing: -1px;
}
.fkh-offer-price-note {
    font-size: 13px;
    opacity: 0.8;
    font-weight: 500;
}

/* ===== PRICE DISCLAIMER ===== */
.fkh-disclaimer {
    margin: 16px 0;
    padding: 10px 14px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: var(--fkh-radius-sm);
    color: #92400E;
    line-height: 1.5;
}
.fkh-disclaimer small {
    font-size: 12px;
}

/* ===== WHATSAPP BUTTON ===== */
.fkh-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: #25d366;
    color: #fff !important;
    border-radius: var(--fkh-radius);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all var(--fkh-transition);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    margin: 20px 0;
    letter-spacing: 0.1px;
}
.fkh-wa-btn:hover {
    background: #1da851;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    color: #fff !important;
    text-decoration: none !important;
}
.fkh-wa-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}
.fkh-wa-btn svg {
    flex-shrink: 0;
}

.fkh-offer-back {
    display: block;
    margin: 16px auto 0;
    background: transparent;
    color: var(--fkh-text-muted);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 8px;
    transition: color var(--fkh-transition);
}
.fkh-offer-back:hover { color: var(--fkh-text-secondary); }

.fkh-offer-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px;
    color: var(--fkh-text-muted);
}

/* ===== WERTPROGNOSE ===== */
.fkh-wertprognose {
    background: var(--fkh-bg);
    border-radius: var(--fkh-radius);
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    border: 1px solid var(--fkh-border);
    text-align: left;
}
.fkh-wp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.fkh-wp-icon { font-size: 16px; }
.fkh-wp-title { font-size: 14px; font-weight: 700; color: var(--fkh-text); }
.fkh-wp-chart { width: 100%; height: auto; display: block; }
.fkh-wp-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--fkh-bg-muted);
}
.fkh-wp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.fkh-wp-stat-label { font-size: 11px; color: var(--fkh-text-muted); font-weight: 600; }
.fkh-wp-stat-value { font-size: 16px; font-weight: 800; }
.fkh-wp-warn { color: #f59e0b; }
.fkh-wp-danger { color: #ef4444; }
.fkh-wp-cta {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--fkh-success);
    padding: 8px 14px;
    background: var(--fkh-success-bg);
    border-radius: var(--fkh-radius-sm);
    border: 1px solid #a7f3d0;
}

/* ===== ERROR STATE ===== */
.fkh-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--fkh-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: #dc2626;
    margin-top: 8px;
}
.fkh-error-retry {
    margin-left: auto;
    padding: 4px 12px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: var(--fkh-radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--fkh-transition);
}
.fkh-error-retry:hover {
    background: #b91c1c;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .fkh-funnel { padding: 0 12px; }
    .fkh-f-title { font-size: 24px; }
    .fkh-panel { padding: 20px 16px; padding-bottom: 44px; }
    .fkh-step-title { font-size: 18px; }
    .fkh-options { grid-template-columns: 1fr 1fr; gap: 6px; }
    .fkh-opt-btn { padding: 12px 8px; font-size: 13px; min-height: 44px; }
    .fkh-price-val { font-size: 28px; }
    .fkh-offer-price-val { font-size: 36px; }
    .fkh-wa-btn { font-size: 15px; padding: 14px 24px; width: 100%; justify-content: center; }
    .fkh-btn { padding: 12px 20px; font-size: 14px; }
    .fkh-prog-num { width: 28px; height: 28px; font-size: 11px; }
    .fkh-prog-label { font-size: 9px; }
    .fkh-prog-line { min-width: 10px; margin-top: 14px; }
    .fkh-progress { padding: 10px 12px; }
    .fkh-wp-stats { gap: 14px; }
    .fkh-wp-stat-value { font-size: 14px; }
    .fkh-summary-grid { padding: 2px 0; }
    .fkh-sum-row { padding: 8px 14px; }
    .fkh-del-icon { font-size: 20px; }

    /* v9.21.0: Sticky Weiter/Zurück nav on mobile (v9.21.2: ultra-slim) */
    .fkh-nav {
        position: sticky;
        bottom: 0;
        z-index: 10;
        background: #fff;
        padding: 4px 10px;
        margin: 4px -16px -56px;
        border-top: 1px solid var(--fkh-border);
        box-shadow: 0 -1px 4px rgba(0,0,0,0.05);
    }
    .fkh-nav .fkh-btn { padding: 8px 16px; font-size: 13px; }
    .fkh-nav .fkh-btn-next { padding: 8px 20px; font-size: 14px; }

    /* Device check mobile optimizations */
    .fkh-dc-options { grid-template-columns: 1fr; }
    .fkh-dc-opt-btn { padding: 16px 14px; min-height: 52px; }
    .fkh-dc-yn-btn { padding: 16px 14px; font-size: 16px; }
    .fkh-dc-bat-btn { padding: 15px 12px; font-size: 15px; }
    .fkh-dc-section-title { font-size: 15px; }
    .fkh-dc-section { margin-bottom: 20px; padding-bottom: 16px; }

    /* Large checkboxes for mobile */
    .fkh-check-item { padding: 14px 14px; font-size: 15px; }
    .fkh-check-input { width: 22px; height: 22px; margin-top: 0; }

    /* Trust/USP modules mobile */
    .fkh-trust-module { grid-template-columns: 1fr; gap: 6px; padding: 14px; }
    .fkh-trust-item { font-size: 13px; }
    .fkh-usp-module { padding: 14px; }
    .fkh-usp-item { font-size: 13px; }
}

@media (max-width: 380px) {
    .fkh-options { grid-template-columns: 1fr; }
    .fkh-prog-label { display: none; }
    .fkh-dc-yesno { flex-direction: column; gap: 6px; }
    .fkh-dc-battery { flex-direction: column; gap: 6px; }
}

/* ===== STEP INDICATOR (Schritt X von Y) ===== */
.fkh-step-indicator {
    text-align: center;
    margin-bottom: 16px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--fkh-text-muted);
    font-weight: 600;
}
.fkh-si-num {
    color: var(--fkh-primary);
    font-weight: 700;
}
.fkh-si-title {
    color: var(--fkh-text-secondary);
    font-weight: 500;
}

/* ===== DEVICE CHECK STEP ===== */
.fkh-dc-intro {
    font-size: 14px;
    color: var(--fkh-text-muted);
    line-height: 1.6;
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--fkh-radius-sm);
}

.fkh-dc-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--fkh-bg-muted);
}
.fkh-dc-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.fkh-dc-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--fkh-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fkh-dc-question {
    font-size: 14px;
    font-weight: 600;
    color: var(--fkh-text-secondary);
    margin: 0 0 10px;
    line-height: 1.5;
}

.fkh-dc-hint-text {
    font-size: 13px;
    color: var(--fkh-text-muted);
    margin: 0 0 12px;
    font-style: italic;
}

/* Display Optical + Housing Option Buttons */
.fkh-dc-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}
.fkh-dc-opt-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 14px 12px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    background: var(--fkh-bg);
    cursor: pointer;
    transition: all var(--fkh-transition);
    text-align: center;
    min-height: 56px;
}
.fkh-dc-opt-btn strong {
    font-size: 14px;
    color: var(--fkh-text);
}
.fkh-dc-opt-btn small {
    font-size: 12px;
    color: var(--fkh-text-muted);
}
.fkh-dc-opt-btn:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-dc-opt-btn.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}
.fkh-dc-opt-btn.selected strong,
.fkh-dc-opt-btn.selected small {
    color: #fff;
}

/* Yes/No Buttons (Biometrics) */
.fkh-dc-yesno {
    display: flex;
    gap: 10px;
}
.fkh-dc-yn-btn {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    background: var(--fkh-bg);
    font-size: 15px;
    font-weight: 700;
    color: var(--fkh-text-secondary);
    cursor: pointer;
    transition: all var(--fkh-transition);
    text-align: center;
}
.fkh-dc-yn-btn:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-dc-yn-btn.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}

/* Battery Buttons */
.fkh-dc-battery {
    display: flex;
    gap: 8px;
}
.fkh-dc-bat-btn {
    flex: 1;
    padding: 13px 16px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    background: var(--fkh-bg);
    font-size: 14px;
    font-weight: 700;
    color: var(--fkh-text-secondary);
    cursor: pointer;
    transition: all var(--fkh-transition);
    text-align: center;
}
.fkh-dc-bat-btn:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-dc-bat-btn.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}

/* Trust Hints (dynamic show/hide) */
.fkh-trust-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--fkh-radius-sm);
    font-size: 13px;
    color: #1d4ed8;
    line-height: 1.5;
    margin-top: 10px;
    animation: fkh-slideIn 0.3s ease;
}
.fkh-trust-icon {
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1.3;
}

/* Account Checkbox overrides */
.fkh-acc-check {
    accent-color: var(--fkh-primary);
}

/* ===== TRUST MODULE (Offer Step) ===== */
.fkh-trust-module {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 18px;
    background: var(--fkh-success-bg);
    border: 1px solid #a7f3d0;
    border-radius: var(--fkh-radius);
    margin: 16px 0;
}
.fkh-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #059669;
    padding: 4px 0;
}
.fkh-trust-check {
    color: #10b981;
    font-size: 15px;
    flex-shrink: 0;
}

/* ===== USP MODULE (Offer Step) ===== */
.fkh-usp-module {
    padding: 18px;
    background: var(--fkh-bg-subtle);
    border: 1px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    margin: 16px 0;
}
.fkh-usp-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--fkh-text);
    margin-bottom: 12px;
}
.fkh-usp-item {
    font-size: 13px;
    color: var(--fkh-text-secondary);
    padding: 6px 0;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* ===== PRICE GUARANTEE BADGE ===== */
.fkh-guarantee {
    text-align: center;
    padding: 10px 16px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: var(--fkh-radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
    margin: 12px 0;
}

/* ===== DEVICE CHECKS (Condition Step Checkboxes) ===== */
.fkh-device-checks-wrap {
    margin: 20px 0 16px;
    padding: 16px;
    background: var(--fkh-bg-subtle);
    border: 1px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
}
.fkh-device-checks {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fkh-checks-desc {
    font-size: 13px;
    color: var(--fkh-text-muted);
    margin: 0 0 10px;
}
.fkh-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--fkh-border);
    border-radius: var(--fkh-radius-sm);
    background: var(--fkh-bg);
    cursor: pointer;
    transition: all var(--fkh-transition);
    font-size: 14px;
    line-height: 1.4;
}
.fkh-check-item:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-check-input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--fkh-primary);
    cursor: pointer;
}
.fkh-check-label {
    color: var(--fkh-text-secondary);
    font-weight: 500;
}
.fkh-check-item:has(.fkh-check-input:checked) {
    border-color: var(--fkh-success);
    background: var(--fkh-success-bg);
}
.fkh-check-item:has(.fkh-check-input:checked) .fkh-check-label {
    color: #059669;
}

/* Fallback for browsers without :has() */
.fkh-check-input:checked + .fkh-check-label {
    color: #059669;
}

/* ===== CHECKS WARNING IN OFFER ===== */
.fkh-checks-warning {
    padding: 12px 16px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: var(--fkh-radius-sm);
    color: #92400E;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: left;
}

/* ===== MANUAL ENTRY FORM ===== */
.fkh-manual-entry {
    margin-top: 16px;
}
.fkh-manual-form {
    padding: 20px;
    background: var(--fkh-bg-subtle);
    border: 2px dashed var(--fkh-primary);
    border-radius: var(--fkh-radius-lg);
}
.fkh-manual-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--fkh-primary);
    margin: 0 0 6px;
}
.fkh-manual-desc {
    font-size: 14px;
    color: var(--fkh-text-muted);
    margin: 0 0 16px;
}
.fkh-manual-form .fkh-form-group {
    margin-bottom: 12px;
}
.fkh-manual-form .fkh-label {
    font-size: 13px;
    margin-bottom: 4px;
}
.fkh-manual-form .fkh-input {
    padding: 10px 12px;
    font-size: 14px;
}
.fkh-btn-submit-request {
    display: block;
    width: 100%;
    padding: 16px 28px;
    background: #ff6b00 !important;
    background: var(--fkh-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--fkh-transition);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4), 0 2px 6px rgba(255, 107, 0, 0.2);
    margin-top: 8px;
    letter-spacing: 0.2px;
}
.fkh-btn-submit-request:hover:not(:disabled) {
    background: #e05800 !important;
    background: var(--fkh-primary-dark) !important;
    transform: translateY(-1px);
}
.fkh-btn-submit-request:disabled {
    background: #d1d5db !important;
    background: var(--fkh-border-strong) !important;
    color: #9ca3af !important;
    color: var(--fkh-text-light) !important;
    cursor: not-allowed;
    box-shadow: none;
}
.fkh-manual-success {
    padding: 14px 18px;
    background: var(--fkh-success-bg);
    border: 1px solid #a7f3d0;
    border-radius: var(--fkh-radius);
    color: #059669;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== BRANDS CONTAINER ===== */
.fkh-brands-container {
    min-height: 100px;
}
.fkh-brands-container .fkh-cat-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 480px) {
    .fkh-brands-container .fkh-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== ORDER SUBMISSION BUTTON (Offer Step) ===== */
.fkh-btn-submit-order {
    display: block;
    width: 100%;
    padding: 18px 36px;
    background: #ff6b00 !important;
    background: var(--fkh-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 9999px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--fkh-transition);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4), 0 2px 6px rgba(255, 107, 0, 0.2);
    margin: 20px 0 0;
    letter-spacing: 0.3px;
}
.fkh-btn-submit-order:hover:not(:disabled) {
    background: #e05800 !important;
    background: var(--fkh-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}
.fkh-btn-submit-order:disabled {
    background: #d1d5db !important;
    background: var(--fkh-border-strong) !important;
    color: #9ca3af !important;
    color: var(--fkh-text-light) !important;
    cursor: not-allowed;
    box-shadow: none;
}

.fkh-wa-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: var(--fkh-text-light);
    font-size: 13px;
    font-weight: 600;
}
.fkh-wa-separator::before,
.fkh-wa-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--fkh-border);
}

.fkh-wa-btn-secondary {
    background: #25d366 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 9999px;
    width: 100%;
    justify-content: center;
    text-align: center;
}
.fkh-wa-btn-secondary:hover {
    background: #1da851 !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

.fkh-order-success {
    text-align: center;
    padding: 32px 20px;
    background: var(--fkh-success-bg);
    border: 2px solid #a7f3d0;
    border-radius: var(--fkh-radius-lg);
}
.fkh-order-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: var(--fkh-success);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}
.fkh-order-success h3 {
    font-size: 20px;
    font-weight: 800;
    color: #059669;
    margin: 0 0 8px;
}
.fkh-order-success p {
    font-size: 14px;
    color: var(--fkh-text-secondary);
    margin: 4px 0;
}
.fkh-order-success strong {
    color: var(--fkh-text);
    font-size: 16px;
}

/* ===== CUSTOMER PORTAL ===== */
.fkh-portal {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--fkh-text, #111827);
    line-height: 1.5;
    --fkh-primary: #ff6b00;
    --fkh-primary-dark: #e05800;
    --fkh-primary-bg: #fff7ed;
    --fkh-primary-ring: rgba(255, 107, 0, 0.14);
    --fkh-success: #10b981;
    --fkh-success-bg: #ecfdf5;
    --fkh-text: #111827;
    --fkh-text-secondary: #4b5563;
    --fkh-text-muted: #6b7280;
    --fkh-text-light: #9ca3af;
    --fkh-border: #e5e7eb;
    --fkh-bg: #fff;
    --fkh-bg-subtle: #f9fafb;
    --fkh-radius: 8px;
    --fkh-radius-sm: 6px;
    --fkh-radius-lg: 10px;
    --fkh-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
    --fkh-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fkh-portal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    color: var(--fkh-text-muted);
    font-size: 14px;
}

/* Auth forms */
.fkh-portal-auth {
    background: var(--fkh-bg);
    border-radius: var(--fkh-radius-lg);
    padding: 28px 24px;
    box-shadow: var(--fkh-shadow);
    border: 1px solid var(--fkh-border);
}

.fkh-portal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--fkh-border);
}
.fkh-portal-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--fkh-text-muted);
    cursor: pointer;
    transition: all var(--fkh-transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.fkh-portal-tab.active {
    color: var(--fkh-primary);
    border-bottom-color: var(--fkh-primary);
}
.fkh-portal-tab:hover {
    color: var(--fkh-text-secondary);
}

.fkh-portal-form-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--fkh-text);
}

.fkh-portal-error {
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--fkh-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: #dc2626;
    margin: 8px 0;
}

/* Dashboard */
.fkh-portal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 16px;
}
.fkh-portal-welcome {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--fkh-text);
}
.fkh-portal-subtitle {
    font-size: 14px;
    color: var(--fkh-text-muted);
    margin: 0;
}

.fkh-portal-empty {
    text-align: center;
    padding: 48px 20px;
    background: var(--fkh-bg-subtle);
    border: 2px dashed var(--fkh-border);
    border-radius: var(--fkh-radius-lg);
}
.fkh-portal-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.fkh-portal-empty h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--fkh-text);
}
.fkh-portal-empty p {
    font-size: 14px;
    color: var(--fkh-text-muted);
    margin: 0;
}

/* Order cards */
.fkh-portal-orders {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fkh-order-card {
    background: var(--fkh-bg);
    border-radius: var(--fkh-radius-lg);
    box-shadow: var(--fkh-shadow);
    border: 1px solid var(--fkh-border);
    overflow: hidden;
}

.fkh-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background var(--fkh-transition);
    gap: 12px;
}
.fkh-order-header:hover {
    background: var(--fkh-bg-subtle);
}

.fkh-order-info {
    flex: 1;
    min-width: 0;
}
.fkh-order-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--fkh-text-muted);
    font-family: monospace;
    margin-bottom: 2px;
}
.fkh-order-device {
    font-size: 15px;
    font-weight: 700;
    color: var(--fkh-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fkh-order-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.fkh-order-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.fkh-order-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--fkh-success);
    white-space: nowrap;
}
.fkh-order-date {
    font-size: 12px;
    color: var(--fkh-text-light);
    white-space: nowrap;
}
.fkh-order-toggle {
    font-size: 12px;
    color: var(--fkh-text-light);
    transition: transform var(--fkh-transition);
}

/* Order detail (expanded) */
.fkh-order-detail {
    padding: 0 20px 20px;
    border-top: 1px solid var(--fkh-border);
}

.fkh-order-summary {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--fkh-bg-subtle);
    border: 1px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    padding: 4px 0;
    margin: 16px 0;
}
.fkh-order-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--fkh-bg-subtle);
}
.fkh-order-sum-row:last-child { border-bottom: none; }
.fkh-order-sum-row span { color: var(--fkh-text-muted); font-weight: 500; }
.fkh-order-sum-row strong { color: var(--fkh-text); }
.fkh-order-sum-row.fkh-final-price strong { color: var(--fkh-success); font-size: 15px; }

/* Status timeline */
.fkh-timeline {
    margin-top: 16px;
}
.fkh-timeline-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--fkh-text);
    margin-bottom: 12px;
}
.fkh-timeline-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    position: relative;
}
.fkh-timeline-item:last-child { padding-bottom: 0; }
.fkh-timeline-item::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 18px;
    bottom: 0;
    width: 2px;
    background: var(--fkh-border);
}
.fkh-timeline-item:last-child::before { display: none; }

.fkh-timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--fkh-border);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    z-index: 1;
}
.fkh-timeline-item.active .fkh-timeline-dot {
    background: var(--fkh-primary);
    box-shadow: 0 0 0 3px var(--fkh-primary-ring);
}

.fkh-timeline-content {
    flex: 1;
}
.fkh-timeline-status {
    font-size: 14px;
    font-weight: 700;
    color: var(--fkh-text);
}
.fkh-timeline-item.active .fkh-timeline-status {
    color: var(--fkh-primary);
}
.fkh-timeline-date {
    font-size: 12px;
    color: var(--fkh-text-light);
    margin-top: 1px;
}
.fkh-timeline-note {
    font-size: 13px;
    color: var(--fkh-text-muted);
    margin-top: 3px;
    font-style: italic;
}

/* ==========================================
   Portal v9.24.0 — Status Progress Bar (Fortschrittsleiste)
   ========================================== */
.fkh-progress-bar {
    margin-top: 20px;
    padding: 16px 0 8px;
}
.fkh-progress-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--fkh-text);
    margin-bottom: 16px;
}
.fkh-progress-track {
    position: relative;
}
.fkh-progress-line {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--fkh-border, #e5e7eb);
    border-radius: 2px;
    z-index: 0;
}
.fkh-progress-line-fill {
    height: 100%;
    background: var(--fkh-primary, #FF6B00);
    border-radius: 2px;
    transition: width 0.4s ease;
}
.fkh-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}
.fkh-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.fkh-progress-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: var(--fkh-card-bg, #fff);
    border: 2px solid var(--fkh-border, #e5e7eb);
    color: var(--fkh-text-muted, #9ca3af);
    transition: all 0.3s ease;
}
.fkh-progress-step.completed .fkh-progress-icon {
    background: var(--fkh-primary, #FF6B00);
    border-color: var(--fkh-primary, #FF6B00);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.fkh-progress-step.active .fkh-progress-icon {
    border-color: var(--fkh-primary, #FF6B00);
    color: var(--fkh-primary, #FF6B00);
    box-shadow: 0 0 0 4px var(--fkh-primary-ring, rgba(255, 107, 0, 0.15));
    background: var(--fkh-card-bg, #fff);
}
.fkh-progress-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--fkh-text-muted, #9ca3af);
    margin-top: 6px;
    text-align: center;
    line-height: 1.2;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fkh-progress-step.completed .fkh-progress-label,
.fkh-progress-step.active .fkh-progress-label {
    color: var(--fkh-text, #111);
}
.fkh-progress-step.active .fkh-progress-label {
    color: var(--fkh-primary, #FF6B00);
    font-weight: 700;
}
.fkh-progress-date {
    font-size: 9px;
    color: var(--fkh-text-light, #9ca3af);
    margin-top: 2px;
    text-align: center;
}

/* Progress bar responsive — scroll on very small screens */
@media (max-width: 480px) {
    .fkh-progress-steps {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 4px;
        padding-bottom: 4px;
    }
    .fkh-progress-step {
        min-width: 50px;
    }
    .fkh-progress-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .fkh-progress-label {
        font-size: 9px;
        max-width: 55px;
    }
    .fkh-progress-line {
        top: 14px;
    }
}

/* ==========================================
   Funnel v8.0.0 — Device reset reminder
   ========================================== */
.fkh-reset-reminder {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--fkh-radius);
    padding: 14px 16px;
    margin: 16px 0;
}
.fkh-reset-reminder-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.4;
}
.fkh-reset-reminder-text {
    font-size: 13px;
    color: #92400e;
    line-height: 1.5;
}
.fkh-reset-reminder-text strong {
    color: #78350f;
}

/* ==========================================
   Portal v8.0.0 — Logo, Password Reset, Offer Response
   ========================================== */

/* Logo header on portal page */
.fkh-portal-logo {
    text-align: center;
    margin-bottom: 24px;
    padding: 8px 0;
}
.fkh-portal-logo img {
    height: 40px;
    width: auto;
}
.fkh-portal-logo a {
    text-decoration: none;
}

/* Success message */
.fkh-portal-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 10px 14px;
    border-radius: var(--fkh-radius);
    font-size: 13px;
    margin-top: 8px;
}

/* Offer response section */
.fkh-offer-response {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--fkh-radius);
    padding: 16px;
    margin: 16px 0;
}
.fkh-offer-message {
    font-size: 14px;
    color: #92400e;
    margin-bottom: 12px;
    line-height: 1.5;
}
.fkh-offer-price-box {
    text-align: center;
    margin-bottom: 16px;
}
.fkh-offer-original {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 4px;
}
.fkh-offer-original s {
    color: #ef4444;
}
.fkh-offer-final {
    font-size: 20px;
    color: #1f2937;
}
.fkh-offer-final strong {
    color: var(--fkh-success);
    font-size: 24px;
}
.fkh-offer-buttons {
    display: flex;
    gap: 10px;
}
.fkh-offer-buttons .fkh-btn {
    flex: 1;
    text-align: center;
    font-size: 14px;
    padding: 12px 16px;
}
.fkh-offer-accept {
    background: var(--fkh-success) !important;
    color: #fff !important;
}
.fkh-offer-reject {
    background: transparent !important;
    border: 1px solid #d1d5db !important;
    color: #6b7280 !important;
}
.fkh-offer-reject:hover {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

/* Forgot password link */
.fkh-portal-link a:hover {
    text-decoration: underline !important;
}

/* Portal responsive */
@media (max-width: 640px) {
    .fkh-portal { padding: 0 12px; }
    .fkh-portal-header { flex-direction: column; gap: 12px; }
    .fkh-portal-welcome { font-size: 18px; }
    .fkh-order-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .fkh-order-meta { flex-wrap: wrap; gap: 6px; }
    .fkh-order-device { white-space: normal; }
    .fkh-portal-auth { padding: 20px 16px; }
    .fkh-btn-submit-order { font-size: 15px; padding: 14px 24px; }
    .fkh-offer-buttons { flex-direction: column; }
    .fkh-portal-logo img { height: 32px; }
}

/* ===== CART BANNER (v8.3.0) ===== */
.fkh-cart-banner {
    background: var(--fkh-primary-bg);
    border: 1px solid var(--fkh-primary);
    border-radius: var(--fkh-radius);
    padding: 12px 16px;
    margin-bottom: 16px;
}
.fkh-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.fkh-cart-badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--fkh-primary-dark);
    background: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--fkh-primary);
}
.fkh-cart-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--fkh-primary-dark);
}
.fkh-cart-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fkh-cart-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: var(--fkh-radius-sm);
    padding: 8px 12px;
    font-size: 13px;
}
.fkh-cart-device { flex: 1; font-weight: 500; color: var(--fkh-text); }
.fkh-cart-price { font-weight: 600; color: var(--fkh-success); white-space: nowrap; }
.fkh-cart-remove {
    background: none;
    border: none;
    color: var(--fkh-text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
}
.fkh-cart-remove:hover { background: #fef2f2; color: #ef4444; }

/* ===== OFFER CART ITEMS (v8.3.0) ===== */
.fkh-offer-cart {
    background: var(--fkh-bg-subtle);
    border-radius: var(--fkh-radius);
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--fkh-border);
}
.fkh-offer-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border-radius: var(--fkh-radius-sm);
    margin-bottom: 6px;
    border: 1px solid var(--fkh-border);
}
.fkh-offer-cart-item.fkh-offer-cart-current {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-offer-cart-device {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
}
.fkh-offer-cart-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--fkh-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.fkh-offer-cart-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--fkh-text-secondary);
}
.fkh-offer-cart-itemprice {
    font-weight: 600;
    color: var(--fkh-success);
    white-space: nowrap;
}
.fkh-offer-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-top: 8px;
    border-top: 2px solid var(--fkh-primary);
    font-size: 16px;
}
.fkh-offer-cart-total strong {
    font-size: 20px;
    color: var(--fkh-primary-dark);
}
.fkh-offer-grandtotal {
    text-align: center;
    margin: 12px 0;
    padding: 12px;
    background: var(--fkh-primary-bg);
    border-radius: var(--fkh-radius);
    border: 1px solid var(--fkh-primary);
}
.fkh-offer-price-grand {
    font-size: 28px !important;
    color: var(--fkh-primary-dark) !important;
}

/* ===== ADD DEVICE BUTTON (v8.3.0) ===== */
.fkh-add-device-area {
    margin: 16px 0;
    text-align: center;
}
.fkh-btn-add-device {
    background: transparent !important;
    color: var(--fkh-primary) !important;
    border: 2px dashed var(--fkh-primary) !important;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--fkh-radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--fkh-transition);
    width: 100%;
    justify-content: center;
}
.fkh-btn-add-device:hover {
    background: var(--fkh-primary-bg) !important;
    border-color: var(--fkh-primary-dark) !important;
}
.fkh-add-icon {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

/* ===== PICKUP THRESHOLD NOTICE (v8.3.0) ===== */
.fkh-pickup-threshold-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--fkh-radius);
    padding: 12px 16px;
    margin-bottom: 10px;
}
.fkh-threshold-icon { font-size: 24px; flex-shrink: 0; }
.fkh-threshold-text strong {
    display: block;
    font-size: 14px;
    color: #92400e;
    margin-bottom: 4px;
}
.fkh-threshold-text p {
    margin: 0;
    font-size: 13px;
    color: #78350f;
    line-height: 1.4;
}

/* ===== PAYMENT FIELDS (v8.3.0) ===== */
.fkh-payment-wrapper {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--fkh-border);
}
.fkh-payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0 12px;
}
.fkh-payment-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 12px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    background: var(--fkh-bg);
    cursor: pointer;
    transition: var(--fkh-transition);
    text-align: center;
}
.fkh-payment-btn strong { font-size: 14px; color: var(--fkh-text); }
.fkh-payment-btn small { font-size: 11px; color: var(--fkh-text-muted); }
.fkh-payment-btn:hover { border-color: var(--fkh-primary); background: var(--fkh-primary-bg); }
.fkh-payment-btn.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
    box-shadow: 0 0 0 3px var(--fkh-primary-ring);
}
.fkh-pay-fields { margin-top: 8px; }

/* ===== REVIEW FORM (portal, v8.3.0) ===== */
.fkh-review-form {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border-radius: var(--fkh-radius-lg);
    box-shadow: var(--fkh-shadow-lg);
}
.fkh-review-stars {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}
.fkh-review-star {
    font-size: 36px;
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.15s;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}
.fkh-review-star.active, .fkh-review-star:hover { color: #f59e0b; }
.fkh-review-feedback {
    width: 100%;
    min-height: 80px;
    border: 1px solid var(--fkh-border);
    border-radius: var(--fkh-radius-sm);
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin: 12px 0;
}
.fkh-review-success {
    text-align: center;
    padding: 24px;
}
.fkh-review-success-icon { font-size: 48px; margin-bottom: 12px; }
.fkh-review-redirect-notice {
    background: var(--fkh-success-bg);
    border: 1px solid #bbf7d0;
    border-radius: var(--fkh-radius);
    padding: 14px;
    margin: 16px 0;
    text-align: center;
    font-size: 14px;
    color: #166534;
}

/* ===== PORTAL: Multi-device order items (v8.3.0) ===== */
.fkh-order-items {
    margin-bottom: 16px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.fkh-order-items-title {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fkh-order-item-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 13px;
    border: 1px solid #e5e7eb;
}
.fkh-order-item-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}
.fkh-order-item-device { flex: 1; font-weight: 500; }
.fkh-order-item-condition { color: #6b7280; }
.fkh-order-item-price { font-weight: 600; color: #10b981; white-space: nowrap; }
.fkh-order-items-total {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-top: 6px;
    border-top: 2px solid #ff6b00;
    font-size: 15px;
}
.fkh-order-items-total strong { color: #e05800; }

@media (max-width: 640px) {
    .fkh-cart-header { flex-direction: column; gap: 6px; align-items: flex-start; }
    .fkh-offer-cart-item { flex-direction: column; align-items: flex-start; gap: 6px; }
    .fkh-payment-methods { grid-template-columns: 1fr; }
    .fkh-offer-cart-meta { width: 100%; justify-content: space-between; }
    .fkh-order-item-row { flex-wrap: wrap; }
    .fkh-order-item-condition { width: 100%; order: 3; margin-left: 28px; }
}

/* ===== v8.4.0 — FUNNEL RESTRUCTURE STYLES ===== */

/* Neu Question (binary Ja/Nein on condition step) */
.fkh-neu-question {
    text-align: center;
    margin-bottom: 24px;
}
.fkh-neu-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--fkh-text);
    margin-bottom: 14px;
}
.fkh-neu-btns {
    display: flex;
    gap: 12px;
    max-width: 340px;
    margin: 0 auto;
}
.fkh-neu-btn {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
    background: var(--fkh-bg);
    font-size: 16px;
    font-weight: 700;
    color: var(--fkh-text-secondary);
    cursor: pointer;
    transition: all var(--fkh-transition);
    text-align: center;
}
.fkh-neu-btn:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-neu-btn.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}

/* Condition subtitle (shown when Nein selected) */
.fkh-condition-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--fkh-text);
    margin-bottom: 10px;
}

/* Inline Battery Section (on condition step) */
.fkh-inline-bat-section {
    margin-top: 20px;
    padding: 16px;
    background: var(--fkh-bg-subtle);
    border: 1px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
}
.fkh-inline-bat-section .fkh-dc-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--fkh-text);
    margin-bottom: 8px;
}
.fkh-inline-bat-section .fkh-dc-battery {
    margin-bottom: 8px;
}
.fkh-inline-bat-hint {
    font-size: 12px;
    color: var(--fkh-text-muted);
    line-height: 1.4;
    margin-top: 6px;
}

/* AGB/Datenschutz Checkbox (delivery step) */
.fkh-agb-group {
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--fkh-bg-subtle);
    border: 1px solid var(--fkh-border);
    border-radius: var(--fkh-radius);
}
.fkh-agb-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--fkh-text-secondary);
    line-height: 1.5;
    cursor: pointer;
}
.fkh-agb-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--fkh-primary);
}
.fkh-agb-label a {
    color: var(--fkh-primary);
    text-decoration: underline;
}
.fkh-agb-label a:hover {
    color: var(--fkh-primary-dark);
}

/* Pre-funnel: clean look without progress bar */
.fkh-funnel .fkh-progress-bar[style*="display: none"] + .fkh-step-wrap {
    padding-top: 8px;
}

/* v8.4.2: Model tile grid (matches demo design — centered, 2-col) */
.fkh-model-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}
.fkh-model-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 12px;
    border: 2px solid var(--fkh-border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--fkh-text);
    text-align: center;
    transition: border-color .15s, background .15s, box-shadow .15s;
    min-height: 72px;
}
.fkh-model-card:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-model-card.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.fkh-model-card .fkh-model-icon {
    font-size: 22px;
}
.fkh-model-card .fkh-model-name {
    line-height: 1.3;
    font-size: 14px;
}
/* v8.4.3: Model series header (grouped by series with year) */
.fkh-model-series-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0 4px;
    margin-top: 4px;
    border-bottom: 1px solid var(--fkh-border);
    font-size: 13px;
    font-weight: 700;
    color: var(--fkh-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.fkh-model-series-header:first-child { margin-top: 0; }
.fkh-series-year {
    font-weight: 400;
    color: var(--fkh-text-muted);
    font-size: 12px;
}
/* v9.30.0: Model year badge */
.fkh-model-year {
    display: inline-block;
    background: rgba(255, 107, 0, 0.1);
    color: var(--fkh-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 6px;
}

.fkh-model-other {
    border-style: dashed;
    color: var(--fkh-text-muted);
}
.fkh-model-other:hover {
    border-color: var(--fkh-primary);
    color: var(--fkh-text);
}

/* v8.4.2: Color tiles with dots */
.fkh-color-tile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid var(--fkh-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--fkh-text);
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.fkh-color-tile:hover {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
.fkh-color-tile.selected {
    border-color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.fkh-color-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}
.fkh-color-name {
    line-height: 1;
}

/* v8.4.2: WA CTA button style — v9.21.0: WhatsApp green */
.fkh-btn-wa-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #fff !important;
    background: #25d366 !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(37, 211, 102, 0.2) !important;
}
.fkh-btn-wa-cta:hover {
    background: #1da851 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(37, 211, 102, 0.3) !important;
}

/* v8.4.2: Submit button subtext */
.fkh-submit-subtext {
    text-align: center;
    font-size: 13px;
    color: var(--fkh-text-muted);
    margin-top: 8px;
    line-height: 1.4;
}

/* v8.4.2: Name fields row */
.fkh-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 640px) {
    .fkh-neu-btns { max-width: 100%; }
    .fkh-neu-btn { padding: 14px 14px; font-size: 15px; }
    .fkh-inline-bat-section { padding: 12px; }
    .fkh-model-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .fkh-name-row { grid-template-columns: 1fr; gap: 0; }
}

/* ===== v8.5.0: DEVICE BADGE / STICKY HEADER ===== */
.fkh-device-badge {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 16px;
    background: var(--fkh-primary-bg);
    border: 1px solid rgba(255, 107, 0, 0.18);
    border-radius: var(--fkh-radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--fkh-text);
    transition: all var(--fkh-transition);
}
.fkh-device-badge.visible { display: flex; }
.fkh-device-badge-icon { font-size: 16px; }
.fkh-device-badge-text { flex: 1; }
.fkh-device-badge-price {
    font-weight: 700;
    color: var(--fkh-primary);
}

/* ===== v8.5.0: UPSELL BANNER (after condition step) ===== */
.fkh-upsell-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid #dbeafe;
    border-radius: var(--fkh-radius);
    font-size: 13px;
    color: var(--fkh-text-secondary);
    line-height: 1.5;
}
.fkh-upsell-banner-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}
.fkh-upsell-banner-title {
    font-weight: 700;
    color: var(--fkh-text);
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}
.fkh-upsell-banner-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 0, 0.18);
    margin-left: auto;
    flex-shrink: 0;
    align-self: flex-start;
}

/* ===== v8.5.0: MULTI-DEVICE CART STEP ===== */
.fkh-cart-summary {
    background: var(--fkh-bg);
    border: 1px solid var(--fkh-border);
    border-radius: var(--fkh-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}
.fkh-cart-summary-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--fkh-text);
    margin: 0 0 12px;
}
.fkh-cart-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--fkh-border);
    font-size: 14px;
}
.fkh-cart-summary-item:last-of-type { border-bottom: none; }
.fkh-cart-summary-device {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fkh-cart-summary-device-icon { font-size: 16px; }
.fkh-cart-summary-price {
    font-weight: 700;
    color: var(--fkh-text);
}
.fkh-cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 0;
    margin-top: 4px;
    border-top: 2px solid var(--fkh-text);
    font-size: 16px;
    font-weight: 800;
    color: var(--fkh-text);
}
.fkh-cart-step-info {
    text-align: center;
    padding: 16px;
    margin-bottom: 16px;
}
.fkh-cart-step-info-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--fkh-text);
    margin: 0 0 6px;
}
.fkh-cart-step-info-desc {
    font-size: 14px;
    color: var(--fkh-text-muted);
    margin: 0;
    line-height: 1.5;
}
.fkh-cart-step-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.fkh-btn-add-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 20px;
    border: 2px dashed var(--fkh-border-strong);
    border-radius: var(--fkh-radius);
    background: var(--fkh-bg-subtle);
    color: var(--fkh-text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--fkh-transition);
}
.fkh-btn-add-more:hover {
    border-color: var(--fkh-primary);
    color: var(--fkh-primary);
    background: var(--fkh-primary-bg);
}
/* v9.21.0: Made explicit with !important to prevent theme overrides */
.fkh-btn-continue-contact {
    padding: 16px 28px !important;
    border: none !important;
    border-radius: 9999px !important;
    background: #ff6b00 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all var(--fkh-transition);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4), 0 2px 6px rgba(255, 107, 0, 0.2) !important;
    letter-spacing: 0.2px;
    display: block;
    width: 100%;
    text-align: center;
}
.fkh-btn-continue-contact:hover {
    background: #e05800 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 107, 0, 0.5), 0 4px 10px rgba(255, 107, 0, 0.3) !important;
}

/* ===== v8.5.0: NEW FAQ (5-section accordion) ===== */
.fkh-faq {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 16px;
}
.fkh-faq-title {
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    color: var(--fkh-text);
    margin-bottom: 28px;
}
.fkh-faq-section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 8px;
}
.fkh-faq-section-label:first-child { margin-top: 0; }
.fkh-faq-section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #e5e7eb, transparent);
}
.fkh-faq-section-line.right {
    background: linear-gradient(to left, #e5e7eb, transparent);
}
.fkh-faq-section-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    white-space: nowrap;
    padding: 3px 10px;
    background: #f9fafb;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}
.fkh-faq-item {
    border-bottom: 1px solid #f0f0f0;
}
.fkh-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--fkh-text);
    line-height: 1.4;
}
.fkh-faq-question:hover { color: var(--fkh-primary); }
.fkh-faq-chevron {
    font-size: 20px;
    color: #999;
    flex-shrink: 0;
    transition: transform 0.2s;
    margin-left: 16px;
}
.fkh-faq-item.open .fkh-faq-chevron { transform: rotate(180deg); }
.fkh-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    font-size: 14px;
    color: var(--fkh-text-secondary);
    line-height: 1.7;
    padding: 0;
}
.fkh-faq-item.open .fkh-faq-answer {
    max-height: 500px;
    padding: 0 0 16px;
}

/* v8.5.2: Offer step FAQ */
.fkh-offer-faq {
    margin: 24px 0 16px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.fkh-offer-faq-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--fkh-text);
    margin: 0 0 12px;
}
.fkh-offer-faq .fkh-faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.fkh-offer-faq .fkh-faq-item:last-child {
    border-bottom: none;
}
.fkh-offer-faq .fkh-faq-question {
    font-size: 14px;
    padding: 12px 0;
}
.fkh-offer-faq .fkh-faq-answer {
    font-size: 13px;
}

@media (max-width: 640px) {
    .fkh-upsell-banner { flex-wrap: wrap; }
    .fkh-upsell-banner-tag { margin-left: 0; margin-top: 4px; }
    .fkh-cart-step-actions { gap: 8px; }
    .fkh-device-badge { font-size: 13px; padding: 6px 12px; }
    .fkh-faq-question { font-size: 14px; padding: 14px 0; }
    .fkh-offer-faq { padding: 14px; margin: 16px 0 12px; }
    .fkh-offer-faq-title { font-size: 16px; }
    .fkh-cart-summary-item { flex-wrap: wrap; }
    .fkh-cart-summary-item-right { width: 100%; justify-content: space-between; }
}

/* ── Quantity Controls (v9.16.0) ────────── */
.fkh-cart-summary-item-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fkh-cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--fkh-border-strong, #d1d5db);
    border-radius: var(--fkh-radius, 8px);
    overflow: hidden;
    background: #fff;
}

.fkh-cart-qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    padding: 0;
    line-height: 1;
}

.fkh-cart-qty-btn:hover {
    background: #f3f4f6;
    color: var(--fkh-primary, #ff6b00);
}

.fkh-cart-qty-val {
    min-width: 28px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    padding: 0 2px;
    border-left: 1px solid var(--fkh-border-strong, #d1d5db);
    border-right: 1px solid var(--fkh-border-strong, #d1d5db);
    line-height: 32px;
}

.fkh-offer-qty-badge {
    display: inline-block;
    background: var(--fkh-primary, #ff6b00);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ===== v9.22.0: PERSISTENT BACK ARROW ===== */
.fkh-back-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--fkh-text-light, #6b7280);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--fkh-font-body, 'DM Sans', sans-serif);
    cursor: pointer;
    padding: 8px 12px;
    margin: 0 0 4px -4px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.fkh-back-arrow:hover {
    color: var(--fkh-primary, #ff6b00);
    background: rgba(255, 107, 0, 0.06);
}
.fkh-back-arrow svg {
    flex-shrink: 0;
}

/* ===== v9.22.0: ADDRESS FORM ON OFFER STEP ===== */
.fkh-address-form {
    background: var(--fkh-bg-alt, #f8f8f8);
    border-radius: 16px;
    padding: 24px;
    margin-top: 16px;
    animation: fkhSlideDown 0.35s ease-out;
}
@keyframes fkhSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
.fkh-address-title {
    font-family: var(--fkh-font-heading, 'Space Grotesk', sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--fkh-text, #111);
    margin: 0 0 16px;
}
.fkh-address-form .fkh-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.fkh-address-form .fkh-form-group {
    margin-bottom: 12px;
}
.fkh-address-form .fkh-input {
    background: #fff;
}
@media (max-width: 480px) {
    .fkh-address-form {
        padding: 16px;
    }
    .fkh-address-form .fkh-name-row {
        grid-template-columns: 1fr;
    }
}
