/* WooCommerce Product Autosuggest Styles */
.wc-autosuggest-container {
    max-width: 600px;
    margin: 20px auto;
    background: white;
    border-radius: 15px;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wc-search-header {
    background: #f8f9ff;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e4e7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-window-controls {
    display: flex;
    gap: 8px;
}

.wc-control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.wc-control-dot:nth-child(1) { background: #ff5f57; }
.wc-control-dot:nth-child(2) { background: #ffbd2e; }
.wc-control-dot:nth-child(3) { background: #28ca42; }

.wc-search-input-container {
    position: relative;
    padding: 20px;
}

.wc-search-input {
    width: 100%;
    padding: 5px 30px 5px 10px;
    border: 1px solid #e0e4e7;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.wc-search-input::-webkit-placeholder {
    color: #cccccc;
}
.wc-search-input::placeholder {
    color: #cccccc;
}
.wc-search-input:focus {
    border-color: #5cd3d3;
    box-shadow: 0 0 0 3px rgba(92, 211, 211, 0.1);
}

.wc-search-icon {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: auto;
    color: #909090;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.wc-suggestions {
    max-height: 400px;
    overflow-y: auto;
}

.wc-suggestion-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f2f5;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.wc-suggestion-item:hover {
    background-color: #f8f9ff;
}

.wc-suggestion-item:last-child {
    border-bottom: none;
}

.wc-product-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 15px;
    object-fit: cover;
}

.wc-product-image-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 15px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.wc-product-details {
    flex: 1;
}

.wc-product-name {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 4px;
}

.wc-product-name .highlight {
    color: #5cd3d3;
    font-weight: 600;
}

.wc-product-meta {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 4px;
}

.wc-product-price {
    font-size: 14px;
    color: #5cd3d3;
    font-weight: 600;
}

.wc-add-to-cart {
    background: #5cd3d3;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wc-add-to-cart:hover {
    background: #4bc4c4;
}

.wc-add-to-cart:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.wc-cart-icon {
    width: 14px;
    height: 14px;
}

.wc-no-results {
    padding: 40px 20px;
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
}

.wc-loading {
    padding: 20px;
    text-align: center;
    color: #7f8c8d;
}

.wc-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #5cd3d3;
    border-radius: 50%;
    animation: wc-spin 1s linear infinite;
}

@keyframes wc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wc-stock-status {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
}

.wc-stock-status.in-stock {
    background: #d4edda;
    color: #155724;
}

.wc-stock-status.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}
.wc-product-name.wc-suggestion-name a:hover {
    color: #2B2E34;
}
.wc-product-variant {
    font-size: 13px;
    margin-bottom: 3px;
    color: #707070;
    line-height: normal;
}
/* Responsive Design */
@media (max-width: 768px) {
    .wc-autosuggest-container {
        margin: 10px;
        border-radius: 10px;
    }
    
    .wc-search-input-container {
        padding: 15px;
    }
    
    .wc-suggestion-item {
        padding: 12px 15px;
    }
    
    .wc-product-image,
    .wc-product-image-placeholder {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .wc-add-to-cart {
        padding: 6px 12px;
        font-size: 11px;
    }
}