/* GBP Instant Search - Dropdown Styles */

/* Override theme's default search-ajax inner styling */
.hw-search-ajax .gbp-results {
    padding: 8px;
    text-align: left;
    box-shadow: none;
    border: none;
}

.hw-search-ajax .gbp-results .gbp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.hw-search-ajax .gbp-results .gbp-item:last-child {
    border-bottom: none;
}

.hw-search-ajax .gbp-results .gbp-item:hover {
    background: #f5f5f5;
}

.hw-search-ajax .gbp-results .gbp-img {
    width: 50px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #f0f0f0;
}

.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: #222;
    margin: 0;
    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-stock {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
}

.hw-search-ajax .gbp-results .gbp-in {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.hw-search-ajax .gbp-results .gbp-out {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.hw-search-ajax .gbp-results .gbp-no-results {
    text-align: center;
    padding: 20px 10px;
    color: #999;
    font-size: 13px;
}

.hw-search-ajax .gbp-results .gbp-more {
    text-align: center;
    padding: 8px;
    color: #999;
    font-size: 12px;
    border-top: 1px solid #eee;
}
