/* ============================================
   Search Suggest / Autocomplete
   Global – loaded on every page
   ============================================ */

/* Wrapper needs position:relative for dropdown positioning */
.kw-search-wrapper {
    position: relative;
}
/* On mobile, .form-search is position:absolute (fills header overlay) — preserve that */
@media (max-width: 575.98px) {
    .form-search.kw-search-wrapper {
        position: absolute;
    }
}
header,
header .container {
    overflow: visible !important;
}

.kw-search-suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 9999;
    max-height: 400px;
    overflow-y: auto;
}

.kw-search-suggest-header {
    padding: 8px 14px 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
}

.kw-search-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}

.kw-search-suggest-item:hover,
.kw-search-suggest-item.active {
    background: #f0f7f8;
    color: #10A5BB;
    text-decoration: none;
}

.kw-search-suggest-item svg {
    flex-shrink: 0;
    color: #aaa;
    width: 16px;
    height: 16px;
}

.kw-search-suggest-item:hover svg,
.kw-search-suggest-item.active svg {
    color: #10A5BB;
}

.kw-search-suggest-item strong {
    font-weight: 700;
}

.kw-search-suggest-shop svg {
    color: #aaa;
}

.kw-search-suggest-category svg {
    color: #aaa;
}
