.custom-live-search-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    margin-top: 6px;
    overflow: hidden;
    display: none;
}

.custom-live-search-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 420px;
    overflow-y: auto;
}

.custom-live-search-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
    text-decoration: none !important;
    color: #1e293b;
}

.custom-live-search-item:last-child {
    border-bottom: none;
}

.custom-live-search-item:hover, .custom-live-search-item.active {
    background-color: #f8fafc;
}

.custom-live-search-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    margin-right: 12px;
    flex-shrink: 0;
}

.custom-live-search-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-live-search-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 4px;
}

.custom-live-search-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-live-search-price {
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
}

.custom-live-search-price .old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 11.5px;
    margin-left: 4px;
    font-weight: 400;
}

.custom-stock-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.custom-stock-badge.in-stock {
    background-color: #dcfce7;
    color: #15803d;
}

.custom-stock-badge.out-of-stock {
    background-color: #fee2e2;
    color: #b91c1c;
}

.custom-live-search-viewall {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s;
}

.custom-live-search-viewall:hover {
    background: #e2e8f0;
}