/* NAIBA Header — Product Suggestions (isolated classes) */
form.category-search.nb-product-search {
    position: relative !important;
    overflow: visible !important;
    isolation: isolate;
}
.naiba-category-bar:has(.nb-suggest-open) {
    position: relative;
    z-index: 110;
    overflow: visible;
}
.naiba-category-inner:has(.nb-suggest-open) {
    overflow: visible;
}
.nb-product-search .nb-suggest-panel,
.nb-product-search .nb-suggest-panel * {
    box-sizing: border-box;
}
.nb-product-search .nb-suggest-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(430px, calc(100vw - 28px));
    max-height: min(520px, 65vh);
    overflow-y: auto;
    border: 1px solid #e8e6e3;
    border-radius: 15px;
    padding: 7px;
    background: #fff;
    color: #212321;
    text-align: left;
    box-shadow: 0 17px 47px rgba(27, 30, 25, .18);
    z-index: 9999;
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.45;
}
.nb-product-search .nb-suggest-panel[hidden] { display: none !important; }
.nb-suggest-heading {
    padding: 11px 12px 9px;
    color: #888b86;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .11em;
}
.nb-suggest-result {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 9px 10px !important;
    border-radius: 10px;
    color: #252525 !important;
    text-decoration: none !important;
    background: transparent;
    transition: background .14s ease;
}
.nb-suggest-result:hover,
.nb-suggest-result.is-highlighted,
.nb-suggest-result:focus-visible { background: #fff1eb !important; outline: none; }
.nb-suggest-photo {
    width: 54px;
    height: 54px;
    border: 1px solid #eee9e6;
    border-radius: 9px;
    background: #f7f7f4;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.nb-suggest-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.nb-suggest-placeholder { color: #aaa8a2; font-size: 25px; }
.nb-suggest-copy { flex: 1; min-width: 0; }
.nb-suggest-name {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #202220;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.nb-suggest-meta {
    display: block;
    font-size: 10px;
    color: #8a8e89;
    margin-top: 4px;
    overflow-wrap: anywhere;
}
.nb-suggest-arrow { color: #ec3825; font-size: 19px; font-weight: 800; }
.nb-suggest-message { padding: 13px 11px 18px; color: #7f8580; font-size: 12px; }
.nb-suggest-all {
    display: block !important;
    margin-top: 5px;
    border-top: 1px solid #f1eeeb;
    padding: 13px 12px 10px !important;
    color: #e63827 !important;
    text-align: left;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
}
.nb-suggest-all:hover { background: #fff8f4; border-radius: 7px; }
.nb-suggest-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 600px) {
    .nb-product-search .nb-suggest-panel {
        width: min(430px, calc(100vw - 24px));
        max-height: 55vh;
        border-radius: 11px;
    }
    .nb-suggest-photo { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .nb-suggest-result { transition: none; }
}
