/* ===== Buscador con sugerencias ===== */
.rn-buscador { position: relative; }
.ps-form--quick-search.rn-buscador .form-control {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
    border-radius: 4px 0 0 4px;
}
.ps-form--search-mobile.rn-buscador { width: 100%; }

/* ---------- Lista desplegable ---------- */
.rn-sugerencias {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 10001;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    text-align: left;
}
.rn-sugerencias[hidden] { display: none; }
.rn-sugerencias__grupo { padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.rn-sugerencias__grupo:last-of-type { border-bottom: none; }
.rn-sugerencias__titulo {
    padding: 6px 16px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #9ca3af;
}
.rn-sugerencias__aviso { padding: 10px 16px 0; font-size: 13px; color: #6b7280; }
.rn-sugerencias__aviso strong { color: #1f2328; }
.rn-sugerencia {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    color: #1f2328 !important;
    text-decoration: none !important;
    line-height: 1.3;
}
.rn-sugerencia:hover,
.rn-sugerencia.activa { background: #e6f6fc; }
.rn-sugerencia__imagen {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 6px;
    object-fit: cover;
    background: #f3f4f6;
}
.rn-sugerencia__imagen--redonda { border-radius: 50%; }
.rn-sugerencia__vacia {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 18px;
}
.rn-sugerencia__texto { flex: 1; min-width: 0; }
.rn-sugerencia__nombre {
    display: block;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rn-sugerencia__nombre mark { padding: 0; background: none; color: inherit; font-weight: 700; }
.rn-sugerencia__detalle { display: block; font-size: 12px; color: #6b7280; }
.rn-sugerencia__precio { font-size: 14px; font-weight: 700; white-space: nowrap; }
.rn-sugerencias__todos {
    display: block;
    padding: 12px 16px;
    background: #fafafa;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #1f2328 !important;
    text-decoration: none !important;
}
.rn-sugerencias__todos:hover,
.rn-sugerencias__todos.activa { background: #06a3da; }
.rn-sugerencias__vacio { padding: 18px 16px; font-size: 14px; color: #6b7280; text-align: center; }
