/**
 * Header live-zoeken – autocomplete dropdown.
 *
 * @package understrap
 */

.imb-hs-form {
    position: relative;
}

.imb-hs-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    max-height: 70vh;
    overflow-y: auto;
    min-width: 300px;
    text-align: left;
}

.imb-hs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.12s ease;
}

.imb-hs-item:hover,
.imb-hs-item.is-active {
    background: #fef5a2;
    color: #222;
}

.imb-hs-thumb {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
}

.imb-hs-thumb-empty {
    background-color: #db0e12;
    opacity: 0.15;
}

.imb-hs-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.imb-hs-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.imb-hs-plaats {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #db0e12;
    margin-top: 2px;
}

.imb-hs-empty {
    padding: 18px 14px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.imb-hs-all {
    display: block;
    width: 100%;
    border: none;
    background: #db0e12;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px 14px;
    cursor: pointer;
    text-align: center;
}

.imb-hs-all:hover {
    background: #b30c0f;
}

.imb-hs-all strong {
    font-weight: 800;
}
