/* resources/css/product-search.css */
#search-input {
    transition: all 0.3s ease;
}

#search-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.filter-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.filter-badges .btn-close {
    font-size: 0.6rem;
    padding: 0.75rem;
}

/* Loading animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Search suggestions */
#search-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.suggestion-item {
    cursor: pointer;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

/* Fade animation */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .product-card {
        margin-bottom: 15px;
    }

    .filter-badges .badge {
        margin-bottom: 5px;
    }
}
