.sp-kc-search-widget-22b8d42c {
    width: 100%;
    margin-bottom: 0;
    position: relative;
    z-index: 999999;
    overflow: visible !important;
}

.sp-kc-heading-22b8d42c {
    font-size: 28px;
    font-weight: 500;
    color: #2B2B2B;
    margin-bottom: 24px;
    text-align: center;
}

.sp-kc-search-container-22b8d42c {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 999999;
    overflow: visible !important;
}

.sp-kc-search-input-wrapper-22b8d42c {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    position: relative;
    z-index: 999999;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #EBEBEB;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sp-kc-search-icon-22b8d42c {
    width: 22px;
    height: 22px;
    color: #6F8F8E;
    margin-right: 16px;
    flex-shrink: 0;
}

.sp-kc-search-input-field-22b8d42c {
    width: 100%;
    border: none !important;
    background: transparent !important;
    font-size: 18px;
    color: #2B2B2B;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
    font-weight: 400;
}

.sp-kc-search-input-field-22b8d42c::placeholder {
    color: #A0A0A0;
}

.sp-kc-search-clear-btn-22b8d42c {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 8px;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    margin-left: 16px;
}

.sp-kc-search-clear-btn-22b8d42c:hover {
    color: #2B2B2B;
    transform: scale(0.9);
}

.sp-kc-search-clear-btn-22b8d42c svg {
    width: 20px;
    height: 20px;
}

/* Dropdown - Portal Positioned */
.sp-kc-search-dropdown-22b8d42c {
    position: absolute;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #EBEBEB;
    z-index: 9999999 !important;
    padding: 24px;
    pointer-events: auto;
    isolation: isolate;
}

/* Close Icon inside Dropdown */
.sp-kc-dropdown-header-22b8d42c {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.sp-kc-dropdown-close-btn-22b8d42c {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 4px;
    cursor: pointer;
    color: #888;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.sp-kc-dropdown-close-btn-22b8d42c:hover,
.sp-kc-dropdown-close-btn-22b8d42c:focus {
    color: #2B2B2B;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: scale(0.9);
}

.sp-kc-dropdown-close-btn-22b8d42c svg {
    width: 20px;
    height: 20px;
}

/* Suggestions */
.sp-kc-search-suggestions-22b8d42c {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sp-kc-suggestions-group-22b8d42c h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin: 0 0 12px 0;
}

.sp-kc-tags-22b8d42c {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-kc-tag-22b8d42c {
    background: #F7F7F7;
    border: 1px solid #EBEBEB;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #2B2B2B;
    cursor: pointer;
    transition: all 0.2s;
}

.sp-kc-tag-22b8d42c:hover {
    background: #6F8F8E;
    color: #FFFFFF;
    border-color: #6F8F8E;
}

/* Results Area */
.sp-kc-search-loading-22b8d42c {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.sp-kc-search-spinner-22b8d42c {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(111, 143, 142, 0.2);
    border-radius: 50%;
    border-top-color: #6F8F8E;
    animation: sp-kc-spin-22b8d42c 1s ease-in-out infinite;
}

@keyframes sp-kc-spin-22b8d42c {
    to { transform: rotate(360deg); }
}

.sp-kc-search-result-item-22b8d42c {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #F7F7F7;
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 1px solid transparent;
}

.sp-kc-search-result-item-22b8d42c:last-child {
    margin-bottom: 0;
}

.sp-kc-search-result-item-22b8d42c:hover,
.sp-kc-search-result-item-22b8d42c.is-selected {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: #EBEBEB;
    background: #FFFFFF;
}

.sp-kc-result-header-22b8d42c {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.sp-kc-result-title-22b8d42c {
    font-size: 16px;
    font-weight: 500;
    color: #2B2B2B;
    margin: 0;
    line-height: 1.4;
}

.sp-kc-result-badge-22b8d42c {
    font-size: 12px;
    color: #6F8F8E;
    background: rgba(111, 143, 142, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: 12px;
}

.sp-kc-result-desc-22b8d42c {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.sp-kc-search-empty-state-22b8d42c {
    text-align: center;
    padding: 40px 24px;
}

.sp-kc-empty-title-22b8d42c {
    font-size: 16px;
    font-weight: 500;
    color: #2B2B2B;
    margin: 0 0 8px 0;
}

.sp-kc-empty-subtitle-22b8d42c {
    font-size: 14px;
    color: #888;
    margin: 0;
}

@media (max-width: 768px) {
    .sp-kc-heading-22b8d42c {
        font-size: 24px;
    }
    .sp-kc-search-input-field-22b8d42c {
        font-size: 16px;
    }
    .sp-kc-search-input-wrapper-22b8d42c {
        padding: 12px 16px;
    }
    .sp-kc-search-dropdown-22b8d42c {
        padding: 16px;
    }
}