/* GBP Instant Search - Dark Theme */

.hw-search-ajax {
    background: #1a1a1a !important;
    border: 1px solid rgba(255,131,1,0.15) !important;
    border-radius: 0 0 8px 8px;
}

.hw-search-ajax .gbp-results {
    padding: 8px;
    text-align: left;
    box-shadow: none;
    border: none;
    background: #1a1a1a;
    max-height: 480px;
    overflow-y: auto;
}

.hw-search-ajax .gbp-results .gbp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    border-radius: 6px;
}

.hw-search-ajax .gbp-results .gbp-item:last-child {
    border-bottom: none;
}

.hw-search-ajax .gbp-results .gbp-item:hover {
    background: rgba(255,131,1,0.1);
}

.hw-search-ajax .gbp-results .gbp-img {
    width: 60px;
    height: 82px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #111;
}

.hw-search-ajax .gbp-results .gbp-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hw-search-ajax .gbp-results .gbp-name {
    font-size: 13px;
    font-weight: 600;
    color: #f0f0f0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.hw-search-ajax .gbp-results .gbp-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hw-search-ajax .gbp-results .gbp-price {
    font-size: 13px;
    font-weight: 700;
    color: #22c55e;
}

.hw-search-ajax .gbp-results .gbp-pix {
    font-size: 9px;
    font-weight: 700;
    background: linear-gradient(135deg, #00b4d8, #0096c7);
    color: #fff;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hw-search-ajax .gbp-results .gbp-no-results {
    text-align: center;
    padding: 20px 10px;
    color: #888;
    font-size: 13px;
}

.hw-search-ajax .gbp-results .gbp-more {
    text-align: center;
    padding: 8px;
    color: #888;
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Fix theme's default white background on ajax container */
.hw-search-ajax .hw-el-search-ajax {
    background: #1a1a1a !important;
    color: #f0f0f0 !important;
}

/* Scrollbar for dark theme */
.hw-search-ajax .gbp-results::-webkit-scrollbar {
    width: 6px;
}
.hw-search-ajax .gbp-results::-webkit-scrollbar-track {
    background: #111;
}
.hw-search-ajax .gbp-results::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}
