    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    }

    .wcris-upload-area:hover,
    .wcris-upload-area.dragover {
        border-color: #0073aa;
        background: #f0f7fc;
    }

    /* When preview is shown, enforce 300px height on the container */
    .wcris-upload-area.has-preview {
        height: 300px;
        padding: 10px;
        overflow: hidden;
    }

    .wcris-upload-icon {
        width: 48px;
        height: 48px;
        color: #999;
        margin-bottom: 10px;
    }

    .wcris-upload-link {
        color: #0073aa;
        font-weight: bold;
        text-decoration: underline;
    }

    /* Preview Container */
    .wcris-preview-container {
        position: relative;
        width: 100%;
        height: 100%;
        /* Fill the parent (which is 300px) */
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    #wcris-preview-image {
        display: block;
        max-width: 100%;
        max-height: 100%;
        /* Fit within parent */
        width: auto;
        height: auto;
        object-fit: contain;
    }

    /* Ensure Cropper container respects the height */
    .cropper-container {
        width: 100% !important;
        height: 100% !important;
    }

    .wcris-remove-btn {
        position: absolute;
        top: 5px;
        right: 5px;
        z-index: 9999;
        background: #ff4444;
        color: white;
        border: none;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        cursor: pointer;
        font-size: 16px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    /* Actions */
    .wcris-search-actions {
        margin-top: 20px;
        text-align: center;
    }

    .wcris-btn {
        display: inline-block;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        border: none;
        transition: background 0.3s;
    }

    .wcris-btn-primary {
        background: #0073aa;
        color: white;
    }

    .wcris-btn-primary:hover {
        background: #005177;
    }

    /* Loading */
    #wcris-loading {
        margin-top: 30px;
        text-align: center;
        color: #666;
    }

    .wcris-spinner {
        border: 4px solid #f3f3f3;
        border-top: 4px solid #0073aa;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        animation: spin 1s linear infinite;
        margin: 0 auto 10px;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    /* Results Grid */
    .wcris-results-grid {
        margin-top: 30px;
    }

    /* Container */
    .wcris-search-container {
        max-width: 100%;
        margin: 0 auto;
        font-family: -apple-system, BlinkMacMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    }

    /* Layout Wrapper - Using Grid */
    .wcris-layout-wrapper {
        display: grid;
        grid-template-columns: 35% 1fr;
        /* 35% Left, Rest Right */
        gap: 30px;
        align-items: start;
        /* Align to top */
    }

    /* Left Column */
    .wcris-layout-left {
        position: -webkit-sticky;
        /* Safari */
        position: sticky;
        top: 20px;
        z-index: 10;
    }

    /* Right Column */
    .wcris-layout-right {
        min-width: 0;
        /* Prevent grid blowout */
    }

    /* Upload Area */
    .wcris-upload-area {
        border: 2px dashed #ccc;
        border-radius: 8px;
        padding: 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background: #f9f9f9;
        position: relative;
        min-height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    .wcris-upload-area:hover,
    .wcris-upload-area.dragover {
        border-color: #0073aa;
        background: #f0f7fc;
    }

    /* When preview is shown, enforce 300px height on the container */
    .wcris-upload-area.has-preview {
        height: 300px;
        padding: 10px;
        overflow: hidden;
    }

    .wcris-upload-icon {
        width: 48px;
        height: 48px;
        color: #999;
        margin-bottom: 10px;
    }

    .wcris-upload-link {
        color: #0073aa;
        font-weight: bold;
        text-decoration: underline;
    }

    /* Preview Container */
    .wcris-preview-container {
        position: relative;
        width: 100%;
        height: 100%;
        /* Fill the parent (which is 300px) */
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    #wcris-preview-image {
        display: block;
        max-width: 100%;
        max-height: 100%;
        /* Fit within parent */
        width: auto;
        height: auto;
        object-fit: contain;
    }

    /* Ensure Cropper container respects the height */
    .cropper-container {
        width: 100% !important;
        height: 100% !important;
    }

    .wcris-remove-btn {
        position: absolute;
        top: 5px;
        right: 5px;
        z-index: 9999;
        background: #ff4444;
        color: white;
        border: none;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        cursor: pointer;
        font-size: 16px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    /* Actions */
    .wcris-search-actions {
        margin-top: 20px;
        text-align: center;
    }

    .wcris-btn {
        display: inline-block;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        border: none;
        transition: background 0.3s;
    }

    .wcris-btn-primary {
        background: #0073aa;
        color: white;
    }

    .wcris-btn-primary:hover {
        background: #005177;
    }

    /* Loading */
    #wcris-loading {
        margin-top: 30px;
        text-align: center;
        color: #666;
    }

    .wcris-spinner {
        border: 4px solid #f3f3f3;
        border-top: 4px solid #0073aa;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        animation: spin 1s linear infinite;
        margin: 0 auto 10px;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    /* Results Grid */
    .wcris-results-grid {
        margin-top: 0;
        /* Removed top margin as it's in a column now */
    }

    .wcris-results-grid ul.products {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .wcris-results-grid ul.products li.product {
        margin: 0 !important;
        width: 100% !important;
    }

    .wcris-placeholder-text {
        color: #777;
        font-style: italic;
        text-align: center;
        padding: 20px;
        background: #f9f9f9;
        border-radius: 8px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .wcris-layout-wrapper {
            grid-template-columns: 1fr;
            /* Stack on mobile */
        }

        .wcris-layout-left {
            position: static;
            /* Disable sticky on mobile */
        }
    }