/**
 * Kiff Suite Configurators — Scoped Vanilla CSS
 * 1. Identity Configurator (.kiff-id-cfg-root)
 * 2. Community Model Configurator (.kiff-cm-root)
 * 3. Kommercial Configurator (.kiff-km-root)
 *
 * Zero external framework dependencies (no Tailwind CDN required).
 */

.kiff-suite-hidden {
    display: none !important;
}

.kiff-custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.kiff-custom-scrollbar::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 8px;
}

.kiff-custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}

.kiff-custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes kiffSuiteSpin {
    100% {
        transform: rotate(360deg);
    }
}

.kiff-suite-spin,
.kc-animate-spin {
    animation: kiffSuiteSpin 1s linear infinite;
}

/* ==========================================================================
   1. IDENTITY CONFIGURATOR (.kiff-id-cfg-root)
   ========================================================================== */

.kiff-id-cfg-root {
    --kiff-id-primary: #0000FF;
    --kiff-id-primary-hover: #0000cc;
    --kiff-id-black: #050505;
    box-sizing: border-box;
    font-family: var(--e-global-typography-text-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    color: #111827;
    width: 100%;
}

.kiff-id-cfg-root *,
.kiff-id-cfg-root *::before,
.kiff-id-cfg-root *::after {
    box-sizing: inherit;
}

.kiff-id-cfg-root .kiff-primary-layout {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.kiff-id-two-col-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.kiff-id-left-col {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.kiff-id-right-col {
    width: 100%;
}

.kiff-id-topbar-wrap {
    padding: 0 15px;
    margin-bottom: 1.25rem;
}

.kiff-id-topbar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

@media (min-width: 640px) {
    .kiff-id-topbar {
        flex-direction: row;
    }
}

.kiff-id-search-wrap {
    position: relative;
    width: 100%;
    max-width: 30rem;
}

.kiff-id-search-input {
    width: 100%;
    padding: 0.65rem 1rem;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
}

.kiff-id-search-input:focus {
    background-color: #ffffff;
    border-color: var(--kiff-id-primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 255, 0.15);
}

.kiff-id-currency-toggle {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 0.375rem;
    padding: 0.25rem;
    gap: 0.2rem;
    border: 1px solid #e2e8f0;
}

.kiff-id-curr-btn {
    padding: 0.4rem 0.9rem;
    border-radius: 0.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.kiff-id-curr-btn:hover {
    color: #0f172a;
}

.kiff-id-curr-btn.is-active {
    background: #000000;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.kiff-id-cat-container {
    margin-bottom: 2rem;
    overflow: visible;
    padding: 0;
}

.kiff-id-cat-filters {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 0.25rem 15px;
    scroll-padding-left: 15px;
    scroll-padding-right: 15px;
}

.kiff-id-cat-btn {
    padding: 0.55rem 1.15rem;
    border-radius: 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #050505;
    color: #ffffff;
    border: 1px solid #050505;
}

.kiff-id-cat-btn:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
}

.kiff-id-cat-btn.is-active {
    background: var(--kiff-id-primary);
    color: #ffffff;
    border-color: var(--kiff-id-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 255, 0.3);
    transform: none;
}

.kiff-id-main-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.kiff-id-grid-col {
    width: 100%;
    overflow: visible;
}

.kiff-id-services-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.75rem 15px 1.25rem;
    scroll-padding-left: 15px;
    scroll-padding-right: 15px;
    scroll-snap-type: x mandatory;
}

.kiff-id-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #ffffff;
    border-radius: 1rem;
    border: 2px solid #f3f4f6;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}

.kiff-id-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 9, 201, 0.3);
}

.kiff-id-card.is-selected {
    border-color: var(--kiff-id-primary);
    box-shadow: 0 0 0 4px rgba(0, 9, 201, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
    background: rgba(0, 9, 201, 0.02);
}

.kiff-id-card-check {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #ffffff;
}

.kiff-id-card:hover .kiff-id-card-check {
    border-color: rgba(0, 9, 201, 0.5);
}

.kiff-id-card.is-selected .kiff-id-card-check {
    background: var(--kiff-id-primary);
    border-color: var(--kiff-id-primary);
    transform: translateY(-50%) scale(1.1);
}

.kiff-id-card-body {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 2.5rem;
}

.kiff-id-card-title-wrap {
    flex: 1;
    padding-right: 0.75rem;
}

.kiff-id-card-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.kiff-id-card:hover .kiff-id-card-title {
    color: var(--kiff-id-primary);
}

.kiff-id-card-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.kiff-id-starting-lbl {
    display: none;
    margin: 0 0 0.25rem 0;
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.kiff-id-card-price {
    margin: 0;
    font-size: 1rem;
    font-weight: 900;
    color: #111827;
    line-height: 1;
}

.kiff-id-card-cat {
    display: inline-block;
    margin-top: 0.375rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
    background: #f9fafb;
    font-size: 9px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kiff-id-card.is-selected .kiff-id-card-cat {
    background: rgba(0, 9, 201, 0.1);
    color: var(--kiff-id-primary);
}

.kiff-id-no-results {
    text-align: center;
    padding: 4rem 1.5rem;
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px dashed #d1d5db;
    width: 100%;
    margin-top: 1rem;
}

.kiff-id-no-results-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: #f9fafb;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.kiff-id-no-results-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.kiff-id-no-results-sub {
    margin: 0.25rem 0 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.kiff-id-sidebar-col {
    width: 100%;
    padding: 0 15px;
}

.kiff-id-summary-card {
    background: #ffffff;
    border-radius: 0.85rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    padding: 1.25rem 1.15rem;
    border: 1px solid #e2e8f0;
}

.kiff-id-summary-heading {
    margin: 0 0 1.15rem 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.kiff-id-summary-icon {
    display: inline-flex;
    padding: 0.35rem;
    background: #eff6ff;
    border-radius: 0.375rem;
    color: var(--kiff-id-primary);
}

.kiff-id-cart-container {
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.kiff-id-empty-cart {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #9ca3af;
}

.kiff-id-empty-cart-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background: #f9fafb;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.kiff-id-empty-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.kiff-id-empty-sub {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: #9ca3af;
}

.kiff-id-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0.6rem;
    margin-bottom: 0.35rem;
    background: transparent;
    border-radius: 0.375rem;
    border: none;
    transition: background-color 0.15s ease;
}

.kiff-id-cart-item:hover {
    background: #f8fafc;
}

.kiff-id-cart-item-info {
    padding-right: 0.5rem;
    flex: 1;
    min-width: 0;
}

.kiff-id-cart-item-name {
    margin: 0;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.8rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kiff-id-cart-item-cat {
    margin: 2px 0 0;
    font-size: 0.68rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
}

.kiff-id-cart-item-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    padding-left: 0.5rem;
}

.kiff-id-cart-item-price {
    margin: 0 0 2px 0;
    font-weight: 800;
    color: #000000;
    font-size: 0.78rem;
    line-height: 1.2;
    white-space: nowrap;
}

.kiff-id-remove-btn {
    width: 1.15rem;
    height: 1.15rem;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.kiff-id-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: scale(1.05);
}

.kiff-id-summary-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.kiff-id-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    background: transparent;
    padding: 0.5rem 0;
    border-radius: 0;
}

.kiff-id-total-label {
    color: #64748b;
    font-weight: 600;
    font-size: 0.82rem;
}

.kiff-id-total-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #000000;
    letter-spacing: -0.02em;
}

.kiff-id-total-symbol {
    font-size: 0.95rem;
    font-weight: 800;
    opacity: 0.9;
    margin-right: 0.15rem;
}

.kiff-id-lead-fields {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.kiff-id-lead-input {
    width: 100%;
    padding: 0.55rem 0.75rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.78rem;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.kiff-id-lead-input::placeholder {
    color: #94a3b8;
}

.kiff-id-lead-input:focus {
    background: #ffffff;
    border-color: var(--kiff-id-primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 255, 0.15);
}

.kiff-id-checkout-btn {
    width: 100%;
    background-color: #050505;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.kiff-id-checkout-btn:hover:not(:disabled) {
    background-color: var(--kiff-id-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 255, 0.25);
}

.kiff-id-checkout-btn:disabled {
    background-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

@media (max-width: 1023px) {
    .kiff-id-cfg-root,
    .kiff-id-cfg-root .kiff-primary-layout {
        overflow: hidden !important;
        overflow: clip !important;
    }
}

@media (min-width: 1024px) {
    .kiff-id-cfg-root .kiff-primary-layout {
        max-width: 80rem;
        padding: 1.5rem;
        overflow: visible !important;
    }

    .kiff-id-topbar-wrap,
    .kiff-id-sidebar-col {
        padding: 0;
    }

    .kiff-id-cat-filters {
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex-wrap: wrap;
        overflow: visible;
    }

    .kiff-id-two-col-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.75rem;
    }

    .kiff-id-left-col {
        flex: 1 1 72%;
        width: 72%;
        min-width: 0;
    }

    .kiff-id-right-col {
        flex: 0 0 28%;
        width: 28%;
        max-width: 340px;
    }

    .kiff-id-main-row {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .kiff-id-grid-col {
        flex: 1 1 100%;
        width: 100%;
    }

    .kiff-id-sidebar-col {
        width: 100%;
    }

    .kiff-id-summary-card {
        padding: 1.25rem 1.15rem;
        position: sticky;
        top: 2rem;
    }

    .kiff-id-services-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.85rem;
        padding: 0 !important;
        overflow: visible;
    }

    .kiff-id-card {
        flex-direction: column;
        align-items: stretch;
        padding: 1.15rem 1.15rem 1.25rem;
        min-width: 0;
        border-radius: 0.75rem;
    }

    .kiff-id-card-check {
        top: 1rem;
        right: 1rem;
        width: 1.35rem;
        height: 1.35rem;
        transform: none;
    }

    .kiff-id-card.is-selected .kiff-id-card-check {
        transform: none;
    }

    .kiff-id-card-body {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 1.75rem;
    }

    .kiff-id-card-title-wrap {
        padding-right: 0;
    }

    .kiff-id-card-title {
        font-size: 0.95rem;
        font-weight: 700;
        color: #0f172a;
    }

    .kiff-id-card-meta {
        margin-top: 1rem;
        padding-top: 0.75rem;
        border-top: none;
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }

    .kiff-id-starting-lbl {
        display: block;
        margin: 0 0 0.15rem 0;
        font-size: 0.65rem;
        font-weight: 600;
        color: #94a3b8;
        letter-spacing: 0.04em;
    }

    .kiff-id-card-price {
        font-size: 1.15rem;
        font-weight: 800;
        color: #0f172a;
    }

    .kiff-id-card-cat {
        margin-top: 0.35rem;
        padding: 0.15rem 0.45rem;
        border-radius: 0.25rem;
        font-size: 0.62rem;
        font-weight: 700;
        background: #eff6ff;
        color: var(--kiff-id-primary);
    }
}

/* ==========================================================================
   ELEMENTOR CONTAINER ISOLATION FIX
   Ensures Elementor Flexbox Containers (.e-con) or legacy inner sections
   do not crush, compress or misalign configurator columns.
   ========================================================================== */

.elementor-widget-kiff_identity_configurator,
.elementor-widget-kiff_community_model_configurator,
.elementor-widget-kiff_kommercial_configurator,
.elementor-widget-shortcode:has([data-kiff-suite]),
.elementor-widget-text-editor:has([data-kiff-suite]),
.elementor-widget-html:has([data-kiff-suite]) {
    width: 100% !important;
    max-width: 100% !important;
}

.elementor-widget-kiff_identity_configurator .elementor-widget-container,
.elementor-widget-kiff_community_model_configurator .elementor-widget-container,
.elementor-widget-kiff_kommercial_configurator .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

.kiff-configurator-wrapper,
.kiff-id-cfg-root,
.kiff-cm-root,
.kiff-km-root {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   2. COMMUNITY MODEL CONFIGURATOR (.kiff-cm-root)
   Pixel-aligned with kiff_community_model_configurator-1.html
   ========================================================================== */

.kiff-cm-root {
    --kiff-cm-blue: #0033FF;
    --kiff-cm-blue-hover: #0028CC;
    --kiff-cm-charcoal: #1e293b;
    --kiff-cm-black: #0f172a;
    box-sizing: border-box;
    font-family: var(--e-global-typography-text-font-family, inherit);
    line-height: 1.5;
    color: #111827;
    width: 100%;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
}

.kiff-cm-root *,
.kiff-cm-root *::before,
.kiff-cm-root *::after {
    box-sizing: inherit;
    font-family: inherit;
}

.kiff-cm-root h1,
.kiff-cm-root h2,
.kiff-cm-root h3,
.kiff-cm-root h4,
.kiff-cm-root .font-display {
    font-family: var(--e-global-typography-primary-font-family, inherit);
}

/* Prototype Card & Summary Elevation */
.kiff-cm-root .card-elevation {
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 10px -2px rgba(15, 23, 42, 0.02);
}

.kiff-cm-root .card-elevation:hover {
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.08), 0 6px 14px -3px rgba(15, 23, 42, 0.03);
}

.kiff-cm-root .card-selected {
    border-color: #0033FF !important;
    background-color: #F8FAFF !important;
    box-shadow: 0 14px 32px -6px rgba(0, 51, 255, 0.12), 0 4px 10px -2px rgba(0, 51, 255, 0.05) !important;
}

.kiff-cm-root .summary-elevation {
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.07), 0 4px 14px -3px rgba(15, 23, 42, 0.03);
}

/* Outer Main Card matching prototype w-full bg-white border border-slate-100 rounded-3xl p-6 sm:p-8 lg:p-10 shadow-[0_4px_30px_rgba(0,0,0,0.02)] */
.kiff-cm-main-card {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

@media (min-width: 640px) {
    .kiff-cm-main-card {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .kiff-cm-main-card {
        padding: 2.5rem;
    }
}

/* Layout Grid matching grid grid-cols-1 lg:grid-cols-12 gap-8 items-start */
.kiff-cm-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .kiff-cm-layout-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .kiff-cm-col-main {
        grid-column: span 8 / span 8;
    }

    .kiff-cm-col-sidebar {
        grid-column: span 4 / span 4;
    }
}

.kiff-cm-col-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
}

/* Header Row & Title */
.kiff-cm-header-row {
    padding-bottom: 0.875rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.kiff-cm-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin: 0;
}

/* NPR / USD Currency selector */
.kiff-cm-currency-toggle {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 0.125rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.kiff-cm-curr-btn {
    padding: 0.25rem 0.625rem;
    font-size: 11px;
    font-weight: 600;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #64748b;
    transition: all 0.15s ease;
}

.kiff-cm-curr-btn:hover {
    color: #1e293b;
}

.kiff-cm-curr-btn.is-active {
    font-weight: 700;
    background: #ffffff;
    color: #0033FF;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* 3-Column Service Cards Grid matching grid grid-cols-1 md:grid-cols-3 gap-5 */
.kiff-cm-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .kiff-cm-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.kiff-cm-service-card {
    position: relative;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    user-select: none;
}

.kiff-cm-check-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background-color: #0033FF;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kiff-cm-check-indicator svg {
    width: 0.75rem;
    height: 0.75rem;
}

.kiff-cm-card-icon {
    margin-bottom: 1rem;
    color: #0033FF;
}

.kiff-cm-card-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.kiff-cm-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.kiff-cm-card-desc {
    font-size: 0.75rem;
    line-height: 1.625;
    color: #64748b;
    margin: 0;
}

.kiff-cm-card-bottom {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.kiff-cm-starting-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.125rem;
}

.kiff-cm-price-val {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

/* Section 2: Inclusive Monthly Benefits */
.kiff-cm-benefits-wrap {
    padding-top: 0.5rem;
}

.kiff-cm-benefits-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin: 0 0 1.25rem 0;
}

.kiff-cm-benefits-box {
    background-color: #F8FAFC;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1rem;
    padding: 1.5rem;
}

.kiff-cm-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1rem;
    column-gap: 1.5rem;
}

@media (min-width: 640px) {
    .kiff-cm-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.kiff-cm-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.kiff-cm-benefit-badge {
    margin-top: 0.125rem;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    background-color: #22C55E;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kiff-cm-benefit-badge svg {
    width: 0.625rem;
    height: 0.625rem;
}

.kiff-cm-benefit-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.375;
}

@media (min-width: 640px) {
    .kiff-cm-benefit-text {
        font-size: 13px;
    }
}

.kiff-cm-bonus-banner {
    grid-column: span 1 / span 1;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

@media (min-width: 640px) {
    .kiff-cm-bonus-banner {
        grid-column: span 2 / span 2;
    }
}

.kiff-cm-bonus-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.375;
}

@media (min-width: 640px) {
    .kiff-cm-bonus-text {
        font-size: 13px;
    }
}

/* Right Column: Subscription Summary Panel */
.kiff-cm-col-sidebar {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 1.25rem;
}

.kiff-cm-summary-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #f1f5f9;
    margin: 0;
}

.kiff-cm-summary-list-container {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid #f1f5f9;
}

.kiff-cm-empty-state {
    font-size: 0.75rem;
    font-style: italic;
    color: #94a3b8;
    margin: 0;
}

.kiff-cm-selected-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.kiff-cm-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.kiff-cm-summary-item-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kiff-cm-summary-item-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background-color: #0033FF;
    flex-shrink: 0;
}

.kiff-cm-summary-item-name {
    font-weight: 600;
    color: #1e293b;
}

.kiff-cm-summary-item-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kiff-cm-summary-item-price {
    font-weight: 700;
    color: #334155;
}

.kiff-cm-remove-btn {
    color: #94a3b8;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.kiff-cm-remove-btn:hover {
    color: #ef4444;
}

.kiff-cm-remove-icon {
    width: 0.875rem;
    height: 0.875rem;
}

/* Predicted Monthly Total (Refined & Balanced) */
.kiff-cm-total-card {
    margin-top: 0.875rem;
    margin-bottom: 0.875rem;
    background-color: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 0.75rem;
    padding: 0.75rem 0.875rem;
}

.kiff-cm-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.kiff-cm-total-meta {
    min-width: 0;
}

.kiff-cm-total-meta-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.kiff-cm-tax-note {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 0.125rem;
}

.kiff-cm-total-amount-wrap {
    text-align: right;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}

.kiff-cm-currency-sym {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0033FF;
}

.kiff-cm-total-amount {
    font-family: var(--e-global-typography-primary-font-family, inherit);
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
    .kiff-cm-total-amount {
        font-size: 26px;
    }
}

.kiff-cm-mo-suffix {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

/* Inquiry Form */
.kiff-cm-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.125rem;
}

.kiff-cm-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.25rem;
}

.kiff-cm-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: #1e293b;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kiff-cm-input::placeholder {
    color: #94a3b8;
}

.kiff-cm-input:focus {
    border-color: #0033FF;
    box-shadow: 0 0 0 1px #0033FF;
}

.kiff-cm-submit-wrap {
    padding-top: 0.5rem;
}

.kiff-cm-submit-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: #767676;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.kiff-cm-submit-btn.is-disabled {
    background-color: #767676;
}

.kiff-cm-submit-btn.is-disabled:hover {
    background-color: #636363;
}

.kiff-cm-submit-btn.is-active {
    background-color: #0033FF !important;
}

.kiff-cm-submit-btn.is-active:hover {
    background-color: #0028CC !important;
}

.kiff-cm-submit-btn svg {
    width: 1rem;
    height: 1rem;
}

/* Footer Terms & Link */
.kiff-cm-footer-terms {
    margin-top: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kiff-cm-terms-text {
    font-size: 10px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.kiff-cm-terms-link {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.kiff-cm-terms-link:hover {
    color: #0033FF;
}

/* Custom Toast Notification Box */
.kiff-cm-toast {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 50;
    transform: translateY(5rem);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.kiff-cm-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.kiff-cm-toast-inner {
    background-color: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    max-width: 24rem;
}

.kiff-cm-toast-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: #0033FF;
    flex-shrink: 0;
}

.kiff-cm-toast-dot.is-error {
    background-color: #fbbf24;
}

.kiff-cm-toast-dot.is-success {
    background-color: #34d399;
}

/* ==========================================================================
   3. KOMMERCIAL CONFIGURATOR (.kiff-km-root)
   ========================================================================== */

.kiff-km-root {
    --kiff-blue: #0009c9;
    --kiff-charcoal: #333333;
    --kiff-black: #111111;
    --kiff-gray-50: #f9fafb;
    --kiff-gray-100: #f3f4f6;
    --kiff-gray-200: #e5e7eb;
    --kiff-gray-300: #d1d5db;
    --kiff-gray-400: #9ca3af;
    --kiff-gray-500: #6b7280;
    --kiff-gray-600: #4b5563;
    --kiff-blue-50: #eff6ff;
    --kiff-blue-100: #dbeafe;
    box-sizing: border-box;
    font-family: var(--e-global-typography-text-font-family, inherit);
    line-height: 1.7;
    color: var(--kiff-black);
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 0;
    -webkit-font-smoothing: antialiased;
}

.kiff-km-root * {
    box-sizing: border-box;
}

.kiff-km-root h1,
.kiff-km-root h2,
.kiff-km-root h3,
.kiff-km-root h4 {
    font-family: var(--e-global-typography-primary-font-family, inherit);
    margin: 0;
    padding: 0;
}

.kiff-km-root .kc-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .kiff-km-root .kc-layout {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .kiff-km-root .kc-layout {
        flex-direction: row;
        gap: 4rem;
        padding: 0;
    }

    .kiff-km-root .kc-col-main {
        width: 66.666667%;
    }

    .kiff-km-root .kc-col-sidebar {
        width: 33.333333%;
    }
}

.kiff-km-root .kc-step-group {
    margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
    .kiff-km-root .kc-step-group {
        margin-bottom: 4.5rem;
    }
}

.kiff-km-root .kc-step-title {
    font-weight: 600;
    color: var(--kiff-charcoal);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    font-size: 1.5rem;
}

.kiff-km-root .kc-step-number {
    background-color: var(--kiff-gray-100);
    color: var(--kiff-charcoal);
    font-size: 0.875rem;
    font-weight: bold;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kiff-km-root .kc-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .kiff-km-root .kc-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

.kiff-km-root .kc-card {
    border: 2px solid var(--kiff-gray-100);
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.kiff-km-root .kc-card:hover {
    border-color: var(--kiff-gray-300);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.kiff-km-root .kc-card-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .kiff-km-root .kc-card-type {
        padding: 2rem;
    }
}

.kiff-km-root .kc-card-addon {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.kiff-km-root .kc-card.active {
    border-color: var(--kiff-blue);
    background-color: rgba(0, 9, 201, 0.05);
    box-shadow: 0 0 0 1px var(--kiff-blue), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.kiff-km-root .kc-icon {
    width: 2.25rem;
    height: 2.25rem;
    stroke: var(--kiff-gray-400);
    transition: stroke 0.2s ease-in-out;
    flex-shrink: 0;
}

.kiff-km-root .kc-card-type .kc-icon {
    margin-bottom: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
}

.kiff-km-root .kc-card:hover .kc-icon {
    stroke: var(--kiff-gray-500);
}

.kiff-km-root .kc-card.active .kc-icon {
    stroke: var(--kiff-blue);
}

.kiff-km-root .kc-label {
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--kiff-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.kiff-km-root .kc-label-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kiff-km-root .kc-hint {
    font-size: 0.75rem;
    color: var(--kiff-blue);
    font-weight: bold;
    background-color: var(--kiff-blue-50);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: none;
    letter-spacing: normal;
}

.kiff-km-root .kc-input,
.kiff-km-root .kc-select {
    width: 100%;
    border: 2px solid var(--kiff-gray-100);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--kiff-charcoal);
    background-color: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    outline: none;
}

.kiff-km-root .kc-input:hover,
.kiff-km-root .kc-select:hover {
    border-color: var(--kiff-gray-300);
}

.kiff-km-root .kc-input:focus,
.kiff-km-root .kc-select:focus {
    border-color: var(--kiff-blue);
    box-shadow: 0 0 0 1px var(--kiff-blue);
}

.kiff-km-root .kc-input-text {
    font-weight: normal;
    font-size: 0.875rem;
    background-color: var(--kiff-gray-50);
    border-width: 1px;
}

.kiff-km-root .kc-input-text:focus {
    background-color: #ffffff;
}

.kiff-km-root .kc-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.2em;
    cursor: pointer;
}

.kiff-km-root .kc-sidebar {
    background-color: #ffffff;
    border: 1px solid var(--kiff-gray-200);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .kiff-km-root .kc-sidebar {
        position: sticky;
        top: 3rem;
        padding: 2.5rem;
    }
}

.kiff-km-root .kc-summary-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--kiff-gray-600);
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
}

.kiff-km-root .kc-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.kiff-km-root .kc-summary-label {
    width: 60%;
    padding-right: 1rem;
}

.kiff-km-root .kc-summary-value {
    color: var(--kiff-black);
    font-weight: bold;
    text-align: right;
}

.kiff-km-root .kc-price-container {
    margin-bottom: 1.5rem;
}

.kiff-km-root .kc-price-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}

.kiff-km-root .kc-price-label {
    color: var(--kiff-gray-500);
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.kiff-km-root .kc-price-value {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--kiff-black);
    letter-spacing: -0.025em;
    line-height: 1;
}

@media (min-width: 1024px) {
    .kiff-km-root .kc-price-value {
        font-size: 2.25rem;
    }
}

.kiff-km-root .kc-price-note {
    font-size: 0.75rem;
    color: var(--kiff-gray-400);
    text-align: right;
    line-height: 1.5;
    margin: 0;
}

.kiff-km-root .kc-btn {
    width: 100%;
    background-color: #111111;
    color: #ffffff;
    font-weight: bold;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.kiff-km-root .kc-btn:hover:not(:disabled) {
    background-color: var(--kiff-blue);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.kiff-km-root .kc-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.kiff-km-root .kc-hidden {
    display: none !important;
}

.kiff-km-root .kc-mb-4 {
    margin-bottom: 1.5rem;
}

.kiff-km-root .kc-mb-1 {
    margin-bottom: 0.5rem;
}

.kiff-km-root .kc-text-xs {
    font-size: 0.75rem;
    margin: 0;
}

.kiff-km-root .kc-text-gray-500 {
    color: var(--kiff-gray-500);
}

.kiff-km-root .kc-font-bold {
    font-weight: bold;
}

.kiff-km-root .kc-leading-tight {
    line-height: 1.25;
}

.kiff-km-root .kc-relative {
    position: relative;
    overflow: hidden;
}

.kiff-km-root .kc-badge-included {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--kiff-blue);
    color: #ffffff;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.65rem;
    border-bottom-left-radius: 0.5rem;
}

.kiff-km-root .kc-form-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ==========================================================================
   4. NEW COMMERCIALS CONFIGURATOR (TWO-COLUMN RESPONSIVE LAYOUT)
   Matches commercials_configurator-1.html with ~60vh desktop fit
   ========================================================================== */

.kiff-commercial-root {
    --kiff-c-blue: #0009c9;
    --kiff-c-black: #000000;
    --kiff-c-light: #fafafa;
    --kiff-c-border: #e4e4e7;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    font-family: var(--e-global-typography-text-font-family, inherit);
    color: #000000;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

.kiff-commercial-root * {
    box-sizing: border-box;
    font-family: inherit;
}

.kiff-km-layout-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

/* SUCCESS MODAL */
.kiff-km-success-box {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--kiff-c-blue);
    padding: 1.5rem;
    text-align: center;
    max-width: 28rem;
    margin: 2rem auto;
}

.kiff-km-success-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(0, 9, 201, 0.1);
    color: var(--kiff-c-blue);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.kiff-km-success-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0.5rem 0;
}

.kiff-km-success-desc {
    color: #525252;
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0 auto 1rem;
}

.kiff-km-bold-text {
    font-weight: 600;
    color: #000000;
}

.kiff-km-btn-reset {
    padding: 0.65rem 1.25rem;
    background: #000000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.kiff-km-btn-reset:hover {
    background: #262626;
}

/* STEPS NAV TABS */
.kiff-km-steps-nav {
    background: #fafafa;
    padding: 0.35rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e5e5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    text-align: center;
    flex-shrink: 0;
}

.kiff-km-nav-tab {
    padding: 0.45rem 0.25rem;
    border-radius: 0.5rem;
    font-size: 11px;
    font-weight: 500;
    color: #737373;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.kiff-km-nav-tab:hover {
    color: #000000;
}

.kiff-km-nav-tab.is-active {
    background: #000000;
    color: #ffffff;
    font-weight: 700;
}

/* TWO-COLUMN GRID (~60vh desktop fit) */
.kiff-km-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .kiff-km-grid-wrapper {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .kiff-km-col-left {
        grid-column: span 7 / span 7;
        max-height: 52vh;
    }

    .kiff-km-col-right {
        grid-column: span 5 / span 5;
        max-height: 52vh;
    }
}

.kiff-km-col-left,
.kiff-km-col-right {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e5e5;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow-y: auto;
}

@media (min-width: 640px) {
    .kiff-km-col-left,
    .kiff-km-col-right {
        padding: 1.5rem;
    }
}

/* STEP PANELS */
.kiff-km-step-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 1rem;
}

.kiff-km-step-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.kiff-km-step-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.kiff-km-step-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.3;
}

.kiff-km-step-sub {
    font-size: 11px;
    color: #737373;
    margin: 0;
}

/* STEP 1: PRODUCTION TYPE CARDS */
.kiff-km-type-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .kiff-km-type-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.kiff-km-type-card {
    cursor: pointer;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.kiff-km-type-card:hover {
    border-color: #d4d4d4;
}

.kiff-km-type-card.is-selected {
    border-color: var(--kiff-c-blue);
    background: rgba(0, 9, 201, 0.05);
    box-shadow: 0 0 0 1px var(--kiff-c-blue);
}

.kiff-km-type-icon {
    color: #737373;
    transition: color 0.2s ease;
}

.kiff-km-type-card.is-selected .kiff-km-type-icon {
    color: var(--kiff-c-blue);
}

.kiff-km-type-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #000000;
    display: block;
}

.kiff-km-type-desc {
    font-size: 10px;
    color: #737373;
    display: block;
}

/* FORM FIELDS (SCOPE & INQUIRY) */
.kiff-km-form-fields {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.kiff-km-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.kiff-km-objectives-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.kiff-km-target-icon {
    color: #a3a3a3;
    flex-shrink: 0;
}

.kiff-km-label-hint {
    font-size: 9px;
    color: #a3a3a3;
    font-weight: 400;
}

.kiff-km-objectives-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.kiff-km-chip {
    padding: 0.38rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    outline: none;
    font-family: inherit;
    line-height: 1.25;
}

.kiff-km-chip:hover {
    border-color: #9ca3af;
    color: #111827;
}

.kiff-km-chip.is-selected {
    border-color: var(--kiff-c-blue);
    background-color: rgba(0, 9, 201, 0.05);
    color: var(--kiff-c-blue);
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--kiff-c-blue);
}

.kiff-km-field-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #737373;
}

.kiff-km-select,
.kiff-km-input {
    width: 100%;
    margin-top: 0.15rem;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #000000;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.kiff-km-select:focus,
.kiff-km-input:focus {
    border-color: var(--kiff-c-blue);
    background: #ffffff;
}

.kiff-km-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.9em;
    cursor: pointer;
}

/* STEP 3: UPGRADES GRID */
.kiff-km-upgrades-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .kiff-km-upgrades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kiff-km-upgrade-card {
    cursor: pointer;
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    background: #ffffff;
}

.kiff-km-upgrade-card:hover {
    border-color: #d4d4d4;
}

.kiff-km-upgrade-card.is-selected {
    border-color: var(--kiff-c-blue);
    background: rgba(0, 9, 201, 0.05);
}

.kiff-km-upgrade-included {
    border-color: var(--kiff-c-blue);
    background: rgba(0, 9, 201, 0.05);
    cursor: default;
}

@media (min-width: 640px) {
    .kiff-km-upgrade-included {
        grid-column: span 2;
    }
}

.kiff-km-upgrade-title {
    font-size: 11px;
    font-weight: 700;
    color: #000000;
    display: block;
}

.kiff-km-upgrade-desc {
    font-size: 9px;
    color: #737373;
    display: block;
}

.kiff-km-upgrade-tag-included {
    font-size: 9px;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    background: var(--kiff-c-blue);
    color: #ffffff;
    border-radius: 0.375rem;
}

.kiff-km-upgrade-tag-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--kiff-c-blue);
}

/* STEP 4: SPECS SUMMARY BOX (LEFT) */
.kiff-km-spec-summary-box {
    background: #fafafa;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    border: 1px solid rgba(229, 229, 229, 0.6);
    font-size: 0.75rem;
}

.kiff-km-spec-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(229, 229, 229, 0.6);
}

.kiff-km-spec-summary-row.is-last {
    padding-bottom: 0;
    border-bottom: none;
}

.kiff-km-spec-label {
    color: #737373;
    font-weight: 500;
}

.kiff-km-spec-val {
    font-weight: 700;
    color: #000000;
}

/* RIGHT COLUMN SUB-STEPS */
.kiff-km-substep-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 0.85rem;
}

.kiff-km-substep-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.kiff-km-sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f5f5f5;
}

.kiff-km-sidebar-header.is-between {
    justify-content: space-between;
}

.kiff-km-sidebar-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kiff-km-sidebar-header-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.375rem;
    background: rgba(0, 9, 201, 0.1);
    color: var(--kiff-c-blue);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kiff-km-sidebar-heading {
    font-size: 0.875rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.kiff-km-link-back {
    font-size: 11px;
    color: #737373;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.kiff-km-link-back:hover {
    color: #000000;
}

/* BUDGET SUMMARY BOX (RIGHT) */
.kiff-km-summary-box {
    background: #fafafa;
    border-radius: 0.75rem;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid rgba(229, 229, 229, 0.6);
    font-size: 0.75rem;
}

.kiff-km-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(229, 229, 229, 0.6);
}

.kiff-km-summary-label {
    color: #737373;
    font-weight: 500;
}

.kiff-km-summary-value {
    font-weight: 700;
    color: #000000;
}

.kiff-km-summary-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 0.15rem;
}

.kiff-km-summary-total-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a3a3a3;
    margin: 0;
}

.kiff-km-summary-total-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #000000;
    letter-spacing: -0.025em;
    margin-top: 2px;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.kiff-km-summary-payment-note {
    font-size: 9px;
    color: #737373;
    font-weight: 500;
}

.kiff-km-sidebar-note {
    font-size: 11px;
    color: #737373;
    margin: 0;
}

/* ALERTS */
.kiff-km-error-alert {
    background: #f5f5f5;
    border: 1px solid #000000;
    color: #000000;
    font-size: 11px;
    padding: 0.65rem;
    border-radius: 0.75rem;
    font-weight: 600;
}

/* BUTTONS & ACTIONS */
.kiff-km-actions-start {
    display: flex;
    justify-content: flex-start;
    padding-top: 0.75rem;
}

.kiff-km-actions-end {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.75rem;
}

.kiff-km-actions-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
}

.kiff-km-sidebar-action {
    padding-top: 0.75rem;
}

.kiff-km-btn-back {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.kiff-km-btn-back:hover {
    background: #e5e5e5;
}

.kiff-km-btn-next {
    padding: 0.6rem 1.25rem;
    background: #000000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.kiff-km-btn-next:hover {
    background: #262626;
}

.kiff-km-btn-request-proposal,
.kiff-km-btn-send-request {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--kiff-c-blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.kiff-km-btn-request-proposal:hover,
.kiff-km-btn-send-request:hover {
    background: #000799;
}
