/* Live Search Dropdown Styles */
.search-form {
    position: relative;
}

.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-height: 600px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.live-search-results.active {
    display: block;
}

.live-search-section {
    padding: 16px 20px;
}

.live-search-section-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.live-search-suggestions {
    list-style: none;
    margin: 0;
    padding: 0;
}

.live-search-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.live-search-suggestion-item:hover {
    background-color: #f5f5f5;
}

.live-search-products {
    border-top: 1px solid #e0e0e0;
    padding-top: 16px;
}

.live-search-products-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.live-search-product-card {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
    background: transparent;
    border: none;
}

.live-search-product-card:hover {
    background-color: #f5f5f5;
    transform: none;
    box-shadow: none;
}

.live-search-product-image {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.live-search-product-info {
    padding: 0;
    flex-grow: 1;
}

.live-search-product-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

.live-search-product-venue {
    display: none;
    /* Görselde venue görünmüyor, sadece başlık var */
}

.live-search-view-all {
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.live-search-view-all-link {
    display: inline-block;
    padding: 10px 24px;
    background: #4a5568;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.live-search-view-all-link:hover {
    background: #2d3748;
}

.live-search-no-results {
    padding: 32px 20px;
    text-align: center;
    color: #666;
}

/* Loading State */
.live-search-loading {
    padding: 32px 20px;
    text-align: center;
}

.live-search-loading::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #e0e0e0;
    border-top-color: #4a5568;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .live-search-products-grid {
        grid-template-columns: 1fr;
    }

    .live-search-results {
        max-height: 400px;
    }
}