/**
 * Kings Compare Frontend Styles - Clean & Optimized
 * Modern, lightweight styling without duplicates
 */

/* CSS Custom Properties */
:root {
    --kc-primary: #3a1160;
    --kc-primary-hover: #21063a;
    --kc-danger: #ef4444;
    --kc-danger-hover: #dc2626;
    --kc-success: #10b981;
    --kc-success-hover: #059669;
    --kc-warning: #fbbf24;
    --kc-warning-hover: #fbbf24;    
    --kc-info: #41a3ff;
    --kc-info-hover: #2d93f3;
    --kc-body-bg: #ffffff;
    --kc-white: #ffffff;
    --kc-black: #000000;
    --kc-light: #f0f9ff;
    --kc-border: #e9ecef;
    --kc-gray-50: #edf9ff;
    --kc-gray-100: #f3f4f6;
    --kc-gray-200: #e5e7eb;
    --kc-gray-300: #d1d5db;
    --kc-gray-400: #9ca3af;
    --kc-gray-500: #6b7280;
    --kc-gray-600: #4b5563;
    --kc-gray-700: #495057;
    --kc-gray-800: #1f2937;
    --kc-gray-900: #002069;


    --kc-gradient: linear-gradient(134deg, #3c59fc, #7600e0);
    --kc-gradient-hover: linear-gradient(134deg, #7600e0, #3c59fc);

    --kc-button-text-color: var(--kc-white);
    --kc-button-bg-color: var(--kc-gradient);
    --kc-button-hover-color: var(--kc-gradient-hover);

    --kc-white: #ffffff;
    --kc-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --kc-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --kc-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --kc-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --kc-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --kc-radius-sm: 0.375rem;
    --kc-radius: 0.5rem;
    --kc-radius-md: 0.75rem;
    --kc-radius-lg: 1rem;
    --kc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

 h1, h2, h3, h4, h5, h6, p {
     font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
}

.kc-container {
    max-width: 1470px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.kc-sidebar-container {
    display: flex;
    gap: 30px;

    .kc-cat-result {
        width: 100%;
    }

.kc-sidebar-wrapper {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    align-self: flex-start;


    .kc-action-camera-filter-groups,
    .kc-camera-filter-groups,
    .kc-camera-lens-filter-groups,
    .kc-cpu-filter-groups,
    .kc-ereader-filter-groups,
    .kc-console-filter-groups,
    .kc-gpu-filter-groups,
    .kc-headphone-filter-groups,
    .kc-laptop-filter-groups,
    .kc-microphone-filter-groups,
    .kc-motherboard-filter-groups,
    .kc-mouse-filter-groups,
    .kc-portable-speaker-filter-groups,
    .kc-robot-vacuum-filter-groups,
    .kc-smartwatch-filter-groups,
    .kc-soundbar-filter-groups,
    .kc-sports-watch-filter-groups,
    .kc-ssd-filter-groups,
    .kc-tablet-filter-groups,
    .kc-wireless-earbuds-filter-groups,
    .kc-tv-filter-groups,
    .kc-mobile-filter-groups,
    .kc-monitor-filter-groups,
    .kc-car-filter-groups {
        fieldset {
            box-sizing: border-box;
            margin: 10px 0;
            max-height: 150px;
            overflow: auto;
            padding: 0;
            border: 0;

            /* > label {
                margin-bottom: 8px;
                display: block;
            } */

            legend {
                color: var(--kc-black);
                font-size: 13px;
                font-weight: bolder;
                padding: 10px 0px;
                text-transform: uppercase;
                border-bottom: 1px solid var(--kc-border);
                width: 100%;
                letter-spacing: .5px;
                font-weight: 600;
            }
        
            > label {
                display: block;
                border-bottom: 1px solid var(--kc-border);
                padding: 5px 0;
            }
            span {
                color: var(--kc-gray-700);
                font-size: 13px;
                font-weight: bolder;
                padding: 10px 0px;
                text-transform: uppercase;
            }

        }

        
    }
}

}
/* button */

.kc-quick-add-to-compare,
.kc-add-product-btn,
.kc-modal-compare-btn,
.kc-search-btn,
.kc-vs-select-btn,
.kc-vs-start-comparison-btn,
.kc-btn-primary,
.kc-btn,
.kc-compare-share-btn,
.kc-add-to-compare-btn {
    border: none !important;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--kc-button-bg-color);
    border-radius: 20px;
    box-shadow: 0 0 4px 4px rgba(0, 0, 0, .1);
    color: var(--kc-button-text-color);
    cursor: pointer;
    display: flex;
    gap: 8px;
    padding: .5em 1.5em;
}
.kc-quick-add-to-compare:hover,
.kc-add-product-btn:hover,
.kc-modal-compare-btn:hover,
.kc-search-btn:hover,
.kc-vs-select-btn:hover,
.kc-vs-start-comparison-btn:hover,
.kc-btn-primary:hover,
.kc-btn:hover,
.kc-compare-share-btn:hover,
.kc-add-to-compare-btn:hover {
     background: var(--kc-button-hover-color);
    color: var(--kc-button-text-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(31, 31, 31, 0.3);
}

.kc-add-product-btn.added {
    background: var(--kc-success) !important;
    color: white !important;
    cursor: pointer !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.kc-add-product-btn.added:hover {
    background: var(--kc-success-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(5, 150, 105, 0.3);
}

.kc-add-product-btn.added:active {
    transform: translateY(0);
}

.kc-search-btn {
    border-radius: 8px;
}

.kc-btn-secondary {
    background: var(--kc-white);
    color: #6c757d;
    border: 1px solid var(--kc-border);
}

.kc-btn-secondary:hover {
    background: var(--kc-light);
    color: var(--kc-gray-700) !important;
    text-decoration: none;
}

.kc-vs-remove-btn {
    width: 32px;
    height: 32px;
    color: var(--kc-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    background: var(--kc-danger);
    border-radius: 6px;
    transition: 0.3s;

    svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentcolor;
        stroke-width: 2;
    }

    &:hover {
        transform: scale(1.05);
        background: var(--kc-danger-hover);
    }
}


.kc-vs-select-btn.selected {
    background: var(--kc-success);
    color: rgb(255, 255, 255);
}


.kc-quick-view-close,
.kc-remove-product {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--kc-danger);
    color: var(--kc-white);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;

    &:hover {
        background: var(--kc-danger-hover);
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    }

    svg {
        width: 14px;
        height: 14px;
    }

}






.kc-quick-view-loading,
.kc-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #666;
}
/* .kc-loading-spinner, */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Breadcrumb */
.kc-product-breadcrumb {
    background: var(--kc-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--kc-border);

    .kc-breadcrumb-links {
        display: flex;
        align-items: center;
        font-size: 14px;

        .kc-breadcrumb-link {
            color: var(--kc-gray-800);
            text-decoration: none;
            transition: color 0.3s ease;
            
            &:hover {
                color: var(--kc-gray-700);
            }
        }
    }

    .kc-breadcrumb-separator {
        margin: 0 12px;
        line-height: 1;
        color: #6c757d;
    }

    .kc-breadcrumb-current {
        color: var(--kc-gray-700);
    }

}



/* Pagination */
.kc-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    align-items: center;

    .current {
        background: var(--kc-white);
        color: #562fef;
        border: 1px solid #667eea;
    }

    a,
    span {
       text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        border-radius: 40px;
        height: 40px;
        width: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
    }
     a {
        background: var(--kc-white);
        color: #000;
        border: 1px solid var(--kc-border);
   
        &:hover {
            background: #f0f4ff;
            transform: translateY(-1px);
        }
    }
}

/* Tooltip  */
.kc-has-tooltip {
    position: relative;
    cursor: pointer;

    &:before {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
        padding: 8px 12px;
        background: var(--kc-gray-800);
        color: var(--kc-white);
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
        border-radius: 6px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    &:after {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-2px);
        border: 6px solid transparent;
        border-top-color: var(--kc-gray-800);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
        z-index: 1000;
    }

    &:hover::before,
    &:hover::after {
        opacity: 1;
        visibility: visible;
    }

    &:hover::before {
        transform: translateX(-50%) translateY(-12px);
    }

    &:hover::after {
        transform: translateX(-50%) translateY(-6px);
    }
}


.kc-products-archive {
    color: #2d3748;

    .kc-search-categories-wrapper {
        background: radial-gradient(ellipse 120% 210% at 95% 0, #531889 10%, #000 70%);
        padding: 100px 30px;

        .kc-search-section {
            margin-bottom: 60px;
            text-align: center;
        }
    }


    /* home search */
    .kc-search-section {
        margin-bottom: 30px;
        text-align: center;

        .kc-search-form {
            display: inline-block;
            max-width: 500px;
            width: 100%;

            .kc-search-container {
                display: flex;
                gap: 10px;
                align-items: center;
                flex: 1;
                max-width: 500px;
                position: relative;
                border: 0;
                border-radius: 8px;
                transition: border-color 0.3s ease;
                background: var(--kc-white);

                .kc-search-input {
                    flex: 1;
                    padding: 15px;
                    border: none;
                    background: transparent;
                    font-size: 16px;
                    outline: none;
                    color: var(--kc-gray-700);
                    border-radius: 8px;
                    transition: border-color 0.3s ease;
                    margin: 0;
                }

                .kc-search-button {
                    padding: 15px 20px;
                    background: var(--kc-gradient-hover);
                    color: var(--kc-white);
                    border: none;
                    font-weight: 600;
                    cursor: pointer;
                    transition: background 0.3s ease;
                    display: flex ;
                    align-items: center;
                    justify-content: center;
                    border-radius: 0 5px 5px 0;

                    svg {
                        width: 20px;
                        height: 20px;
                    }

                }

                .kc-search-suggestions {
                    position: absolute;
                    top: 100%;
                    left: 0;
                    right: 0;
                    background: var(--kc-white);
                    border: 1px solid #ddd;
                    border-top: none;
                    border-radius: 0 0 8px 8px;
                    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
                    z-index: 1000;
                    max-height: 400px;
                    overflow-y: auto;
                    display: none;

                    .kc-suggestion-item {
                        display: flex;
                        align-items: center;
                        padding: 12px 16px;
                        border-bottom: 1px solid #f0f0f0;
                        cursor: pointer;
                        transition: background-color 0.2s ease;

                        &:hover {
                            background: #e8f3ff;
                        }

                        .kc-suggestion-image {
                            width: 40px;
                            height: 40px;
                            object-fit: cover;
                            border-radius: 4px;
                            margin-right: 12px;
                        }

                        .kc-suggestion-content {
                            flex: 1;
                            display: flex;
                            align-items: start;
                            padding: 12px 16px;
                            border-bottom: 1px solid #f0f0f0;
                            cursor: pointer;
                            flex-direction: column;

                            .kc-suggestion-title {
                                font-size: 14px;
                                font-weight: 600;
                                margin: 0 0 4px 0;
                                color: #333;
                            }

                            .kc-suggestion-excerpt {
                                font-size: 12px;
                                color: #666;
                                margin: 0;
                                line-height: 1.4;
                            }

                        }

                    }

                }

                .kc-suggestions-footer {
                    display: flex;
                    justify-content: flex-end;
                    align-items: center;
                    padding: 8px 16px;
                    border-top: 1px solid #f1f5f9;
                    background: #f9fafb;

                    .kc-suggestions-footer-text {
                        font-size: 12px;
                        color: #64748b;
                        font-style: italic;
                    }
                }

            }

        }

    }

    /* home Categories */
    .kc-categories-section {
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

        .kc-categories-title {
            font-size: 24px;
            font-weight: 600;
            margin: 0 0 20px 0;
            text-align: center;
            color: var(--kc-white);
            position: relative;
        }

        .kc-categories-container {
            position: relative;
            max-width: 100%;
            overflow: hidden;

            .kc-categories-slider {
                display: flex;
                gap: 15px;
                overflow-x: auto;
                scroll-behavior: smooth;
                padding: 10px 0;
                scrollbar-width: none;
                -ms-overflow-style: none;

                .kc-category-item {
                    flex: 0 0 auto;
                    background: var(--kc-white);
                    border: 1px solid var(--kc-gray-200);
                    border-radius: var(--kc-radius-lg);
                    transition: var(--kc-transition);
                    min-width: 200px;

                    .kc-category-link {
                        /* display: block; */
                        padding: 20px;
                        background: var(--kc-white);
                        border-radius: 12px;
                        text-decoration: none;
                        border: 2px solid #e6efff;
                        transition: all 0.3s ease;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        color: #333;
                        text-align: center;
                        position: relative;
                        overflow: hidden;

                        .kc-category-name {
                            font-size: 1rem;
                            font-weight: 600;
                            margin-bottom: 0.25rem;
                            color: var(--kc-gray-900);
                            display: block;
                            transition: var(--kc-transition);
                            margin-top: 0;
                        }

                        .kc-category-count {
                            font-size: 0.675rem;
                            color: var(--kc-gray-500);
                            font-weight: 500;
                            transition: var(--kc-transition);
                            opacity: 0.7;
                        }

                    }

                }

            }

        }

    }

    
/* Most Popular Comparisons Section */
.kc-popular-comparisons-section {
    margin: 0;
    padding: 40px 20px;
    background: var(--kc-white);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);

    .kc-section-heading {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 24px;
        font-weight: 600;
        color: #2d3748;
        margin: 0 0 30px 0;
        text-align: center;
        justify-content: center;

        svg {
            color: #667eea;
            stroke-width: 2.5;
            width: 24px;
            height: 24px;
            fill: none;
            stroke: currentcolor;
        }
    }

    .kc-popular-comparisons-slider {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 50px;

        .slick-list {
            margin: 0 -12px;

            .slick-track {

                .kc-comparison-pair {
                    background: var(--kc-light);
                    border-radius: 12px;
                    overflow: hidden;
                    transition: all 0.3s ease;
                    border: 2px solid transparent;
                    position: relative;
                    border: 1px solid var(--kc-border);

                    .kc-comparison-link {
                        display: block;
                        text-decoration: none;
                        color: inherit;

                        .kc-comparison-products {
                            display: grid;
                            grid-template-columns: 1fr auto 1fr;
                            align-items: center;
                            gap: 12px;
                            padding: 20px;
                            background: var(--kc-white);

                            .kc-comparison-product {
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                
                                .kc-comparison-image {
                                    width: 100px;
                                    height: 100px;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    overflow: hidden;
                                    border-radius: 8px;
                                    background: var(--kc-light);
                                    
                                    img {
                                        width: 100%;
                                        height: 100%;
                                        object-fit: contain;
                                        transition: transform 0.3s ease;
                                    }

                                    .kc-no-image {
                                        display: flex;
                                        align-items: center;
                                        justify-content: center;
                                        width: 100%;
                                        height: 100%;
                                        background: var(--kc-border);
                                        color: #adb5bd;
                                    }
                                }

                                &:hover .kc-comparison-image img {
                                    transform: scale(1.05);
                                }
                            }

                            .kc-vs-badge {
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                width: 40px;
                                height: 40px;
                                background: var(--kc-gradient);
                                border-radius: 50%;
                                color: var(--kc-white);
                                font-weight: 700;
                                font-size: 14px;
                                text-transform: uppercase;
                                box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
                                padding: 0;
                                position: revert;
                            }
                        }

                        .kc-comparison-titles {
                            padding: 16px 20px;
                            background: var(--kc-white);
                            display: flex;
                            flex-direction: column;
                            gap: 3px;
                            align-items: center;
                            text-align: center;
                            border-top: 1px solid var(--kc-border);

                            .kc-comparison-title {
                                font-size: 14px;
                                font-weight: 600;
                                color: #1C2D44;
                                line-height: 1.4;
                            }

                            .kc-comparison-separator {
                                font-size: 12px;
                                font-weight: 500;
                                color: #646464;
                                text-transform: uppercase;
                            }
                        }
                    }

                    &:hover {
                        transform: translateY(-4px);
                        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
                        border-color: transparent;
                    }
                }
            }
        }

        .slick-slide {
            /* padding: 0 12px; */
            margin: 10px 8px;
        }
    }
}

    /* home listings */
    .kc-products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
        padding:0;
        margin-bottom: 30px;

        .kc-product-item {
            background: var(--kc-white);
            border: 1px solid var(--kc-border);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;

        &:hover {
                transform: translateY(-2px);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
                border-color: transparent;
            }

            .kc-product-image {
                position: relative;
                width: 100%;
                height: 220px;
                background: var(--kc-light);
                overflow: hidden;
                margin: 0;
                border-radius: 0;
                border: 0;
                border-bottom: 1px solid var(--kc-border);
                display: flex;
                align-items: center;
                justify-content: center;                
                aspect-ratio: 4 / 3;
                object-fit: cover;
                transition: transform 0.3s ease;

                .no-image {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    height: 100%;
                    background: var(--kc-gray-100);
                    color: var(--kc-gray-500);
                    font-size: 1rem;
                    font-weight: 500;
                }
            }

            .kc-product-content {
                font-size: 18px;
                font-weight: 700;
                padding: 15px;

                .kc-product-title {
                    margin: 0 0 15px 0;

                    a {
                        color: #000000;
                        text-decoration: none;
                        font-size: 16px;
                        font-weight: 700;
                    }
                }

                .kc-product-categories {
                    margin: 10px 0 15px 0;
                    display: flex;
                    flex-wrap: wrap;
                    gap: 6px;

                    .kc-product-category-link {
                        display: inline-block;
                        padding: 5px 10px;
                        color: #666;
                        text-decoration: none;
                        border-radius: 18px;
                        font-size: 11px;
                        font-weight: 500;
                        transition: all 0.3s ease;
                        border: 1px solid #e0e0e0;

                        &:hover {
                            background: var(--kc-gray-50);
                            text-decoration: none;
                            border: 1px solid var(--kc-gray-50);
                        }
                    }
                }

                .kc-product-actions {
                    display: flex;
                    gap: 16px;
                    margin-top: 30px;
                }
            }
        }
    }

}

/* home popular comparisons */
/* .kc-popular-comparisons-section {
    margin: 0;
    padding: 40px 20px;
    background: var(--kc-white);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);

    .kc-section-heading {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 24px;
        font-weight: 600;
        color: #2d3748;
        margin: 0 0 30px 0;
        text-align: center;
        justify-content: center;

        svg {
            color: #667eea;
            stroke-width: 2.5;
            width: 24px;
            height: 24px;
            fill: none;
            stroke: currentcolor;
        }

    }
} */


/* Specifications Section */
.kc-product-specifications {
    padding: 30px 0;
    background: var(--kc-body-bg);

    .kc-section-title {
        font-size: 18px;
        font-weight: 700;
        color: #1a202c;
        text-align: center;
        margin: 0 0 30px 0;
    }
    
    .kc-specifications-grid {
        display: grid;
        gap: 15px;

        .kc-spec-section {
            background: var(--kc-white);
            overflow: hidden;

            .kc-spec-section-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 0px 15px;
                cursor: pointer;
                /* background: var(--kc-gray-50); */
                background: var(--kc-body-bg);
                transition: all 0.3s ease;
                border-bottom: 2px solid #f1f5f9;

                &:hover {
                    /* background: var(--kc-body-bg); */
                    background: var(--kc-gray-50);
                }

                .kc-accordion-header-title {
                    display: flex;
                    align-items: center;

                    .kc-section-icon {
                        font-size: 20px;
                        color: var(--kc-gray-900);
                        margin-right: 10px;
                    }

                    .kc-spec-section-title {
                        font-size: 16px;
                        font-weight: 700;
                        color: var(--kc-gray-900);
                        margin: 0;
                        padding: 20px 10px 20px 0px;
                    }


                }
                
                .kc-accordion-icon {
                    color: #667eea;
                    transition: transform 0.3s ease;
                    display: flex;
                    align-items: center;

                    svg {
                        width: 20px;
                        height: 20px;
                    }
                }
                
            }

        }
    }

}


/* Compare Button Component */
.kings-compare-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--kc-primary);
    color: var(--kc-button-text-color);
    border: none;
    border-radius: var(--kc-radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--kc-transition);
    box-shadow: var(--kc-shadow-sm);

    &:hover {
    background: var(--kc-button-hover-color);
    color: var(--kc-button-text-color);
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: var(--kc-shadow-md);
    }

    &:active {
        transform: translateY(0);
        box-shadow: var(--kc-shadow-sm);
    }

    &.added {
        background: var(--kc-danger);

        &:hover {
            background: var(--kc-danger-hover);
        }
    }

    &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;

        &:hover {
            background: var(--kc-primary);
            transform: none;
            box-shadow: var(--kc-shadow-sm);
        }
    }

    &.single-product {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-width: 10rem;
    }
}

/* Product Grid & Items */
.kc-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.kc-product-item {
    background: var(--kc-white);
    border: 1px solid var(--kc-gray-200);
    border-radius: var(--kc-radius-lg);
    overflow: hidden;
    transition: var(--kc-transition);

    &:hover {
        transform: translateY(-4px);
        box-shadow: var(--kc-shadow-lg);
        border-color: var(--kc-primary);

        .kc-product-image img {
            transform: scale(1.05);
        }
    }
}


/* Modern KC Category Archive Styles */
.kc-category-archive {

    .kc-category-hero {
        background: radial-gradient(120% 210% at 95% 0px, rgb(83 24 137) 10%, rgb(0 0 0) 70%);
        color: var(--kc-white);
        padding: 60px 0;

        .kc-breadcrumb {
            display: flex;
            align-items: center;
            font-size: 14px;
            justify-content: center;

            a {
                text-decoration: none;
                transition: color 0.3s ease;
                color: var(--kc-white);
                font-size: 14px;
            }
            .kc-breadcrumb-separator {
                line-height: 1;
            }
        }

        .kc-hero-content {
            text-align: center;

            .kc-hero-text {
                .kc-hero-title {
                    font-size: 48px;
                    font-weight: 700;
                    margin: 0 0 16px 0;
                    line-height: 1.2;
                    color: var(--kc-white);
                }
            }
        }
    }

    .kc-filters-section {
        background: var(--kc-white);
        border-bottom: 1px solid #eee;
        padding: 20px 0;
        margin-bottom: 40px;
        position: sticky;
        top: 0;
        z-index: 10;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);

        .kc-filters-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;

            /* search */
            .kc-search-container {
                display: flex;
                gap: 10px;
                align-items: center;
                flex: 1;
                max-width: 500px;
                
                .kc-search-form {
                    display: inline-block;
                    max-width: 500px;
                    width: 100%;


                    .kc-search-input-wrapper {
                        position: relative;
                        display: flex;
                        align-items: center;
                        /* background: var(--kc-light); */
                        border-radius: 12px;
                        border: 1px solid var(--kc-border);
                        transition: border-color 0.3s ease;
                        
                        .kc-search-icon {
                            position: absolute;
                            left: 15px;
                            color: #6c757d;
                            z-index: 2;
                        }

                        &:focus-within {
                            border-color: transparent;
                        }

                        input#kc-search-input {
                            flex: 1;
                            padding: 10px 15px 15px 50px;
                            border: none;
                            background: transparent;
                            font-size: 16px;
                            outline: none;
                            color: var(--kc-gray-700);
                            margin: 0;

                            &::placeholder {
                                color: #6c757d;
                            }

                            &:focus {
                                outline: none;
                                box-sizing: 0;
                                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
                                color: #111;

                            }
                        }

                        .kc-search-button {
                            padding: 15px 20px;
                            background: var(--kc-gradient);
                            color: var(--kc-white);
                            border: none;
                            font-weight: 600;
                            cursor: pointer;
                            transition: background 0.3s ease;
                            border-radius: 0 4px 4px 0;                            
                        }

                        .kc-search-suggestions {
                            position: absolute;
                            top: 100%;
                            left: 0;
                            right: 0;
                            background: var(--kc-white);
                            border: 1px solid #ddd;
                            border-top: none;
                            border-radius: 0 0 8px 8px;
                            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
                            z-index: 1000;
                            max-height: 400px;
                            overflow-y: auto;
                            display: none;

                            .kc-suggestion-item {
                                display: flex;
                                align-items: center;
                                padding: 12px 16px;
                                border-bottom: 1px solid #f0f0f0;
                                cursor: pointer;
                                transition: background-color 0.2s ease;

                                .kc-suggestion-image {
                                    width: 40px;
                                    height: 40px;
                                    object-fit: cover;
                                    border-radius: 4px;
                                    margin-right: 12px;
                                }
                                .kc-suggestion-content {
                                    flex: 1;

                                    .kc-suggestion-title {
                                        font-size: 14px;
                                        font-weight: 600;
                                        margin: 0 0 4px 0;
                                        color: #333;
                                    }
                                    .kc-suggestion-excerpt {
                                        font-size: 12px;
                                        color: #666;
                                        margin: 0;
                                        line-height: 1.4;
                                    }
                                }
                            }

                            .kc-suggestions-footer {
                                display: flex;
                                justify-content: flex-end;
                                align-items: center;
                                padding: 8px 16px;
                                border-top: 1px solid #f1f5f9;
                                background: #f9fafb;

                                .kc-suggestions-footer-text {
                                    font-size: 12px;
                                    color: #64748b;
                                    font-style: italic;
                                }
                            }

                        }


                .kc-car-filter-panel {
                    flex-basis: 100%;
                    background: #f9fafb;
                    border: 1px solid var(--kc-border);
                    border-radius: 16px;
                    padding: 18px 20px;
                }

                .kc-car-filter-form {
                    display: flex;
                    flex-direction: column;
                    gap: 18px;
                }

                .kc-car-filter-groups {
                    display: grid;
                    gap: 16px;
                    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
                }

                .kc-car-filter-group {
                    background: var(--kc-white);
                    border: 1px solid var(--kc-border);
                    border-radius: 14px;
                    padding: 14px 16px;
                }

                .kc-car-filter-group legend {
                    font-weight: 600;
                    font-size: 14px;
                    color: var(--kc-gray-800);
                    margin-bottom: 10px;
                }

                .kc-car-filter-brands-list {
                    max-height: 220px;
                    overflow-y: auto;
                    padding-right: 4px;
                }

                .kc-car-filter-brands-list::-webkit-scrollbar {
                    width: 6px;
                }

                .kc-car-filter-brands-list::-webkit-scrollbar-thumb {
                    background-color: rgba(102, 126, 234, 0.4);
                    border-radius: 3px;
                }

                .kc-car-filter-option {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    font-size: 13px;
                    color: var(--kc-gray-700);
                    margin-bottom: 8px;
                }

                .kc-car-filter-option:last-child {
                    margin-bottom: 0;
                }

                .kc-car-filter-option input[type="checkbox"] {
                    width: 16px;
                    height: 16px;
                    accent-color: #667eea;
                }

                .kc-car-filter-seating label {
                    display: block;
                    font-weight: 600;
                    margin-bottom: 10px;
                    color: var(--kc-gray-800);
                }

                .kc-car-filter-seating select {
                    width: 100%;
                    padding: 10px 12px;
                    border-radius: 12px;
                    border: 1px solid var(--kc-border);
                    font-size: 14px;
                    background: var(--kc-white);
                    color: var(--kc-gray-700);
                }

                .kc-car-filter-actions {
                    display: flex;
                    align-items: center;
                    gap: 14px;
                    flex-wrap: wrap;
                }

                .kc-car-filter-apply {
                    padding: 12px 28px;
                    border-radius: 999px;
                    font-size: 14px;
                    font-weight: 600;
                }

                .kc-car-filter-reset {
                    color: #667eea;
                    font-weight: 500;
                    text-decoration: none;
                }

                .kc-car-filter-reset:hover {
                    text-decoration: underline;
                }

                @media (min-width: 769px) {
                    body.kc-car-filter-auto-enabled .kc-car-filter-actions .kc-car-filter-apply {
                        display: none;
                    }
                }
                    }

                }

            }

            .kc-filter-controls {
                display: flex;
                gap: 20px;
                align-items: center;
                flex-shrink: 0;

                .kc-sort-wrapper {
                    display: flex;
                    align-items: center;
                    gap: 10px;

                    .kc-sort-label {
                        margin: 0;
                    }

                    .kc-sort-select {
                        padding: 8px 15px;
                        border: 0px solid var(--kc-border);
                        border-radius: 4px;
                        background: var(--kc-white);
                        font-size: 14px;
                        cursor: pointer;
                        margin: 0;

                        &:focus {
                            outline: none;
                            box-sizing: 0;
                            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
                            color: #111;
                        }

                        option {
                            padding: 10px 15px;
                            border: 2px solid var(--kc-border);
                            border-radius: 8px;
                            background: var(--kc-white);
                            font-size: 14px;
                            min-width: 140px;
                            cursor: pointer;
                        }

                    }


                }

                .kc-view-toggle {
                    display: flex;
                    border-radius: 8px;
                    overflow: hidden;
                    border: 1px solid var(--kc-border);

                    .kc-view-btn {
                        padding: 10px 12px;
                        background: transparent;
                        border: none;
                        cursor: pointer;
                        color: #6c757d;
                        transition: all 0.3s ease;

                            &.active {
                                background: var(--kc-gradient);
                                color: var(--kc-white);
                            }

                            svg {
                                width: 18px;
                                height: 18px;
                            }
                    }

                }

            }

        }

    }

    .kc-products-section {

        .kc-results-header {
            margin-bottom: 30px;

            .kc-results-info {

                .kc-results-title {
                    font-size: 28px;
                    font-weight: 700;
                    margin: 0 0 8px 0;
                    color: #2d3748;
                }

                .kc-results-text {
                    color: #6c757d;
                    margin: 0 0 15px 0;
                    font-size: 16px;

                    strong {
                        font-weight: 900;
                    }
                }

            }
        }


        .kc-products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            padding: 0;
            margin: 2rem 0;

            .kc-product-card {
                position: relative;
                display: block;
                flex-direction: column;
                gap: 0;
                padding: 0  ;
                /* background: var(--kc-light);  */
                border-radius: 8px;
                transition: all 0.3s ease;
                overflow: hidden;
                text-align: left;
                box-shadow: none;
                border: 1px solid #e5e7eb;

                .kc-product-image-container {
                    position: relative;
                    aspect-ratio: 4 / 3;
                    overflow: hidden;
                    background: var(--kc-light);
                    width: 100%;
                    border: 1px solid var(--kc-border);
                    max-width: 500px;

                    .kc-product-image-link {
                        display: block;
                        width: 100%;
                        height: 100%;

                        .kc-product-image {
                            height: auto;
                            width: 100%;
                            background: var(--kc-light);
                            margin: 0 auto 16px;
                            border-radius: 0;
                            overflow: hidden;
                            border: 0 solid var(--kc-border);
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            position: relative;
                            aspect-ratio: 4 / 3;
                            object-fit: cover;
                            transition: transform 0.3s ease;
                        }

                    }

                    .kc-product-actions-overlay {
                        position: absolute;
                        top: 15px;
                        right: 15px;
                        display: flex;
                        flex-direction: column;
                        gap: 8px;
                        opacity: 0;
                        transform: translateX(10px);
                        transition: all 0.3s ease;

                        .kc-view-details-btn,
                        .kc-quick-view-btn {
                            width: 40px;
                            height: 40px;
                            border-radius: 50%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            cursor: pointer;
                            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
                            transition: all 0.3s ease;
                            background: var(--kc-gradient);
                            color: #ffffff !important;
                            border: none !important;
                            padding: 0;
                            margin: 0;
                            
                            &:hover {
                                background: linear-gradient(134deg, #7600e0, #3c59fc) !important;
                                color: #fff ;
                                transform: scale(1.1);
                            }

                        }

                        .kc-add-to-compare-btn {
                            border: none !important;
                            height: 40px;
                            align-items: center;
                            background: var(--kc-gradient);
                            border-radius: 20px;
                            box-shadow: 0 0 4px 4px rgba(0, 0, 0, .1);
                            color: var(--kc-white);
                            cursor: pointer;
                            display: flex;
                            gap: 8px;
                            padding: .5em 1.5em;
                        }

                    }                    

                }

                &:hover {
                    transform: translateY(-8px);
                    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
                    border-color: #667eea;

                     .kc-product-actions-overlay {
                        opacity: 1;
                        transform: translateX(0);
                    }

                    .kc-product-image {
                        transform: scale(1.05);
                    }

                }

                .kc-product-content {
                    padding: 15px;
                    max-width: 100%;

                    .kc-product-meta {
                        display: flex;
                        gap: 8px;
                        margin-bottom: 12px;
                        flex-wrap: wrap;

                        /* .kc-product-category {
                            background: #e7f3ff;
                            color: #0066cc;
                        }
                        .kc-product-brand {
                            background: #f0f9ff;
                            color: #0284c7;
                        } */

                        .kc-product-category, 
                        .kc-product-brand {
                            background: #f0f9ff;
                            font-size: 11px;
                            font-weight: 600;
                            padding: 4px 10px;
                            text-transform: uppercase;
                            letter-spacing: 0.5px;
                            display: inline-block;
                            color: #0066cc;
                            text-decoration: none;
                            border-radius: 18px;
                            transition: all 0.3s ease;
                            /* border: 1px solid #e0e0e0; */
                            margin-bottom: 8px;
                        }

                    }

                    .kc-product-title {
                        margin: 0 0 15px 0;

                        .kc-product-title-link {
                            color: #2d3748;
                            text-decoration: none;
                            font-size: 18px;
                            font-weight: 600;
                            transition: color 0.3s ease;
                        }
                    }

                    .kc-product-description {
                        color: #6c757d;
                        margin: 0 0 16px 0;
                        line-height: 1.6;
                        font-size: 14px;
                    }

                    .kc-product-feature {
                        margin: 16px 0;

                        .kc-feature-item {
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            padding: 8px 0;
                            border-bottom: 1px solid #f1f5f9;
                            font-size: 13px;

                            .kc-feature-label {
                                font-weight: 500;
                                color: #4a5568;
                            }

                            .kc-feature-value {
                                color: #718096;
                                text-align: right;
                            }
                        }

                    }

                    .kc-product-footer {
                        margin: 30px 0 20px 0;
                        padding-top: 0;
                        border-top: 1px solid #f1f5f9;

                        .kc-view-details-btn {
                            display: inline-flex;
                            align-items: center;
                            gap: 8px;
                            text-decoration: none;
                            font-weight: 600;
                            font-size: 14px;
                            transition: all 0.3s ease;
                            background: var(--kc-gradient);
                            border: none !important;
                            border-radius: 20px;
                            box-shadow: 0 0 4px 4px rgba(0, 0, 0, .1);
                            color: var(--kc-white);
                            cursor: pointer;
                            padding: .5em 1.5em;

                            &:hover {
                                background: var(--kc-gradient-hover);
                                transform: translateY(-2px);
                            }

                       
                        }


                    }

                }


            }

        }


    }

}

/* Related Categories */
.kc-related-categories {
    margin: 60px 0 40px 0;
    padding: 40px;
    background: var(--kc-light);
    border-radius: 16px;

    h3 {
        color: #2d3748;
        margin: 0 0 24px 0;
        font-size: 24px;
        font-weight: 700;
        text-align: center;
    }

    .kc-categories-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;

        .kc-category-link {
            display: block;
            padding: 20px;
            border: 2px solid #e6efff;
            transition: all 0.3s ease;
            flex-direction: column;
            align-items: center;
            background: var(--kc-white);
            border-radius: 8px;
            text-decoration: none;
            color: #333;
            text-align: center;
            position: relative;
            overflow: hidden;

            &:hover {
                border-color: #667eea;
                transform: translateY(-2px);
                box-shadow: 0 8px 16px rgba(102, 126, 234, 0.1);
            }
            
            .kc-category-name {
                display: block;
                color: #2d3748;
                font-weight: 600;
                margin-bottom: 4px;
            }

            .kc-category-count {
                color: #6c757d;
                font-size: 14px;
            }

        }

    }

}

.kc-product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--kc-gray-50);

    a {
        display: block;
        width: 100%;
        height: 100%;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--kc-transition);
    }

    .no-image {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        background: var(--kc-gray-100);
        color: var(--kc-gray-500);
        font-size: 1rem;
        font-weight: 500;
    }
}

.kc-product-content {
    padding: 1rem;
}

/* Compare Widget */
.kings-compare-widget {
    position: fixed;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    background: var(--kc-white);
    border: 1px solid var(--kc-gray-200);
    border-radius: var(--kc-radius-lg);
    box-shadow: var(--kc-shadow-xl);
    z-index: 9999;
    max-width: 20rem;
    display: none;

    &.show,
    &.has-products {
        display: block;
    }

    &.bottom-right {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    &.bottom-left {
        bottom: 1.25rem;
        left: 1.25rem;
        right: auto;
    }

    &.top-right {
        top: 1.25rem;
        right: 1.25rem;
        bottom: auto;
    }

    &.top-left {
        top: 1.25rem;
        left: 1.25rem;
        right: auto;
        bottom: auto;
    }

    .kings-compare-widget-header {
        padding: 0.75rem 1rem;
        background: var(--kc-gray-50);
        border-bottom: 1px solid var(--kc-gray-200);
        border-radius: var(--kc-radius-lg) var(--kc-radius-lg) 0 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .kings-compare-widget-title {
        font-weight: 600;
        margin: 0;
        font-size: 0.875rem;
        color: var(--kc-gray-900);
    }

    .kings-compare-widget-count {
        background: var(--kc-primary);
        color: var(--kc-white);
        border-radius: 9999px;
        padding: 0.125rem 0.5rem;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .kings-compare-widget-toggle {
        background: none;
        border: none;
        font-size: 1.125rem;
        cursor: pointer;
        color: var(--kc-gray-500);
        transition: var(--kc-transition);

        &:hover {
            color: var(--kc-gray-700);
        }
    }

    .kings-compare-widget-content {
        padding: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    &.expanded .kings-compare-widget-content {
        max-height: 25rem;
    }

    .kings-compare-widget-actions {
        display: flex;
        gap: 0.5rem;
        margin-top: 0.75rem;

        .button {
            flex: 1;
            text-align: center;
            padding: 0.5rem 0.75rem;
            font-size: 0.75rem;
            border-radius: var(--kc-radius);
            text-decoration: none;
            font-weight: 500;
            transition: var(--kc-transition);

            &.button-primary {
                background: var(--kc-primary);
                color: var(--kc-white);
                border: 1px solid var(--kc-primary);

                &:hover {
                    background: var(--kc-primary-hover);
                    border-color: var(--kc-primary-hover);
                }
            }

            &:not(.button-primary) {
                background: var(--kc-gray-100);
                color: var(--kc-gray-700);
                border: 1px solid var(--kc-gray-300);

                &:hover {
                    background: var(--kc-gray-200);
                }
            }
        }
    }
}

/* Theme Integration */
.product-overlay-actions .action-btn.kings-compare {
    background: rgba(255, 255, 255, 0.95);
    color: var(--kc-gray-700);
    border: 1px solid var(--kc-gray-300);
    transition: var(--kc-transition);

    &:hover {
        background: var(--kc-primary);
        color: var(--kc-white);
        border-color: var(--kc-primary);
    }

    &.active,
    &.added {
        background: var(--kc-danger);
        color: var(--kc-white);
        border-color: var(--kc-danger);

        &:hover {
            background: var(--kc-danger-hover);
            border-color: var(--kc-danger-hover);
        }
    }
}

/* Compare Table */
.kings-compare-table-container {
    overflow-x: auto;
    margin: 1.25rem 0;
    border-radius: var(--kc-radius-lg);
    border: 1px solid var(--kc-gray-200);
}

.kings-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--kc-white);

    th,
    td {
        padding: 0.75rem;
        text-align: center;
        border-bottom: 1px solid var(--kc-gray-200);
        vertical-align: top;
    }

    th {
        background: var(--kc-gray-50);
        font-weight: 600;
        color: var(--kc-gray-900);
        position: sticky;
        left: 0;
        z-index: 2;

        &:first-child {
            text-align: left;
        }
    }

    tbody tr:last-child {
        th,
        td {
            border-bottom: none;
        }
    }

    .product-image {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: var(--kc-radius);
    }

    .product-title {
        font-weight: 600;
        color: var(--kc-gray-900);
    }

    .product-price {
        font-weight: 600;
        color: var(--kc-primary);
        font-size: 1.125rem;
    }

    .product-rating {
        color: var(--kc-warning);
    }
}

/* Categories page*/
.kc-categories-page {
    min-width: 100%;

    .kc-product-header {
        align-items: flex-start;
        background: radial-gradient(ellipse 120% 210% at 95% 0, #531889 10%, #000 70%);
        color: var(--kc-white);
        display: flex;
        flex-direction: row;
        height: 300px;
        padding-top: 60px;
        position: relative;
        width: 100%;

        .kc-page-header-content {
            text-align: center;

            h1 {
                font-weight: 700;
                color: var(--kc-white);
            }

            .kc-category-search {
                padding: 2rem 1.5rem;

                .kc-search-container {
                    width: min(640px, 100%);
                    margin: 0 auto;
                    position: relative;
                    border: 0;

                    .kc-search-input-wrapper {
                        position: relative;
                        display: flex;
                        align-items: center;
                        width: 100%;
                        background: rgba(255, 255, 255, 0.92);
                        border: 2px solid rgba(102, 126, 234, 0.15);
                        border-radius: 999px;
                        padding: 0 1.25rem 0 3rem;
                        transition: box-shadow 0.3s ease, border-color 0.3s ease;

                        svg.kc-search-icon {
                            position: absolute;
                            left: 1.25rem;
                            color: #4b5563;
                            pointer-events: none;
                            z-index: 2;
                            top: 50%;
                            transform: translateY(-50%);
                        }

                        .kc-category-search-input {
                            flex: 1;
                            min-width: 0;
                            height: 58px;
                            padding: 0;
                            border: none;
                            font-size: 1rem;
                            background: transparent;
                            color: var(--kc-gray-800);
                            line-height: 1;
                            margin: 0;


                            &:focus {
                                outline: none;
                                box-sizing: 0;
                                 box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
                                  color: #111;
                            }

                        }
                        .focused {
                            transform: translateY(-1px);
                        }

                        button.kc-clear-search {
                            position: absolute;
                            right: 0.75rem;
                            top: 50%;
                            transform: translateY(-50%);
                            background: #eef1ff;
                            color: #4f5ae6;
                            border: none;
                            border-radius: 50%;
                            padding: 0.45rem;
                            width: 2rem;
                            height: 2rem;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            cursor: pointer;
                            transition: transform 0.25s ease, background 0.25s ease;
                            z-index: 3;

                            &:hover {
                                background: #d9deff;
                                transform: translateY(-50%) scale(1.1);
                            }

                        }

                    }
                }
                        
                .kc-search-results-info {
                    background: transparent;
                    padding: 0;
                    border-radius: 6px;
                    margin-bottom: 0;
                    text-align: center;
                    position: absolute;
                    bottom: -45px;
                    width: 100%;
                    
                    .active {
                        display: block;
                    }

                    .results-count {
                        font-weight: 500;
                        color: var(--kc-white);
                    }

                }

            }
   
        }

    }

    .kc-categories-content {

        .kc-categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;

            .kc-category-card {
                background: var(--kc-white);
                border: 1px solid var(--kc-border);
                border-radius: 12px;
                overflow: hidden;
                transition: all 0.3s  ease;

                    &:hover {
                        transform: translateY(-2px);
                        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
                        border-color: transparent;
                    }

                .kc-category-image {
                    position: relative;
                    width: 100%;
                    height: 220px;
                    background: var(--kc-light);
                    overflow: hidden;
                    margin: 0;
                    border-radius: 0;
                    border: 0;
                    border-bottom: 1px solid var(--kc-border);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    aspect-ratio: 4 / 3;
                    object-fit: cover;
                    transition: transform 0.3s ease;

                    img {
                        width: 100%;
                        max-width: 120px;
                    }

                        .kc-category-overlay {
                            position: absolute;
                            bottom: 15px;
                            right: 15px;

                            a {
                                display: inline-block;
                                padding: 5px 10px;
                                color: var(--kc-white);
                                text-decoration: none;
                                border-radius: 18px;
                                font-size: 11px;
                                font-weight: 500;
                                transition: all 0.3s ease;
                                border: 1px solid #e0e0e0;
                                background: var(--kc-gradient-hover);
                                display: none;
                            }
                        }
                }

                &:hover .kc-category-overlay a {
                    background: var(--kc-gradient);
                    transform: translateY(-2px);
                    display: flex;

                }

                .kc-category-info {
                    padding: 15px;

                    .kc-category-title {
                        margin: 0 15px 15px 0;

                        a {
                            color: #000000;
                            text-decoration: none;
                            font-size: 18px;
                            font-weight: 700;
                        }
                    }

                    .kc-category-count {
                        display: inline-block;
                        padding: 5px 10px;
                        color: #666;
                        text-decoration: none;
                        border-radius: 18px;
                        font-size: 11px;
                        font-weight: 500;
                        transition: all 0.3s ease;
                        border: 1px solid #e0e0e0;
                    }
                }
            }
        }

    }
}

/* Categories Stats Section */
.kc-categories-stats {
    /* padding: 2rem; */
    margin: 3rem 0;

    .kc-stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        text-align: center;

        .kc-stat-item {
            padding: 2rem 1rem;
            background: var(--kc-white);
            border-radius: var(--kc-radius-lg);
            box-shadow: var(--kc-shadow-sm);
            border: 1px solid var(--kc-gray-200);
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;

            &:hover {
                transform: translateY(-2px);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            }

            .kc-stat-number {
                font-size: 3rem;
                font-weight: 700;
                color: var(--kc-primary);
                margin-bottom: 0.5rem;
                line-height: 1;
            }

            .kc-stat-label {
                color: var(--kc-gray-600);
                font-size: 1rem;
                font-weight: 500;
            }

        }
    }

}

/* Categories */
.kc-categories-archive {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.kc-category-item {
    background: var(--kc-white);
    border: 1px solid var(--kc-gray-200);
    border-radius: var(--kc-radius-lg);
    transition: var(--kc-transition);
    min-width: 200px;

    &:hover {
        transform: translateY(-2px);
        box-shadow: var(--kc-shadow-lg);
        border-color: var(--kc-primary);
    }
}

.kc-category-link {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--kc-gray-700);
    text-align: center;
    position: relative;
    transition: var(--kc-transition);

    &::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 80%;
        height: 2px;
        background: var(--kc-primary);
        transition: transform 0.3s ease;
    }

    &:hover {
        color: var(--kc-primary);
        background: var(--kc-white);

        &::before {
            transform: translateX(-50%) scaleX(1);
        }
    }

    .kc-category-name {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
        color: var(--kc-gray-900);
        transition: var(--kc-transition);
    }

    .kc-category-count {
        font-size: 0.875rem;
        color: var(--kc-gray-500);
        font-weight: 500;
        transition: var(--kc-transition);
    }

    &:hover .kc-category-count {
        color: var(--kc-primary);
    }
}

/* Slider Navigation */
.kc-categories-container.has-slider {
    padding: 0 3rem;    
    position: relative;
}

.kc-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--kc-gray-300);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--kc-transition);
    z-index: 10;
    color: var(--kc-gray-600);
    padding: 0;

    &:hover {
        background: var(--kc-primary);
        color: var(--kc-white);
        border-color: var(--kc-primary);
    }

    &.kc-slider-prev {
        left: 0rem;
    }

    &.kc-slider-next {
        right: 0rem;
    }
}


/* Modal/Popup */
.kc-compare-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);

    .kc-compare-popup-content {
        background: var(--kc-white);
        border-radius: var(--kc-radius-lg);
        width: var(--kc-popup-max-width, 90%);
        max-width: 100%;
        max-height: var(--kc-popup-max-height, 80vh);
        overflow: hidden;
        animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--kc-shadow-xl);
    }

    .kc-compare-popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem;
        border-bottom: 1px solid var(--kc-gray-200);
        background: var(--kc-gray-50);

        h3 {
            margin: 0;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--kc-gray-900);
        }
    }

    .kc-popup-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--kc-gray-500);
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: var(--kc-transition);

        &:hover {
            background: var(--kc-gray-200);
            color: var(--kc-gray-700);
        }
    }

    .kc-compare-popup-body {
        padding: 1.25rem;
    }

    .kc-compare-popup-actions {
        display: flex;
        gap: 0.75rem;
        justify-content: flex-end;
        margin-top: 1.25rem;
        padding-top: 1rem;
        border-top: 1px solid var(--kc-gray-200);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-1rem);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Sticky Comparison Widget */
.kc-comparison-widget {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--kc-white);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(102, 126, 234, 0.3);
    z-index: 9999;
    min-width: 320px;
    max-width: 500px;
    transition: all 0.3s ease;

    &.show {
        animation: slideUp 0.4s ease;
    }

    &.collapsed .kc-comparison-content {
        display: none;
    }

    &:not(.collapsed) .kc-comparison-toggle svg {
        transform: rotate(180deg);
    }

    svg {
        display: block;
        flex-shrink: 0;
        stroke: currentColor;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .kc-comparison-header {
        background: var(--kc-white);
        border-radius: 12px;
        padding: 24px 32px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 10px 15px;
        color: var(--kc-white);

        .kc-comparison-title {
            display: flex;
            align-items: center;
            gap: 16px;
            font-weight: 700;
            margin: 0;
            font-size: 28px;
            color: #212529;

            
            .kc-vs-icon {
                background: rgba(255, 255, 255, 0.2);
                padding: 6px 12px;
                border-radius: 8px;
                font-weight: 700;
                font-size: 14px;
                text-transform: uppercase;
                letter-spacing: 1px;
            }

            .kc-comparison-text {
                font-weight: 600;
                font-size: 16px;
                flex: 1;
            }

                

            .kc-comparison-toggle {
                border: none;
                color: var(--kc-white);
                padding: 8px;
                border-radius: 6px;
                cursor: pointer;
                transition: all 0.3s ease;
                display: flex;
                align-items: center;
                justify-content: center;
                background: #000;

                &:hover {
                    opacity: .8;
                }
                
                svg {
                    transition: transform 0.3s ease;
                    transform: rotate(0deg);
                    display: block;
                    width: 16px;
                    height: 16px;
                    stroke: currentColor;
                    fill: none;
                    stroke-width: 2;
                    stroke-linecap: round;
                    stroke-linejoin: round;
                }
            }

        }

    }

    .kc-comparison-content {
        padding: 0 20px 20px;
        
        .kc-comparison-items {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 16px;
            max-height: 200px;
            overflow-y: auto;

            .kc-comparison-item {
                display: flex;
                align-items: center;
                gap: 12px;
                background: #f0f9ff;
                padding: 12px;
                border-radius: 8px;
                color: var(--kc-white);
                animation: slideInUp 0.3s ease;

                .kc-comparison-item-image {
                    width: 40px;
                    height: 40px;
                    border-radius: 6px;
                    overflow: hidden;
                    background: rgba(255, 255, 255, 0.2);
                    flex-shrink: 0;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        border-radius: 4px;
                        transition: opacity 0.3s ease;
                    }

                    img:not([src]),
                    img[src=""] {
                    display: none;
                    }

                }

                .kc-comparison-item-info {
                    flex: 1;
                    min-width: 0;

                    .kc-comparison-item-title {
                        font-weight: 600;
                        font-size: 14px;
                        margin: 0 0 4px 0;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        color: var(--kc-black);
                    }

                    .kc-comparison-item-subtitle {
                        font-size: 12px;
                        opacity: 0.8;
                        margin: 0;
                        color: var(--kc-gray-500);
                    }
                }

                .kc-comparison-item-remove {
                    background: rgb(0 0 0 / 28%);
                    border: none;
                    color: var(--kc-white);
                    padding: 6px;
                    border-radius: 4px;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    flex-shrink: 0;
                    
                    &:hover {
                        background: rgba(255, 87, 87, 0.8);
                    }

                    svg {
                        display: block;
                        flex-shrink: 0;
                        stroke: currentColor;
                        fill: none;
                        stroke-linecap: round;
                        stroke-linejoin: round;
                    }
                }
            }
        }

        .kc-comparison-actions {
            display: flex;
            gap: 12px;

            .kc-compare-btn {
                flex: 1;
                background: rgb(0, 0, 0);
                color: var(--kc-white);
                border: none;
                padding: 12px 24px;
                border-radius: 8px;
                font-weight: 600;
                font-size: 14px;
                cursor: pointer;
                transition: all 0.3s ease;

                &:hover:not(:disabled) {
                    background: #616161;
                    transform: translateY(-1px);
                }

                &:disabled {
                    opacity: 0.6;
                    cursor: not-allowed;
                }
            }
            
            .kc-add-more-btn {
                background: rgba(0, 0, 0, 0.2);
                border: none;
                color: var(--kc-white);
                padding: 12px;
                border-radius: 8px;
                cursor: pointer;
                transition: all 0.3s ease;
                
                &:hover {
                    background: linear-gradient(134deg, rgb(60, 89, 252), rgb(118, 0, 224));

                }

            }

        }
    }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateX(-50%) translateY(100%); }
    to { transform: translateX(-50%) translateY(0); }
}

@media (max-width: 768px) {

    @keyframes slideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .kc-comparison-widget {
        left: 16px;
        right: 16px;
        transform: none;
        min-width: auto;
        max-width: none;
    }

}
/* end Sticky Comparison Widget */





/* single product */
.kc-accordion-content {
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 32px;
    display: none;
    padding: 0;
    background: var(--kc-white);

    &.active {
        max-height: 2000px;
        display: block;
        overflow: visible;
    }
    
    .kc-spec-field {
        background: var(--kc-white);
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #E4ECF5;
        transition: all 0.3s ease;
        display: grid;
        gap: 24px;
        align-items: start;
        grid-template-columns: 250px 1fr 60px;

        &:hover {
            background: #f2f8ff;
        }

        &:last-child {
            border-bottom: none;
        }

        .kc-spec-field-header {
            height: 100%;
            border-right: 1px solid #E4ECF5;

            .kc-field-title-wrapper {
                display: flex;
                flex-direction: column;
                padding: 15px;

                .kc-title-wrapper {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    
                    .kc-field-icon {
                        font-size: 20px;
                        color: #868b9e;
                        flex-shrink: 0;
                        display: none;
                    }
                    
                    .kc-spec-field-title {
                        font-size: 14px;
                        font-weight: 600;
                        color: #1C2D44;
                        margin: 0;
                        line-height: 1.4;
                    }
                }

            }
        }

        .kc-field-value-wrapper {
            padding: 15px;

            .kc-field-value-indicator {
                display: flex;
                align-items: center;
                
                /* Unknown Value Styling */
                .kc-value-unknown {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    width: 32px;
                    height: 32px;
                    transition: all 0.3s ease;

                    &:hover {
                        transform: scale(1.1);
                    }
                }

                .kc-unknown-text {
                    margin-left: 10px;
                    font-size: 14px;
                    color: #6b7280;
                    font-style: italic;

                    .kc-suggest-value-link {
                        color: #f59e0b;
                        text-decoration: underline;
                        font-weight: 600;

                        &:hover {
                            color: #d97706;
                        }
                    }
                }
            }
        }


        .kc-spec-features {
            display: flex;
            align-items: center;
            gap: 8px;
            grid-column: 2;

            .kc-features-label {
                font-size: 13px;
                font-weight: 600;
                color: #667eea;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

            .kc-features-value {
                font-size: 14px;
                font-weight: 600;
                color: #1C2D44;
            }

        }
        
        .kc-spec-subtitle {
            font-size: 12px;
            color: #6c757d;
            font-weight: 400;
            margin: 4px 0 0 0;
            line-height: 1.5;
            grid-column: 2;
        }

        .kc-spec-detail {
            font-size: 12px;
            color: #6c757d;
            line-height: 1.5;
            margin: 4px 0 0 0;
            grid-column: 2;
        }

    }
}








/* Related Products */
.kc-related-products {
    padding: 80px 0;
    background: var(--kc-white);

    .kc-section-title {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        font-size: 28px;
        font-weight: 700;
        color: #212529;
        margin: 0 0 10px 0;
    }

    .kc-related-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;

        .kc-related-product-card {
            background: var(--kc-white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            border: 1px solid #f1f5f9;
            transition: all 0.3s ease;

            &:hover {
                transform: translateY(-8px);
                box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
            }

            .kc-related-product-link {
                text-decoration: none;
                color: inherit;
                display: block;

                .kc-related-product-image {
                    aspect-ratio: 4/3;
                    overflow: hidden;
                    background: var(--kc-light);
                    border-bottom: 1px solid var(--kc-border);

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        transition: transform 0.3s ease;
                    }
                    
                    .kc-related-placeholder {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 100%;
                        height: 100%;
                        color: #cbd5e0;
                        background: #f7fafc;
                    }
                }

                .kc-related-product-info {
                    padding: 20px;

                    .kc-related-product-title {
                        font-size: 14px;
                        font-weight: 600;
                        color: #1C2D44;
                        margin: 0 0 12px 0;
                        line-height: 1.4;
                    }

                    .kc-related-product-excerpt {
                        font-size: 14px;
                        color: #6c757d;
                        line-height: 1.5;
                        margin: 0;
                    }
                }
            }


            &:hover .kc-related-product-image img {
                transform: scale(1.05);
            }

        }
    }

}



/* Single Product Page */
.kc-single-product-page {
    background: var(--kc-white);
    margin: 0;
    padding: 0;

    .kc-product-header {
        align-items: flex-start;
        background: radial-gradient(ellipse 120% 210% at 95% 0, #531889 10%, #000 70%);
        color: var(--kc-white);
        display: flex;
        flex-direction: row;
        height: auto;
        padding: 50px 0;
        position: relative;
        width: 100%;

        .kc-product-header-content {
            display: flex;
            flex-direction: row;

            .kc-product-gallery {
                position: relative;
                top: 20px;

                .kc-main-image-container {
                    margin-bottom: 20px;
                    background: var(--kc-light);
                    border-radius: 16px;
                    overflow: hidden;
                    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
                    max-width: 300px;

                    .kc-image-wrap {
                        padding: 15px;
                    }

                    .kc-main-image {
                        width: 100%;
                        height: auto;
                        display: block;
                        max-height: 500px;
                        object-fit: cover;
                    }

                    .kc-thumbnail-gallery {
                        display: flex;
                        gap: 12px;
                        flex-wrap: wrap;    
                        padding: 5px;
                    }    

                    .kc-thumbnail {
                        width: 40px;
                        height: 40px;
                        border: 2px solid var(--kc-border);
                        border-radius: 8px;
                        overflow: hidden;
                        background: var(--kc-light);
                        cursor: pointer;
                        transition: all 0.3s ease;
                        padding: 0;

                        &:hover,
                        &.active {
                            border-color: #667eea;
                            transform: scale(1.05);
                        }

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }

                    }
                }
            }

            .kc-product-info  {
                padding: 20px 0px 20px 50px;
                flex: 1;
                display: flex;
                flex-direction: column;
                position: relative;

                .vs-button {
                    background: var(--kc-gradient-hover);
                    padding: 2px 8px;
                    border-radius: 100px;
                    font-size: 13px;
                    font-weight: 700;
                    letter-spacing: 1px;
                    width: 60px;
                    height: 60px;
                    color: var(--kc-white);
                    border: 1px solid #000;
                    cursor: pointer;
                    position: absolute;
                    left: -30px;
                    top: 150px;
                }
                
                .kc-product-meta-tags {
                    margin-bottom: 20px;
                    display: flex;
                    gap: 12px;
                    flex-wrap: wrap;

                    .kc-meta-tag {
                        display: inline-block;
                        padding: 6px 16px;
                        border-radius: 20px;
                        font-size: 12px;
                        font-weight: 600;
                        text-transform: uppercase;
                        letter-spacing: 0.5px;
                        text-decoration: none;
                        transition: all 0.3s ease;
                        background: #e6f3ff;
                        color: #0066cc;
                    }

                }

                h1.kc-product-title {
                    font-size: 24px;
                    font-weight: 600;
                    color: var(--kc-white);
                    a {
                        color: #212529;
                        text-decoration: none;
                        transition: color 0.3s ease;
                    }
                }

                .kc-product-description,
                .kc-product-description p,
                .kc-product-excerpt p,
                .kc-product-excerpt  {
                    color: var(--kc-white);
                    margin-bottom: 0;
                }

                
                    .kc-product-features {
                        margin: 16px 0;
                        max-width: 600px;

                        h5 {
                            color: #FFF;
                            margin-top: 1rem;
                        }

                        .kc-feature-item {
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            padding: 8px 0;
                            border-bottom: 1px solid #f1f5f9;
                            font-size: 13px;

                            .kc-feature-label {
                                font-weight: 500;
                                color: #ffffff;
                            }

                            .kc-feature-value {
                                color: #ffffff;
                                text-align: right;
                            }
                        }

                    }

                .kc-product-price {
                    .kc-price {
                        font-size: 14px;
                        font-weight: 400;
                        color: var(--kc-white);
                    }
                }

                .kc-product-actions {
                    display: flex;
                    gap: 8px;
                    margin-top: 30px;
                }


            }
        }

    }

}

/* Quick View Modal */
.kc-quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;

    .kc-quick-view-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        cursor: pointer;

        .active {
            opacity: 1;
            visibility: visible;
        }

    }

    &.active {
        opacity: 1;
        visibility: visible;
    }

    .kc-quick-view-content {
        transform: scale(1);
        max-width: 900px !important;
        position: relative;
        background: var(--kc-white);
        border-radius: 16px;
        max-width: 800px;
        max-height: 90vh;
        width: 90%;
        margin: 20px;
        overflow: hidden;
        transform: scale(0.9);
        transition: transform 0.3s ease;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

        .kc-vs-compare-header {
            text-align: center;
            padding: 30px 30px 20px;
            border-bottom: 2px solid var(--kc-border);

            h2 {
                display: inline-flex;
                align-items: center;
                gap: 12px;
                font-size: 24px;
                color: #212529;
                margin: 0 0 10px 0;

                svg {
                    color: #667eea;
                    width: 24px;
                    height: 24px;
                    fill: none;
                    stroke: currentcolor;
                    stroke-width: 2;
                }
            }

            .kc-vs-subtitle {
                font-size: 14px;
                color: #6c757d;
                margin: 0;
            }

        }

        .kc-vs-current-product {
            padding: 20px 30px;
            background: #f0f9ff;
            border-bottom: 2px solid var(--kc-border);

            .kc-vs-product-card {
                position: relative;
                background: var(--kc-white);
                border-radius: 12px;
                border: 1px solid var(--kc-border);
                padding: 20px;
                display: flex;
                align-items: center;
                gap: 20px;
                /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */

                .kc-vs-badge {
                    position: absolute;
                    top: -10px;
                    left: 20px;
                    background: var(--kc-gradient-hover);
                    color: var(--kc-white);
                    padding: 4px 12px;
                    border-radius: 20px;
                    font-size: 11px;
                    font-weight: 600;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                }

                .kc-vs-product-image {
                    width: 60px;
                    height: 60px;
                    border-radius: 10px;
                    overflow: hidden;
                    background: var(--kc-light);
                    flex-shrink: 0;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }


                }

                .kc-vs-product-info {
                    h3 {
                        margin: 0 0 8px 0;
                        font-size: 18px;
                        color: #212529;
                    }
                    .kc-category-badge {
                        display: inline-block;
                        font-size: 12px;
                        padding: 4px 10px;
                        background: #e7f3ff;
                        color: #0066cc;
                        border-radius: 12px;
                        font-weight: 600;
                        text-transform: uppercase;
                        letter-spacing: 0.5px;
                    }
                }

            }
        }

        .kc-vs-selected-section {
            padding: 20px 30px;
            background: rgb(240, 249, 255);
            border-bottom: 2px solid rgb(233, 236, 239);

             h3 {
                font-size: 16px;
                color: rgb(33, 37, 41);
                display: flex;
                align-items: center;
                margin: 0px 0px 15px;
                gap: 8px;

                span {
                    font-size: 14px;
                    color: rgb(108, 117, 125);
                    font-weight: 400;
                }
            }

            .kc-vs-selected-list {
                display: flex;
                flex-direction: column;
                margin-bottom: 15px;
                gap: 10px;

                .kc-vs-selected-item {
                    display: flex;
                    align-items: center;
                    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 5px;
                    gap: 12px;
                    background: var(--kc-white);
                    padding: 10px;
                    border-radius: 8px;

                    .kc-vs-selected-image {
                        width: 50px;
                        height: 50px;
                        flex-shrink: 0;
                        border-radius: 6px;
                        overflow: hidden;
                        background: rgb(248, 249, 250);

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }
                    }

                    .kc-vs-selected-info {
                        flex: 1 1 0%;

                        h4 {
                            font-size: 14px;
                            color: rgb(33, 37, 41);
                            margin: 0px;
                        }
                    }
                }
            }

        }

            .kc-vs-products-section {
                padding: 30px;
                max-height: 500px;
                overflow-y: auto;

                .kc-search-container {
                    position: relative;
                    display: flex;
                    border: 1px solid #dddddd;
                    border-radius: 8px;
                    transition: border-color 0.3s ease;

                    .kc-search-input {
                        flex: 1;
                        padding: 12px 16px;
                        border: transparent;
                        border-radius: 8px;
                        font-size: 16px;
                        transition: border-color 0.3s ease;
                        background: var(--kc-white);

                        &:focus {
                            outline: none;
                            border-color: transparent;
                        }
                    }
                }

                #kc-vs-search-results {
                    margin-bottom: 30px;
                }

                h3 {
                    margin: 0 0 20px 0;
                    font-size: 18px;
                    color: #212529;
                    font-weight: 600;
                    display: none;
                }
                .kc-vs-products-grid {
                    display: grid;
                    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                    gap: 15px;
                    margin-top: 15px;

                    .kc-vs-product-item {
                        background: var(--kc-white);
                        border: 2px solid var(--kc-border);
                        border-radius: 10px;
                        padding: 15px;
                        transition: all 0.3s ease;
                        display: flex;
                        flex-direction: column;

                        .kc-vs-product-image {
                            width: 100%;
                            height: 120px;
                            border-radius: 8px;
                            overflow: hidden;
                            background: var(--kc-light);
                            margin-bottom: 12px;

                            img {
                                width: 100%;
                                height: 100%;
                                object-fit: cover;
                            }
                        }

                        .kc-vs-product-info {
                            flex: 1;
                            margin-bottom: 12px;

                            h4 {
                                margin: 0 0 8px 0;
                                font-size: 14px;
                                color: #212529;
                                line-height: 1.3;
                                display: -webkit-box;
                                -webkit-line-clamp: 2;
                                line-clamp: 2;
                                -webkit-box-orient: vertical;
                                overflow: hidden;
                            }

                            .kc-category-badge {
                                display: inline-block;
                                font-size: 12px;
                                padding: 4px 10px;
                                background: #e7f3ff;
                                color: #0066cc;
                                border-radius: 12px;
                                font-weight: 600;
                                text-transform: uppercase;
                                letter-spacing: 0.5px;
                            }
                        }

                        /* .kc-vs-select-btn {
                            width: 100%;
                            padding: 10px;
                            background: #667eea;
                            color: var(--kc-white);
                            border: none;
                            border-radius: 8px;
                            font-weight: 600;
                            font-size: 14px;
                            cursor: pointer;
                            transition: all 0.3s ease;
                        } */
                    }

                    .kc-no-products {
                        text-align: center;
                        padding: 30px 20px;
                        color: #666;
                        font-size: 18px;
                        background: #f0f9ff;
                        border-radius: 8px;
                        border: 1px solid #e0e0e0;
                        grid-column: 1 / -1;
                        margin: 40px 0;
                    }

                }
            }

    }

}

/* compare table */
.kings-compare-table-wrapper {

    .kc-products-header-sticky {
        border-radius: 8px;
        margin-bottom: 24px;
        transition: all 0.3s ease;

        &.is-sticky {
            position: sticky;
            top: 0;
            left: 0;
            right: 0;
            z-index: 999;
            margin-bottom: 0;
            border-radius: 0;
            animation: slideDown 0.3s ease;
            background: #ffffff6e;
            backdrop-filter: blur(1px);
            border-bottom: 1px solid var(--kc-border);

            .kc-product-cards-container {
                padding: 20px 0;
            }
        }  

        .kc-product-cards-container {
            display: grid;
            grid-template-columns: 200px repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            /* padding: 20px; */
            align-items: start;

            .kc-product-card-spacer {
                min-width: 200px;
            }

            .kc-product-card {
                position: relative;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 12px;
                padding: 16px;
                background: var(--kc-light);
                border-radius: 8px;
                border: 1px solid var(--kc-border);
                transition: all 0.3s ease;
                height: 100%;
                max-height: 110px;
                justify-content: center;
                box-shadow: none;

            /* .kc-remove-product {
                    position: absolute;
                    top: 8px;
                    right: 8px;
                    background: #ef4444;
                    color: var(--kc-white);
                    border: none;
                    border-radius: 50%;
                    width: 28px;
                    height: 28px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    z-index: 10;

                    &:hover {
                        background: #dc2626;
                        transform: scale(1.1);
                    }

                    svg {
                        width: 14px;
                        height: 14px;
                    }

                } */

                .product-image {
                    max-width: 100px;
                    width: 100%;
                    height: auto;
                    object-fit: cover;
                }

                .product-name {
                    font-size: 16px;
                    font-weight: 600;
                    margin: 0;
                    color: #212529;
                    text-align: center;
                    line-height: 1.4;
                }

                .product-price {
                    font-size: 16px;
                    font-weight: 400;
                    color: #000000;
                    margin: 0;
                }

            }
        }
    }

    .kc-accordion-section {
        margin-bottom: 16px;
        border: 0;
        border-radius: 0;
        overflow: hidden;
        background: var(--kc-white);

        .kc-accordion-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 30px;
            cursor: pointer;
            background: var(--kc-gray-50);
            transition: all 0.3s ease;
            border-bottom: 1px solid #f1f5f9;
            text-align: left;
            font-size: 18px;
            font-weight: 600;
            width: 100%;
            border: none;

            &.active {
                background: var(--kc-gray-50);
                color: var(--kc-gray-900);
                border-bottom: 2px solid #d9f0fb;
            }

            .kc-accordion-title {
                font-size: 16px;
                font-weight: 700;
                color: var(--kc-gray-900);
                margin: 0;
                padding: 0 15px 0 0px;
            }
        }

    }

    .kc-accordion-content {
        display: none;
        padding: 0;
        background: var(--kc-white);

        table {
            &.comparison-table {
                width: 100%;
                border-collapse: collapse;
                margin: 0;

                tbody {
                    tr {
                        background: var(--kc-white);
                        border-bottom: 1px solid var(--kc-border);

                        &:hover {
                            background: var(--kc-gray-50);
                        }

                        .attribute-name {
                            width: 200px;
                            background: var(--kc-gray-50);
                            color: #212529;
                            border-right: 1px solid var(--kc-border);
                            padding: 0 15px;


                            h4 {
                            font-weight: 600;
                                font-size: 14px;
                                color: var(--kc-gray-900);
                            }
                        }

                        .attribute-value {
                            text-align: center;
                            color: var(--kc-black);
                            font-size: 14px;
                            font-weight: 400;
                        }


                    }
                }
            }
        }
    }

}











#kc-add-products-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;

    &.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .kc-quick-view-overlay {
        background: rgba(0, 0, 0, 0.95);
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    .kc-quick-view-content {
        z-index: 999;
        max-width: none !important;
        max-height: none !important;
        width: 100% !important;
        height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        overflow: auto;

        .kc-add-products-header {
            padding: 30px;
            background: radial-gradient(ellipse 120% 210% at 95% 0, #531889 10%, #000 70%);
            border-bottom: 0;

            h2 {
                 margin: 0 0 20px 0;
                color: var(--kc-white);
                font-size: 24px;
                font-weight: 600;
            }

            .kc-current-items-section {
                margin: 0 0 25px 0;
                border-bottom: 0;
                border-radius: 8px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

                .kc-current-items-list {
                    display: flex;
                    flex-direction: row;
                    gap: 1%;
                    flex-wrap: wrap;
                    margin-bottom: 15px;

                    .kc-current-item {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        padding: 5px 16px;
                        background: var(--kc-light);
                        border: 1px solid var(--kc-border);
                        border-radius: 8px;
                        transition: all 0.3s ease;
                        width: 32%;

                        .kc-current-item-content {
                            display: flex;
                            align-items: center;
                            flex: 1;
                            gap: 12px;

                            .kc-current-item-image {
                                width: 50px;
                                height: 50px;
                                background: var(--kc-white);
                                border-radius: 6px;
                                overflow: hidden;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                border: 1px solid var(--kc-border);

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                }


                            }

                            .kc-current-item-info {
                                flex: 1;

                                .kc-current-item-title {
                                    font-size: 14px;
                                    font-weight: 600;
                                    margin: 0 0 4px 0;
                                    color: #333;
                                    line-height: 1.3;
                                }

                                .kc-current-item-subtitle {
                                    font-size: 12px;
                                    opacity: 0.8;
                                    margin: 0;
                                    color: var(--kc-gray-500);
                                }

                            }

                        }

                        .kc-remove-current-item {
                            width: 32px;
                            height: 32px;
                            border: none;
                            border-radius: 6px;
                            cursor: pointer;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            transition: all 0.3s ease;
                            flex-shrink: 0;
                            padding: 0;

                            .kc-remove-current-item svg {
                                width: 14px;
                                height: 14px;
                            }
                        }

                    }
                }


            }

            .kc-search-container {
                position: relative;
                display: flex;
                border: 0;
                border-radius: 8px;
                transition: border-color 0.3s ease;
                gap: 10px;

                .kc-search-input {
                    flex: 1;
                    padding: 10px 15px;
                    border: 1px solid var(--kc-border);
                    border-radius: 8px;
                    font-size: 16px;
                    transition: border-color 0.3s ease;
                    background: var(--kc-white);
                    outline: none;
                }

            }

        }

           .kc-add-products-body {
                max-height: calc(100vh - 120px);
                padding: 30px 40px;
                overflow-y: auto !important;
                height: auto !important;


                .kc-section-title {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    font-size: 28px;
                    font-weight: 700;
                    color: #212529;
                    margin: 0 0 20px 0;

                    h3 {
                        margin: 0;
                        color: #333;
                        font-size: 18px;
                        font-weight: 600;
                    }

                }

                .kc-products-grid {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                    gap: 25px;
                    margin: 0px;
                    padding: 0;
                    min-height: 100px;

                    .kc-no-products {
                        text-align: center;
                        padding: 30px 0;
                        margin-top: 0;
                        color: #666;
                        font-size: 18px;
                        background: var(--kc-light);
                        border-radius: 8px;
                        border: 1px solid #e0e0e0;

                        .kc-no-products p {
                            font-size: 16px;
                            margin: 0;
                            color: #6c757d;
                        }
                    }

                }

                .kc-search-results {
                    border-top: 1px solid #eee;
                    padding-top: 20px;
                    margin-top: 20px;

                    h3 {
                        margin: 0 0 20px 0;
                        color: #333;
                        font-size: 24px;
                        font-weight: 600;
                    }

                    .kc-products-grid {
                        display: grid;
                        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                        gap: 25px;
                        margin-bottom: 40px;
                        padding: 0 30px 30px;

                        .kc-product-item {
                            background: var(--kc-white);
                            border: 1px solid var(--kc-border);
                            border-radius: 12px;
                            overflow: hidden;
                            transition: all 0.3s ease;
                            cursor: pointer;

                            .kc-product-image {
                                position: relative;
                                width: 100%;
                                height: 220px;
                                background: var(--kc-light);
                                overflow: hidden;
                                margin: 0;
                                border-radius: 0;
                                border: 0;
                                border-bottom: 1px solid var(--kc-border);
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                background: var(--kc-light);
                                aspect-ratio: 4 / 3;
                                object-fit: cover;
                                transition: transform 0.3s ease;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                    transition: transform 0.3s ease;
                                }
                            }

                            .kc-product-info {
                                padding: 15px;

                                .kc-product-title {
                                    color: #000000;
                                    text-decoration: none;
                                    font-size: 16px;
                                    font-weight: 700;
                                }

                                .kc-add-product-btn {
                                    width: 100%;
                                    padding: 8px 12px;
                                    background: #007cba;
                                    color: var(--kc-white);
                                    border: none;
                                    border-radius: 6px;
                                    font-size: 12px;
                                    font-weight: 600;
                                    cursor: pointer;
                                    transition: all 0.3s ease;
                                    text-transform: uppercase;
                                    letter-spacing: 0.5px;
                                }
                            }
                        }
                    }
                }
            }


            .kc-search-results {
                border-top: 1px solid #eee;
                padding: 20px;
                margin: 0px;

                h3 {
                    color: #000000;
                    text-decoration: none;
                    font-size: 16px;
                    font-weight: 700;
                }

                .kc-products-grid {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                    gap: 25px;
                    margin-bottom: 40px;

                        .kc-product-item {
                            background: var(--kc-white);
                            border: 1px solid var(--kc-border);
                            border-radius: 12px;
                            overflow: hidden;
                            transition: all 0.3s ease;
                            cursor: pointer;

                            .kc-product-image {
                                position: relative;
                                width: 100%;
                                height: 220px;
                                background: var(--kc-light);
                                overflow: hidden;
                                margin: 0;
                                border-radius: 0;
                                border: 0;
                                border-bottom: 1px solid var(--kc-border);
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                background: var(--kc-light);
                                aspect-ratio: 4 / 3;
                                object-fit: cover;
                                transition: transform 0.3s ease;

                                img {
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                    transition: transform 0.3s ease;
                                }


                            }

                            .kc-product-info {
                                padding: 15px;

                                .kc-product-title{
                                    color: #000000;
                                    text-decoration: none;
                                    font-size: 16px;
                                    font-weight: 700;
                                }
                            }

                        }
                }
            }
    }
}




/* quick-view popup */
.kc-quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;

    &.active {
        opacity: 1;
        visibility: visible;
    }
    .kc-quick-view-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        cursor: pointer;
    }

    .kc-quick-view-content {
        transform: scale(1);
        max-width: 900px !important;
        position: relative;
        background: var(--kc-white);
        border-radius: 16px;
        max-width: 800px;
        max-height: 90vh;
        width: 90%;
        margin: 20px;
        overflow: hidden;
        transform: scale(0.9);
        transition: transform 0.3s ease;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .kc-quick-view-body {
        display: flex;
        max-height: 80vh;
        overflow: hidden;

        .kc-quick-view-image {
            flex: 1;
            background: var(--kc-light);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 400px;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .kc-quick-view-info {
            flex: 1;
            padding: 30px;
            overflow-y: auto;
            max-height: 80vh;

            .kc-quick-view-meta {
                display: flex;
                gap: 10px;
                margin-bottom: 15px;

                .kc-category, 
                .kc-brand {
                    font-size: 12px;
                    font-weight: 600;
                    padding: 4px 12px;
                    border-radius: 20px;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                    background: #e6f3ff;
                    color: #0066cc;
                }

            }

            .kc-quick-view-title {
                font-size: 28px;
                font-weight: 700;
                color: #2d3748;
                margin: 0 0 16px 0;
                line-height: 1.3;
            }

            .kc-quick-view-description {
                color: #6c757d;
                line-height: 1.6;
                margin: 0 0 24px 0;
                font-size: 16px;
            }

            .kc-quick-view-features {

                h3 {
                    font-size: 18px;
                    font-weight: 600;
                    color: #2d3748;
                    margin: 0 0 16px 0;
                }

                .kc-features-list {
                    margin-bottom: 30px;

                    .kc-feature-item {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        padding: 12px 0;
                        border-bottom: 1px solid #f1f5f9;
                        font-size: 14px;

                        .kc-feature-label {
                            font-weight: 500;
                            color: #4a5568;
                        }

                        .kc-feature-value {
                            color: #718096;
                            text-align: right;
                        }
                    }
                }

            }

            .kc-quick-view-actions {
                display: flex;
                gap: 12px;
                margin-top: 30px;


                .kc-quick-view-details {
                    display: flex;
                    align-items: center;
                    text-decoration: none;
                    font-weight: 600;
                    transition: all 0.3s ease;
                    font-size: 14px;

                    &:hover {
                        transform: translateY(-1px);
                    }
                }
            }
        }
    }
}

/**/


/* Smartphone filter panel */
/* .kc-mobile-filter-panel {
    flex-basis: 100%;
    background: #f9fafb;
    border: 1px solid var(--kc-border);
    border-radius: 16px;
    padding: 18px 20px;
}

.kc-mobile-filter-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.kc-mobile-filter-groups {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.kc-mobile-filter-group {
    background: var(--kc-white);
    border: 1px solid var(--kc-border);
    border-radius: 14px;
    padding: 14px 16px;
}

.kc-mobile-filter-group label,
.kc-mobile-filter-group legend {
    font-weight: 600;
    font-size: 14px;
    color: var(--kc-gray-800);
    margin-bottom: 10px;
    display: block;
}

.kc-mobile-filter-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--kc-border);
    font-size: 14px;
    background: var(--kc-white);
    color: var(--kc-gray-700);
}

.kc-mobile-filter-select[multiple] {
    min-height: 110px;
}

.kc-mobile-filter-brands-list {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.kc-mobile-filter-brands-list::-webkit-scrollbar {
    width: 6px;
}

.kc-mobile-filter-brands-list::-webkit-scrollbar-thumb {
    background-color: rgba(102, 126, 234, 0.4);
    border-radius: 3px;
}

.kc-mobile-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--kc-gray-700);
    margin-bottom: 8px;
}

.kc-mobile-filter-option:last-child {
    margin-bottom: 0;
}

.kc-mobile-filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #667eea;
}

.kc-mobile-filter-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.kc-mobile-filter-apply {
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.kc-mobile-filter-reset {
    color: #667eea;
    font-weight: 500;
    text-decoration: none;
}

.kc-mobile-filter-reset:hover {
    text-decoration: underline;
}

@media (min-width: 769px) {
    body.kc-car-filter-auto-enabled .kc-car-filter-actions .kc-car-filter-apply,
    body.kc-mobile-filter-auto-enabled .kc-mobile-filter-actions .kc-mobile-filter-apply,
    body.kc-tablet-filter-auto-enabled .kc-tablet-filter-actions .kc-tablet-filter-apply,
    body.kc-console-filter-auto-enabled .kc-console-filter-actions .kc-console-filter-apply,
    body.kc-camera-filter-auto-enabled .kc-camera-filter-actions .kc-camera-filter-apply,
    body.kc-action-camera-filter-auto-enabled .kc-action-camera-filter-actions .kc-action-camera-filter-apply,
    body.kc-microphone-filter-auto-enabled .kc-microphone-filter-actions .kc-microphone-filter-apply,
    body.kc-monitor-filter-auto-enabled .kc-monitor-filter-actions .kc-monitor-filter-apply,
    body.kc-mouse-filter-auto-enabled .kc-mouse-filter-actions .kc-mouse-filter-apply,
    body.kc-sports-watch-filter-auto-enabled .kc-sports-watch-filter-actions .kc-sports-watch-filter-apply,
    body.kc-robot-vacuum-filter-auto-enabled .kc-robot-vacuum-filter-actions .kc-robot-vacuum-filter-apply,
    body.kc-ssd-filter-auto-enabled .kc-ssd-filter-actions .kc-ssd-filter-apply,
    body.kc-soundbar-filter-auto-enabled .kc-soundbar-filter-actions .kc-soundbar-filter-apply,
    body.kc-wireless-earbuds-filter-auto-enabled .kc-wireless-earbuds-filter-actions .kc-wireless-earbuds-filter-apply,
    body.kc-portable-speaker-filter-auto-enabled .kc-portable-speaker-filter-actions .kc-portable-speaker-filter-apply,
    body.kc-camera-lens-filter-auto-enabled .kc-camera-lens-filter-actions .kc-camera-lens-filter-apply,
    body.kc-motherboard-filter-auto-enabled .kc-motherboard-filter-actions .kc-motherboard-filter-apply,
    body.kc-headphone-filter-auto-enabled .kc-headphone-filter-actions .kc-headphone-filter-apply,
    body.kc-filter-auto-enabled [class$="-filter-actions"] .kc-btn[class$="-filter-apply"] {
        display: none;
    }
    
    body.kc-filter-auto-enabled [class$="-filter-actions"] a[class$="-filter-reset"] {
        display: none;
    }
} */


[class$="-filter-actions"] .kc-clear-all-filters {
    background: none;
    border: none;
    color: #667eea;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
}

[class$="-filter-actions"] .kc-clear-all-filters:hover,
[class$="-filter-actions"] .kc-clear-all-filters:focus {
    text-decoration: underline;
}


/* Notifications */
.kings-compare-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 14px 20px;
    background: var(--kc-primary);
    color: var(--kc-white);
    border-radius: var(--kc-radius);
    box-shadow: var(--kc-shadow-lg);
    font-size: 14px;
    font-weight: 600;
    z-index: 99999;
    opacity: 0;
    transform: translateY(-10px);
    animation: kc-notification-enter 0.3s ease forwards;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
    max-width: min(90vw, 360px);
}

.kings-compare-notification::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--kc-white);
    opacity: 0.45;
}

.kings-compare-notification.success {
    background: var(--kc-success);
    color: var(--kc-white);
}

.kings-compare-notification.error {
    background: var(--kc-danger);
    color: var(--kc-white);
}

.kings-compare-notification.warning {
    background: var(--kc-warning);
    color: var(--kc-gray-900);
}

.kings-compare-notification.info {
    background: var(--kc-info);
    color: var(--kc-white);
}

.kings-compare-notification + .kings-compare-notification {
    margin-top: 12px;
}

.kings-compare-notification__message {
    flex: 1;
}

.kings-compare-notification__close {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 24px;
    height: 24px;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.kings-compare-notification__close:hover,
.kings-compare-notification__close:focus {
    opacity: 1;
}

@keyframes kc-notification-enter {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .kings-compare-notification {
        left: 12px;
        right: 12px;
        top: 16px;
        max-width: none;
    }
}

.kc-products-section.kc-ajax-loading {
    position: relative;
}

.kc-products-section.kc-ajax-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    z-index: 5;
    pointer-events: none;
}

.kc-products-section.kc-ajax-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 6;
    pointer-events: none;
}

.kc-products-section.kc-ajax-loading .kc-products-grid {
    opacity: 0.35;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.kc-products-section.kc-ajax-loading #kc-results-info,
.kc-products-section.kc-ajax-loading .kc-pagination {
    opacity: 0.5;
}

.kc-search-button.is-loading {
    position: relative;
    opacity: 0.75;
    pointer-events: none;
}

.kc-search-button.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    pointer-events: none;
}



/* theme button styles */
 .products li button.kings-compare-btn {
    z-index: 99;
    display: block;
    position: relative;
    margin: 0 auto;
 }