.wc-ssp-search-container {
    position: relative;
    max-width: 500px;
    margin: 20px 0;
}

.wc-ssp-search-input-wrapper {
    position: relative;
}

.wc-ssp-search-field {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
}

.wc-ssp-loader {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.wc-ssp-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 10px 10px;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
}

.wc-ssp-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wc-ssp-result-item a {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

.wc-ssp-result-item a:hover {
    background: #f9f9f9;
}

.wc-ssp-result-image {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
}

.wc-ssp-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-ssp-result-info {
    display: flex;
    flex-direction: column;
}

.wc-ssp-result-title {
    font-weight: bold;
    font-size: 14px;
}

.wc-ssp-result-price {
    color: #777;
    font-size: 13px;
}

.wc-ssp-result-badge {
    display: inline-block;
    background: #e1e1e1;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-top: 4px;
    width: fit-content;
}

.wc-ssp-result-item.category-item {
    background: #fdfdfd;
}

.wc-ssp-no-results {
    padding: 15px;
    text-align: center;
    color: #999;
}
