
.header-search-wrapper {
    position: relative !important;
}

/* Arama Sonuçları Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 500px;
    overflow: hidden;
    display: none;
    z-index: 9999;
}

.search-results-dropdown.active {
    display: block;
}

.search-results-header {
    padding: 12px 16px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.search-results-title {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.5px;
}

.search-results-list {
    max-height: 450px;
    overflow-y: auto;
}

/* Sonuç Item */
.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
    gap: 12px;
    text-decoration: none;
    color: inherit;
	text-align: left;
}

.search-result-item:hover {
    background-color: #f8f8f8;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* Ürün Görseli */
.search-result-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Ürün Detayları */
.search-result-details {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.search-result-title strong {
    color: #f5b800;
    font-weight: 600;
}

.search-result-code {
    font-size: 12px;
    color: #666;
}

/* Fiyat ve Sepet */
.search-result-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.search-result-price {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
	font-weight: 600;
}

.search-add-to-cart {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.search-add-to-cart:hover {
    background-color: #e64a19;
}

.search-add-to-cart i {
    font-size: 14px;
}

/* Loading State */
.search-loading {
    padding: 20px;
    text-align: center;
    color: #999;
}

.search-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* No Results */
.search-no-results {
    padding: 30px;
    text-align: center;
    color: #999;
}

/* Scrollbar Styling */
.search-results-list::-webkit-scrollbar {
    width: 8px;
}

.search-results-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.search-results-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.search-results-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .search-result-item {
        flex-wrap: wrap;
    }
    
    .search-result-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 8px;
    }
}